@smartos-lib/components 2.0.16 → 2.0.18
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.
@@ -1 +1 @@
|
|
1
|
-
var P,M,_;(function(f,g,R){"use strict";function C(e){return Object.prototype.toString.call(e)==="[object Object]"}function w(e,a){return Math.floor(Math.random()*(a-e+1)+e)}function O(){return String.fromCharCode(w(97,122))}function B(){return String.fromCharCode(w(65,90))}function U(e=12,a={}){const{lowercase:t=!0,uppercase:n=!1,number:r=!1}=a,o=[];let u;if(t&&o.push("l"),n&&o.push("u"),r&&o.push("n"),!(u=o.length))throw new Error("???");let c="";for(;e-- >0;){const p=u>1?w(0,u-1):0,b=o[p];b==="l"?c+=O():b==="u"?c+=B():b==="n"&&(c+=w(0,9))}return c}function z(){return U(1,{uppercase:!0})+U(17,{uppercase:!0,number:!0})}function A(e,a,t){t.set(a,e);for(const[n,r]of Object.entries(a)){let o=!1;if(C(r)||(o=Array.isArray(r))){let u;if(t.has(r))u=t.get(r);else{let c;u=o?Array.isArray(c=e[n])?c:[]:C(c=e[n])?c:{},A(u,r,t)}e[n]=u}else r!==void 0&&(e[n]=r)}}function L(e,...a){if(!C(e)&&!Array.isArray(e)||!a.length)return e;const t=new WeakMap;t.set(e,e);for(let n=0;n<a.length;){const r=a[n];if(C(r)||Array.isArray(r)){t.set(r,e),n++;continue}a.splice(n,1)}for(const n of a)A(e,n,t);return e}const I=typeof window<"u",i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{1:"#ffe4e6",2:"#fecdd3",3:"#fda4af",4:"#fb7185",5:"#f43f5e",6:"#e11d48",7:"#be123c",8:"#9f1239",9:"#881337",50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519",DEFAULT:"#fb7185"},pink:{1:"#fce7f3",2:"#fbcfe8",3:"#f9a8d4",4:"#f472b6",5:"#ec4899",6:"#db2777",7:"#be185d",8:"#9d174d",9:"#831843",50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724",DEFAULT:"#f472b6"},fuchsia:{1:"#fae8ff",2:"#f5d0fe",3:"#f0abfc",4:"#e879f9",5:"#d946ef",6:"#c026d3",7:"#a21caf",8:"#86198f",9:"#701a75",50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e",DEFAULT:"#e879f9"},purple:{1:"#f3e8ff",2:"#e9d5ff",3:"#d8b4fe",4:"#c084fc",5:"#a855f7",6:"#9333ea",7:"#7e22ce",8:"#6b21a8",9:"#581c87",50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764",DEFAULT:"#c084fc"},violet:{1:"#ede9fe",2:"#ddd6fe",3:"#c4b5fd",4:"#a78bfa",5:"#8b5cf6",6:"#7c3aed",7:"#6d28d9",8:"#5b21b6",9:"#4c1d95",50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065",DEFAULT:"#a78bfa"},indigo:{1:"#e0e7ff",2:"#c7d2fe",3:"#a5b4fc",4:"#818cf8",5:"#6366f1",6:"#4f46e5",7:"#4338ca",8:"#3730a3",9:"#312e81",50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b",DEFAULT:"#818cf8"},blue:{1:"#dbeafe",2:"#bfdbfe",3:"#93c5fd",4:"#60a5fa",5:"#3b82f6",6:"#2563eb",7:"#1d4ed8",8:"#1e40af",9:"#1e3a8a",50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554",DEFAULT:"#60a5fa"},sky:{1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e",50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49",DEFAULT:"#38bdf8"},cyan:{1:"#cffafe",2:"#a5f3fc",3:"#67e8f9",4:"#22d3ee",5:"#06b6d4",6:"#0891b2",7:"#0e7490",8:"#155e75",9:"#164e63",50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344",DEFAULT:"#22d3ee"},teal:{1:"#ccfbf1",2:"#99f6e4",3:"#5eead4",4:"#2dd4bf",5:"#14b8a6",6:"#0d9488",7:"#0f766e",8:"#115e59",9:"#134e4a",50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e",DEFAULT:"#2dd4bf"},emerald:{1:"#d1fae5",2:"#a7f3d0",3:"#6ee7b7",4:"#34d399",5:"#10b981",6:"#059669",7:"#047857",8:"#065f46",9:"#064e3b",50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22",DEFAULT:"#34d399"},green:{1:"#dcfce7",2:"#bbf7d0",3:"#86efac",4:"#4ade80",5:"#22c55e",6:"#16a34a",7:"#15803d",8:"#166534",9:"#14532d",50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16",DEFAULT:"#4ade80"},lime:{1:"#ecfccb",2:"#d9f99d",3:"#bef264",4:"#a3e635",5:"#84cc16",6:"#65a30d",7:"#4d7c0f",8:"#3f6212",9:"#365314",50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05",DEFAULT:"#a3e635"},yellow:{1:"#fef9c3",2:"#fef08a",3:"#fde047",4:"#facc15",5:"#eab308",6:"#ca8a04",7:"#a16207",8:"#854d0e",9:"#713f12",50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006",DEFAULT:"#facc15"},amber:{1:"#fef3c7",2:"#fde68a",3:"#fcd34d",4:"#fbbf24",5:"#f59e0b",6:"#d97706",7:"#b45309",8:"#92400e",9:"#78350f",50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03",DEFAULT:"#fbbf24"},orange:{1:"#ffedd5",2:"#fed7aa",3:"#fdba74",4:"#fb923c",5:"#f97316",6:"#ea580c",7:"#c2410c",8:"#9a3412",9:"#7c2d12",50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407",DEFAULT:"#fb923c"},red:{1:"#fee2e2",2:"#fecaca",3:"#fca5a5",4:"#f87171",5:"#ef4444",6:"#dc2626",7:"#b91c1c",8:"#991b1b",9:"#7f1d1d",50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a",DEFAULT:"#f87171"},gray:{1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827",50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712",DEFAULT:"#9ca3af"},slate:{1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a",50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617",DEFAULT:"#94a3b8"},zinc:{1:"#f4f4f5",2:"#e4e4e7",3:"#d4d4d8",4:"#a1a1aa",5:"#71717a",6:"#52525b",7:"#3f3f46",8:"#27272a",9:"#18181b",50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b",DEFAULT:"#a1a1aa"},neutral:{1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717",50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a",DEFAULT:"#a3a3a3"},stone:{1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917",50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09",DEFAULT:"#a8a29e"},light:{1:"#fcfcfc",2:"#fafafa",3:"#f8f9fa",4:"#f6f6f6",5:"#f2f2f2",6:"#f1f3f5",7:"#e9ecef",8:"#dee2e6",9:"#dde1e3",50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf",DEFAULT:"#f6f6f6"},dark:{1:"#3c3c3c",2:"#323232",3:"#2d2d2d",4:"#222222",5:"#1f1f1f",6:"#1c1c1e",7:"#1b1b1b",8:"#181818",9:"#0f0f0f",50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808",DEFAULT:"#222222"},lightblue:{1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e",50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49",DEFAULT:"#38bdf8"},lightBlue:{1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e",50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49",DEFAULT:"#38bdf8"},warmgray:{1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917",50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09",DEFAULT:"#a8a29e"},warmGray:{1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917",50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09",DEFAULT:"#a8a29e"},truegray:{1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717",50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a",DEFAULT:"#a3a3a3"},trueGray:{1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717",50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a",DEFAULT:"#a3a3a3"},coolgray:{1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827",50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712",DEFAULT:"#9ca3af"},coolGray:{1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827",50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712",DEFAULT:"#9ca3af"},bluegray:{1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a",50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617",DEFAULT:"#94a3b8"},blueGray:{1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a",50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617",DEFAULT:"#94a3b8"},primary:"#2080f0","primary-hover":"#4098fc","primary-active":"#1060c9",info:"#909399","info-hover":"#a6a9ad","info-active":"#82848a",success:"#18a058","success-hover":"#36ad6a","success-active":"#0c7a43",warning:"#f0a020","warning-hover":"#fcb040","warning-active":"#c97c10",error:"#d03050","error-hover":"#de576d","error-active":"#ab1f3f"},x={sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif',mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},F={common:{fontFamily:x.sans,fontFamilyMono:x.mono,primaryColor:i.primary,primaryColorHover:i["primary-hover"],primaryColorPressed:i["primary-active"],primaryColorSuppl:i.primary,infoColor:i.info,infoColorHover:i["info-hover"],infoColorPressed:i["info-active"],infoColorSuppl:i.info,successColor:i.success,successColorHover:i["success-hover"],successColorPressed:i["success-active"],successColorSuppl:i.success,warningColor:i.warning,warningColorHover:i["warning-hover"],warningColorPressed:i["warning-active"],warningColorSuppl:i.warning,errorColor:i.error,errorColorHover:i["error-hover"],errorColorPressed:i["error-active"],errorColorSuppl:i.error}};L({},F,{}),L({},F,{Button:{textColorPrimary:"#FFF",textColorHoverPrimary:"#FFF",textColorPressedPrimary:"#FFF",textColorFocusPrimary:"#FFF",textColorDisabledPrimary:"#FFF"}});const V="2.0.16";function G(e,a){let t,n,r;const o=f.ref(!0),u=()=>{o.value=!0,r()};f.watch(e,u,{flush:"sync"});const c=typeof a=="function"?a:a.get,p=typeof a=="function"?void 0:a.set,b=f.customRef((d,s)=>(n=d,r=s,{get(){return o.value&&(t=c(),o.value=!1),n(),t},set(l){p==null||p(l)}}));return Object.isExtensible(b)&&(b.trigger=u),b}function q(e){return f.getCurrentScope()?(f.onScopeDispose(e),!0):!1}function E(e){return typeof e=="function"?e():f.unref(e)}function H(e){if(!f.isRef(e))return f.reactive(e);const a=new Proxy({},{get(t,n,r){return f.unref(Reflect.get(e.value,n,r))},set(t,n,r){return f.isRef(e.value[n])&&!f.isRef(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return f.reactive(a)}function j(e){return H(f.computed(e))}function W(e,...a){const t=a.flat(),n=t[0];return j(()=>Object.fromEntries(typeof n=="function"?Object.entries(f.toRefs(e)).filter(([r,o])=>!n(E(o),r)):Object.entries(f.toRefs(e)).filter(r=>!t.includes(r[0]))))}const $=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const K=e=>e!=null;function J(e,a,t){return f.watch(e,a,{...t,deep:!0})}function Q(e){var a;const t=E(e);return(a=t==null?void 0:t.$el)!=null?a:t}const X=$?window:void 0;function Y(){const e=f.ref(!1),a=f.getCurrentInstance();return a&&f.onMounted(()=>{e.value=!0},a),e}function Z(e){const a=Y();return f.computed(()=>(a.value,!!e()))}function ee(e,a,t={}){const{window:n=X,...r}=t;let o;const u=Z(()=>n&&"MutationObserver"in n),c=()=>{o&&(o.disconnect(),o=void 0)},p=f.computed(()=>{const l=E(e),y=(Array.isArray(l)?l:[l]).map(Q).filter(K);return new Set(y)}),b=f.watch(()=>p.value,l=>{c(),u.value&&l.size&&(o=new MutationObserver(a),l.forEach(y=>o.observe(y,r)))},{immediate:!0,flush:"post"}),d=()=>o==null?void 0:o.takeRecords(),s=()=>{c(),b()};return q(s),{isSupported:u,stop:s,takeRecords:d}}function T(e){const a=f.getCurrentInstance(),t=G(()=>null,()=>a.proxy.$el);return f.onUpdated(t.trigger),f.onMounted(t.trigger),t}function fe(e=z()){const a=T(),t=`style[cssr-id^="${e}-"]`;return f.onMounted(()=>{function n(){const r=a.value.parentNode;r.querySelectorAll(t).forEach(o=>{r.removeChild(o)}),Array.from(document.querySelectorAll(t)).forEach(o=>{r.appendChild(o.cloneNode()).textContent=o.textContent})}ee(document.head,n,{childList:!0}),n()}),e}function ae(){const e=T();return f.onMounted(()=>{var r;const a=e.value.parentNode,{tailwindResetStyle:t,elementPlusStyle:n}=((r=globalThis.SmartCore)==null?void 0:r[V])??{};if(t&&(a.appendChild(document.createElement("style")).textContent=t),n){const o=document.createElement("style");o.setAttribute("namespace","smart"),a.appendChild(o).textContent=n,document.querySelector('style[namespace="smart"]')||(document.head.appendChild(o.cloneNode()).textContent=n)}}),{classPrefix:fe()}}const te=((e,a)=>{const t=e.__vccOpts||e;for(const[n,r]of a)t[n]=r;return t})(f.defineComponent({__name:"index",props:f.mergeModels({beforeUpload:{type:Function},accept:{type:null},defaultFileList:{type:null},defaultUpload:{type:null},disabled:{type:null},directory:{type:null},directoryDnd:{type:null},fileListClass:{type:null},fileListStyle:{type:null},imageGroupProps:{type:null},inputProps:{type:null},listType:{type:null},max:{type:null},multiple:{type:null},renderIcon:{type:null},shouldUseThumbnailUrl:{type:null},showCancelButton:{type:null},showDownloadButton:{type:null},showRemoveButton:{type:null},showRetryButton:{type:null},showFileList:{type:null},showPreviewButton:{type:null},showTrigger:{type:null},triggerClass:{type:null},triggerStyle:{type:null},onError:{type:null},onFinish:{type:null}},{fileList:{default:()=>[]},fileListModifiers:{}}),emits:["update:fileList"],setup(e,{expose:a}){const t=e,n=f.useModel(e,"fileList"),r=f.ref(),{classPrefix:o}=ae(),u=W(t,["beforeUpload"]),c=f.ref(n.value.map(({fileName:d})=>({id:d,name:d,url:d,status:"finished"})));function p({file:d,onFinish:s,onError:l,onProgress:y}){const S=d.file,oe=t.beforeUpload??(h=>h),N=new FormData;N.set("file",S);const ce=oe({method:"post",url:"/admin/sys-file/upload",data:N,headers:{"Content-Type":"multipart/form-data"},onUploadProgress({loaded:h,total:m}){y({percent:m?Math.ceil(h/m*100):0})}});R.getConfigProvider("request")(ce).then(h=>{const m=h.data.data;d.url=m.url,d.status="finished",t.defaultUpload||c.value.splice(c.value.findIndex(({id:v})=>v===d.id),1,d),n.value.find(({fileName:v})=>v===m.url)||n.value.push({fileName:m.url,originalFileName:S.name}),s()}).catch(h=>{d.status="error",t.defaultUpload||c.value.splice(c.value.findIndex(({id:m})=>m===d.id),1,d),l(),console.error(h)})}function b(){setTimeout(()=>{for(let d=0;d<n.value.length;){const s=n.value[d].fileName;c.value.some(l=>l.url===s)?d++:n.value.splice(d,1)}},10)}return J(n,d=>{d.forEach(({fileName:s})=>{c.value.some(l=>l.url===s)||c.value.push({id:s,name:s,url:s,status:"finished"})});for(let s=0;s<c.value.length;){const l=c.value[s];l.status==="finished"&&l.url&&!d.some(({fileName:y})=>y===l.url)?c.value.splice(s,1):s++}}),a({uploadRef:r,fileList:c}),(d,s)=>(f.openBlock(),f.createBlock(f.unref(g.NConfigProvider),{"cls-prefix":f.unref(o),"theme-overrides":f.unref(F),locale:f.unref(g.zhCN),abstract:""},{default:f.withCtx(()=>[f.createVNode(f.unref(g.NUpload),f.mergeProps({ref_key:"uploadRef",ref:r},f.unref(u),{"file-list":f.unref(c),"onUpdate:fileList":s[0]||(s[0]=l=>f.isRef(c)?c.value=l:null),"custom-request":p,onRemove:b}),{default:f.withCtx(()=>[f.renderSlot(d.$slots,"default",{},()=>[[void 0,"image"].includes(d.listType)?(f.openBlock(),f.createBlock(f.unref(g.NButton),{key:0},{default:f.withCtx(()=>[f.createTextVNode("选择文件")]),_:1})):f.createCommentVNode("v-if",!0)],!0)]),_:3},16,["file-list"])]),_:3},8,["cls-prefix","theme-overrides","locale"]))}}),[["styles",["[data-v-da18f512],[data-v-da18f512]:before,[data-v-da18f512]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-da18f512]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-da18f512"]]),ne="smart-upload";function re(e,a){var t;I&&!customElements.get(e)&&customElements.define(e,(t=a.prototype)!=null&&t.connectedCallback?a:f.defineCustomElement(a))}function k(e,a){return e._instance.exposed[a]}const D=f.defineCustomElement(te);Object.assign(D.prototype,{getUploadRef(){return k(this,"uploadRef").value},getFileList(){return k(this,"fileList").value},submit(){return this.getUploadRef().submit()},clear(){return this.getUploadRef().clear()}}),re(ne,D)})((P=SmartCore["2.0.16"])==null?void 0:P.Vue,(M=SmartCore["2.0.16"])==null?void 0:M.NaiveUI,(_=SmartCore["2.0.16"])==null?void 0:_.SmartCore);
|
1
|
+
var P,M,_;(function(f,g,R){"use strict";function C(e){return Object.prototype.toString.call(e)==="[object Object]"}function w(e,a){return Math.floor(Math.random()*(a-e+1)+e)}function O(){return String.fromCharCode(w(97,122))}function B(){return String.fromCharCode(w(65,90))}function U(e=12,a={}){const{lowercase:t=!0,uppercase:n=!1,number:r=!1}=a,o=[];let u;if(t&&o.push("l"),n&&o.push("u"),r&&o.push("n"),!(u=o.length))throw new Error("???");let c="";for(;e-- >0;){const p=u>1?w(0,u-1):0,b=o[p];b==="l"?c+=O():b==="u"?c+=B():b==="n"&&(c+=w(0,9))}return c}function z(){return U(1,{uppercase:!0})+U(17,{uppercase:!0,number:!0})}function A(e,a,t){t.set(a,e);for(const[n,r]of Object.entries(a)){let o=!1;if(C(r)||(o=Array.isArray(r))){let u;if(t.has(r))u=t.get(r);else{let c;u=o?Array.isArray(c=e[n])?c:[]:C(c=e[n])?c:{},A(u,r,t)}e[n]=u}else r!==void 0&&(e[n]=r)}}function L(e,...a){if(!C(e)&&!Array.isArray(e)||!a.length)return e;const t=new WeakMap;t.set(e,e);for(let n=0;n<a.length;){const r=a[n];if(C(r)||Array.isArray(r)){t.set(r,e),n++;continue}a.splice(n,1)}for(const n of a)A(e,n,t);return e}const I=typeof window<"u",i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{1:"#ffe4e6",2:"#fecdd3",3:"#fda4af",4:"#fb7185",5:"#f43f5e",6:"#e11d48",7:"#be123c",8:"#9f1239",9:"#881337",50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519",DEFAULT:"#fb7185"},pink:{1:"#fce7f3",2:"#fbcfe8",3:"#f9a8d4",4:"#f472b6",5:"#ec4899",6:"#db2777",7:"#be185d",8:"#9d174d",9:"#831843",50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724",DEFAULT:"#f472b6"},fuchsia:{1:"#fae8ff",2:"#f5d0fe",3:"#f0abfc",4:"#e879f9",5:"#d946ef",6:"#c026d3",7:"#a21caf",8:"#86198f",9:"#701a75",50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e",DEFAULT:"#e879f9"},purple:{1:"#f3e8ff",2:"#e9d5ff",3:"#d8b4fe",4:"#c084fc",5:"#a855f7",6:"#9333ea",7:"#7e22ce",8:"#6b21a8",9:"#581c87",50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764",DEFAULT:"#c084fc"},violet:{1:"#ede9fe",2:"#ddd6fe",3:"#c4b5fd",4:"#a78bfa",5:"#8b5cf6",6:"#7c3aed",7:"#6d28d9",8:"#5b21b6",9:"#4c1d95",50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065",DEFAULT:"#a78bfa"},indigo:{1:"#e0e7ff",2:"#c7d2fe",3:"#a5b4fc",4:"#818cf8",5:"#6366f1",6:"#4f46e5",7:"#4338ca",8:"#3730a3",9:"#312e81",50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b",DEFAULT:"#818cf8"},blue:{1:"#dbeafe",2:"#bfdbfe",3:"#93c5fd",4:"#60a5fa",5:"#3b82f6",6:"#2563eb",7:"#1d4ed8",8:"#1e40af",9:"#1e3a8a",50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554",DEFAULT:"#60a5fa"},sky:{1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e",50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49",DEFAULT:"#38bdf8"},cyan:{1:"#cffafe",2:"#a5f3fc",3:"#67e8f9",4:"#22d3ee",5:"#06b6d4",6:"#0891b2",7:"#0e7490",8:"#155e75",9:"#164e63",50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344",DEFAULT:"#22d3ee"},teal:{1:"#ccfbf1",2:"#99f6e4",3:"#5eead4",4:"#2dd4bf",5:"#14b8a6",6:"#0d9488",7:"#0f766e",8:"#115e59",9:"#134e4a",50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e",DEFAULT:"#2dd4bf"},emerald:{1:"#d1fae5",2:"#a7f3d0",3:"#6ee7b7",4:"#34d399",5:"#10b981",6:"#059669",7:"#047857",8:"#065f46",9:"#064e3b",50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22",DEFAULT:"#34d399"},green:{1:"#dcfce7",2:"#bbf7d0",3:"#86efac",4:"#4ade80",5:"#22c55e",6:"#16a34a",7:"#15803d",8:"#166534",9:"#14532d",50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16",DEFAULT:"#4ade80"},lime:{1:"#ecfccb",2:"#d9f99d",3:"#bef264",4:"#a3e635",5:"#84cc16",6:"#65a30d",7:"#4d7c0f",8:"#3f6212",9:"#365314",50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05",DEFAULT:"#a3e635"},yellow:{1:"#fef9c3",2:"#fef08a",3:"#fde047",4:"#facc15",5:"#eab308",6:"#ca8a04",7:"#a16207",8:"#854d0e",9:"#713f12",50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006",DEFAULT:"#facc15"},amber:{1:"#fef3c7",2:"#fde68a",3:"#fcd34d",4:"#fbbf24",5:"#f59e0b",6:"#d97706",7:"#b45309",8:"#92400e",9:"#78350f",50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03",DEFAULT:"#fbbf24"},orange:{1:"#ffedd5",2:"#fed7aa",3:"#fdba74",4:"#fb923c",5:"#f97316",6:"#ea580c",7:"#c2410c",8:"#9a3412",9:"#7c2d12",50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407",DEFAULT:"#fb923c"},red:{1:"#fee2e2",2:"#fecaca",3:"#fca5a5",4:"#f87171",5:"#ef4444",6:"#dc2626",7:"#b91c1c",8:"#991b1b",9:"#7f1d1d",50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a",DEFAULT:"#f87171"},gray:{1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827",50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712",DEFAULT:"#9ca3af"},slate:{1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a",50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617",DEFAULT:"#94a3b8"},zinc:{1:"#f4f4f5",2:"#e4e4e7",3:"#d4d4d8",4:"#a1a1aa",5:"#71717a",6:"#52525b",7:"#3f3f46",8:"#27272a",9:"#18181b",50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b",DEFAULT:"#a1a1aa"},neutral:{1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717",50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a",DEFAULT:"#a3a3a3"},stone:{1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917",50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09",DEFAULT:"#a8a29e"},light:{1:"#fcfcfc",2:"#fafafa",3:"#f8f9fa",4:"#f6f6f6",5:"#f2f2f2",6:"#f1f3f5",7:"#e9ecef",8:"#dee2e6",9:"#dde1e3",50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf",DEFAULT:"#f6f6f6"},dark:{1:"#3c3c3c",2:"#323232",3:"#2d2d2d",4:"#222222",5:"#1f1f1f",6:"#1c1c1e",7:"#1b1b1b",8:"#181818",9:"#0f0f0f",50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808",DEFAULT:"#222222"},lightblue:{1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e",50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49",DEFAULT:"#38bdf8"},lightBlue:{1:"#e0f2fe",2:"#bae6fd",3:"#7dd3fc",4:"#38bdf8",5:"#0ea5e9",6:"#0284c7",7:"#0369a1",8:"#075985",9:"#0c4a6e",50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49",DEFAULT:"#38bdf8"},warmgray:{1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917",50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09",DEFAULT:"#a8a29e"},warmGray:{1:"#f5f5f4",2:"#e7e5e4",3:"#d6d3d1",4:"#a8a29e",5:"#78716c",6:"#57534e",7:"#44403c",8:"#292524",9:"#1c1917",50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09",DEFAULT:"#a8a29e"},truegray:{1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717",50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a",DEFAULT:"#a3a3a3"},trueGray:{1:"#f5f5f5",2:"#e5e5e5",3:"#d4d4d4",4:"#a3a3a3",5:"#737373",6:"#525252",7:"#404040",8:"#262626",9:"#171717",50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a",DEFAULT:"#a3a3a3"},coolgray:{1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827",50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712",DEFAULT:"#9ca3af"},coolGray:{1:"#f3f4f6",2:"#e5e7eb",3:"#d1d5db",4:"#9ca3af",5:"#6b7280",6:"#4b5563",7:"#374151",8:"#1f2937",9:"#111827",50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712",DEFAULT:"#9ca3af"},bluegray:{1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a",50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617",DEFAULT:"#94a3b8"},blueGray:{1:"#f1f5f9",2:"#e2e8f0",3:"#cbd5e1",4:"#94a3b8",5:"#64748b",6:"#475569",7:"#334155",8:"#1e293b",9:"#0f172a",50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617",DEFAULT:"#94a3b8"},primary:"#2080f0","primary-hover":"#4098fc","primary-active":"#1060c9",info:"#909399","info-hover":"#a6a9ad","info-active":"#82848a",success:"#18a058","success-hover":"#36ad6a","success-active":"#0c7a43",warning:"#f0a020","warning-hover":"#fcb040","warning-active":"#c97c10",error:"#d03050","error-hover":"#de576d","error-active":"#ab1f3f"},x={sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"',serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif',mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},F={common:{fontFamily:x.sans,fontFamilyMono:x.mono,primaryColor:i.primary,primaryColorHover:i["primary-hover"],primaryColorPressed:i["primary-active"],primaryColorSuppl:i.primary,infoColor:i.info,infoColorHover:i["info-hover"],infoColorPressed:i["info-active"],infoColorSuppl:i.info,successColor:i.success,successColorHover:i["success-hover"],successColorPressed:i["success-active"],successColorSuppl:i.success,warningColor:i.warning,warningColorHover:i["warning-hover"],warningColorPressed:i["warning-active"],warningColorSuppl:i.warning,errorColor:i.error,errorColorHover:i["error-hover"],errorColorPressed:i["error-active"],errorColorSuppl:i.error}};L({},F,{}),L({},F,{Button:{textColorPrimary:"#FFF",textColorHoverPrimary:"#FFF",textColorPressedPrimary:"#FFF",textColorFocusPrimary:"#FFF",textColorDisabledPrimary:"#FFF"}});const V="2.0.18";function G(e,a){let t,n,r;const o=f.ref(!0),u=()=>{o.value=!0,r()};f.watch(e,u,{flush:"sync"});const c=typeof a=="function"?a:a.get,p=typeof a=="function"?void 0:a.set,b=f.customRef((d,s)=>(n=d,r=s,{get(){return o.value&&(t=c(),o.value=!1),n(),t},set(l){p==null||p(l)}}));return Object.isExtensible(b)&&(b.trigger=u),b}function q(e){return f.getCurrentScope()?(f.onScopeDispose(e),!0):!1}function E(e){return typeof e=="function"?e():f.unref(e)}function H(e){if(!f.isRef(e))return f.reactive(e);const a=new Proxy({},{get(t,n,r){return f.unref(Reflect.get(e.value,n,r))},set(t,n,r){return f.isRef(e.value[n])&&!f.isRef(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return f.reactive(a)}function j(e){return H(f.computed(e))}function W(e,...a){const t=a.flat(),n=t[0];return j(()=>Object.fromEntries(typeof n=="function"?Object.entries(f.toRefs(e)).filter(([r,o])=>!n(E(o),r)):Object.entries(f.toRefs(e)).filter(r=>!t.includes(r[0]))))}const $=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const K=e=>e!=null;function J(e,a,t){return f.watch(e,a,{...t,deep:!0})}function Q(e){var a;const t=E(e);return(a=t==null?void 0:t.$el)!=null?a:t}const X=$?window:void 0;function Y(){const e=f.ref(!1),a=f.getCurrentInstance();return a&&f.onMounted(()=>{e.value=!0},a),e}function Z(e){const a=Y();return f.computed(()=>(a.value,!!e()))}function ee(e,a,t={}){const{window:n=X,...r}=t;let o;const u=Z(()=>n&&"MutationObserver"in n),c=()=>{o&&(o.disconnect(),o=void 0)},p=f.computed(()=>{const l=E(e),y=(Array.isArray(l)?l:[l]).map(Q).filter(K);return new Set(y)}),b=f.watch(()=>p.value,l=>{c(),u.value&&l.size&&(o=new MutationObserver(a),l.forEach(y=>o.observe(y,r)))},{immediate:!0,flush:"post"}),d=()=>o==null?void 0:o.takeRecords(),s=()=>{c(),b()};return q(s),{isSupported:u,stop:s,takeRecords:d}}function T(e){const a=f.getCurrentInstance(),t=G(()=>null,()=>a.proxy.$el);return f.onUpdated(t.trigger),f.onMounted(t.trigger),t}function fe(e=z()){const a=T(),t=`style[cssr-id^="${e}-"]`;return f.onMounted(()=>{function n(){const r=a.value.parentNode;r.querySelectorAll(t).forEach(o=>{r.removeChild(o)}),Array.from(document.querySelectorAll(t)).forEach(o=>{r.appendChild(o.cloneNode()).textContent=o.textContent})}ee(document.head,n,{childList:!0}),n()}),e}function ae(){const e=T();return f.onMounted(()=>{var r;const a=e.value.parentNode,{tailwindResetStyle:t,elementPlusStyle:n}=((r=globalThis.SmartCore)==null?void 0:r[V])??{};if(t&&(a.appendChild(document.createElement("style")).textContent=t),n){const o=document.createElement("style");o.setAttribute("namespace","smart"),a.appendChild(o).textContent=n,document.querySelector('style[namespace="smart"]')||(document.head.appendChild(o.cloneNode()).textContent=n)}}),{classPrefix:fe()}}const te=((e,a)=>{const t=e.__vccOpts||e;for(const[n,r]of a)t[n]=r;return t})(f.defineComponent({__name:"index",props:f.mergeModels({beforeUpload:{type:Function},accept:{type:null},defaultFileList:{type:null},defaultUpload:{type:null},disabled:{type:null},directory:{type:null},directoryDnd:{type:null},fileListClass:{type:null},fileListStyle:{type:null},imageGroupProps:{type:null},inputProps:{type:null},listType:{type:null},max:{type:null},multiple:{type:null},renderIcon:{type:null},shouldUseThumbnailUrl:{type:null},showCancelButton:{type:null},showDownloadButton:{type:null},showRemoveButton:{type:null},showRetryButton:{type:null},showFileList:{type:null},showPreviewButton:{type:null},showTrigger:{type:null},triggerClass:{type:null},triggerStyle:{type:null},onError:{type:null},onFinish:{type:null}},{fileList:{default:()=>[]},fileListModifiers:{}}),emits:["update:fileList"],setup(e,{expose:a}){const t=e,n=f.useModel(e,"fileList"),r=f.ref(),{classPrefix:o}=ae(),u=W(t,["beforeUpload"]),c=f.ref(n.value.map(({fileName:d})=>({id:d,name:d,url:d,status:"finished"})));function p({file:d,onFinish:s,onError:l,onProgress:y}){const S=d.file,oe=t.beforeUpload??(h=>h),N=new FormData;N.set("file",S);const ce=oe({method:"post",url:"/admin/sys-file/upload",data:N,headers:{"Content-Type":"multipart/form-data"},onUploadProgress({loaded:h,total:m}){y({percent:m?Math.ceil(h/m*100):0})}});R.getConfigProvider("request")(ce).then(h=>{const m=h.data.data;d.url=m.url,d.status="finished",t.defaultUpload||c.value.splice(c.value.findIndex(({id:v})=>v===d.id),1,d),n.value.find(({fileName:v})=>v===m.url)||n.value.push({fileName:m.url,originalFileName:S.name}),s()}).catch(h=>{d.status="error",t.defaultUpload||c.value.splice(c.value.findIndex(({id:m})=>m===d.id),1,d),l(),console.error(h)})}function b(){setTimeout(()=>{for(let d=0;d<n.value.length;){const s=n.value[d].fileName;c.value.some(l=>l.url===s)?d++:n.value.splice(d,1)}},10)}return J(n,d=>{d.forEach(({fileName:s})=>{c.value.some(l=>l.url===s)||c.value.push({id:s,name:s,url:s,status:"finished"})});for(let s=0;s<c.value.length;){const l=c.value[s];l.status==="finished"&&l.url&&!d.some(({fileName:y})=>y===l.url)?c.value.splice(s,1):s++}}),a({uploadRef:r,fileList:c}),(d,s)=>(f.openBlock(),f.createBlock(f.unref(g.NConfigProvider),{"cls-prefix":f.unref(o),"theme-overrides":f.unref(F),locale:f.unref(g.zhCN),abstract:""},{default:f.withCtx(()=>[f.createVNode(f.unref(g.NUpload),f.mergeProps({ref_key:"uploadRef",ref:r},f.unref(u),{"file-list":f.unref(c),"onUpdate:fileList":s[0]||(s[0]=l=>f.isRef(c)?c.value=l:null),"custom-request":p,onRemove:b}),{default:f.withCtx(()=>[f.renderSlot(d.$slots,"default",{},()=>[[void 0,"image"].includes(d.listType)?(f.openBlock(),f.createBlock(f.unref(g.NButton),{key:0},{default:f.withCtx(()=>[f.createTextVNode("选择文件")]),_:1})):f.createCommentVNode("v-if",!0)],!0)]),_:3},16,["file-list"])]),_:3},8,["cls-prefix","theme-overrides","locale"]))}}),[["styles",["[data-v-da18f512],[data-v-da18f512]:before,[data-v-da18f512]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-da18f512]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }"]],["__scopeId","data-v-da18f512"]]),ne="smart-upload";function re(e,a){var t;I&&!customElements.get(e)&&customElements.define(e,(t=a.prototype)!=null&&t.connectedCallback?a:f.defineCustomElement(a))}function k(e,a){return e._instance.exposed[a]}const D=f.defineCustomElement(te);Object.assign(D.prototype,{getUploadRef(){return k(this,"uploadRef").value},getFileList(){return k(this,"fileList").value},submit(){return this.getUploadRef().submit()},clear(){return this.getUploadRef().clear()}}),re(ne,D)})((P=SmartCore["2.0.18"])==null?void 0:P.Vue,(M=SmartCore["2.0.18"])==null?void 0:M.NaiveUI,(_=SmartCore["2.0.18"])==null?void 0:_.SmartCore);
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smartos-lib/components",
|
3
3
|
"type": "module",
|
4
|
-
"version": "2.0.
|
4
|
+
"version": "2.0.18",
|
5
5
|
"author": "Wei Zhang <https://github.com/Zhang-Wei-666>",
|
6
6
|
"devDependencies": {
|
7
|
-
"@rollup/pluginutils": "^5.1.
|
7
|
+
"@rollup/pluginutils": "^5.1.2",
|
8
8
|
"@types/prompts": "^2.4.9",
|
9
|
-
"pinia": "^2.
|
9
|
+
"pinia": "^2.2.3",
|
10
10
|
"prompts": "^2.4.2",
|
11
|
-
"vite-plugin-inspect": "^0.8.
|
11
|
+
"vite-plugin-inspect": "^0.8.7",
|
12
12
|
"vite-plugin-pages": "^0.32.3",
|
13
13
|
"vite-plugin-vue-layouts": "^0.11.0",
|
14
|
-
"vue-router": "^4.4.
|
14
|
+
"vue-router": "^4.4.3"
|
15
15
|
},
|
16
16
|
"scripts": {
|
17
17
|
"dev": "pnpm install && vite --host",
|
@@ -1213,6 +1213,15 @@ export const easing = {
|
|
1213
1213
|
out: "cubic-bezier(0, 0, 0.2, 1)",
|
1214
1214
|
"in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
|
1215
1215
|
};
|
1216
|
+
export const transitionProperty = {
|
1217
|
+
none: "none",
|
1218
|
+
all: "all",
|
1219
|
+
colors: "color,background-color,border-color,text-decoration-color,fill,stroke",
|
1220
|
+
opacity: "opacity",
|
1221
|
+
shadow: "box-shadow",
|
1222
|
+
transform: "transform",
|
1223
|
+
DEFAULT: "color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter"
|
1224
|
+
};
|
1216
1225
|
export const lineWidth = {
|
1217
1226
|
DEFAULT: "1px",
|
1218
1227
|
none: "0"
|
@@ -1586,6 +1595,7 @@ export default {
|
|
1586
1595
|
blur,
|
1587
1596
|
dropShadow,
|
1588
1597
|
easing,
|
1598
|
+
transitionProperty,
|
1589
1599
|
lineWidth,
|
1590
1600
|
spacing,
|
1591
1601
|
duration,
|
package/types/auto-imports.d.ts
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
// @ts-nocheck
|
4
4
|
// noinspection JSUnusedGlobalSymbols
|
5
5
|
// Generated by unplugin-auto-import
|
6
|
+
// biome-ignore lint: disable
|
6
7
|
export {}
|
7
8
|
declare global {
|
8
9
|
const EffectScope: typeof import('vue')['EffectScope']
|
@@ -72,6 +73,7 @@ declare global {
|
|
72
73
|
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
|
73
74
|
const onUnmounted: typeof import('vue')['onUnmounted']
|
74
75
|
const onUpdated: typeof import('vue')['onUpdated']
|
76
|
+
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
|
75
77
|
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
|
76
78
|
const provide: typeof import('vue')['provide']
|
77
79
|
const provideLocal: typeof import('@vueuse/core')['provideLocal']
|
@@ -189,6 +191,7 @@ declare global {
|
|
189
191
|
const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
|
190
192
|
const useGamepad: typeof import('@vueuse/core')['useGamepad']
|
191
193
|
const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
|
194
|
+
const useId: typeof import('vue')['useId']
|
192
195
|
const useIdle: typeof import('@vueuse/core')['useIdle']
|
193
196
|
const useImage: typeof import('@vueuse/core')['useImage']
|
194
197
|
const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
|
@@ -208,6 +211,7 @@ declare global {
|
|
208
211
|
const useMemoize: typeof import('@vueuse/core')['useMemoize']
|
209
212
|
const useMemory: typeof import('@vueuse/core')['useMemory']
|
210
213
|
const useMin: typeof import('@vueuse/math')['useMin']
|
214
|
+
const useModel: typeof import('vue')['useModel']
|
211
215
|
const useMounted: typeof import('@vueuse/core')['useMounted']
|
212
216
|
const useMouse: typeof import('@vueuse/core')['useMouse']
|
213
217
|
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
|
@@ -264,6 +268,7 @@ declare global {
|
|
264
268
|
const useSum: typeof import('@vueuse/math')['useSum']
|
265
269
|
const useSupported: typeof import('@vueuse/core')['useSupported']
|
266
270
|
const useSwipe: typeof import('@vueuse/core')['useSwipe']
|
271
|
+
const useTemplateRef: typeof import('vue')['useTemplateRef']
|
267
272
|
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
|
268
273
|
const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
|
269
274
|
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
|
@@ -325,7 +330,7 @@ declare global {
|
|
325
330
|
// for type re-export
|
326
331
|
declare global {
|
327
332
|
// @ts-ignore
|
328
|
-
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
333
|
+
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
329
334
|
import('vue')
|
330
335
|
}
|
331
336
|
// for vue template auto import
|
@@ -400,6 +405,7 @@ declare module 'vue' {
|
|
400
405
|
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
|
401
406
|
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
402
407
|
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
408
|
+
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
|
403
409
|
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
|
404
410
|
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
405
411
|
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
|
@@ -517,6 +523,7 @@ declare module 'vue' {
|
|
517
523
|
readonly useFullscreen: UnwrapRef<typeof import('@vueuse/core')['useFullscreen']>
|
518
524
|
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
|
519
525
|
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
|
526
|
+
readonly useId: UnwrapRef<typeof import('vue')['useId']>
|
520
527
|
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
|
521
528
|
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
|
522
529
|
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
|
@@ -536,6 +543,7 @@ declare module 'vue' {
|
|
536
543
|
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
|
537
544
|
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
|
538
545
|
readonly useMin: UnwrapRef<typeof import('@vueuse/math')['useMin']>
|
546
|
+
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
|
539
547
|
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
|
540
548
|
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
|
541
549
|
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
|
@@ -592,327 +600,7 @@ declare module 'vue' {
|
|
592
600
|
readonly useSum: UnwrapRef<typeof import('@vueuse/math')['useSum']>
|
593
601
|
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
|
594
602
|
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
|
595
|
-
readonly
|
596
|
-
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
|
597
|
-
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
|
598
|
-
readonly useTextareaAutosize: UnwrapRef<typeof import('@vueuse/core')['useTextareaAutosize']>
|
599
|
-
readonly useThemeStore: UnwrapRef<typeof import('../src/stores/theme')['useThemeStore']>
|
600
|
-
readonly useThrottle: UnwrapRef<typeof import('@vueuse/core')['useThrottle']>
|
601
|
-
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
|
602
|
-
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
|
603
|
-
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
|
604
|
-
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
|
605
|
-
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
|
606
|
-
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>
|
607
|
-
readonly useTimestamp: UnwrapRef<typeof import('@vueuse/core')['useTimestamp']>
|
608
|
-
readonly useTitle: UnwrapRef<typeof import('@vueuse/core')['useTitle']>
|
609
|
-
readonly useToNumber: UnwrapRef<typeof import('@vueuse/core')['useToNumber']>
|
610
|
-
readonly useToString: UnwrapRef<typeof import('@vueuse/core')['useToString']>
|
611
|
-
readonly useToggle: UnwrapRef<typeof import('@vueuse/core')['useToggle']>
|
612
|
-
readonly useTransition: UnwrapRef<typeof import('@vueuse/core')['useTransition']>
|
613
|
-
readonly useTrunc: UnwrapRef<typeof import('@vueuse/math')['useTrunc']>
|
614
|
-
readonly useUrlSearchParams: UnwrapRef<typeof import('@vueuse/core')['useUrlSearchParams']>
|
615
|
-
readonly useUserMedia: UnwrapRef<typeof import('@vueuse/core')['useUserMedia']>
|
616
|
-
readonly useVModel: UnwrapRef<typeof import('@vueuse/core')['useVModel']>
|
617
|
-
readonly useVModels: UnwrapRef<typeof import('@vueuse/core')['useVModels']>
|
618
|
-
readonly useVibrate: UnwrapRef<typeof import('@vueuse/core')['useVibrate']>
|
619
|
-
readonly useVirtualList: UnwrapRef<typeof import('@vueuse/core')['useVirtualList']>
|
620
|
-
readonly useWakeLock: UnwrapRef<typeof import('@vueuse/core')['useWakeLock']>
|
621
|
-
readonly useWebNotification: UnwrapRef<typeof import('@vueuse/core')['useWebNotification']>
|
622
|
-
readonly useWebSocket: UnwrapRef<typeof import('@vueuse/core')['useWebSocket']>
|
623
|
-
readonly useWebWorker: UnwrapRef<typeof import('@vueuse/core')['useWebWorker']>
|
624
|
-
readonly useWebWorkerFn: UnwrapRef<typeof import('@vueuse/core')['useWebWorkerFn']>
|
625
|
-
readonly useWindowFocus: UnwrapRef<typeof import('@vueuse/core')['useWindowFocus']>
|
626
|
-
readonly useWindowScroll: UnwrapRef<typeof import('@vueuse/core')['useWindowScroll']>
|
627
|
-
readonly useWindowSize: UnwrapRef<typeof import('@vueuse/core')['useWindowSize']>
|
628
|
-
readonly watch: UnwrapRef<typeof import('vue')['watch']>
|
629
|
-
readonly watchArray: UnwrapRef<typeof import('@vueuse/core')['watchArray']>
|
630
|
-
readonly watchAtMost: UnwrapRef<typeof import('@vueuse/core')['watchAtMost']>
|
631
|
-
readonly watchDebounced: UnwrapRef<typeof import('@vueuse/core')['watchDebounced']>
|
632
|
-
readonly watchDeep: UnwrapRef<typeof import('@vueuse/core')['watchDeep']>
|
633
|
-
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
|
634
|
-
readonly watchIgnorable: UnwrapRef<typeof import('@vueuse/core')['watchIgnorable']>
|
635
|
-
readonly watchImmediate: UnwrapRef<typeof import('@vueuse/core')['watchImmediate']>
|
636
|
-
readonly watchImmediateDeep: UnwrapRef<typeof import('@mixte/use')['watchImmediateDeep']>
|
637
|
-
readonly watchOnce: UnwrapRef<typeof import('@vueuse/core')['watchOnce']>
|
638
|
-
readonly watchPausable: UnwrapRef<typeof import('@vueuse/core')['watchPausable']>
|
639
|
-
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
|
640
|
-
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
|
641
|
-
readonly watchThrottled: UnwrapRef<typeof import('@vueuse/core')['watchThrottled']>
|
642
|
-
readonly watchTriggerable: UnwrapRef<typeof import('@vueuse/core')['watchTriggerable']>
|
643
|
-
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
|
644
|
-
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
|
645
|
-
readonly wheneverDeep: UnwrapRef<typeof import('@mixte/use')['wheneverDeep']>
|
646
|
-
readonly wheneverEffectScope: UnwrapRef<typeof import('@mixte/use')['wheneverEffectScope']>
|
647
|
-
readonly wheneverEffectScopeDeep: UnwrapRef<typeof import('@mixte/use')['wheneverEffectScopeDeep']>
|
648
|
-
readonly wheneverEffectScopeImmediate: UnwrapRef<typeof import('@mixte/use')['wheneverEffectScopeImmediate']>
|
649
|
-
readonly wheneverEffectScopeImmediateDeep: UnwrapRef<typeof import('@mixte/use')['wheneverEffectScopeImmediateDeep']>
|
650
|
-
readonly wheneverImmediate: UnwrapRef<typeof import('@mixte/use')['wheneverImmediate']>
|
651
|
-
readonly wheneverImmediateDeep: UnwrapRef<typeof import('@mixte/use')['wheneverImmediateDeep']>
|
652
|
-
}
|
653
|
-
}
|
654
|
-
declare module '@vue/runtime-core' {
|
655
|
-
interface GlobalComponents {}
|
656
|
-
interface ComponentCustomProperties {
|
657
|
-
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
658
|
-
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
|
659
|
-
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
|
660
|
-
readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
661
|
-
readonly computedAsync: UnwrapRef<typeof import('@vueuse/core')['computedAsync']>
|
662
|
-
readonly computedEager: UnwrapRef<typeof import('@vueuse/core')['computedEager']>
|
663
|
-
readonly computedInject: UnwrapRef<typeof import('@vueuse/core')['computedInject']>
|
664
|
-
readonly computedWithControl: UnwrapRef<typeof import('@vueuse/core')['computedWithControl']>
|
665
|
-
readonly controlledComputed: UnwrapRef<typeof import('@vueuse/core')['controlledComputed']>
|
666
|
-
readonly controlledRef: UnwrapRef<typeof import('@vueuse/core')['controlledRef']>
|
667
|
-
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
668
|
-
readonly createEventHook: UnwrapRef<typeof import('@vueuse/core')['createEventHook']>
|
669
|
-
readonly createGenericProjection: UnwrapRef<typeof import('@vueuse/math')['createGenericProjection']>
|
670
|
-
readonly createGlobalState: UnwrapRef<typeof import('@vueuse/core')['createGlobalState']>
|
671
|
-
readonly createInjectionState: UnwrapRef<typeof import('@vueuse/core')['createInjectionState']>
|
672
|
-
readonly createNamedSharedComposable: UnwrapRef<typeof import('@mixte/use')['createNamedSharedComposable']>
|
673
|
-
readonly createProjection: UnwrapRef<typeof import('@vueuse/math')['createProjection']>
|
674
|
-
readonly createReactiveFn: UnwrapRef<typeof import('@vueuse/core')['createReactiveFn']>
|
675
|
-
readonly createReusableTemplate: UnwrapRef<typeof import('@vueuse/core')['createReusableTemplate']>
|
676
|
-
readonly createSharedComposable: UnwrapRef<typeof import('@vueuse/core')['createSharedComposable']>
|
677
|
-
readonly createTemplatePromise: UnwrapRef<typeof import('@vueuse/core')['createTemplatePromise']>
|
678
|
-
readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>
|
679
|
-
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
680
|
-
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
|
681
|
-
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
682
|
-
readonly deepUnref: UnwrapRef<typeof import('@mixte/use')['deepUnref']>
|
683
|
-
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
684
|
-
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
685
|
-
readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>
|
686
|
-
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
687
|
-
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
|
688
|
-
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
689
|
-
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
690
|
-
readonly h: UnwrapRef<typeof import('vue')['h']>
|
691
|
-
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
|
692
|
-
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
693
|
-
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
|
694
|
-
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
|
695
|
-
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
|
696
|
-
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
697
|
-
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
698
|
-
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
699
|
-
readonly logicAnd: UnwrapRef<typeof import('@vueuse/math')['logicAnd']>
|
700
|
-
readonly logicNot: UnwrapRef<typeof import('@vueuse/math')['logicNot']>
|
701
|
-
readonly logicOr: UnwrapRef<typeof import('@vueuse/math')['logicOr']>
|
702
|
-
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
703
|
-
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
704
|
-
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
705
|
-
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
|
706
|
-
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
|
707
|
-
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
|
708
|
-
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
|
709
|
-
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
|
710
|
-
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
|
711
|
-
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
|
712
|
-
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
|
713
|
-
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
|
714
|
-
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
|
715
|
-
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
|
716
|
-
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
|
717
|
-
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
|
718
|
-
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
|
719
|
-
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
|
720
|
-
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
|
721
|
-
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
|
722
|
-
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
723
|
-
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
724
|
-
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
|
725
|
-
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
726
|
-
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
|
727
|
-
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
|
728
|
-
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
|
729
|
-
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
730
|
-
readonly reactiveComputed: UnwrapRef<typeof import('@vueuse/core')['reactiveComputed']>
|
731
|
-
readonly reactiveOmit: UnwrapRef<typeof import('@vueuse/core')['reactiveOmit']>
|
732
|
-
readonly reactivePick: UnwrapRef<typeof import('@vueuse/core')['reactivePick']>
|
733
|
-
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
734
|
-
readonly ref: UnwrapRef<typeof import('vue')['ref']>
|
735
|
-
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
|
736
|
-
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
|
737
|
-
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
|
738
|
-
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
|
739
|
-
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
|
740
|
-
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
741
|
-
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
|
742
|
-
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
|
743
|
-
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
744
|
-
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
745
|
-
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
746
|
-
readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>
|
747
|
-
readonly syncRefs: UnwrapRef<typeof import('@vueuse/core')['syncRefs']>
|
748
|
-
readonly templateRef: UnwrapRef<typeof import('@vueuse/core')['templateRef']>
|
749
|
-
readonly throttledRef: UnwrapRef<typeof import('@vueuse/core')['throttledRef']>
|
750
|
-
readonly throttledWatch: UnwrapRef<typeof import('@vueuse/core')['throttledWatch']>
|
751
|
-
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
|
752
|
-
readonly toReactive: UnwrapRef<typeof import('@vueuse/core')['toReactive']>
|
753
|
-
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
|
754
|
-
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
|
755
|
-
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
|
756
|
-
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
|
757
|
-
readonly tryOnBeforeMount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeMount']>
|
758
|
-
readonly tryOnBeforeUnmount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeUnmount']>
|
759
|
-
readonly tryOnMounted: UnwrapRef<typeof import('@vueuse/core')['tryOnMounted']>
|
760
|
-
readonly tryOnScopeDispose: UnwrapRef<typeof import('@vueuse/core')['tryOnScopeDispose']>
|
761
|
-
readonly tryOnUnmounted: UnwrapRef<typeof import('@vueuse/core')['tryOnUnmounted']>
|
762
|
-
readonly unref: UnwrapRef<typeof import('vue')['unref']>
|
763
|
-
readonly unrefElement: UnwrapRef<typeof import('@vueuse/core')['unrefElement']>
|
764
|
-
readonly until: UnwrapRef<typeof import('@vueuse/core')['until']>
|
765
|
-
readonly useAbs: UnwrapRef<typeof import('@vueuse/math')['useAbs']>
|
766
|
-
readonly useActiveElement: UnwrapRef<typeof import('@vueuse/core')['useActiveElement']>
|
767
|
-
readonly useAnimate: UnwrapRef<typeof import('@vueuse/core')['useAnimate']>
|
768
|
-
readonly useArrayDifference: UnwrapRef<typeof import('@vueuse/core')['useArrayDifference']>
|
769
|
-
readonly useArrayEvery: UnwrapRef<typeof import('@vueuse/core')['useArrayEvery']>
|
770
|
-
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
|
771
|
-
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
|
772
|
-
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
|
773
|
-
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
|
774
|
-
readonly useArrayIncludes: UnwrapRef<typeof import('@vueuse/core')['useArrayIncludes']>
|
775
|
-
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
|
776
|
-
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
|
777
|
-
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
|
778
|
-
readonly useArraySome: UnwrapRef<typeof import('@vueuse/core')['useArraySome']>
|
779
|
-
readonly useArrayUnique: UnwrapRef<typeof import('@vueuse/core')['useArrayUnique']>
|
780
|
-
readonly useAsyncQueue: UnwrapRef<typeof import('@vueuse/core')['useAsyncQueue']>
|
781
|
-
readonly useAsyncState: UnwrapRef<typeof import('@vueuse/core')['useAsyncState']>
|
782
|
-
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
|
783
|
-
readonly useAverage: UnwrapRef<typeof import('@vueuse/math')['useAverage']>
|
784
|
-
readonly useBase64: UnwrapRef<typeof import('@vueuse/core')['useBase64']>
|
785
|
-
readonly useBattery: UnwrapRef<typeof import('@vueuse/core')['useBattery']>
|
786
|
-
readonly useBluetooth: UnwrapRef<typeof import('@vueuse/core')['useBluetooth']>
|
787
|
-
readonly useBreakpoints: UnwrapRef<typeof import('@vueuse/core')['useBreakpoints']>
|
788
|
-
readonly useBroadcastChannel: UnwrapRef<typeof import('@vueuse/core')['useBroadcastChannel']>
|
789
|
-
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
|
790
|
-
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
|
791
|
-
readonly useCeil: UnwrapRef<typeof import('@vueuse/math')['useCeil']>
|
792
|
-
readonly useClamp: UnwrapRef<typeof import('@vueuse/math')['useClamp']>
|
793
|
-
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
|
794
|
-
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
|
795
|
-
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
|
796
|
-
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
|
797
|
-
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
|
798
|
-
readonly useCountdown: UnwrapRef<typeof import('@mixte/use')['useCountdown']>
|
799
|
-
readonly useCounter: UnwrapRef<typeof import('@vueuse/core')['useCounter']>
|
800
|
-
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
801
|
-
readonly useCssVar: UnwrapRef<typeof import('@vueuse/core')['useCssVar']>
|
802
|
-
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
803
|
-
readonly useCurrentElement: UnwrapRef<typeof import('@vueuse/core')['useCurrentElement']>
|
804
|
-
readonly useCycleList: UnwrapRef<typeof import('@vueuse/core')['useCycleList']>
|
805
|
-
readonly useDark: UnwrapRef<typeof import('@vueuse/core')['useDark']>
|
806
|
-
readonly useDateFormat: UnwrapRef<typeof import('@vueuse/core')['useDateFormat']>
|
807
|
-
readonly useDebounce: UnwrapRef<typeof import('@vueuse/core')['useDebounce']>
|
808
|
-
readonly useDebounceFn: UnwrapRef<typeof import('@vueuse/core')['useDebounceFn']>
|
809
|
-
readonly useDebouncedRefHistory: UnwrapRef<typeof import('@vueuse/core')['useDebouncedRefHistory']>
|
810
|
-
readonly useDeviceMotion: UnwrapRef<typeof import('@vueuse/core')['useDeviceMotion']>
|
811
|
-
readonly useDeviceOrientation: UnwrapRef<typeof import('@vueuse/core')['useDeviceOrientation']>
|
812
|
-
readonly useDevicePixelRatio: UnwrapRef<typeof import('@vueuse/core')['useDevicePixelRatio']>
|
813
|
-
readonly useDevicesList: UnwrapRef<typeof import('@vueuse/core')['useDevicesList']>
|
814
|
-
readonly useDisplayMedia: UnwrapRef<typeof import('@vueuse/core')['useDisplayMedia']>
|
815
|
-
readonly useDocumentVisibility: UnwrapRef<typeof import('@vueuse/core')['useDocumentVisibility']>
|
816
|
-
readonly useDraggable: UnwrapRef<typeof import('@vueuse/core')['useDraggable']>
|
817
|
-
readonly useDraggableDistance: UnwrapRef<typeof import('@mixte/use')['useDraggableDistance']>
|
818
|
-
readonly useDropZone: UnwrapRef<typeof import('@vueuse/core')['useDropZone']>
|
819
|
-
readonly useElementBounding: UnwrapRef<typeof import('@vueuse/core')['useElementBounding']>
|
820
|
-
readonly useElementByPoint: UnwrapRef<typeof import('@vueuse/core')['useElementByPoint']>
|
821
|
-
readonly useElementHover: UnwrapRef<typeof import('@vueuse/core')['useElementHover']>
|
822
|
-
readonly useElementSize: UnwrapRef<typeof import('@vueuse/core')['useElementSize']>
|
823
|
-
readonly useElementStyle: UnwrapRef<typeof import('../src/composables/useElementStyle')['useElementStyle']>
|
824
|
-
readonly useElementVisibility: UnwrapRef<typeof import('@vueuse/core')['useElementVisibility']>
|
825
|
-
readonly useEventBus: UnwrapRef<typeof import('@vueuse/core')['useEventBus']>
|
826
|
-
readonly useEventListener: UnwrapRef<typeof import('@vueuse/core')['useEventListener']>
|
827
|
-
readonly useEventSource: UnwrapRef<typeof import('@vueuse/core')['useEventSource']>
|
828
|
-
readonly useEyeDropper: UnwrapRef<typeof import('@vueuse/core')['useEyeDropper']>
|
829
|
-
readonly useFavicon: UnwrapRef<typeof import('@vueuse/core')['useFavicon']>
|
830
|
-
readonly useFetch: UnwrapRef<typeof import('@vueuse/core')['useFetch']>
|
831
|
-
readonly useFileDialog: UnwrapRef<typeof import('@vueuse/core')['useFileDialog']>
|
832
|
-
readonly useFileReader: UnwrapRef<typeof import('@mixte/use')['useFileReader']>
|
833
|
-
readonly useFileSystemAccess: UnwrapRef<typeof import('@vueuse/core')['useFileSystemAccess']>
|
834
|
-
readonly useFloor: UnwrapRef<typeof import('@vueuse/math')['useFloor']>
|
835
|
-
readonly useFocus: UnwrapRef<typeof import('@vueuse/core')['useFocus']>
|
836
|
-
readonly useFocusWithin: UnwrapRef<typeof import('@vueuse/core')['useFocusWithin']>
|
837
|
-
readonly useFps: UnwrapRef<typeof import('@vueuse/core')['useFps']>
|
838
|
-
readonly useFullscreen: UnwrapRef<typeof import('@vueuse/core')['useFullscreen']>
|
839
|
-
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
|
840
|
-
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
|
841
|
-
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
|
842
|
-
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
|
843
|
-
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
|
844
|
-
readonly useIntersectionObserver: UnwrapRef<typeof import('@vueuse/core')['useIntersectionObserver']>
|
845
|
-
readonly useInterval: UnwrapRef<typeof import('@vueuse/core')['useInterval']>
|
846
|
-
readonly useIntervalFn: UnwrapRef<typeof import('@vueuse/core')['useIntervalFn']>
|
847
|
-
readonly useKeyModifier: UnwrapRef<typeof import('@vueuse/core')['useKeyModifier']>
|
848
|
-
readonly useLastChanged: UnwrapRef<typeof import('@vueuse/core')['useLastChanged']>
|
849
|
-
readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
|
850
|
-
readonly useLocalStorage: UnwrapRef<typeof import('@vueuse/core')['useLocalStorage']>
|
851
|
-
readonly useMagicKeys: UnwrapRef<typeof import('@vueuse/core')['useMagicKeys']>
|
852
|
-
readonly useManualRefHistory: UnwrapRef<typeof import('@vueuse/core')['useManualRefHistory']>
|
853
|
-
readonly useMath: UnwrapRef<typeof import('@vueuse/math')['useMath']>
|
854
|
-
readonly useMax: UnwrapRef<typeof import('@vueuse/math')['useMax']>
|
855
|
-
readonly useMediaControls: UnwrapRef<typeof import('@vueuse/core')['useMediaControls']>
|
856
|
-
readonly useMediaQuery: UnwrapRef<typeof import('@vueuse/core')['useMediaQuery']>
|
857
|
-
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
|
858
|
-
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
|
859
|
-
readonly useMin: UnwrapRef<typeof import('@vueuse/math')['useMin']>
|
860
|
-
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
|
861
|
-
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
|
862
|
-
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
|
863
|
-
readonly useMousePressed: UnwrapRef<typeof import('@vueuse/core')['useMousePressed']>
|
864
|
-
readonly useMutationObserver: UnwrapRef<typeof import('@vueuse/core')['useMutationObserver']>
|
865
|
-
readonly useNaiveStyle: UnwrapRef<typeof import('../src/composables/useNaiveStyle')['useNaiveStyle']>
|
866
|
-
readonly useNaiveTheme: UnwrapRef<typeof import('../src/composables/useNaiveTheme')['useNaiveTheme']>
|
867
|
-
readonly useNavigatorLanguage: UnwrapRef<typeof import('@vueuse/core')['useNavigatorLanguage']>
|
868
|
-
readonly useNetwork: UnwrapRef<typeof import('@vueuse/core')['useNetwork']>
|
869
|
-
readonly useNow: UnwrapRef<typeof import('@vueuse/core')['useNow']>
|
870
|
-
readonly useObjectUrl: UnwrapRef<typeof import('@vueuse/core')['useObjectUrl']>
|
871
|
-
readonly useOffsetPagination: UnwrapRef<typeof import('@vueuse/core')['useOffsetPagination']>
|
872
|
-
readonly useOnline: UnwrapRef<typeof import('@vueuse/core')['useOnline']>
|
873
|
-
readonly usePageLeave: UnwrapRef<typeof import('@vueuse/core')['usePageLeave']>
|
874
|
-
readonly useParallax: UnwrapRef<typeof import('@vueuse/core')['useParallax']>
|
875
|
-
readonly useParentElement: UnwrapRef<typeof import('@vueuse/core')['useParentElement']>
|
876
|
-
readonly usePerformanceObserver: UnwrapRef<typeof import('@vueuse/core')['usePerformanceObserver']>
|
877
|
-
readonly usePermission: UnwrapRef<typeof import('@vueuse/core')['usePermission']>
|
878
|
-
readonly usePointer: UnwrapRef<typeof import('@vueuse/core')['usePointer']>
|
879
|
-
readonly usePointerLock: UnwrapRef<typeof import('@vueuse/core')['usePointerLock']>
|
880
|
-
readonly usePointerSwipe: UnwrapRef<typeof import('@vueuse/core')['usePointerSwipe']>
|
881
|
-
readonly usePrecision: UnwrapRef<typeof import('@vueuse/math')['usePrecision']>
|
882
|
-
readonly usePreferredColorScheme: UnwrapRef<typeof import('@vueuse/core')['usePreferredColorScheme']>
|
883
|
-
readonly usePreferredContrast: UnwrapRef<typeof import('@vueuse/core')['usePreferredContrast']>
|
884
|
-
readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>
|
885
|
-
readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>
|
886
|
-
readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>
|
887
|
-
readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>
|
888
|
-
readonly useProjection: UnwrapRef<typeof import('@vueuse/math')['useProjection']>
|
889
|
-
readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
|
890
|
-
readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
|
891
|
-
readonly useRequest: UnwrapRef<typeof import('@mixte/use')['useRequest']>
|
892
|
-
readonly useRequestReactive: UnwrapRef<typeof import('@mixte/use')['useRequestReactive']>
|
893
|
-
readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
|
894
|
-
readonly useRound: UnwrapRef<typeof import('@vueuse/math')['useRound']>
|
895
|
-
readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
|
896
|
-
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
|
897
|
-
readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
|
898
|
-
readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
|
899
|
-
readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>
|
900
|
-
readonly useScroll: UnwrapRef<typeof import('@vueuse/core')['useScroll']>
|
901
|
-
readonly useScrollLock: UnwrapRef<typeof import('@vueuse/core')['useScrollLock']>
|
902
|
-
readonly useSessionStorage: UnwrapRef<typeof import('@vueuse/core')['useSessionStorage']>
|
903
|
-
readonly useShare: UnwrapRef<typeof import('@vueuse/core')['useShare']>
|
904
|
-
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
905
|
-
readonly useSmart: UnwrapRef<typeof import('../src/composables/useSmart')['useSmart']>
|
906
|
-
readonly useSorted: UnwrapRef<typeof import('@vueuse/core')['useSorted']>
|
907
|
-
readonly useSpeechRecognition: UnwrapRef<typeof import('@vueuse/core')['useSpeechRecognition']>
|
908
|
-
readonly useSpeechSynthesis: UnwrapRef<typeof import('@vueuse/core')['useSpeechSynthesis']>
|
909
|
-
readonly useStepper: UnwrapRef<typeof import('@vueuse/core')['useStepper']>
|
910
|
-
readonly useStorage: UnwrapRef<typeof import('@vueuse/core')['useStorage']>
|
911
|
-
readonly useStorageAsync: UnwrapRef<typeof import('@vueuse/core')['useStorageAsync']>
|
912
|
-
readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>
|
913
|
-
readonly useSum: UnwrapRef<typeof import('@vueuse/math')['useSum']>
|
914
|
-
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
|
915
|
-
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
|
603
|
+
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
|
916
604
|
readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>
|
917
605
|
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
|
918
606
|
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
|