adverich-kun-ui 0.1.48 → 0.1.50
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/adverich-kun-ui.css +1 -1
- package/dist/components/KunCard/src/components/KunCard.vue.js +49 -50
- package/dist/components/KunCard/src/composables/kunCardProps.js +43 -0
- package/dist/components/KunCard/src/composables/useCard.js +16 -0
- package/dist/components/KunCardActions/src/components/KunCardActions.vue.js +22 -0
- package/dist/components/KunCardActions/src/composables/kunCardActionsProps.js +35 -0
- package/dist/components/KunCardActions/src/composables/useCardActions.js +19 -0
- package/dist/components/KunCardItem/src/components/KunCardItem.vue.js +22 -0
- package/dist/components/KunCardItem/src/composables/kunCardItemProps.js +21 -0
- package/dist/components/KunCardItem/src/composables/useCardItem.js +17 -0
- package/dist/components/KunCardSubtitle/src/components/KunCardSubtitle.vue.js +24 -0
- package/dist/components/KunCardSubtitle/src/composables/kunCardSubtitleProps.js +25 -0
- package/dist/components/KunCardSubtitle/src/composables/useCardSubtitle.js +15 -0
- package/dist/components/KunCardText/src/components/KunCardText.vue.js +21 -56
- package/dist/components/KunCardText/src/composables/kunCardTextProps.js +25 -0
- package/dist/components/KunCardText/src/composables/useCardText.js +15 -0
- package/dist/components/KunCardTitle/src/components/KunCardTitle.vue.js +61 -0
- package/dist/components/KunCardTitle/src/composables/kunCardTitleProps.js +58 -0
- package/dist/components/KunCardTitle/src/composables/useCardTitle.js +25 -0
- package/dist/components/KunCol/src/components/KunCol.vue.js +53 -0
- package/dist/components/KunContainer/src/components/KunContainer.vue.js +41 -0
- package/dist/components/KunForm/src/components/KunForm.vue.js +62 -0
- package/dist/components/KunLoaderCircular/src/components/KunLoaderCircular.vue.js +42 -0
- package/dist/components/KunRow/src/components/KunRow.vue.js +57 -0
- package/dist/components/KunSlider/src/components/KunSlider.vue.js +52 -0
- package/dist/components/KunSlider/src/composables/useSlider.js +17 -0
- package/dist/components/KunSlider/src/composables/useSliderProps.js +49 -0
- package/dist/index.js +77 -47
- package/package.json +1 -1
package/dist/adverich-kun-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-green-600:oklch(62.7% .194 149.214);--color-blue-900:oklch(37.9% .146 265.522);--color-indigo-600:oklch(51.1% .262 276.966);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-50{z-index:50}.mx-4{margin-inline:calc(var(--spacing)*4)}.my-2{margin-block:calc(var(--spacing)*2)}.my-4{margin-block:calc(var(--spacing)*4)}.mt-1{margin-top:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-14{margin-left:calc(var(--spacing)*14)}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-fit{height:fit-content}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-svw{width:100svw}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[6rem\]{min-width:6rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing)*3);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-4{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-4\.5{--tw-translate-x:calc(var(--spacing)*4.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-4\.25{--tw-translate-x:calc(var(--spacing)*4.25);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-7{--tw-translate-x:calc(var(--spacing)*7);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[3px\]{border-style:var(--tw-border-style);border-width:3px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-current{border-color:currentColor}.border-gray-200{border-color:var(--color-gray-200)}.border-red-500{border-color:var(--color-red-500)}.border-t-transparent{border-top-color:#0000}.bg-blue-900{background-color:var(--color-blue-900)}.bg-current{background-color:currentColor}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-200{background-color:var(--color-red-200)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-16{padding-inline:calc(var(--spacing)*16)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-14{padding-block:calc(var(--spacing)*14)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-6{padding-left:calc(var(--spacing)*6)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-9xl{font-size:var(--text-9xl);line-height:var(--tw-leading,var(--text-9xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-wrap{text-wrap:wrap}.break-keep{word-break:keep-all}.whitespace-nowrap{white-space:nowrap}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.text-red-500{color:var(--color-red-500)}.text-red-900{color:var(--color-red-900)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:opacity-90:hover{opacity:.9}.hover\:brightness-90:hover{--tw-brightness:brightness(90%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-\[\.98\]:active{scale:.98}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}[data-v-c3a2b846]::-webkit-scrollbar-track{border-radius:0 0 10px}#txt,#hide{font:inherit;margin:0;padding:0}#txt{padding:0 2px;text-align:center;min-width:50px;max-width:100%;overflow:hidden;text-overflow:ellipsis}#txt:focus-visible{outline:none}#hide{position:absolute;height:0;overflow:hidden;white-space:pre}
|
|
1
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-900:oklch(39.6% .141 25.723);--color-green-100:oklch(96.2% .044 156.743);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-indigo-600:oklch(51.1% .262 276.966);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.-top-7{top:calc(var(--spacing)*-7)}.top-0{top:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.z-50{z-index:50}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.-mx-4{margin-inline:calc(var(--spacing)*-4)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.my-2{margin-block:calc(var(--spacing)*2)}.my-4{margin-block:calc(var(--spacing)*4)}.mt-1{margin-top:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-14{margin-left:calc(var(--spacing)*14)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-1{height:calc(var(--spacing)*1)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-fit{height:fit-content}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-svw{width:100svw}.max-w-full{max-width:100%}.max-w-screen-sm{max-width:var(--breakpoint-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[6rem\]{min-width:6rem}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.origin-bottom{transform-origin:bottom}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing)*3);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-4{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-4\.5{--tw-translate-x:calc(var(--spacing)*4.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-4\.25{--tw-translate-x:calc(var(--spacing)*4.25);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-5{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing)*6);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-7{--tw-translate-x:calc(var(--spacing)*7);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[3px\]{border-style:var(--tw-border-style);border-width:3px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-current{border-color:currentColor}.border-gray-200{border-color:var(--color-gray-200)}.border-red-500{border-color:var(--color-red-500)}.border-t-transparent{border-top-color:#0000}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-900{background-color:var(--color-blue-900)}.bg-current{background-color:currentColor}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-600{background-color:var(--color-green-600)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-200{background-color:var(--color-red-200)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-16{padding-inline:calc(var(--spacing)*16)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-14{padding-block:calc(var(--spacing)*14)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-6{padding-left:calc(var(--spacing)*6)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-9xl{font-size:var(--text-9xl);line-height:var(--tw-leading,var(--text-9xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-wrap{text-wrap:wrap}.break-keep{word-break:keep-all}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-700{color:var(--color-green-700)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-900{color:var(--color-red-900)}.text-white{color:var(--color-white)}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:opacity-90:hover{opacity:.9}.hover\:brightness-90:hover{--tw-brightness:brightness(90%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-\[\.98\]:active{scale:.98}@media (min-width:40rem){.sm\:max-w-screen-md{max-width:var(--breakpoint-md)}.sm\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\:max-w-screen-lg{max-width:var(--breakpoint-lg)}}@media (min-width:64rem){.lg\:max-w-screen-xl{max-width:var(--breakpoint-xl)}.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}@media (min-width:80rem){.xl\:max-w-screen-2xl{max-width:var(--breakpoint-2xl)}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}[data-v-c3a2b846]::-webkit-scrollbar-track{border-radius:0 0 10px}#txt,#hide{font:inherit;margin:0;padding:0}#txt{padding:0 2px;text-align:center;min-width:50px;max-width:100%;overflow:hidden;text-overflow:ellipsis}#txt:focus-visible{outline:none}#hide{position:absolute;height:0;overflow:hidden;white-space:pre}/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */.kun-slider--disabled input[data-v-09e03616]{cursor:not-allowed;opacity:.6}
|
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { createElementBlock as o, openBlock as e, normalizeStyle as c, normalizeClass as p, unref as i, createCommentVNode as l, createVNode as s, withCtx as r, createBlock as _, renderSlot as a } from "vue";
|
|
2
|
+
import { useCard as k } from "../composables/useCard.js";
|
|
3
|
+
import { kunCardProps as $ } from "../composables/kunCardProps.js";
|
|
4
|
+
import n from "../../../KunCardItem/src/components/KunCardItem.vue.js";
|
|
5
|
+
import y from "../../../KunCardTitle/src/components/KunCardTitle.vue.js";
|
|
6
|
+
import C from "../../../KunCardText/src/components/KunCardText.vue.js";
|
|
7
|
+
import h from "../../../KunCardActions/src/components/KunCardActions.vue.js";
|
|
8
|
+
const v = { key: 0 }, b = { key: 1 }, B = { key: 2 }, g = {
|
|
9
|
+
__name: "KunCard",
|
|
10
|
+
props: $,
|
|
11
|
+
setup(m) {
|
|
12
|
+
const u = m, {
|
|
13
|
+
cardClass: d,
|
|
14
|
+
cardStyle: f
|
|
15
|
+
} = k(u);
|
|
16
|
+
return (t, S) => (e(), o("div", {
|
|
17
|
+
class: p(["w-full", i(d)]),
|
|
18
|
+
style: c(i(f))
|
|
19
|
+
}, [
|
|
20
|
+
t.$slots.title || t.title ? (e(), o("div", v, [
|
|
21
|
+
s(n, { dense: "" }, {
|
|
22
|
+
default: r(() => [
|
|
23
|
+
s(y, {
|
|
24
|
+
title: t.title,
|
|
25
|
+
subtitle: t.subtitle
|
|
26
|
+
}, null, 8, ["title", "subtitle"])
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
})
|
|
30
|
+
])) : l("", !0),
|
|
31
|
+
t.$slots.default || t.text ? (e(), o("div", b, [
|
|
32
|
+
t.text ? (e(), _(n, { key: 0 }, {
|
|
33
|
+
default: r(() => [
|
|
34
|
+
s(C, { text: t.text }, null, 8, ["text"])
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
})) : a(t.$slots, "default", { key: 1 })
|
|
38
|
+
])) : l("", !0),
|
|
39
|
+
t.$slots.actions ? (e(), o("div", B, [
|
|
40
|
+
s(h, null, {
|
|
41
|
+
default: r(() => [
|
|
42
|
+
a(t.$slots, "actions")
|
|
43
|
+
]),
|
|
44
|
+
_: 3
|
|
45
|
+
})
|
|
46
|
+
])) : l("", !0)
|
|
47
|
+
], 6));
|
|
40
48
|
}
|
|
41
|
-
}
|
|
42
|
-
function u(e, f, t, c, g, s) {
|
|
43
|
-
return r(), n("div", {
|
|
44
|
-
class: l(["flex flex-col", [t.rounded, t.variant, t.height, t.width, t.bgColor]]),
|
|
45
|
-
to: t.to
|
|
46
|
-
}, [
|
|
47
|
-
o(e.$slots, "default")
|
|
48
|
-
], 10, a);
|
|
49
|
-
}
|
|
50
|
-
const h = /* @__PURE__ */ i(d, [["render", u]]);
|
|
49
|
+
};
|
|
51
50
|
export {
|
|
52
|
-
|
|
51
|
+
g as default
|
|
53
52
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
title: {
|
|
3
|
+
type: String,
|
|
4
|
+
default: null
|
|
5
|
+
},
|
|
6
|
+
subtitle: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: null
|
|
9
|
+
},
|
|
10
|
+
text: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: null
|
|
13
|
+
},
|
|
14
|
+
bgColor: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "bg-white"
|
|
17
|
+
},
|
|
18
|
+
flat: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
rounded: {
|
|
23
|
+
type: [Boolean, String],
|
|
24
|
+
default: !0,
|
|
25
|
+
validator: (t) => typeof t == "boolean" || ["sm", "md", "lg", "xl"].includes(t)
|
|
26
|
+
},
|
|
27
|
+
elevation: {
|
|
28
|
+
type: [String, Number],
|
|
29
|
+
default: 1,
|
|
30
|
+
validator: (t) => ["0", "1", "2", "3", "4", "5", "", 0, 1, 2, 3, 4, 5].includes(t)
|
|
31
|
+
},
|
|
32
|
+
class: {
|
|
33
|
+
type: [String, Array, Object],
|
|
34
|
+
default: null
|
|
35
|
+
},
|
|
36
|
+
style: {
|
|
37
|
+
type: Object,
|
|
38
|
+
default: null
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
e as kunCardProps
|
|
43
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { computed as e } from "vue";
|
|
2
|
+
function o(d) {
|
|
3
|
+
const n = e(() => [
|
|
4
|
+
d.bgColor,
|
|
5
|
+
d.flat ? "shadow-none" : "shadow-md",
|
|
6
|
+
d.rounded === !0 ? "rounded-lg" : d.rounded ? `rounded-${d.rounded}` : "",
|
|
7
|
+
d.class
|
|
8
|
+
].filter(Boolean)), r = e(() => d.style || {});
|
|
9
|
+
return {
|
|
10
|
+
cardClass: n,
|
|
11
|
+
cardStyle: r
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
o as useCard
|
|
16
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as a, openBlock as l, normalizeStyle as c, normalizeClass as i, unref as o, renderSlot as m } from "vue";
|
|
2
|
+
import { useCardActions as p } from "../composables/useCardActions.js";
|
|
3
|
+
import { kunCardActionsProps as u } from "../composables/kunCardActionsProps.js";
|
|
4
|
+
const k = {
|
|
5
|
+
__name: "KunCardActions",
|
|
6
|
+
props: u,
|
|
7
|
+
setup(r) {
|
|
8
|
+
const e = r, {
|
|
9
|
+
containerClass: t,
|
|
10
|
+
containerStyle: n
|
|
11
|
+
} = p(e);
|
|
12
|
+
return (s, f) => (l(), a("div", {
|
|
13
|
+
class: i(["w-full", o(t)]),
|
|
14
|
+
style: c(o(n))
|
|
15
|
+
}, [
|
|
16
|
+
m(s.$slots, "default")
|
|
17
|
+
], 6));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
k as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
gap: {
|
|
3
|
+
type: [String, Number],
|
|
4
|
+
default: "gap-2"
|
|
5
|
+
},
|
|
6
|
+
justify: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "justify-start",
|
|
9
|
+
validator: (t) => ["justify-start", "justify-end", "justify-center", "justify-between", "justify-around"].includes(t)
|
|
10
|
+
},
|
|
11
|
+
align: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "items-center",
|
|
14
|
+
validator: (t) => ["items-start", "items-end", "items-center", "items-stretch"].includes(t)
|
|
15
|
+
},
|
|
16
|
+
wrap: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !1
|
|
19
|
+
},
|
|
20
|
+
dense: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !1
|
|
23
|
+
},
|
|
24
|
+
class: {
|
|
25
|
+
type: [String, Array, Object],
|
|
26
|
+
default: null
|
|
27
|
+
},
|
|
28
|
+
style: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default: null
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
e as kunCardActionsProps
|
|
35
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { computed as n } from "vue";
|
|
2
|
+
function r(e) {
|
|
3
|
+
const t = n(() => [
|
|
4
|
+
"flex",
|
|
5
|
+
e.wrap ? "flex-wrap" : "flex-nowrap",
|
|
6
|
+
e.justify,
|
|
7
|
+
e.align,
|
|
8
|
+
e.gap,
|
|
9
|
+
e.dense ? "py-1 px-2" : "py-3 px-4",
|
|
10
|
+
e.class
|
|
11
|
+
].filter(Boolean)), a = n(() => e.style || {});
|
|
12
|
+
return {
|
|
13
|
+
containerClass: t,
|
|
14
|
+
containerStyle: a
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
r as useCardActions
|
|
19
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as a, openBlock as l, normalizeStyle as m, normalizeClass as c, unref as e, renderSlot as p } from "vue";
|
|
2
|
+
import { useCardItem as u } from "../composables/useCardItem.js";
|
|
3
|
+
import { kunCardItemProps as i } from "../composables/kunCardItemProps.js";
|
|
4
|
+
const k = {
|
|
5
|
+
__name: "KunCardItem",
|
|
6
|
+
props: i,
|
|
7
|
+
setup(r) {
|
|
8
|
+
const t = r, {
|
|
9
|
+
containerClass: o,
|
|
10
|
+
containerStyle: n
|
|
11
|
+
} = u(t);
|
|
12
|
+
return (s, f) => (l(), a("div", {
|
|
13
|
+
class: c(["w-full", e(o)]),
|
|
14
|
+
style: m(e(n))
|
|
15
|
+
}, [
|
|
16
|
+
p(s.$slots, "default")
|
|
17
|
+
], 6));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
k as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
gap: {
|
|
3
|
+
type: [String, Number],
|
|
4
|
+
default: "gap-1"
|
|
5
|
+
},
|
|
6
|
+
dense: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
},
|
|
10
|
+
class: {
|
|
11
|
+
type: [String, Array, Object],
|
|
12
|
+
default: null
|
|
13
|
+
},
|
|
14
|
+
style: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: null
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as kunCardItemProps
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { computed as t } from "vue";
|
|
2
|
+
function o(e) {
|
|
3
|
+
const n = t(() => [
|
|
4
|
+
"flex",
|
|
5
|
+
"flex-col",
|
|
6
|
+
e.dense ? "py-1 px-2" : "py-3 px-4",
|
|
7
|
+
e.gap,
|
|
8
|
+
e.class
|
|
9
|
+
].filter(Boolean)), r = t(() => e.style || {});
|
|
10
|
+
return {
|
|
11
|
+
containerClass: n,
|
|
12
|
+
containerStyle: r
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
o as useCardItem
|
|
17
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock as a, openBlock as n, normalizeStyle as i, normalizeClass as u, unref as e, renderSlot as m, createTextVNode as p, toDisplayString as c } from "vue";
|
|
2
|
+
import { useCardSubtitle as d } from "../composables/useCardSubtitle.js";
|
|
3
|
+
import { kunCardSubtitleProps as f } from "../composables/kunCardSubtitleProps.js";
|
|
4
|
+
const _ = {
|
|
5
|
+
__name: "KunCardSubtitle",
|
|
6
|
+
props: f,
|
|
7
|
+
setup(r) {
|
|
8
|
+
const o = r, {
|
|
9
|
+
subtitleClass: s,
|
|
10
|
+
subtitleStyle: l
|
|
11
|
+
} = d(o);
|
|
12
|
+
return (t, S) => (n(), a("div", {
|
|
13
|
+
class: u(["text-sm text-gray-500 font-normal", e(s)]),
|
|
14
|
+
style: i(e(l))
|
|
15
|
+
}, [
|
|
16
|
+
m(t.$slots, "default", {}, () => [
|
|
17
|
+
p(c(t.subtitle), 1)
|
|
18
|
+
])
|
|
19
|
+
], 6));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
subtitle: {
|
|
3
|
+
type: [String, Number],
|
|
4
|
+
default: null
|
|
5
|
+
},
|
|
6
|
+
dense: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: "text-gray-600"
|
|
13
|
+
},
|
|
14
|
+
class: {
|
|
15
|
+
type: [String, Array, Object],
|
|
16
|
+
default: null
|
|
17
|
+
},
|
|
18
|
+
style: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: null
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
t as kunCardSubtitleProps
|
|
25
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { computed as e } from "vue";
|
|
2
|
+
function r(t) {
|
|
3
|
+
const l = e(() => [
|
|
4
|
+
t.color,
|
|
5
|
+
t.dense ? "text-xs" : "text-sm",
|
|
6
|
+
t.class
|
|
7
|
+
].filter(Boolean)), s = e(() => t.style || {});
|
|
8
|
+
return {
|
|
9
|
+
subtitleClass: l,
|
|
10
|
+
subtitleStyle: s
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
r as useCardSubtitle
|
|
15
|
+
};
|
|
@@ -1,59 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import d from "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type: String,
|
|
16
|
-
default: "bg-appbar"
|
|
17
|
-
},
|
|
18
|
-
variant: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "elevated"
|
|
21
|
-
},
|
|
22
|
-
height: {
|
|
23
|
-
type: [Number, String],
|
|
24
|
-
default: "h-fit"
|
|
25
|
-
// Valor por defecto de la altura en píxeles
|
|
26
|
-
},
|
|
27
|
-
width: {
|
|
28
|
-
type: [Number, String],
|
|
29
|
-
default: "w-full"
|
|
30
|
-
// Valor por defecto del ancho
|
|
31
|
-
},
|
|
32
|
-
classBase: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: "text-center rounded-t-lg"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}, c = {
|
|
38
|
-
key: 0,
|
|
39
|
-
class: "flex flex-row uppercase w-full py-2"
|
|
40
|
-
}, f = { class: "w-full" }, g = { key: 1 }, y = { key: 2 };
|
|
41
|
-
function _(e, h, t, m, p, S) {
|
|
42
|
-
return l(e.$slots, "default", {}, () => [
|
|
43
|
-
r("div", {
|
|
44
|
-
class: o([t.classBase, t.variant, t.height, t.width, t.bgColor])
|
|
1
|
+
import { createElementBlock as l, openBlock as n, normalizeStyle as p, normalizeClass as c, unref as t, renderSlot as m, createTextVNode as i, toDisplayString as u } from "vue";
|
|
2
|
+
import { useCardText as d } from "../composables/useCardText.js";
|
|
3
|
+
import { kunCardTextProps as f } from "../composables/kunCardTextProps.js";
|
|
4
|
+
const S = {
|
|
5
|
+
__name: "KunCardText",
|
|
6
|
+
props: f,
|
|
7
|
+
setup(r) {
|
|
8
|
+
const o = r, {
|
|
9
|
+
textClass: s,
|
|
10
|
+
textStyle: a
|
|
11
|
+
} = d(o);
|
|
12
|
+
return (e, x) => (n(), l("div", {
|
|
13
|
+
class: c(["block", t(s)]),
|
|
14
|
+
style: p(t(a))
|
|
45
15
|
}, [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
t.text ? (i(), a("span", y, s(t.text), 1)) : n("", !0)
|
|
53
|
-
], 2)
|
|
54
|
-
]);
|
|
55
|
-
}
|
|
56
|
-
const w = /* @__PURE__ */ d(u, [["render", _]]);
|
|
16
|
+
m(e.$slots, "default", {}, () => [
|
|
17
|
+
i(u(e.text), 1)
|
|
18
|
+
])
|
|
19
|
+
], 6));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
57
22
|
export {
|
|
58
|
-
|
|
23
|
+
S as default
|
|
59
24
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
text: {
|
|
3
|
+
type: [String, Number],
|
|
4
|
+
default: null
|
|
5
|
+
},
|
|
6
|
+
color: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "text-gray-700"
|
|
9
|
+
},
|
|
10
|
+
dense: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
class: {
|
|
15
|
+
type: [String, Array, Object],
|
|
16
|
+
default: null
|
|
17
|
+
},
|
|
18
|
+
style: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: null
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
t as kunCardTextProps
|
|
25
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { computed as e } from "vue";
|
|
2
|
+
function s(t) {
|
|
3
|
+
const n = e(() => [
|
|
4
|
+
t.color,
|
|
5
|
+
t.dense ? "text-xs" : "text-sm",
|
|
6
|
+
t.class
|
|
7
|
+
].filter(Boolean)), r = e(() => t.style || {});
|
|
8
|
+
return {
|
|
9
|
+
textClass: n,
|
|
10
|
+
textStyle: r
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
s as useCardText
|
|
15
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as s, normalizeStyle as $, normalizeClass as l, unref as t, createCommentVNode as n, createElementVNode as c, renderSlot as o, createBlock as p, createTextVNode as v, toDisplayString as d } from "vue";
|
|
2
|
+
import { useCardTitle as w } from "../composables/useCardTitle.js";
|
|
3
|
+
import { kunCardTitleProps as S } from "../composables/kunCardTitleProps.js";
|
|
4
|
+
import u from "../../../KunIcon/src/components/KunIcon.vue.js";
|
|
5
|
+
const T = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "flex items-center justify-center w-6 h-6 mx-2"
|
|
8
|
+
}, _ = { class: "flex items-center w-full flex-grow truncate" }, b = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "flex items-center justify-center w-6 h-6 mx-2"
|
|
11
|
+
}, z = {
|
|
12
|
+
__name: "KunCardTitle",
|
|
13
|
+
props: S,
|
|
14
|
+
setup(m) {
|
|
15
|
+
const f = m, {
|
|
16
|
+
hasPrependIcon: i,
|
|
17
|
+
hasAppendIcon: a,
|
|
18
|
+
containerClass: y,
|
|
19
|
+
containerStyle: h,
|
|
20
|
+
titleClass: k,
|
|
21
|
+
subtitleClass: C
|
|
22
|
+
} = w(f);
|
|
23
|
+
return (e, B) => (s(), r("div", {
|
|
24
|
+
class: l(t(y)),
|
|
25
|
+
style: $(t(h))
|
|
26
|
+
}, [
|
|
27
|
+
e.$slots.prepend || t(i) ? (s(), r("div", T, [
|
|
28
|
+
o(e.$slots, "prepend", {}, () => [
|
|
29
|
+
t(i) ? (s(), p(u, {
|
|
30
|
+
key: 0,
|
|
31
|
+
icon: e.prepend
|
|
32
|
+
}, null, 8, ["icon"])) : n("", !0)
|
|
33
|
+
])
|
|
34
|
+
])) : n("", !0),
|
|
35
|
+
c("div", _, [
|
|
36
|
+
c("h3", {
|
|
37
|
+
class: l(t(k))
|
|
38
|
+
}, [
|
|
39
|
+
o(e.$slots, "default", {}, () => [
|
|
40
|
+
v(d(e.title), 1)
|
|
41
|
+
])
|
|
42
|
+
], 2),
|
|
43
|
+
e.subtitle ? (s(), r("div", {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: l(t(C))
|
|
46
|
+
}, d(e.subtitle), 3)) : n("", !0)
|
|
47
|
+
]),
|
|
48
|
+
e.$slots.append || t(a) ? (s(), r("div", b, [
|
|
49
|
+
o(e.$slots, "append", {}, () => [
|
|
50
|
+
t(a) ? (s(), p(u, {
|
|
51
|
+
key: 0,
|
|
52
|
+
icon: e.append
|
|
53
|
+
}, null, 8, ["icon"])) : n("", !0)
|
|
54
|
+
])
|
|
55
|
+
])) : n("", !0)
|
|
56
|
+
], 6));
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
z as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
title: {
|
|
3
|
+
type: String,
|
|
4
|
+
default: null
|
|
5
|
+
},
|
|
6
|
+
subtitle: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: null
|
|
9
|
+
},
|
|
10
|
+
prepend: {
|
|
11
|
+
type: [String, Object, Function],
|
|
12
|
+
default: null
|
|
13
|
+
},
|
|
14
|
+
append: {
|
|
15
|
+
type: [String, Object, Function],
|
|
16
|
+
default: null
|
|
17
|
+
},
|
|
18
|
+
bgColor: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "bg-white"
|
|
21
|
+
},
|
|
22
|
+
textColor: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: "text-gray-800"
|
|
25
|
+
},
|
|
26
|
+
dense: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
flat: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
rounded: {
|
|
35
|
+
type: [Boolean, String],
|
|
36
|
+
default: !1,
|
|
37
|
+
validator: (t) => typeof t == "boolean" || ["sm", "md", "lg", "xl"].includes(t)
|
|
38
|
+
},
|
|
39
|
+
height: {
|
|
40
|
+
type: [String, Number],
|
|
41
|
+
default: "auto"
|
|
42
|
+
},
|
|
43
|
+
width: {
|
|
44
|
+
type: [String, Number],
|
|
45
|
+
default: "full"
|
|
46
|
+
},
|
|
47
|
+
class: {
|
|
48
|
+
type: [String, Array, Object],
|
|
49
|
+
default: null
|
|
50
|
+
},
|
|
51
|
+
style: {
|
|
52
|
+
type: Object,
|
|
53
|
+
default: null
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
e as kunCardTitleProps
|
|
58
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { computed as e } from "vue";
|
|
2
|
+
function c(t) {
|
|
3
|
+
const d = e(() => !!t.prepend), i = e(() => !!t.append), h = e(() => [
|
|
4
|
+
t.dense ? "py-1 px-2 text-sm" : "py-3 px-4 text-base",
|
|
5
|
+
t.flat ? "shadow-none" : "shadow",
|
|
6
|
+
t.rounded === !0 ? "rounded-md" : t.rounded ? `rounded-${t.rounded}` : "",
|
|
7
|
+
t.bgColor,
|
|
8
|
+
t.textColor,
|
|
9
|
+
t.class
|
|
10
|
+
].filter(Boolean)), u = e(() => {
|
|
11
|
+
const n = t.style || {};
|
|
12
|
+
return t.height && (n.height = typeof t.height == "number" ? `${t.height}px` : t.height), t.width && (n.width = typeof t.width == "number" ? `${t.width}px` : t.width), n;
|
|
13
|
+
}), o = e(() => t.dense ? "font-medium" : "font-semibold"), a = e(() => "text-xs opacity-75 mt-1");
|
|
14
|
+
return {
|
|
15
|
+
hasPrependIcon: d,
|
|
16
|
+
hasAppendIcon: i,
|
|
17
|
+
containerClass: h,
|
|
18
|
+
containerStyle: u,
|
|
19
|
+
titleClass: o,
|
|
20
|
+
subtitleClass: a
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
c as useCardTitle
|
|
25
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { computed as f, createElementBlock as a, openBlock as p, normalizeStyle as i, normalizeClass as o, renderSlot as m } from "vue";
|
|
2
|
+
const d = {
|
|
3
|
+
__name: "KunCol",
|
|
4
|
+
props: {
|
|
5
|
+
cols: {
|
|
6
|
+
type: [String, Number, Boolean],
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
sm: { type: [String, Number], default: null },
|
|
10
|
+
md: { type: [String, Number], default: null },
|
|
11
|
+
lg: { type: [String, Number], default: null },
|
|
12
|
+
xl: { type: [String, Number], default: null },
|
|
13
|
+
offset: { type: [String, Number], default: null },
|
|
14
|
+
smOffset: { type: [String, Number], default: null },
|
|
15
|
+
mdOffset: { type: [String, Number], default: null },
|
|
16
|
+
lgOffset: { type: [String, Number], default: null },
|
|
17
|
+
xlOffset: { type: [String, Number], default: null },
|
|
18
|
+
order: { type: [String, Number], default: null },
|
|
19
|
+
alignSelf: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: null,
|
|
22
|
+
validator: (t) => ["start", "center", "end", "auto", null].includes(t)
|
|
23
|
+
},
|
|
24
|
+
class: { type: [String, Array, Object], default: null },
|
|
25
|
+
style: { type: Object, default: null }
|
|
26
|
+
},
|
|
27
|
+
setup(t) {
|
|
28
|
+
const e = t, r = f(() => {
|
|
29
|
+
const l = [];
|
|
30
|
+
if (l.push("px-4"), e.cols)
|
|
31
|
+
if (e.cols === "auto")
|
|
32
|
+
l.push("grow");
|
|
33
|
+
else {
|
|
34
|
+
const s = parseInt(e.cols);
|
|
35
|
+
isNaN(s) || l.push(`w-${s * 8.33333333}%`);
|
|
36
|
+
}
|
|
37
|
+
else
|
|
38
|
+
l.push("grow");
|
|
39
|
+
return e.sm && l.push(`sm:w-${parseInt(e.sm) * 8.33333333}%`), e.md && l.push(`md:w-${parseInt(e.md) * 8.33333333}%`), e.lg && l.push(`lg:w-${parseInt(e.lg) * 8.33333333}%`), e.xl && l.push(`xl:w-${parseInt(e.xl) * 8.33333333}%`), e.offset && l.push(`ml-${parseInt(e.offset) * 8.33333333}%`), e.smOffset && l.push(`sm:ml-${parseInt(e.smOffset) * 8.33333333}%`), e.mdOffset && l.push(`md:ml-${parseInt(e.mdOffset) * 8.33333333}%`), e.lgOffset && l.push(`lg:ml-${parseInt(e.lgOffset) * 8.33333333}%`), e.xlOffset && l.push(`xl:ml-${parseInt(e.xlOffset) * 8.33333333}%`), e.order && l.push(`order-${e.order}`), e.alignSelf === "start" ? l.push("self-start") : e.alignSelf === "center" ? l.push("self-center") : e.alignSelf === "end" && l.push("self-end"), e.class && (Array.isArray(e.class) ? l.push(...e.class) : typeof e.class == "string" ? l.push(...e.class.split(" ")) : typeof e.class == "object" && Object.entries(e.class).forEach(([s, n]) => {
|
|
40
|
+
n && l.push(s);
|
|
41
|
+
})), l;
|
|
42
|
+
}), u = f(() => e.style || {});
|
|
43
|
+
return (l, s) => (p(), a("div", {
|
|
44
|
+
class: o(r.value),
|
|
45
|
+
style: i(u.value)
|
|
46
|
+
}, [
|
|
47
|
+
m(l.$slots, "default")
|
|
48
|
+
], 6));
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
export {
|
|
52
|
+
d as default
|
|
53
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { computed as t, createElementBlock as o, openBlock as u, normalizeStyle as p, normalizeClass as f, renderSlot as i } from "vue";
|
|
2
|
+
const x = {
|
|
3
|
+
__name: "KunContainer",
|
|
4
|
+
props: {
|
|
5
|
+
fluid: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
class: {
|
|
10
|
+
type: [String, Array, Object],
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
style: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: null
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(a) {
|
|
19
|
+
const e = a, r = t(() => {
|
|
20
|
+
const s = ["w-full", "mx-auto", "px-4", "sm:px-6", "lg:px-8"];
|
|
21
|
+
return e.fluid || s.push(
|
|
22
|
+
"max-w-screen-sm",
|
|
23
|
+
"sm:max-w-screen-md",
|
|
24
|
+
"md:max-w-screen-lg",
|
|
25
|
+
"lg:max-w-screen-xl",
|
|
26
|
+
"xl:max-w-screen-2xl"
|
|
27
|
+
), e.class && (Array.isArray(e.class) ? s.push(...e.class) : typeof e.class == "string" ? s.push(...e.class.split(" ")) : typeof e.class == "object" && Object.entries(e.class).forEach(([l, n]) => {
|
|
28
|
+
n && s.push(l);
|
|
29
|
+
})), s;
|
|
30
|
+
}), c = t(() => e.style || {});
|
|
31
|
+
return (s, l) => (u(), o("div", {
|
|
32
|
+
class: f(r.value),
|
|
33
|
+
style: p(c.value)
|
|
34
|
+
}, [
|
|
35
|
+
i(s.$slots, "default")
|
|
36
|
+
], 6));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
x as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ref as n, provide as s, createElementBlock as v, openBlock as g, normalizeClass as h, withModifiers as x, renderSlot as y } from "vue";
|
|
2
|
+
const F = {
|
|
3
|
+
__name: "KunForm",
|
|
4
|
+
props: {
|
|
5
|
+
gap: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: "space-y-4"
|
|
8
|
+
},
|
|
9
|
+
padding: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "px-2 py-4"
|
|
12
|
+
},
|
|
13
|
+
maxWidth: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "max-w-full"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(o, { expose: u }) {
|
|
19
|
+
const i = o, t = n([]), r = n(!0);
|
|
20
|
+
function d(e) {
|
|
21
|
+
t.value.push(e);
|
|
22
|
+
}
|
|
23
|
+
function c(e) {
|
|
24
|
+
t.value = t.value.filter((a) => a !== e);
|
|
25
|
+
}
|
|
26
|
+
async function l() {
|
|
27
|
+
const e = await Promise.all(
|
|
28
|
+
t.value.map(async (a) => await a.validate())
|
|
29
|
+
);
|
|
30
|
+
return r.value = e.every((a) => a === !0), { valid: r.value };
|
|
31
|
+
}
|
|
32
|
+
function f() {
|
|
33
|
+
t.value.forEach((e) => {
|
|
34
|
+
e.reset && e.reset();
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function p() {
|
|
38
|
+
t.value.forEach((e) => {
|
|
39
|
+
e.resetValidation && e.resetValidation();
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function m() {
|
|
43
|
+
l().then(({ valid: e }) => {
|
|
44
|
+
e && $emit("submit");
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
return s("registerField", d), s("unregisterField", c), u({
|
|
48
|
+
validate: l,
|
|
49
|
+
reset: f,
|
|
50
|
+
resetValidation: p
|
|
51
|
+
}), (e, a) => (g(), v("form", {
|
|
52
|
+
onSubmit: x(m, ["prevent"]),
|
|
53
|
+
novalidate: "",
|
|
54
|
+
class: h(`flex flex-col w-full ${i.gap} ${i.padding} ${i.maxWidth}`)
|
|
55
|
+
}, [
|
|
56
|
+
y(e.$slots, "default")
|
|
57
|
+
], 34));
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
F as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { computed as i, createElementBlock as l, openBlock as p, normalizeStyle as u } from "vue";
|
|
2
|
+
const g = {
|
|
3
|
+
__name: "KunLoaderCircular",
|
|
4
|
+
props: {
|
|
5
|
+
size: {
|
|
6
|
+
type: [Number, String],
|
|
7
|
+
default: 48
|
|
8
|
+
},
|
|
9
|
+
width: {
|
|
10
|
+
type: [Number, String],
|
|
11
|
+
default: 6
|
|
12
|
+
},
|
|
13
|
+
gradient: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "conic-gradient(from 0deg, #e5e7eb, #3b82f6)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(s) {
|
|
19
|
+
const a = s, o = i(() => Number(a.size)), c = i(() => Number(a.width)), d = i(() => {
|
|
20
|
+
const e = o.value, n = c.value, r = e / 2, t = r - n;
|
|
21
|
+
return {
|
|
22
|
+
width: `${e}px`,
|
|
23
|
+
height: `${e}px`,
|
|
24
|
+
backgroundImage: a.gradient,
|
|
25
|
+
borderRadius: "50%",
|
|
26
|
+
WebkitMaskImage: `radial-gradient(circle ${t}px at center, transparent ${t}px, white ${r}px)`,
|
|
27
|
+
maskImage: `radial-gradient(circle ${t}px at center, transparent ${t}px, white ${r}px)`,
|
|
28
|
+
WebkitMaskComposite: "destination-in",
|
|
29
|
+
maskComposite: "intersect"
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
return (e, n) => (p(), l("div", {
|
|
33
|
+
class: "relative inline-block animate-spin",
|
|
34
|
+
style: u(d.value),
|
|
35
|
+
role: "status",
|
|
36
|
+
"aria-label": "Loading"
|
|
37
|
+
}, null, 4));
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
g as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { computed as r, createElementBlock as i, openBlock as f, normalizeStyle as c, normalizeClass as o, renderSlot as p } from "vue";
|
|
2
|
+
const y = {
|
|
3
|
+
__name: "KunRow",
|
|
4
|
+
props: {
|
|
5
|
+
noGutters: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
align: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: null,
|
|
12
|
+
// center, start, end, stretch
|
|
13
|
+
validator: (t) => ["start", "center", "end", "stretch", null].includes(t)
|
|
14
|
+
},
|
|
15
|
+
justify: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: null,
|
|
18
|
+
// start, center, end, space-between, space-around
|
|
19
|
+
validator: (t) => ["start", "center", "end", "space-between", "space-around", null].includes(t)
|
|
20
|
+
},
|
|
21
|
+
dense: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
direction: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: null,
|
|
28
|
+
// row, row-reverse
|
|
29
|
+
validator: (t) => ["row", "row-reverse", null].includes(t)
|
|
30
|
+
},
|
|
31
|
+
class: {
|
|
32
|
+
type: [String, Array, Object],
|
|
33
|
+
default: null
|
|
34
|
+
},
|
|
35
|
+
style: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: null
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
setup(t) {
|
|
41
|
+
const e = t, n = r(() => {
|
|
42
|
+
const s = ["flex", "flex-wrap"];
|
|
43
|
+
return e.direction === "row-reverse" ? s.push("flex-row-reverse") : s.push("flex-row"), e.align === "center" ? s.push("items-center") : e.align === "start" ? s.push("items-start") : e.align === "end" ? s.push("items-end") : e.align === "stretch" && s.push("items-stretch"), e.justify === "center" ? s.push("justify-center") : e.justify === "end" ? s.push("justify-end") : e.justify === "start" ? s.push("justify-start") : e.justify === "space-between" ? s.push("justify-between") : e.justify === "space-around" && s.push("justify-around"), e.noGutters || (e.dense ? s.push("-mx-1") : s.push("-mx-4")), e.class && (Array.isArray(e.class) ? s.push(...e.class) : typeof e.class == "string" ? s.push(...e.class.split(" ")) : typeof e.class == "object" && Object.entries(e.class).forEach(([l, u]) => {
|
|
44
|
+
u && s.push(l);
|
|
45
|
+
})), s;
|
|
46
|
+
}), a = r(() => e.style || {});
|
|
47
|
+
return (s, l) => (f(), i("div", {
|
|
48
|
+
class: o(n.value),
|
|
49
|
+
style: c(a.value)
|
|
50
|
+
}, [
|
|
51
|
+
p(s.$slots, "default")
|
|
52
|
+
], 6));
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
y as default
|
|
57
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { createElementBlock as n, openBlock as i, normalizeStyle as d, normalizeClass as u, createCommentVNode as m, createElementVNode as t, toDisplayString as l, withDirectives as v, isRef as g, vModelText as h, unref as r } from "vue";
|
|
2
|
+
import { useSliderProps as x } from "../composables/useSliderProps.js";
|
|
3
|
+
import { useSlider as k } from "../composables/useSlider.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import w from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const S = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "mb-2 text-sm font-medium text-gray-700"
|
|
9
|
+
}, V = { class: "relative flex items-center h-8" }, _ = ["min", "max", "step", "disabled"], j = { class: "flex justify-between text-xs text-gray-500 mt-1" }, z = {
|
|
10
|
+
__name: "KunSlider",
|
|
11
|
+
props: x(),
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(p, { emit: f }) {
|
|
14
|
+
const c = f, o = p, { internalValue: s, thumbPosition: b } = k(o, c);
|
|
15
|
+
return (e, a) => (i(), n("div", {
|
|
16
|
+
class: u(["kun-slider", { "kun-slider--disabled": e.disabled }, o.class]),
|
|
17
|
+
style: d(o.style)
|
|
18
|
+
}, [
|
|
19
|
+
e.label ? (i(), n("div", S, l(e.label), 1)) : m("", !0),
|
|
20
|
+
t("div", V, [
|
|
21
|
+
v(t("input", {
|
|
22
|
+
"onUpdate:modelValue": a[0] || (a[0] = (y) => g(s) ? s.value = y : null),
|
|
23
|
+
type: "range",
|
|
24
|
+
min: e.min,
|
|
25
|
+
max: e.max,
|
|
26
|
+
step: e.step,
|
|
27
|
+
disabled: e.disabled,
|
|
28
|
+
class: u(["w-full h-1 rounded-full appearance-none cursor-pointer bg-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500", { "cursor-not-allowed opacity-60": e.disabled }])
|
|
29
|
+
}, null, 10, _), [
|
|
30
|
+
[
|
|
31
|
+
h,
|
|
32
|
+
r(s),
|
|
33
|
+
void 0,
|
|
34
|
+
{ number: !0 }
|
|
35
|
+
]
|
|
36
|
+
]),
|
|
37
|
+
e.thumbLabel && !e.disabled ? (i(), n("div", {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: "absolute -top-7 left-0 w-8 h-8 flex items-center justify-center text-xs text-white bg-blue-500 rounded-full pointer-events-none origin-bottom",
|
|
40
|
+
style: d({ transform: r(b) })
|
|
41
|
+
}, l(r(s)), 5)) : m("", !0)
|
|
42
|
+
]),
|
|
43
|
+
t("div", j, [
|
|
44
|
+
t("span", null, l(e.min), 1),
|
|
45
|
+
t("span", null, l(e.max), 1)
|
|
46
|
+
])
|
|
47
|
+
], 6));
|
|
48
|
+
}
|
|
49
|
+
}, N = /* @__PURE__ */ w(z, [["__scopeId", "data-v-09e03616"]]);
|
|
50
|
+
export {
|
|
51
|
+
N as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { computed as r } from "vue";
|
|
2
|
+
function i(t, m) {
|
|
3
|
+
const n = r({
|
|
4
|
+
get: () => Number(t.modelValue),
|
|
5
|
+
set: (e) => m("update:modelValue", e)
|
|
6
|
+
}), o = r(() => {
|
|
7
|
+
const e = Number(t.min), u = Number(t.max), a = Number(n.value);
|
|
8
|
+
return u === e ? 0 : `calc(${(a - e) / (u - e) * 100}% - 1rem)`;
|
|
9
|
+
});
|
|
10
|
+
return {
|
|
11
|
+
internalValue: n,
|
|
12
|
+
thumbPosition: o
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
i as useSlider
|
|
17
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const e = () => ({
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: [Number, String],
|
|
4
|
+
default: 0
|
|
5
|
+
},
|
|
6
|
+
min: {
|
|
7
|
+
type: [Number, String],
|
|
8
|
+
default: 0
|
|
9
|
+
},
|
|
10
|
+
max: {
|
|
11
|
+
type: [Number, String],
|
|
12
|
+
default: 100
|
|
13
|
+
},
|
|
14
|
+
step: {
|
|
15
|
+
type: [Number, String],
|
|
16
|
+
default: 1
|
|
17
|
+
},
|
|
18
|
+
label: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: null
|
|
21
|
+
},
|
|
22
|
+
thumbLabel: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !0
|
|
25
|
+
},
|
|
26
|
+
ticks: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
tickSize: {
|
|
31
|
+
type: [Number, String],
|
|
32
|
+
default: 2
|
|
33
|
+
},
|
|
34
|
+
disabled: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !1
|
|
37
|
+
},
|
|
38
|
+
class: {
|
|
39
|
+
type: [String, Array, Object],
|
|
40
|
+
default: null
|
|
41
|
+
},
|
|
42
|
+
style: {
|
|
43
|
+
type: Object,
|
|
44
|
+
default: null
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
e as useSliderProps
|
|
49
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,58 +1,88 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import
|
|
2
|
+
import o from "./components/KunAlert/src/components/KunAlert.vue.js";
|
|
3
3
|
import i from "./components/KunAppbar/src/components/KunAppbar.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import a from "./components/KunAppbarTitle/src/components/KunAppbarTitle.vue.js";
|
|
5
|
+
import t from "./components/KunAutocomplete/src/components/KunAutocomplete.vue.js";
|
|
6
6
|
import u from "./components/KunBtn/src/components/KunBtn.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import c from "./components/
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
import f from "./components/KunBudge/src/components/KunBudge.vue.js";
|
|
8
|
+
import s from "./components/KunCard/src/components/KunCard.vue.js";
|
|
9
|
+
import K from "./components/KunCardActions/src/components/KunCardActions.vue.js";
|
|
10
|
+
import _ from "./components/KunCardItem/src/components/KunCardItem.vue.js";
|
|
11
|
+
import c from "./components/KunCardSubtitle/src/components/KunCardSubtitle.vue.js";
|
|
12
|
+
import p from "./components/KunCardText/src/components/KunCardText.vue.js";
|
|
13
|
+
import e from "./components/KunCardTitle/src/components/KunCardTitle.vue.js";
|
|
14
|
+
import d from "./components/KunCol/src/components/KunCol.vue.js";
|
|
15
|
+
import l from "./components/KunContainer/src/components/KunContainer.vue.js";
|
|
16
|
+
import $ from "./components/KunCurrency/src/components/KunCurrency.vue.js";
|
|
17
|
+
import C from "./components/KunDivider/src/components/KunDivider.vue.js";
|
|
18
|
+
import T from "./components/KunForm/src/components/KunForm.vue.js";
|
|
19
|
+
import b from "./components/KunIcon/src/components/KunIcon.vue.js";
|
|
20
|
+
import A from "./components/KunList/src/components/KunList.vue.js";
|
|
21
|
+
import S from "./components/KunLoaderCircular/src/components/KunLoaderCircular.vue.js";
|
|
22
|
+
import x from "./components/KunRow/src/components/KunRow.vue.js";
|
|
23
|
+
import w from "./components/KunSlider/src/components/KunSlider.vue.js";
|
|
24
|
+
import F from "./components/KunSpacer/src/components/KunSpacer.vue.js";
|
|
25
|
+
import I from "./components/KunSwitch/src/components/KunSwitch.vue.js";
|
|
26
|
+
import h from "./components/KunTextField/src/components/KunTextField.vue.js";
|
|
27
|
+
import B from "./components/KunToolbar/src/components/KunToolbar.vue.js";
|
|
28
|
+
const n = {
|
|
29
|
+
KunAlert: o,
|
|
20
30
|
KunAppbar: i,
|
|
21
|
-
KunAppbarTitle:
|
|
22
|
-
KunAutocomplete:
|
|
31
|
+
KunAppbarTitle: a,
|
|
32
|
+
KunAutocomplete: t,
|
|
23
33
|
KunBtn: u,
|
|
24
|
-
KunBudge:
|
|
25
|
-
KunCard:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
KunBudge: f,
|
|
35
|
+
KunCard: s,
|
|
36
|
+
KunCardActions: K,
|
|
37
|
+
KunCardItem: _,
|
|
38
|
+
KunCardSubtitle: c,
|
|
39
|
+
KunCardText: p,
|
|
40
|
+
KunCardTitle: e,
|
|
41
|
+
KunCol: d,
|
|
42
|
+
KunContainer: l,
|
|
43
|
+
KunCurrency: $,
|
|
44
|
+
KunDivider: C,
|
|
45
|
+
KunForm: T,
|
|
46
|
+
KunIcon: b,
|
|
47
|
+
KunList: A,
|
|
48
|
+
KunLoaderCircular: S,
|
|
49
|
+
KunRow: x,
|
|
50
|
+
KunSlider: w,
|
|
51
|
+
KunSpacer: F,
|
|
52
|
+
KunSwitch: I,
|
|
53
|
+
KunTextField: h,
|
|
54
|
+
KunToolbar: B
|
|
35
55
|
};
|
|
36
|
-
function
|
|
37
|
-
for (const
|
|
38
|
-
|
|
56
|
+
function mr(m) {
|
|
57
|
+
for (const r in n)
|
|
58
|
+
m.component(r, n[r]);
|
|
39
59
|
}
|
|
40
60
|
export {
|
|
41
|
-
|
|
61
|
+
o as KunAlert,
|
|
42
62
|
i as KunAppbar,
|
|
43
|
-
|
|
44
|
-
|
|
63
|
+
a as KunAppbarTitle,
|
|
64
|
+
t as KunAutocomplete,
|
|
45
65
|
u as KunBtn,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
c as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
66
|
+
f as KunBudge,
|
|
67
|
+
s as KunCard,
|
|
68
|
+
K as KunCardActions,
|
|
69
|
+
_ as KunCardItem,
|
|
70
|
+
c as KunCardSubtitle,
|
|
71
|
+
p as KunCardText,
|
|
72
|
+
e as KunCardTitle,
|
|
73
|
+
d as KunCol,
|
|
74
|
+
l as KunContainer,
|
|
75
|
+
$ as KunCurrency,
|
|
76
|
+
C as KunDivider,
|
|
77
|
+
T as KunForm,
|
|
78
|
+
b as KunIcon,
|
|
79
|
+
A as KunList,
|
|
80
|
+
S as KunLoaderCircular,
|
|
81
|
+
x as KunRow,
|
|
82
|
+
w as KunSlider,
|
|
83
|
+
F as KunSpacer,
|
|
84
|
+
I as KunSwitch,
|
|
85
|
+
h as KunTextField,
|
|
86
|
+
B as KunToolbar,
|
|
87
|
+
mr as install
|
|
58
88
|
};
|