@wikicasa-dev/components 2.1.27 → 2.1.28-alpha.1

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 (160) 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 -18
  56. package/dist/lib/UIKit/Accordion/BaseAccordion.vue.js +31 -0
  57. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionBtn.vue.js +5 -6
  58. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionItem.vue.js +3 -4
  59. package/dist/{packages/components/lib → lib}/UIKit/BaseAutocomplete.vue.js +9 -12
  60. package/dist/{packages/components/lib → lib}/UIKit/BaseBreadcrumb.vue.js +9 -10
  61. package/dist/{packages/components/lib → lib}/UIKit/BaseButton.vue.js +1 -1
  62. package/dist/{packages/components/lib → lib}/UIKit/BaseDropDown.vue.js +6 -7
  63. package/dist/{packages/components/lib → lib}/UIKit/BaseInput.vue.js +2 -2
  64. package/dist/{packages/components/lib → lib}/UIKit/BaseModal.vue.js +15 -20
  65. package/dist/{packages/components/lib → lib}/UIKit/BasePagination.vue.js +3 -4
  66. package/dist/{packages/components/lib → lib}/UIKit/BaseSlider.vue.js +1 -1
  67. package/dist/{packages/components/lib → lib}/UIKit/BaseSnackbar.vue.js +3 -4
  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 +16 -12
  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/swiper@12.0.3/node_modules/swiper/modules/autoplay.js +0 -128
  84. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/controller.js +0 -100
  85. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/free-mode.js +0 -123
  86. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/keyboard.js +0 -66
  87. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/navigation.js +0 -136
  88. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.js +0 -226
  89. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/thumbs.js +0 -120
  90. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/zoom.js +0 -309
  91. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.js +0 -6
  92. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.js +0 -12
  93. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.js +0 -134
  94. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.js +0 -88
  95. package/dist/packages/components/lazyModules/Swiper/autoplay.js +0 -5
  96. package/dist/packages/components/lazyModules/Swiper/controller.js +0 -5
  97. package/dist/packages/components/lazyModules/Swiper/free-mode.js +0 -5
  98. package/dist/packages/components/lazyModules/Swiper/keyboard.js +0 -5
  99. package/dist/packages/components/lazyModules/Swiper/navigation.js +0 -5
  100. package/dist/packages/components/lazyModules/Swiper/pagination.js +0 -5
  101. package/dist/packages/components/lazyModules/Swiper/thumbs.js +0 -5
  102. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +0 -34
  103. package/dist/packages/components/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js +0 -28
  104. package/dist/packages/components/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js +0 -38
  105. package/dist/packages/components/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -9
  106. package/dist/packages/components/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -2
  107. package/dist/packages/components/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -40
  108. package/dist/packages/components/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -4
  109. package/dist/packages/components/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -4
  110. package/dist/packages/components/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -15
  111. package/dist/packages/components/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -12
  112. package/dist/packages/components/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -10
  113. package/dist/packages/components/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -4
  114. package/dist/packages/components/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -41
  115. package/dist/packages/components/node_modules/google-polyline/lib/decode.js +0 -22
  116. package/dist/packages/components/node_modules/google-polyline/lib/encode.js +0 -34
  117. package/dist/packages/components/node_modules/google-polyline/lib/polyline.js +0 -12
  118. package/dist/packages/components/node_modules/js-cookie/dist/js.cookie.js +0 -70
  119. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseAlert.css +0 -0
  120. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseBadge.css +0 -0
  121. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseCard.css +0 -0
  122. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.css +0 -0
  123. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseIcon.css +0 -0
  124. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseInput.css +0 -0
  125. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseModal.css +0 -0
  126. /package/dist/assets/{packages/components/lib → lib}/UIKit/BasePaper.css +0 -0
  127. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseSlider.css +0 -0
  128. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseSnackbar.css +0 -0
  129. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTextarea.css +0 -0
  130. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseToggle.css +0 -0
  131. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTooltip.css +0 -0
  132. /package/dist/assets/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.css +0 -0
  133. /package/dist/assets/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.css +0 -0
  134. /package/dist/assets/{packages/components/lib → lib}/UIKit/Slider/SimpleSlider.css +0 -0
  135. /package/dist/assets/{packages/components/lib → lib}/UIKit/StaticSpinner.css +0 -0
  136. /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel.css +0 -0
  137. /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel2.css +0 -0
  138. /package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionContent.vue.js +0 -0
  139. /package/dist/{packages/components/lib → lib}/UIKit/BaseAlert.vue.js +0 -0
  140. /package/dist/{packages/components/lib → lib}/UIKit/BaseBadge.vue.js +0 -0
  141. /package/dist/{packages/components/lib → lib}/UIKit/BaseCard.vue.js +0 -0
  142. /package/dist/{packages/components/lib → lib}/UIKit/BaseComplexToggle.vue.js +0 -0
  143. /package/dist/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.vue.js +0 -0
  144. /package/dist/{packages/components/lib → lib}/UIKit/BaseIcon.vue.js +0 -0
  145. /package/dist/{packages/components/lib → lib}/UIKit/BasePaper.vue.js +0 -0
  146. /package/dist/{packages/components/lib → lib}/UIKit/BaseSelect/SelectItem.vue.js +0 -0
  147. /package/dist/{packages/components/lib → lib}/UIKit/BaseToggle.vue.js +0 -0
  148. /package/dist/{packages/components/lib → lib}/UIKit/BaseTooltip.vue.js +0 -0
  149. /package/dist/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.vue.js +0 -0
  150. /package/dist/{packages/components/lib → lib}/UIKit/Radio/RadioButton.vue.js +0 -0
  151. /package/dist/{packages/components/lib → lib}/UIKit/Radio/RadioGroup.vue.js +0 -0
  152. /package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -0
  153. /package/dist/{packages/components/lib → lib}/UIKit/Slider/SimpleSlider.vue.js +0 -0
  154. /package/dist/{packages/components/lib → lib}/UIKit/StaticSpinner.vue.js +0 -0
  155. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTab.vue.js +0 -0
  156. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTabList.vue.js +0 -0
  157. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTabPanel.vue.js +0 -0
  158. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTabView.vue.js +0 -0
  159. /package/dist/{packages/components/lib → lib}/components/IntersectionObserver/IntersectionObservable.vue.js +0 -0
  160. /package/dist/{packages/components/lib → lib}/components/IntersectionObserver/IntersectionObserver.vue.js +0 -0
@@ -1,9 +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/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
3
- import { ArrowIcon as q } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import { WarningIconRounded as j } from "../../node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js";
5
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
6
- 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"], oe = /* @__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({
7
5
  inheritAttrs: !1,
8
6
  __name: "AccessibleSelect",
9
7
  props: /* @__PURE__ */ $({
@@ -35,25 +33,25 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
35
33
  }),
36
34
  emits: /* @__PURE__ */ $(["click", "update:dropdownState"], ["update:modelValue", "update:toggleDropdown"]),
37
35
  setup(e, { emit: T }) {
38
- 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({
39
37
  optionsLength: e.options.length,
40
38
  isDropdownOpen: t
41
39
  }), w = (i) => {
42
40
  t.value = !1, k.value = i;
43
41
  };
44
- h(I, (i) => {
42
+ y(I, (i) => {
45
43
  w(e.options[i]), t.value = !1;
46
- }), h(g, (i) => {
44
+ }), y(g, (i) => {
47
45
  i && (t.value = !t.value, g.value = !1);
48
- }), h(t, (i) => {
49
- y("update:dropdownState", i);
46
+ }), y(t, (i) => {
47
+ h("update:dropdownState", i);
50
48
  });
51
49
  const C = ({ target: i }) => {
52
50
  `${l.value}_btn` !== i.id && (t.value = !1);
53
51
  };
54
- return A(() => {
52
+ return E(() => {
55
53
  e.closeOnBodyPressed && document.addEventListener("click", C);
56
- }), E(() => {
54
+ }), P(() => {
57
55
  e.closeOnBodyPressed && document.removeEventListener("click", C);
58
56
  }), (i, s) => (n(), u("div", {
59
57
  class: a(i.$attrs.class)
@@ -77,7 +75,7 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
77
75
  class: "uikit-z-20 uikit-mt-2 uikit-pl-2",
78
76
  onClick: s[0] || (s[0] = c((d) => t.value = !t.value, ["stop"]))
79
77
  }, [
80
- P(i.$slots, "lefticon")
78
+ z(i.$slots, "lefticon")
81
79
  ])) : r("", !0),
82
80
  o("button", {
83
81
  id: `${l.value}_btn`,
@@ -96,7 +94,7 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
96
94
  "aria-invalid": e.isValid === !1,
97
95
  "aria-describedby": e.isValid === !1 ? `${l.value}_invalid_msg` : void 0,
98
96
  onClick: s[1] || (s[1] = (d) => {
99
- t.value = !t.value, y("click", d);
97
+ t.value = !t.value, h("click", d);
100
98
  })
101
99
  }, [
102
100
  o("span", {
@@ -104,14 +102,14 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
104
102
  innerHTML: k.value.visibleLabel || k.value.label
105
103
  }, null, 10, U),
106
104
  o("span", W, [
107
- e.isValid == !1 ? (n(), z(b(j), {
105
+ e.isValid == !1 ? (n(), A(b(q), {
108
106
  key: 0,
109
107
  class: "uikit-mr-1",
110
108
  width: 20,
111
109
  height: 20,
112
110
  "stroke-color": "#FA4F64"
113
111
  })) : r("", !0),
114
- N(b(q), {
112
+ N(b(j), {
115
113
  class: a(["uikit-transition-transform motion-reduce:uikit-transition-none", [
116
114
  t.value ? "uikit-rotate-180" : "",
117
115
  e.arrowIcon?.classes
@@ -207,5 +205,5 @@ const K = ["id", "innerHTML"], R = ["id", "data-cy", "aria-required", "aria-cont
207
205
  }
208
206
  });
209
207
  export {
210
- oe as default
208
+ ae as default
211
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,7 +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/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
- const C = ["id"], w = ["aria-expanded", "aria-controls"], A = /* @__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({
5
4
  inheritAttrs: !1,
6
5
  __name: "BaseAccordionBtn",
7
6
  props: {
@@ -15,7 +14,7 @@ const C = ["id"], w = ["aria-expanded", "aria-controls"], A = /* @__PURE__ */ s(
15
14
  emits: ["click"],
16
15
  setup(t, { emit: r }) {
17
16
  const a = r;
18
- return (o, e) => (d(), l("div", {
17
+ return (o, e) => (d(), s("div", {
19
18
  id: `${t.id}`,
20
19
  class: n(["uikit-flex uikit-items-center uikit-justify-around", [
21
20
  o.$attrs["btn-wrapper-classes"],
@@ -53,5 +52,5 @@ const C = ["id"], w = ["aria-expanded", "aria-controls"], A = /* @__PURE__ */ s(
53
52
  }
54
53
  });
55
54
  export {
56
- A as default
55
+ b as default
57
56
  };
@@ -1,9 +1,8 @@
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/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
5
- import "../../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
6
- const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], P = /* @__PURE__ */ $({
4
+ import { ArrowIcon as W } from "@wikicasa-dev/svg-icons";
5
+ const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], L = /* @__PURE__ */ $({
7
6
  inheritAttrs: !1,
8
7
  __name: "BaseAccordionItem",
9
8
  props: {
@@ -136,5 +135,5 @@ const x = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
136
135
  }
137
136
  });
138
137
  export {
139
- P as default
138
+ L as default
140
139
  };
@@ -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/js-cookie/dist/js.cookie.js";
5
- import "date-fns";
6
- import { debounce as q } from "../../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/@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,7 +1,6 @@
1
- import { defineComponent as d, computed as k, createElementBlock as i, openBlock as l, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as p, unref as f } from "vue";
2
- import { ArrowIcon as C } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
- const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $ = /* @__PURE__ */ d({
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 "@wikicasa-dev/svg-icons";
3
+ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y = /* @__PURE__ */ d({
5
4
  __name: "BaseBreadcrumb",
6
5
  props: {
7
6
  items: {},
@@ -16,12 +15,12 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $
16
15
  a.push({ ...t.items[e], idx: e }), e < t.items.length - 1 && a.push({ arrowIcon: !0 }), e++;
17
16
  return a;
18
17
  });
19
- return (e, a) => (l(), i("nav", g, [
18
+ return (e, a) => (i(), l("nav", g, [
20
19
  n("ol", {
21
20
  class: r(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", t.listClasses])
22
21
  }, [
23
- (l(!0), i(u, null, h(m.value, (s, o) => (l(), i(u, null, [
24
- s?.label ? (l(), i("li", {
22
+ (i(!0), l(u, null, h(m.value, (s, o) => (i(), l(u, null, [
23
+ s?.label ? (i(), l("li", {
25
24
  key: `breadcrumb-li-${o}`,
26
25
  class: r(["uikit-list-none", t.listItemClasses]),
27
26
  "data-tooltip": s.dataTooltip
@@ -34,13 +33,13 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $
34
33
  href: s.link
35
34
  }, b(s.label), 11, I)
36
35
  ])
37
- ], 10, w)) : (l(), i("li", {
36
+ ], 10, w)) : (i(), l("li", {
38
37
  key: `breadcrumb-li-no-label-${o}`,
39
38
  class: r(["uikit-list-none", t.listItemClasses]),
40
39
  "aria-hidden": "true"
41
40
  }, [
42
41
  c(e.$slots, "separator", {}, () => [
43
- p(f(C), {
42
+ f(p(C), {
44
43
  class: "-uikit-rotate-90",
45
44
  "stroke-color": "#222",
46
45
  width: 10,
@@ -54,5 +53,5 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], $
54
53
  }
55
54
  });
56
55
  export {
57
- $ as default
56
+ y as default
58
57
  };
@@ -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,9 +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/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
5
- import { useKeyboardController as U } from "../../node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
6
- const j = ["innerHTML"], Y = /* @__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({
7
6
  inheritAttrs: !1,
8
7
  __name: "BaseDropDown",
9
8
  props: /* @__PURE__ */ b({
@@ -28,7 +27,7 @@ const j = ["innerHTML"], Y = /* @__PURE__ */ A({
28
27
  }),
29
28
  emits: /* @__PURE__ */ b(["click", "update:dropdownState"], ["update:toggleDropdown"]),
30
29
  setup(t, { emit: x }) {
31
- 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({
32
31
  optionsLength: B,
33
32
  isDropdownOpen: o,
34
33
  activate: i.activateKeyboardController
@@ -131,5 +130,5 @@ const j = ["innerHTML"], Y = /* @__PURE__ */ A({
131
130
  }
132
131
  });
133
132
  export {
134
- Y as default
133
+ X as default
135
134
  };
@@ -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,12 +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/js-cookie/dist/js.cookie.js";
3
- import "date-fns";
4
- import { isWindows as C } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
5
- import { awaitableSetTimeout as S } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
6
- import "../../../../_virtual/polyline.js";
7
- import { CloseIcon as V } from "../../node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
8
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
9
- const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__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({
10
5
  __name: "BaseModal",
11
6
  props: {
12
7
  id: { default: "base-bt-modal" },
@@ -28,16 +23,16 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
28
23
  titleClasses: {}
29
24
  },
30
25
  emits: ["closed", "opened", "dialogClick"],
31
- setup(e, { emit: p }) {
32
- const c = p, i = n(!1), m = n(null), a = z("modalDialog"), r = n(!1), u = n(!1), f = ({ key: t }) => {
26
+ setup(e, { emit: g }) {
27
+ const c = g, i = n(!1), m = n(null), a = z("modalDialog"), k = n(!1), u = n(!1), f = ({ key: t }) => {
33
28
  t === "Escape" && o();
34
- }, g = () => {
29
+ }, x = () => {
35
30
  document?.body.addEventListener("keydown", f);
36
31
  }, b = () => {
37
32
  document?.body.removeEventListener("keydown", f);
38
- }, x = async () => {
33
+ }, p = async () => {
39
34
  i.value = !0, N(() => {
40
- g(), 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");
41
36
  }), c("opened"), e.autoClose !== void 0 && setTimeout(() => {
42
37
  o();
43
38
  }, e.autoClose);
@@ -63,10 +58,10 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
63
58
  }), I(
64
59
  () => e.showModal,
65
60
  async (t) => {
66
- !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;
67
62
  },
68
63
  { immediate: !0 }
69
- ), (t, v) => (k(), O($, { to: "body" }, [
64
+ ), (t, v) => (r(), O($, { to: "body" }, [
70
65
  l("div", {
71
66
  ref_key: "backdropEl",
72
67
  ref: m,
@@ -77,7 +72,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
77
72
  },
78
73
  { "uikit-bg-transparent": !i.value },
79
74
  { "sm:uikit-pt-[30px]": !e.centered },
80
- { hide: r.value }
75
+ { hide: k.value }
81
76
  ]]),
82
77
  style: { "z-index": "1062" },
83
78
  onClick: L,
@@ -103,7 +98,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
103
98
  l("div", {
104
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]])
105
100
  }, [
106
- e.withCloseIcon ? (k(), h("button", {
101
+ e.withCloseIcon ? (r(), h("button", {
107
102
  key: 0,
108
103
  id: "close-icon-btn",
109
104
  "data-cy": "bbt-default-close-icon-btn",
@@ -130,7 +125,7 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
130
125
  }, [
131
126
  d(t.$slots, "body", { closeModal: o })
132
127
  ], 2),
133
- t.$slots.footer ? (k(), h("div", {
128
+ t.$slots.footer ? (r(), h("div", {
134
129
  key: 0,
135
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])
136
131
  }, [
@@ -143,5 +138,5 @@ const F = ["id", "data-cy"], U = ["innerHTML"], Q = /* @__PURE__ */ T({
143
138
  }
144
139
  });
145
140
  export {
146
- Q as default
141
+ R as default
147
142
  };
@@ -1,6 +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/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
2
+ import { ArrowIcon as B } from "@wikicasa-dev/svg-icons";
4
3
  const Q = {
5
4
  "aria-label": "Page navigation",
6
5
  class: "uikit-overflow-auto"
@@ -19,7 +18,7 @@ const Q = {
19
18
  }, K = ["data-cy"], W = {
20
19
  key: 0,
21
20
  class: "uikit-mx-10px uikit-select-none"
22
- }, I = /* @__PURE__ */ O({
21
+ }, Z = /* @__PURE__ */ O({
23
22
  __name: "BasePagination",
24
23
  props: /* @__PURE__ */ V({
25
24
  count: { default: 0 },
@@ -225,5 +224,5 @@ const Q = {
225
224
  }
226
225
  });
227
226
  export {
228
- I as default
227
+ Z as default
229
228
  };
@@ -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,8 +1,7 @@
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/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
3
- import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
2
+ import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
4
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";
5
- const E = /* @__PURE__ */ x({
4
+ const q = /* @__PURE__ */ x({
6
5
  inheritAttrs: !1,
7
6
  __name: "BaseSnackbar",
8
7
  props: /* @__PURE__ */ I({
@@ -142,5 +141,5 @@ const E = /* @__PURE__ */ x({
142
141
  }
143
142
  });
144
143
  export {
145
- E as default
144
+ q as default
146
145
  };
@@ -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/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
3
- import "../../../node_modules/js-cookie/dist/js.cookie.js";
4
- import "date-fns";
5
- import { stringToHyphened as L } from "../../../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: {