watermelon-ui-kit 0.1.9 → 1.0.0
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/components/SvgIcon/index.vue.d.ts +17 -0
- package/dist/components/SvgIcon/index.vue.d.ts.map +1 -0
- package/dist/components/Tag/constants.d.ts.map +1 -0
- package/dist/{Tag → components/Tag}/index.vue.d.ts +1 -1
- package/dist/components/Tag/index.vue.d.ts.map +1 -0
- package/dist/components/WheelLoader/index.vue.d.ts.map +1 -0
- package/dist/components/index.d.ts +5 -2
- package/dist/components/index.d.ts.map +1 -0
- package/dist/watermelon-ui-kit.css +1 -1
- package/dist/watermelon-ui-kit.es.ts +169 -40
- package/dist/watermelon-ui-kit.umd.ts +67 -2
- package/package.json +8 -3
- package/dist/Tag/constants.d.ts.map +0 -1
- package/dist/Tag/index.vue.d.ts.map +0 -1
- package/dist/WheelLoader/index.vue.d.ts.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- /package/dist/{Tag → components/Tag}/constants.d.ts +0 -0
- /package/dist/{WheelLoader → components/WheelLoader}/index.vue.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ICON_TYPES } from '../../constants/icons';
|
|
2
|
+
export type iconType = typeof ICON_TYPES.CHECK_CIRCLE | typeof ICON_TYPES.CHECK_SQUARE | typeof ICON_TYPES.LEFT_RIGHT_ARROW | typeof ICON_TYPES.CHESS;
|
|
3
|
+
export type SvgIconPropsType = {
|
|
4
|
+
icon: iconType;
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
opacity?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<SvgIconPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SvgIconPropsType> & Readonly<{}>, {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
color: string;
|
|
14
|
+
opacity: number;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SvgIcon/index.vue"],"names":[],"mappings":"AA6IA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,MAAM,MAAM,QAAQ,GAAG,OAAO,UAAU,CAAC,YAAY,GAAG,OAAO,UAAU,CAAC,YAAY,GAClF,OAAO,UAAU,CAAC,gBAAgB,GAAG,OAAO,UAAU,CAAC,KAAK,CAAA;AAEhE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAA;;WAJS,MAAM;YACL,MAAM;WAEP,MAAM;aADJ,MAAM;;AA2GlB,wBAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;CAItB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.vue"],"names":[],"mappings":"AAyEA,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAA;AACD,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC,CAAA;;;;;;AAqGD,wBAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/WheelLoader/index.vue"],"names":[],"mappings":"AAoLA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAA;;WAJS,MAAM;YACL,MAAM;WACP,MAAM;WACN,MAAM;;AA4EhB,wBAQG"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as Tag } from './Tag/index.vue';
|
|
2
|
+
import { default as WheelLoader } from './WheelLoader/index.vue';
|
|
3
|
+
import { default as SvgIcon } from './SvgIcon/index.vue';
|
|
4
|
+
export { Tag, WheelLoader, SvgIcon, };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAErB,OAAO,GAAG,MAAM,iBAAiB,CAAA;AACjC,OAAO,WAAW,MAAM,yBAAyB,CAAA;AACjD,OAAO,OAAO,MAAM,qBAAqB,CAAA;AAEzC,OAAO,EACL,GAAG,EACH,WAAW,EACX,OAAO,GACR,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Poppins:wght@500&family=Rubik:wght@400;500&display=swap";/*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--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);--font-weight-medium:500;--radius-xs:.125rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--color-primary-green:#01abaa}}@layer utilities{.\@container{container-type:inline-size}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.isolate{isolation:isolate}.float-left{float:left}.float-right{float:right}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-1{margin:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.h-1{height:calc(var(--spacing)*1)}.h-16\/116{height:13.7931%}.w-3{width:calc(var(--spacing)*3)}.w-fit{width:fit-content}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.transform\!{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.bg-primary-green{background-color:var(--color-primary-green)}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.px-2{padding-inline:calc(var(--spacing)*2)}.py-1{padding-block:calc(var(--spacing)*1)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-wrap{text-wrap:wrap}.text-primary-green{color:var(--color-primary-green)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.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)}.ring{--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}.blur{--tw-blur:blur(8px);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,)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);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,)}.grayscale{--tw-grayscale:grayscale(100%);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,)}.invert{--tw-invert:invert(100%);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,)}.filter{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,)}.filter\!{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,)!important}.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;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}}}@layer base,components;.font-poppins{font-family:Poppins,Rubik}.font-rubik{font-family:Rubik}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@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-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-ease{syntax:"*";inherits:false}.tag .rate[data-v-57dca0fe]{background:#0515264d}.loader-wrapper[data-v-c240f1d2]{width:var(--1ea7dc8c);height:var(--c6f689be)}.loader-wrapper .spoke[data-v-c240f1d2]{width:10%;height:30%;border-radius:20px;background:var(--1d90de29)}.loader-wrapper[data-v-c240f1d2] :nth-child(1){left:50%;top:-5%;animation:colorchange-8-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(2){top:5%;left:75%;transform:rotate(45deg);animation:colorchange-7-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(3){top:30%;left:85%;transform:rotate(90deg);animation:colorchange-6-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(4){top:55%;left:75%;transform:rotate(-45deg);animation:colorchange-5-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(5){top:65%;left:50%;animation:colorchange-4-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(6){top:55%;left:25%;transform:rotate(45deg);animation:colorchange-3-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(7){top:30%;left:15%;transform:rotate(90deg);animation:colorchange-2-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(8){top:5%;left:25%;transform:rotate(-45deg);animation:colorchange-1-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}@keyframes colorchange-1-c240f1d2{0%{opacity:1}14%{opacity:.86}28%{opacity:.72}42%{opacity:.58}56%{opacity:.44}70%{opacity:.3}84%{opacity:.15}to{opacity:0}}@keyframes colorchange-2-c240f1d2{0%{opacity:.86}14%{opacity:.72}28%{opacity:.58}42%{opacity:.44}56%{opacity:.3}70%{opacity:.15}84%{opacity:0}to{opacity:1}}@keyframes colorchange-3-c240f1d2{0%{opacity:.72}14%{opacity:.58}28%{opacity:.44}42%{opacity:.3}56%{opacity:.15}70%{opacity:0}84%{opacity:1}to{opacity:.86}}@keyframes colorchange-4-c240f1d2{0%{opacity:.58}14%{opacity:.44}28%{opacity:.3}42%{opacity:.15}56%{opacity:0}70%{opacity:1}84%{opacity:.86}to{opacity:.72}}@keyframes colorchange-5-c240f1d2{0%{opacity:.44}14%{opacity:.3}28%{opacity:.15}42%{opacity:0}56%{opacity:1}70%{opacity:.86}84%{opacity:.72}to{opacity:.58}}@keyframes colorchange-6-c240f1d2{0%{opacity:.3}14%{opacity:.15}28%{opacity:0}42%{opacity:1}56%{opacity:.86}70%{opacity:.72}84%{opacity:.58}to{opacity:.44}}@keyframes colorchange-7-c240f1d2{0%{opacity:.15}14%{opacity:0}28%{opacity:1}42%{opacity:.86}56%{opacity:.72}70%{opacity:.58}84%{opacity:.44}to{opacity:.3}}@keyframes colorchange-8-c240f1d2{0%{opacity:0}14%{opacity:1}28%{opacity:.86}42%{opacity:.72}56%{opacity:.58}70%{opacity:.44}84%{opacity:.3}to{opacity:.15}}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Poppins:wght@500&family=Rubik:wght@400;500&display=swap";/*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--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);--font-weight-medium:500;--radius-xs:.125rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--color-primary-green:#01abaa}}@layer utilities{.\@container{container-type:inline-size}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.isolate{isolation:isolate}.float-left{float:left}.float-right{float:right}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-1{margin:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.h-1{height:calc(var(--spacing)*1)}.h-16\/116{height:13.7931%}.w-3{width:calc(var(--spacing)*3)}.w-fit{width:fit-content}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.transform\!{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.bg-primary-green{background-color:var(--color-primary-green)}.p-1{padding:calc(var(--spacing)*1)}.p-3{padding:calc(var(--spacing)*3)}.px-2{padding-inline:calc(var(--spacing)*2)}.py-1{padding-block:calc(var(--spacing)*1)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-wrap{text-wrap:wrap}.text-primary-green{color:var(--color-primary-green)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.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)}.ring{--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}.blur{--tw-blur:blur(8px);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,)}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);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,)}.grayscale{--tw-grayscale:grayscale(100%);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,)}.invert{--tw-invert:invert(100%);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,)}.filter{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,)}.filter\!{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,)!important}.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;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}}}@layer base,components;.font-poppins{font-family:Poppins,Rubik}.font-rubik{font-family:Rubik}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@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-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-ease{syntax:"*";inherits:false}.tag .rate[data-v-7d4de45a]{background:#0515264d}.loader-wrapper[data-v-c240f1d2]{width:var(--1ea7dc8c);height:var(--c6f689be)}.loader-wrapper .spoke[data-v-c240f1d2]{width:10%;height:30%;border-radius:20px;background:var(--1d90de29)}.loader-wrapper[data-v-c240f1d2] :nth-child(1){left:50%;top:-5%;animation:colorchange-8-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(2){top:5%;left:75%;transform:rotate(45deg);animation:colorchange-7-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(3){top:30%;left:85%;transform:rotate(90deg);animation:colorchange-6-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(4){top:55%;left:75%;transform:rotate(-45deg);animation:colorchange-5-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(5){top:65%;left:50%;animation:colorchange-4-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(6){top:55%;left:25%;transform:rotate(45deg);animation:colorchange-3-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(7){top:30%;left:15%;transform:rotate(90deg);animation:colorchange-2-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}.loader-wrapper[data-v-c240f1d2] :nth-child(8){top:5%;left:25%;transform:rotate(-45deg);animation:colorchange-1-c240f1d2 var(--1e72af0d);animation-iteration-count:infinite}@keyframes colorchange-1-c240f1d2{0%{opacity:1}14%{opacity:.86}28%{opacity:.72}42%{opacity:.58}56%{opacity:.44}70%{opacity:.3}84%{opacity:.15}to{opacity:0}}@keyframes colorchange-2-c240f1d2{0%{opacity:.86}14%{opacity:.72}28%{opacity:.58}42%{opacity:.44}56%{opacity:.3}70%{opacity:.15}84%{opacity:0}to{opacity:1}}@keyframes colorchange-3-c240f1d2{0%{opacity:.72}14%{opacity:.58}28%{opacity:.44}42%{opacity:.3}56%{opacity:.15}70%{opacity:0}84%{opacity:1}to{opacity:.86}}@keyframes colorchange-4-c240f1d2{0%{opacity:.58}14%{opacity:.44}28%{opacity:.3}42%{opacity:.15}56%{opacity:0}70%{opacity:1}84%{opacity:.86}to{opacity:.72}}@keyframes colorchange-5-c240f1d2{0%{opacity:.44}14%{opacity:.3}28%{opacity:.15}42%{opacity:0}56%{opacity:1}70%{opacity:.86}84%{opacity:.72}to{opacity:.58}}@keyframes colorchange-6-c240f1d2{0%{opacity:.3}14%{opacity:.15}28%{opacity:0}42%{opacity:1}56%{opacity:.86}70%{opacity:.72}84%{opacity:.58}to{opacity:.44}}@keyframes colorchange-7-c240f1d2{0%{opacity:.15}14%{opacity:0}28%{opacity:1}42%{opacity:.86}56%{opacity:.72}70%{opacity:.58}84%{opacity:.44}to{opacity:.3}}@keyframes colorchange-8-c240f1d2{0%{opacity:0}14%{opacity:1}28%{opacity:.86}42%{opacity:.72}56%{opacity:.58}70%{opacity:.44}84%{opacity:.3}to{opacity:.15}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as p, resolveComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as p, resolveComponent as _, createElementBlock as o, openBlock as C, normalizeClass as h, createBlock as y, createCommentVNode as i, toDisplayString as d, withCtx as L, createElementVNode as s, useCssVars as g, Fragment as m, renderList as w, unref as r } from "vue";
|
|
2
|
+
const H = {
|
|
3
3
|
NEW: 3
|
|
4
|
-
},
|
|
4
|
+
}, k = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "mr-1 text-sm"
|
|
7
|
-
},
|
|
7
|
+
}, v = {
|
|
8
8
|
key: 2,
|
|
9
9
|
class: "rate px-2 py-1 rounded-xl text-xs font-medium"
|
|
10
|
-
},
|
|
10
|
+
}, E = ["fill"], V = /* @__PURE__ */ p({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
13
13
|
tag: {},
|
|
@@ -15,25 +15,25 @@ const k = {
|
|
|
15
15
|
showRate: { type: Boolean }
|
|
16
16
|
},
|
|
17
17
|
emits: ["close"],
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
return (
|
|
21
|
-
const
|
|
22
|
-
return
|
|
23
|
-
class: h(["tag flex w-fit items-center font-rubik px-2 py-1 rounded-xs",
|
|
18
|
+
setup(l) {
|
|
19
|
+
const t = l.tag.status === H.NEW;
|
|
20
|
+
return (n, a) => {
|
|
21
|
+
const f = _("router-link");
|
|
22
|
+
return C(), o("div", {
|
|
23
|
+
class: h(["tag flex w-fit items-center font-rubik px-2 py-1 rounded-xs", t ? "text-primary-green border border-solid" : "bg-primary-green text-white"])
|
|
24
24
|
}, [
|
|
25
|
-
|
|
25
|
+
t ? (C(), o("span", k, d(n.tag.name), 1)) : (C(), y(f, {
|
|
26
26
|
key: 1,
|
|
27
|
-
to: `/dashboard/tags/${
|
|
27
|
+
to: `/dashboard/tags/${n.tag.name}`,
|
|
28
28
|
class: "mr-1 text-sm text-white no-underline hover:underline"
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
30
|
+
default: L(() => [
|
|
31
|
+
s("span", null, d(n.tag.name), 1)
|
|
32
32
|
]),
|
|
33
33
|
_: 1
|
|
34
34
|
}, 8, ["to"])),
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
n.showRate && !t ? (C(), o("span", v, d(n.tag.rate), 1)) : i("", !0),
|
|
36
|
+
n.closable ? (C(), o("svg", {
|
|
37
37
|
key: 3,
|
|
38
38
|
width: "17",
|
|
39
39
|
height: "17",
|
|
@@ -41,9 +41,9 @@ const k = {
|
|
|
41
41
|
fill: "none",
|
|
42
42
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43
43
|
class: "close inline-block cursor-pointer",
|
|
44
|
-
onClick: a[0] || (a[0] = (
|
|
44
|
+
onClick: a[0] || (a[0] = (W) => n.$emit("close", n.tag))
|
|
45
45
|
}, [
|
|
46
|
-
|
|
46
|
+
s("path", {
|
|
47
47
|
d: `M8.49999 7.66407L5.07851 4.24259C4.96961 4.1337 4.82192 4.07252 4.66793 4.07252C4.51393 4.07252 4.36624
|
|
48
48
|
4.1337 4.25735 4.24259C4.14846 4.35148 4.08728 4.49917 4.08728 4.65317C4.08728 4.80716 4.14846 4.95485 4.25735
|
|
49
49
|
5.06375L7.67883 8.48523L4.25735 11.9067C4.14846 12.0156 4.08728 12.1633 4.08728 12.3173C4.08728 12.4713 4.14846
|
|
@@ -53,18 +53,18 @@ const k = {
|
|
|
53
53
|
12.0156 12.7426 11.9067L9.32115 8.48523L12.7426 5.06375C12.8515 4.95485 12.9127 4.80716 12.9127
|
|
54
54
|
4.65317C12.9127 4.49917 12.8515 4.35148 12.7426 4.24259C12.6328 4.13556 12.4854 4.07566 12.3321
|
|
55
55
|
4.07566C12.1787 4.07566 12.0313 4.13556 11.9215 4.24259L8.49999 7.66407Z`,
|
|
56
|
-
fill:
|
|
57
|
-
}, null, 8,
|
|
58
|
-
])) :
|
|
56
|
+
fill: t ? "#01ABAA" : "white"
|
|
57
|
+
}, null, 8, E)
|
|
58
|
+
])) : i("", !0)
|
|
59
59
|
], 2);
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
}),
|
|
63
|
-
const
|
|
64
|
-
for (const [
|
|
65
|
-
|
|
66
|
-
return
|
|
67
|
-
},
|
|
62
|
+
}), u = (l, e) => {
|
|
63
|
+
const t = l.__vccOpts || l;
|
|
64
|
+
for (const [n, a] of e)
|
|
65
|
+
t[n] = a;
|
|
66
|
+
return t;
|
|
67
|
+
}, O = /* @__PURE__ */ u(V, [["__scopeId", "data-v-7d4de45a"]]), A = { class: "loader-wrapper relative" }, M = /* @__PURE__ */ p({
|
|
68
68
|
__name: "index",
|
|
69
69
|
props: {
|
|
70
70
|
width: { default: "21px" },
|
|
@@ -72,21 +72,150 @@ const k = {
|
|
|
72
72
|
speed: { default: "1.5s" },
|
|
73
73
|
color: { default: "#01ABAA" }
|
|
74
74
|
},
|
|
75
|
-
setup(
|
|
76
|
-
return g((
|
|
77
|
-
"1ea7dc8c":
|
|
78
|
-
c6f689be:
|
|
79
|
-
"1d90de29":
|
|
80
|
-
"1e72af0d":
|
|
81
|
-
})), (
|
|
82
|
-
(
|
|
83
|
-
key:
|
|
75
|
+
setup(l) {
|
|
76
|
+
return g((e) => ({
|
|
77
|
+
"1ea7dc8c": e.width,
|
|
78
|
+
c6f689be: e.height,
|
|
79
|
+
"1d90de29": e.color,
|
|
80
|
+
"1e72af0d": e.speed
|
|
81
|
+
})), (e, t) => (C(), o("div", A, [
|
|
82
|
+
(C(), o(m, null, w(8, (n) => s("div", {
|
|
83
|
+
key: n,
|
|
84
84
|
class: "spoke absolute"
|
|
85
85
|
})), 64))
|
|
86
86
|
]));
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), F = /* @__PURE__ */ u(M, [["__scopeId", "data-v-c240f1d2"]]), c = {
|
|
89
|
+
CHECK_CIRCLE: "check-circle",
|
|
90
|
+
CHECK_SQUARE: "check-square",
|
|
91
|
+
LEFT_RIGHT_ARROW: "left-right-arrow",
|
|
92
|
+
CHESS: "chess"
|
|
93
|
+
}, R = ["width", "height"], Z = ["opacity", "fill"], S = ["opacity", "fill"], $ = { key: 2 }, b = ["opacity", "fill"], B = ["opacity", "fill"], T = { key: 3 }, I = ["opacity", "fill"], N = ["opacity", "fill"], G = /* @__PURE__ */ p({
|
|
94
|
+
__name: "index",
|
|
95
|
+
props: {
|
|
96
|
+
icon: {},
|
|
97
|
+
width: { default: 16 },
|
|
98
|
+
height: { default: 16 },
|
|
99
|
+
opacity: { default: 0.7 },
|
|
100
|
+
color: { default: "white" }
|
|
101
|
+
},
|
|
102
|
+
setup(l) {
|
|
103
|
+
return (e, t) => (C(), o("svg", {
|
|
104
|
+
width: e.width,
|
|
105
|
+
height: e.height,
|
|
106
|
+
class: h(`icon icon-${e.icon}`),
|
|
107
|
+
viewBox: "0 0 14 14",
|
|
108
|
+
fill: "none",
|
|
109
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
110
|
+
}, [
|
|
111
|
+
e.icon === r(c).CHESS ? (C(), o("path", {
|
|
112
|
+
key: 0,
|
|
113
|
+
opacity: e.opacity,
|
|
114
|
+
"fill-rule": "evenodd",
|
|
115
|
+
"clip-rule": "evenodd",
|
|
116
|
+
d: `M6.87382 0C7.19599 0 7.45715 0.261167 7.45715 0.583333V1.16667H8.04049C8.36266 1.16667 8.62382 1.42784 8.62382
|
|
117
|
+
1.75C8.62382 2.07216 8.36266 2.33333 8.04049 2.33333H7.45715V3.57832C8.14974 3.77011 8.69172 4.29777 8.97936
|
|
118
|
+
4.97908C9.66723 4.49559 10.3823 4.27637 11.0676 4.30946C12.0172 4.35534 12.8122 4.88333 13.2802 5.66054C14.1811
|
|
119
|
+
7.15645 13.8468 9.41856 11.6901 11.2449L12.2235 12.3116C12.6113 13.0873 12.0473 14 11.18 14H2.56768C1.70041 14
|
|
120
|
+
1.13633 13.0873 1.52418 12.3116L2.05751 11.2449C-0.0991101 9.41856 -0.43337 7.15645 0.467461 5.66054C0.935498
|
|
121
|
+
4.88332 1.73044 4.35533 2.68012 4.30947C3.36536 4.27638 4.08042 4.4956 4.76834 4.9791C5.05594 4.29778 5.5979
|
|
122
|
+
3.77011 6.29049 3.57832V2.33333H5.70715C5.38498 2.33333 5.12382 2.07216 5.12382 1.75C5.12382 1.42784 5.38498
|
|
123
|
+
1.16667 5.70715 1.16667H6.29049V0.583333C6.29049 0.261167 6.55164 0 6.87382 0ZM4.54798 6.30572C3.86433 5.65339
|
|
124
|
+
3.22773 5.45105 2.73639 5.47478C2.20914 5.50024 1.75227 5.78852 1.4669 6.26237C0.925033 7.16222 0.969244 8.90447
|
|
125
|
+
2.9889 10.5H5.96598C5.81635 10.1628 5.63747 9.74837 5.45829 9.30667C5.23656 8.76009 5.01126 8.1641 4.84048
|
|
126
|
+
7.61734C4.6983 7.16211 4.57843 6.69433 4.54798 6.30572ZM7.78172 10.5H10.7588C12.7784 8.90447 12.8227 7.16222
|
|
127
|
+
12.2808 6.26237C11.9954 5.78852 11.5386 5.50024 11.0113 5.47478C10.5199 5.45104 9.88335 5.65338 9.19969
|
|
128
|
+
6.30566C9.16924 6.69427 9.04942 7.16211 8.9072 7.61734C8.7364 8.1641 8.51112 8.76009 8.28939 9.30667C8.11019
|
|
129
|
+
9.74837 7.93134 10.1628 7.78172 10.5ZM10.5967 11.6667H6.87382H3.15101L2.56768 12.8333H11.18L10.5967
|
|
130
|
+
11.6667ZM6.87382 9.66508C6.9801 9.41955 7.09426 9.14923 7.2083 8.86812C7.42408 8.33624 7.63624 7.77321 7.79362
|
|
131
|
+
7.2695C7.95672 6.7473 8.04049 6.35057 8.04049 6.125C8.04049 6.10744 8.04025 6.09006 8.03984 6.07279C8.01657
|
|
132
|
+
5.17954 7.43399 4.66667 6.87382 4.66667C6.3137 4.66667 5.73113 5.17956 5.70785 6.07279C5.70739 6.09006 5.70715
|
|
133
|
+
6.1075 5.70715 6.125C5.70715 6.35057 5.79098 6.7473 5.95408 7.2695C6.1114 7.77321 6.32362 8.33624 6.53939
|
|
134
|
+
8.86812C6.65344 9.14923 6.76759 9.41955 6.87382 9.66508Z`,
|
|
135
|
+
fill: e.color
|
|
136
|
+
}, null, 8, Z)) : i("", !0),
|
|
137
|
+
e.icon === r(c).LEFT_RIGHT_ARROW ? (C(), o("path", {
|
|
138
|
+
key: 1,
|
|
139
|
+
opacity: e.opacity,
|
|
140
|
+
d: `M14 10.6073C14 10.9776 13.6929 11.2847 13.3226 11.2847H2.31226L3.41419 12.3866C3.67613 12.6486 3.67613 13.0821
|
|
141
|
+
3.41419 13.3441C3.27871 13.4795 3.1071 13.5428 2.93548 13.5428C2.76387 13.5428 2.59226 13.4795 2.45677
|
|
142
|
+
13.3441L0.19871 11.086C0.135484 11.0228 0.0903226 10.9505 0.0541935 10.8692C-0.0180645 10.7066 -0.0180645 10.517
|
|
143
|
+
0.0541935 10.3544C0.0903226 10.2731 0.135484 10.2008 0.19871 10.1376L2.45677 7.87953C2.71871 7.6176 3.15226
|
|
144
|
+
7.6176 3.41419 7.87953C3.67613 8.14147 3.67613 8.57502 3.41419 8.83695L2.31226 9.93889H13.3226C13.6929 9.93889
|
|
145
|
+
14 10.246 14 10.6163V10.6073ZM0.677419 4.05889H11.6877L10.5858 5.16082C10.3239 5.42276 10.3239 5.85631 10.5858
|
|
146
|
+
6.11824C10.7213 6.25373 10.8929 6.31695 11.0645 6.31695C11.2361 6.31695 11.4077 6.25373 11.5432 6.11824L13.8013
|
|
147
|
+
3.86018C13.8645 3.79695 13.9097 3.72469 13.9458 3.6434C14.0181 3.48082 14.0181 3.29115 13.9458 3.12857C13.9097
|
|
148
|
+
3.04728 13.8645 2.97502 13.8013 2.91179L11.5432 0.653727C11.2813 0.391792 10.8477 0.391792 10.5858
|
|
149
|
+
0.653727C10.3239 0.915662 10.3239 1.34921 10.5858 1.61115L11.6877 2.71308H0.677419C0.307097 2.71308 5.04717e-08
|
|
150
|
+
3.02018 5.04717e-08 3.3905C5.04717e-08 3.76082 0.307097 4.06792 0.677419 4.06792V4.05889Z`,
|
|
151
|
+
fill: e.color
|
|
152
|
+
}, null, 8, S)) : i("", !0),
|
|
153
|
+
e.icon === r(c).CHECK_SQUARE ? (C(), o("g", $, [
|
|
154
|
+
s("path", {
|
|
155
|
+
d: `M11.8 13.8056H2.2C1.61652 13.8056 1.05694 13.5802 0.644365 13.1791C0.231785 12.778 0 12.2339 0
|
|
156
|
+
11.6667V2.33335C0 1.76608 0.231785 1.22204 0.644365 0.820924C1.05694 0.419804 1.61652 0.194458 2.2
|
|
157
|
+
0.194458H9.288C9.44713 0.194458 9.59974 0.255916 9.71226 0.365312C9.82479 0.474709 9.888 0.623082 9.888
|
|
158
|
+
0.777791C9.888 0.932501 9.82479 1.08087 9.71226 1.19027C9.59974 1.29967 9.44713 1.36112 9.288
|
|
159
|
+
1.36112H2.2C1.93478 1.36112 1.68043 1.46355 1.49289 1.64588C1.30536 1.82821 1.2 2.0755 1.2 2.33335V11.6667C1.2
|
|
160
|
+
11.9245 1.30536 12.1718 1.49289 12.3541C1.68043 12.5365 1.93478 12.6389 2.2 12.6389H11.8C12.0652 12.6389
|
|
161
|
+
12.3196 12.5365 12.5071 12.3541C12.6946 12.1718 12.8 11.9245 12.8 11.6667V5.67001C12.8 5.5153 12.8632 5.36693
|
|
162
|
+
12.9757 5.25753C13.0883 5.14814 13.2409 5.08668 13.4 5.08668C13.5591 5.08668 13.7117 5.14814 13.8243
|
|
163
|
+
5.25753C13.9368 5.36693 14 5.5153 14 5.67001V11.6667C14 12.2339 13.7682 12.778 13.3556 13.1791C12.9431 13.5802
|
|
164
|
+
12.3835 13.8056 11.8 13.8056Z`,
|
|
165
|
+
opacity: e.opacity,
|
|
166
|
+
fill: e.color
|
|
167
|
+
}, null, 8, b),
|
|
168
|
+
s("path", {
|
|
169
|
+
d: `M5.79998 9.52783C5.64562 9.51636 5.50203 9.44655 5.39998 9.33339L2.99998 7.00005C2.94651 6.8912 2.92906
|
|
170
|
+
6.76891 2.95004 6.65001C2.97102 6.53112 3.0294 6.42148 3.11714 6.33618C3.20487 6.25088 3.31765 6.19412 3.43994
|
|
171
|
+
6.17373C3.56223 6.15333 3.68801 6.17029 3.79998 6.22228L5.77598 8.14339L12.6 1.55561C12.7119 1.50362 12.8377
|
|
172
|
+
1.48666 12.96 1.50706C13.0823 1.52746 13.1951 1.58421 13.2828 1.66951C13.3706 1.75481 13.4289 1.86446 13.4499
|
|
173
|
+
1.98335C13.4709 2.10224 13.4535 2.22453 13.4 2.33339L6.19998 9.33339C6.09792 9.44655 5.95433 9.51636 5.79998
|
|
174
|
+
9.52783Z`,
|
|
175
|
+
opacity: e.opacity,
|
|
176
|
+
fill: e.color
|
|
177
|
+
}, null, 8, B)
|
|
178
|
+
])) : i("", !0),
|
|
179
|
+
e.icon === r(c).CHECK_CIRCLE ? (C(), o("g", T, [
|
|
180
|
+
s("path", {
|
|
181
|
+
d: `M5.81259 9.52305C5.66283 9.5116 5.52351 9.44194 5.42448 9.329L3.09584 7.00035C3.04396 6.89172 3.02703
|
|
182
|
+
6.76967 3.04739 6.65102C3.06774 6.53236 3.12439 6.42294 3.20951 6.33781C3.29464 6.25268 3.40406 6.19604 3.52272
|
|
183
|
+
6.17568C3.64137 6.15533 3.76342 6.17226 3.87205 6.22414L5.78931 8.14139L12.4104 1.56685C12.5191 1.51496
|
|
184
|
+
12.6411 1.49804 12.7598 1.51839C12.8784 1.53875 12.9878 1.59539 13.073 1.68052C13.1581 1.76565 13.2147 1.87507
|
|
185
|
+
13.2351 1.99373C13.2554 2.11238 13.2385 2.23443 13.1866 2.34306L6.2007 9.329C6.10168 9.44194 5.96236 9.5116
|
|
186
|
+
5.81259 9.52305Z`,
|
|
187
|
+
opacity: e.opacity,
|
|
188
|
+
fill: e.color
|
|
189
|
+
}, null, 8, I),
|
|
190
|
+
s("path", {
|
|
191
|
+
d: `M6.97692 13.9863C5.72836 13.9843 4.50314 13.6477 3.42878 13.0116C2.35443 12.3754 1.4702 11.4629 0.868111
|
|
192
|
+
10.3691C0.410442 9.5541 0.127583 8.65265 0.0375607 7.72225C-0.104502 6.35772 0.158347 4.98157 0.793319
|
|
193
|
+
3.76546C1.42829 2.54935 2.40727 1.54712 3.60815 0.88379C4.42319 0.426122 5.32464 0.143263 6.25504
|
|
194
|
+
0.0532404C7.18196 -0.0464659 8.11947 0.0433238 9.01061 0.317154C9.09014 0.333044 9.16547 0.365376 9.23178
|
|
195
|
+
0.412077C9.29808 0.458778 9.3539 0.518818 9.39565 0.588349C9.4374 0.657879 9.46416 0.735365 9.47421
|
|
196
|
+
0.815841C9.48427 0.896316 9.4774 0.978006 9.45405 1.05567C9.43069 1.13334 9.39137 1.20527 9.33859
|
|
197
|
+
1.26685C9.28582 1.32843 9.22076 1.37831 9.14759 1.41328C9.07442 1.44826 8.99474 1.46755 8.91368 1.46994C8.83261
|
|
198
|
+
1.47233 8.75194 1.45775 8.67683 1.42714C7.92282 1.20042 7.13113 1.12653 6.34819 1.2098C5.5743 1.28904 4.82444
|
|
199
|
+
1.52403 4.14374 1.90063C3.48794 2.26243 2.90812 2.74737 2.43607 3.32887C1.95005 3.92124 1.58711 4.60465 1.36853
|
|
200
|
+
5.33905C1.14994 6.07345 1.08009 6.84408 1.16307 7.60581C1.24232 8.3797 1.47731 9.12956 1.8539 9.81026C2.2157
|
|
201
|
+
10.4661 2.70064 11.0459 3.28214 11.5179C3.87452 12.004 4.55792 12.3669 5.29232 12.5855C6.02672 12.8041 6.79735
|
|
202
|
+
12.8739 7.55908 12.7909C8.33297 12.7117 9.08283 12.4767 9.76354 12.1001C10.4193 11.7383 10.9992 11.2534 11.4712
|
|
203
|
+
10.6719C11.9572 10.0795 12.3202 9.39609 12.5387 8.66169C12.7573 7.92729 12.8272 7.15665 12.7442 6.39492C12.7366
|
|
204
|
+
6.3149 12.7447 6.23416 12.7683 6.15731C12.7919 6.08045 12.8303 6.00899 12.8815 5.94701C12.9327 5.88502 12.9956
|
|
205
|
+
5.83372 13.0666 5.79603C13.1376 5.75835 13.2153 5.73502 13.2953 5.72737C13.3753 5.71973 13.4561 5.72792 13.5329
|
|
206
|
+
5.75148C13.6098 5.77504 13.6812 5.8135 13.7432 5.86468C13.8052 5.91585 13.8565 5.97874 13.8942 6.04974C13.9319
|
|
207
|
+
6.12074 13.9552 6.19847 13.9629 6.27849C14.1042 7.64382 13.8402 9.02055 13.2038 10.2367C12.5674 11.4529 11.5868
|
|
208
|
+
12.4547 10.3845 13.1169C9.5608 13.5933 8.64543 13.8896 7.6988 13.9863C7.45818 13.9863 7.20979 13.9863 6.97692
|
|
209
|
+
13.9863Z`,
|
|
210
|
+
opacity: e.opacity,
|
|
211
|
+
fill: e.color
|
|
212
|
+
}, null, 8, N)
|
|
213
|
+
])) : i("", !0)
|
|
214
|
+
], 10, R));
|
|
215
|
+
}
|
|
216
|
+
});
|
|
89
217
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
218
|
+
G as SvgIcon,
|
|
219
|
+
O as Tag,
|
|
220
|
+
F as WheelLoader
|
|
92
221
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["watermelon-ui-kit"]={},t.Vue))})(this,function(t,e){"use strict";const r={NEW:3},s={key:0,class:"mr-1 text-sm"},d={key:2,class:"rate px-2 py-1 rounded-xl text-xs font-medium"},p=["fill"],m=e.defineComponent({__name:"index",props:{tag:{},closable:{type:Boolean},showRate:{type:Boolean}},emits:["close"],setup(l){const C=l.tag.status===r.NEW;return(o,a)=>{const u=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["tag flex w-fit items-center font-rubik px-2 py-1 rounded-xs",C?"text-primary-green border border-solid":"bg-primary-green text-white"])},[C?(e.openBlock(),e.createElementBlock("span",s,e.toDisplayString(o.tag.name),1)):(e.openBlock(),e.createBlock(u,{key:1,to:`/dashboard/tags/${o.tag.name}`,class:"mr-1 text-sm text-white no-underline hover:underline"},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(o.tag.name),1)]),_:1},8,["to"])),o.showRate&&!C?(e.openBlock(),e.createElementBlock("span",d,e.toDisplayString(o.tag.rate),1)):e.createCommentVNode("",!0),o.closable?(e.openBlock(),e.createElementBlock("svg",{key:3,width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"close inline-block cursor-pointer",onClick:a[0]||(a[0]=M=>o.$emit("close",o.tag))},[e.createElementVNode("path",{d:`M8.49999 7.66407L5.07851 4.24259C4.96961 4.1337 4.82192 4.07252 4.66793 4.07252C4.51393 4.07252 4.36624
|
|
2
2
|
4.1337 4.25735 4.24259C4.14846 4.35148 4.08728 4.49917 4.08728 4.65317C4.08728 4.80716 4.14846 4.95485 4.25735
|
|
3
3
|
5.06375L7.67883 8.48523L4.25735 11.9067C4.14846 12.0156 4.08728 12.1633 4.08728 12.3173C4.08728 12.4713 4.14846
|
|
4
4
|
12.619 4.25735 12.7279C4.36624 12.8368 4.51393 12.8979 4.66793 12.8979C4.82192 12.8979 4.96961 12.8368 5.07851
|
|
@@ -6,4 +6,69 @@
|
|
|
6
6
|
12.6328 12.8349 12.7426 12.7279C12.8515 12.619 12.9127 12.4713 12.9127 12.3173C12.9127 12.1633 12.8515
|
|
7
7
|
12.0156 12.7426 11.9067L9.32115 8.48523L12.7426 5.06375C12.8515 4.95485 12.9127 4.80716 12.9127
|
|
8
8
|
4.65317C12.9127 4.49917 12.8515 4.35148 12.7426 4.24259C12.6328 4.13556 12.4854 4.07566 12.3321
|
|
9
|
-
4.07566C12.1787 4.07566 12.0313 4.13556 11.9215 4.24259L8.49999 7.66407Z`,fill:
|
|
9
|
+
4.07566C12.1787 4.07566 12.0313 4.13556 11.9215 4.24259L8.49999 7.66407Z`,fill:C?"#01ABAA":"white"},null,8,p)])):e.createCommentVNode("",!0)],2)}}}),c=(l,n)=>{const C=l.__vccOpts||l;for(const[o,a]of n)C[o]=a;return C},h=c(m,[["__scopeId","data-v-7d4de45a"]]),f={class:"loader-wrapper relative"},k=c(e.defineComponent({__name:"index",props:{width:{default:"21px"},height:{default:"21px"},speed:{default:"1.5s"},color:{default:"#01ABAA"}},setup(l){return e.useCssVars(n=>({"1ea7dc8c":n.width,c6f689be:n.height,"1d90de29":n.color,"1e72af0d":n.speed})),(n,C)=>(e.openBlock(),e.createElementBlock("div",f,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(8,o=>e.createElementVNode("div",{key:o,class:"spoke absolute"})),64))]))}}),[["__scopeId","data-v-c240f1d2"]]),i={CHECK_CIRCLE:"check-circle",CHECK_SQUARE:"check-square",LEFT_RIGHT_ARROW:"left-right-arrow",CHESS:"chess"},y=["width","height"],_=["opacity","fill"],g=["opacity","fill"],L={key:2},E=["opacity","fill"],B=["opacity","fill"],w={key:3},H=["opacity","fill"],V=["opacity","fill"],N=e.defineComponent({__name:"index",props:{icon:{},width:{default:16},height:{default:16},opacity:{default:.7},color:{default:"white"}},setup(l){return(n,C)=>(e.openBlock(),e.createElementBlock("svg",{width:n.width,height:n.height,class:e.normalizeClass(`icon icon-${n.icon}`),viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[n.icon===e.unref(i).CHESS?(e.openBlock(),e.createElementBlock("path",{key:0,opacity:n.opacity,"fill-rule":"evenodd","clip-rule":"evenodd",d:`M6.87382 0C7.19599 0 7.45715 0.261167 7.45715 0.583333V1.16667H8.04049C8.36266 1.16667 8.62382 1.42784 8.62382
|
|
10
|
+
1.75C8.62382 2.07216 8.36266 2.33333 8.04049 2.33333H7.45715V3.57832C8.14974 3.77011 8.69172 4.29777 8.97936
|
|
11
|
+
4.97908C9.66723 4.49559 10.3823 4.27637 11.0676 4.30946C12.0172 4.35534 12.8122 4.88333 13.2802 5.66054C14.1811
|
|
12
|
+
7.15645 13.8468 9.41856 11.6901 11.2449L12.2235 12.3116C12.6113 13.0873 12.0473 14 11.18 14H2.56768C1.70041 14
|
|
13
|
+
1.13633 13.0873 1.52418 12.3116L2.05751 11.2449C-0.0991101 9.41856 -0.43337 7.15645 0.467461 5.66054C0.935498
|
|
14
|
+
4.88332 1.73044 4.35533 2.68012 4.30947C3.36536 4.27638 4.08042 4.4956 4.76834 4.9791C5.05594 4.29778 5.5979
|
|
15
|
+
3.77011 6.29049 3.57832V2.33333H5.70715C5.38498 2.33333 5.12382 2.07216 5.12382 1.75C5.12382 1.42784 5.38498
|
|
16
|
+
1.16667 5.70715 1.16667H6.29049V0.583333C6.29049 0.261167 6.55164 0 6.87382 0ZM4.54798 6.30572C3.86433 5.65339
|
|
17
|
+
3.22773 5.45105 2.73639 5.47478C2.20914 5.50024 1.75227 5.78852 1.4669 6.26237C0.925033 7.16222 0.969244 8.90447
|
|
18
|
+
2.9889 10.5H5.96598C5.81635 10.1628 5.63747 9.74837 5.45829 9.30667C5.23656 8.76009 5.01126 8.1641 4.84048
|
|
19
|
+
7.61734C4.6983 7.16211 4.57843 6.69433 4.54798 6.30572ZM7.78172 10.5H10.7588C12.7784 8.90447 12.8227 7.16222
|
|
20
|
+
12.2808 6.26237C11.9954 5.78852 11.5386 5.50024 11.0113 5.47478C10.5199 5.45104 9.88335 5.65338 9.19969
|
|
21
|
+
6.30566C9.16924 6.69427 9.04942 7.16211 8.9072 7.61734C8.7364 8.1641 8.51112 8.76009 8.28939 9.30667C8.11019
|
|
22
|
+
9.74837 7.93134 10.1628 7.78172 10.5ZM10.5967 11.6667H6.87382H3.15101L2.56768 12.8333H11.18L10.5967
|
|
23
|
+
11.6667ZM6.87382 9.66508C6.9801 9.41955 7.09426 9.14923 7.2083 8.86812C7.42408 8.33624 7.63624 7.77321 7.79362
|
|
24
|
+
7.2695C7.95672 6.7473 8.04049 6.35057 8.04049 6.125C8.04049 6.10744 8.04025 6.09006 8.03984 6.07279C8.01657
|
|
25
|
+
5.17954 7.43399 4.66667 6.87382 4.66667C6.3137 4.66667 5.73113 5.17956 5.70785 6.07279C5.70739 6.09006 5.70715
|
|
26
|
+
6.1075 5.70715 6.125C5.70715 6.35057 5.79098 6.7473 5.95408 7.2695C6.1114 7.77321 6.32362 8.33624 6.53939
|
|
27
|
+
8.86812C6.65344 9.14923 6.76759 9.41955 6.87382 9.66508Z`,fill:n.color},null,8,_)):e.createCommentVNode("",!0),n.icon===e.unref(i).LEFT_RIGHT_ARROW?(e.openBlock(),e.createElementBlock("path",{key:1,opacity:n.opacity,d:`M14 10.6073C14 10.9776 13.6929 11.2847 13.3226 11.2847H2.31226L3.41419 12.3866C3.67613 12.6486 3.67613 13.0821
|
|
28
|
+
3.41419 13.3441C3.27871 13.4795 3.1071 13.5428 2.93548 13.5428C2.76387 13.5428 2.59226 13.4795 2.45677
|
|
29
|
+
13.3441L0.19871 11.086C0.135484 11.0228 0.0903226 10.9505 0.0541935 10.8692C-0.0180645 10.7066 -0.0180645 10.517
|
|
30
|
+
0.0541935 10.3544C0.0903226 10.2731 0.135484 10.2008 0.19871 10.1376L2.45677 7.87953C2.71871 7.6176 3.15226
|
|
31
|
+
7.6176 3.41419 7.87953C3.67613 8.14147 3.67613 8.57502 3.41419 8.83695L2.31226 9.93889H13.3226C13.6929 9.93889
|
|
32
|
+
14 10.246 14 10.6163V10.6073ZM0.677419 4.05889H11.6877L10.5858 5.16082C10.3239 5.42276 10.3239 5.85631 10.5858
|
|
33
|
+
6.11824C10.7213 6.25373 10.8929 6.31695 11.0645 6.31695C11.2361 6.31695 11.4077 6.25373 11.5432 6.11824L13.8013
|
|
34
|
+
3.86018C13.8645 3.79695 13.9097 3.72469 13.9458 3.6434C14.0181 3.48082 14.0181 3.29115 13.9458 3.12857C13.9097
|
|
35
|
+
3.04728 13.8645 2.97502 13.8013 2.91179L11.5432 0.653727C11.2813 0.391792 10.8477 0.391792 10.5858
|
|
36
|
+
0.653727C10.3239 0.915662 10.3239 1.34921 10.5858 1.61115L11.6877 2.71308H0.677419C0.307097 2.71308 5.04717e-08
|
|
37
|
+
3.02018 5.04717e-08 3.3905C5.04717e-08 3.76082 0.307097 4.06792 0.677419 4.06792V4.05889Z`,fill:n.color},null,8,g)):e.createCommentVNode("",!0),n.icon===e.unref(i).CHECK_SQUARE?(e.openBlock(),e.createElementBlock("g",L,[e.createElementVNode("path",{d:`M11.8 13.8056H2.2C1.61652 13.8056 1.05694 13.5802 0.644365 13.1791C0.231785 12.778 0 12.2339 0
|
|
38
|
+
11.6667V2.33335C0 1.76608 0.231785 1.22204 0.644365 0.820924C1.05694 0.419804 1.61652 0.194458 2.2
|
|
39
|
+
0.194458H9.288C9.44713 0.194458 9.59974 0.255916 9.71226 0.365312C9.82479 0.474709 9.888 0.623082 9.888
|
|
40
|
+
0.777791C9.888 0.932501 9.82479 1.08087 9.71226 1.19027C9.59974 1.29967 9.44713 1.36112 9.288
|
|
41
|
+
1.36112H2.2C1.93478 1.36112 1.68043 1.46355 1.49289 1.64588C1.30536 1.82821 1.2 2.0755 1.2 2.33335V11.6667C1.2
|
|
42
|
+
11.9245 1.30536 12.1718 1.49289 12.3541C1.68043 12.5365 1.93478 12.6389 2.2 12.6389H11.8C12.0652 12.6389
|
|
43
|
+
12.3196 12.5365 12.5071 12.3541C12.6946 12.1718 12.8 11.9245 12.8 11.6667V5.67001C12.8 5.5153 12.8632 5.36693
|
|
44
|
+
12.9757 5.25753C13.0883 5.14814 13.2409 5.08668 13.4 5.08668C13.5591 5.08668 13.7117 5.14814 13.8243
|
|
45
|
+
5.25753C13.9368 5.36693 14 5.5153 14 5.67001V11.6667C14 12.2339 13.7682 12.778 13.3556 13.1791C12.9431 13.5802
|
|
46
|
+
12.3835 13.8056 11.8 13.8056Z`,opacity:n.opacity,fill:n.color},null,8,E),e.createElementVNode("path",{d:`M5.79998 9.52783C5.64562 9.51636 5.50203 9.44655 5.39998 9.33339L2.99998 7.00005C2.94651 6.8912 2.92906
|
|
47
|
+
6.76891 2.95004 6.65001C2.97102 6.53112 3.0294 6.42148 3.11714 6.33618C3.20487 6.25088 3.31765 6.19412 3.43994
|
|
48
|
+
6.17373C3.56223 6.15333 3.68801 6.17029 3.79998 6.22228L5.77598 8.14339L12.6 1.55561C12.7119 1.50362 12.8377
|
|
49
|
+
1.48666 12.96 1.50706C13.0823 1.52746 13.1951 1.58421 13.2828 1.66951C13.3706 1.75481 13.4289 1.86446 13.4499
|
|
50
|
+
1.98335C13.4709 2.10224 13.4535 2.22453 13.4 2.33339L6.19998 9.33339C6.09792 9.44655 5.95433 9.51636 5.79998
|
|
51
|
+
9.52783Z`,opacity:n.opacity,fill:n.color},null,8,B)])):e.createCommentVNode("",!0),n.icon===e.unref(i).CHECK_CIRCLE?(e.openBlock(),e.createElementBlock("g",w,[e.createElementVNode("path",{d:`M5.81259 9.52305C5.66283 9.5116 5.52351 9.44194 5.42448 9.329L3.09584 7.00035C3.04396 6.89172 3.02703
|
|
52
|
+
6.76967 3.04739 6.65102C3.06774 6.53236 3.12439 6.42294 3.20951 6.33781C3.29464 6.25268 3.40406 6.19604 3.52272
|
|
53
|
+
6.17568C3.64137 6.15533 3.76342 6.17226 3.87205 6.22414L5.78931 8.14139L12.4104 1.56685C12.5191 1.51496
|
|
54
|
+
12.6411 1.49804 12.7598 1.51839C12.8784 1.53875 12.9878 1.59539 13.073 1.68052C13.1581 1.76565 13.2147 1.87507
|
|
55
|
+
13.2351 1.99373C13.2554 2.11238 13.2385 2.23443 13.1866 2.34306L6.2007 9.329C6.10168 9.44194 5.96236 9.5116
|
|
56
|
+
5.81259 9.52305Z`,opacity:n.opacity,fill:n.color},null,8,H),e.createElementVNode("path",{d:`M6.97692 13.9863C5.72836 13.9843 4.50314 13.6477 3.42878 13.0116C2.35443 12.3754 1.4702 11.4629 0.868111
|
|
57
|
+
10.3691C0.410442 9.5541 0.127583 8.65265 0.0375607 7.72225C-0.104502 6.35772 0.158347 4.98157 0.793319
|
|
58
|
+
3.76546C1.42829 2.54935 2.40727 1.54712 3.60815 0.88379C4.42319 0.426122 5.32464 0.143263 6.25504
|
|
59
|
+
0.0532404C7.18196 -0.0464659 8.11947 0.0433238 9.01061 0.317154C9.09014 0.333044 9.16547 0.365376 9.23178
|
|
60
|
+
0.412077C9.29808 0.458778 9.3539 0.518818 9.39565 0.588349C9.4374 0.657879 9.46416 0.735365 9.47421
|
|
61
|
+
0.815841C9.48427 0.896316 9.4774 0.978006 9.45405 1.05567C9.43069 1.13334 9.39137 1.20527 9.33859
|
|
62
|
+
1.26685C9.28582 1.32843 9.22076 1.37831 9.14759 1.41328C9.07442 1.44826 8.99474 1.46755 8.91368 1.46994C8.83261
|
|
63
|
+
1.47233 8.75194 1.45775 8.67683 1.42714C7.92282 1.20042 7.13113 1.12653 6.34819 1.2098C5.5743 1.28904 4.82444
|
|
64
|
+
1.52403 4.14374 1.90063C3.48794 2.26243 2.90812 2.74737 2.43607 3.32887C1.95005 3.92124 1.58711 4.60465 1.36853
|
|
65
|
+
5.33905C1.14994 6.07345 1.08009 6.84408 1.16307 7.60581C1.24232 8.3797 1.47731 9.12956 1.8539 9.81026C2.2157
|
|
66
|
+
10.4661 2.70064 11.0459 3.28214 11.5179C3.87452 12.004 4.55792 12.3669 5.29232 12.5855C6.02672 12.8041 6.79735
|
|
67
|
+
12.8739 7.55908 12.7909C8.33297 12.7117 9.08283 12.4767 9.76354 12.1001C10.4193 11.7383 10.9992 11.2534 11.4712
|
|
68
|
+
10.6719C11.9572 10.0795 12.3202 9.39609 12.5387 8.66169C12.7573 7.92729 12.8272 7.15665 12.7442 6.39492C12.7366
|
|
69
|
+
6.3149 12.7447 6.23416 12.7683 6.15731C12.7919 6.08045 12.8303 6.00899 12.8815 5.94701C12.9327 5.88502 12.9956
|
|
70
|
+
5.83372 13.0666 5.79603C13.1376 5.75835 13.2153 5.73502 13.2953 5.72737C13.3753 5.71973 13.4561 5.72792 13.5329
|
|
71
|
+
5.75148C13.6098 5.77504 13.6812 5.8135 13.7432 5.86468C13.8052 5.91585 13.8565 5.97874 13.8942 6.04974C13.9319
|
|
72
|
+
6.12074 13.9552 6.19847 13.9629 6.27849C14.1042 7.64382 13.8402 9.02055 13.2038 10.2367C12.5674 11.4529 11.5868
|
|
73
|
+
12.4547 10.3845 13.1169C9.5608 13.5933 8.64543 13.8896 7.6988 13.9863C7.45818 13.9863 7.20979 13.9863 6.97692
|
|
74
|
+
13.9863Z`,opacity:n.opacity,fill:n.color},null,8,V)])):e.createCommentVNode("",!0)],10,y))}});t.SvgIcon=N,t.Tag=h,t.WheelLoader=k,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "watermelon-ui-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/watermelon-ui-kit.umd.ts",
|
|
6
6
|
"module": "./dist/watermelon-ui-kit.es.ts",
|
|
@@ -38,17 +38,22 @@
|
|
|
38
38
|
"@storybook/vue3": "^8.5.3",
|
|
39
39
|
"@storybook/vue3-vite": "^8.5.3",
|
|
40
40
|
"@tailwindcss/vite": "^4.0.9",
|
|
41
|
+
"@types/node": "^22.15.3",
|
|
41
42
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
42
43
|
"@vitest/coverage-v8": "^3.0.5",
|
|
43
44
|
"@vue/test-utils": "^2.4.6",
|
|
44
45
|
"@vue/tsconfig": "^0.7.0",
|
|
46
|
+
"eslint": "^9.25.1",
|
|
47
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
48
|
+
"globals": "^16.0.0",
|
|
45
49
|
"jsdom": "^26.0.0",
|
|
46
50
|
"primevue": "^4.3.0",
|
|
47
51
|
"sass-embedded": "^1.85.1",
|
|
48
52
|
"storybook": "^8.5.3",
|
|
49
53
|
"tailwindcss": "^4.0.9",
|
|
50
|
-
"typescript": "~5.7.
|
|
51
|
-
"
|
|
54
|
+
"typescript": "~5.7.3",
|
|
55
|
+
"typescript-eslint": "^8.31.1",
|
|
56
|
+
"vite": "^6.2.6",
|
|
52
57
|
"vite-plugin-dts": "^4.5.0",
|
|
53
58
|
"vitest": "^3.0.5",
|
|
54
59
|
"vue": "^3.5.13",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/components/Tag/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;CAItB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../src/components/Tag/index.vue"],"names":[],"mappings":"AAyEA,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAA;AACD,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC,CAAA;;;;;;AAqGD,wBAQG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../src/components/WheelLoader/index.vue"],"names":[],"mappings":"AAoLA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAA;;WAJS,MAAM;YACL,MAAM;WACP,MAAM;WACN,MAAM;;AA4EhB,wBAQG"}
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AAErB,OAAO,GAAG,MAAM,iBAAiB,CAAA;AACjC,OAAO,WAAW,MAAM,yBAAyB,CAAA;AAEjD,OAAO,EACL,GAAG,EACH,WAAW,GACZ,CAAA"}
|
|
File without changes
|
|
File without changes
|