@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,35 +1,33 @@
1
- import { defineComponent as u, createPropsRestProxy as s, openBlock as m, createBlock as n, unref as p, mergeProps as i, withCtx as c, renderSlot as f, normalizeProps as y, guardReactiveProps as C } from "vue";
2
- import { CheckboxRoot as V } from "reka-ui";
3
- const B = /* @__PURE__ */ u({
4
- __name: "CheckboxGroupItemPrimitive",
5
- props: {
6
- dataCy: {},
7
- value: {},
8
- defaultValue: {},
9
- modelValue: {},
10
- disabled: { type: Boolean },
11
- id: {},
12
- trueValue: {},
13
- falseValue: {},
14
- asChild: { type: Boolean },
15
- as: {},
16
- name: {},
17
- required: { type: Boolean }
18
- },
19
- emits: ["update:modelValue"],
20
- setup(a, { emit: o }) {
21
- const r = s(a, ["dataCy"]), l = o;
22
- return (d, t) => (m(), n(p(V), i(r, {
23
- "data-cy": a.dataCy,
24
- "onUpdate:modelValue": t[0] || (t[0] = (e) => l("update:modelValue", e))
25
- }), {
26
- default: c((e) => [
27
- f(d.$slots, "default", y(C(e)))
28
- ]),
29
- _: 3
30
- }, 16, ["data-cy"]));
31
- }
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 { CheckboxRoot as u } from "reka-ui";
3
+ //#region lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var d = /*@__PURE__*/ n({
5
+ __name: "CheckboxGroupItemPrimitive",
6
+ props: {
7
+ dataCy: {},
8
+ value: {},
9
+ defaultValue: {},
10
+ modelValue: {},
11
+ disabled: { type: Boolean },
12
+ id: {},
13
+ trueValue: {},
14
+ falseValue: {},
15
+ asChild: { type: Boolean },
16
+ as: {},
17
+ name: {},
18
+ required: { type: Boolean }
19
+ },
20
+ emits: ["update:modelValue"],
21
+ setup(n, { emit: d }) {
22
+ let f = t(n, ["dataCy"]), p = d;
23
+ return (t, d) => (o(), e(c(u), i(f, {
24
+ "data-cy": n.dataCy,
25
+ "onUpdate:modelValue": d[0] ||= (e) => p("update:modelValue", e)
26
+ }), {
27
+ default: l((e) => [s(t.$slots, "default", a(r(e)))]),
28
+ _: 3
29
+ }, 16, ["data-cy"]));
30
+ }
32
31
  });
33
- export {
34
- B as default
35
- };
32
+ //#endregion
33
+ export { d as default };
@@ -1,4 +1,5 @@
1
- import f from "./CheckboxGroupPrimitive.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./CheckboxGroupPrimitive.vue.js";
2
+ //#region lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,35 +1,33 @@
1
- import { defineComponent as n, createPropsRestProxy as p, openBlock as u, createBlock as i, unref as s, mergeProps as m, withCtx as c, renderSlot as y } from "vue";
2
- import { CheckboxGroupRoot as f } from "reka-ui";
3
- const x = /* @__PURE__ */ n({
4
- __name: "CheckboxGroupPrimitive",
5
- props: {
6
- dataCy: {},
7
- defaultValue: {},
8
- modelValue: {},
9
- rovingFocus: { type: Boolean },
10
- disabled: { type: Boolean },
11
- as: {},
12
- asChild: { type: Boolean },
13
- dir: {},
14
- orientation: {},
15
- loop: { type: Boolean },
16
- name: {},
17
- required: { type: Boolean }
18
- },
19
- emits: ["update:modelValue"],
20
- setup(e, { emit: t }) {
21
- const a = p(e, ["dataCy"]), r = t;
22
- return (l, o) => (u(), i(s(f), m(a, {
23
- "data-cy": e.dataCy,
24
- "onUpdate:modelValue": o[0] || (o[0] = (d) => r("update:modelValue", d))
25
- }), {
26
- default: c(() => [
27
- y(l.$slots, "default")
28
- ]),
29
- _: 3
30
- }, 16, ["data-cy"]));
31
- }
1
+ import { createBlock as e, createPropsRestProxy as t, defineComponent as n, mergeProps as r, openBlock as i, renderSlot as a, unref as o, withCtx as s } from "vue";
2
+ import { CheckboxGroupRoot as c } from "reka-ui";
3
+ //#region lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var l = /*@__PURE__*/ n({
5
+ __name: "CheckboxGroupPrimitive",
6
+ props: {
7
+ dataCy: {},
8
+ defaultValue: {},
9
+ modelValue: {},
10
+ rovingFocus: { type: Boolean },
11
+ disabled: { type: Boolean },
12
+ as: {},
13
+ asChild: { type: Boolean },
14
+ dir: {},
15
+ orientation: {},
16
+ loop: { type: Boolean },
17
+ name: {},
18
+ required: { type: Boolean }
19
+ },
20
+ emits: ["update:modelValue"],
21
+ setup(n, { emit: l }) {
22
+ let u = t(n, ["dataCy"]), d = l;
23
+ return (t, l) => (i(), e(o(c), r(u, {
24
+ "data-cy": n.dataCy,
25
+ "onUpdate:modelValue": l[0] ||= (e) => d("update:modelValue", e)
26
+ }), {
27
+ default: s(() => [a(t.$slots, "default")]),
28
+ _: 3
29
+ }, 16, ["data-cy"]));
30
+ }
32
31
  });
33
- export {
34
- x as default
35
- };
32
+ //#endregion
33
+ export { l as default };
@@ -1,4 +1,5 @@
1
- import f from "./ProgressIndicatorPrimitive.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./ProgressIndicatorPrimitive.vue.js";
2
+ //#region lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, openBlock as t, createBlock as n, unref as s, normalizeProps as a, guardReactiveProps as p } from "vue";
2
- import { ProgressIndicator as c } from "reka-ui";
3
- const d = /* @__PURE__ */ e({
4
- __name: "ProgressIndicatorPrimitive",
5
- props: {
6
- asChild: { type: Boolean },
7
- as: {}
8
- },
9
- setup(r) {
10
- const o = r;
11
- return (i, m) => (t(), n(s(c), a(p(o)), null, 16));
12
- }
1
+ import { createBlock as e, defineComponent as t, guardReactiveProps as n, normalizeProps as r, openBlock as i, unref as a } from "vue";
2
+ import { ProgressIndicator as o } from "reka-ui";
3
+ //#region lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var s = /*@__PURE__*/ t({
5
+ __name: "ProgressIndicatorPrimitive",
6
+ props: {
7
+ asChild: { type: Boolean },
8
+ as: {}
9
+ },
10
+ setup(t) {
11
+ let s = t;
12
+ return (t, c) => (i(), e(a(o), r(n(s)), null, 16));
13
+ }
13
14
  });
14
- export {
15
- d as default
16
- };
15
+ //#endregion
16
+ export { s as default };
@@ -1,4 +1,5 @@
1
- import f from "./ProgressRootPrimitive.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./ProgressRootPrimitive.vue.js";
2
+ //#region lib/UIKit/ProgressBar/ProgressRootPrimitive.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,32 +1,30 @@
1
- import { defineComponent as p, useTemplateRef as m, openBlock as d, createBlock as i, unref as g, mergeProps as V, withCtx as x, renderSlot as f, normalizeProps as c, guardReactiveProps as P } from "vue";
2
- import { ProgressRoot as T } from "reka-ui";
3
- const R = /* @__PURE__ */ p({
4
- __name: "ProgressRootPrimitive",
5
- props: {
6
- modelValue: {},
7
- max: {},
8
- getValueLabel: { type: Function },
9
- getValueText: { type: Function },
10
- asChild: { type: Boolean },
11
- as: {}
12
- },
13
- emits: ["update:modelValue", "update:max"],
14
- setup(r, { expose: u, emit: n }) {
15
- const s = r, a = n, l = m("root");
16
- return u({
17
- getValueLabel: (t, e) => l.value?.getValueLabel?.(t, e),
18
- getValueText: (t, e) => l.value?.getValueText?.(t, e)
19
- }), (t, e) => (d(), i(g(T), V({ ref: "root" }, s, {
20
- "onUpdate:modelValue": e[0] || (e[0] = (o) => a("update:modelValue", o)),
21
- "onUpdate:max": e[1] || (e[1] = (o) => a("update:max", o))
22
- }), {
23
- default: x((o) => [
24
- f(t.$slots, "default", c(P(o)))
25
- ]),
26
- _: 3
27
- }, 16));
28
- }
1
+ import { createBlock as e, defineComponent as t, guardReactiveProps as n, mergeProps as r, normalizeProps as i, openBlock as a, renderSlot as o, unref as s, useTemplateRef as c, withCtx as l } from "vue";
2
+ import { ProgressRoot as u } from "reka-ui";
3
+ //#region lib/UIKit/ProgressBar/ProgressRootPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var d = /*@__PURE__*/ t({
5
+ __name: "ProgressRootPrimitive",
6
+ props: {
7
+ modelValue: {},
8
+ max: {},
9
+ getValueLabel: { type: Function },
10
+ getValueText: { type: Function },
11
+ asChild: { type: Boolean },
12
+ as: {}
13
+ },
14
+ emits: ["update:modelValue", "update:max"],
15
+ setup(t, { expose: d, emit: f }) {
16
+ let p = t, m = f, h = c("root");
17
+ return d({
18
+ getValueLabel: (e, t) => h.value?.getValueLabel?.(e, t),
19
+ getValueText: (e, t) => h.value?.getValueText?.(e, t)
20
+ }), (t, c) => (a(), e(s(u), r({ ref: "root" }, p, {
21
+ "onUpdate:modelValue": c[0] ||= (e) => m("update:modelValue", e),
22
+ "onUpdate:max": c[1] ||= (e) => m("update:max", e)
23
+ }), {
24
+ default: l((e) => [o(t.$slots, "default", i(n(e)))]),
25
+ _: 3
26
+ }, 16));
27
+ }
29
28
  });
30
- export {
31
- R as default
32
- };
29
+ //#endregion
30
+ export { d as default };
@@ -1,4 +1,5 @@
1
- import f from "./RadioButton.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./RadioButton.vue.js";
2
+ //#region lib/UIKit/Radio/RadioButton.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,60 +1,52 @@
1
- import { defineComponent as c, useId as k, computed as m, openBlock as f, createElementBlock as b, withModifiers as t, createElementVNode as a, normalizeClass as u, createTextVNode as h, toDisplayString as C } from "vue";
2
- const y = ["data-cy"], V = ["id", "name", "checked"], x = ["for"], g = /* @__PURE__ */ c({
3
- __name: "RadioButton",
4
- props: {
5
- id: {},
6
- dataCy: {},
7
- name: {},
8
- label: {},
9
- modelValue: { type: Boolean, default: !1 },
10
- inputClasses: {},
11
- labelClasses: {}
12
- },
13
- emits: ["change", "update:modelValue"],
14
- setup(e, { emit: s }) {
15
- const l = s, n = k(), o = m(() => `${e.id ?? n}`), r = () => {
16
- if (e.modelValue) return;
17
- const d = {
18
- id: e.id ?? n,
19
- label: e.label,
20
- name: e.name
21
- };
22
- l("change", d), l("update:modelValue", !e.modelValue);
23
- };
24
- return (d, i) => (f(), b("div", {
25
- class: "uikit-inline-block",
26
- "data-cy": e.dataCy,
27
- onClick: t(r, ["stop"])
28
- }, [
29
- a("input", {
30
- id: o.value,
31
- ref: "checkbox",
32
- type: "radio",
33
- class: "uikit-pointer-events-none uikit-hidden",
34
- name: e.name,
35
- checked: e.modelValue,
36
- onChange: i[0] || (i[0] = t(() => {
37
- }, ["prevent"])),
38
- onClick: i[1] || (i[1] = t(() => {
39
- }, ["prevent"]))
40
- }, null, 40, V),
41
- a("label", {
42
- class: u([e.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
43
- for: o.value
44
- }, [
45
- a("span", {
46
- class: u(["uikit-flex-no-shrink uikit-mr-2 uikit-inline-block uikit-h-4 uikit-w-4 uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-transition-colors uikit-duration-200", [
47
- {
48
- "checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": e.modelValue
49
- },
50
- e.inputClasses
51
- ]])
52
- }, null, 2),
53
- h(" " + C(e.label), 1)
54
- ], 10, x)
55
- ], 8, y));
56
- }
1
+ import { computed as e, createElementBlock as t, createElementVNode as n, createTextVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, toDisplayString as s, useId as c, withModifiers as l } from "vue";
2
+ //#region lib/UIKit/Radio/RadioButton.vue?vue&type=script&setup=true&lang.ts
3
+ var u = ["data-cy"], d = [
4
+ "id",
5
+ "name",
6
+ "checked"
7
+ ], f = ["for"], p = /*@__PURE__*/ i({
8
+ __name: "RadioButton",
9
+ props: {
10
+ id: {},
11
+ dataCy: {},
12
+ name: {},
13
+ label: {},
14
+ modelValue: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ inputClasses: {},
19
+ labelClasses: {}
20
+ },
21
+ emits: ["change", "update:modelValue"],
22
+ setup(i, { emit: p }) {
23
+ let m = p, h = c(), g = e(() => `${i.id ?? h}`), _ = () => {
24
+ if (i.modelValue) return;
25
+ let e = {
26
+ id: i.id ?? h,
27
+ label: i.label,
28
+ name: i.name
29
+ };
30
+ m("change", e), m("update:modelValue", !i.modelValue);
31
+ };
32
+ return (e, c) => (o(), t("div", {
33
+ class: "uikit-inline-block",
34
+ "data-cy": i.dataCy,
35
+ onClick: l(_, ["stop"])
36
+ }, [n("input", {
37
+ id: g.value,
38
+ ref: "checkbox",
39
+ type: "radio",
40
+ class: "uikit-pointer-events-none uikit-hidden",
41
+ name: i.name,
42
+ checked: i.modelValue,
43
+ onChange: c[0] ||= l(() => {}, ["prevent"]),
44
+ onClick: c[1] ||= l(() => {}, ["prevent"])
45
+ }, null, 40, d), n("label", {
46
+ class: a([i.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
47
+ for: g.value
48
+ }, [n("span", { class: a(["uikit-flex-no-shrink uikit-mr-2 uikit-inline-block uikit-h-4 uikit-w-4 uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-transition-colors uikit-duration-200", [{ "checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": i.modelValue }, i.inputClasses]]) }, null, 2), r(" " + s(i.label), 1)], 10, f)], 8, u));
49
+ }
57
50
  });
58
- export {
59
- g as default
60
- };
51
+ //#endregion
52
+ export { p as default };
@@ -1,4 +1,5 @@
1
- import f from "./RadioGroup.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./RadioGroup.vue.js";
2
+ //#region lib/UIKit/Radio/RadioGroup.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -1,64 +1,68 @@
1
- import { defineComponent as k, useModel as f, ref as R, watch as m, renderSlot as v, createElementVNode as g, normalizeClass as h, openBlock as C, createElementBlock as B, Fragment as M, renderList as b, createBlock as A, mergeModels as $ } from "vue";
2
- import E from "./RadioButton.vue.js";
3
- const w = ["data-cy"], G = /* @__PURE__ */ k({
4
- inheritAttrs: !1,
5
- __name: "RadioGroup",
6
- props: /* @__PURE__ */ $({
7
- radioValues: { default: () => [] },
8
- dataCy: {},
9
- radioContainerClasses: {}
10
- }, {
11
- resetRadio: { type: Boolean, default: !1 },
12
- resetRadioModifiers: {},
13
- refresh: { type: Boolean, default: !1 },
14
- refreshModifiers: {}
15
- }),
16
- emits: /* @__PURE__ */ $(["update:modelValue"], ["update:resetRadio", "update:refresh"]),
17
- setup(l, { emit: V }) {
18
- const o = V, n = f(l, "resetRadio"), i = f(l, "refresh"), a = R(null), t = (e) => {
19
- a.value = e, o("update:modelValue", e);
20
- }, s = () => {
21
- a.value = null, n.value = !1, o("update:modelValue", null);
22
- }, d = (e) => a.value ? `${a.value.id}` == `${e.id}` : !1, u = () => {
23
- for (const e of l.radioValues)
24
- if (e.active) {
25
- t(e);
26
- return;
27
- }
28
- };
29
- return u(), m(n, (e) => {
30
- e && s();
31
- }), m(i, (e) => {
32
- e && (u(), i.value = !1);
33
- }), (e, c) => v(e.$slots, "default", {
34
- handleClick: t,
35
- activeValue: a.value,
36
- reset: s,
37
- isActive: d
38
- }, () => [
39
- g("div", {
40
- class: h(["radio-group-container", e.$attrs.class]),
41
- "data-cy": l.dataCy
42
- }, [
43
- v(e.$slots, "radio_elements", {
44
- handleClick: t,
45
- activeValue: a.value,
46
- reset: s,
47
- isActive: d
48
- }, () => [
49
- (C(!0), B(M, null, b(l.radioValues, (r, p) => (C(), A(E, {
50
- id: r.id,
51
- key: p,
52
- class: h(l.radioContainerClasses),
53
- label: `${r.label}`,
54
- "model-value": `${r.id}` == `${a.value?.id}`,
55
- onChange: c[0] || (c[0] = (y) => t(y))
56
- }, null, 8, ["id", "class", "label", "model-value"]))), 128))
57
- ])
58
- ], 10, w)
59
- ]);
60
- }
1
+ import e from "./RadioButton.js";
2
+ import { Fragment as t, createBlock as n, createElementBlock as r, createElementVNode as i, defineComponent as a, mergeModels as o, normalizeClass as s, openBlock as c, ref as l, renderList as u, renderSlot as d, useModel as f, watch as p } from "vue";
3
+ //#region lib/UIKit/Radio/RadioGroup.vue?vue&type=script&setup=true&lang.ts
4
+ var m = ["data-cy"], h = /*@__PURE__*/ a({
5
+ inheritAttrs: !1,
6
+ __name: "RadioGroup",
7
+ props: /*@__PURE__*/ o({
8
+ radioValues: { default: () => [] },
9
+ dataCy: {},
10
+ radioContainerClasses: {}
11
+ }, {
12
+ resetRadio: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ resetRadioModifiers: {},
17
+ refresh: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ refreshModifiers: {}
22
+ }),
23
+ emits: /*@__PURE__*/ o(["update:modelValue"], ["update:resetRadio", "update:refresh"]),
24
+ setup(a, { emit: o }) {
25
+ let h = o, g = f(a, "resetRadio"), _ = f(a, "refresh"), v = l(null), y = (e) => {
26
+ v.value = e, h("update:modelValue", e);
27
+ }, b = () => {
28
+ v.value = null, g.value = !1, h("update:modelValue", null);
29
+ }, x = (e) => v.value ? `${v.value.id}` == `${e.id}` : !1, S = () => {
30
+ for (let e of a.radioValues) if (e.active) {
31
+ y(e);
32
+ return;
33
+ }
34
+ };
35
+ return S(), p(g, (e) => {
36
+ e && b();
37
+ }), p(_, (e) => {
38
+ e && (S(), _.value = !1);
39
+ }), (o, l) => d(o.$slots, "default", {
40
+ handleClick: y,
41
+ activeValue: v.value,
42
+ reset: b,
43
+ isActive: x
44
+ }, () => [i("div", {
45
+ class: s(["radio-group-container", o.$attrs.class]),
46
+ "data-cy": a.dataCy
47
+ }, [d(o.$slots, "radio_elements", {
48
+ handleClick: y,
49
+ activeValue: v.value,
50
+ reset: b,
51
+ isActive: x
52
+ }, () => [(c(!0), r(t, null, u(a.radioValues, (t, r) => (c(), n(e, {
53
+ id: t.id,
54
+ key: r,
55
+ class: s(a.radioContainerClasses),
56
+ label: `${t.label}`,
57
+ "model-value": `${t.id}` == `${v.value?.id}`,
58
+ onChange: l[0] ||= (e) => y(e)
59
+ }, null, 8, [
60
+ "id",
61
+ "class",
62
+ "label",
63
+ "model-value"
64
+ ]))), 128))])], 10, m)]);
65
+ }
61
66
  });
62
- export {
63
- G as default
64
- };
67
+ //#endregion
68
+ export { h as default };
@@ -1,4 +1,5 @@
1
- import f from "./RadioButtonGroup.vue.js";
2
- export {
3
- f as default
4
- };
1
+ import e from "./RadioButtonGroup.vue.js";
2
+ //#region lib/UIKit/Radio/v2/RadioButtonGroup.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };