Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@codernote/record-list

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codernote/record-list - npm Package Compare versions

Comparing version
3.0.2
to
3.0.3
+263
-257
dist/index.js

@@ -1,12 +0,12 @@

(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.record-list-icon-button[data-v-8d9b1230]{color:#b7b7b7;padding:4px;border-radius:4px;height:24px;cursor:pointer}.record-list-icon-button[data-v-8d9b1230]:hover{color:#4b5563}.record-list-icon-button-active[data-v-8d9b1230]{background:#d8d8d8;color:#4b5563;opacity:1}.record-list-tag[data-v-5dc25025]{width:32px;height:32px;display:flex;color:#fff;border-radius:10px;align-items:center;justify-content:center}.record-list-tag button[data-v-5dc25025]{display:flex;color:#fff;border-radius:9999px;align-items:center;justify-content:center;width:20px;height:20px;border:0;padding:0;cursor:pointer}.record-list-tag-active[data-v-5dc25025]{background-color:#d3d3d3}.record-list-select-multiple-tag[data-v-f588325c]{display:flex;padding:4px;border-radius:4px;flex-wrap:wrap}.record-list-select-multiple-tag>div[data-v-f588325c]{padding:4px}.record-list-mobile.record-list-mobile .record-list-wrap{padding-bottom:80px}.record-list-mobile.record-list-mobile .record-list-wrap::-webkit-scrollbar{background-color:transparent!important;width:0!important}.record-list-mobile.record-list-mobile .record-list-sort,.record-list-mobile.record-list-mobile .record-list-bar-search{right:16px}.record-list-mobile.record-list-mobile .record-list-bar-search-input{min-width:100px}.record-list-mobile.record-list-mobile .record-list-item-active{background-color:#fff}.record-list[data-v-ce9a6620]{width:100%;height:100vh;position:relative}.record-list img[data-v-ce9a6620]{border:0}.record-list-sort[data-v-ce9a6620]{position:absolute;left:16px;right:32px;padding-top:40px;padding-bottom:10px;top:0;z-index:12;background-color:#f6f6f6}.record-list-sort-tags[data-v-ce9a6620]{margin:0}.record-list-sort-box[data-v-ce9a6620],.record-list-sort-arrow[data-v-ce9a6620]{align-items:center;display:flex}.record-list-sort-item[data-v-ce9a6620]{margin-right:10px;font-size:14px;color:#333;cursor:pointer;-moz-user-select:none;user-select:none;-webkit-user-select:none;align-items:center;display:flex}.record-list-sort-item-active[data-v-ce9a6620]{color:#52a770}.record-list-context-menu[data-v-ce9a6620]{padding:8px;background:#fff;z-index:19;box-shadow:0 2px 4px #00000080;border-radius:4px}.record-list-context-menu li[data-v-ce9a6620]{font-size:14px;line-height:20px;padding:8px 16px;border-radius:4px;cursor:pointer;margin-inline-start:0px}.record-list-context-menu li[data-v-ce9a6620]:hover{background:#d8d8d8}.record-list-icon[data-v-ce9a6620]{display:block;width:14px;height:14px;margin:0;padding:0!important;line-height:100%;font-size:0;cursor:pointer}.record-list-opener[data-v-ce9a6620]{position:absolute;border-radius:4px;width:16px;height:16px;z-index:100;right:16px;top:8px;color:#b7b7b7;border:0;padding:0;background:transparent;cursor:pointer}.record-list-closer[data-v-ce9a6620]{position:absolute;width:16px;height:16px;z-index:100;top:12px;left:16px;border-radius:4px;border:0;padding:1px 0;background:transparent;cursor:pointer}.record-list-closer[data-v-ce9a6620]:hover,.record-list-opener[data-v-ce9a6620]:hover{background:#e8e8e8}.record-list-bar[data-v-ce9a6620]{position:absolute;z-index:100;top:0;left:0;right:0}.record-list-bar-search[data-v-ce9a6620]{left:186px;right:16px;position:absolute;top:8px;z-index:100;color:#b7b7b7;display:flex}.record-list-bar-search-icon[data-v-ce9a6620]{position:absolute;top:4px;left:16px}.record-list-bar-search-input[data-v-ce9a6620]{color:#333;border-radius:2px;height:24px;background:#fff;border:0;padding:0 32px;width:100%;box-sizing:border-box}.record-list-bar-search-input[data-v-ce9a6620]::-moz-placeholder{color:#9e9e9e}.record-list-bar-search-input[data-v-ce9a6620]::placeholder{color:#9e9e9e}.record-list-bar-search-input[data-v-ce9a6620]:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0,#52a770 0 0 0 1px,#0000 0 0}.record-list-bar-search-clear[data-v-ce9a6620]{cursor:pointer;color:#9e9e9e;position:absolute;top:4px;right:4px}.record-list-bar-search-clear[data-v-ce9a6620]:hover{cursor:pointer;color:#52a770}.record-list-bar-filter[data-v-ce9a6620]{position:absolute;top:8px;z-index:100;color:#b7b7b7}.record-list-bar-filter button[data-v-ce9a6620]{margin-right:8px;border:0}.record-list-main[data-v-ce9a6620]{position:relative;border-left-width:1px;border-color:#e4e4e7}.record-list-empty[data-v-ce9a6620]{display:flex;justify-content:center;color:#b7b7b7;align-items:center;height:100vh;position:relative!important;transform:none!important}.record-list-wrap[data-v-ce9a6620]{padding-bottom:16px;padding-left:16px;padding-right:16px;overflow-y:auto;height:100vh}.record-list-item[data-v-ce9a6620]{padding:16px 32px;min-height:60px;border-radius:8px;margin-bottom:6px;position:relative;cursor:default;background:#fff}[data-v-ce9a6620] .record-list-item mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}.record-list-item-active[data-v-ce9a6620]{background-color:#d8d8d8}.record-list-item-tag-wrap[data-v-ce9a6620]{cursor:pointer;width:24px;top:22px;left:0;bottom:0;position:absolute}.record-list-item-tag[data-v-ce9a6620]{display:flex;color:#fff;border-radius:9999px;justify-content:center;align-items:center;width:16px;height:16px;z-index:2;left:8px;position:relative}.record-list-item-title[data-v-ce9a6620]{font-weight:700;font-size:18px;line-height:28px;overflow-wrap:break-word;margin:0}.record-list-item-title p[data-v-ce9a6620]{display:inline;word-break:break-all}.record-list-item-title-trash[data-v-ce9a6620]{color:#777!important}.record-list-item-title-finished[data-v-ce9a6620]{text-decoration:line-through;color:#999}.record-list-item-content[data-v-ce9a6620]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;margin:0}.record-list-item-des[data-v-ce9a6620]{color:#9a9a9a;font-size:12px;margin-top:2px;line-height:16px}[data-v-ce9a6620] .popper{width:auto;background-color:#fafafa;color:#212121;text-align:center;display:inline-block;border-radius:3px;position:absolute;font-size:14px;font-weight:400;border:1px solid rgba(29,28,28,.12);z-index:200000;box-shadow:0 2px 12px #1d1c1c1f;padding:0}.list-leave-active[data-v-ce9a6620]{transition:all .5s ease}.list-leave-to[data-v-ce9a6620]{opacity:0;transform:translate(30px)}.record-drop-before[data-v-ce9a6620]:after{content:" ";position:absolute;top:-4px;left:0;right:0;border-top:2px solid #52a770}.record-drop-after[data-v-ce9a6620]:after{content:" ";position:absolute;bottom:-4px;left:0;right:0;border-top:2px solid #52a770}.record-drop-inner[data-v-ce9a6620]{outline:2px solid #52a770}.record-list-rel[data-v-ce9a6620],.record-list-uploading[data-v-ce9a6620]{position:absolute;right:20px;top:20px}@keyframes rotate-ce9a6620{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dragging-image{max-width:300px;opacity:.5}.dragging-image .record-list-item-content,.dragging-image .record-list-item-des{display:none!important}.explorer-list[data-v-b56eceae]{width:100%;height:100%;position:relative;border-right:1px solid rgba(0,0,0,.08)}.explorer-list-main[data-v-b56eceae]{position:relative;height:100%}.explorer-list-wrap[data-v-b56eceae]{padding:8px;overflow-y:auto;height:100%}.explorer-list-item[data-v-b56eceae]{padding:6px 8px 6px 32px;border-radius:6px;margin-bottom:2px;position:relative;cursor:default;background:transparent;transition:background-color .15s ease}.explorer-list-item[data-v-b56eceae]:hover{background:#0000000a}.explorer-list-item-active[data-v-b56eceae]{background-color:#fff;box-shadow:0 1px 3px #0000001a}.explorer-list-item-active[data-v-b56eceae]:hover{background:#fff}.explorer-list-item-icon[data-v-b56eceae]{position:absolute;left:8px;top:12px;width:14px;height:14px}.explorer-list-item-tag[data-v-b56eceae]{display:block;border-radius:9999px;width:12px;height:12px}.explorer-list-item-title[data-v-b56eceae]{font-weight:700;font-size:18px;line-height:28px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none}.explorer-list-item-title-input[data-v-b56eceae]{font-weight:700;font-size:18px;line-height:28px;margin:0;padding:0 4px;border:1px solid #52a770;border-radius:4px;outline:none;background:#fff;color:#333;width:calc(100% - 8px);box-sizing:border-box;box-shadow:0 0 0 2px #52a7701a}.explorer-list-item-title-input[data-v-b56eceae]:focus{border-color:#52a770;box-shadow:0 0 0 2px #52a77033}.explorer-list-item-title p[data-v-b56eceae]{display:inline;word-break:break-all}.explorer-list-context-menu[data-v-b56eceae]{padding:8px;background:#fff;z-index:19;box-shadow:0 2px 4px #00000080;border-radius:4px}.explorer-list-context-menu li[data-v-b56eceae]{font-size:14px;line-height:20px;padding:8px 16px;border-radius:4px;cursor:pointer;margin-inline-start:0px}.explorer-list-context-menu li[data-v-b56eceae]:hover{background:#d8d8d8}.explorer-drop-before[data-v-b56eceae]:after{content:" ";position:absolute;top:-4px;left:0;right:0;border-top:2px solid #52a770}.explorer-drop-after[data-v-b56eceae]:after{content:" ";position:absolute;bottom:-4px;left:0;right:0;border-top:2px solid #52a770}.explorer-drop-inner[data-v-b56eceae]{outline:2px solid #52a770}[data-v-b56eceae] .explorer-list-item mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
import { openBlock as i, createElementBlock as g, normalizeClass as Y, renderSlot as e2, createElementVNode as v, normalizeStyle as _, unref as s, Fragment as j, renderList as ye, createVNode as k, reactive as t2, ref as x, computed as B, getCurrentInstance as Ne, watch as q, onMounted as qe, onUnmounted as Ye, withDirectives as E, withKeys as De, vModelText as ze, vShow as G, createBlock as J, withCtx as z, createCommentVNode as L, createTextVNode as Me, withModifiers as m, TransitionGroup as l2, mergeProps as a2, toHandlers as o2, toDisplayString as Ge, nextTick as ce, pushScopeId as r2, popScopeId as n2 } from "vue";
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.record-list-icon-button[data-v-8d9b1230]{color:#b7b7b7;padding:4px;border-radius:4px;height:24px;cursor:pointer}.record-list-icon-button[data-v-8d9b1230]:hover{color:#4b5563}.record-list-icon-button-active[data-v-8d9b1230]{background:#d8d8d8;color:#4b5563;opacity:1}.record-list-tag[data-v-5dc25025]{width:32px;height:32px;display:flex;color:#fff;border-radius:10px;align-items:center;justify-content:center}.record-list-tag button[data-v-5dc25025]{display:flex;color:#fff;border-radius:9999px;align-items:center;justify-content:center;width:20px;height:20px;border:0;padding:0;cursor:pointer}.record-list-tag-active[data-v-5dc25025]{background-color:#d3d3d3}.record-list-select-multiple-tag[data-v-f588325c]{display:flex;padding:4px;border-radius:4px;flex-wrap:wrap}.record-list-select-multiple-tag>div[data-v-f588325c]{padding:4px}.record-list-mobile.record-list-mobile .record-list-wrap{padding-bottom:80px}.record-list-mobile.record-list-mobile .record-list-wrap::-webkit-scrollbar{background-color:transparent!important;width:0!important}.record-list-mobile.record-list-mobile .record-list-sort,.record-list-mobile.record-list-mobile .record-list-bar-search{right:16px}.record-list-mobile.record-list-mobile .record-list-bar-search-input{min-width:100px}.record-list-mobile.record-list-mobile .record-list-item-active{background-color:#fff}.record-list[data-v-ce9a6620]{width:100%;height:100vh;position:relative}.record-list img[data-v-ce9a6620]{border:0}.record-list-sort[data-v-ce9a6620]{position:absolute;left:16px;right:32px;padding-top:40px;padding-bottom:10px;top:0;z-index:12;background-color:#f6f6f6}.record-list-sort-tags[data-v-ce9a6620]{margin:0}.record-list-sort-box[data-v-ce9a6620],.record-list-sort-arrow[data-v-ce9a6620]{align-items:center;display:flex}.record-list-sort-item[data-v-ce9a6620]{margin-right:10px;font-size:14px;color:#333;cursor:pointer;-moz-user-select:none;user-select:none;-webkit-user-select:none;align-items:center;display:flex}.record-list-sort-item-active[data-v-ce9a6620]{color:#52a770}.record-list-context-menu[data-v-ce9a6620]{padding:8px;background:#fff;z-index:19;box-shadow:0 2px 4px #00000080;border-radius:4px}.record-list-context-menu li[data-v-ce9a6620]{font-size:14px;line-height:20px;padding:8px 16px;border-radius:4px;cursor:pointer;margin-inline-start:0px}.record-list-context-menu li[data-v-ce9a6620]:hover{background:#d8d8d8}.record-list-icon[data-v-ce9a6620]{display:block;width:14px;height:14px;margin:0;padding:0!important;line-height:100%;font-size:0;cursor:pointer}.record-list-opener[data-v-ce9a6620]{position:absolute;border-radius:4px;width:16px;height:16px;z-index:100;right:16px;top:8px;color:#b7b7b7;border:0;padding:0;background:transparent;cursor:pointer}.record-list-closer[data-v-ce9a6620]{position:absolute;width:16px;height:16px;z-index:100;top:12px;left:16px;border-radius:4px;border:0;padding:1px 0;background:transparent;cursor:pointer}.record-list-closer[data-v-ce9a6620]:hover,.record-list-opener[data-v-ce9a6620]:hover{background:#e8e8e8}.record-list-bar[data-v-ce9a6620]{position:absolute;z-index:100;top:0;left:0;right:0}.record-list-bar-search[data-v-ce9a6620]{left:186px;right:16px;position:absolute;top:8px;z-index:100;color:#b7b7b7;display:flex}.record-list-bar-search-icon[data-v-ce9a6620]{position:absolute;top:4px;left:16px}.record-list-bar-search-input[data-v-ce9a6620]{color:#333;border-radius:2px;height:24px;background:#fff;border:0;padding:0 32px;width:100%;box-sizing:border-box}.record-list-bar-search-input[data-v-ce9a6620]::-moz-placeholder{color:#9e9e9e}.record-list-bar-search-input[data-v-ce9a6620]::placeholder{color:#9e9e9e}.record-list-bar-search-input[data-v-ce9a6620]:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:#fff 0 0,#52a770 0 0 0 1px,#0000 0 0}.record-list-bar-search-clear[data-v-ce9a6620]{cursor:pointer;color:#9e9e9e;position:absolute;top:4px;right:4px}.record-list-bar-search-clear[data-v-ce9a6620]:hover{cursor:pointer;color:#52a770}.record-list-bar-filter[data-v-ce9a6620]{position:absolute;top:8px;z-index:100;color:#b7b7b7}.record-list-bar-filter button[data-v-ce9a6620]{margin-right:8px;border:0}.record-list-main[data-v-ce9a6620]{position:relative;border-left-width:1px;border-color:#e4e4e7}.record-list-empty[data-v-ce9a6620]{display:flex;justify-content:center;color:#b7b7b7;align-items:center;height:100vh;position:relative!important;transform:none!important}.record-list-wrap[data-v-ce9a6620]{padding-bottom:16px;padding-left:16px;padding-right:16px;overflow-y:auto;height:100vh}.record-list-item[data-v-ce9a6620]{padding:16px 32px;min-height:60px;border-radius:8px;margin-bottom:6px;position:relative;cursor:default;background:#fff}[data-v-ce9a6620] .record-list-item mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}.record-list-item-active[data-v-ce9a6620]{background-color:#d8d8d8}.record-list-item-tag-wrap[data-v-ce9a6620]{cursor:pointer;width:24px;top:22px;left:0;bottom:0;position:absolute}.record-list-item-tag[data-v-ce9a6620]{display:flex;color:#fff;border-radius:9999px;justify-content:center;align-items:center;width:16px;height:16px;z-index:2;left:8px;position:relative}.record-list-item-title[data-v-ce9a6620]{font-weight:700;font-size:18px;line-height:28px;overflow-wrap:break-word;margin:0}.record-list-item-title p[data-v-ce9a6620]{display:inline;word-break:break-all}.record-list-item-title-trash[data-v-ce9a6620]{color:#777!important}.record-list-item-title-finished[data-v-ce9a6620]{text-decoration:line-through;color:#999}.record-list-item-content[data-v-ce9a6620]{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;margin:0}.record-list-item-des[data-v-ce9a6620]{color:#9a9a9a;font-size:12px;margin-top:2px;line-height:16px}[data-v-ce9a6620] .popper{width:auto;background-color:#fafafa;color:#212121;text-align:center;display:inline-block;border-radius:3px;position:absolute;font-size:14px;font-weight:400;border:1px solid rgba(29,28,28,.12);z-index:200000;box-shadow:0 2px 12px #1d1c1c1f;padding:0}.list-leave-active[data-v-ce9a6620]{transition:all .5s ease}.list-leave-to[data-v-ce9a6620]{opacity:0;transform:translate(30px)}.record-drop-before[data-v-ce9a6620]:after{content:" ";position:absolute;top:-4px;left:0;right:0;border-top:2px solid #52a770}.record-drop-after[data-v-ce9a6620]:after{content:" ";position:absolute;bottom:-4px;left:0;right:0;border-top:2px solid #52a770}.record-drop-inner[data-v-ce9a6620]{outline:2px solid #52a770}.record-list-rel[data-v-ce9a6620],.record-list-uploading[data-v-ce9a6620]{position:absolute;right:20px;top:20px}@keyframes rotate-ce9a6620{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dragging-image{max-width:300px;opacity:.5}.dragging-image .record-list-item-content,.dragging-image .record-list-item-des{display:none!important}.explorer-list[data-v-b41687f4]{width:100%;height:100%;position:relative;border-right:1px solid rgba(0,0,0,.08)}.explorer-list-main[data-v-b41687f4]{position:relative;height:100%}.explorer-list-wrap[data-v-b41687f4]{padding:8px;overflow-y:auto;height:100%}.explorer-list-item[data-v-b41687f4]{padding:6px 8px 6px 32px;border-radius:6px;margin-bottom:2px;position:relative;cursor:default;background:transparent;transition:background-color .15s ease}.explorer-list-item[data-v-b41687f4]:hover{background:#0000000a}.explorer-list-item-active[data-v-b41687f4]{background-color:#fff;box-shadow:0 1px 3px #0000001a}.explorer-list-item-active[data-v-b41687f4]:hover{background:#fff}.explorer-list-item-icon[data-v-b41687f4]{position:absolute;left:8px;top:12px;width:14px;height:14px}.explorer-list-item-tag[data-v-b41687f4]{display:block;border-radius:9999px;width:12px;height:12px}.explorer-list-item-title[data-v-b41687f4]{font-weight:700;font-size:18px;line-height:28px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none}.explorer-list-item-title-input[data-v-b41687f4]{font-weight:700;font-size:18px;line-height:28px;margin:0;padding:0 4px;border:1px solid #52a770;border-radius:4px;outline:none;background:#fff;color:#333;width:calc(100% - 8px);box-sizing:border-box;box-shadow:0 0 0 2px #52a7701a}.explorer-list-item-title-input[data-v-b41687f4]:focus{border-color:#52a770;box-shadow:0 0 0 2px #52a77033}.explorer-list-item-title p[data-v-b41687f4]{display:inline;word-break:break-all}.explorer-list-context-menu[data-v-b41687f4]{padding:8px;background:#fff;z-index:19;box-shadow:0 2px 4px #00000080;border-radius:4px}.explorer-list-context-menu li[data-v-b41687f4]{font-size:14px;line-height:20px;padding:8px 16px;border-radius:4px;cursor:pointer;margin-inline-start:0px}.explorer-list-context-menu li[data-v-b41687f4]:hover{background:#d8d8d8}.explorer-drop-before[data-v-b41687f4]:after{content:" ";position:absolute;top:-4px;left:0;right:0;border-top:2px solid #52a770}.explorer-drop-after[data-v-b41687f4]:after{content:" ";position:absolute;bottom:-4px;left:0;right:0;border-top:2px solid #52a770}.explorer-drop-inner[data-v-b41687f4]{outline:2px solid #52a770}[data-v-b41687f4] .explorer-list-item mark{background-color:transparent;text-decoration:underline;text-decoration-color:#9acd32;text-decoration-thickness:2px;text-underline-offset:2px}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
import { openBlock as i, createElementBlock as g, normalizeClass as Y, renderSlot as e2, createElementVNode as v, normalizeStyle as _, unref as s, Fragment as j, renderList as _e, createVNode as k, reactive as t2, ref as D, computed as B, getCurrentInstance as Ne, watch as q, onMounted as qe, onUnmounted as Ye, withDirectives as E, withKeys as ye, vModelText as ze, vShow as G, createBlock as J, withCtx as O, createCommentVNode as L, createTextVNode as Me, withModifiers as m, TransitionGroup as l2, mergeProps as o2, toHandlers as a2, toDisplayString as Ge, nextTick as de, pushScopeId as r2, popScopeId as n2 } from "vue";
import s2 from "dayjs";
import I from "vue-inline-svg";
import V from "vue-inline-svg";
import Oe from "dompurify";
import { createPopper as Ae } from "@popperjs/core";
import { getTagStyle as i2, detectDeviceType as c2, isTodoTag as ie, getExt as O, getTagStyleById as He, getTag as Pe } from "@codernote/utils";
import { getTagStyle as i2, detectDeviceType as c2, isTodoTag as ce, getExt as A, getTagStyleById as He, getTag as Pe } from "@codernote/utils";
const K = (n, S) => {
const C = n.__vccOpts || n;
for (const [u, c] of S)
C[u] = c;
for (const [d, c] of S)
C[d] = c;
return C;

@@ -70,8 +70,8 @@ }, d2 = {

setup(n, { emit: S }) {
const C = S, u = n, c = (D) => D.filter((t) => t.name != ""), N = (D) => {
const t = [...u.value], w = u.value.indexOf(D.created_at);
w === -1 ? t.push(D.created_at) : t.splice(w, 1), C("change", t);
const C = S, d = n, c = (y) => y.filter((t) => t.name != ""), N = (y) => {
const t = [...d.value], w = d.value.indexOf(y.created_at);
w === -1 ? t.push(y.created_at) : t.splice(w, 1), C("change", t);
};
return (D, t) => (i(), g("div", v2, [
(i(!0), g(j, null, ye(c(n.tags), (w) => (i(), g("div", {
return (y, t) => (i(), g("div", v2, [
(i(!0), g(j, null, _e(c(n.tags), (w) => (i(), g("div", {
key: w.id

@@ -81,3 +81,3 @@ }, [

tag: w,
onClick: (A) => N(w),
onClick: (H) => N(w),
active: n.value.includes(w.created_at)

@@ -88,3 +88,3 @@ }, null, 8, ["tag", "onClick", "active"])

}
}, h2 = /* @__PURE__ */ K(p2, [["__scopeId", "data-v-f588325c"]]), f2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685356134227'%20class='icon'%20viewBox='0%200%201085%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4178'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='211.9140625'%20height='200'%3e%3cpath%20d='M542.797672%20783.398836L0%20240.601164h1085.595343z'%20p-id='4179'%3e%3c/path%3e%3c/svg%3e", m2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685356123004'%20class='icon'%20viewBox='0%200%201085%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4038'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='211.9140625'%20height='200'%3e%3cpath%20d='M545.20232799%20240.601164L1087.99999999%20783.398836l-1085.595343%200z'%20p-id='4039'%3e%3c/path%3e%3c/svg%3e", w2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685162926601'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2463'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M460.8%2025.6c240.3584%200%20435.2%20194.8416%20435.2%20435.2%200%20108.288-39.5264%20207.3088-104.96%20283.4688l167.936%20167.9104a51.2%2051.2%200%201%201-72.3968%2072.3968l-170.9568-170.9312A433.2288%20433.2288%200%200%201%20460.8%20896C220.4416%20896%2025.6%20701.1584%2025.6%20460.8S220.4416%2025.6%20460.8%2025.6z%20m0%20102.4C276.992%20128%20128%20276.992%20128%20460.8s148.992%20332.8%20332.8%20332.8%20332.8-148.992%20332.8-332.8S644.608%20128%20460.8%20128z'%20p-id='2464'%3e%3c/path%3e%3c/svg%3e", C2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eico%20/%2024%20/%20actions%20/%20clear@2x%3c/title%3e%3cg%20id='ico-/-24-/-actions-/-clear'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20d='M17.85,16.44%20C17.9446563,16.5338833%2017.9978992,16.6616812%2017.9978992,16.795%20C17.9978992,16.9283188%2017.9446563,17.0561167%2017.85,17.15%20L17.15,17.85%20C17.0561167,17.9446563%2016.9283188,17.9978992%2016.795,17.9978992%20C16.6616812,17.9978992%2016.5338833,17.9446563%2016.44,17.85%20L12,13.41%20L7.56,17.85%20C7.4661167,17.9446563%207.33831877,17.9978992%207.205,17.9978992%20C7.07168123,17.9978992%206.9438833,17.9446563%206.85,17.85%20L6.15,17.15%20C6.05534367,17.0561167%206.00210084,16.9283188%206.00210084,16.795%20C6.00210084,16.6616812%206.05534367,16.5338833%206.15,16.44%20L10.59,12%20L6.15,7.56%20C6.05534367,7.4661167%206.00210084,7.33831877%206.00210084,7.205%20C6.00210084,7.07168123%206.05534367,6.9438833%206.15,6.85%20L6.85,6.15%20C6.9438833,6.05534367%207.07168123,6.00210084%207.205,6.00210084%20C7.33831877,6.00210084%207.4661167,6.05534367%207.56,6.15%20L12,10.59%20L16.44,6.15%20C16.5338833,6.05534367%2016.6616812,6.00210084%2016.795,6.00210084%20C16.9283188,6.00210084%2017.0561167,6.05534367%2017.15,6.15%20L17.85,6.85%20C17.9446563,6.9438833%2017.9978992,7.07168123%2017.9978992,7.205%20C17.9978992,7.33831877%2017.9446563,7.4661167%2017.85,7.56%20L13.41,12%20L17.85,16.44%20Z'%20id='Icon-color'%20fill='currentColor'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e", x2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200.25H13C13.4142%200.25%2013.75%200.585786%2013.75%201V1.8775C13.7503%202.27728%2013.591%202.66065%2013.3075%202.9425L8.9425%207.3075C8.65897%207.58935%208.49968%207.97272%208.5%208.3725V11.125C8.5%2011.5971%208.27771%2012.0417%207.9%2012.325L6.1%2013.675C5.98637%2013.7602%205.83434%2013.7739%205.7073%2013.7104C5.58025%2013.6469%205.5%2013.517%205.5%2013.375V8.3725C5.50032%207.97272%205.34103%207.58935%205.0575%207.3075L0.692501%202.9425C0.408971%202.66065%200.249684%202.27728%200.25%201.8775V1C0.25%200.585786%200.585787%200.25%201%200.25ZM10.1275%204L12.25%201.8775V1.75H1.75V1.8775L3.8725%204H10.1275Z'%20fill='currentColor'%20/%3e%3c/svg%3e", D2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2016%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke='none'%20stroke-width='1'%20fill='currentColor'%20fill-rule='evenodd'%3e%3cg%20transform='translate(-4.000000,%20-2.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M20,4.5%20L20,5.5%20C20,5.77614237%2019.7761424,6%2019.5,6%20L4.5,6%20C4.22385763,6%204,5.77614237%204,5.5%20L4,4.5%20C4,4.22385763%204.22385763,4%204.5,4%20L9,4%20L9,3%20C9,2.44771525%209.44771525,2%2010,2%20L14,2%20C14.5522847,2%2015,2.44771525%2015,3%20L15,4%20L19.5,4%20C19.7761424,4%2020,4.22385763%2020,4.5%20Z%20M5.87,20.14%20C5.94364604,21.1895509%206.81787161,22.0025807%207.87,22%20L16.15,22%20C17.2021284,22.0025807%2018.076354,21.1895509%2018.15,20.14%20L19,8%20L5,8%20L5.87,20.14%20Z'%20id='Icon-color'%20%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", y2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6006%201.20917L28.7906%201.39917C29.08%201.70259%2029.244%202.10412%2029.2498%202.52334V15.1108C29.2505%2015.9548%2028.9142%2016.7642%2028.3156%2017.3592L16.884%2028.7908C16.2664%2029.4047%2015.269%2029.4047%2014.6515%2028.7908L1.20896%2015.3483C0.595061%2014.7308%200.595061%2013.7334%201.20896%2013.1158L12.6406%201.68417C13.2356%201.08561%2014.045%200.749333%2014.889%200.750001H27.4765C27.8957%200.755834%2028.2972%200.91984%2028.6006%201.20917ZM18.1665%208.66667C18.1665%2010.4156%2019.5842%2011.8333%2021.3331%2011.8333C22.173%2011.8333%2022.9784%2011.4997%2023.5723%2010.9058C24.1662%2010.312%2024.4998%209.50652%2024.4998%208.66667C24.4998%206.91777%2023.082%205.5%2021.3331%205.5C19.5842%205.5%2018.1665%206.91777%2018.1665%208.66667Z'%20fill='currentColor'%20/%3e%3c/svg%3e", _2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2018%2019'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(-3.000000,%20-2.000000)'%20fill='currentColor'%20fill-rule='nonzero'%3e%3cpath%20d='M21,6%20C21,4.8954305%2020.1045695,4%2019,4%20L18,4%20L18,2.5%20C18,2.22385763%2017.7761424,2%2017.5,2%20L16.5,2%20C16.2238576,2%2016,2.22385763%2016,2.5%20L16,4%20L8,4%20L8,2.5%20C8,2.22385763%207.77614237,2%207.5,2%20L6.5,2%20C6.22385763,2%206,2.22385763%206,2.5%20L6,4%20L5,4%20C3.8954305,4%203,4.8954305%203,6%20L3,19%20C3,20.1045695%203.8954305,21%205,21%20L19,21%20C20.1045695,21%2021,20.1045695%2021,19%20L21,6%20Z%20M19,19%20L5,19%20L5,8%20L19,8%20L19,19%20Z%20M8,14%20L10,14%20C10.5522847,14%2011,13.5522847%2011,13%20L11,11%20C11,10.4477153%2010.5522847,10%2010,10%20L8,10%20C7.44771525,10%207,10.4477153%207,11%20L7,13%20C7,13.5522847%207.44771525,14%208,14%20Z'%20%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", T2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1720592926051'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6945'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M358.4%2076.8v76.8h307.2V76.8h76.8v76.8h204.8v793.6H76.8V153.6h204.8V76.8h76.8z%20m-76.8%20153.6H153.6v640h716.8V230.4h-128v76.8h-76.8V230.4H358.4v76.8h-76.8V230.4z%20m418.9184%20152.6784l54.2976%2054.3232-307.712%20307.712-181.0432-180.992%2054.3232-54.3232%20126.72%20126.72%20253.4144-253.44z'%20p-id='6946'%3e%3c/path%3e%3c/svg%3e", k2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1724214601601'%20class='icon'%20viewBox='0%200%201035%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7572'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='202.1484375'%20height='200'%3e%3cpath%20d='M388.361%20382.546h194.18v64.727h-194.18v-64.727zM0%20576.726h258.907v64.728H0v-64.727z%20m1035.63-129.453H776.723v-64.727h258.907v64.727zM388.361%20900.361H323.635V382.546h64.727v517.815z%20m614.906%200H388.361v-64.726h582.542V447.273h64.727v453.088h-32.363zM32.363%20123.64h614.906v64.726H64.727v388.362H0V123.639h32.363z%20m647.27%20517.815H453.087v-64.727h194.18V123.639h64.728v517.815h-32.364z'%20fill='%23333333'%20p-id='7573'%3e%3c/path%3e%3c/svg%3e", L2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1726194601824'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10486'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M914.285714%20749.714286l0-402.285714q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-402.285714%200q-22.820571%200-38.838857-16.018286t-16.018286-38.838857l0-36.571429q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-182.857143%200q-22.820571%200-38.838857%2016.018286t-16.018286%2038.838857l0%20548.571429q0%2022.820571%2016.018286%2038.838857t38.838857%2016.018286l694.857143%200q22.820571%200%2038.838857-16.018286t16.018286-38.838857zM987.428571%20347.428571l0%20402.285714q0%2052.589714-37.741714%2090.258286t-90.258286%2037.741714l-694.857143%200q-52.589714%200-90.258286-37.741714t-37.741714-90.258286l0-548.571429q0-52.589714%2037.741714-90.258286t90.258286-37.741714l182.857143%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286l0%2018.285714%20384%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286z'%20fill='%23444444'%20p-id='10487'%3e%3c/path%3e%3c/svg%3e", S2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1726194606057'%20class='icon'%20viewBox='0%200%201098%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10644'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='214.453125'%20height='200'%3e%3cpath%20d='M1017.709714%20531.968q0-19.968-30.281143-19.968l-621.714286%200q-22.820571%200-48.859429%2012.288t-40.886857%2029.988571l-168.009143%20207.433143q-10.313143%2013.677714-10.313143%2022.820571%200%2019.968%2030.281143%2019.968l621.714286%200q22.820571%200%2049.152-12.580571t40.594286-30.281143l168.009143-207.433143q10.313143-12.580571%2010.313143-22.308571zM365.714286%20438.857143l438.857143%200%200-91.428571q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-329.142857%200q-22.820571%200-38.838857-16.018286t-16.018286-38.838857l0-36.571429q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-182.857143%200q-22.820571%200-38.838857%2016.018286t-16.018286%2038.838857l0%20487.424%20146.285714-180.004571q25.161143-30.281143%2066.267429-50.029714t80.018286-19.748571zM1090.852571%20531.968q0%2035.401143-26.258286%2068.534857l-168.594286%20207.433143q-24.576%2030.281143-66.267429%2050.029714t-80.018286%2019.748571l-621.714286%200q-52.589714%200-90.258286-37.741714t-37.741714-90.258286l0-548.571429q0-52.589714%2037.741714-90.258286t90.258286-37.741714l182.857143%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286l0%2018.285714%20310.857143%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286l0%2091.428571%20109.714286%200q30.866286%200%2056.539429%2013.970286t38.253714%2040.301714q8.557714%2018.285714%208.557714%2038.838857z'%20fill='%23444444'%20p-id='10645'%3e%3c/path%3e%3c/svg%3e", b2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1760004998012'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4876'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M672%20640c-8%200-16-3.2-22.4-9.6L512%20492.8l-137.6%20137.6c-12.8%2012.8-32%2012.8-44.8%200-12.8-12.8-12.8-32%200-44.8l160-160c12.8-12.8%2032-12.8%2044.8%200l160%20160c12.8%2012.8%2012.8%2032%200%2044.8-6.4%206.4-14.4%209.6-22.4%209.6z'%20fill='%23FEC10D'%20p-id='4877'%3e%3c/path%3e%3cpath%20d='M512%20960c-17.6%200-32-14.4-32-32V464c0-17.6%2014.4-32%2032-32s32%2014.4%2032%2032v464c0%2017.6-14.4%2032-32%2032z'%20fill='%23FEC10D'%20p-id='4878'%3e%3c/path%3e%3cpath%20d='M768%20768h-64c-17.6%200-32-14.4-32-32s14.4-32%2032-32h64c88%200%20160-72%20160-160%200-76.8-57.6-145.6-134.4-158.4-14.4-1.6-25.6-14.4-27.2-28.8C753.6%20227.2%20643.2%20128%20512%20128s-241.6%2099.2-254.4%20230.4c-1.6%2014.4-12.8%2025.6-27.2%2028.8-76.8%2011.2-134.4%2080-134.4%20156.8%200%2088%2072%20160%20160%20160h64c17.6%200%2032%2014.4%2032%2032s-14.4%2032-32%2032h-64C132.8%20768%2032%20667.2%2032%20544c0-100.8%2068.8-188.8%20164.8-216C224%20176%20355.2%2064%20512%2064c156.8%200%20288%20112%20315.2%20264C923.2%20355.2%20992%20443.2%20992%20544c0%20123.2-100.8%20224-224%20224z'%20fill='%23FEC10D'%20p-id='4879'%3e%3c/path%3e%3c/svg%3e", E2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1726194592848'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10328'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M911.989715%20217.145632q16.017142%2016.017142%2027.426612%2043.443754t11.409471%2050.318692l0%20658.238697q0%2022.818942-16.017142%2038.836083t-38.836083%2016.017142l-767.945147%200q-22.818942%200-38.836083-16.017142t-16.017142-38.836083l0-914.220413q0-22.818942%2016.017142-38.836083t38.836083-16.017142l511.963431%200q22.818942%200%2050.318692%2011.409471t43.443754%2027.426612zM658.275266%2077.672166l0%20214.805228%20214.805228%200q-5.704735-16.602243-12.579673-23.404043l-178.821513-178.821513q-6.874938-6.874938-23.404043-12.579673zM877.688165%20950.789229l0-585.101064-237.697307%200q-22.818942%200-38.836083-16.017142t-16.017142-38.836083l0-237.697307-438.825798%200%200%20877.651596%20731.37633%200z'%20fill='%23444444'%20p-id='10329'%3e%3c/path%3e%3c/svg%3e", V = {
}, h2 = /* @__PURE__ */ K(p2, [["__scopeId", "data-v-f588325c"]]), f2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685356134227'%20class='icon'%20viewBox='0%200%201085%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4178'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='211.9140625'%20height='200'%3e%3cpath%20d='M542.797672%20783.398836L0%20240.601164h1085.595343z'%20p-id='4179'%3e%3c/path%3e%3c/svg%3e", m2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685356123004'%20class='icon'%20viewBox='0%200%201085%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4038'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='211.9140625'%20height='200'%3e%3cpath%20d='M545.20232799%20240.601164L1087.99999999%20783.398836l-1085.595343%200z'%20p-id='4039'%3e%3c/path%3e%3c/svg%3e", w2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685162926601'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2463'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M460.8%2025.6c240.3584%200%20435.2%20194.8416%20435.2%20435.2%200%20108.288-39.5264%20207.3088-104.96%20283.4688l167.936%20167.9104a51.2%2051.2%200%201%201-72.3968%2072.3968l-170.9568-170.9312A433.2288%20433.2288%200%200%201%20460.8%20896C220.4416%20896%2025.6%20701.1584%2025.6%20460.8S220.4416%2025.6%20460.8%2025.6z%20m0%20102.4C276.992%20128%20128%20276.992%20128%20460.8s148.992%20332.8%20332.8%20332.8%20332.8-148.992%20332.8-332.8S644.608%20128%20460.8%20128z'%20p-id='2464'%3e%3c/path%3e%3c/svg%3e", C2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eico%20/%2024%20/%20actions%20/%20clear@2x%3c/title%3e%3cg%20id='ico-/-24-/-actions-/-clear'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20d='M17.85,16.44%20C17.9446563,16.5338833%2017.9978992,16.6616812%2017.9978992,16.795%20C17.9978992,16.9283188%2017.9446563,17.0561167%2017.85,17.15%20L17.15,17.85%20C17.0561167,17.9446563%2016.9283188,17.9978992%2016.795,17.9978992%20C16.6616812,17.9978992%2016.5338833,17.9446563%2016.44,17.85%20L12,13.41%20L7.56,17.85%20C7.4661167,17.9446563%207.33831877,17.9978992%207.205,17.9978992%20C7.07168123,17.9978992%206.9438833,17.9446563%206.85,17.85%20L6.15,17.15%20C6.05534367,17.0561167%206.00210084,16.9283188%206.00210084,16.795%20C6.00210084,16.6616812%206.05534367,16.5338833%206.15,16.44%20L10.59,12%20L6.15,7.56%20C6.05534367,7.4661167%206.00210084,7.33831877%206.00210084,7.205%20C6.00210084,7.07168123%206.05534367,6.9438833%206.15,6.85%20L6.85,6.15%20C6.9438833,6.05534367%207.07168123,6.00210084%207.205,6.00210084%20C7.33831877,6.00210084%207.4661167,6.05534367%207.56,6.15%20L12,10.59%20L16.44,6.15%20C16.5338833,6.05534367%2016.6616812,6.00210084%2016.795,6.00210084%20C16.9283188,6.00210084%2017.0561167,6.05534367%2017.15,6.15%20L17.85,6.85%20C17.9446563,6.9438833%2017.9978992,7.07168123%2017.9978992,7.205%20C17.9978992,7.33831877%2017.9446563,7.4661167%2017.85,7.56%20L13.41,12%20L17.85,16.44%20Z'%20id='Icon-color'%20fill='currentColor'%20fill-rule='nonzero'%3e%3c/path%3e%3c/g%3e%3c/svg%3e", x2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200.25H13C13.4142%200.25%2013.75%200.585786%2013.75%201V1.8775C13.7503%202.27728%2013.591%202.66065%2013.3075%202.9425L8.9425%207.3075C8.65897%207.58935%208.49968%207.97272%208.5%208.3725V11.125C8.5%2011.5971%208.27771%2012.0417%207.9%2012.325L6.1%2013.675C5.98637%2013.7602%205.83434%2013.7739%205.7073%2013.7104C5.58025%2013.6469%205.5%2013.517%205.5%2013.375V8.3725C5.50032%207.97272%205.34103%207.58935%205.0575%207.3075L0.692501%202.9425C0.408971%202.66065%200.249684%202.27728%200.25%201.8775V1C0.25%200.585786%200.585787%200.25%201%200.25ZM10.1275%204L12.25%201.8775V1.75H1.75V1.8775L3.8725%204H10.1275Z'%20fill='currentColor'%20/%3e%3c/svg%3e", D2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2016%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke='none'%20stroke-width='1'%20fill='currentColor'%20fill-rule='evenodd'%3e%3cg%20transform='translate(-4.000000,%20-2.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M20,4.5%20L20,5.5%20C20,5.77614237%2019.7761424,6%2019.5,6%20L4.5,6%20C4.22385763,6%204,5.77614237%204,5.5%20L4,4.5%20C4,4.22385763%204.22385763,4%204.5,4%20L9,4%20L9,3%20C9,2.44771525%209.44771525,2%2010,2%20L14,2%20C14.5522847,2%2015,2.44771525%2015,3%20L15,4%20L19.5,4%20C19.7761424,4%2020,4.22385763%2020,4.5%20Z%20M5.87,20.14%20C5.94364604,21.1895509%206.81787161,22.0025807%207.87,22%20L16.15,22%20C17.2021284,22.0025807%2018.076354,21.1895509%2018.15,20.14%20L19,8%20L5,8%20L5.87,20.14%20Z'%20id='Icon-color'%20%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", y2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6006%201.20917L28.7906%201.39917C29.08%201.70259%2029.244%202.10412%2029.2498%202.52334V15.1108C29.2505%2015.9548%2028.9142%2016.7642%2028.3156%2017.3592L16.884%2028.7908C16.2664%2029.4047%2015.269%2029.4047%2014.6515%2028.7908L1.20896%2015.3483C0.595061%2014.7308%200.595061%2013.7334%201.20896%2013.1158L12.6406%201.68417C13.2356%201.08561%2014.045%200.749333%2014.889%200.750001H27.4765C27.8957%200.755834%2028.2972%200.91984%2028.6006%201.20917ZM18.1665%208.66667C18.1665%2010.4156%2019.5842%2011.8333%2021.3331%2011.8333C22.173%2011.8333%2022.9784%2011.4997%2023.5723%2010.9058C24.1662%2010.312%2024.4998%209.50652%2024.4998%208.66667C24.4998%206.91777%2023.082%205.5%2021.3331%205.5C19.5842%205.5%2018.1665%206.91777%2018.1665%208.66667Z'%20fill='currentColor'%20/%3e%3c/svg%3e", _2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='14'%20height='14'%20viewBox='0%200%2018%2019'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(-3.000000,%20-2.000000)'%20fill='currentColor'%20fill-rule='nonzero'%3e%3cpath%20d='M21,6%20C21,4.8954305%2020.1045695,4%2019,4%20L18,4%20L18,2.5%20C18,2.22385763%2017.7761424,2%2017.5,2%20L16.5,2%20C16.2238576,2%2016,2.22385763%2016,2.5%20L16,4%20L8,4%20L8,2.5%20C8,2.22385763%207.77614237,2%207.5,2%20L6.5,2%20C6.22385763,2%206,2.22385763%206,2.5%20L6,4%20L5,4%20C3.8954305,4%203,4.8954305%203,6%20L3,19%20C3,20.1045695%203.8954305,21%205,21%20L19,21%20C20.1045695,21%2021,20.1045695%2021,19%20L21,6%20Z%20M19,19%20L5,19%20L5,8%20L19,8%20L19,19%20Z%20M8,14%20L10,14%20C10.5522847,14%2011,13.5522847%2011,13%20L11,11%20C11,10.4477153%2010.5522847,10%2010,10%20L8,10%20C7.44771525,10%207,10.4477153%207,11%20L7,13%20C7,13.5522847%207.44771525,14%208,14%20Z'%20%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", T2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1720592926051'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='6945'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M358.4%2076.8v76.8h307.2V76.8h76.8v76.8h204.8v793.6H76.8V153.6h204.8V76.8h76.8z%20m-76.8%20153.6H153.6v640h716.8V230.4h-128v76.8h-76.8V230.4H358.4v76.8h-76.8V230.4z%20m418.9184%20152.6784l54.2976%2054.3232-307.712%20307.712-181.0432-180.992%2054.3232-54.3232%20126.72%20126.72%20253.4144-253.44z'%20p-id='6946'%3e%3c/path%3e%3c/svg%3e", k2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1724214601601'%20class='icon'%20viewBox='0%200%201035%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7572'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='202.1484375'%20height='200'%3e%3cpath%20d='M388.361%20382.546h194.18v64.727h-194.18v-64.727zM0%20576.726h258.907v64.728H0v-64.727z%20m1035.63-129.453H776.723v-64.727h258.907v64.727zM388.361%20900.361H323.635V382.546h64.727v517.815z%20m614.906%200H388.361v-64.726h582.542V447.273h64.727v453.088h-32.363zM32.363%20123.64h614.906v64.726H64.727v388.362H0V123.639h32.363z%20m647.27%20517.815H453.087v-64.727h194.18V123.639h64.728v517.815h-32.364z'%20fill='%23333333'%20p-id='7573'%3e%3c/path%3e%3c/svg%3e", L2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1726194601824'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10486'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M914.285714%20749.714286l0-402.285714q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-402.285714%200q-22.820571%200-38.838857-16.018286t-16.018286-38.838857l0-36.571429q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-182.857143%200q-22.820571%200-38.838857%2016.018286t-16.018286%2038.838857l0%20548.571429q0%2022.820571%2016.018286%2038.838857t38.838857%2016.018286l694.857143%200q22.820571%200%2038.838857-16.018286t16.018286-38.838857zM987.428571%20347.428571l0%20402.285714q0%2052.589714-37.741714%2090.258286t-90.258286%2037.741714l-694.857143%200q-52.589714%200-90.258286-37.741714t-37.741714-90.258286l0-548.571429q0-52.589714%2037.741714-90.258286t90.258286-37.741714l182.857143%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286l0%2018.285714%20384%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286z'%20fill='%23444444'%20p-id='10487'%3e%3c/path%3e%3c/svg%3e", S2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1726194606057'%20class='icon'%20viewBox='0%200%201098%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10644'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='214.453125'%20height='200'%3e%3cpath%20d='M1017.709714%20531.968q0-19.968-30.281143-19.968l-621.714286%200q-22.820571%200-48.859429%2012.288t-40.886857%2029.988571l-168.009143%20207.433143q-10.313143%2013.677714-10.313143%2022.820571%200%2019.968%2030.281143%2019.968l621.714286%200q22.820571%200%2049.152-12.580571t40.594286-30.281143l168.009143-207.433143q10.313143-12.580571%2010.313143-22.308571zM365.714286%20438.857143l438.857143%200%200-91.428571q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-329.142857%200q-22.820571%200-38.838857-16.018286t-16.018286-38.838857l0-36.571429q0-22.820571-16.018286-38.838857t-38.838857-16.018286l-182.857143%200q-22.820571%200-38.838857%2016.018286t-16.018286%2038.838857l0%20487.424%20146.285714-180.004571q25.161143-30.281143%2066.267429-50.029714t80.018286-19.748571zM1090.852571%20531.968q0%2035.401143-26.258286%2068.534857l-168.594286%20207.433143q-24.576%2030.281143-66.267429%2050.029714t-80.018286%2019.748571l-621.714286%200q-52.589714%200-90.258286-37.741714t-37.741714-90.258286l0-548.571429q0-52.589714%2037.741714-90.258286t90.258286-37.741714l182.857143%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286l0%2018.285714%20310.857143%200q52.589714%200%2090.258286%2037.741714t37.741714%2090.258286l0%2091.428571%20109.714286%200q30.866286%200%2056.539429%2013.970286t38.253714%2040.301714q8.557714%2018.285714%208.557714%2038.838857z'%20fill='%23444444'%20p-id='10645'%3e%3c/path%3e%3c/svg%3e", b2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1760004998012'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4876'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M672%20640c-8%200-16-3.2-22.4-9.6L512%20492.8l-137.6%20137.6c-12.8%2012.8-32%2012.8-44.8%200-12.8-12.8-12.8-32%200-44.8l160-160c12.8-12.8%2032-12.8%2044.8%200l160%20160c12.8%2012.8%2012.8%2032%200%2044.8-6.4%206.4-14.4%209.6-22.4%209.6z'%20fill='%23FEC10D'%20p-id='4877'%3e%3c/path%3e%3cpath%20d='M512%20960c-17.6%200-32-14.4-32-32V464c0-17.6%2014.4-32%2032-32s32%2014.4%2032%2032v464c0%2017.6-14.4%2032-32%2032z'%20fill='%23FEC10D'%20p-id='4878'%3e%3c/path%3e%3cpath%20d='M768%20768h-64c-17.6%200-32-14.4-32-32s14.4-32%2032-32h64c88%200%20160-72%20160-160%200-76.8-57.6-145.6-134.4-158.4-14.4-1.6-25.6-14.4-27.2-28.8C753.6%20227.2%20643.2%20128%20512%20128s-241.6%2099.2-254.4%20230.4c-1.6%2014.4-12.8%2025.6-27.2%2028.8-76.8%2011.2-134.4%2080-134.4%20156.8%200%2088%2072%20160%20160%20160h64c17.6%200%2032%2014.4%2032%2032s-14.4%2032-32%2032h-64C132.8%20768%2032%20667.2%2032%20544c0-100.8%2068.8-188.8%20164.8-216C224%20176%20355.2%2064%20512%2064c156.8%200%20288%20112%20315.2%20264C923.2%20355.2%20992%20443.2%20992%20544c0%20123.2-100.8%20224-224%20224z'%20fill='%23FEC10D'%20p-id='4879'%3e%3c/path%3e%3c/svg%3e", E2 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1726194592848'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='10328'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M911.989715%20217.145632q16.017142%2016.017142%2027.426612%2043.443754t11.409471%2050.318692l0%20658.238697q0%2022.818942-16.017142%2038.836083t-38.836083%2016.017142l-767.945147%200q-22.818942%200-38.836083-16.017142t-16.017142-38.836083l0-914.220413q0-22.818942%2016.017142-38.836083t38.836083-16.017142l511.963431%200q22.818942%200%2050.318692%2011.409471t43.443754%2027.426612zM658.275266%2077.672166l0%20214.805228%20214.805228%200q-5.704735-16.602243-12.579673-23.404043l-178.821513-178.821513q-6.874938-6.874938-23.404043-12.579673zM877.688165%20950.789229l0-585.101064-237.697307%200q-22.818942%200-38.836083-16.017142t-16.017142-38.836083l0-237.697307-438.825798%200%200%20877.651596%20731.37633%200z'%20fill='%23444444'%20p-id='10329'%3e%3c/path%3e%3c/svg%3e", I = {
asc: f2,

@@ -105,6 +105,6 @@ desc: m2,

};
function xe(n) {
function De(n) {
return window.location.protocol === "https:" && /^http:/.test(n) ? n.replace(/^http:/, "https:") : n;
}
function de(n) {
function ue(n) {
if (typeof n == "string" || typeof n == "number")

@@ -114,11 +114,11 @@ return n;

case "image":
return `<img style="width:80px;height: auto;" src="${xe(
return `<img style="width:80px;height: auto;" src="${De(
n.content
)}" />`;
case "video":
return `<video style="width:200px;height: auto;object-fit: cover;background-color: #000;" src="${xe(
return `<video style="width:200px;height: auto;object-fit: cover;background-color: #000;" src="${De(
n.content
)}" />`;
case "audio":
return `<audio width="300" controls src="${xe(n.content)}" />`;
return `<audio width="300" controls src="${De(n.content)}" />`;
case "file":

@@ -131,8 +131,8 @@ return `文件: ${n.name}`;

function $e(n, S = !1) {
const u = n.target.getBoundingClientRect(), c = n.clientY;
const d = n.target.getBoundingClientRect(), c = n.clientY;
if (S) {
const N = u.height / 3, D = 2 * N;
return c < u.top + N ? "before" : c > u.top + D ? "after" : "inner";
const N = d.height / 3, y = 2 * N;
return c < d.top + N ? "before" : c > d.top + y ? "after" : "inner";
} else
return c < u.top + u.height / 2 ? "before" : "after";
return c < d.top + d.height / 2 ? "before" : "after";
}

@@ -143,6 +143,6 @@ const h = t2({

dropPosition: ""
}), Ue = (n) => (r2("data-v-ce9a6620"), n = n(), n2(), n), V2 = {
}), Ue = (n) => (r2("data-v-ce9a6620"), n = n(), n2(), n), I2 = {
key: 0,
class: "record-list-bar"
}, I2 = { class: "record-list-bar-search" }, B2 = {
}, V2 = { class: "record-list-bar-search" }, B2 = {
key: 1,

@@ -257,3 +257,3 @@ class: "record-list-sort"

let C = null;
const u = S, c = n, N = x(0), D = x(null), t = x({
const d = S, c = n, N = D(0), y = D(null), t = D({
trash: !1,

@@ -265,22 +265,22 @@ sort: 1,

noteName: ""
}), w = x(!1), A = x(null), M = x(null), b = x(null), T = x(!0), ue = x(null), f = x({
}), w = D(!1), H = D(null), M = D(null), b = D(null), T = D(!0), ge = D(null), f = D({
datetime: !1,
tagsShow: !1,
tag: !1
}), H = c2() === "mobile", $ = B(() => !t.value.trash && c.draggable && !w.value), ge = B(() => T.value && c.mode !== "simple"), Q = B(() => T.value && c.mode !== "simple"), U = B(() => {
}), $ = c2() === "mobile", U = B(() => !t.value.trash && c.draggable && !w.value), ve = B(() => T.value && c.mode !== "simple"), Q = B(() => T.value && c.mode !== "simple"), F = B(() => {
const e = Ne();
if (!e || e.vnode.props && e.vnode.props.onGetList)
return [...c.noteList];
const { tagIds: l, trash: r, sortType: p, sort: me, noteName: we } = t.value, Ce = c.noteList.filter((P) => {
const ne = P.tag_id;
return l != null && l.length && !l.includes(ne) || we && P.title.indexOf(we) < 0 && P.content.indexOf(we) < 0 ? !1 : r ? !!P.deleted_at : !P.deleted_at;
const { tagIds: l, trash: r, sortType: p, sort: we, noteName: Ce } = t.value, xe = c.noteList.filter((P) => {
const se = P.tag_id;
return l != null && l.length && !l.includes(se) || Ce && P.title.indexOf(Ce) < 0 && P.content.indexOf(Ce) < 0 ? !1 : r ? !!P.deleted_at : !P.deleted_at;
});
return t.value.sort === 0 || Ce.sort((P, ne) => {
const se = me === 1 ? "created_at" : "updated_at";
return p === "ASC" ? P[se] > ne[se] ? 1 : -1 : P[se] > ne[se] ? -1 : 1;
}), Ce;
}), ee = B(() => c.tags.filter(ie).map((e) => e.created_at)), F = B(() => t.value.trash ? U.value : U.value.filter((e) => {
const l = ee.value.includes(e.tag_id), r = l && O(e).finished;
return t.value.sort === 0 || xe.sort((P, se) => {
const ie = we === 1 ? "created_at" : "updated_at";
return p === "ASC" ? P[ie] > se[ie] ? 1 : -1 : P[ie] > se[ie] ? -1 : 1;
}), xe;
}), ee = B(() => c.tags.filter(ce).map((e) => e.created_at)), R = B(() => t.value.trash ? F.value : F.value.filter((e) => {
const l = ee.value.includes(e.tag_id), r = l && A(e).finished;
return w.value ? r : !l || !r;
})), R = x(!1), te = B(() => R.value ? "list" : "disabled"), ve = B(() => {
})), z = D(!1), pe = B(() => z.value ? "list" : "disabled"), te = B(() => {
const e = {

@@ -298,3 +298,3 @@ "padding-top": "5rem"

"__TODO__",
...(c.tags || []).filter(ie).map((l) => l.created_at)
...(c.tags || []).filter(ce).map((l) => l.created_at)
]);

@@ -338,3 +338,3 @@ },

() => {
t.value.sort = +c.sort, t.value.sortType = c.sortType || "DESC", t.value.page = 1, u("getList", t.value);
t.value.sort = +c.sort, t.value.sortType = c.sortType || "DESC", t.value.page = 1, d("getList", t.value);
},

@@ -347,6 +347,6 @@ { immediate: !0 }

});
function W(e) {
function le(e) {
return s2(e).format("YYYY年MM月DD日 HH:mm:ss");
}
function le(e) {
function W(e) {
let l = (e || "").replace("closeIcon", "").replace("contenteditable", "temp");

@@ -359,15 +359,15 @@ try {

let r = l.find((p) => p.text || p.type && !p.pending);
return r ? de(r) : "";
return r ? ue(r) : "";
} else
return typeof l != "string" ? de(l) : Oe.sanitize(e);
return typeof l != "string" ? ue(l) : Oe.sanitize(e);
}
function pe(e) {
const l = Pe(e.tag_id, c.tags), r = O(e);
return ie(l) && r.finished ? {
function he(e) {
const l = Pe(e.tag_id, c.tags), r = A(e);
return ce(l) && r.finished ? {
"record-list-item-title-finished": !0
} : {};
}
function X() {
function oe() {
const e = !T.value;
T.value = e, u("toggle", e);
T.value = e, d("toggle", e);
}

@@ -377,5 +377,5 @@ function ae(e) {

const l = e.currentTarget;
l.scrollHeight - l.scrollTop - l.clientHeight <= 50 && (t.value.page += 1, u("changePage", t.value));
l.scrollHeight - l.scrollTop - l.clientHeight <= 50 && (t.value.page += 1, d("changePage", t.value));
}
function he(e) {
function re(e) {
const l = {

@@ -389,7 +389,7 @@ touchStartX: 0,

};
return H ? {
click: () => a(e),
return $ ? {
click: () => ne(e),
touchstart: (p) => {
l.touchStartX = p.touches[0].clientX, l.touchStartY = p.touches[0].clientY, C === null && (C = setTimeout(() => {
_e(p, e);
x(p, e);
}, 500));

@@ -402,24 +402,24 @@ },

r();
const p = l.touchEndX - l.touchStartX, me = l.touchEndY - l.touchStartY;
Math.abs(p) > Math.abs(me) && Math.abs(p) > 50 && re(e, p > 0);
const p = l.touchEndX - l.touchStartX, we = l.touchEndY - l.touchStartY;
Math.abs(p) > Math.abs(we) && Math.abs(p) > 50 && X(e, p > 0);
}
} : {
click: () => a(e),
contextmenu: (p) => _e(p, e)
click: () => ne(e),
contextmenu: (p) => x(p, e)
};
}
function oe(e) {
if (!H) {
const l = O(e);
re(e, !l.finished);
function fe(e) {
if (!$) {
const l = A(e);
X(e, !l.finished);
}
}
function re(e, l) {
if (fe(e))
function X(e, l) {
if (me(e))
return;
const r = Pe(e.tag_id, c.tags);
if (ie(r)) {
if (ce(r)) {
Ee();
const p = O(e);
u("changeNote", {
const p = A(e);
d("changeNote", {
...e,

@@ -434,19 +434,19 @@ ext: JSON.stringify({

}
function a(e) {
D.value || (b.value = e.created_at, e.deleted_at || u("selectNote", e));
function ne(e) {
y.value || (b.value = e.created_at, e.deleted_at || d("selectNote", e));
}
function o() {
const e = !f.value.tagsShow;
f.value.tagsShow = e, u("changeTagsShowVisible", e), e && be();
f.value.tagsShow = e, d("changeTagsShowVisible", e), e && be();
}
function d() {
function a() {
const e = !f.value.datetime;
f.value.datetime = e, u("changeDatetimeVisible", e);
f.value.datetime = e, d("changeDatetimeVisible", e);
}
function y() {
function u() {
const e = !f.value.tag;
f.value.tag = e, u("changeTagVisible", e);
f.value.tag = e, d("changeTagVisible", e);
}
function _e(e, l) {
e.preventDefault(), D.value = l, ce(() => {
function x(e, l) {
e.preventDefault(), y.value = l, de(() => {
Ae(

@@ -489,7 +489,7 @@ {

var l;
(l = M.value) != null && l.contains(e.target) || (D.value = null);
(l = M.value) != null && l.contains(e.target) || (y.value = null);
}
function ke() {
const e = !t.value.trash;
t.value.trash = e, t.value.page = 1, e && (w.value = !1), u("getList", t.value);
t.value.trash = e, t.value.page = 1, e && (w.value = !1), d("getList", t.value);
}

@@ -500,3 +500,3 @@ function Fe() {

function Re(e) {
t.value.noteName = e.target.value, t.value.page = 1, u("getList", t.value);
t.value.noteName = e.target.value, t.value.page = 1, d("getList", t.value);
}

@@ -507,9 +507,9 @@ function We() {

const e = Ne();
(l = e == null ? void 0 : e.proxy) == null || l.$forceUpdate(), u("getList", t.value);
(l = e == null ? void 0 : e.proxy) == null || l.$forceUpdate(), d("getList", t.value);
}
function Xe(e) {
t.value.tagIds = e, t.value.page = 1, u("getList", t.value);
t.value.tagIds = e, t.value.page = 1, d("getList", t.value);
}
function Le(e) {
e == t.value.sort ? t.value.sortType = t.value.sortType == "DESC" ? "ASC" : "DESC" : (t.value.sort = e, t.value.sortType = "DESC"), t.value.page = 1, u("getList", t.value), u("changeSort", {
e == t.value.sort ? t.value.sortType = t.value.sortType == "DESC" ? "ASC" : "DESC" : (t.value.sort = e, t.value.sortType = "DESC"), t.value.page = 1, d("getList", t.value), d("changeSort", {
sort: e,

@@ -520,7 +520,7 @@ sortType: t.value.sortType

function Se(e = !1) {
Ee(), u("removeNote", D.value, e), D.value = null;
Ee(), d("removeNote", y.value, e), y.value = null;
}
function be() {
var l;
const e = (l = A.value) == null ? void 0 : l.$el;
const e = (l = H.value) == null ? void 0 : l.$el;
e && setTimeout(() => {

@@ -531,8 +531,8 @@ N.value = e.clientHeight;

function Ee() {
R.value = !0, setTimeout(() => {
R.value = !1;
z.value = !0, setTimeout(() => {
z.value = !1;
}, 500);
}
function Ve(e, l = {}) {
if (!$.value || window.__DRAG_ID__ === l.created_at) {
function Ie(e, l = {}) {
if (!U.value || window.__DRAG_ID__ === l.created_at) {
e.dataTransfer.dropEffect = "none";

@@ -563,4 +563,4 @@ return;

}
function Ie(e) {
$.value && (u("drop", e, {
function Ve(e) {
U.value && (d("drop", e, {
id: h.dropId,

@@ -573,10 +573,10 @@ position: h.dropPosition

}
function fe(e) {
return !!O(e).rel;
function me(e) {
return !!A(e).rel;
}
function Ke(e) {
return !!O(e).uploading;
return !!A(e).uploading;
}
function Qe(e) {
return $.value && !fe(e);
return U.value && !me(e);
}

@@ -586,10 +586,10 @@ return (e, l) => (i(), g("div", {

"record-list": !0,
"record-list-mobile": H
"record-list-mobile": $
})
}, [
ge.value ? (i(), g("div", V2, [
v("div", I2, [
k(s(I), {
ve.value ? (i(), g("div", I2, [
v("div", V2, [
k(s(V), {
class: "record-list-bar-search-icon",
src: s(V).search,
src: s(I).search,
width: "14",

@@ -603,3 +603,3 @@ height: "14",

placeholder: "搜索",
onKeyup: De(Re, ["enter"])
onKeyup: ye(Re, ["enter"])
}, null, 544), [

@@ -612,4 +612,4 @@ [ze, t.value.noteName]

}, [
k(s(I), {
src: s(V).delect,
k(s(V), {
src: s(I).delect,
width: "18",

@@ -634,6 +634,6 @@ height: "18"

}, {
default: z(() => [
k(s(I), {
default: O(() => [
k(s(V), {
class: "record-list-icon",
src: s(V).filter
src: s(I).filter
}, null, 8, ["src"])

@@ -647,6 +647,6 @@ ]),

}, {
default: z(() => [
k(s(I), {
default: O(() => [
k(s(V), {
class: "record-list-icon",
src: s(V).trash
src: s(I).trash
}, null, 8, ["src"])

@@ -657,9 +657,9 @@ ]),

k(s(Z), {
onClick: y,
onClick: u,
active: f.value.tag
}, {
default: z(() => [
k(s(I), {
default: O(() => [
k(s(V), {
class: "record-list-icon",
src: s(V).visible
src: s(I).visible
}, null, 8, ["src"])

@@ -670,9 +670,9 @@ ]),

k(s(Z), {
onClick: d,
onClick: a,
active: f.value.datetime
}, {
default: z(() => [
k(s(I), {
default: O(() => [
k(s(V), {
class: "record-list-icon",
src: s(V).delete
src: s(I).delete
}, null, 8, ["src"])

@@ -686,6 +686,6 @@ ]),

}, {
default: z(() => [
k(s(I), {
default: O(() => [
k(s(V), {
class: "record-list-icon",
src: s(V).todo
src: s(I).todo
}, null, 8, ["src"])

@@ -701,3 +701,3 @@ ]),

ref_key: "multipleTag",
ref: A,
ref: H,
tags: n.tags,

@@ -776,3 +776,3 @@ value: t.value.tagIds,

class: "record-list-closer",
onClick: X
onClick: oe
}, [

@@ -790,19 +790,19 @@ (i(), g("svg", {

])) : L("", !0),
F.value.length ? (i(), g("div", {
R.value.length ? (i(), g("div", {
key: 2,
ref_key: "noteList",
ref: ue,
style: _(ve.value),
ref: ge,
style: _(te.value),
class: "record-list-wrap",
onScroll: ae,
onDragover: l[4] || (l[4] = m((r) => Ve(r), ["stop", "prevent"])),
onDragover: l[4] || (l[4] = m((r) => Ie(r), ["stop", "prevent"])),
onDragleave: m(Be, ["stop", "prevent"]),
onDrop: l[5] || (l[5] = m((r) => Ie(r), ["stop", "prevent"]))
onDrop: l[5] || (l[5] = m((r) => Ve(r), ["stop", "prevent"]))
}, [
k(l2, {
name: te.value,
name: pe.value,
tag: "div"
}, {
default: z(() => [
(i(!0), g(j, null, ye(F.value, (r) => (i(), g("div", a2({
default: O(() => [
(i(!0), g(j, null, _e(R.value, (r) => (i(), g("div", o2({
key: r.created_at,

@@ -815,8 +815,8 @@ class: ["record-list-item", {

}]
}, o2(he(r), !0), {
}, a2(re(r), !0), {
draggable: Qe(r),
onDragstart: m((p) => je(p, r), ["stop"]),
onDragend: m(Je, ["stop"]),
onDragover: m((p) => Ve(p, r), ["stop", "prevent"]),
onDrop: l[3] || (l[3] = m((p) => Ie(p), ["stop", "prevent"]))
onDragover: m((p) => Ie(p, r), ["stop", "prevent"]),
onDrop: l[3] || (l[3] = m((p) => Ve(p), ["stop", "prevent"]))
}), [

@@ -827,3 +827,3 @@ f.value.tag ? (i(), g("div", A2, [

style: _(s(He)(r.tag_id, n.tags, r)),
onClick: m((p) => oe(r), ["stop"])
onClick: m((p) => fe(r), ["stop"])
}, null, 12, H2)

@@ -834,5 +834,5 @@ ])) : L("", !0),

"record-list-item-title-trash": t.value.trash,
...pe(r)
...he(r)
}]),
innerHTML: le(r.title)
innerHTML: W(r.title)
}, null, 10, $2),

@@ -844,3 +844,3 @@ r.type ? L("", !0) : (i(), g("p", {

}]),
innerHTML: le(r.content)
innerHTML: W(r.content)
}, null, 10, U2)),

@@ -851,3 +851,3 @@ f.value.datetime ? E((i(), g("p", {

class: "record-list-item-des"
}, Ge(W(r.created_at)) + "创建 ", 5)), [
}, Ge(le(r.created_at)) + "创建 ", 5)), [
[G, t.value.sort == 1]

@@ -859,16 +859,16 @@ ]) : L("", !0),

class: "record-list-item-des"
}, Ge(W(r.updated_at)) + "更新 ", 5)), [
}, Ge(le(r.updated_at)) + "更新 ", 5)), [
[G, t.value.sort == 2]
]) : L("", !0),
Ke(r) ? (i(), J(s(I), {
Ke(r) ? (i(), J(s(V), {
key: 4,
class: "record-list-uploading",
src: s(V).uploading,
src: s(I).uploading,
width: "14",
height: "14",
fill: "#52A770"
}, null, 8, ["src"])) : fe(r) ? (i(), J(s(I), {
}, null, 8, ["src"])) : me(r) ? (i(), J(s(V), {
key: 5,
class: "record-list-rel",
src: s(V).relate,
src: s(I).relate,
width: "14",

@@ -887,3 +887,3 @@ height: "14",

class: "record-list-opener",
onClick: X
onClick: oe
}, [

@@ -901,3 +901,3 @@ (i(), g("svg", {

])) : L("", !0),
D.value ? (i(), g("div", {
y.value ? (i(), g("div", {
key: 4,

@@ -978,49 +978,50 @@ ref_key: "contentMenu",

"rename",
"editComplete"
"editComplete",
"import"
],
setup(n, { expose: S, emit: C }) {
const u = C, c = n, N = B(() => {
const a = c.levelColors;
return a[c.level % a.length];
}), D = B(() => {
const a = c.levelColors;
return a[(c.level + 1) % a.length];
}), t = x(null), w = x(null), A = x(null), M = x(null), b = x(null), T = x(""), ue = B(() => N.value);
const d = C, c = n, N = B(() => {
const o = c.levelColors;
return o[c.level % o.length];
}), y = B(() => {
const o = c.levelColors;
return o[(c.level + 1) % o.length];
}), t = D(null), w = D(null), H = D(null), M = D(null), b = D(null), T = D(""), ge = B(() => N.value);
q(
() => c.activeNote,
(a) => {
M.value = a == null ? void 0 : a.created_at;
(o) => {
M.value = o == null ? void 0 : o.created_at;
},
{ immediate: !0 }
), qe(() => {
document.addEventListener("click", U);
document.addEventListener("click", F);
}), Ye(() => {
document.removeEventListener("click", U);
document.removeEventListener("click", F);
});
function f(a) {
let o = (a || "").replace("closeIcon", "").replace("contenteditable", "temp");
function f(o) {
let a = (o || "").replace("closeIcon", "").replace("contenteditable", "temp");
try {
o = JSON.parse(o);
a = JSON.parse(a);
} catch {
}
if (Array.isArray(o)) {
let d = o.find((y) => y.text || y.type && !y.pending);
return d ? de(d) : "";
if (Array.isArray(a)) {
let u = a.find((x) => x.text || x.type && !x.pending);
return u ? ue(u) : "";
} else
return typeof o != "string" ? de(o) : Oe.sanitize(a);
return typeof a != "string" ? ue(a) : Oe.sanitize(o);
}
function H(a) {
b.value || !t.value && !a.deleted_at && (M.value = a.created_at, u("selectNote", a));
function $(o) {
b.value || !t.value && !o.deleted_at && (M.value = o.created_at, d("selectNote", o));
}
function $(a, o) {
a.preventDefault(), o.deleted_at || (M.value = o.created_at, u("selectNote", o)), t.value = o, ce(() => {
Q(a.clientX, a.clientY);
function U(o, a) {
o.preventDefault(), a.deleted_at || (M.value = a.created_at, d("selectNote", a)), t.value = a, de(() => {
Q(o.clientX, o.clientY);
});
}
function ge(a) {
a.preventDefault(), t.value = { _isBlank: !0 }, ce(() => {
Q(a.clientX, a.clientY);
function ve(o) {
o.preventDefault(), t.value = { _isBlank: !0 }, de(() => {
Q(o.clientX, o.clientY);
});
}
function Q(a, o) {
function Q(o, a) {
Ae(

@@ -1032,6 +1033,6 @@ {

height: 0,
top: o,
right: a,
bottom: o,
left: a
top: a,
right: o,
bottom: a,
left: o
};

@@ -1054,78 +1055,81 @@ }

}
function U(a) {
var o;
(o = w.value) != null && o.contains(a.target) || (t.value = null);
function F(o) {
var a;
(a = w.value) != null && a.contains(o.target) || (t.value = null);
}
function ee() {
var o;
const a = (o = t.value) != null && o._isBlank ? null : t.value;
u("addFolder", a), t.value = null;
var a;
const o = (a = t.value) != null && a._isBlank ? null : t.value;
d("addFolder", o), t.value = null;
}
function F() {
var o;
const a = (o = t.value) != null && o._isBlank ? null : t.value;
u("addNote", a), t.value = null;
}
function R() {
u("rename", t.value), t.value = null;
var a;
const o = (a = t.value) != null && a._isBlank ? null : t.value;
d("addNote", o), t.value = null;
}
function z() {
d("import", t.value), t.value = null;
}
function pe() {
d("rename", t.value), t.value = null;
}
function te() {
u("removeNote", t.value), t.value = null;
d("removeNote", t.value), t.value = null;
}
function ve(a) {
return a.type === "folder" && a.created_at === M.value ? !1 : c.draggable;
function le(o) {
return o.type === "folder" && o.created_at === M.value ? !1 : c.draggable;
}
function W(a, o = {}) {
if (!c.draggable || window.__DRAG_ID__ === o.created_at) {
a.dataTransfer.dropEffect = "none";
function W(o, a = {}) {
if (!c.draggable || window.__DRAG_ID__ === a.created_at) {
o.dataTransfer.dropEffect = "none";
return;
}
h.dropId = o.created_at, h.dropPosition = $e(a, o.type === "folder");
h.dropId = a.created_at, h.dropPosition = $e(o, a.type === "folder");
}
function le(a, o) {
const d = o.type || "note";
window.__DRAG_TYPE__ = d, window.__DRAG_ID__ = o.created_at, a.dataTransfer.setData(
function he(o, a) {
const u = a.type || "note";
window.__DRAG_TYPE__ = u, window.__DRAG_ID__ = a.created_at, o.dataTransfer.setData(
"dragData",
JSON.stringify({
type: d,
data: o,
action: a.altKey ? "rel" : "move"
type: u,
data: a,
action: o.altKey ? "rel" : "move"
})
);
}
function pe() {
function oe() {
delete window.__DRAG_TYPE__, delete window.__DRAG_ID__;
}
function X(a) {
c.draggable && (u("drop", a, {
function ae(o) {
c.draggable && (d("drop", o, {
id: h.dropId,
position: h.dropPosition
}), ae());
}), re());
}
function ae() {
function re() {
h.dropId = null, h.dropPosition = "";
}
function he(a, o) {
b.value = a, T.value = o || "", ce(() => {
const d = document.querySelector(
`.explorer-list-item-title-input[data-note-id="${a}"]`
function fe(o, a) {
b.value = o, T.value = a || "", de(() => {
const u = document.querySelector(
`.explorer-list-item-title-input[data-note-id="${o}"]`
);
d && (d.focus(), d.select());
u && (u.focus(), u.select());
});
}
function oe() {
function X() {
if (b.value === null)
return;
const a = T.value.trim(), o = c.noteList.find((d) => d.created_at === b.value);
o && a !== o.title && u("editComplete", {
const o = T.value.trim(), a = c.noteList.find((u) => u.created_at === b.value);
a && o !== a.title && d("editComplete", {
noteId: b.value,
title: a || (o.type === "folder" ? "New Folder" : "New Note")
title: o || (a.type === "folder" ? "New Folder" : "New Note")
}), b.value = null, T.value = "";
}
function re() {
function ne() {
b.value = null, T.value = "";
}
return S({
startEdit: he
}), (a, o) => (i(), g("div", X2, [
startEdit: fe
}), (o, a) => (i(), g("div", X2, [
v("div", {

@@ -1135,4 +1139,4 @@ class: "explorer-list-main",

background: N.value,
"--item-bg-color": ue.value,
"--active-bg-color": D.value
"--item-bg-color": ge.value,
"--active-bg-color": y.value
})

@@ -1142,39 +1146,39 @@ }, [

ref_key: "listWrap",
ref: A,
ref: H,
class: "explorer-list-wrap",
onDragover: o[4] || (o[4] = m((d) => W(d), ["stop", "prevent"])),
onDragleave: m(ae, ["stop", "prevent"]),
onDrop: o[5] || (o[5] = m((d) => X(d), ["stop", "prevent"])),
onContextmenu: m(ge, ["self"])
onDragover: a[4] || (a[4] = m((u) => W(u), ["stop", "prevent"])),
onDragleave: m(re, ["stop", "prevent"]),
onDrop: a[5] || (a[5] = m((u) => ae(u), ["stop", "prevent"])),
onContextmenu: m(ve, ["self"])
}, [
(i(!0), g(j, null, ye(n.noteList, (d) => (i(), g("div", {
key: d.created_at,
(i(!0), g(j, null, _e(n.noteList, (u) => (i(), g("div", {
key: u.created_at,
class: Y(["explorer-list-item", {
"explorer-list-item-active": d.created_at === M.value,
"explorer-drop-before": s(h).dropId === d.created_at && s(h).dropPosition === "before",
"explorer-drop-after": s(h).dropId === d.created_at && s(h).dropPosition === "after",
"explorer-drop-inner": s(h).dropId === d.created_at && s(h).dropPosition === "inner"
"explorer-list-item-active": u.created_at === M.value,
"explorer-drop-before": s(h).dropId === u.created_at && s(h).dropPosition === "before",
"explorer-drop-after": s(h).dropId === u.created_at && s(h).dropPosition === "after",
"explorer-drop-inner": s(h).dropId === u.created_at && s(h).dropPosition === "inner"
}]),
onClick: (y) => H(d),
onContextmenu: m((y) => $(y, d), ["stop"]),
draggable: ve(d),
onDragstart: m((y) => le(y, d), ["stop"]),
onDragend: m(pe, ["stop"]),
onDragover: m((y) => W(y, d), ["stop", "prevent"]),
onDrop: o[3] || (o[3] = m((y) => X(y), ["stop", "prevent"]))
onClick: (x) => $(u),
onContextmenu: m((x) => U(x, u), ["stop"]),
draggable: le(u),
onDragstart: m((x) => he(x, u), ["stop"]),
onDragend: m(oe, ["stop"]),
onDragover: m((x) => W(x, u), ["stop", "prevent"]),
onDrop: a[3] || (a[3] = m((x) => ae(x), ["stop", "prevent"]))
}, [
v("div", j2, [
d.type === "folder" ? (i(), J(s(I), {
u.type === "folder" ? (i(), J(s(V), {
key: 0,
src: d.created_at === M.value ? s(V).folderOpen : s(V).folder,
src: u.created_at === M.value ? s(I).folderOpen : s(I).folder,
width: "14",
height: "14",
fill: "#9E9E9E"
}, null, 8, ["src"])) : d.tag_id ? (i(), g("div", {
}, null, 8, ["src"])) : u.tag_id ? (i(), g("div", {
key: 1,
class: "explorer-list-item-tag",
style: _(s(He)(d.tag_id, n.tags, d))
}, null, 4)) : (i(), J(s(I), {
style: _(s(He)(u.tag_id, n.tags, u))
}, null, 4)) : (i(), J(s(V), {
key: 2,
src: s(V).file,
src: s(I).file,
width: "14",

@@ -1185,16 +1189,16 @@ height: "14",

]),
d.created_at === b.value ? E((i(), g("input", {
u.created_at === b.value ? E((i(), g("input", {
key: 0,
"onUpdate:modelValue": o[0] || (o[0] = (y) => T.value = y),
"onUpdate:modelValue": a[0] || (a[0] = (x) => T.value = x),
class: "explorer-list-item-title-input",
onKeyup: [
De(oe, ["enter"]),
De(re, ["esc"])
ye(X, ["enter"]),
ye(ne, ["esc"])
],
onBlur: oe,
onClick: o[1] || (o[1] = m(() => {
onBlur: X,
onClick: a[1] || (a[1] = m(() => {
}, ["stop"])),
onDblclick: o[2] || (o[2] = m(() => {
onDblclick: a[2] || (a[2] = m(() => {
}, ["stop"])),
"data-note-id": d.created_at
"data-note-id": u.created_at
}, null, 40, J2)), [

@@ -1205,3 +1209,3 @@ [ze, T.value]

class: "explorer-list-item-title",
innerHTML: f(d.title)
innerHTML: f(u.title)
}, null, 8, K2))

@@ -1219,8 +1223,10 @@ ], 42, Z2))), 128))

t.value._isBlank ? (i(), g(j, { key: 0 }, [
v("li", { onClick: F }, "新建笔记"),
v("li", { onClick: ee }, "新建文件夹")
v("li", { onClick: R }, "新建笔记"),
v("li", { onClick: ee }, "新建文件夹"),
v("li", { onClick: z }, "导入")
], 64)) : t.value.type === "folder" ? (i(), g(j, { key: 1 }, [
v("li", { onClick: F }, "新建笔记"),
v("li", { onClick: R }, "新建笔记"),
v("li", { onClick: ee }, "新建文件夹"),
v("li", { onClick: R }, "重命名"),
v("li", { onClick: z }, "导入"),
v("li", { onClick: pe }, "重命名"),
v("li", { onClick: te }, "删除")

@@ -1235,3 +1241,3 @@ ], 64)) : (i(), g("li", {

}
}, st = /* @__PURE__ */ K(Q2, [["__scopeId", "data-v-b56eceae"]]);
}, st = /* @__PURE__ */ K(Q2, [["__scopeId", "data-v-b41687f4"]]);
export {

@@ -1238,0 +1244,0 @@ st as ExplorerList,

{
"name": "@codernote/record-list",
"version": "3.0.2",
"version": "3.0.3",
"type": "module",

@@ -5,0 +5,0 @@ "main": "dist/index.js",