@wikicasa-dev/components 2.1.28-alpha.0 → 2.1.28-alpha.2

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 (159) hide show
  1. package/dist/UIKit/AccessibleSelect.js +1 -1
  2. package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
  3. package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
  4. package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
  5. package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -1
  6. package/dist/UIKit/BaseAlert.d.ts +1 -1
  7. package/dist/UIKit/BaseAlert.js +2 -2
  8. package/dist/UIKit/BaseAutocomplete.js +1 -1
  9. package/dist/UIKit/BaseBadge.js +2 -2
  10. package/dist/UIKit/BaseBreadcrumb.js +1 -1
  11. package/dist/UIKit/BaseButton.js +1 -1
  12. package/dist/UIKit/BaseCard.js +2 -2
  13. package/dist/UIKit/BaseComplexToggle.d.ts +1 -1
  14. package/dist/UIKit/BaseComplexToggle.js +5 -5
  15. package/dist/UIKit/BaseDropDown.js +1 -1
  16. package/dist/UIKit/BaseFloatingLabel.js +2 -2
  17. package/dist/UIKit/BaseIcon.js +2 -2
  18. package/dist/UIKit/BaseInput.js +2 -2
  19. package/dist/UIKit/BaseModal.js +2 -2
  20. package/dist/UIKit/BasePagination.js +1 -1
  21. package/dist/UIKit/BasePaper.js +2 -2
  22. package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
  23. package/dist/UIKit/BaseSlider.js +2 -2
  24. package/dist/UIKit/BaseSnackbar.js +2 -2
  25. package/dist/UIKit/BaseTextarea.js +2 -2
  26. package/dist/UIKit/BaseToggle.js +2 -2
  27. package/dist/UIKit/BaseTooltip.js +2 -2
  28. package/dist/UIKit/BaseUploadFile.js +1 -1
  29. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -2
  30. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
  31. package/dist/UIKit/Radio/RadioButton.js +1 -1
  32. package/dist/UIKit/Radio/RadioGroup.js +1 -1
  33. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +2 -2
  34. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
  35. package/dist/UIKit/Slider/SimpleSlider.js +2 -2
  36. package/dist/UIKit/StaticSpinner.js +2 -2
  37. package/dist/UIKit/Tab/BaseTab.js +1 -1
  38. package/dist/UIKit/Tab/BaseTabList.js +1 -1
  39. package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
  40. package/dist/UIKit/Tab/BaseTabView.js +1 -1
  41. package/dist/assets/{packages/components/lib → lib}/UIKit/BaseComplexToggle.css +1 -1
  42. package/dist/chart/DoughnutChart.js +1 -1
  43. package/dist/chart/LineChart.js +1 -1
  44. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
  45. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
  46. package/dist/components/carousel/SwiperCarousel.js +3 -3
  47. package/dist/index.js +30 -30
  48. package/dist/lazyModules/Swiper/autoplay.js +5 -0
  49. package/dist/lazyModules/Swiper/controller.js +5 -0
  50. package/dist/lazyModules/Swiper/free-mode.js +5 -0
  51. package/dist/lazyModules/Swiper/keyboard.js +5 -0
  52. package/dist/lazyModules/Swiper/navigation.js +5 -0
  53. package/dist/lazyModules/Swiper/pagination.js +5 -0
  54. package/dist/lazyModules/Swiper/thumbs.js +5 -0
  55. package/dist/{packages/components/lib → lib}/UIKit/AccessibleSelect.vue.js +16 -17
  56. package/dist/lib/UIKit/Accordion/BaseAccordion.vue.js +31 -0
  57. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionBtn.vue.js +4 -4
  58. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionItem.vue.js +1 -1
  59. package/dist/{packages/components/lib → lib}/UIKit/BaseAutocomplete.vue.js +9 -12
  60. package/dist/{packages/components/lib → lib}/UIKit/BaseBreadcrumb.vue.js +1 -1
  61. package/dist/{packages/components/lib → lib}/UIKit/BaseButton.vue.js +1 -1
  62. package/dist/{packages/components/lib → lib}/UIKit/BaseDropDown.vue.js +5 -5
  63. package/dist/{packages/components/lib → lib}/UIKit/BaseInput.vue.js +2 -2
  64. package/dist/{packages/components/lib → lib}/UIKit/BaseModal.vue.js +14 -18
  65. package/dist/{packages/components/lib → lib}/UIKit/BasePagination.vue.js +1 -1
  66. package/dist/{packages/components/lib → lib}/UIKit/BaseSlider.vue.js +1 -1
  67. package/dist/{packages/components/lib → lib}/UIKit/BaseSnackbar.vue.js +1 -1
  68. package/dist/{packages/components/lib → lib}/UIKit/BaseTextarea.vue.js +2 -2
  69. package/dist/{packages/components/lib → lib}/UIKit/BaseUploadFile.vue.js +1 -1
  70. package/dist/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxGroup.vue.js +18 -22
  71. package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +1 -1
  72. package/dist/{packages/components/lib → lib}/chart/DoughnutChart.vue.js +1 -1
  73. package/dist/{packages/components/lib → lib}/chart/LineChart.vue.js +1 -1
  74. package/dist/{packages/components/lib → lib}/components/carousel/SwiperCarousel.vue.js +32 -35
  75. package/package.json +7 -3
  76. package/dist/_virtual/polyline.js +0 -2
  77. package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.css +0 -0
  78. package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/free-mode.css +0 -1
  79. package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.css +0 -1
  80. package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.css +0 -1
  81. package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.css +0 -1
  82. package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css +0 -1
  83. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -28
  84. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -38
  85. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -9
  86. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -40
  87. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -4
  88. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -4
  89. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -15
  90. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -12
  91. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -10
  92. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -4
  93. package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -41
  94. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/decode.js +0 -22
  95. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/encode.js +0 -34
  96. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/polyline.js +0 -12
  97. package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js +0 -70
  98. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/autoplay.js +0 -128
  99. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/controller.js +0 -100
  100. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/free-mode.js +0 -123
  101. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.js +0 -66
  102. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.js +0 -136
  103. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.js +0 -226
  104. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/thumbs.js +0 -120
  105. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.js +0 -309
  106. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.js +0 -6
  107. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.js +0 -12
  108. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.js +0 -134
  109. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.js +0 -88
  110. package/dist/packages/components/lazyModules/Swiper/autoplay.js +0 -5
  111. package/dist/packages/components/lazyModules/Swiper/controller.js +0 -5
  112. package/dist/packages/components/lazyModules/Swiper/free-mode.js +0 -5
  113. package/dist/packages/components/lazyModules/Swiper/keyboard.js +0 -5
  114. package/dist/packages/components/lazyModules/Swiper/navigation.js +0 -5
  115. package/dist/packages/components/lazyModules/Swiper/pagination.js +0 -5
  116. package/dist/packages/components/lazyModules/Swiper/thumbs.js +0 -5
  117. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +0 -34
  118. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseAlert.css +0 -0
  119. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseBadge.css +0 -0
  120. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseCard.css +0 -0
  121. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.css +0 -0
  122. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseIcon.css +0 -0
  123. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseInput.css +0 -0
  124. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseModal.css +0 -0
  125. /package/dist/assets/{packages/components/lib → lib}/UIKit/BasePaper.css +0 -0
  126. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseSlider.css +0 -0
  127. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseSnackbar.css +0 -0
  128. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTextarea.css +0 -0
  129. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseToggle.css +0 -0
  130. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTooltip.css +0 -0
  131. /package/dist/assets/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.css +0 -0
  132. /package/dist/assets/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.css +0 -0
  133. /package/dist/assets/{packages/components/lib → lib}/UIKit/Slider/SimpleSlider.css +0 -0
  134. /package/dist/assets/{packages/components/lib → lib}/UIKit/StaticSpinner.css +0 -0
  135. /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel.css +0 -0
  136. /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel2.css +0 -0
  137. /package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionContent.vue.js +0 -0
  138. /package/dist/{packages/components/lib → lib}/UIKit/BaseAlert.vue.js +0 -0
  139. /package/dist/{packages/components/lib → lib}/UIKit/BaseBadge.vue.js +0 -0
  140. /package/dist/{packages/components/lib → lib}/UIKit/BaseCard.vue.js +0 -0
  141. /package/dist/{packages/components/lib → lib}/UIKit/BaseComplexToggle.vue.js +0 -0
  142. /package/dist/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.vue.js +0 -0
  143. /package/dist/{packages/components/lib → lib}/UIKit/BaseIcon.vue.js +0 -0
  144. /package/dist/{packages/components/lib → lib}/UIKit/BasePaper.vue.js +0 -0
  145. /package/dist/{packages/components/lib → lib}/UIKit/BaseSelect/SelectItem.vue.js +0 -0
  146. /package/dist/{packages/components/lib → lib}/UIKit/BaseToggle.vue.js +0 -0
  147. /package/dist/{packages/components/lib → lib}/UIKit/BaseTooltip.vue.js +0 -0
  148. /package/dist/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.vue.js +0 -0
  149. /package/dist/{packages/components/lib → lib}/UIKit/Radio/RadioButton.vue.js +0 -0
  150. /package/dist/{packages/components/lib → lib}/UIKit/Radio/RadioGroup.vue.js +0 -0
  151. /package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -0
  152. /package/dist/{packages/components/lib → lib}/UIKit/Slider/SimpleSlider.vue.js +0 -0
  153. /package/dist/{packages/components/lib → lib}/UIKit/StaticSpinner.vue.js +0 -0
  154. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTab.vue.js +0 -0
  155. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTabList.vue.js +0 -0
  156. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTabPanel.vue.js +0 -0
  157. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTabView.vue.js +0 -0
  158. /package/dist/{packages/components/lib → lib}/components/IntersectionObserver/IntersectionObservable.vue.js +0 -0
  159. /package/dist/{packages/components/lib → lib}/components/IntersectionObserver/IntersectionObserver.vue.js +0 -0
@@ -1,8 +1,7 @@
1
- import { defineComponent as D, mergeModels as $, useModel as p, useId as F, computed as M, ref as V, watch as h, onMounted as A, onUnmounted as E, createElementBlock as u, openBlock as n, normalizeClass as a, createElementVNode as o, createCommentVNode as r, withModifiers as c, renderSlot as P, unref as b, createBlock as z, createVNode as N, Fragment as L, renderList as O } from "vue";
2
- import { useKeyboardController as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
3
- import { ArrowIcon as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import { WarningIconRounded as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js";
5
- const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], U = ["innerHTML"], W = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, G = ["innerHTML"], J = ["data-cy"], Q = ["id", "aria-selected", "onClick", "onMouseover"], X = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Y = ["name", "checked", "onInput"], Z = ["innerHTML"], _ = ["id", "arial-live", "innerHTML"], ee = ["id", "arial-live", "innerHTML"], ne = /* @__PURE__ */ D({
1
+ import { defineComponent as D, mergeModels as $, useModel as p, useId as F, computed as M, ref as V, watch as y, onMounted as E, onUnmounted as P, createElementBlock as u, openBlock as n, normalizeClass as a, createElementVNode as o, createCommentVNode as r, withModifiers as c, renderSlot as z, unref as b, createBlock as A, createVNode as N, Fragment as L, renderList as O } from "vue";
2
+ import { useKeyboardController as S } from "@wikicasa-dev/vue-composables";
3
+ import { WarningIconRounded as q, ArrowIcon as j } from "@wikicasa-dev/svg-icons";
4
+ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], U = ["innerHTML"], W = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, G = ["innerHTML"], J = ["data-cy"], Q = ["id", "aria-selected", "onClick", "onMouseover"], X = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Y = ["name", "checked", "onInput"], Z = ["innerHTML"], _ = ["id", "arial-live", "innerHTML"], ee = ["id", "arial-live", "innerHTML"], ae = /* @__PURE__ */ D({
6
5
  inheritAttrs: !1,
7
6
  __name: "AccessibleSelect",
8
7
  props: /* @__PURE__ */ $({
@@ -34,25 +33,25 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
34
33
  }),
35
34
  emits: /* @__PURE__ */ $(["click", "update:dropdownState"], ["update:modelValue", "update:toggleDropdown"]),
36
35
  setup(e, { emit: T }) {
37
- const y = T, k = p(e, "modelValue"), g = p(e, "toggleDropdown"), B = F(), l = M(() => e.namespace || B), t = V(!1), H = V(null), m = M(() => !!k.value.label), { activeIdx: v, selectedIdx: I } = S({
36
+ const h = T, k = p(e, "modelValue"), g = p(e, "toggleDropdown"), B = F(), l = M(() => e.namespace || B), t = V(!1), H = V(null), m = M(() => !!k.value.label), { activeIdx: v, selectedIdx: I } = S({
38
37
  optionsLength: e.options.length,
39
38
  isDropdownOpen: t
40
39
  }), w = (i) => {
41
40
  t.value = !1, k.value = i;
42
41
  };
43
- h(I, (i) => {
42
+ y(I, (i) => {
44
43
  w(e.options[i]), t.value = !1;
45
- }), h(g, (i) => {
44
+ }), y(g, (i) => {
46
45
  i && (t.value = !t.value, g.value = !1);
47
- }), h(t, (i) => {
48
- y("update:dropdownState", i);
46
+ }), y(t, (i) => {
47
+ h("update:dropdownState", i);
49
48
  });
50
49
  const C = ({ target: i }) => {
51
50
  `${l.value}_btn` !== i.id && (t.value = !1);
52
51
  };
53
- return A(() => {
52
+ return E(() => {
54
53
  e.closeOnBodyPressed && document.addEventListener("click", C);
55
- }), E(() => {
54
+ }), P(() => {
56
55
  e.closeOnBodyPressed && document.removeEventListener("click", C);
57
56
  }), (i, s) => (n(), u("div", {
58
57
  class: a(i.$attrs.class)
@@ -76,7 +75,7 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
76
75
  class: "uikit-z-20 uikit-mt-2 uikit-pl-2",
77
76
  onClick: s[0] || (s[0] = c((d) => t.value = !t.value, ["stop"]))
78
77
  }, [
79
- P(i.$slots, "lefticon")
78
+ z(i.$slots, "lefticon")
80
79
  ])) : r("", !0),
81
80
  o("button", {
82
81
  id: `${l.value}_btn`,
@@ -95,7 +94,7 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
95
94
  "aria-invalid": e.isValid === !1,
96
95
  "aria-describedby": e.isValid === !1 ? `${l.value}_invalid_msg` : void 0,
97
96
  onClick: s[1] || (s[1] = (d) => {
98
- t.value = !t.value, y("click", d);
97
+ t.value = !t.value, h("click", d);
99
98
  })
100
99
  }, [
101
100
  o("span", {
@@ -103,14 +102,14 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
103
102
  innerHTML: k.value.visibleLabel || k.value.label
104
103
  }, null, 10, U),
105
104
  o("span", W, [
106
- e.isValid == !1 ? (n(), z(b(j), {
105
+ e.isValid == !1 ? (n(), A(b(q), {
107
106
  key: 0,
108
107
  class: "uikit-mr-1",
109
108
  width: 20,
110
109
  height: 20,
111
110
  "stroke-color": "#FA4F64"
112
111
  })) : r("", !0),
113
- N(b(q), {
112
+ N(b(j), {
114
113
  class: a(["uikit-transition-transform motion-reduce:uikit-transition-none", [
115
114
  t.value ? "uikit-rotate-180" : "",
116
115
  e.arrowIcon?.classes
@@ -206,5 +205,5 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
206
205
  }
207
206
  });
208
207
  export {
209
- ne as default
208
+ ae as default
210
209
  };
@@ -0,0 +1,31 @@
1
+ import { defineComponent as d, ref as u, provide as c, renderSlot as f } from "vue";
2
+ import { isEmptyObject as p } from "@wikicasa-dev/utilities";
3
+ const h = /* @__PURE__ */ d({
4
+ __name: "BaseAccordion",
5
+ props: {
6
+ autoClose: { type: Boolean, default: !0 },
7
+ autoUpdate: { type: Boolean, default: !0 }
8
+ },
9
+ setup(l) {
10
+ const n = u(null), o = u(
11
+ {}
12
+ ), i = (e, t) => {
13
+ if (l.autoClose && t && !p(t))
14
+ for (const r in t)
15
+ r !== `${e}` && (t[r].active = !1);
16
+ }, s = (e, t) => {
17
+ t && (t[e].active = !(t[e].active ?? !1));
18
+ }, a = (e, t) => {
19
+ i(e.id, t ?? o.value), n.value = e, s(e.id, t ?? o.value);
20
+ };
21
+ return c("handleClick", (e) => {
22
+ l.autoUpdate && a(e);
23
+ }), c("accordionItems", o), (e, t) => f(e.$slots, "default", {
24
+ updatePrev: a,
25
+ prev: n.value
26
+ });
27
+ }
28
+ });
29
+ export {
30
+ h as default
31
+ };
@@ -1,6 +1,6 @@
1
- import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as n, renderSlot as i, createElementVNode as u, withModifiers as k, createVNode as m, unref as f } from "vue";
2
- import { ArrowIcon as g } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s({
1
+ import { defineComponent as l, createElementBlock as s, openBlock as d, normalizeClass as n, renderSlot as i, createElementVNode as u, withModifiers as k, createVNode as m, unref as f } from "vue";
2
+ import { ArrowIcon as g } from "@wikicasa-dev/svg-icons";
3
+ const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ l({
4
4
  inheritAttrs: !1,
5
5
  __name: "BaseAccordionBtn",
6
6
  props: {
@@ -14,7 +14,7 @@ const C = ["id"], w = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s(
14
14
  emits: ["click"],
15
15
  setup(t, { emit: r }) {
16
16
  const a = r;
17
- return (o, e) => (d(), l("div", {
17
+ return (o, e) => (d(), s("div", {
18
18
  id: `${t.id}`,
19
19
  class: n(["uikit-flex uikit-items-center uikit-justify-around", [
20
20
  o.$attrs["btn-wrapper-classes"],
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as y, inject as v, watch as r, unref as d, createElementBlock as f, openBlock as u, normalizeClass as m, createBlock as g, createCommentVNode as O, renderSlot as a, createElementVNode as k, withModifiers as A, createVNode as w, withCtx as n } from "vue";
2
2
  import B from "./BaseAccordionBtn.vue.js";
3
3
  import E from "./BaseAccordionContent.vue.js";
4
- import { ArrowIcon as W } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
+ import { ArrowIcon as W } from "@wikicasa-dev/svg-icons";
5
5
  const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], L = /* @__PURE__ */ $({
6
6
  inheritAttrs: !1,
7
7
  __name: "BaseAccordionItem",
@@ -1,13 +1,10 @@
1
- import { defineComponent as P, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as L, watch as f, createBlock as g, openBlock as w, normalizeClass as H, withCtx as s, createElementBlock as K, Fragment as T, renderList as z, unref as A, createElementVNode as N, createVNode as U, renderSlot as $ } from "vue";
2
- import W from "../../../../UIKit/BaseInput.js";
1
+ import { defineComponent as P, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as L, watch as f, createBlock as g, openBlock as w, normalizeClass as H, withCtx as s, createElementBlock as K, Fragment as T, renderList as z, unref as N, createElementVNode as U, createVNode as A, renderSlot as $ } from "vue";
2
+ import W from "../../UIKit/BaseInput.js";
3
3
  import j from "./BaseDropDown.vue.js";
4
- import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
5
- import "date-fns";
6
- import { debounce as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
7
- import "../../../../_virtual/polyline.js";
4
+ import { debounce as q } from "@wikicasa-dev/utilities";
8
5
  import G from "./BaseSelect/SelectItem.vue.js";
9
- import { useKeyboardController as J } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
10
- const Q = ["innerHTML"], oe = /* @__PURE__ */ P({
6
+ import { useKeyboardController as J } from "@wikicasa-dev/vue-composables";
7
+ const Q = ["innerHTML"], le = /* @__PURE__ */ P({
11
8
  __name: "BaseAutocomplete",
12
9
  props: /* @__PURE__ */ y({
13
10
  isValid: { type: [Boolean, null], default: null },
@@ -137,7 +134,7 @@ const Q = ["innerHTML"], oe = /* @__PURE__ */ P({
137
134
  })
138
135
  }, {
139
136
  btn_slot: s(() => [
140
- U(W, {
137
+ A(W, {
141
138
  id: e.$attrs.id ? `ac_input_${e.$attrs.id}` : "",
142
139
  ref_key: "baseInput",
143
140
  ref: p,
@@ -171,13 +168,13 @@ const Q = ["innerHTML"], oe = /* @__PURE__ */ P({
171
168
  default: s(() => [
172
169
  (w(!0), K(T, null, z(a.value, (o, b) => (w(), g(G, {
173
170
  key: b,
174
- active: A(m) === b,
171
+ active: N(m) === b,
175
172
  class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
176
173
  onClick: (E) => C(o, b),
177
174
  onMouseover: (E) => m.value = b
178
175
  }, {
179
176
  default: s(() => [
180
- N("span", {
177
+ U("span", {
181
178
  innerHTML: o.label
182
179
  }, null, 8, Q)
183
180
  ]),
@@ -189,5 +186,5 @@ const Q = ["innerHTML"], oe = /* @__PURE__ */ P({
189
186
  }
190
187
  });
191
188
  export {
192
- oe as default
189
+ le as default
193
190
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, computed as k, createElementBlock as l, openBlock as i, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as f, unref as p } from "vue";
2
- import { ArrowIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
2
+ import { ArrowIcon as C } from "@wikicasa-dev/svg-icons";
3
3
  const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y = /* @__PURE__ */ d({
4
4
  __name: "BaseBreadcrumb",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, ref as b, computed as l, createElementBlock as f, openBlock as v, withModifiers as s, normalizeStyle as B, normalizeClass as C, renderSlot as u, createVNode as M } from "vue";
2
- import z from "../../../../UIKit/StaticSpinner.js";
2
+ import z from "../../UIKit/StaticSpinner.js";
3
3
  const L = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], $ = /* @__PURE__ */ c({
4
4
  __name: "BaseButton",
5
5
  props: {
@@ -1,8 +1,8 @@
1
- import { defineComponent as A, mergeModels as b, useId as L, useModel as M, ref as h, computed as E, useTemplateRef as O, watch as d, onBeforeMount as W, onMounted as $, onUnmounted as H, createElementBlock as K, openBlock as c, withModifiers as y, normalizeClass as l, renderSlot as C, createBlock as g, createVNode as N, unref as a, withCtx as D, createElementVNode as T, createCommentVNode as V, resolveDynamicComponent as q } from "vue";
1
+ import { defineComponent as L, mergeModels as b, useId as M, useModel as A, ref as h, computed as E, useTemplateRef as O, watch as d, onBeforeMount as W, onMounted as $, onUnmounted as H, createElementBlock as K, openBlock as c, withModifiers as y, normalizeClass as l, renderSlot as C, createBlock as g, createVNode as N, unref as a, withCtx as D, createElementVNode as T, createCommentVNode as V, resolveDynamicComponent as q } from "vue";
2
2
  import z from "./BaseButton.vue.js";
3
- import { ArrowIcon as R } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import { useKeyboardController as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.25_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
5
- const j = ["innerHTML"], X = /* @__PURE__ */ A({
3
+ import { ArrowIcon as R } from "@wikicasa-dev/svg-icons";
4
+ import { useKeyboardController as U } from "@wikicasa-dev/vue-composables";
5
+ const j = ["innerHTML"], X = /* @__PURE__ */ L({
6
6
  inheritAttrs: !1,
7
7
  __name: "BaseDropDown",
8
8
  props: /* @__PURE__ */ b({
@@ -27,7 +27,7 @@ const j = ["innerHTML"], X = /* @__PURE__ */ A({
27
27
  }),
28
28
  emits: /* @__PURE__ */ b(["click", "update:dropdownState"], ["update:toggleDropdown"]),
29
29
  setup(t, { emit: x }) {
30
- const i = t, f = L(), k = x, w = M(t, "toggleDropdown"), o = h(!1), r = h([]), B = E(() => r.value.length), m = O("dropdown"), { activeIdx: v, selectedIdx: u } = U({
30
+ const i = t, f = M(), k = x, w = A(t, "toggleDropdown"), o = h(!1), r = h([]), B = E(() => r.value.length), m = O("dropdown"), { activeIdx: v, selectedIdx: u } = U({
31
31
  optionsLength: B,
32
32
  isDropdownOpen: o,
33
33
  activate: i.activateKeyboardController
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, mergeModels as C, useModel as A, ref as m, watch as w, useAttrs as N, createElementBlock as r, openBlock as u, normalizeClass as v, unref as s, renderSlot as c, createElementVNode as h, createBlock as O, createCommentVNode as y, withKeys as j, withModifiers as $, Fragment as T, renderList as B } from "vue";
2
- import D from "../../../../UIKit/BaseFloatingLabel.js";
3
- import { useFloatingLabel as G } from "../../../../composables/useFloatingLabel.js";
2
+ import D from "../../UIKit/BaseFloatingLabel.js";
3
+ import { useFloatingLabel as G } from "../../composables/useFloatingLabel.js";
4
4
  const J = ["id", "data-cy", "name", "autocomplete", "disabled", "aria-labelledby", "readonly", "type", "pattern", "min", "max", "maxlength", "inputmode", "placeholder", "value"], Q = { class: "uikit-invisible uikit-float-none uikit-mb-2 uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-transition-[max-width] uikit-duration-[50ms] uikit-ease-out" }, W = ["innerHTML"], X = ["innerHTML"], Y = ["innerHTML"], Z = {
5
5
  key: 1,
6
6
  class: "under-label uikit-absolute uikit-text-12"
@@ -1,11 +1,7 @@
1
- import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as k, Teleport as $, createElementVNode as l, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
2
- import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
3
- import "date-fns";
4
- import { isWindows as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
5
- import { awaitableSetTimeout as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
6
- import "../../../../_virtual/polyline.js";
7
- import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
8
- const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
1
+ import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as r, Teleport as $, createElementVNode as l, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
2
+ import { isWindows as C, awaitableSetTimeout as S } from "@wikicasa-dev/utilities";
3
+ import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
4
+ const F = ["id", "data-cy"], U = ["innerHTML"], R = /* @__PURE__ */ T({
9
5
  __name: "BaseModal",
10
6
  props: {
11
7
  id: { default: "base-bt-modal" },
@@ -28,15 +24,15 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
28
24
  },
29
25
  emits: ["closed", "opened", "dialogClick"],
30
26
  setup(e, { emit: g }) {
31
- const c = g, i = n(!1), m = n(null), a = z("modalDialog"), r = n(!1), u = n(!1), f = ({ key: t }) => {
27
+ const c = g, i = n(!1), m = n(null), a = z("modalDialog"), k = n(!1), u = n(!1), f = ({ key: t }) => {
32
28
  t === "Escape" && o();
33
- }, p = () => {
29
+ }, x = () => {
34
30
  document?.body.addEventListener("keydown", f);
35
31
  }, b = () => {
36
32
  document?.body.removeEventListener("keydown", f);
37
- }, x = async () => {
33
+ }, p = async () => {
38
34
  i.value = !0, N(() => {
39
- p(), C() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
35
+ x(), C() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
40
36
  }), c("opened"), e.autoClose !== void 0 && setTimeout(() => {
41
37
  o();
42
38
  }, e.autoClose);
@@ -62,10 +58,10 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
62
58
  }), I(
63
59
  () => e.showModal,
64
60
  async (t) => {
65
- !t && !i.value ? r.value = !0 : r.value = !1, t && !i.value && await x(), !t && i.value && await o(), i.value = t;
61
+ !t && !i.value ? k.value = !0 : k.value = !1, t && !i.value && await p(), !t && i.value && await o(), i.value = t;
66
62
  },
67
63
  { immediate: !0 }
68
- ), (t, v) => (k(), O($, { to: "body" }, [
64
+ ), (t, v) => (r(), O($, { to: "body" }, [
69
65
  l("div", {
70
66
  ref_key: "backdropEl",
71
67
  ref: m,
@@ -76,7 +72,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
76
72
  },
77
73
  { "uikit-bg-transparent": !i.value },
78
74
  { "sm:uikit-pt-[30px]": !e.centered },
79
- { hide: r.value }
75
+ { hide: k.value }
80
76
  ]]),
81
77
  style: { "z-index": "1062" },
82
78
  onClick: L,
@@ -102,7 +98,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
102
98
  l("div", {
103
99
  class: s(["default-header uikit-sticky uikit-top-0 uikit-z-10 uikit-rounded-t uikit-border-0 uikit-bg-white uikit-px-4 uikit-pb-10px uikit-pt-20px sm:uikit-px-6", [e.customModalHeaderClasses]])
104
100
  }, [
105
- e.withCloseIcon ? (k(), h("button", {
101
+ e.withCloseIcon ? (r(), h("button", {
106
102
  key: 0,
107
103
  id: "close-icon-btn",
108
104
  "data-cy": "bbt-default-close-icon-btn",
@@ -129,7 +125,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
129
125
  }, [
130
126
  d(t.$slots, "body", { closeModal: o })
131
127
  ], 2),
132
- t.$slots.footer ? (k(), h("div", {
128
+ t.$slots.footer ? (r(), h("div", {
133
129
  key: 0,
134
130
  class: s(["uikit-bbt-footer uikit-sticky uikit-bottom-0 uikit-border-0 uikit-bg-white uikit-px-4 uikit-py-15px sm:uikit-px-6", e.customModalFooterClasses])
135
131
  }, [
@@ -142,5 +138,5 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
142
138
  }
143
139
  });
144
140
  export {
145
- J as default
141
+ R as default
146
142
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as O, mergeModels as V, useModel as A, computed as s, createElementBlock as o, openBlock as a, createCommentVNode as k, createElementVNode as P, createBlock as v, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as $, unref as p, toDisplayString as g, Fragment as w, createTextVNode as x, renderList as j } from "vue";
2
- import { ArrowIcon as B } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
2
+ import { ArrowIcon as B } from "@wikicasa-dev/svg-icons";
3
3
  const Q = {
4
4
  "aria-label": "Page navigation",
5
5
  class: "uikit-overflow-auto"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as R, mergeModels as _, useModel as w, ref as p, useTemplateRef as D, useAttrs as j, onMounted as q, createElementBlock as G, openBlock as H, createElementVNode as x, withModifiers as T, createVNode as k } from "vue";
2
- import C from "../../../../UIKit/BaseInput.js";
2
+ import C from "../../UIKit/BaseInput.js";
3
3
  const J = { class: "range_container" }, K = { class: "sliders_control" }, O = ["value", "min", "max", "step"], Q = ["value", "min", "max", "step"], W = { class: "form_control row" }, X = { class: "pb-15 pb-sm-0 col-sm-6 col-xl-4" }, Y = { class: "col-sm-6 col-xl-4" }, ae = /* @__PURE__ */ R({
4
4
  __name: "BaseSlider",
5
5
  props: /* @__PURE__ */ _({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, mergeModels as I, useModel as w, ref as b, watch as y, nextTick as $, createBlock as s, openBlock as r, unref as i, withCtx as a, renderSlot as f, createVNode as n, normalizeClass as m, createCommentVNode as p, normalizeStyle as B } from "vue";
2
- import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.24-alpha.0_vue@3.5.25_typescript@5.9.3_/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
2
+ import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
3
3
  import { ToastProvider as D, ToastRoot as M, ToastTitle as P, ToastDescription as z, ToastClose as S, ToastAction as A, ProgressRoot as N, ProgressIndicator as R, ToastPortal as U, ToastViewport as h } from "reka-ui";
4
4
  const q = /* @__PURE__ */ x({
5
5
  inheritAttrs: !1,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as T, mergeModels as c, useModel as h, ref as $, watch as L, createElementBlock as b, openBlock as f, normalizeClass as s, createElementVNode as r, createCommentVNode as v, unref as u, createVNode as M, withModifiers as o, nextTick as C } from "vue";
2
- import F from "../../../../UIKit/BaseFloatingLabel.js";
3
- import { useFloatingLabel as B } from "../../../../composables/useFloatingLabel.js";
2
+ import F from "../../UIKit/BaseFloatingLabel.js";
3
+ import { useFloatingLabel as B } from "../../composables/useFloatingLabel.js";
4
4
  const z = ["id", "data-cy", "rows", "disabled", "aria-labelledby", "readonly", "value"], E = {
5
5
  key: 0,
6
6
  class: "uikit-visible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-duration-[50s] uikit-ease-out"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, ref as m, watch as p, createElementBlock as o, openBlock as u, normalizeClass as l, createElementVNode as a, createBlock as x, createCommentVNode as d, renderSlot as h } from "vue";
2
- import v from "../../../../UIKit/BaseFloatingLabel.js";
2
+ import v from "../../UIKit/BaseFloatingLabel.js";
3
3
  const w = ["innerHTML"], C = ["for"], g = ["id", "multiple", "accept"], B = /* @__PURE__ */ b({
4
4
  inheritAttrs: !1,
5
5
  __name: "BaseUploadFile",
@@ -1,11 +1,7 @@
1
- import { defineComponent as x, ref as y, computed as h, watch as v, renderSlot as b, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as C, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
2
- import { isArrNullOrEmpty as V } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
3
- import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
4
- import "date-fns";
5
- import { stringToHyphened as L } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.22_date-fns@4.1.0_google-polyline@1.0.3_js-cookie@3.0.5/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
6
- import "../../../../../_virtual/polyline.js";
7
- import G from "../../../../../UIKit/Checkbox/CheckboxBtn.js";
8
- const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
1
+ import { defineComponent as y, ref as p, computed as i, watch as v, renderSlot as b, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as C, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
2
+ import { stringToHyphened as V, isArrNullOrEmpty as L } from "@wikicasa-dev/utilities";
3
+ import G from "../../../UIKit/Checkbox/CheckboxBtn.js";
4
+ const N = ["id", "data-cy"], O = /* @__PURE__ */ y({
9
5
  inheritAttrs: !1,
10
6
  __name: "CheckboxGroup",
11
7
  props: {
@@ -24,11 +20,11 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
24
20
  },
25
21
  emits: ["resetted", "update:modelValue", "checkedGroup"],
26
22
  setup(t, { emit: g }) {
27
- const o = t, r = g, l = y(/* @__PURE__ */ new Map()), s = h(() => {
23
+ const o = t, s = g, l = p(/* @__PURE__ */ new Map()), r = i(() => {
28
24
  for (const e of o.checkboxData)
29
25
  if (e.reset) return e;
30
26
  return null;
31
- }), p = h(() => o.checkboxData.length), f = h(() => {
27
+ }), x = i(() => o.checkboxData.length), f = i(() => {
32
28
  let e = 0;
33
29
  return l.value.forEach((a) => {
34
30
  a.checked && e++;
@@ -41,7 +37,7 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
41
37
  `${a.id}`,
42
38
  a
43
39
  ), a.checked && e.push(a);
44
- r("update:modelValue", e);
40
+ s("update:modelValue", e);
45
41
  })();
46
42
  const u = (e, a) => {
47
43
  const c = l.value.get(e);
@@ -57,17 +53,17 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
57
53
  e.checked = !1;
58
54
  });
59
55
  }, m = () => {
60
- k(), r("update:modelValue", []), r("resetted");
61
- }, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
62
- if (V(o.checkboxData)) return;
56
+ k(), s("update:modelValue", []), s("resetted");
57
+ }, d = (e) => l.value.get(o.getKey(e))?.checked ?? !1, h = (e) => {
58
+ if (L(o.checkboxData)) return;
63
59
  const a = l.value.get(e.id);
64
- a?.reset && e.checked ? k() : s.value && !a?.reset && u(o.getKey(s.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && s.value && f.value === p.value - 1 && l.value.forEach((n) => {
60
+ a?.reset && e.checked ? k() : r.value && !a?.reset && u(o.getKey(r.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && r.value && f.value === x.value - 1 && l.value.forEach((n) => {
65
61
  n.checked = !!n.reset;
66
- }), o.autoCheckResetEmpty && s.value && !f.value && (!o.manualToggleResetButton || !a?.reset) && u(o.getKey(s.value), { checked: !0 });
62
+ }), o.autoCheckResetEmpty && r.value && !f.value && (!o.manualToggleResetButton || !a?.reset) && u(o.getKey(r.value), { checked: !0 });
67
63
  const c = [];
68
64
  l.value.forEach((n) => {
69
65
  n.checked && c.push(n);
70
- }), r("update:modelValue", c), r("checkedGroup", o.groupId);
66
+ }), s("update:modelValue", c), s("checkedGroup", o.groupId);
71
67
  };
72
68
  return v(
73
69
  () => o.reset,
@@ -76,7 +72,7 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
76
72
  }
77
73
  ), (e, a) => b(e.$slots, "default", {
78
74
  isActive: d,
79
- handleChange: i,
75
+ handleChange: h,
80
76
  checkboxesData: t.checkboxData
81
77
  }, () => [
82
78
  D("div", {
@@ -86,14 +82,14 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
86
82
  }, [
87
83
  b(e.$slots, "checkbox_elements", {
88
84
  isActive: d,
89
- handleChange: i,
85
+ handleChange: h,
90
86
  checkboxesData: t.checkboxData,
91
87
  reset: m
92
88
  }, () => [
93
89
  t.checkboxData ? (C(!0), $(A, { key: 0 }, I(t.checkboxData, (c, n) => (C(), R(G, {
94
90
  id: t.getKey(c),
95
91
  key: n,
96
- "data-cy": c.dataCy ?? `checkbox_${K(L)(`${c.label}`)}`,
92
+ "data-cy": c.dataCy ?? `checkbox_${K(V)(`${c.label}`)}`,
97
93
  label: c.label,
98
94
  inline: t.formCheckInline,
99
95
  "model-value": d(c),
@@ -101,7 +97,7 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
101
97
  t.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
102
98
  t.checkboxContainerClasses
103
99
  ],
104
- onChange: i
100
+ onChange: h
105
101
  }, null, 8, ["id", "data-cy", "label", "inline", "model-value", "container-class"]))), 128)) : B("", !0)
106
102
  ])
107
103
  ], 10, N)
@@ -109,5 +105,5 @@ const N = ["id", "data-cy"], H = /* @__PURE__ */ x({
109
105
  }
110
106
  });
111
107
  export {
112
- H as default
108
+ O as default
113
109
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as n, openBlock as t, Fragment as l, renderList as a, createBlock as m, normalizeStyle as s, normalizeClass as o } from "vue";
2
- import u from "../../../../../UIKit/ShimmerLoader/BaseShimmerLoader.js";
2
+ import u from "../../../UIKit/ShimmerLoader/BaseShimmerLoader.js";
3
3
  const k = /* @__PURE__ */ i({
4
4
  __name: "ShimmerMultiLine",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, onBeforeMount as u, createBlock as i, createCommentVNode as c, unref as o, openBlock as m } from "vue";
2
2
  import { Doughnut as p } from "vue-chartjs";
3
3
  import { Chart as l, DoughnutController as d, ArcElement as f } from "chart.js";
4
- import { useChartJsModules as g } from "../../../../chart/composables/useChartjsModules.js";
4
+ import { useChartJsModules as g } from "../../chart/composables/useChartjsModules.js";
5
5
  const y = /* @__PURE__ */ s({
6
6
  __name: "DoughnutChart",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, onBeforeMount as p, useTemplateRef as u, computed as f, createBlock as d, createCommentVNode as h, unref as t, openBlock as C } from "vue";
2
2
  import { Line as g } from "vue-chartjs";
3
3
  import { Chart as x, LineController as L, LineElement as k, Filler as B, PointElement as E, CategoryScale as v, LinearScale as y } from "chart.js";
4
- import { useChartJsModules as M } from "../../../../chart/composables/useChartjsModules.js";
4
+ import { useChartJsModules as M } from "../../chart/composables/useChartjsModules.js";
5
5
  const F = /* @__PURE__ */ m({
6
6
  __name: "LineChart",
7
7
  props: {