@munet/ui 1.0.5 → 1.0.6
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/__uno.css +1 -1
- package/dist/components/DropMenu/DropDown.js +8 -8
- package/dist/components/Select/index.js +5 -5
- package/dist/components/Select/style.css +1 -1
- package/dist/index.js +86 -85
- package/dist/themes/aquadx/components.css +1 -1
- package/dist/themes/dynamicLight/components.css +1 -1
- package/dist/themes/index.d.ts +8 -0
- package/dist/themes/index.js +53 -49
- package/package.json +3 -1
package/dist/__uno.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,: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: }::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: }.pointer-events-none{pointer-events:none}.absolute{position:absolute}.absolute\!{position:absolute!important}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-18{bottom:4.5rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-4{left:1rem}.left-50\%{left:50%}.right-0{right:0}.right-1{right:.25rem}.top-0{top:0}.top-25\%{top:25%}.top-50\%{top:50%}.z-1{z-index:1}.z-1001{z-index:1001}.z-1002{z-index:1002}.z-2{z-index:2}.z-40{z-index:40}.z-50{z-index:50}.z-80{z-index:80}.grid{display:grid}.m-auto{margin:auto}.m-t-0\!{margin-top:0!important}.m-t-4{margin-top:1rem}.mr-2{margin-right:.5rem}.ms{margin-inline-start:1rem}.hidden{display:none}.h-0{height:0}.h-10{height:2.5rem}.h-12{height:3rem}.h-1em{height:1em}.h-2{height:.5rem}.h-3\.5em{height:3.5em}.h-3em{height:3em}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.max-w-90dvw{max-width:90dvw}.max-w-90vw{max-width:90vw}.min-h-12{min-height:3rem}.min-w-10{min-width:2.5rem}.min-w-48{min-width:12rem}.min-w-max{min-width:max-content}.w-0{width:0}.w-5{width:1.25rem}.w-50{width:12.5rem}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.translate--50\%{--un-translate-x:-50%;--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y--100\%{--un-translate-y:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-100\%{--un-translate-y:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.rotate-180{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.of-hidden,.overflow-hidden{overflow:hidden}.of-x-auto{overflow-x:auto}.of-y-hidden{overflow-y:hidden}.ws-pre-wrap{white-space:pre-wrap}.border{border-width:1px}.border-\[var\(--link-color\)\]\!{border-color:var(--link-color)!important}.border-red-600\!{--un-border-opacity:1 !important;border-color:rgb(220 38 38 / var(--un-border-opacity))!important}.border-transparent{border-color:transparent}.border-transparent\!{border-color:transparent!important}.rd-12px,.rounded-12px{border-radius:12px}.rd-2,.rd-lg,.rounded-lg{border-radius:.5rem}.rd-2xl{border-radius:1rem}.rd-md{border-radius:.375rem}.rd-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}.rd-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-\[var\(--link-color\)\]\!{background-color:var(--link-color)!important}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-blue-600{--un-bg-opacity:1;background-color:rgb(37 99 235 / var(--un-bg-opacity))}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-green-600{--un-bg-opacity:1;background-color:rgb(22 163 74 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-red-600{--un-bg-opacity:1;background-color:rgb(220 38 38 / var(--un-bg-opacity))}.bg-red-600\!{--un-bg-opacity:1 !important;background-color:rgb(220 38 38 / var(--un-bg-opacity))!important}.bg-transparent{background-color:transparent}.bg-transparent\!{background-color:transparent!important}.bg-yellow-600{--un-bg-opacity:1;background-color:rgb(202 138 4 / var(--un-bg-opacity))}.hover\:bg-\[var\(--link-color\)\]\/12\!:hover{background-color:var(--link-color)!important}.hover\:bg-red-4\/10\!:hover{background-color:#f871711a!important}.active\:bg-\[var\(--link-color\)\]\/18\!:active{background-color:var(--link-color)!important}[stroke-width~="4"]{stroke-width:4px}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-x-10{padding-left:2.5rem;padding-right:2.5rem}.px,.px-4,[px=""]{padding-left:1rem;padding-right:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-right{text-align:right}.text-1\.5em{font-size:1.5em}.text-2\.5{font-size:.625rem}.text-6{font-size:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[var\(--link-color\)\]\!{color:var(--link-color)!important}.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.text-red-4{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.text-white\!{--un-text-opacity:1 !important;color:rgb(255 255 255 / var(--un-text-opacity))!important}.c-red-5{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.font-600{font-weight:600}.font-bold{font-weight:700}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-0,.opacity-0{opacity:0}.op-0\!,.opacity-0\!{opacity:0!important}.op-50,.opacity-50{opacity:.5}.op-60{opacity:.6}.op-90{opacity:.9}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.hover\:op-70:hover{opacity:.7}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.backdrop-blur-8{--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-lg{--un-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-300{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.transition-all-500{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-right{transition-property:right;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-250{transition-duration:.25s}.duration-500,[duration~="500"]{transition-duration:.5s}[duration~="300"]{transition-duration:.3s}.ease,.ease-in-out,.transition-ease,.transition-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}
|
|
1
|
+
*,:before,: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: }::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: }.i-carbon\:unknown{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='16' cy='22.5' r='1.5' fill='currentColor'/%3E%3Cpath fill='currentColor' d='M17 19h-2v-4h2c1.103 0 2-.897 2-2s-.897-2-2-2h-2c-1.103 0-2 .897-2 2v.5h-2V13c0-2.206 1.794-4 4-4h2c2.206 0 4 1.794 4 4s-1.794 4-4 4z'/%3E%3Cpath fill='currentColor' d='M29.391 14.527L17.473 2.609A2.08 2.08 0 0 0 16 2c-.533 0-1.067.203-1.473.609L2.609 14.527C2.203 14.933 2 15.466 2 16s.203 1.067.609 1.473L14.526 29.39c.407.407.941.61 1.474.61s1.067-.203 1.473-.609L29.39 17.474c.407-.407.61-.94.61-1.474s-.203-1.067-.609-1.473M16 28.036L3.965 16L16 3.964L28.036 16z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em}.i-solar\:alt-arrow-down-linear{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m19 9l-7 6l-7-6'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.absolute\!{position:absolute!important}.fixed{position:fixed}.relative{position:relative}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-18{bottom:4.5rem}.bottom-4{bottom:1rem}.left-0{left:0}.left-4{left:1rem}.left-50\%{left:50%}.right-0{right:0}.right-1{right:.25rem}.top-0{top:0}.top-25\%{top:25%}.top-50\%{top:50%}.z-1{z-index:1}.z-1001{z-index:1001}.z-1002{z-index:1002}.z-2{z-index:2}.z-40{z-index:40}.z-50{z-index:50}.z-80{z-index:80}.grid{display:grid}.m-auto{margin:auto}.m-t-0\!{margin-top:0!important}.m-t-4{margin-top:1rem}.mr-2{margin-right:.5rem}.ms{margin-inline-start:1rem}.hidden{display:none}.h-0{height:0}.h-10{height:2.5rem}.h-12{height:3rem}.h-1em{height:1em}.h-2{height:.5rem}.h-3\.5em{height:3.5em}.h-3em{height:3em}.h-5{height:1.25rem}.h-8{height:2rem}.h-full{height:100%}.max-w-90dvw{max-width:90dvw}.max-w-90vw{max-width:90vw}.min-h-12{min-height:3rem}.min-w-10{min-width:2.5rem}.min-w-48{min-width:12rem}.min-w-max{min-width:max-content}.w-0{width:0}.w-5{width:1.25rem}.w-50{width:12.5rem}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.translate--50\%{--un-translate-x:-50%;--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y--100\%{--un-translate-y:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-100\%{--un-translate-y:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.rotate-180{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.of-hidden,.overflow-hidden{overflow:hidden}.of-x-auto{overflow-x:auto}.of-y-hidden{overflow-y:hidden}.ws-pre-wrap{white-space:pre-wrap}.border{border-width:1px}.border-\[var\(--link-color\)\]\!{border-color:var(--link-color)!important}.border-red-600\!{--un-border-opacity:1 !important;border-color:rgb(220 38 38 / var(--un-border-opacity))!important}.border-transparent{border-color:transparent}.border-transparent\!{border-color:transparent!important}.rd-12px,.rounded-12px{border-radius:12px}.rd-2,.rd-lg,.rounded-lg{border-radius:.5rem}.rd-2xl{border-radius:1rem}.rd-md{border-radius:.375rem}.rd-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}.rd-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-\[var\(--link-color\)\]\!{background-color:var(--link-color)!important}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-blue-600{--un-bg-opacity:1;background-color:rgb(37 99 235 / var(--un-bg-opacity))}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-green-600{--un-bg-opacity:1;background-color:rgb(22 163 74 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-red-600{--un-bg-opacity:1;background-color:rgb(220 38 38 / var(--un-bg-opacity))}.bg-red-600\!{--un-bg-opacity:1 !important;background-color:rgb(220 38 38 / var(--un-bg-opacity))!important}.bg-transparent{background-color:transparent}.bg-transparent\!{background-color:transparent!important}.bg-yellow-600{--un-bg-opacity:1;background-color:rgb(202 138 4 / var(--un-bg-opacity))}.hover\:bg-\[var\(--link-color\)\]\/12\!:hover{background-color:var(--link-color)!important}.hover\:bg-red-4\/10\!:hover{background-color:#f871711a!important}.active\:bg-\[var\(--link-color\)\]\/18\!:active{background-color:var(--link-color)!important}[stroke-width~="4"]{stroke-width:4px}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-x-10{padding-left:2.5rem;padding-right:2.5rem}.px,.px-4,[px=""]{padding-left:1rem;padding-right:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.text-right{text-align:right}.text-1\.5em{font-size:1.5em}.text-2\.5{font-size:.625rem}.text-6{font-size:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[var\(--link-color\)\]\!{color:var(--link-color)!important}.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.text-red-4{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.text-white\!{--un-text-opacity:1 !important;color:rgb(255 255 255 / var(--un-text-opacity))!important}.c-red-5{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.font-600{font-weight:600}.font-bold{font-weight:700}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-0,.opacity-0{opacity:0}.op-0\!,.opacity-0\!{opacity:0!important}.op-50,.opacity-50{opacity:.5}.op-60{opacity:.6}.op-90{opacity:.9}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.hover\:op-70:hover{opacity:.7}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.backdrop-blur-8{--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-lg{--un-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-sm{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-300{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.transition-all-500{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-right{transition-property:right;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-250{transition-duration:.25s}.duration-500,[duration~="500"]{transition-duration:.5s}[duration~="300"]{transition-duration:.3s}.ease,.ease-in-out,.transition-ease,.transition-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, ref as l, onBeforeUnmount as x, createVNode as o, Fragment as
|
|
1
|
+
import { defineComponent as b, ref as l, onBeforeUnmount as x, createVNode as o, Fragment as h, Teleport as y } from "vue";
|
|
2
2
|
import { onClickOutside as S } from "@vueuse/core";
|
|
3
3
|
import B from "../TransitionVertical.vue.js";
|
|
4
4
|
import C from "../Button/index.js";
|
|
@@ -31,7 +31,7 @@ const z = /* @__PURE__ */ b({
|
|
|
31
31
|
setup(t, {
|
|
32
32
|
emit: $,
|
|
33
33
|
slots: s,
|
|
34
|
-
expose:
|
|
34
|
+
expose: v
|
|
35
35
|
}) {
|
|
36
36
|
const i = l(!1), a = l(null), d = l(null), g = l("bottom"), c = l({});
|
|
37
37
|
S(a, (e) => i.value = !1, {
|
|
@@ -39,11 +39,11 @@ const z = /* @__PURE__ */ b({
|
|
|
39
39
|
});
|
|
40
40
|
const m = () => {
|
|
41
41
|
if (!t.autoPosition || !a.value) return;
|
|
42
|
-
const e = a.value.getBoundingClientRect(), r = window.innerHeight,
|
|
42
|
+
const e = a.value.getBoundingClientRect(), r = window.innerHeight, p = r - e.bottom, w = e.top, n = {
|
|
43
43
|
position: "fixed",
|
|
44
44
|
zIndex: 100
|
|
45
45
|
};
|
|
46
|
-
t.align === "right" ? n.right = `${window.innerWidth - e.right}px` : t.align === "left" ? n.left = `${e.left}px` : (n.left = `${e.left + e.width / 2}px`, n.transform = "translateX(-50%)"),
|
|
46
|
+
t.align === "right" ? n.right = `${window.innerWidth - e.right}px` : t.align === "left" ? n.left = `${e.left}px` : (n.left = `${e.left + e.width / 2}px`, n.transform = "translateX(-50%)"), p < t.maxHeight && w > p ? (g.value = "top", n.bottom = `${r - e.top + t.gap}px`, n.transformOrigin = "bottom center") : (g.value = "bottom", n.top = `${e.bottom + t.gap}px`, n.transformOrigin = "top center"), c.value = {
|
|
47
47
|
...t.innerStyle || {},
|
|
48
48
|
...n
|
|
49
49
|
};
|
|
@@ -55,11 +55,11 @@ const z = /* @__PURE__ */ b({
|
|
|
55
55
|
};
|
|
56
56
|
return window.addEventListener("resize", u), window.addEventListener("scroll", u, !0), x(() => {
|
|
57
57
|
window.removeEventListener("resize", u), window.removeEventListener("scroll", u, !0);
|
|
58
|
-
}),
|
|
58
|
+
}), v({
|
|
59
59
|
setShow: (e) => {
|
|
60
60
|
f(e);
|
|
61
61
|
}
|
|
62
|
-
}), () => o(
|
|
62
|
+
}), () => o(h, null, [o("div", {
|
|
63
63
|
class: "relative",
|
|
64
64
|
ref: a
|
|
65
65
|
}, [s.trigger ? s.trigger(f) : o(C, {
|
|
@@ -67,8 +67,8 @@ const z = /* @__PURE__ */ b({
|
|
|
67
67
|
onClick: () => f()
|
|
68
68
|
}, {
|
|
69
69
|
default: () => [t.buttonText]
|
|
70
|
-
})]), o(
|
|
71
|
-
to: "
|
|
70
|
+
})]), o(y, {
|
|
71
|
+
to: "#app"
|
|
72
72
|
}, {
|
|
73
73
|
default: () => [o(B, null, {
|
|
74
74
|
default: () => [i.value && o("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, inject as V, computed as
|
|
1
|
+
import { defineComponent as T, inject as V, computed as p, ref as u, createVNode as o, Teleport as $, createTextVNode as D } from "vue";
|
|
2
2
|
import { useVModel as H, onClickOutside as N } from "@vueuse/core";
|
|
3
3
|
import t from "./style.module.sass.js";
|
|
4
4
|
import { theme as P } from "../../themes/index.js";
|
|
@@ -21,7 +21,7 @@ const F = /* @__PURE__ */ T({
|
|
|
21
21
|
emit: w,
|
|
22
22
|
expose: h
|
|
23
23
|
}) {
|
|
24
|
-
const r = H(a, "value", w), y = V("disabled"), s =
|
|
24
|
+
const r = H(a, "value", w), y = V("disabled"), s = p(() => a.disabled || y?.value), l = u(!1), n = u(null), d = u("bottom"), v = u(null), i = u({}), c = p(() => a.options.find((e) => e.value === r.value)), x = (e) => typeof e == "function" ? e() : e, C = p(() => {
|
|
25
25
|
if (!c.value) return a.placeholder;
|
|
26
26
|
const e = c.value.label;
|
|
27
27
|
return typeof e == "function" ? e() : e;
|
|
@@ -48,7 +48,7 @@ const F = /* @__PURE__ */ T({
|
|
|
48
48
|
return N(n, () => {
|
|
49
49
|
l.value = !1;
|
|
50
50
|
}, {
|
|
51
|
-
ignore: [
|
|
51
|
+
ignore: [v]
|
|
52
52
|
}), h({
|
|
53
53
|
open: () => {
|
|
54
54
|
s.value || (f(), l.value = !0);
|
|
@@ -67,11 +67,11 @@ const F = /* @__PURE__ */ T({
|
|
|
67
67
|
}, [C.value]), o("span", {
|
|
68
68
|
class: [t.arrow, l.value && t.arrowOpen, "i-solar:alt-arrow-down-linear"]
|
|
69
69
|
}, null)]), o($, {
|
|
70
|
-
to: "
|
|
70
|
+
to: "#app"
|
|
71
71
|
}, {
|
|
72
72
|
default: () => [o(R, null, {
|
|
73
73
|
default: () => [l.value && o("div", {
|
|
74
|
-
ref:
|
|
74
|
+
ref: v,
|
|
75
75
|
class: [t.dropdown, "bg-dropMenu backdrop-blur-8", d.value === "top" && t.dropdownTop],
|
|
76
76
|
style: i.value
|
|
77
77
|
}, [a.options.length === 0 ? o("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.style-module_94I2l{position:relative;width:100%;min-width:120px}.style-module_94I2l:not(.style-module_9bHA-) .style-module_DmzNq:hover{background-color:var(--hover-bg)}.style-module_94I2l:not(.style-module_9bHA-).style-module_-mLRw .style-module_DmzNq{background-color:var(--focus--bg);border:2px solid var(--border-hover-c)}.style-module_94I2l.style-module_9bHA- .style-module_DmzNq{opacity:.5}.style-module_DmzNq{border-radius:12px;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--bg);transition:all .3s;box-sizing:border-box;border:2px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:.5em;min-height:2.8em}.style-module_DmzNq.style-module_UCaPN .style-module_C29oV{opacity:.5}.style-module_C29oV{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module_ivRiG{transition:transform .3s;opacity:.6}.style-module_ivRiG.style-module_7Qg9z{transform:rotate(180deg)}.style-module_wPfBh{border-radius:12px;padding:8px;z-index:1000;max-height:500px;overflow-y:auto}.style-module_wPfBh::-webkit-scrollbar{width:6px}.style-module_wPfBh::-webkit-scrollbar-thumb{background-color:var(--
|
|
1
|
+
.style-module_94I2l{position:relative;width:100%;min-width:120px}.style-module_94I2l:not(.style-module_9bHA-) .style-module_DmzNq:hover{background-color:var(--hover-bg)}.style-module_94I2l:not(.style-module_9bHA-).style-module_-mLRw .style-module_DmzNq{background-color:var(--focus--bg);border:2px solid var(--border-hover-c)}.style-module_94I2l.style-module_9bHA- .style-module_DmzNq{opacity:.5}.style-module_DmzNq{border-radius:12px;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--bg);transition:all .3s;box-sizing:border-box;border:2px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:.5em;min-height:2.8em}.style-module_DmzNq.style-module_UCaPN .style-module_C29oV{opacity:.5}.style-module_C29oV{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module_ivRiG{transition:transform .3s;opacity:.6}.style-module_ivRiG.style-module_7Qg9z{transform:rotate(180deg)}.style-module_wPfBh{border-radius:12px;padding:8px;z-index:1000;max-height:500px;overflow-y:auto}.style-module_wPfBh::-webkit-scrollbar{width:6px}.style-module_wPfBh::-webkit-scrollbar-thumb{background-color:var(--select-selected-text-c);border-radius:3px}.style-module_s8wSl{padding:.5em 1em;transition:all .2s;display:flex;align-items:center;justify-content:space-between;font-weight:500;border-radius:8px}.style-module_s8wSl.style-module_y9cdC{color:var(--select-selected-text-c);font-weight:600}.style-module_s8wSl.style-module_rfohl{opacity:.4}.style-module_EVBKA{padding:1.5em 1.2em;text-align:center;opacity:.5;font-weight:500}
|
package/dist/index.js
CHANGED
|
@@ -1,93 +1,94 @@
|
|
|
1
|
-
import { UIThemes as
|
|
2
|
-
import { configureUIStrings as
|
|
3
|
-
import { addToast as
|
|
4
|
-
import { getModalIndex as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
1
|
+
import { UIThemes as t, clearAppThemes as a, currentThemeVars as f, initThemeDefaults as m, isLightTheme as s, realThemeName as l, registerAppTheme as p, selectedThemeHue as d, selectedThemeName as x, theme as u, themeClasses as n } from "./themes/index.js";
|
|
2
|
+
import { configureUIStrings as g, getUIString as h } from "./i18n/index.js";
|
|
3
|
+
import { addToast as c, toasts as S } from "./controllers/toastController.js";
|
|
4
|
+
import { getModalIndex as M, isTopModal as k, modalShowing as y, modalStack as D, registerModal as B, unregisterModal as U } from "./states/modal.js";
|
|
5
|
+
import { default as w } from "./components/Button/index.js";
|
|
6
|
+
import { default as N } from "./components/TextInput/index.js";
|
|
7
|
+
import { default as v } from "./components/CheckBox/index.js";
|
|
8
|
+
import { default as P } from "./components/CheckBox/FlagCheckBox.js";
|
|
9
|
+
import { default as W } from "./components/Radio/index.js";
|
|
10
|
+
import { default as A } from "./components/Modal/index.js";
|
|
11
|
+
import { default as E } from "./components/Modal/styles.module.sass.js";
|
|
12
|
+
import { default as H } from "./components/Window/index.js";
|
|
13
|
+
import { default as Q } from "./components/Section/index.js";
|
|
14
|
+
import { default as z } from "./components/DateFormat.js";
|
|
15
|
+
import { default as K } from "./components/Qrcode.js";
|
|
16
|
+
import { default as Y } from "./components/NumberInput.js";
|
|
17
|
+
import { default as _ } from "./components/Select/index.js";
|
|
18
|
+
import { default as ee } from "./components/TransitionVertical.vue.js";
|
|
19
|
+
import { default as re } from "./components/Range.vue.js";
|
|
20
20
|
import { default as ae } from "./components/TransitionOpacity.js";
|
|
21
|
-
import { TabPane as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
21
|
+
import { TabPane as me, default as se } from "./components/Tabs/index.js";
|
|
22
|
+
import { default as pe } from "./components/DropMenu/index.js";
|
|
23
|
+
import { default as xe } from "./components/DropMenu/DropDown.js";
|
|
24
|
+
import { default as ne } from "./components/GlobalElementsContainer/index.js";
|
|
25
|
+
import { default as ge } from "./components/ScrollText/index.js";
|
|
26
|
+
import { default as Te } from "./components/SubNaviBar/WhateverNaviBar.js";
|
|
27
|
+
import { default as Se } from "./components/WarningBackground/index.js";
|
|
28
|
+
import { default as Me } from "./components/Popover/index.js";
|
|
29
|
+
import { default as ye } from "./components/Progress/index.js";
|
|
30
30
|
import { foregroundTask as Be } from "./components/GlobalElementsContainer/ForegroundTask.js";
|
|
31
|
-
import { showTransactionalDialog as
|
|
32
|
-
import { taskManager as
|
|
33
|
-
import { composeThemeRoots as
|
|
34
|
-
import { dynamicLightUI as
|
|
35
|
-
import { aquadxUI as
|
|
31
|
+
import { showTransactionalDialog as be } from "./components/GlobalElementsContainer/TransactionalDialog.js";
|
|
32
|
+
import { taskManager as Ce } from "./components/GlobalElementsContainer/TaskManager.js";
|
|
33
|
+
import { composeThemeRoots as Ve, composeThemeStyles as ve, mergeStyles as Le } from "./themes/base/composer.js";
|
|
34
|
+
import { dynamicLightUI as Re, dynamicLightVars as We } from "./themes/dynamicLight/index.js";
|
|
35
|
+
import { aquadxUI as Ae, aquadxVars as Fe } from "./themes/aquadx/index.js";
|
|
36
36
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
37
|
+
w as Button,
|
|
38
|
+
v as CheckBox,
|
|
39
|
+
z as DateFormat,
|
|
40
|
+
xe as DropDown,
|
|
41
|
+
pe as DropMenu,
|
|
42
|
+
P as FlagCheckBox,
|
|
43
|
+
ne as GlobalElementsContainer,
|
|
44
|
+
A as Modal,
|
|
45
|
+
E as ModalStyles,
|
|
46
|
+
Y as NumberInput,
|
|
47
|
+
Me as Popover,
|
|
48
|
+
ye as Progress,
|
|
49
|
+
K as Qrcode,
|
|
50
|
+
W as Radio,
|
|
51
|
+
re as Range,
|
|
52
|
+
ge as ScrollText,
|
|
53
|
+
Q as Section,
|
|
54
|
+
_ as Select,
|
|
55
|
+
me as TabPane,
|
|
56
|
+
se as Tabs,
|
|
57
|
+
N as TextInput,
|
|
58
58
|
ae as TransitionOpacity,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
ee as TransitionVertical,
|
|
60
|
+
t as UIThemes,
|
|
61
|
+
Se as WarningBackground,
|
|
62
|
+
Te as WhateverNaviBar,
|
|
63
|
+
H as Window,
|
|
64
|
+
c as addToast,
|
|
65
|
+
Ae as aquadxUI,
|
|
66
|
+
Fe as aquadxVars,
|
|
67
|
+
a as clearAppThemes,
|
|
68
|
+
Ve as composeThemeRoots,
|
|
69
|
+
ve as composeThemeStyles,
|
|
70
|
+
g as configureUIStrings,
|
|
71
71
|
f as currentThemeVars,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
Re as dynamicLightUI,
|
|
73
|
+
We as dynamicLightVars,
|
|
74
74
|
Be as foregroundTask,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
m as
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
y as
|
|
82
|
-
|
|
83
|
-
l as
|
|
75
|
+
M as getModalIndex,
|
|
76
|
+
h as getUIString,
|
|
77
|
+
m as initThemeDefaults,
|
|
78
|
+
s as isLightTheme,
|
|
79
|
+
k as isTopModal,
|
|
80
|
+
Le as mergeStyles,
|
|
81
|
+
y as modalShowing,
|
|
82
|
+
D as modalStack,
|
|
83
|
+
l as realThemeName,
|
|
84
|
+
p as registerAppTheme,
|
|
84
85
|
B as registerModal,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
86
|
+
d as selectedThemeHue,
|
|
87
|
+
x as selectedThemeName,
|
|
88
|
+
be as showTransactionalDialog,
|
|
89
|
+
Ce as taskManager,
|
|
90
|
+
u as theme,
|
|
91
|
+
n as themeClasses,
|
|
92
|
+
S as toasts,
|
|
93
|
+
U as unregisterModal
|
|
93
94
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";body:has(.components-module_e-IS4){background:#222;--text-color: #ffffffde;--link-color: #b3c6ff;--modal-backdrop-bg: #2b2b2b;--modal-button-bg: rgb(70, 70, 70);--modal-button-hover-bg: rgb(76, 76, 76);--modal-button-active-bg: rgb(81, 81, 81);--modal-title-handle-bg: rgb(100, 108, 255);--fl-bg: rgba(255, 255, 255, .15)}body:has(.components-module_e-IS4) .components-module_e-IS4{display:none}body:has(.components-module_e-IS4) ::selection{background:#7280ea}body:has(.components-module_e-IS4) button,body:has(.components-module_e-IS4) select,body:has(.components-module_e-IS4) a.button{background-color:#ffffff14}body:has(.components-module_e-IS4) button:not(:disabled):hover,body:has(.components-module_e-IS4) select:not(:disabled):hover,body:has(.components-module_e-IS4) a.button:not(:disabled):hover{background-color:#ffffff1a}body:has(.components-module_e-IS4) button:not(:disabled):active,body:has(.components-module_e-IS4) select:not(:disabled):active,body:has(.components-module_e-IS4) a.button:not(:disabled):active{background-color:#ffffff20}body:has(.components-module_e-IS4) option{background-color:#222;color:#fff}body:has(.components-module_e-IS4) .components-module_fsgc0{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox],body:has(.components-module_e-IS4) input[type=radio]{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox]:checked,body:has(.components-module_e-IS4) input[type=radio]:checked{background-color:#b3c6ff;border-color:#b3c6ff}body:has(.components-module_e-IS4) .components-module_GT7Cc{color:var(--link-color)}@media (hover: hover){body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb{background-color:#999}body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb:hover{background-color:#666!important}}body:has(.components-module_e-IS4) .bg-splash{background:#111}body:has(.components-module_e-IS4) .bg-avatarMenu,body:has(.components-module_e-IS4) .bg-dropMenu{background:#3a3a3acc}body:has(.components-module_e-IS4) .bg-avatarMenuButton:hover{background:#fff1}body:has(.components-module_e-IS4) .bg-foregroundTask{background:#111c}body:has(.components-module_e-IS4) .bg-taskManager{background-color:#ffffff1a}body:has(.components-module_e-IS4) .c-taskManager-spin{color:#fff}body:has(.components-module_e-IS4) .c-taskManager-text{color:#fff}body:has(.components-module_e-IS4) .bg-toast-bar{background:#282828}body:has(.components-module_e-IS4) .bg-toast{background:#333}body:has(.components-module_e-IS4) .bg-dialogButton-error{background-color:#9f1239!important}body:has(.components-module_e-IS4) .bg-dialogButton-error:hover{background-color:#be123c!important}body:has(.components-module_e-IS4) .bg-modal{background:#383838}body:has(.components-module_e-IS4) .components-module_MNdKs{--border-hover-c: #b3c6ff;--hover-bg: #ffffff1a;--focus--bg: #ffffff20;--bg: #ffffff14}body:has(.components-module_e-IS4) .components-module_tSHNB .components-module_BUF00{background:#646cff;color:#fff}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-{background:#2a2a2a}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-:hover{background:#333}body:has(.components-module_e-IS4) .components-module_9aZnJ{background:#f0f0f0}body:has(.components-module_e-IS4) .components-module_3aGwJ{--color: #3f3f3f}body:has(.components-module_e-IS4) .components-module_On6-m>a:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) a:hover:not(.components-module_eZ-4N),body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) div:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m .components-module_eZ-4N{background:#373737}body:has(.components-module_e-IS4) .components-module_ptXr7{--color: #973c00}.components-module_nM74x{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.components-module_nM74x:hover{background-color:#282828}.components-module_RJ4do,.components-module_YUTzr:active:hover{background-color:#333}.components-module_8hmM9{background-color:#222c}
|
|
1
|
+
@charset "UTF-8";body:has(.components-module_e-IS4){background:#222;--text-color: #ffffffde;--link-color: #b3c6ff;--select-selected-text-c: #b3c6ff;--modal-backdrop-bg: #2b2b2b;--modal-button-bg: rgb(70, 70, 70);--modal-button-hover-bg: rgb(76, 76, 76);--modal-button-active-bg: rgb(81, 81, 81);--modal-title-handle-bg: rgb(100, 108, 255);--fl-bg: rgba(255, 255, 255, .15)}body:has(.components-module_e-IS4) .components-module_e-IS4{display:none}body:has(.components-module_e-IS4) ::selection{background:#7280ea}body:has(.components-module_e-IS4) button,body:has(.components-module_e-IS4) select,body:has(.components-module_e-IS4) a.button{background-color:#ffffff14}body:has(.components-module_e-IS4) button:not(:disabled):hover,body:has(.components-module_e-IS4) select:not(:disabled):hover,body:has(.components-module_e-IS4) a.button:not(:disabled):hover{background-color:#ffffff1a}body:has(.components-module_e-IS4) button:not(:disabled):active,body:has(.components-module_e-IS4) select:not(:disabled):active,body:has(.components-module_e-IS4) a.button:not(:disabled):active{background-color:#ffffff20}body:has(.components-module_e-IS4) option{background-color:#222;color:#fff}body:has(.components-module_e-IS4) .components-module_fsgc0{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox],body:has(.components-module_e-IS4) input[type=radio]{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox]:checked,body:has(.components-module_e-IS4) input[type=radio]:checked{background-color:#b3c6ff;border-color:#b3c6ff}body:has(.components-module_e-IS4) .components-module_GT7Cc{color:var(--link-color)}@media (hover: hover){body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb{background-color:#999}body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb:hover{background-color:#666!important}}body:has(.components-module_e-IS4) .bg-splash{background:#111}body:has(.components-module_e-IS4) .bg-avatarMenu,body:has(.components-module_e-IS4) .bg-dropMenu{background:#3a3a3acc}body:has(.components-module_e-IS4) .bg-avatarMenuButton:hover{background:#fff1}body:has(.components-module_e-IS4) .bg-foregroundTask{background:#111c}body:has(.components-module_e-IS4) .bg-taskManager{background-color:#ffffff1a}body:has(.components-module_e-IS4) .c-taskManager-spin{color:#fff}body:has(.components-module_e-IS4) .c-taskManager-text{color:#fff}body:has(.components-module_e-IS4) .bg-toast-bar{background:#282828}body:has(.components-module_e-IS4) .bg-toast{background:#333}body:has(.components-module_e-IS4) .bg-dialogButton-error{background-color:#9f1239!important}body:has(.components-module_e-IS4) .bg-dialogButton-error:hover{background-color:#be123c!important}body:has(.components-module_e-IS4) .bg-modal{background:#383838}body:has(.components-module_e-IS4) .components-module_MNdKs{--border-hover-c: #b3c6ff;--hover-bg: #ffffff1a;--focus--bg: #ffffff20;--bg: #ffffff14}body:has(.components-module_e-IS4) .components-module_tSHNB .components-module_BUF00{background:#646cff;color:#fff}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-{background:#2a2a2a}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-:hover{background:#333}body:has(.components-module_e-IS4) .components-module_9aZnJ{background:#f0f0f0}body:has(.components-module_e-IS4) .components-module_3aGwJ{--color: #3f3f3f}body:has(.components-module_e-IS4) .components-module_On6-m>a:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) a:hover:not(.components-module_eZ-4N),body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) div:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m .components-module_eZ-4N{background:#373737}body:has(.components-module_e-IS4) .components-module_ptXr7{--color: #973c00}.components-module_nM74x{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.components-module_nM74x:hover{background-color:#282828}.components-module_RJ4do,.components-module_YUTzr:active:hover{background-color:#333}.components-module_8hmM9{background-color:#222c}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";body:has(.components-module_aU6Th){background:oklch(.99 .005 var(--hue));--text-color: #303133;--link-color: oklch(.68 .17 var(--hue));--modal-backdrop-bg: oklch(.995 .005 var(--hue));--modal-button-bg: oklch(.92 .01 var(--hue));--modal-button-hover-bg: oklch(.9 .02 var(--hue));--modal-button-active-bg: oklch(.9 .035 var(--hue));--modal-title-handle-bg: oklch(.7 .15 var(--hue));--fl-bg: oklch(.5 .16 var(--hue) / 15%)}body:has(.components-module_aU6Th) .components-module_aU6Th{display:none}body:has(.components-module_aU6Th) ::selection{background:oklch(.75 .14 var(--hue))}body:has(.components-module_aU6Th) button,body:has(.components-module_aU6Th) select,body:has(.components-module_aU6Th) a.button{background-color:oklch(.7 .07 var(--hue)/10%)}body:has(.components-module_aU6Th) button:not(:disabled):hover,body:has(.components-module_aU6Th) select:not(:disabled):hover,body:has(.components-module_aU6Th) a.button:not(:disabled):hover{background-color:oklch(.7 .07 var(--hue)/17%)}body:has(.components-module_aU6Th) button:not(:disabled):active,body:has(.components-module_aU6Th) select:not(:disabled):active,body:has(.components-module_aU6Th) a.button:not(:disabled):active{background-color:oklch(.7 .07 var(--hue)/.2)}body:has(.components-module_aU6Th) option{background-color:oklch(.86 .01 var(--hue));color:#303133}body:has(.components-module_aU6Th) .components-module_q2zOw{border-color:oklch(.68 .17 var(--hue))}body:has(.components-module_aU6Th) input[type=checkbox],body:has(.components-module_aU6Th) input[type=radio]{border-color:oklch(.68 .17 var(--hue))}body:has(.components-module_aU6Th) input[type=checkbox]:checked,body:has(.components-module_aU6Th) input[type=radio]:checked{background-color:oklch(.68 .17 var(--hue));border-color:oklch(.68 .17 var(--hue))}body:has(.components-module_aU6Th) .components-module_hwJZP{color:var(--link-color)}@media (hover: hover){body:has(.components-module_aU6Th) .cst::-webkit-scrollbar-thumb{background-color:oklch(.86 .01 var(--hue))}body:has(.components-module_aU6Th) .cst::-webkit-scrollbar-thumb:hover{background-color:oklch(.7 .01 var(--hue))!important}}body:has(.components-module_aU6Th) .bg-splash{background:oklch(.95 .01 var(--hue))}body:has(.components-module_aU6Th) .bg-dropMenu{background:oklch(.9 .02 var(--hue)/50%)}body:has(.components-module_aU6Th) .bg-avatarMenu{background:oklch(.8 .02 var(--hue)/20%)}body:has(.components-module_aU6Th) .bg-avatarMenuButton:hover{background:oklch(.6 .1 var(--hue)/15%)}body:has(.components-module_aU6Th) .bg-foregroundTask{background:oklch(.95 .01 var(--hue)/80%)}body:has(.components-module_aU6Th) .bg-taskManager{background-color:oklch(.6 .2 var(--hue)/10%)}body:has(.components-module_aU6Th) .c-taskManager-spin{color:#000}body:has(.components-module_aU6Th) .c-taskManager-text{color:#000}body:has(.components-module_aU6Th) .bg-toast-bar{background:oklch(.9 .03 var(--hue))}body:has(.components-module_aU6Th) .bg-toast{background:oklch(.95 .02 var(--hue))}body:has(.components-module_aU6Th) .bg-dialogButton-error{background-color:#ffa3ae!important;background-color:oklch(81% .117 11.638deg)!important}body:has(.components-module_aU6Th) .bg-dialogButton-error:hover{background-color:#ff94a0!important;background-color:oklch(78.2% .194 13.428deg)!important}body:has(.components-module_aU6Th) .bg-modal{background:oklch(.96 .008 var(--hue))}body:has(.components-module_aU6Th) .components-module_War-Y{--border-hover-c: oklch(.68 .17 var(--hue));--hover-bg: oklch(.7 .07 var(--hue) / .17);--focus--bg: oklch(.7 .07 var(--hue) / .2);--bg: oklch(.7 .07 var(--hue) / .1)}body:has(.components-module_aU6Th) .components-module_GPoBj .components-module_hpzJ-{background:oklch(.8 .1 var(--hue));color:#fff}body:has(.components-module_aU6Th) .components-module_ufOko .components-module_DKGXD{background:oklch(.96 .01 var(--hue))}body:has(.components-module_aU6Th) .components-module_ufOko .components-module_DKGXD:hover{background:oklch(.95 .02 var(--hue))}body:has(.components-module_aU6Th) .mnui-modal-root .components-module_ufOko .components-module_DKGXD{background:oklch(.935 .03 var(--hue))}body:has(.components-module_aU6Th) .mnui-modal-root .components-module_ufOko .components-module_DKGXD:hover{background:oklch(.92 .04 var(--hue))}body:has(.components-module_aU6Th) .components-module_dAHW9{background:oklch(.99 .005 var(--hue))}body:has(.components-module_aU6Th) .components-module_Fllz5{--color: oklch(.9 .03 var(--hue))}body:has(.components-module_aU6Th) .components-module_04-hf>a:hover:not(.components-module_JBxO-):not(.components-module_gtFY1),body:has(.components-module_aU6Th) .components-module_04-hf div:hover:not(.components-module_JBxO-):not(.components-module_gtFY1){background:oklch(.95 .01 var(--hue))}body:has(.components-module_aU6Th) .components-module_04-hf :not(.components-module_JBxO-):not(.components-module_gtFY1) a:hover:not(.components-module_JBxO-):not(.components-module_gtFY1),body:has(.components-module_aU6Th) .components-module_04-hf :not(.components-module_JBxO-):not(.components-module_gtFY1) div:hover:not(.components-module_JBxO-):not(.components-module_gtFY1){background:oklch(.95 .01 var(--hue))}body:has(.components-module_aU6Th) .components-module_04-hf .components-module_JBxO-{background:oklch(.85 .07 var(--hue))}body:has(.components-module_aU6Th) .components-module_Zdbrb{--color: #ff8d49}.components-module_syqj3{background-color:oklch(.97 .01 var(--hue))}.components-module_zgtTu{background-color:oklch(.96 .012 var(--hue))}.components-module_h-kZg{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.components-module_h-kZg:hover{background-color:oklch(.95 .02 var(--hue))}.components-module_cPvJp,.components-module_MNuyf:active:hover{background-color:oklch(.92 .04 var(--hue))!important}
|
|
1
|
+
@charset "UTF-8";body:has(.components-module_aU6Th){background:oklch(.99 .005 var(--hue));--text-color: #303133;--link-color: oklch(.68 .17 var(--hue));--modal-backdrop-bg: oklch(.995 .005 var(--hue));--modal-button-bg: oklch(.92 .01 var(--hue));--modal-button-hover-bg: oklch(.9 .02 var(--hue));--modal-button-active-bg: oklch(.9 .035 var(--hue));--modal-title-handle-bg: oklch(.7 .15 var(--hue));--select-selected-text-c: oklch(.68 .17 var(--hue));--fl-bg: oklch(.5 .16 var(--hue) / 15%)}body:has(.components-module_aU6Th) .components-module_aU6Th{display:none}body:has(.components-module_aU6Th) ::selection{background:oklch(.75 .14 var(--hue))}body:has(.components-module_aU6Th) button,body:has(.components-module_aU6Th) select,body:has(.components-module_aU6Th) a.button{background-color:oklch(.7 .07 var(--hue)/10%)}body:has(.components-module_aU6Th) button:not(:disabled):hover,body:has(.components-module_aU6Th) select:not(:disabled):hover,body:has(.components-module_aU6Th) a.button:not(:disabled):hover{background-color:oklch(.7 .07 var(--hue)/17%)}body:has(.components-module_aU6Th) button:not(:disabled):active,body:has(.components-module_aU6Th) select:not(:disabled):active,body:has(.components-module_aU6Th) a.button:not(:disabled):active{background-color:oklch(.7 .07 var(--hue)/.2)}body:has(.components-module_aU6Th) option{background-color:oklch(.86 .01 var(--hue));color:#303133}body:has(.components-module_aU6Th) .components-module_q2zOw{border-color:oklch(.68 .17 var(--hue))}body:has(.components-module_aU6Th) input[type=checkbox],body:has(.components-module_aU6Th) input[type=radio]{border-color:oklch(.68 .17 var(--hue))}body:has(.components-module_aU6Th) input[type=checkbox]:checked,body:has(.components-module_aU6Th) input[type=radio]:checked{background-color:oklch(.68 .17 var(--hue));border-color:oklch(.68 .17 var(--hue))}body:has(.components-module_aU6Th) .components-module_hwJZP{color:var(--link-color)}@media (hover: hover){body:has(.components-module_aU6Th) .cst::-webkit-scrollbar-thumb{background-color:oklch(.86 .01 var(--hue))}body:has(.components-module_aU6Th) .cst::-webkit-scrollbar-thumb:hover{background-color:oklch(.7 .01 var(--hue))!important}}body:has(.components-module_aU6Th) .bg-splash{background:oklch(.95 .01 var(--hue))}body:has(.components-module_aU6Th) .bg-dropMenu{background:oklch(.9 .02 var(--hue)/50%)}body:has(.components-module_aU6Th) .bg-avatarMenu{background:oklch(.8 .02 var(--hue)/20%)}body:has(.components-module_aU6Th) .bg-avatarMenuButton:hover{background:oklch(.6 .1 var(--hue)/15%)}body:has(.components-module_aU6Th) .bg-foregroundTask{background:oklch(.95 .01 var(--hue)/80%)}body:has(.components-module_aU6Th) .bg-taskManager{background-color:oklch(.6 .2 var(--hue)/10%)}body:has(.components-module_aU6Th) .c-taskManager-spin{color:#000}body:has(.components-module_aU6Th) .c-taskManager-text{color:#000}body:has(.components-module_aU6Th) .bg-toast-bar{background:oklch(.9 .03 var(--hue))}body:has(.components-module_aU6Th) .bg-toast{background:oklch(.95 .02 var(--hue))}body:has(.components-module_aU6Th) .bg-dialogButton-error{background-color:#ffa3ae!important;background-color:oklch(81% .117 11.638deg)!important}body:has(.components-module_aU6Th) .bg-dialogButton-error:hover{background-color:#ff94a0!important;background-color:oklch(78.2% .194 13.428deg)!important}body:has(.components-module_aU6Th) .bg-modal{background:oklch(.96 .008 var(--hue))}body:has(.components-module_aU6Th) .components-module_War-Y{--border-hover-c: oklch(.68 .17 var(--hue));--hover-bg: oklch(.7 .07 var(--hue) / .17);--focus--bg: oklch(.7 .07 var(--hue) / .2);--bg: oklch(.7 .07 var(--hue) / .1)}body:has(.components-module_aU6Th) .components-module_GPoBj .components-module_hpzJ-{background:oklch(.8 .1 var(--hue));color:#fff}body:has(.components-module_aU6Th) .components-module_ufOko .components-module_DKGXD{background:oklch(.96 .01 var(--hue))}body:has(.components-module_aU6Th) .components-module_ufOko .components-module_DKGXD:hover{background:oklch(.95 .02 var(--hue))}body:has(.components-module_aU6Th) .mnui-modal-root .components-module_ufOko .components-module_DKGXD{background:oklch(.935 .03 var(--hue))}body:has(.components-module_aU6Th) .mnui-modal-root .components-module_ufOko .components-module_DKGXD:hover{background:oklch(.92 .04 var(--hue))}body:has(.components-module_aU6Th) .components-module_dAHW9{background:oklch(.99 .005 var(--hue))}body:has(.components-module_aU6Th) .components-module_Fllz5{--color: oklch(.9 .03 var(--hue))}body:has(.components-module_aU6Th) .components-module_04-hf>a:hover:not(.components-module_JBxO-):not(.components-module_gtFY1),body:has(.components-module_aU6Th) .components-module_04-hf div:hover:not(.components-module_JBxO-):not(.components-module_gtFY1){background:oklch(.95 .01 var(--hue))}body:has(.components-module_aU6Th) .components-module_04-hf :not(.components-module_JBxO-):not(.components-module_gtFY1) a:hover:not(.components-module_JBxO-):not(.components-module_gtFY1),body:has(.components-module_aU6Th) .components-module_04-hf :not(.components-module_JBxO-):not(.components-module_gtFY1) div:hover:not(.components-module_JBxO-):not(.components-module_gtFY1){background:oklch(.95 .01 var(--hue))}body:has(.components-module_aU6Th) .components-module_04-hf .components-module_JBxO-{background:oklch(.85 .07 var(--hue))}body:has(.components-module_aU6Th) .components-module_Zdbrb{--color: #ff8d49}.components-module_syqj3{background-color:oklch(.97 .01 var(--hue))}.components-module_zgtTu{background-color:oklch(.96 .012 var(--hue))}.components-module_h-kZg{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.components-module_h-kZg:hover{background-color:oklch(.95 .02 var(--hue))}.components-module_cPvJp,.components-module_MNuyf:active:hover{background-color:oklch(.92 .04 var(--hue))!important}
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -23,6 +23,14 @@ export declare function registerAppTheme(uiTheme: number, appTheme: ThemeLayer):
|
|
|
23
23
|
* 清除所有注册的业务主题
|
|
24
24
|
*/
|
|
25
25
|
export declare function clearAppThemes(): void;
|
|
26
|
+
/**
|
|
27
|
+
* 初始化主题默认值(在应用入口调用)
|
|
28
|
+
* 仅在值未设置时生效,不会覆盖用户已有的选择
|
|
29
|
+
*/
|
|
30
|
+
export declare function initThemeDefaults(defaults?: {
|
|
31
|
+
hue?: number;
|
|
32
|
+
theme?: UIThemes;
|
|
33
|
+
}): void;
|
|
26
34
|
export declare const theme: import("vue").ComputedRef<import(".").StylesModule>;
|
|
27
35
|
export declare const themeClasses: import("vue").ComputedRef<string>;
|
|
28
36
|
export declare const isLightTheme: import("vue").ComputedRef<boolean>;
|
package/dist/themes/index.js
CHANGED
|
@@ -1,82 +1,86 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { useStorage as s, usePreferredDark as
|
|
3
|
-
import
|
|
4
|
-
import { dynamicLightUI as
|
|
5
|
-
import { aquadxUI as
|
|
6
|
-
import { composeThemeStyles as
|
|
7
|
-
import { mergeStyles as
|
|
8
|
-
var
|
|
9
|
-
const
|
|
10
|
-
root:
|
|
11
|
-
styles:
|
|
12
|
-
}, m = CSS.supports("color", "oklch(0.5 0.1 200)"),
|
|
1
|
+
import { computed as r, ref as v, watch as g } from "vue";
|
|
2
|
+
import { useStorage as s, usePreferredDark as y, useCssVar as d } from "@vueuse/core";
|
|
3
|
+
import n from "./global.module.sass.js";
|
|
4
|
+
import { dynamicLightUI as l, dynamicLightVars as T } from "./dynamicLight/index.js";
|
|
5
|
+
import { aquadxUI as S, aquadxVars as A } from "./aquadx/index.js";
|
|
6
|
+
import { composeThemeStyles as D, composeThemeRoots as L } from "./base/composer.js";
|
|
7
|
+
import { mergeStyles as F } from "./base/composer.js";
|
|
8
|
+
var k = /* @__PURE__ */ ((e) => (e[e.Auto = 0] = "Auto", e[e.DynamicLight = 1] = "DynamicLight", e[e.AquaDX = 2] = "AquaDX", e))(k || {});
|
|
9
|
+
const c = {
|
|
10
|
+
root: n.root,
|
|
11
|
+
styles: n
|
|
12
|
+
}, m = CSS.supports("color", "oklch(0.5 0.1 200)"), t = s(
|
|
13
13
|
"theme",
|
|
14
14
|
0
|
|
15
15
|
/* Auto */
|
|
16
|
-
),
|
|
16
|
+
), o = s("theme-hue", null), i = y(), h = r(() => m ? t.value === 0 ? i.value ? 2 : 1 : t.value : 2), q = {
|
|
17
17
|
root: "",
|
|
18
18
|
styles: {}
|
|
19
|
-
}, a =
|
|
20
|
-
switch (
|
|
19
|
+
}, a = r(() => {
|
|
20
|
+
switch (h.value) {
|
|
21
21
|
case 2:
|
|
22
|
-
return
|
|
22
|
+
return S;
|
|
23
23
|
case 1:
|
|
24
|
-
return
|
|
24
|
+
return l;
|
|
25
25
|
default:
|
|
26
26
|
return q;
|
|
27
27
|
}
|
|
28
|
-
}), R =
|
|
29
|
-
switch (
|
|
28
|
+
}), R = r(() => {
|
|
29
|
+
switch (h.value) {
|
|
30
30
|
case 2:
|
|
31
|
-
return
|
|
31
|
+
return A;
|
|
32
32
|
case 1:
|
|
33
33
|
default:
|
|
34
|
-
return
|
|
34
|
+
return T;
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
37
|
-
function X(e,
|
|
38
|
-
|
|
36
|
+
}), u = v(/* @__PURE__ */ new Map());
|
|
37
|
+
function X(e, f) {
|
|
38
|
+
u.value.set(e, f);
|
|
39
39
|
}
|
|
40
40
|
function M() {
|
|
41
|
-
|
|
41
|
+
u.value.clear();
|
|
42
|
+
}
|
|
43
|
+
function O(e = {}) {
|
|
44
|
+
o.value == null && (o.value = e.hue ?? 300), e.theme != null && t.value == null && (t.value = e.theme);
|
|
42
45
|
}
|
|
43
|
-
const p =
|
|
46
|
+
const p = r(() => {
|
|
44
47
|
if (!m)
|
|
45
|
-
return
|
|
48
|
+
return u.value.get(
|
|
46
49
|
2
|
|
47
50
|
/* AquaDX */
|
|
48
51
|
);
|
|
49
|
-
let e =
|
|
50
|
-
return e === 0 && (e =
|
|
51
|
-
}),
|
|
52
|
-
|
|
52
|
+
let e = t.value;
|
|
53
|
+
return e === 0 && (e = i.value ? 2 : 1), u.value.get(e);
|
|
54
|
+
}), P = D(
|
|
55
|
+
c,
|
|
53
56
|
a,
|
|
54
57
|
p
|
|
55
|
-
),
|
|
56
|
-
|
|
58
|
+
), j = L(
|
|
59
|
+
c,
|
|
57
60
|
a,
|
|
58
61
|
p
|
|
59
62
|
), w = d("--hue", document.body);
|
|
60
|
-
g(
|
|
63
|
+
g(o, (e) => {
|
|
61
64
|
w.value = e.toString();
|
|
62
65
|
}, { immediate: !0 });
|
|
63
|
-
const
|
|
66
|
+
const z = r(() => a.value === l);
|
|
64
67
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
k as UIThemes,
|
|
69
|
+
S as aquadxUI,
|
|
70
|
+
A as aquadxVars,
|
|
68
71
|
M as clearAppThemes,
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
L as composeThemeRoots,
|
|
73
|
+
D as composeThemeStyles,
|
|
71
74
|
R as currentThemeVars,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
l as dynamicLightUI,
|
|
76
|
+
T as dynamicLightVars,
|
|
77
|
+
O as initThemeDefaults,
|
|
78
|
+
z as isLightTheme,
|
|
79
|
+
F as mergeStyles,
|
|
80
|
+
h as realThemeName,
|
|
77
81
|
X as registerAppTheme,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
o as selectedThemeHue,
|
|
83
|
+
t as selectedThemeName,
|
|
84
|
+
P as theme,
|
|
85
|
+
j as themeClasses
|
|
82
86
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@munet/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
"vue": "^3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@iconify-json/carbon": "^1.2.18",
|
|
39
|
+
"@iconify-json/solar": "^1.2.5",
|
|
38
40
|
"@types/lodash-es": "^4.17.12",
|
|
39
41
|
"@unocss/preset-wind3": "^66.3.3",
|
|
40
42
|
"@vitejs/plugin-vue": "^6.0.0",
|