watermelon-ui-kit 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { TAG_STATUS } from './constants.ts';
|
|
2
2
|
export type TagType = {
|
|
3
|
+
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
status: typeof TAG_STATUS.NEW | typeof TAG_STATUS.SYSTEM | typeof TAG_STATUS.PUBLISHED;
|
|
5
|
-
id?: string;
|
|
6
6
|
rate?: number;
|
|
7
|
-
tagId?:
|
|
7
|
+
tagId?: never;
|
|
8
|
+
} | {
|
|
9
|
+
tagId: string;
|
|
10
|
+
name: string;
|
|
11
|
+
status: typeof TAG_STATUS.NEW | typeof TAG_STATUS.SYSTEM | typeof TAG_STATUS.PUBLISHED;
|
|
12
|
+
id?: never;
|
|
13
|
+
rate?: number;
|
|
8
14
|
};
|
|
@@ -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);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--radius-xs:.125rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--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;--color-primary-blue:#001529}}@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}.left-0{left:calc(var(--spacing)*0)}.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-0{margin:calc(var(--spacing)*0)}.m-1{margin:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.\!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}.w-full{width:100%}.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}.list-none{list-style-type:none}.items-center{align-items:center}.justify-between{justify-content:space-between}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:var(--radius-lg)}.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-blue{background-color:var(--color-primary-blue)}.bg-primary-green{background-color:var(--color-primary-green)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.px-2{padding-inline:calc(var(--spacing)*2)}.py-1{padding-block:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.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}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.tag .rate[data-v-7fddb089]{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}}.question-type-wrapper[data-v-402b10f7]{width:200px;outline:solid 1px rgba(255,255,255,.5)}.question-type-wrapper .dropdown[data-v-402b10f7]{outline:solid 1px rgba(255,255,255,.3);top:102%}.question-type-wrapper .dropdown li[data-v-402b10f7]{text-wrap:nowrap}.question-type-wrapper .dropdown li[data-v-402b10f7]:hover{background:#ffffff1a}.question-type-wrapper .selected .arrow.opened[data-v-402b10f7]{transform:rotateX(180deg)}
|
|
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);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--radius-xs:.125rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--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;--color-primary-blue:#001529}}@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}.left-0{left:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-1{z-index:1}.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-0{margin:calc(var(--spacing)*0)}.m-1{margin:calc(var(--spacing)*1)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.\!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}.w-full{width:100%}.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}.list-none{list-style-type:none}.items-center{align-items:center}.justify-between{justify-content:space-between}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:var(--radius-lg)}.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-blue{background-color:var(--color-primary-blue)}.bg-primary-green{background-color:var(--color-primary-green)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.px-2{padding-inline:calc(var(--spacing)*2)}.py-1{padding-block:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.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}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.tag .rate[data-v-7fddb089]{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}}.question-type-wrapper[data-v-d2fd4fbb]{width:200px;outline:solid 1px rgba(255,255,255,.5)}.question-type-wrapper .dropdown[data-v-d2fd4fbb]{outline:solid 1px rgba(255,255,255,.3);top:102%}.question-type-wrapper .dropdown li[data-v-d2fd4fbb]{text-wrap:nowrap}.question-type-wrapper .dropdown li[data-v-d2fd4fbb]:hover{background:#ffffff1a}.question-type-wrapper .selected .arrow.opened[data-v-d2fd4fbb]{transform:rotateX(180deg)}
|
|
@@ -90,7 +90,7 @@ const B = {
|
|
|
90
90
|
CHECK_SQUARE: "check-square",
|
|
91
91
|
LEFT_RIGHT_ARROW: "left-right-arrow",
|
|
92
92
|
CHESS: "chess"
|
|
93
|
-
}, P = ["width", "height"], Q = ["opacity", "fill"], K = ["opacity", "fill"], W = { key: 2 }, q = ["opacity", "fill"], Y = ["opacity", "fill"],
|
|
93
|
+
}, P = ["width", "height"], Q = ["opacity", "fill"], K = ["opacity", "fill"], W = { key: 2 }, q = ["opacity", "fill"], Y = ["opacity", "fill"], z = { key: 3 }, j = ["opacity", "fill"], J = ["opacity", "fill"], R = /* @__PURE__ */ L({
|
|
94
94
|
__name: "index",
|
|
95
95
|
props: {
|
|
96
96
|
icon: {},
|
|
@@ -176,7 +176,7 @@ const B = {
|
|
|
176
176
|
fill: e.color
|
|
177
177
|
}, null, 8, Y)
|
|
178
178
|
])) : d("", !0),
|
|
179
|
-
e.icon === f(c).CHECK_CIRCLE ? (n(), t("g",
|
|
179
|
+
e.icon === f(c).CHECK_CIRCLE ? (n(), t("g", z, [
|
|
180
180
|
s("path", {
|
|
181
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
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
|
|
@@ -186,7 +186,7 @@ const B = {
|
|
|
186
186
|
5.81259 9.52305Z`,
|
|
187
187
|
opacity: e.opacity,
|
|
188
188
|
fill: e.color
|
|
189
|
-
}, null, 8,
|
|
189
|
+
}, null, 8, j),
|
|
190
190
|
s("path", {
|
|
191
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
192
|
10.3691C0.410442 9.5541 0.127583 8.65265 0.0375607 7.72225C-0.104502 6.35772 0.158347 4.98157 0.793319
|
|
@@ -229,7 +229,7 @@ const B = {
|
|
|
229
229
|
}, n1 = { key: 1 }, t1 = {
|
|
230
230
|
key: 0,
|
|
231
231
|
ref: "question-type-select",
|
|
232
|
-
class: "dropdown absolute left-0 bg-primary-blue bg-opacity-10 cursor-pointer text-white text-base text-opacity-90 rounded-lg p-0 overflow-hidden m-0"
|
|
232
|
+
class: "dropdown absolute left-0 bg-primary-blue bg-opacity-10 cursor-pointer text-white text-base text-opacity-90 rounded-lg p-0 overflow-hidden m-0 z-1"
|
|
233
233
|
}, o1 = ["value", "onClick"], l1 = /* @__PURE__ */ L({
|
|
234
234
|
__name: "index",
|
|
235
235
|
props: {
|
|
@@ -307,7 +307,7 @@ const B = {
|
|
|
307
307
|
], 512)) : d("", !0)
|
|
308
308
|
], 512));
|
|
309
309
|
}
|
|
310
|
-
}), r1 = /* @__PURE__ */ E(l1, [["__scopeId", "data-v-
|
|
310
|
+
}), r1 = /* @__PURE__ */ E(l1, [["__scopeId", "data-v-d2fd4fbb"]]);
|
|
311
311
|
export {
|
|
312
312
|
r1 as QuestionTypeSelect,
|
|
313
313
|
R as SvgIcon,
|
|
@@ -6,7 +6,7 @@
|
|
|
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:l?"#01ABAA":"white"},null,8,g)])):e.createCommentVNode("",!0)],2)}}}),f=(i,n)=>{const l=i.__vccOpts||i;for(const[t,C]of n)l[t]=C;return l},B=f(u,[["__scopeId","data-v-7fddb089"]]),w={class:"loader-wrapper relative"},V=f(e.defineComponent({__name:"index",props:{width:{default:"21px"},height:{default:"21px"},speed:{default:"1.5s"},color:{default:"#01ABAA"}},setup(i){return e.useCssVars(n=>({"1ea7dc8c":n.width,c6f689be:n.height,"1d90de29":n.color,"1e72af0d":n.speed})),(n,l)=>(e.openBlock(),e.createElementBlock("div",w,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(8,t=>e.createElementVNode("div",{key:t,class:"spoke absolute"})),64))]))}}),[["__scopeId","data-v-c240f1d2"]]),c={CHECK_CIRCLE:"check-circle",CHECK_SQUARE:"check-square",LEFT_RIGHT_ARROW:"left-right-arrow",CHESS:"chess"},S=["width","height"],H=["opacity","fill"],N=["opacity","fill"],R={key:2},
|
|
9
|
+
4.07566C12.1787 4.07566 12.0313 4.13556 11.9215 4.24259L8.49999 7.66407Z`,fill:l?"#01ABAA":"white"},null,8,g)])):e.createCommentVNode("",!0)],2)}}}),f=(i,n)=>{const l=i.__vccOpts||i;for(const[t,C]of n)l[t]=C;return l},B=f(u,[["__scopeId","data-v-7fddb089"]]),w={class:"loader-wrapper relative"},V=f(e.defineComponent({__name:"index",props:{width:{default:"21px"},height:{default:"21px"},speed:{default:"1.5s"},color:{default:"#01ABAA"}},setup(i){return e.useCssVars(n=>({"1ea7dc8c":n.width,c6f689be:n.height,"1d90de29":n.color,"1e72af0d":n.speed})),(n,l)=>(e.openBlock(),e.createElementBlock("div",w,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(8,t=>e.createElementVNode("div",{key:t,class:"spoke absolute"})),64))]))}}),[["__scopeId","data-v-c240f1d2"]]),c={CHECK_CIRCLE:"check-circle",CHECK_SQUARE:"check-square",LEFT_RIGHT_ARROW:"left-right-arrow",CHESS:"chess"},S=["width","height"],H=["opacity","fill"],N=["opacity","fill"],R={key:2},b=["opacity","fill"],A=["opacity","fill"],T={key:3},O=["opacity","fill"],I=["opacity","fill"],_=e.defineComponent({__name:"index",props:{icon:{},width:{default:16},height:{default:16},opacity:{default:.7},color:{default:"white"}},setup(i){return(n,l)=>(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(c).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
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
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
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
|
|
@@ -43,12 +43,12 @@
|
|
|
43
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
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
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,
|
|
46
|
+
12.3835 13.8056 11.8 13.8056Z`,opacity:n.opacity,fill:n.color},null,8,b),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
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
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
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
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,
|
|
51
|
+
9.52783Z`,opacity:n.opacity,fill:n.color},null,8,A)])):e.createCommentVNode("",!0),n.icon===e.unref(c).CHECK_CIRCLE?(e.openBlock(),e.createElementBlock("g",T,[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
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
53
|
6.17568C3.64137 6.15533 3.76342 6.17226 3.87205 6.22414L5.78931 8.14139L12.4104 1.56685C12.5191 1.51496
|
|
54
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
|
|
@@ -71,4 +71,4 @@
|
|
|
71
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
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
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,I)])):e.createCommentVNode("",!0)],10,S))}}),M="data:image/svg+xml,%3csvg%20width='10'%20height='6'%20viewBox='0%200%2010%206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5%205.27956C4.89473%205.27999%204.79042%205.26203%204.6932%205.22672C4.59597%205.19141%204.50778%205.13946%204.43381%205.07393L0.726854%201.80267C0.629223%201.67093%200.584973%201.51432%200.601198%201.35795C0.617422%201.20158%200.693182%201.0545%200.816333%200.940293C0.939485%200.826083%201.1029%200.751353%201.28038%200.728081C1.45786%200.704808%201.63913%200.734342%201.79514%200.811947L5%203.61589L8.20486%200.811947C8.36087%200.734342%208.54215%200.704808%208.71963%200.728081C8.89711%200.751353%209.06052%200.826083%209.18367%200.940293C9.30682%201.0545%209.38258%201.20158%209.39881%201.35795C9.41503%201.51432%209.37078%201.67093%209.27315%201.80267L5.53415%205.07393C5.39259%205.19957%205.20151%205.27312%205%205.27956Z'%20fill='white'%20fill-opacity='0.75'/%3e%3c/svg%3e",o={ONE_OF:1,MULTIPLE_VARIANTS:2,DRAGGABLE_ORDER:3,CHESS:4},p={[o.ONE_OF]:"One Of",[o.MULTIPLE_VARIANTS]:"Multiple Variants",[o.DRAGGABLE_ORDER]:"Draggable Order",[o.CHESS]:"Chess"},$={key:0,class:"flex items-center"},D={key:1},Z={key:0,ref:"question-type-select",class:"dropdown absolute left-0 bg-primary-blue bg-opacity-10 cursor-pointer text-white text-base text-opacity-90 rounded-lg p-0 overflow-hidden m-0"},x=["value","onClick"],G=f(e.defineComponent({__name:"index",props:{modelValue:{}},emits:["update:modelValue"],setup(i,{emit:n}){const l=i,t=n,C=[{value:o.ONE_OF,label:p[o.ONE_OF],icon:c.CHECK_CIRCLE},{value:o.MULTIPLE_VARIANTS,label:p[o.MULTIPLE_VARIANTS],icon:c.CHECK_SQUARE},{value:o.DRAGGABLE_ORDER,label:p[o.DRAGGABLE_ORDER],icon:c.LEFT_RIGHT_ARROW},{value:o.CHESS,label:p[o.CHESS],icon:c.CHESS}],s=e.ref(!1),m=e.ref(null),h=e.computed(()=>C.find(r=>r.value===l.modelValue)||null),U=()=>{s.value=!s.value},F=r=>{t("update:modelValue",r.value),s.value=!1},E=r=>{m.value&&!m.value.contains(r.target)&&(s.value=!1)};return e.onMounted(()=>{document.addEventListener("click",E)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",E)}),(r,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"selectRef",ref:m,class:"question-type-wrapper rounded-lg pr-2 relative text-white text-base text-opacity-90 font-poppins p-2 bg-primary-blue"},[e.createElementVNode("div",{class:"selected flex justify-between cursor-pointer w-full",onClick:U},[h.value?(e.openBlock(),e.createElementBlock("span",$,[e.createVNode(_,{icon:h.value.icon,class:"mr-2"},null,8,["icon"]),e.createElementVNode("span",null,e.toDisplayString(h.value.label),1)])):(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString("Question type"))),e.createElementVNode("img",{src:M,class:e.normalizeClass(["arrow ease-in duration-300 pl-2 mr-1",{opened:s.value}]),alt:"arrow icon"},null,2)]),s.value?(e.openBlock(),e.createElementBlock("ul",Z,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(C,d=>e.createElementVNode("li",{key:d.value,value:d.value,class:"list-none w-full flex items-center p-3",onClick:W=>F(d)},[e.createVNode(_,{icon:d.icon,class:"mr-2"},null,8,["icon"]),e.createElementVNode("span",null,e.toDisplayString(d.label),1)],8,x)),64))],512)):e.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-
|
|
74
|
+
13.9863Z`,opacity:n.opacity,fill:n.color},null,8,I)])):e.createCommentVNode("",!0)],10,S))}}),M="data:image/svg+xml,%3csvg%20width='10'%20height='6'%20viewBox='0%200%2010%206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5%205.27956C4.89473%205.27999%204.79042%205.26203%204.6932%205.22672C4.59597%205.19141%204.50778%205.13946%204.43381%205.07393L0.726854%201.80267C0.629223%201.67093%200.584973%201.51432%200.601198%201.35795C0.617422%201.20158%200.693182%201.0545%200.816333%200.940293C0.939485%200.826083%201.1029%200.751353%201.28038%200.728081C1.45786%200.704808%201.63913%200.734342%201.79514%200.811947L5%203.61589L8.20486%200.811947C8.36087%200.734342%208.54215%200.704808%208.71963%200.728081C8.89711%200.751353%209.06052%200.826083%209.18367%200.940293C9.30682%201.0545%209.38258%201.20158%209.39881%201.35795C9.41503%201.51432%209.37078%201.67093%209.27315%201.80267L5.53415%205.07393C5.39259%205.19957%205.20151%205.27312%205%205.27956Z'%20fill='white'%20fill-opacity='0.75'/%3e%3c/svg%3e",o={ONE_OF:1,MULTIPLE_VARIANTS:2,DRAGGABLE_ORDER:3,CHESS:4},p={[o.ONE_OF]:"One Of",[o.MULTIPLE_VARIANTS]:"Multiple Variants",[o.DRAGGABLE_ORDER]:"Draggable Order",[o.CHESS]:"Chess"},$={key:0,class:"flex items-center"},D={key:1},Z={key:0,ref:"question-type-select",class:"dropdown absolute left-0 bg-primary-blue bg-opacity-10 cursor-pointer text-white text-base text-opacity-90 rounded-lg p-0 overflow-hidden m-0 z-1"},x=["value","onClick"],G=f(e.defineComponent({__name:"index",props:{modelValue:{}},emits:["update:modelValue"],setup(i,{emit:n}){const l=i,t=n,C=[{value:o.ONE_OF,label:p[o.ONE_OF],icon:c.CHECK_CIRCLE},{value:o.MULTIPLE_VARIANTS,label:p[o.MULTIPLE_VARIANTS],icon:c.CHECK_SQUARE},{value:o.DRAGGABLE_ORDER,label:p[o.DRAGGABLE_ORDER],icon:c.LEFT_RIGHT_ARROW},{value:o.CHESS,label:p[o.CHESS],icon:c.CHESS}],s=e.ref(!1),m=e.ref(null),h=e.computed(()=>C.find(r=>r.value===l.modelValue)||null),U=()=>{s.value=!s.value},F=r=>{t("update:modelValue",r.value),s.value=!1},E=r=>{m.value&&!m.value.contains(r.target)&&(s.value=!1)};return e.onMounted(()=>{document.addEventListener("click",E)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",E)}),(r,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"selectRef",ref:m,class:"question-type-wrapper rounded-lg pr-2 relative text-white text-base text-opacity-90 font-poppins p-2 bg-primary-blue"},[e.createElementVNode("div",{class:"selected flex justify-between cursor-pointer w-full",onClick:U},[h.value?(e.openBlock(),e.createElementBlock("span",$,[e.createVNode(_,{icon:h.value.icon,class:"mr-2"},null,8,["icon"]),e.createElementVNode("span",null,e.toDisplayString(h.value.label),1)])):(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString("Question type"))),e.createElementVNode("img",{src:M,class:e.normalizeClass(["arrow ease-in duration-300 pl-2 mr-1",{opened:s.value}]),alt:"arrow icon"},null,2)]),s.value?(e.openBlock(),e.createElementBlock("ul",Z,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(C,d=>e.createElementVNode("li",{key:d.value,value:d.value,class:"list-none w-full flex items-center p-3",onClick:W=>F(d)},[e.createVNode(_,{icon:d.icon,class:"mr-2"},null,8,["icon"]),e.createElementVNode("span",null,e.toDisplayString(d.label),1)],8,x)),64))],512)):e.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-d2fd4fbb"]]);a.QuestionTypeSelect=G,a.SvgIcon=_,a.Tag=B,a.WheelLoader=V,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|