@construct-space/ui 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/construct-ui.js +86 -84
- package/package.json +1 -1
package/dist/construct-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.dropdown-enter-active[data-v-2c2676a2]{transition:all .15s ease-out}.dropdown-leave-active[data-v-2c2676a2]{transition:all .1s ease-in}.dropdown-enter-from[data-v-2c2676a2],.dropdown-leave-to[data-v-2c2676a2]{opacity:0;transform:translateY(-4px)}.dropdown-enter-active[data-v-1bb8e51f]{transition:all .15s ease-out}.dropdown-leave-active[data-v-1bb8e51f]{transition:all .1s ease-in}.dropdown-enter-from[data-v-1bb8e51f],.dropdown-leave-to[data-v-1bb8e51f]{opacity:0;transform:translateY(-4px)}.dropdown-enter-active[data-v-40de17d6]{transition:all .15s ease-out}.dropdown-leave-active[data-v-40de17d6]{transition:all .1s ease-in}.dropdown-enter-from[data-v-40de17d6],.dropdown-leave-to[data-v-40de17d6]{opacity:0;transform:translateY(-4px)}.toast-enter-active[data-v-2c277680]{transition:all .3s cubic-bezier(.4,0,.2,1)}.toast-leave-active[data-v-2c277680]{transition:all .2s cubic-bezier(.4,0,1,1)}.toast-enter-from[data-v-2c277680],.toast-leave-to[data-v-2c277680]{opacity:0;transform:translate(100%)}.toast-move[data-v-2c277680]{transition:transform .3s cubic-bezier(.4,0,.2,1)}@keyframes progress-indeterminate-f944cf9d{0%{transform:translate(-100%)}to{transform:translate(350%)}}.animate-progress-indeterminate[data-v-f944cf9d]{animation:1.5s ease-in-out infinite progress-indeterminate-f944cf9d}.sidebar-btn[data-v-84231c4b]{cursor:pointer;width:42px;height:42px;color:var(--app-muted);background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;transition:all .15s;display:flex}.sidebar-btn[data-v-84231c4b]:hover{background:color-mix(in srgb, var(--app-muted) 10%, transparent);color:var(--app-foreground)}.sidebar-btn.active[data-v-84231c4b]{background:color-mix(in srgb, var(--item-color,var(--app-accent)) 15%, transparent);color:var(--item-color,var(--app-accent))}.split-pane[data-v-5217623a]{position:relative}.separator[data-v-5217623a]{transition:background-color .15s}.separator[data-v-5217623a]:hover,.separator--dragging[data-v-5217623a]{background:var(--app-accent-muted,#6366f11a)}.separator-bar[data-v-5217623a]{background:var(--app-border,#ffffff1a);border-radius:2px;transition:all .15s}.separator--horizontal .separator-bar[data-v-5217623a]{width:3px;height:24px}.separator--vertical .separator-bar[data-v-5217623a]{width:24px;height:3px}.separator:hover .separator-bar[data-v-5217623a],.separator--dragging .separator-bar[data-v-5217623a]{background:var(--app-accent,#6366f1)}.cui-switch[data-v-6e74603a]{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;display:inline-flex}.cui-switch--disabled[data-v-6e74603a]{cursor:not-allowed;opacity:.5}.cui-switch__track[data-v-6e74603a]{background:var(--app-border);cursor:pointer;border-radius:999px;flex-shrink:0;transition:background-color .2s;display:inline-flex;position:relative}.cui-switch__track--checked[data-v-6e74603a]{background:var(--app-accent)}.cui-switch__track--disabled[data-v-6e74603a]{cursor:not-allowed}.cui-switch__track[data-v-6e74603a]:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--app-accent) 35%, transparent);outline:none}.cui-switch__thumb[data-v-6e74603a]{background:#fff;border-radius:999px;transition:transform .2s;position:absolute;top:50%;left:2px;box-shadow:0 1px 2px #0000002e}.cui-switch__label[data-v-6e74603a]{color:var(--app-foreground);font-size:.875rem}.toolbar-panel[data-v-58c96c79]{backface-visibility:hidden;transform:translateZ(22px)}.toolbar-panel--bottom[data-v-58c96c79]{transform:rotateX(-90deg)translateZ(22px)}.toolbar-btn[data-v-58c96c79]{cursor:pointer;width:32px;height:32px;color:var(--app-muted);background:0 0;border:none;border-radius:.375rem;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.toolbar-btn[data-v-58c96c79]:hover{background:var(--app-input-bg,color-mix(in srgb, var(--app-muted) 10%, transparent));color:var(--app-foreground)}.toolbar-btn.active[data-v-58c96c79]{background:color-mix(in srgb, var(--app-accent) 15%, transparent);color:var(--app-accent)}.toolbar-btn[data-v-58c96c79]:disabled{opacity:.4;cursor:not-allowed}.tree-root[data-v-9be5dd89]:focus-visible{outline:none}.cui-sidebar-layout{min-height:100vh;display:flex}.cui-sidebar{background:var(--app-background,#18181b);border-right:1px solid var(--app-border,#27272a);z-index:100;flex-direction:column;align-items:center;width:60px;padding:16px 0;display:flex;position:fixed;top:0;bottom:0;left:0}.cui-sidebar-logo{color:var(--app-foreground,#fafafa);margin-bottom:24px;font-size:20px;font-weight:700}.cui-sidebar-logo-text{justify-content:center;align-items:center;width:32px;height:32px;display:flex}.cui-sidebar-nav{flex-direction:column;flex:1;align-items:center;gap:4px;display:flex}.cui-sidebar-nav-item{cursor:pointer;width:40px;height:40px;color:var(--app-muted,#71717a);border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex;position:relative}.cui-sidebar-nav-item:hover{color:var(--app-foreground,#fafafa);background:#ffffff0f}.cui-sidebar-nav-item.active{color:var(--app-accent,#ff2d55);background:#ffffff0f}.cui-sidebar-tooltip{background:var(--app-foreground,#fafafa);color:var(--app-background,#18181b);white-space:nowrap;pointer-events:none;z-index:200;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:500;position:absolute;top:50%;left:52px;transform:translateY(-50%)}.cui-sidebar-user{position:relative}.cui-sidebar-avatar{color:#fff;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:flex;overflow:hidden}.cui-sidebar-avatar img{object-fit:cover;width:100%;height:100%}.cui-sidebar-user-menu{background:var(--app-background,#18181b);border:1px solid var(--app-border,#27272a);z-index:200;border-radius:8px;min-width:160px;padding:4px;position:absolute;bottom:0;left:52px}.cui-sidebar-user-menu-item{color:var(--app-foreground,#fafafa);cursor:pointer;border-radius:6px;padding:8px 12px;font-size:13px;transition:background .15s}.cui-sidebar-user-menu-item:hover{background:#ffffff0f}.cui-sidebar-main{flex:1;min-height:100vh;margin-left:60px}.cui-header-layout{flex-direction:column;min-height:100vh;display:flex}.cui-header{border-bottom:1px solid var(--app-border,#27272a);z-index:100;background:color-mix(in srgb, var(--app-background) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:14px 0;position:sticky;top:0}.cui-header-container{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 24px;display:flex}.cui-header-left{align-items:center;gap:24px;display:flex}.cui-header-logo{color:var(--app-foreground,#fafafa);cursor:pointer;letter-spacing:.02em;font-size:16px;font-weight:700}.cui-header-logo-sub{color:var(--app-muted,#71717a);font-weight:400}.cui-header-nav{align-items:center;gap:16px;display:flex}.cui-header-nav a{color:var(--app-muted,#71717a);cursor:pointer;font-size:13px;text-decoration:none;transition:color .15s}.cui-header-nav a:hover,.cui-header-nav a.active{color:var(--app-foreground,#fafafa)}.cui-header-right{align-items:center;gap:12px;display:flex}.cui-header-avatar{color:#fff;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:600;display:flex;overflow:hidden}.cui-header-avatar img{object-fit:cover;width:100%;height:100%}.cui-header-signin{background:var(--app-accent,#ff2d55);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:6px 16px;font-family:inherit;font-size:13px;font-weight:500;transition:opacity .15s}.cui-header-signin:hover{opacity:.9}.cui-header-main{flex:1}:root{--app-background:#fff;--app-foreground:#1e293b;--app-muted:#94a3b8;--app-accent:#ff2d55;--app-accent-hover:#ff1744;--app-accent-foreground:#fff;--app-border:#e2e8f0;--app-canvas-bg:#f1f5f9;--app-status-bg:#f8fafc;--app-card-bg:#fff;--app-card-hover:#f8fafc;--app-input-bg:#fff;--green:#22c55e;--green-bg:#22c55e1a;--red:#ef4444;--red-bg:#ef44441a;--yellow:#eab308;--radius:8px;--radius-lg:12px;--radius-xl:16px;--font-sans:"Rubik", ui-sans-serif, system-ui, sans-serif}.dark,:root.dark,[data-theme=dark]{--app-background:#18181b;--app-foreground:#fafafa;--app-muted:#71717a;--app-accent:#ff2d55;--app-accent-hover:#ff1744;--app-accent-foreground:#fff;--app-border:#27272a;--app-canvas-bg:#09090b;--app-status-bg:#18181b;--app-card-bg:#1e1e22;--app-card-hover:#27272b;--app-input-bg:#18181b}@media (prefers-color-scheme:dark){:root:not(.light):not([data-theme=light]){--app-background:#18181b;--app-foreground:#fafafa;--app-muted:#71717a;--app-accent:#ff2d55;--app-accent-hover:#ff1744;--app-accent-foreground:#fff;--app-border:#27272a;--app-canvas-bg:#09090b;--app-status-bg:#18181b;--app-card-bg:#1e1e22;--app-card-hover:#27272b;--app-input-bg:#18181b}}*,:before,:after{box-sizing:border-box}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-state=checked].bg-primary,[data-state=checked].bg-neutral,button[role=switch][data-state=checked]{background-color:var(--app-accent)!important}button[role=checkbox][data-state=checked],[role=checkbox][data-state=checked]{background-color:var(--app-accent)!important;border-color:var(--app-accent)!important}[data-radix-slider-range],[role=slider] [data-orientation]>span:first-child{background-color:var(--app-accent)!important}[data-radix-slider-thumb],[role=slider] span[role=slider]{border-color:var(--app-accent)!important}input:focus-visible,textarea:focus-visible,select:focus-visible{border-color:var(--app-accent)!important;outline:none!important}.cui-label{text-transform:uppercase;letter-spacing:.05em;font-size:.75rem;font-weight:600}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{color:var(--app-foreground)!important;caret-color:var(--app-foreground)!important}input::placeholder,textarea::placeholder{color:var(--app-muted)!important;opacity:1!important}.btn{border:1px solid var(--app-border);border-radius:var(--radius);background:var(--app-input-bg);color:var(--app-foreground);cursor:pointer;align-items:center;gap:6px;padding:8px 18px;font-family:inherit;font-size:13px;font-weight:500;text-decoration:none;transition:all .15s;display:inline-flex}.btn:hover{background:var(--app-card-hover);border-color:var(--app-muted)}.btn-primary{background:var(--app-accent);border-color:var(--app-accent);color:#fff}.btn-primary:hover{background:var(--app-accent-hover);border-color:var(--app-accent-hover)}.btn-sm{padding:5px 12px;font-size:12px}.btn-lg{border-radius:var(--radius-lg);padding:12px 28px;font-size:15px;font-weight:600}.btn-ghost{color:var(--app-muted);background:0 0;border-color:#0000}.btn-ghost:hover{color:var(--app-foreground);background:var(--app-card-bg)}.btn-icon{color:var(--app-muted);cursor:pointer;border-radius:var(--radius);background:0 0;border:none;padding:6px;font-size:14px}.btn-icon:hover{background:var(--app-card-hover);color:var(--app-foreground)}.btn-danger{color:var(--red)}.btn-danger:hover{background:var(--red-bg);color:var(--red)}.container{max-width:1200px;margin:0 auto;padding:0 24px}.page{padding:32px 0}.page-title{letter-spacing:-.02em;margin-bottom:4px;font-size:22px;font-weight:600}.page-subtitle{color:var(--app-muted);margin-bottom:28px;font-size:14px}.card{background:var(--app-card-bg);border:1px solid var(--app-border);border-radius:var(--radius-lg);overflow:hidden}.card-header{border-bottom:1px solid var(--app-border);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.card-title{font-size:14px;font-weight:600}.card-body{padding:20px}.form-group{margin-bottom:16px}.form-label{color:var(--app-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:12px;font-weight:500;display:block}.form-input{background:var(--app-input-bg);border:1px solid var(--app-border);border-radius:var(--radius);width:100%;color:var(--app-foreground);outline:none;padding:9px 12px;font-family:inherit;font-size:13px;transition:border-color .15s}.form-input:focus{border-color:var(--app-accent)}.form-input::placeholder{color:var(--app-muted)}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.badge{text-transform:uppercase;letter-spacing:.05em;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:600}.spinner{border:2px solid var(--app-border);border-top-color:var(--app-accent);border-radius:50%;width:18px;height:18px;animation:.6s linear infinite cui-spin;display:inline-block}@keyframes cui-spin{to{transform:rotate(360deg)}}.loading-state{color:var(--app-muted);justify-content:center;align-items:center;gap:10px;padding:60px 0;font-size:14px;display:flex}.empty-state{text-align:center;color:var(--app-muted);padding:60px 20px}.empty-state p{margin-bottom:16px;font-size:14px}.cui-toast{background:var(--app-card-bg);border:1px solid var(--app-border);border-radius:var(--radius);z-index:2000;padding:12px 20px;font-size:13px;animation:.2s cui-slideUp;position:fixed;bottom:24px;right:24px}.cui-toast.error{border-color:var(--red);color:var(--red)}.cui-toast.success{border-color:var(--green);color:var(--green)}@keyframes cui-slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.tabs{border-bottom:1px solid var(--app-border);margin-bottom:24px;display:flex}.tab{color:var(--app-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 20px;font-family:inherit;font-size:13px;font-weight:500;transition:all .15s}.tab:hover{color:var(--app-foreground)}.tab.active{color:var(--app-foreground);border-bottom-color:var(--app-accent)}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--app-card-bg);border:1px solid var(--app-border);border-radius:var(--radius-lg);width:480px;max-width:90vw;max-height:85vh;overflow-y:auto}.modal-header{justify-content:space-between;align-items:center;padding:20px 24px 16px;display:flex}.modal-title{font-size:16px;font-weight:600}.modal-body{padding:0 24px 24px}.modal-footer{border-top:1px solid var(--app-border);justify-content:flex-end;gap:8px;padding:16px 24px;display:flex}.info-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;display:grid}.info-item{background:var(--app-input-bg);border-radius:var(--radius);padding:16px}.info-label{text-transform:uppercase;letter-spacing:.05em;color:var(--app-muted);margin-bottom:6px;font-size:11px;font-weight:600}.info-value{font-size:14px;font-weight:500}.toggle{background:var(--app-border);cursor:pointer;border:none;border-radius:11px;width:40px;height:22px;transition:background .2s;position:relative}.toggle.active{background:var(--app-accent)}.toggle:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;top:3px;left:3px}.toggle.active:after{transform:translate(18px)}.badge-a{color:#60a5fa;background:#60a5fa1f}.badge-aaaa{color:#a78bfa;background:#a78bfa1f}.badge-cname{color:#34d399;background:#34d3991f}.badge-mx{color:#fbbf24;background:#fbbf241f}.badge-txt{color:#f87171;background:#f871711f}.badge-ns{color:#38bdf8;background:#38bdf81f}.badge-srv{color:#fb923c;background:#fb923c1f}.badge-default{color:var(--app-muted);background:#8888a01f}.dns-table{border-collapse:collapse;width:100%}.dns-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--app-muted);border-bottom:1px solid var(--app-border);padding:10px 16px;font-size:11px;font-weight:600}.dns-table td{border-bottom:1px solid var(--app-border);vertical-align:middle;padding:12px 16px;font-size:13px}.dns-table tr:last-child td{border-bottom:none}.dns-table tr:hover td{background:var(--app-card-hover)}.back-link{color:var(--app-muted);align-items:center;gap:6px;margin-bottom:20px;font-size:13px;text-decoration:none;transition:color .15s;display:inline-flex}.back-link:hover{color:var(--app-foreground)}@media (width<=768px){.form-row,.info-grid{grid-template-columns:1fr}}
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.dropdown-enter-active[data-v-2c2676a2]{transition:all .15s ease-out}.dropdown-leave-active[data-v-2c2676a2]{transition:all .1s ease-in}.dropdown-enter-from[data-v-2c2676a2],.dropdown-leave-to[data-v-2c2676a2]{opacity:0;transform:translateY(-4px)}.dropdown-enter-active[data-v-1bb8e51f]{transition:all .15s ease-out}.dropdown-leave-active[data-v-1bb8e51f]{transition:all .1s ease-in}.dropdown-enter-from[data-v-1bb8e51f],.dropdown-leave-to[data-v-1bb8e51f]{opacity:0;transform:translateY(-4px)}.dropdown-enter-active[data-v-40de17d6]{transition:all .15s ease-out}.dropdown-leave-active[data-v-40de17d6]{transition:all .1s ease-in}.dropdown-enter-from[data-v-40de17d6],.dropdown-leave-to[data-v-40de17d6]{opacity:0;transform:translateY(-4px)}.toast-enter-active[data-v-2c277680]{transition:all .3s cubic-bezier(.4,0,.2,1)}.toast-leave-active[data-v-2c277680]{transition:all .2s cubic-bezier(.4,0,1,1)}.toast-enter-from[data-v-2c277680],.toast-leave-to[data-v-2c277680]{opacity:0;transform:translate(100%)}.toast-move[data-v-2c277680]{transition:transform .3s cubic-bezier(.4,0,.2,1)}@keyframes progress-indeterminate-f944cf9d{0%{transform:translate(-100%)}to{transform:translate(350%)}}.animate-progress-indeterminate[data-v-f944cf9d]{animation:1.5s ease-in-out infinite progress-indeterminate-f944cf9d}.sidebar-btn[data-v-84231c4b]{cursor:pointer;width:42px;height:42px;color:var(--app-muted);background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;transition:all .15s;display:flex}.sidebar-btn[data-v-84231c4b]:hover{background:color-mix(in srgb, var(--app-muted) 10%, transparent);color:var(--app-foreground)}.sidebar-btn.active[data-v-84231c4b]{background:color-mix(in srgb, var(--item-color,var(--app-accent)) 15%, transparent);color:var(--item-color,var(--app-accent))}.split-pane[data-v-5217623a]{position:relative}.separator[data-v-5217623a]{transition:background-color .15s}.separator[data-v-5217623a]:hover,.separator--dragging[data-v-5217623a]{background:var(--app-accent-muted,#6366f11a)}.separator-bar[data-v-5217623a]{background:var(--app-border,#ffffff1a);border-radius:2px;transition:all .15s}.separator--horizontal .separator-bar[data-v-5217623a]{width:3px;height:24px}.separator--vertical .separator-bar[data-v-5217623a]{width:24px;height:3px}.separator:hover .separator-bar[data-v-5217623a],.separator--dragging .separator-bar[data-v-5217623a]{background:var(--app-accent,#6366f1)}.cui-switch[data-v-6e74603a]{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;display:inline-flex}.cui-switch--disabled[data-v-6e74603a]{cursor:not-allowed;opacity:.5}.cui-switch__track[data-v-6e74603a]{background:var(--app-border);cursor:pointer;border-radius:999px;flex-shrink:0;transition:background-color .2s;display:inline-flex;position:relative}.cui-switch__track--checked[data-v-6e74603a]{background:var(--app-accent)}.cui-switch__track--disabled[data-v-6e74603a]{cursor:not-allowed}.cui-switch__track[data-v-6e74603a]:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--app-accent) 35%, transparent);outline:none}.cui-switch__thumb[data-v-6e74603a]{background:#fff;border-radius:999px;transition:transform .2s;position:absolute;top:50%;left:2px;box-shadow:0 1px 2px #0000002e}.cui-switch__label[data-v-6e74603a]{color:var(--app-foreground);font-size:.875rem}.toolbar-panel[data-v-58c96c79]{backface-visibility:hidden;transform:translateZ(22px)}.toolbar-panel--bottom[data-v-58c96c79]{transform:rotateX(-90deg)translateZ(22px)}.toolbar-btn[data-v-58c96c79]{cursor:pointer;width:32px;height:32px;color:var(--app-muted);background:0 0;border:none;border-radius:.375rem;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.toolbar-btn[data-v-58c96c79]:hover{background:var(--app-input-bg,color-mix(in srgb, var(--app-muted) 10%, transparent));color:var(--app-foreground)}.toolbar-btn.active[data-v-58c96c79]{background:color-mix(in srgb, var(--app-accent) 15%, transparent);color:var(--app-accent)}.toolbar-btn[data-v-58c96c79]:disabled{opacity:.4;cursor:not-allowed}.tree-root[data-v-9be5dd89]:focus-visible{outline:none}.cui-sidebar-layout{min-height:100vh;display:flex}.cui-sidebar{background:var(--app-background,#18181b);border-right:1px solid var(--app-border,#27272a);z-index:100;flex-direction:column;align-items:center;width:60px;padding:16px 0;display:flex;position:fixed;top:0;bottom:0;left:0}.cui-sidebar-logo{color:var(--app-foreground,#fafafa);margin-bottom:24px;font-size:20px;font-weight:700}.cui-sidebar-logo-text{justify-content:center;align-items:center;width:32px;height:32px;display:flex}.cui-sidebar-nav{flex-direction:column;flex:1;align-items:center;gap:4px;display:flex}.cui-sidebar-nav-item{cursor:pointer;width:40px;height:40px;color:var(--app-muted,#71717a);border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex;position:relative}.cui-sidebar-nav-item:hover{color:var(--app-foreground,#fafafa);background:#ffffff0f}.cui-sidebar-nav-item.active{color:var(--app-accent,#ff2d55);background:#ffffff0f}.cui-sidebar-tooltip{background:var(--app-foreground,#fafafa);color:var(--app-background,#18181b);white-space:nowrap;pointer-events:none;z-index:200;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:500;position:absolute;top:50%;left:52px;transform:translateY(-50%)}.cui-sidebar-user{position:relative}.cui-sidebar-avatar{color:#fff;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:flex;overflow:hidden}.cui-sidebar-avatar img{object-fit:cover;width:100%;height:100%}.cui-sidebar-user-menu{background:var(--app-background,#18181b);border:1px solid var(--app-border,#27272a);z-index:200;border-radius:8px;min-width:160px;padding:4px;position:absolute;bottom:0;left:52px}.cui-sidebar-user-menu-item{color:var(--app-foreground,#fafafa);cursor:pointer;border-radius:6px;padding:8px 12px;font-size:13px;transition:background .15s}.cui-sidebar-user-menu-item:hover{background:#ffffff0f}.cui-sidebar-main{flex:1;min-height:100vh;margin-left:60px}.cui-header-layout{flex-direction:column;min-height:100vh;display:flex}.cui-header{border-bottom:1px solid var(--app-border,#27272a);z-index:100;background:color-mix(in srgb, var(--app-background) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:14px 0;position:sticky;top:0}.cui-header-container{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 24px;display:flex}.cui-header-left{align-items:center;gap:24px;display:flex}.cui-header-logo{color:var(--app-foreground,#fafafa);cursor:pointer;letter-spacing:.02em;font-size:16px;font-weight:700}.cui-header-logo-sub{color:var(--app-muted,#71717a);font-weight:400}.cui-header-nav{align-items:center;gap:16px;display:flex}.cui-header-nav a{color:var(--app-muted,#71717a);cursor:pointer;font-size:13px;text-decoration:none;transition:color .15s}.cui-header-nav a:hover,.cui-header-nav a.active{color:var(--app-foreground,#fafafa)}.cui-header-right{align-items:center;gap:12px;display:flex}.cui-header-avatar{color:#fff;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:600;display:flex;overflow:hidden}.cui-header-avatar img{object-fit:cover;width:100%;height:100%}.cui-header-signin{background:var(--app-accent,#ff2d55);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:6px 16px;font-family:inherit;font-size:13px;font-weight:500;transition:opacity .15s}.cui-header-signin:hover{opacity:.9}.cui-header-main{flex:1}[data-state=checked].bg-primary,[data-state=checked].bg-neutral,button[role=switch][data-state=checked]{background-color:var(--app-accent)!important}button[role=checkbox][data-state=checked],[role=checkbox][data-state=checked]{background-color:var(--app-accent)!important;border-color:var(--app-accent)!important}[data-radix-slider-range],[role=slider] [data-orientation]>span:first-child{background-color:var(--app-accent)!important}[data-radix-slider-thumb],[role=slider] span[role=slider]{border-color:var(--app-accent)!important}input:focus-visible,textarea:focus-visible,select:focus-visible{border-color:var(--app-accent)!important;outline:none!important}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{color:var(--app-foreground)!important;caret-color:var(--app-foreground)!important}input::placeholder,textarea::placeholder{color:var(--app-muted)!important;opacity:1!important}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
3
|
import { Comment as t, Fragment as n, Teleport as r, Text as i, Transition as a, TransitionGroup as o, camelize as s, cloneVNode as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createStaticVNode as m, createTextVNode as h, createVNode as g, customRef as _, defineComponent as v, effectScope as y, getCurrentInstance as b, getCurrentScope as x, guardReactiveProps as S, h as C, inject as w, isRef as T, markRaw as E, mergeDefaults as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeProps as j, normalizeStyle as M, onBeforeUnmount as ee, onMounted as N, onScopeDispose as te, onUnmounted as P, onUpdated as ne, openBlock as F, provide as re, reactive as ie, readonly as ae, ref as I, renderList as L, renderSlot as R, resolveDynamicComponent as z, shallowReadonly as oe, shallowRef as se, toDisplayString as B, toHandlerKey as ce, toHandlers as le, toRaw as ue, toRef as de, toRefs as V, toValue as H, triggerRef as fe, unref as U, useSlots as pe, vModelText as me, vShow as he, watch as W, watchEffect as G, watchPostEffect as ge, withCtx as K, withDirectives as _e, withKeys as ve, withModifiers as q } from "vue";
|
|
4
4
|
//#region \0rolldown/runtime.js
|
|
@@ -16277,34 +16277,24 @@ function Pv(e = {}) {
|
|
|
16277
16277
|
//#endregion
|
|
16278
16278
|
//#region src/composables/useTheme.ts
|
|
16279
16279
|
var Fv = [
|
|
16280
|
-
{
|
|
16281
|
-
id: "auto",
|
|
16282
|
-
name: "Auto (System)",
|
|
16283
|
-
mode: "dark",
|
|
16284
|
-
bg: "#0f172a",
|
|
16285
|
-
fg: "#f8fafc",
|
|
16286
|
-
muted: "#64748b",
|
|
16287
|
-
accent: "#34C759",
|
|
16288
|
-
accentFg: "#ffffff"
|
|
16289
|
-
},
|
|
16290
16280
|
{
|
|
16291
16281
|
id: "vs",
|
|
16292
16282
|
name: "Light",
|
|
16293
16283
|
mode: "light",
|
|
16294
|
-
bg: "#
|
|
16295
|
-
fg: "#
|
|
16284
|
+
bg: "#f1f5f9",
|
|
16285
|
+
fg: "#0f172a",
|
|
16296
16286
|
muted: "#64748b",
|
|
16297
|
-
accent: "#
|
|
16287
|
+
accent: "#E63946",
|
|
16298
16288
|
accentFg: "#ffffff"
|
|
16299
16289
|
},
|
|
16300
16290
|
{
|
|
16301
16291
|
id: "vs-dark",
|
|
16302
16292
|
name: "Dark",
|
|
16303
16293
|
mode: "dark",
|
|
16304
|
-
bg: "#
|
|
16305
|
-
fg: "#
|
|
16306
|
-
muted: "#
|
|
16307
|
-
accent: "#
|
|
16294
|
+
bg: "#0f172a",
|
|
16295
|
+
fg: "#e2e8f0",
|
|
16296
|
+
muted: "#64748b",
|
|
16297
|
+
accent: "#E63946",
|
|
16308
16298
|
accentFg: "#ffffff"
|
|
16309
16299
|
},
|
|
16310
16300
|
{
|
|
@@ -16409,7 +16399,7 @@ var Fv = [
|
|
|
16409
16399
|
},
|
|
16410
16400
|
{
|
|
16411
16401
|
id: "hc-black",
|
|
16412
|
-
name: "High Contrast",
|
|
16402
|
+
name: "High Contrast Dark",
|
|
16413
16403
|
mode: "dark",
|
|
16414
16404
|
bg: "#000000",
|
|
16415
16405
|
fg: "#ffffff",
|
|
@@ -16419,7 +16409,7 @@ var Fv = [
|
|
|
16419
16409
|
},
|
|
16420
16410
|
{
|
|
16421
16411
|
id: "hc-light",
|
|
16422
|
-
name: "
|
|
16412
|
+
name: "High Contrast Light",
|
|
16423
16413
|
mode: "light",
|
|
16424
16414
|
bg: "#ffffff",
|
|
16425
16415
|
fg: "#000000",
|
|
@@ -16427,8 +16417,11 @@ var Fv = [
|
|
|
16427
16417
|
accent: "#0000ff",
|
|
16428
16418
|
accentFg: "#ffffff"
|
|
16429
16419
|
}
|
|
16430
|
-
], Iv = "construct-theme", Lv = I("
|
|
16431
|
-
|
|
16420
|
+
], Iv = "construct-theme", Lv = I("auto"), Rv = I([]), zv = I(typeof window < "u" ? window.matchMedia?.("(prefers-color-scheme: dark)").matches !== !1 : !0), Bv = l(() => [...Fv, ...Rv.value]), Vv = l(() => {
|
|
16421
|
+
let e = Lv.value;
|
|
16422
|
+
return e === "auto" ? zv.value ? Bv.value.find((e) => e.id === "vs-dark") : Bv.value.find((e) => e.id === "vs") : Bv.value.find((t) => t.id === e) || Fv[1];
|
|
16423
|
+
}), Hv = l(() => Vv.value.mode === "dark");
|
|
16424
|
+
function Uv(e) {
|
|
16432
16425
|
let t = e.replace("#", "");
|
|
16433
16426
|
return [
|
|
16434
16427
|
parseInt(t.substring(0, 2), 16),
|
|
@@ -16436,14 +16429,6 @@ function Hv(e) {
|
|
|
16436
16429
|
parseInt(t.substring(4, 6), 16)
|
|
16437
16430
|
];
|
|
16438
16431
|
}
|
|
16439
|
-
function Uv(e, t, n, r, i, a, o) {
|
|
16440
|
-
let s = (e, t) => Math.round(e + (t - e) * o);
|
|
16441
|
-
return "#" + [
|
|
16442
|
-
s(e, r),
|
|
16443
|
-
s(t, i),
|
|
16444
|
-
s(n, a)
|
|
16445
|
-
].map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
16446
|
-
}
|
|
16447
16432
|
function Wv(e, t, n, r) {
|
|
16448
16433
|
let i = (e) => Math.max(0, Math.min(255, e + r));
|
|
16449
16434
|
return "#" + [
|
|
@@ -16452,70 +16437,87 @@ function Wv(e, t, n, r) {
|
|
|
16452
16437
|
i(n)
|
|
16453
16438
|
].map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
16454
16439
|
}
|
|
16455
|
-
function Gv(e) {
|
|
16456
|
-
let
|
|
16457
|
-
|
|
16440
|
+
function Gv(e, t, n, r, i, a, o) {
|
|
16441
|
+
let s = (e, t) => Math.round(e + (t - e) * o);
|
|
16442
|
+
return "#" + [
|
|
16443
|
+
s(e, r),
|
|
16444
|
+
s(t, i),
|
|
16445
|
+
s(n, a)
|
|
16446
|
+
].map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
16458
16447
|
}
|
|
16459
16448
|
function Kv(e) {
|
|
16460
|
-
let t =
|
|
16449
|
+
let t = document.documentElement.style, n = e.mode === "dark", [r, i, a] = Uv(e.bg), [o, s, c] = Uv(e.accent);
|
|
16450
|
+
t.setProperty("--app-background", e.bg), t.setProperty("--app-foreground", e.fg), t.setProperty("--app-muted", e.muted), t.setProperty("--app-accent", e.accent), t.setProperty("--app-accent-hover", n ? Wv(o, s, c, 20) : Wv(o, s, c, -20)), t.setProperty("--app-accent-foreground", e.accentFg), t.setProperty("--app-border", n ? Wv(r, i, a, 30) : Gv(r, i, a, o, s, c, .12)), t.setProperty("--app-canvas-bg", n ? Wv(r, i, a, -8) : Wv(r, i, a, -6)), t.setProperty("--app-card-bg", n ? Wv(r, i, a, 16) : "#ffffff"), t.setProperty("--app-card-hover", n ? Wv(r, i, a, 24) : Wv(r, i, a, -4)), t.setProperty("--app-input-bg", n ? Wv(r, i, a, 24) : Gv(r, i, a, o, s, c, .07)), t.setProperty("--app-status-bg", n ? Wv(r, i, a, 6) : Wv(r, i, a, -2)), t.setProperty("--app-surface", n ? Wv(r, i, a, 10) : Gv(r, i, a, o, s, c, .04)), document.documentElement.classList.toggle("dark", n), document.documentElement.classList.toggle("light", !n);
|
|
16451
|
+
}
|
|
16452
|
+
function qv(e) {
|
|
16453
|
+
let t = Bv.value.find((t) => t.id === e);
|
|
16461
16454
|
if (t) {
|
|
16462
|
-
Lv.value = e,
|
|
16455
|
+
Lv.value = e, Kv(t);
|
|
16463
16456
|
try {
|
|
16464
16457
|
localStorage.setItem(Iv, e);
|
|
16465
16458
|
} catch {}
|
|
16466
16459
|
}
|
|
16467
16460
|
}
|
|
16468
|
-
function
|
|
16461
|
+
function Jv(e) {
|
|
16469
16462
|
Rv.value.some((t) => t.id === e.id) || Rv.value.push(e);
|
|
16470
16463
|
}
|
|
16471
|
-
function
|
|
16464
|
+
function Yv() {
|
|
16472
16465
|
try {
|
|
16473
16466
|
let e = localStorage.getItem(Iv);
|
|
16474
16467
|
e && (Lv.value = e);
|
|
16475
16468
|
} catch {}
|
|
16476
|
-
|
|
16469
|
+
Kv(Vv.value), typeof window < "u" && window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change", (e) => {
|
|
16470
|
+
zv.value = e.matches, Lv.value === "auto" && Kv(Vv.value);
|
|
16471
|
+
}), (async () => {
|
|
16472
|
+
try {
|
|
16473
|
+
let { getCurrentWindow: e } = await import("@tauri-apps/api/window"), t = e(), n = await t.theme();
|
|
16474
|
+
n && (zv.value = n === "dark", Lv.value === "auto" && Kv(Vv.value)), await t.onThemeChanged(({ payload: e }) => {
|
|
16475
|
+
zv.value = e === "dark", Lv.value === "auto" && Kv(Vv.value);
|
|
16476
|
+
});
|
|
16477
|
+
} catch {}
|
|
16478
|
+
})();
|
|
16477
16479
|
}
|
|
16478
|
-
function
|
|
16480
|
+
function Xv() {
|
|
16479
16481
|
return {
|
|
16480
|
-
themes:
|
|
16481
|
-
currentTheme:
|
|
16482
|
+
themes: Bv,
|
|
16483
|
+
currentTheme: Vv,
|
|
16482
16484
|
currentThemeId: Lv,
|
|
16483
|
-
isDark:
|
|
16484
|
-
setTheme:
|
|
16485
|
-
applyTheme:
|
|
16486
|
-
registerTheme:
|
|
16487
|
-
init:
|
|
16485
|
+
isDark: Hv,
|
|
16486
|
+
setTheme: qv,
|
|
16487
|
+
applyTheme: Kv,
|
|
16488
|
+
registerTheme: Jv,
|
|
16489
|
+
init: Yv
|
|
16488
16490
|
};
|
|
16489
16491
|
}
|
|
16490
16492
|
//#endregion
|
|
16491
16493
|
//#region src/composables/useClipboard.ts
|
|
16492
|
-
var
|
|
16493
|
-
async function
|
|
16494
|
+
var Zv = I(!1), Qv = I(""), $v;
|
|
16495
|
+
async function ey(e) {
|
|
16494
16496
|
try {
|
|
16495
|
-
return await navigator.clipboard.writeText(e),
|
|
16496
|
-
|
|
16497
|
+
return await navigator.clipboard.writeText(e), Qv.value = e, Zv.value = !0, clearTimeout($v), $v = setTimeout(() => {
|
|
16498
|
+
Zv.value = !1;
|
|
16497
16499
|
}, 2e3), !0;
|
|
16498
16500
|
} catch {
|
|
16499
16501
|
try {
|
|
16500
16502
|
let t = document.createElement("textarea");
|
|
16501
|
-
return t.value = e, t.style.position = "fixed", t.style.opacity = "0", document.body.appendChild(t), t.select(), document.execCommand("copy"), document.body.removeChild(t),
|
|
16502
|
-
|
|
16503
|
+
return t.value = e, t.style.position = "fixed", t.style.opacity = "0", document.body.appendChild(t), t.select(), document.execCommand("copy"), document.body.removeChild(t), Qv.value = e, Zv.value = !0, clearTimeout($v), $v = setTimeout(() => {
|
|
16504
|
+
Zv.value = !1;
|
|
16503
16505
|
}, 2e3), !0;
|
|
16504
16506
|
} catch {
|
|
16505
16507
|
return !1;
|
|
16506
16508
|
}
|
|
16507
16509
|
}
|
|
16508
16510
|
}
|
|
16509
|
-
function
|
|
16511
|
+
function ty() {
|
|
16510
16512
|
return {
|
|
16511
|
-
copied:
|
|
16512
|
-
text:
|
|
16513
|
-
copy:
|
|
16513
|
+
copied: Zv,
|
|
16514
|
+
text: Qv,
|
|
16515
|
+
copy: ey
|
|
16514
16516
|
};
|
|
16515
16517
|
}
|
|
16516
16518
|
//#endregion
|
|
16517
16519
|
//#region src/composables/useMediaQuery.ts
|
|
16518
|
-
function
|
|
16520
|
+
function ny(e) {
|
|
16519
16521
|
let t = I(!1), n = null;
|
|
16520
16522
|
function r() {
|
|
16521
16523
|
n && (t.value = n.matches);
|
|
@@ -16526,20 +16528,20 @@ function ty(e) {
|
|
|
16526
16528
|
n?.removeEventListener("change", r);
|
|
16527
16529
|
}), t;
|
|
16528
16530
|
}
|
|
16529
|
-
function
|
|
16531
|
+
function ry() {
|
|
16530
16532
|
return {
|
|
16531
|
-
sm:
|
|
16532
|
-
md:
|
|
16533
|
-
lg:
|
|
16534
|
-
xl:
|
|
16535
|
-
xxl:
|
|
16536
|
-
preferseDark:
|
|
16537
|
-
prefersReducedMotion:
|
|
16533
|
+
sm: ny("(min-width: 640px)"),
|
|
16534
|
+
md: ny("(min-width: 768px)"),
|
|
16535
|
+
lg: ny("(min-width: 1024px)"),
|
|
16536
|
+
xl: ny("(min-width: 1280px)"),
|
|
16537
|
+
xxl: ny("(min-width: 1536px)"),
|
|
16538
|
+
preferseDark: ny("(prefers-color-scheme: dark)"),
|
|
16539
|
+
prefersReducedMotion: ny("(prefers-reduced-motion: reduce)")
|
|
16538
16540
|
};
|
|
16539
16541
|
}
|
|
16540
16542
|
//#endregion
|
|
16541
16543
|
//#region src/composables/useFormValidation.ts
|
|
16542
|
-
function
|
|
16544
|
+
function iy(e, t = {}) {
|
|
16543
16545
|
let n = ie({ ...e }), r = ie({}), i = ie({}), a = I(!1), o = l(() => Object.keys(r).every((e) => !r[e])), s = l(() => {
|
|
16544
16546
|
for (let t of Object.keys(e)) if (n[t] !== e[t]) return !0;
|
|
16545
16547
|
return !1;
|
|
@@ -16594,10 +16596,10 @@ function ry(e, t = {}) {
|
|
|
16594
16596
|
handleSubmit: f
|
|
16595
16597
|
};
|
|
16596
16598
|
}
|
|
16597
|
-
var
|
|
16599
|
+
var ay = (e = "Required") => (t) => t != null && t !== "" || e, oy = (e, t) => (n) => !n || n.length >= e || (t ?? `At least ${e} characters`), sy = (e, t) => (n) => !n || n.length <= e || (t ?? `At most ${e} characters`), cy = (e = "Invalid email") => (t) => !t || /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t) || e, ly = (e, t = "Invalid format") => (n) => !n || e.test(n) || t;
|
|
16598
16600
|
//#endregion
|
|
16599
16601
|
//#region src/composables/useKeyboard.ts
|
|
16600
|
-
function
|
|
16602
|
+
function uy(e) {
|
|
16601
16603
|
function t(t) {
|
|
16602
16604
|
let n = navigator.platform.toUpperCase().includes("MAC");
|
|
16603
16605
|
for (let r of e) {
|
|
@@ -16610,8 +16612,8 @@ function ly(e) {
|
|
|
16610
16612
|
}
|
|
16611
16613
|
N(() => window.addEventListener("keydown", t)), P(() => window.removeEventListener("keydown", t));
|
|
16612
16614
|
}
|
|
16613
|
-
function
|
|
16614
|
-
|
|
16615
|
+
function dy(e, t, n = {}) {
|
|
16616
|
+
uy([{
|
|
16615
16617
|
key: e,
|
|
16616
16618
|
handler: t,
|
|
16617
16619
|
...n,
|
|
@@ -16620,7 +16622,7 @@ function uy(e, t, n = {}) {
|
|
|
16620
16622
|
}
|
|
16621
16623
|
//#endregion
|
|
16622
16624
|
//#region src/composables/useClickOutside.ts
|
|
16623
|
-
function
|
|
16625
|
+
function fy(e, t) {
|
|
16624
16626
|
function n(n) {
|
|
16625
16627
|
e.value && (e.value.contains(n.target) || t(n));
|
|
16626
16628
|
}
|
|
@@ -16628,7 +16630,7 @@ function dy(e, t) {
|
|
|
16628
16630
|
}
|
|
16629
16631
|
//#endregion
|
|
16630
16632
|
//#region src/composables/useLocalStorage.ts
|
|
16631
|
-
function
|
|
16633
|
+
function py(e, t) {
|
|
16632
16634
|
let n = I(t);
|
|
16633
16635
|
try {
|
|
16634
16636
|
let t = localStorage.getItem(e);
|
|
@@ -16646,7 +16648,7 @@ function fy(e, t) {
|
|
|
16646
16648
|
}
|
|
16647
16649
|
//#endregion
|
|
16648
16650
|
//#region src/composables/useAsync.ts
|
|
16649
|
-
function
|
|
16651
|
+
function my(e) {
|
|
16650
16652
|
let t = I(null), n = I(!1), r = I(null);
|
|
16651
16653
|
async function i(...i) {
|
|
16652
16654
|
n.value = !0, r.value = null;
|
|
@@ -16672,7 +16674,7 @@ function py(e) {
|
|
|
16672
16674
|
}
|
|
16673
16675
|
//#endregion
|
|
16674
16676
|
//#region src/composables/useDebounce.ts
|
|
16675
|
-
function
|
|
16677
|
+
function hy(e, t = 300) {
|
|
16676
16678
|
let n = I(e.value), r;
|
|
16677
16679
|
return W(e, (e) => {
|
|
16678
16680
|
clearTimeout(r), r = setTimeout(() => {
|
|
@@ -16680,7 +16682,7 @@ function my(e, t = 300) {
|
|
|
16680
16682
|
}, t);
|
|
16681
16683
|
}), n;
|
|
16682
16684
|
}
|
|
16683
|
-
function
|
|
16685
|
+
function gy(e, t = 300) {
|
|
16684
16686
|
let n = I(e.value), r = 0, i;
|
|
16685
16687
|
return W(e, (e) => {
|
|
16686
16688
|
let a = Date.now(), o = t - (a - r);
|
|
@@ -16689,7 +16691,7 @@ function hy(e, t = 300) {
|
|
|
16689
16691
|
}, o);
|
|
16690
16692
|
}), n;
|
|
16691
16693
|
}
|
|
16692
|
-
function
|
|
16694
|
+
function _y(e, t = 300) {
|
|
16693
16695
|
let n;
|
|
16694
16696
|
return ((...r) => {
|
|
16695
16697
|
clearTimeout(n), n = setTimeout(() => e(...r), t);
|
|
@@ -16697,14 +16699,14 @@ function gy(e, t = 300) {
|
|
|
16697
16699
|
}
|
|
16698
16700
|
//#endregion
|
|
16699
16701
|
//#region src/composables/useToggle.ts
|
|
16700
|
-
function
|
|
16702
|
+
function vy(e = !1) {
|
|
16701
16703
|
let t = I(e);
|
|
16702
16704
|
function n(e) {
|
|
16703
16705
|
t.value = e === void 0 ? !t.value : e;
|
|
16704
16706
|
}
|
|
16705
16707
|
return [t, n];
|
|
16706
16708
|
}
|
|
16707
|
-
function
|
|
16709
|
+
function yy(e = 0, t) {
|
|
16708
16710
|
let n = I(e);
|
|
16709
16711
|
function r(e = 1) {
|
|
16710
16712
|
let r = n.value + e;
|
|
@@ -16731,10 +16733,10 @@ function vy(e = 0, t) {
|
|
|
16731
16733
|
}
|
|
16732
16734
|
//#endregion
|
|
16733
16735
|
//#region src/composables/useSearch.ts
|
|
16734
|
-
function
|
|
16736
|
+
function by(e, t) {
|
|
16735
16737
|
return String(t.split(".").reduce((e, t) => e?.[t], e) ?? "");
|
|
16736
16738
|
}
|
|
16737
|
-
function
|
|
16739
|
+
function xy(e, t = {}) {
|
|
16738
16740
|
let n = I(""), r = I(""), i, a = t.debounce ?? 200;
|
|
16739
16741
|
W(n, (e) => {
|
|
16740
16742
|
clearTimeout(i), i = setTimeout(() => {
|
|
@@ -16743,7 +16745,7 @@ function by(e, t = {}) {
|
|
|
16743
16745
|
});
|
|
16744
16746
|
let o = l(() => {
|
|
16745
16747
|
let n = (t.caseSensitive ? r.value : r.value.toLowerCase()).trim();
|
|
16746
|
-
return n ? e.value.filter((e) => t.keys?.length ? t.keys.some((r) => (t.caseSensitive ?
|
|
16748
|
+
return n ? e.value.filter((e) => t.keys?.length ? t.keys.some((r) => (t.caseSensitive ? by(e, r) : by(e, r).toLowerCase()).includes(n)) : (t.caseSensitive ? JSON.stringify(e) : JSON.stringify(e).toLowerCase()).includes(n)) : e.value;
|
|
16747
16749
|
}), s = l(() => o.value.length === 0 && n.value.length > 0);
|
|
16748
16750
|
function c() {
|
|
16749
16751
|
n.value = "", r.value = "";
|
|
@@ -16757,7 +16759,7 @@ function by(e, t = {}) {
|
|
|
16757
16759
|
}
|
|
16758
16760
|
//#endregion
|
|
16759
16761
|
//#region src/composables/useIntersectionObserver.ts
|
|
16760
|
-
function
|
|
16762
|
+
function Sy(e, t) {
|
|
16761
16763
|
let n = I(!1), r = null;
|
|
16762
16764
|
return N(() => {
|
|
16763
16765
|
e.value && (r = new IntersectionObserver(([e]) => {
|
|
@@ -16769,7 +16771,7 @@ function xy(e, t) {
|
|
|
16769
16771
|
}
|
|
16770
16772
|
//#endregion
|
|
16771
16773
|
//#region src/index.ts
|
|
16772
|
-
var
|
|
16774
|
+
var Cy = { install(e) {
|
|
16773
16775
|
let t = /* @__PURE__ */ Object.assign({
|
|
16774
16776
|
"./components/Accordion.vue": gd,
|
|
16775
16777
|
"./components/Alert.vue": Sd,
|
|
@@ -16833,4 +16835,4 @@ var Sy = { install(e) {
|
|
|
16833
16835
|
}
|
|
16834
16836
|
} };
|
|
16835
16837
|
//#endregion
|
|
16836
|
-
export { _d as Accordion, Cd as Alert, Md as Autocomplete, Fd as Avatar, Rd as Badge, Gd as Breadcrumbs, Yd as Button, jf as Calendar, zf as Card, Uf as Checkbox, Yf as Chip, ap as ColorPicker, wp as ConfirmationModal,
|
|
16838
|
+
export { _d as Accordion, Cd as Alert, Md as Autocomplete, Fd as Avatar, Rd as Badge, Gd as Breadcrumbs, Yd as Button, jf as Calendar, zf as Card, Uf as Checkbox, Yf as Chip, ap as ColorPicker, wp as ConfirmationModal, Cy as ConstructUI, Cy as default, Dp as ContextMenu, Ap as DashboardPanel, zp as DatePicker, Gp as Drawer, Jp as Dropdown, $p as DropdownMenu, nm as DropdownMenuItem, cm as Empty, hm as FileInput, km as FormField, Mm as Group, Mv as HeaderLayout, Kf as Icon, Im as Input, Bm as Kbd, fp as Modal, Ym as MultiSelect, gh as Notification, gh as Toast, wh as Pagination, jh as PanelSection, Ph as Popover, Hh as Progress, qh as PropRow, Qh as RadioGroup, tg as ScrollArea, sg as Select, fg as SelectMenu, xg as Separator, Fg as Sidebar3D, bv as SidebarLayout, Rg as Skeleton, Wg as Slideover, qg as Slider, Xg as SplitPane, t_ as Switch, i_ as Tab, y_ as Table, S_ as Tabs, E_ as Textarea, N_ as Timeline, R_ as ToggleGroup, $_ as Toolbar3D, nv as Tooltip, ov as Tree, _y as debounce, cy as email, sy as maxLength, oy as minLength, nh as notify, ly as pattern, ay as required, my as useAsync, Pv as useAuth, ry as useBreakpoints, fy as useClickOutside, ty as useClipboard, yy as useCounter, hy as useDebounce, iy as useFormValidation, dy as useHotkey, Sy as useIntersectionObserver, uy as useKeyboard, py as useLocalStorage, ny as useMediaQuery, th as useNotification, xy as useSearch, Xv as useTheme, gy as useThrottle, vy as useToggle };
|