@wikicasa-dev/components 2.6.13 → 2.6.14-alpha.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.
Files changed (215) hide show
  1. package/dist/UIKit/AccessibleSelect.js +5 -5
  2. package/dist/UIKit/AccessibleSelect.vue.js +217 -205
  3. package/dist/UIKit/Accordion/AccordionContentPrimitive.js +5 -4
  4. package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +19 -21
  5. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +5 -4
  6. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +18 -20
  7. package/dist/UIKit/Accordion/AccordionItemPrimitive.js +5 -4
  8. package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +21 -23
  9. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +5 -4
  10. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +19 -21
  11. package/dist/UIKit/Accordion/BaseAccordion.js +5 -4
  12. package/dist/UIKit/Accordion/BaseAccordion.vue.js +38 -36
  13. package/dist/UIKit/Accordion/BaseAccordionItem.js +5 -5
  14. package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +64 -81
  15. package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +5 -5
  16. package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +232 -226
  17. package/dist/UIKit/BaseAlert.js +5 -5
  18. package/dist/UIKit/BaseAlert.vue.js +14 -18
  19. package/dist/UIKit/BaseAutocomplete.js +5 -5
  20. package/dist/UIKit/BaseAutocomplete.vue.js +197 -194
  21. package/dist/UIKit/BaseBadge.js +5 -5
  22. package/dist/UIKit/BaseBadge.vue.js +17 -17
  23. package/dist/UIKit/BaseBreadcrumb.js +5 -4
  24. package/dist/UIKit/BaseBreadcrumb.vue.js +39 -56
  25. package/dist/UIKit/BaseButton.js +5 -4
  26. package/dist/UIKit/BaseButton.vue.js +93 -87
  27. package/dist/UIKit/BaseComplexToggle.js +5 -6
  28. package/dist/UIKit/BaseComplexToggle.vue.js +87 -105
  29. package/dist/UIKit/BaseDropDown.js +5 -5
  30. package/dist/UIKit/BaseDropDown.vue.js +171 -152
  31. package/dist/UIKit/BaseFloatingLabel.js +6 -7
  32. package/dist/UIKit/BaseFloatingLabel.vue.js +43 -39
  33. package/dist/UIKit/BaseInput.js +6 -7
  34. package/dist/UIKit/BaseInput.vue.js +191 -210
  35. package/dist/UIKit/BaseModal.js +5 -5
  36. package/dist/UIKit/BaseModal.vue.js +160 -169
  37. package/dist/UIKit/BasePagination.js +5 -4
  38. package/dist/UIKit/BasePagination.vue.js +192 -229
  39. package/dist/UIKit/BaseSelect/SelectItem.js +5 -4
  40. package/dist/UIKit/BaseSelect/SelectItem.vue.js +34 -41
  41. package/dist/UIKit/BaseSlider.js +6 -7
  42. package/dist/UIKit/BaseSlider.vue.js +153 -203
  43. package/dist/UIKit/BaseSnackbar.js +5 -5
  44. package/dist/UIKit/BaseSnackbar.vue.js +144 -146
  45. package/dist/UIKit/BaseTextarea.js +5 -6
  46. package/dist/UIKit/BaseTextarea.vue.js +118 -126
  47. package/dist/UIKit/BaseToggle.js +5 -4
  48. package/dist/UIKit/BaseToggle.vue.js +37 -38
  49. package/dist/UIKit/BaseTooltip.js +6 -7
  50. package/dist/UIKit/BaseTooltip.vue.js +31 -40
  51. package/dist/UIKit/BaseUploadFile.js +5 -4
  52. package/dist/UIKit/BaseUploadFile.vue.js +63 -70
  53. package/dist/UIKit/Card/BaseCard.js +5 -5
  54. package/dist/UIKit/Card/BaseCard.vue.js +23 -36
  55. package/dist/UIKit/Card/CardDescriptionPrimitive.js +9 -11
  56. package/dist/UIKit/Card/CardImagePrimitive.js +5 -4
  57. package/dist/UIKit/Card/CardImagePrimitive.vue.js +11 -15
  58. package/dist/UIKit/Card/CardRootPrimitive.js +5 -5
  59. package/dist/UIKit/Card/CardRootPrimitive.vue.js +22 -26
  60. package/dist/UIKit/Card/type.js +4 -4
  61. package/dist/UIKit/Checkbox/CheckboxBtn.js +5 -5
  62. package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +76 -81
  63. package/dist/UIKit/Checkbox/CheckboxGroup.js +5 -4
  64. package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +137 -116
  65. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +5 -4
  66. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +71 -77
  67. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +5 -4
  68. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +32 -34
  69. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +5 -4
  70. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +32 -34
  71. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +5 -4
  72. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +15 -15
  73. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +5 -4
  74. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +29 -31
  75. package/dist/UIKit/Radio/RadioButton.js +5 -4
  76. package/dist/UIKit/Radio/RadioButton.vue.js +51 -59
  77. package/dist/UIKit/Radio/RadioGroup.js +5 -4
  78. package/dist/UIKit/Radio/RadioGroup.vue.js +67 -63
  79. package/dist/UIKit/Radio/v2/RadioButtonGroup.js +5 -4
  80. package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +38 -47
  81. package/dist/UIKit/Radio/v2/RadioButtonItem.js +5 -5
  82. package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +42 -44
  83. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +5 -4
  84. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +28 -30
  85. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +6 -7
  86. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +19 -19
  87. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +5 -4
  88. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +41 -30
  89. package/dist/UIKit/Slider/SimpleSlider.js +6 -7
  90. package/dist/UIKit/Slider/SimpleSlider.vue.js +74 -81
  91. package/dist/UIKit/StaticSpinner.js +6 -7
  92. package/dist/UIKit/StaticSpinner.vue.js +24 -26
  93. package/dist/UIKit/Tab/BaseTab.js +5 -4
  94. package/dist/UIKit/Tab/BaseTab.vue.js +14 -14
  95. package/dist/UIKit/Tab/BaseTabList.js +5 -4
  96. package/dist/UIKit/Tab/BaseTabList.vue.js +45 -44
  97. package/dist/UIKit/Tab/BaseTabPanel.js +5 -4
  98. package/dist/UIKit/Tab/BaseTabPanel.vue.js +27 -24
  99. package/dist/UIKit/Tab/BaseTabView.js +5 -4
  100. package/dist/UIKit/Tab/BaseTabView.vue.js +107 -105
  101. package/dist/UIKit/Tab/v2/BaseTabs.js +5 -5
  102. package/dist/UIKit/Tab/v2/BaseTabs.vue.js +34 -38
  103. package/dist/UIKit/Tab/v2/BaseTabsContent.js +5 -4
  104. package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +21 -23
  105. package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +5 -5
  106. package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +24 -33
  107. package/dist/UIKit/Tab/v2/BaseTabsList.js +5 -4
  108. package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +20 -22
  109. package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +5 -4
  110. package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +21 -30
  111. package/dist/UIKit/types.js +0 -1
  112. package/dist/_virtual/_plugin-vue_export-helper.js +7 -8
  113. package/dist/assets/AccessibleSelect.css +1 -1
  114. package/dist/assets/BaseAccordionItem.css +1 -1
  115. package/dist/assets/BaseAutocomplete.css +1 -1
  116. package/dist/assets/BaseBadge.css +1 -1
  117. package/dist/assets/BaseComplexToggle2.css +1 -1
  118. package/dist/assets/BaseDropDown.css +1 -1
  119. package/dist/assets/BaseFloatingLabel2.css +1 -1
  120. package/dist/assets/BaseInput2.css +1 -1
  121. package/dist/assets/BaseShimmerLoader.css +1 -1
  122. package/dist/assets/BaseSlider2.css +1 -1
  123. package/dist/assets/BaseSnackbar.css +1 -1
  124. package/dist/assets/BaseTabs.css +1 -1
  125. package/dist/assets/BaseTextarea2.css +1 -1
  126. package/dist/assets/BaseTooltip2.css +1 -1
  127. package/dist/assets/CheckboxBtn.css +1 -1
  128. package/dist/assets/ClearableAutocomplete.css +1 -1
  129. package/dist/assets/RadioButtonItem.css +1 -1
  130. package/dist/assets/StaticSpinner.css +1 -1
  131. package/dist/assets/SwiperCarousel.css +1 -1
  132. package/dist/assets/baseAlert.css +1 -1
  133. package/dist/assets/baseCard.css +1 -1
  134. package/dist/assets/baseComplexToggle.css +1 -1
  135. package/dist/assets/baseFloatingLabel.css +1 -1
  136. package/dist/assets/baseInput.css +1 -1
  137. package/dist/assets/baseModal.css +1 -1
  138. package/dist/assets/baseSlider.css +1 -1
  139. package/dist/assets/baseSpinner.css +1 -1
  140. package/dist/assets/baseTextarea.css +1 -1
  141. package/dist/assets/baseTooltip.css +1 -1
  142. package/dist/assets/swiper-free-mode.css +1 -1
  143. package/dist/assets/swiper-navigation.css +1 -1
  144. package/dist/assets/swiper-pagination.css +1 -1
  145. package/dist/assets/swiper-swiper.css +1 -1
  146. package/dist/assets/swiper-thumbs.css +1 -0
  147. package/dist/assets/swiper-zoom.css +1 -1
  148. package/dist/assets/swiperPaginationBullet.css +1 -1
  149. package/dist/assets/tailwind.css +1 -1
  150. package/dist/chart/DoughnutChart.js +5 -4
  151. package/dist/chart/DoughnutChart.vue.js +25 -25
  152. package/dist/chart/LineChart.js +5 -4
  153. package/dist/chart/LineChart.vue.js +27 -29
  154. package/dist/components/IntersectionObserver/IntersectionObservable.js +5 -4
  155. package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +24 -23
  156. package/dist/components/IntersectionObserver/IntersectionObserver.js +5 -4
  157. package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +55 -49
  158. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +5 -4
  159. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +43 -38
  160. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +5 -4
  161. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +27 -30
  162. package/dist/components/IntersectionObserver/v2/types.js +4 -6
  163. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +5 -4
  164. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +30 -38
  165. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +5 -4
  166. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +28 -32
  167. package/dist/components/carousel/Primitive/SwiperPrimitive.js +5 -4
  168. package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +16 -20
  169. package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -10
  170. package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +82 -112
  171. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +5 -5
  172. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +44 -39
  173. package/dist/components/carousel/SwiperCarousel.js +6 -7
  174. package/dist/components/carousel/SwiperCarousel.vue.js +195 -229
  175. package/dist/components/carousel/SwiperSlide.js +9 -13
  176. package/dist/composables/mock.js +50 -48
  177. package/dist/composables/useFloatingLabel.js +32 -32
  178. package/dist/composables/useValidator.js +5 -7
  179. package/dist/index.js +67 -150
  180. package/dist/lazyModules/ChartJs/Chart.js +2 -4
  181. package/dist/lazyModules/ChartJs/DoughnutChart/core.js +5 -6
  182. package/dist/lazyModules/ChartJs/LineChart/cartesian.js +5 -6
  183. package/dist/lazyModules/ChartJs/LineChart/core.js +5 -6
  184. package/dist/lazyModules/ChartJs/Plugins/Legend.js +4 -2
  185. package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +4 -2
  186. package/dist/lazyModules/ChartJs/Plugins/Title.js +4 -2
  187. package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +4 -2
  188. package/dist/lazyModules/Swiper/Autoplay/factory.js +6 -8
  189. package/dist/lazyModules/Swiper/Autoplay/index.js +3 -6
  190. package/dist/lazyModules/Swiper/Controller/factory.js +6 -6
  191. package/dist/lazyModules/Swiper/Controller/index.js +3 -6
  192. package/dist/lazyModules/Swiper/FreeMode/factory.js +6 -8
  193. package/dist/lazyModules/Swiper/FreeMode/index.js +3 -6
  194. package/dist/lazyModules/Swiper/Keyboard/factory.js +6 -8
  195. package/dist/lazyModules/Swiper/Keyboard/index.js +3 -6
  196. package/dist/lazyModules/Swiper/Navigation/factory.js +6 -8
  197. package/dist/lazyModules/Swiper/Navigation/index.js +3 -6
  198. package/dist/lazyModules/Swiper/Pagination/factory.js +6 -6
  199. package/dist/lazyModules/Swiper/Pagination/index.js +3 -6
  200. package/dist/lazyModules/Swiper/Thumbs/factory.js +6 -6
  201. package/dist/lazyModules/Swiper/Thumbs/index.js +3 -6
  202. package/dist/lazyModules/Swiper/Zoom/factory.js +6 -8
  203. package/dist/lazyModules/Swiper/Zoom/index.js +3 -6
  204. package/dist/lazyModules/Swiper/factory.js +9 -12
  205. package/dist/lazyModules/Swiper/index.js +2 -4
  206. package/dist/lazyModules/Swiper/swiper-css.d.js +0 -1
  207. package/dist/lazyModules/Swiper/types.js +0 -1
  208. package/dist/lazyModules/VueChartJs/Doughnut/factory.js +8 -11
  209. package/dist/lazyModules/VueChartJs/Doughnut/index.js +2 -5
  210. package/dist/lazyModules/VueChartJs/Line/factory.js +8 -13
  211. package/dist/lazyModules/VueChartJs/Line/index.js +2 -5
  212. package/dist/types/index.js +0 -1
  213. package/dist/types.js +0 -1
  214. package/dist/utils.js +4 -5
  215. package/package.json +8 -8
@@ -1,48 +1,39 @@
1
- import { defineComponent as s, createPropsRestProxy as f, useModel as p, openBlock as o, createBlock as d, unref as c, mergeProps as u, withCtx as m, renderSlot as y, createElementBlock as B, Fragment as V, renderList as C, createTextVNode as g, toDisplayString as k, mergeModels as x } from "vue";
2
- import { RadioGroupRoot as R } from "reka-ui";
3
- import v from "./RadioButtonItem.vue.js";
4
- import '../../../assets/RadioButtonItem.css';/* empty css */
5
- const S = /* @__PURE__ */ s({
6
- __name: "RadioButtonGroup",
7
- props: /* @__PURE__ */ x({
8
- dataCy: {},
9
- items: { default: () => [] },
10
- defaultValue: {},
11
- disabled: { type: Boolean },
12
- orientation: {},
13
- dir: {},
14
- loop: { type: Boolean },
15
- asChild: { type: Boolean },
16
- as: {},
17
- name: {},
18
- required: { type: Boolean }
19
- }, {
20
- modelValue: {},
21
- modelModifiers: {}
22
- }),
23
- emits: ["update:modelValue"],
24
- setup(e) {
25
- const n = f(e, ["dataCy", "items"]), a = p(e, "modelValue");
26
- return (i, l) => (o(), d(c(R), u({ "data-cy": e.dataCy }, n, {
27
- modelValue: a.value,
28
- "onUpdate:modelValue": l[0] || (l[0] = (t) => a.value = t)
29
- }), {
30
- default: m(() => [
31
- y(i.$slots, "default", {}, () => [
32
- (o(!0), B(V, null, C(e.items, ({ label: t, ...r }) => (o(), d(v, u({ ref_for: !0 }, r, {
33
- key: `radio-item-${r.value}`
34
- }), {
35
- default: m(() => [
36
- g(k(t), 1)
37
- ]),
38
- _: 2
39
- }, 1040))), 128))
40
- ])
41
- ]),
42
- _: 3
43
- }, 16, ["data-cy", "modelValue"]));
44
- }
1
+ import e from "./RadioButtonItem.js";
2
+ import { Fragment as t, createBlock as n, createElementBlock as r, createPropsRestProxy as i, createTextVNode as a, defineComponent as o, mergeModels as s, mergeProps as c, openBlock as l, renderList as u, renderSlot as d, toDisplayString as f, unref as p, useModel as m, withCtx as h } from "vue";
3
+ import { RadioGroupRoot as g } from "reka-ui";
4
+ //#region lib/UIKit/Radio/v2/RadioButtonGroup.vue?vue&type=script&setup=true&lang.ts
5
+ var _ = /*@__PURE__*/ o({
6
+ __name: "RadioButtonGroup",
7
+ props: /*@__PURE__*/ s({
8
+ dataCy: {},
9
+ items: { default: () => [] },
10
+ defaultValue: {},
11
+ disabled: { type: Boolean },
12
+ orientation: {},
13
+ dir: {},
14
+ loop: { type: Boolean },
15
+ asChild: { type: Boolean },
16
+ as: {},
17
+ name: {},
18
+ required: { type: Boolean }
19
+ }, {
20
+ modelValue: {},
21
+ modelModifiers: {}
22
+ }),
23
+ emits: ["update:modelValue"],
24
+ setup(o) {
25
+ let s = i(o, ["dataCy", "items"]), _ = m(o, "modelValue");
26
+ return (i, m) => (l(), n(p(g), c({ "data-cy": o.dataCy }, s, {
27
+ modelValue: _.value,
28
+ "onUpdate:modelValue": m[0] ||= (e) => _.value = e
29
+ }), {
30
+ default: h(() => [d(i.$slots, "default", {}, () => [(l(!0), r(t, null, u(o.items, ({ label: t, ...r }) => (l(), n(e, c({ ref_for: !0 }, r, { key: `radio-item-${r.value}` }), {
31
+ default: h(() => [a(f(t), 1)]),
32
+ _: 2
33
+ }, 1040))), 128))])]),
34
+ _: 3
35
+ }, 16, ["data-cy", "modelValue"]));
36
+ }
45
37
  });
46
- export {
47
- S as default
48
- };
38
+ //#endregion
39
+ export { _ as default };
@@ -1,5 +1,5 @@
1
- import o from "./RadioButtonItem.vue.js";
2
- import '../../../assets/RadioButtonItem.css';/* empty css */
3
- export {
4
- o as default
5
- };
1
+ import e from "./RadioButtonItem.vue.js";
2
+ //#region lib/UIKit/Radio/v2/RadioButtonItem.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,45 +1,43 @@
1
- import { defineComponent as l, createPropsRestProxy as n, useId as c, computed as k, openBlock as a, createElementBlock as s, createVNode as r, unref as u, mergeProps as m, withCtx as p, normalizeClass as f, renderSlot as y, createCommentVNode as C } from "vue";
2
- import { RadioGroupItem as b, RadioGroupIndicator as h } from "reka-ui";
3
- const x = { class: "uikit-radio-btn uikit-flex uikit-items-center uikit-gap-x-[8px]" }, g = ["for"], v = /* @__PURE__ */ l({
4
- __name: "RadioButtonItem",
5
- props: {
6
- itemClasses: {},
7
- labelClasses: {},
8
- dataCy: {},
9
- id: {},
10
- value: {},
11
- disabled: { type: Boolean },
12
- asChild: { type: Boolean },
13
- as: {},
14
- name: {},
15
- required: { type: Boolean }
16
- },
17
- setup(e) {
18
- const i = n(e, ["itemClasses", "labelClasses", "dataCy"]), d = c(), t = k(() => i.id ?? d);
19
- return (o, w) => (a(), s("div", x, [
20
- r(u(b), m(i, {
21
- id: t.value,
22
- "data-cy": e.dataCy,
23
- class: [
24
- "uikit-radio-group-item uikit-inline-flex uikit-size-[18px] uikit-shrink-0 uikit-cursor-default uikit-items-center uikit-justify-center uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white uikit-p-0 uikit-shadow-sm uikit-outline-none focus:uikit-border-2 focus:uikit-border-w-primary",
25
- e.itemClasses
26
- ]
27
- }), {
28
- default: p(() => [
29
- r(u(h), { class: "uikit-radio-group-indicator uikit-size-[12px] uikit-rounded-[50%] uikit-bg-w-primary" })
30
- ]),
31
- _: 1
32
- }, 16, ["id", "data-cy", "class"]),
33
- o.$slots.default ? (a(), s("label", {
34
- key: 0,
35
- for: t.value,
36
- class: f(e.labelClasses)
37
- }, [
38
- y(o.$slots, "default")
39
- ], 10, g)) : C("", !0)
40
- ]));
41
- }
1
+ import { computed as e, createCommentVNode as t, createElementBlock as n, createPropsRestProxy as r, createVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, openBlock as c, renderSlot as l, unref as u, useId as d, withCtx as f } from "vue";
2
+ import { RadioGroupIndicator as p, RadioGroupItem as m } from "reka-ui";
3
+ import '../../../assets/RadioButtonItem.css';//#region lib/UIKit/Radio/v2/RadioButtonItem.vue?vue&type=script&setup=true&lang.ts
4
+ var h = { class: "uikit-radio-btn uikit-flex uikit-items-center uikit-gap-x-[8px]" }, g = ["for"], _ = /*@__PURE__*/ a({
5
+ __name: "RadioButtonItem",
6
+ props: {
7
+ itemClasses: {},
8
+ labelClasses: {},
9
+ dataCy: {},
10
+ id: {},
11
+ value: {},
12
+ disabled: { type: Boolean },
13
+ asChild: { type: Boolean },
14
+ as: {},
15
+ name: {},
16
+ required: { type: Boolean }
17
+ },
18
+ setup(a) {
19
+ let _ = r(a, [
20
+ "itemClasses",
21
+ "labelClasses",
22
+ "dataCy"
23
+ ]), v = d(), y = e(() => _.id ?? v);
24
+ return (e, r) => (c(), n("div", h, [i(u(m), o(_, {
25
+ id: y.value,
26
+ "data-cy": a.dataCy,
27
+ class: ["uikit-radio-group-item uikit-inline-flex uikit-size-[18px] uikit-shrink-0 uikit-cursor-default uikit-items-center uikit-justify-center uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white uikit-p-0 uikit-shadow-sm uikit-outline-none focus:uikit-border-2 focus:uikit-border-w-primary", a.itemClasses]
28
+ }), {
29
+ default: f(() => [i(u(p), { class: "uikit-radio-group-indicator uikit-size-[12px] uikit-rounded-[50%] uikit-bg-w-primary" })]),
30
+ _: 1
31
+ }, 16, [
32
+ "id",
33
+ "data-cy",
34
+ "class"
35
+ ]), e.$slots.default ? (c(), n("label", {
36
+ key: 0,
37
+ for: y.value,
38
+ class: s(a.labelClasses)
39
+ }, [l(e.$slots, "default")], 10, g)) : t("", !0)]));
40
+ }
42
41
  });
43
- export {
44
- v as default
45
- };
42
+ //#endregion
43
+ export { _ as default };
@@ -1,4 +1,5 @@
1
- import f from "./RadioGroupItemPrimitive.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./RadioGroupItemPrimitive.vue.js";
2
+ //#region lib/UIKit/Radio/v2/RadioGroupItemPrimitive.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,31 +1,29 @@
1
- import { defineComponent as n, createPropsRestProxy as d, openBlock as l, createBlock as p, unref as m, mergeProps as c, withCtx as u, renderSlot as y, normalizeProps as f, guardReactiveProps as C } from "vue";
2
- import { RadioGroupItem as P } from "reka-ui";
3
- const v = /* @__PURE__ */ n({
4
- __name: "RadioGroupItemPrimitive",
5
- props: {
6
- dataCy: {},
7
- id: {},
8
- value: {},
9
- disabled: { type: Boolean },
10
- asChild: { type: Boolean },
11
- as: {},
12
- name: {},
13
- required: { type: Boolean }
14
- },
15
- emits: ["select"],
16
- setup(t, { emit: a }) {
17
- const r = d(t, ["dataCy"]), s = a;
18
- return (i, o) => (l(), p(m(P), c(r, {
19
- "data-cy": t.dataCy,
20
- onSelect: o[0] || (o[0] = (e) => s("select", e))
21
- }), {
22
- default: u((e) => [
23
- y(i.$slots, "default", f(C(e)))
24
- ]),
25
- _: 3
26
- }, 16, ["data-cy"]));
27
- }
1
+ import { createBlock as e, createPropsRestProxy as t, defineComponent as n, guardReactiveProps as r, mergeProps as i, normalizeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
2
+ import { RadioGroupItem as u } from "reka-ui";
3
+ //#region lib/UIKit/Radio/v2/RadioGroupItemPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var d = /*@__PURE__*/ n({
5
+ __name: "RadioGroupItemPrimitive",
6
+ props: {
7
+ dataCy: {},
8
+ id: {},
9
+ value: {},
10
+ disabled: { type: Boolean },
11
+ asChild: { type: Boolean },
12
+ as: {},
13
+ name: {},
14
+ required: { type: Boolean }
15
+ },
16
+ emits: ["select"],
17
+ setup(n, { emit: d }) {
18
+ let f = t(n, ["dataCy"]), p = d;
19
+ return (t, d) => (o(), e(c(u), i(f, {
20
+ "data-cy": n.dataCy,
21
+ onSelect: d[0] ||= (e) => p("select", e)
22
+ }), {
23
+ default: l((e) => [s(t.$slots, "default", a(r(e)))]),
24
+ _: 3
25
+ }, 16, ["data-cy"]));
26
+ }
28
27
  });
29
- export {
30
- v as default
31
- };
28
+ //#endregion
29
+ export { d as default };
@@ -1,7 +1,6 @@
1
- import o from "./BaseShimmerLoader.vue.js";
2
- import '../../assets/BaseShimmerLoader.css';/* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cf2534f5"]]);
5
- export {
6
- e as default
7
- };
1
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
2
+ import t from "./BaseShimmerLoader.vue.js";
3
+ //#region lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue
4
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-cf2534f5"]]);
5
+ //#endregion
6
+ export { n as default };
@@ -1,20 +1,20 @@
1
- import { defineComponent as i, openBlock as a, createElementBlock as l, createElementVNode as o, normalizeClass as s, renderSlot as d } from "vue";
2
- const n = { class: "uikit-relative uikit-overflow-hidden uikit-bg-w-lavender" }, r = ["data-enabled"], c = /* @__PURE__ */ i({
3
- __name: "BaseShimmerLoader",
4
- props: {
5
- shimmerClasses: { default: "" },
6
- enabled: { type: Boolean, default: !0 }
7
- },
8
- setup(e) {
9
- return (t, u) => (a(), l("div", n, [
10
- o("div", {
11
- class: s(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full", e.shimmerClasses]),
12
- "data-enabled": e.enabled || void 0
13
- }, null, 10, r),
14
- d(t.$slots, "default", {}, void 0, !0)
15
- ]));
16
- }
1
+ import { createElementBlock as e, createElementVNode as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a } from "vue";
2
+ import '../../assets/BaseShimmerLoader.css';//#region lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue?vue&type=script&setup=true&lang.ts
3
+ var o = { class: "uikit-relative uikit-overflow-hidden uikit-bg-w-lavender" }, s = ["data-enabled"], c = /*@__PURE__*/ n({
4
+ __name: "BaseShimmerLoader",
5
+ props: {
6
+ shimmerClasses: { default: "" },
7
+ enabled: {
8
+ type: Boolean,
9
+ default: !0
10
+ }
11
+ },
12
+ setup(n) {
13
+ return (c, l) => (i(), e("div", o, [t("div", {
14
+ class: r(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full", n.shimmerClasses]),
15
+ "data-enabled": n.enabled || void 0
16
+ }, null, 10, s), a(c.$slots, "default", {}, void 0, !0)]));
17
+ }
17
18
  });
18
- export {
19
- c as default
20
- };
19
+ //#endregion
20
+ export { c as default };
@@ -1,4 +1,5 @@
1
- import f from "./ShimmerMultiLine.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./ShimmerMultiLine.vue.js";
2
+ //#region lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,31 +1,42 @@
1
- import { defineComponent as l, openBlock as t, createElementBlock as a, Fragment as r, renderList as i, createBlock as m, normalizeStyle as s, normalizeClass as o } from "vue";
2
- import u from "./BaseShimmerLoader.js";
3
- const k = /* @__PURE__ */ l({
4
- __name: "ShimmerMultiLine",
5
- props: {
6
- lines: { default: 1 },
7
- randomLength: { type: Boolean, default: !1 },
8
- shimmerClasses: {},
9
- inheritHeight: { type: Boolean, default: !1 },
10
- enabled: { type: Boolean, default: !0 }
11
- },
12
- setup(e) {
13
- return (d, h) => (t(!0), a(r, null, i(e.lines, (n) => (t(), m(u, {
14
- ref_for: !0,
15
- ref: "shimmerLines",
16
- class: o(["shimmer-line", [
17
- e.shimmerClasses,
18
- e.inheritHeight ? "uikit-h-[1em]" : "uikit-h-8",
19
- "uikit-mb-2 uikit-rounded-xs"
20
- ]]),
21
- enabled: e.enabled,
22
- key: `sml-${n}`,
23
- style: s({
24
- marginRight: e.randomLength ? `${Math.round(Math.random() * 5) * 10}%` : 0
25
- })
26
- }, null, 8, ["class", "enabled", "style"]))), 128));
27
- }
1
+ import e from "./BaseShimmerLoader.js";
2
+ import { Fragment as t, createBlock as n, createElementBlock as r, defineComponent as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderList as c } from "vue";
3
+ //#region lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue?vue&type=script&setup=true&lang.ts
4
+ var l = /*@__PURE__*/ i({
5
+ __name: "ShimmerMultiLine",
6
+ props: {
7
+ lines: { default: 1 },
8
+ randomLength: {
9
+ type: Boolean,
10
+ default: !1
11
+ },
12
+ shimmerClasses: {},
13
+ inheritHeight: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ enabled: {
18
+ type: Boolean,
19
+ default: !0
20
+ }
21
+ },
22
+ setup(i) {
23
+ return (l, u) => (s(!0), r(t, null, c(i.lines, (t) => (s(), n(e, {
24
+ ref_for: !0,
25
+ ref: "shimmerLines",
26
+ class: a(["shimmer-line", [
27
+ i.shimmerClasses,
28
+ i.inheritHeight ? "uikit-h-[1em]" : "uikit-h-8",
29
+ "uikit-mb-2 uikit-rounded-xs"
30
+ ]]),
31
+ enabled: i.enabled,
32
+ key: `sml-${t}`,
33
+ style: o({ marginRight: i.randomLength ? `${Math.round(Math.random() * 5) * 10}%` : 0 })
34
+ }, null, 8, [
35
+ "class",
36
+ "enabled",
37
+ "style"
38
+ ]))), 128));
39
+ }
28
40
  });
29
- export {
30
- k as default
31
- };
41
+ //#endregion
42
+ export { l as default };
@@ -1,7 +1,6 @@
1
- import o from "./SimpleSlider.vue.js";
2
- import '../../assets/SimpleSlider.css';/* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-54b825e3"]]);
5
- export {
6
- p as default
7
- };
1
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
2
+ import t from "./SimpleSlider.vue.js";
3
+ //#region lib/UIKit/Slider/SimpleSlider.vue
4
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-54b825e3"]]);
5
+ //#endregion
6
+ export { n as default };
@@ -1,82 +1,75 @@
1
- import { defineComponent as V, useCssVars as L, useTemplateRef as T, useModel as y, ref as m, watch as E, onMounted as S, openBlock as C, createElementBlock as X, createElementVNode as d, withModifiers as $, mergeModels as B } from "vue";
2
- const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__ */ V({
3
- __name: "SimpleSlider",
4
- props: /* @__PURE__ */ B({
5
- min: { default: 0 },
6
- max: { default: 100 },
7
- step: { default: 1 },
8
- dataCy: {},
9
- logarithmic: { type: Boolean, default: !1 }
10
- }, {
11
- modelValue: { default: 0 },
12
- modelModifiers: {}
13
- }),
14
- emits: ["update:modelValue"],
15
- setup(t) {
16
- L((i) => ({
17
- v0f43c897: r.value,
18
- ec9c737a: s.value
19
- }));
20
- const u = T("customSlider"), l = y(t, "modelValue"), o = m(!1), s = m("50%"), r = m("50%"), c = (i = 0) => {
21
- const e = t.logarithmic ? b(i) : x(i), a = (e - t.min) / (t.max - t.min), f = t.logarithmic ? h(e) : a * 100;
22
- l.value = Math.round(e), s.value = `${Math.round(f)}%`, r.value = t.logarithmic ? `${Math.round(h(e))}%` : `${a * 100}%`;
23
- }, x = (i = 0) => {
24
- const e = Math.round((i - t.min) / t.step) * t.step + t.min;
25
- return Math.max(t.min, Math.min(t.max, e));
26
- }, k = (i = 0) => {
27
- const e = Math.log10(t.min), a = Math.log10(t.max);
28
- return Math.pow(10, e + i / 100 * (a - e));
29
- }, h = (i = 0) => {
30
- const e = Math.log10(t.min), a = Math.log10(t.max);
31
- return (Math.log10(i) - e) / (a - e) * 100;
32
- }, b = (i = 0) => {
33
- if (t.step === 1)
34
- return Math.max(t.min, Math.min(t.max, i));
35
- const e = Math.pow(
36
- 10,
37
- Math.round(Math.log10(i) / Math.log10(t.step)) * Math.log10(t.step)
38
- );
39
- return Math.max(t.min, Math.min(t.max, e));
40
- }, v = (i) => {
41
- if (!o.value || !u.value) return;
42
- const e = u.value.getBoundingClientRect(), a = u.value.offsetWidth;
43
- let n = ("touches" in i ? i.touches[0].clientX : i.clientX) - e.left;
44
- n = Math.max(0, Math.min(a, n));
45
- const w = t.logarithmic ? k(n / a * 100) : n / a * (t.max - t.min) + t.min;
46
- c(w);
47
- }, M = () => {
48
- o.value = !0;
49
- }, g = () => {
50
- o.value = !1;
51
- };
52
- return E(
53
- l,
54
- (i) => {
55
- c(i);
56
- },
57
- { immediate: !0 }
58
- ), S(() => {
59
- document.addEventListener("mousemove", v), document.addEventListener("mouseup", g), document.addEventListener("touchmove", v, { passive: !0 }), document.addEventListener("touchend", g, { passive: !0 });
60
- }), (i, e) => (C(), X("div", null, [
61
- d("div", {
62
- ref: "customSlider",
63
- class: "uikit-relative uikit-my-20px uikit-h-1 uikit-rounded-2xs uikit-bg-w-secondary",
64
- role: "slider",
65
- "aria-valuemin": t.min,
66
- "aria-valuemax": t.max,
67
- "aria-valuenow": l.value,
68
- tabindex: "0"
69
- }, [
70
- e[2] || (e[2] = d("div", { class: "slider-track uikit-absolute uikit-left-0 uikit-top-0 uikit-h-full uikit-rounded-2xs uikit-bg-w-primary" }, null, -1)),
71
- d("div", {
72
- class: "slider-thumb uikit-absolute -uikit-top-2 uikit-size-20px -uikit-translate-x-1/2 uikit-cursor-pointer uikit-rounded-full uikit-border-2 uikit-border-solid uikit-border-w-primary uikit-bg-white",
73
- onMousedown: e[0] || (e[0] = (a) => M()),
74
- onTouchstart: e[1] || (e[1] = $((a) => M(), ["prevent"]))
75
- }, null, 32)
76
- ], 8, D)
77
- ]));
78
- }
1
+ import { createElementBlock as e, createElementVNode as t, defineComponent as n, mergeModels as r, onMounted as i, openBlock as a, ref as o, useCssVars as s, useModel as c, useTemplateRef as l, watch as u, withModifiers as d } from "vue";
2
+ import '../../assets/SimpleSlider.css';//#region lib/UIKit/Slider/SimpleSlider.vue?vue&type=script&setup=true&lang.ts
3
+ var f = [
4
+ "aria-valuemin",
5
+ "aria-valuemax",
6
+ "aria-valuenow"
7
+ ], p = /*@__PURE__*/ n({
8
+ __name: "SimpleSlider",
9
+ props: /*@__PURE__*/ r({
10
+ min: { default: 0 },
11
+ max: { default: 100 },
12
+ step: { default: 1 },
13
+ dataCy: {},
14
+ logarithmic: {
15
+ type: Boolean,
16
+ default: !1
17
+ }
18
+ }, {
19
+ modelValue: { default: 0 },
20
+ modelModifiers: {}
21
+ }),
22
+ emits: ["update:modelValue"],
23
+ setup(n) {
24
+ s((e) => ({
25
+ v0f43c897: g.value,
26
+ ec9c737a: h.value
27
+ }));
28
+ let r = l("customSlider"), p = c(n, "modelValue"), m = o(!1), h = o("50%"), g = o("50%"), _ = (e = 0) => {
29
+ let t = n.logarithmic ? x(e) : v(e), r = (t - n.min) / (n.max - n.min), i = n.logarithmic ? b(t) : r * 100;
30
+ p.value = Math.round(t), h.value = `${Math.round(i)}%`, g.value = n.logarithmic ? `${Math.round(b(t))}%` : `${r * 100}%`;
31
+ }, v = (e = 0) => {
32
+ let t = Math.round((e - n.min) / n.step) * n.step + n.min;
33
+ return Math.max(n.min, Math.min(n.max, t));
34
+ }, y = (e = 0) => {
35
+ let t = Math.log10(n.min), r = Math.log10(n.max);
36
+ return 10 ** (t + e / 100 * (r - t));
37
+ }, b = (e = 0) => {
38
+ let t = Math.log10(n.min), r = Math.log10(n.max);
39
+ return (Math.log10(e) - t) / (r - t) * 100;
40
+ }, x = (e = 0) => {
41
+ if (n.step === 1) return Math.max(n.min, Math.min(n.max, e));
42
+ let t = 10 ** (Math.round(Math.log10(e) / Math.log10(n.step)) * Math.log10(n.step));
43
+ return Math.max(n.min, Math.min(n.max, t));
44
+ }, S = (e) => {
45
+ if (!m.value || !r.value) return;
46
+ let t = r.value.getBoundingClientRect(), i = r.value.offsetWidth, a = ("touches" in e ? e.touches[0].clientX : e.clientX) - t.left;
47
+ a = Math.max(0, Math.min(i, a));
48
+ let o = n.logarithmic ? y(a / i * 100) : a / i * (n.max - n.min) + n.min;
49
+ _(o);
50
+ }, C = () => {
51
+ m.value = !0;
52
+ }, w = () => {
53
+ m.value = !1;
54
+ };
55
+ return u(p, (e) => {
56
+ _(e);
57
+ }, { immediate: !0 }), i(() => {
58
+ document.addEventListener("mousemove", S), document.addEventListener("mouseup", w), document.addEventListener("touchmove", S, { passive: !0 }), document.addEventListener("touchend", w, { passive: !0 });
59
+ }), (r, i) => (a(), e("div", null, [t("div", {
60
+ ref: "customSlider",
61
+ class: "uikit-relative uikit-my-20px uikit-h-1 uikit-rounded-2xs uikit-bg-w-secondary",
62
+ role: "slider",
63
+ "aria-valuemin": n.min,
64
+ "aria-valuemax": n.max,
65
+ "aria-valuenow": p.value,
66
+ tabindex: "0"
67
+ }, [i[2] ||= t("div", { class: "slider-track uikit-absolute uikit-left-0 uikit-top-0 uikit-h-full uikit-rounded-2xs uikit-bg-w-primary" }, null, -1), t("div", {
68
+ class: "slider-thumb uikit-absolute -uikit-top-2 uikit-size-20px -uikit-translate-x-1/2 uikit-cursor-pointer uikit-rounded-full uikit-border-2 uikit-border-solid uikit-border-w-primary uikit-bg-white",
69
+ onMousedown: i[0] ||= (e) => C(),
70
+ onTouchstart: i[1] ||= d((e) => C(), ["prevent"])
71
+ }, null, 32)], 8, f)]));
72
+ }
79
73
  });
80
- export {
81
- P as default
82
- };
74
+ //#endregion
75
+ export { p as default };
@@ -1,7 +1,6 @@
1
- import t from "./StaticSpinner.vue.js";
2
- import '../assets/StaticSpinner.css';/* empty css */
3
- import o from "../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-10e0c0fd"]]);
5
- export {
6
- c as default
7
- };
1
+ import e from "./StaticSpinner.vue.js";
2
+ import t from "../_virtual/_plugin-vue_export-helper.js";
3
+ //#region lib/UIKit/StaticSpinner.vue
4
+ var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-10e0c0fd"]]);
5
+ //#endregion
6
+ export { n as default };