@wikicasa-dev/components 2.2.9-alpha.32 → 2.2.9-alpha.35

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 (107) hide show
  1. package/dist/Swiper/autoplay.js +3 -4
  2. package/dist/Swiper/controller.js +1 -2
  3. package/dist/Swiper/free-mode.js +3 -4
  4. package/dist/Swiper/keyboard.js +3 -4
  5. package/dist/Swiper/navigation.js +3 -4
  6. package/dist/Swiper/pagination.js +3 -4
  7. package/dist/Swiper/thumbs.js +3 -4
  8. package/dist/UIKit/AccessibleSelect.js +2 -3
  9. package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
  10. package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
  11. package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
  12. package/dist/UIKit/Accordion/BaseAccordionItem.js +2 -3
  13. package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +2 -3
  14. package/dist/UIKit/BaseAlert.js +2 -3
  15. package/dist/UIKit/BaseAutocomplete.js +2 -3
  16. package/dist/UIKit/BaseBadge.js +2 -3
  17. package/dist/UIKit/BaseBreadcrumb.js +1 -1
  18. package/dist/UIKit/BaseButton.js +1 -1
  19. package/dist/UIKit/BaseCard.js +36 -5
  20. package/dist/UIKit/BaseComplexToggle.js +105 -5
  21. package/dist/UIKit/BaseDropDown.d.ts +4 -2
  22. package/dist/UIKit/BaseDropDown.js +2 -3
  23. package/dist/UIKit/BaseFloatingLabel.js +39 -5
  24. package/dist/UIKit/BaseInput.js +210 -5
  25. package/dist/UIKit/BaseModal.js +2 -3
  26. package/dist/UIKit/BasePagination.js +1 -1
  27. package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
  28. package/dist/UIKit/BaseSlider.js +206 -5
  29. package/dist/UIKit/BaseSnackbar.js +2 -3
  30. package/dist/UIKit/BaseTextarea.js +126 -5
  31. package/dist/UIKit/BaseToggle.js +41 -5
  32. package/dist/UIKit/BaseTooltip.js +40 -5
  33. package/dist/UIKit/BaseUploadFile.js +1 -1
  34. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -3
  35. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
  36. package/dist/UIKit/Radio/RadioButton.js +1 -1
  37. package/dist/UIKit/Radio/RadioGroup.js +1 -1
  38. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +20 -5
  39. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
  40. package/dist/UIKit/Slider/SimpleSlider.js +81 -5
  41. package/dist/UIKit/StaticSpinner.js +26 -5
  42. package/dist/UIKit/Tab/BaseTab.js +1 -1
  43. package/dist/UIKit/Tab/BaseTabList.js +1 -1
  44. package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
  45. package/dist/UIKit/Tab/BaseTabView.js +1 -1
  46. package/dist/assets/BaseInput.css +1 -1
  47. package/dist/assets/SwiperCarousel.css +1 -1
  48. package/dist/chart/DoughnutChart.js +1 -1
  49. package/dist/chart/LineChart.js +1 -1
  50. package/dist/{packages/components/lib/UIKit/AccessibleSelect.vue.js → chunks/AccessibleSelect.vue_vue_type_style_index_0_lang.DWwkWpAC.js} +69 -70
  51. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js → chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.Qp6BrYox.js} +5 -5
  52. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js → chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.CL5zNPzY.js} +4 -4
  53. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js → chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.BqjzG2As.js} +5 -5
  54. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js → chunks/BaseAccordionItem.vue_vue_type_style_index_0_lang.DwEHSyBO.js} +4 -4
  55. package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BVR-COlL.js +19 -0
  56. package/dist/{packages/components/lib/UIKit/BaseAutocomplete.vue.js → chunks/BaseAutocomplete.vue_vue_type_style_index_0_lang.BW_JCkOV.js} +24 -25
  57. package/dist/{packages/components/lib/UIKit/BaseBadge.vue.js → chunks/BaseBadge.vue_vue_type_style_index_0_lang.BnYtlFXq.js} +6 -6
  58. package/dist/{packages/components/lib/UIKit/BaseBreadcrumb.vue.js → chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.CcfuB26u.js} +7 -7
  59. package/dist/{packages/components/lib/UIKit/BaseButton.vue.js → chunks/BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js} +2 -2
  60. package/dist/{packages/components/lib/UIKit/BaseDropDown.vue.js → chunks/BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js} +39 -37
  61. package/dist/{packages/components/lib/UIKit/BaseModal.vue.js → chunks/BaseModal.vue_vue_type_style_index_0_lang.B8U_buif.js} +2 -2
  62. package/dist/{packages/components/lib/UIKit/BasePagination.vue.js → chunks/BasePagination.vue_vue_type_script_setup_true_lang.CkGMhOm-.js} +1 -1
  63. package/dist/{packages/components/lib/UIKit/BaseSnackbar.vue.js → chunks/BaseSnackbar.vue_vue_type_style_index_0_lang.DJqVfg6P.js} +2 -2
  64. package/dist/{packages/components/lib/UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
  65. package/dist/{packages/components/lib/UIKit/Tab/BaseTabList.vue.js → chunks/BaseTabList.vue_vue_type_script_setup_true_lang.BXvkXKbT.js} +3 -3
  66. package/dist/{packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js → chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CM1ObHXU.js} +1 -1
  67. package/dist/{packages/components/lib/UIKit/Tab/BaseTabView.vue.js → chunks/BaseTabView.vue_vue_type_script_setup_true_lang.BocXkfTw.js} +17 -17
  68. package/dist/{packages/components/lib/UIKit/BaseUploadFile.vue.js → chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.DMPiMivr.js} +7 -7
  69. package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js → chunks/CheckboxBtn.vue_vue_type_style_index_0_lang.MYOfjOwM.js} +8 -8
  70. package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js → chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.aDZDPjgR.js} +3 -4
  71. package/dist/{packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js → chunks/ClearableAutocomplete.vue_vue_type_style_index_0_lang.DUOBcBPN.js} +4 -5
  72. package/dist/{packages/components/lib/chart/DoughnutChart.vue.js → chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.yALl_gpB.js} +6 -6
  73. package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js → chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BidNzYDc.js} +5 -5
  74. package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js → chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BnLNx3be.js} +3 -3
  75. package/dist/{packages/components/lib/chart/LineChart.vue.js → chunks/LineChart.vue_vue_type_script_setup_true_lang.Df20jEOd.js} +7 -7
  76. package/dist/{packages/components/lib/UIKit/Radio/RadioButton.vue.js → chunks/RadioButton.vue_vue_type_script_setup_true_lang.g-a7DM3l.js} +3 -3
  77. package/dist/{packages/components/lib/UIKit/Radio/RadioGroup.vue.js → chunks/RadioGroup.vue_vue_type_script_setup_true_lang.DtBZuHm2.js} +3 -3
  78. package/dist/{packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js → chunks/SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js} +9 -9
  79. package/dist/{packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js → chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DEb8nfZp.js} +4 -4
  80. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
  81. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
  82. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
  83. package/dist/components/carousel/SwiperCarousel.js +243 -6
  84. package/dist/components/carousel/SwiperSlide.js +1 -1
  85. package/dist/index.js +82 -92
  86. package/package.json +2 -1
  87. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  88. package/dist/assets/SwiperCarousel2.css +0 -1
  89. package/dist/assets/swiper-swiper.css +0 -1
  90. package/dist/assets/swiper-zoom.css +0 -1
  91. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +0 -19
  92. package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
  93. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +0 -106
  94. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +0 -40
  95. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +0 -211
  96. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +0 -207
  97. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +0 -127
  98. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +0 -42
  99. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
  100. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -21
  101. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
  102. package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +0 -27
  103. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +0 -246
  104. /package/dist/assets/{swiper-free-mode.css → free-mode.css} +0 -0
  105. /package/dist/assets/{swiper-navigation.css → navigation.css} +0 -0
  106. /package/dist/assets/{swiper-pagination.css → pagination.css} +0 -0
  107. /package/dist/assets/{swiper-thumbs.css → thumbs.css} +0 -0
@@ -1,4 +1,4 @@
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";
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
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",
@@ -15,12 +15,12 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
15
15
  a.push({ ...t.items[e], idx: e }), e < t.items.length - 1 && a.push({ arrowIcon: !0 }), e++;
16
16
  return a;
17
17
  });
18
- return (e, a) => (i(), l("nav", g, [
18
+ return (e, a) => (l(), i("nav", g, [
19
19
  n("ol", {
20
20
  class: r(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", t.listClasses])
21
21
  }, [
22
- (i(!0), l(u, null, h(m.value, (s, o) => (i(), l(u, null, [
23
- s?.label ? (i(), l("li", {
22
+ (l(!0), i(u, null, h(m.value, (s, o) => (l(), i(u, null, [
23
+ s?.label ? (l(), i("li", {
24
24
  key: `breadcrumb-li-${o}`,
25
25
  class: r(["uikit-list-none", t.listItemClasses]),
26
26
  "data-tooltip": s.dataTooltip
@@ -33,13 +33,13 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
33
33
  href: s.link
34
34
  }, b(s.label), 11, I)
35
35
  ])
36
- ], 10, w)) : (i(), l("li", {
36
+ ], 10, w)) : (l(), i("li", {
37
37
  key: `breadcrumb-li-no-label-${o}`,
38
38
  class: r(["uikit-list-none", t.listItemClasses]),
39
39
  "aria-hidden": "true"
40
40
  }, [
41
41
  c(e.$slots, "separator", {}, () => [
42
- f(p(C), {
42
+ p(f(C), {
43
43
  class: "-uikit-rotate-90",
44
44
  "stroke-color": "#222",
45
45
  width: 10,
@@ -53,5 +53,5 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y
53
53
  }
54
54
  });
55
55
  export {
56
- y as default
56
+ y as _
57
57
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, useTemplateRef as c, shallowRef as B, computed as l, createElementBlock as C, openBlock as w, withModifiers as s, normalizeStyle as M, normalizeClass as z, renderSlot as u, createVNode as L } from "vue";
2
- import g from "../../../../UIKit/StaticSpinner.js";
2
+ import g from "../UIKit/StaticSpinner.js";
3
3
  const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], A = /* @__PURE__ */ v({
4
4
  __name: "BaseButton",
5
5
  props: {
@@ -66,5 +66,5 @@ const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
66
66
  }
67
67
  });
68
68
  export {
69
- A as default
69
+ A as _
70
70
  };
@@ -1,11 +1,11 @@
1
- import { defineComponent as T, mergeModels as K, useId as N, useModel as E, shallowRef as R, computed as V, useTemplateRef as I, onMounted as z, onUnmounted as P, watch as v, nextTick as q, createElementBlock as F, openBlock as m, normalizeClass as d, renderSlot as A, createBlock as x, unref as l, createVNode as U, withCtx as B, createElementVNode as j, createCommentVNode as G, resolveDynamicComponent as J, mergeProps as Q } from "vue";
2
- import X from "./BaseButton.vue.js";
1
+ import { defineComponent as T, mergeModels as I, useId as N, useModel as A, shallowRef as R, computed as V, useTemplateRef as x, onMounted as z, onUnmounted as P, watch as v, nextTick as q, createElementBlock as F, openBlock as m, normalizeClass as s, renderSlot as B, createBlock as L, unref as l, createVNode as U, withCtx as D, createElementVNode as j, createCommentVNode as G, resolveDynamicComponent as J, mergeProps as Q } from "vue";
2
+ import { _ as X } from "./BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js";
3
3
  import { ArrowIcon as Y } from "@wikicasa-dev/svg-icons";
4
- import { useKeyboardController as Z } from "../../../../composables/mock.js";
5
- const _ = ["innerHTML"], le = /* @__PURE__ */ T({
4
+ import { useKeyboardController as Z } from "../composables/mock.js";
5
+ import '../assets/BaseDropDown.css';const _ = ["innerHTML"], le = /* @__PURE__ */ T({
6
6
  inheritAttrs: !1,
7
7
  __name: "BaseDropDown",
8
- props: /* @__PURE__ */ K({
8
+ props: /* @__PURE__ */ I({
9
9
  dropdownAttrs: {},
10
10
  dropdownClasses: { default: "" },
11
11
  btnClasses: { default: "" },
@@ -28,15 +28,15 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
28
28
  open: { type: Boolean, default: !1 },
29
29
  openModifiers: {}
30
30
  }),
31
- emits: /* @__PURE__ */ K(["click"], ["update:resetKeyboardController", "update:open"]),
32
- setup(t, { expose: L, emit: D }) {
33
- const n = t, y = N(), S = D, w = E(
31
+ emits: /* @__PURE__ */ I(["click"], ["update:resetKeyboardController", "update:open"]),
32
+ setup(t, { expose: S, emit: M }) {
33
+ const n = t, y = N(), O = M, w = A(
34
34
  t,
35
35
  "resetKeyboardController"
36
- ), o = E(t, "open");
36
+ ), o = A(t, "open");
37
37
  let C = !1;
38
- const s = R([]), M = V(() => s.value.length), u = I("container"), c = I("dropdown"), { activeIdx: a, selectedIdx: i, onKeyDownHandler: O } = Z({
39
- optionsLength: M,
38
+ const d = R([]), W = V(() => d.value.length), u = x("container"), c = x("dropdown"), { activeIdx: a, selectedIdx: i, onKeyDownHandler: $ } = Z({
39
+ optionsLength: W,
40
40
  isDropdownOpen: o,
41
41
  global: !1,
42
42
  closeKeys: n.closeKeys ? n.closeKeys : []
@@ -46,69 +46,71 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
46
46
  u.value?.contains(e) || b();
47
47
  }, p = (e) => {
48
48
  o.value && (u.value?.contains(e.target) || b());
49
- }, W = (e) => {
50
- n.activateKeyboardController && O(e);
49
+ }, H = (e) => {
50
+ n.activateKeyboardController && $(e);
51
51
  }, f = () => {
52
52
  n.keepState === "closed" && !o.value || n.keepState === "opened" && o.value || (o.value = !o.value);
53
- }, $ = (e) => {
53
+ }, g = (e) => {
54
54
  e != null && (a.value = e);
55
- }, H = (e) => {
55
+ }, K = (e) => {
56
56
  e != null && (i.value = e);
57
- }, g = () => {
58
- c.value && (s.value = Array.from(c.value.children));
57
+ }, E = () => {
58
+ c.value && (d.value = Array.from(c.value.children));
59
59
  };
60
60
  return z(() => {
61
- g();
61
+ E();
62
62
  }), P(() => {
63
63
  n.closeWhenClickedOutside && (document.removeEventListener("click", h), document.removeEventListener("focusin", p));
64
64
  }), v(w, (e) => {
65
65
  e && (a.value = -1, i.value = -1, q(() => {
66
- g(), w.value = !1;
66
+ E(), w.value = !1;
67
67
  }));
68
68
  }), v(o, (e) => {
69
69
  !e || C || !n.closeWhenClickedOutside || (document.addEventListener("click", h), document.addEventListener("focusin", p), C = !0);
70
70
  }), v(i, (e) => {
71
- e !== -1 && s.value[e]?.querySelector("a")?.click();
72
- }), L({
71
+ e !== -1 && d.value[e]?.querySelector("a")?.click();
72
+ }), S({
73
73
  activeIdx: a,
74
74
  selectedIdx: i,
75
75
  getRootElement: () => u.value,
76
76
  getContentElement: () => c.value
77
77
  }), (e, r) => (m(), F("div", {
78
78
  ref: "container",
79
- class: d(["uikit-relative uikit-block", e.$attrs.class]),
80
- onKeydown: W
79
+ class: s(["uikit-relative uikit-block", e.$attrs.class]),
80
+ onKeydown: H
81
81
  }, [
82
- A(e.$slots, "btn_slot", {
82
+ B(e.$slots, "btn_slot", {
83
83
  toggleDropdown: f,
84
84
  isOpen: o.value,
85
- activeIdx: l(a)
85
+ activeIdx: l(a),
86
+ setActiveIdx: g,
87
+ setSelectedIdx: K
86
88
  }, () => [
87
89
  U(X, {
88
90
  id: l(y),
89
91
  type: "button",
90
92
  "data-cy": t.dataCy,
91
- class: d([
93
+ class: s([
92
94
  "!uikit-flex uikit-w-full uikit-items-center uikit-truncate",
93
95
  t.btnClasses
94
96
  ]),
95
97
  "aria-expanded": o.value,
96
98
  "btn-class": "uikit-btn-single-selection",
97
99
  onClick: r[0] || (r[0] = (k) => {
98
- S("click"), f();
100
+ O("click"), f();
99
101
  }),
100
102
  onKeydown: r[1] || (r[1] = (k) => {
101
103
  Array.isArray(t.closeKeys) && !t.closeKeys.includes(k.key) || k.stopPropagation();
102
104
  })
103
105
  }, {
104
- default: B(() => [
106
+ default: D(() => [
105
107
  j("span", {
106
- class: d(["uikit-mr-5px", t.labelClasses]),
108
+ class: s(["uikit-mr-5px", t.labelClasses]),
107
109
  innerHTML: t.btnLabel
108
110
  }, null, 10, _),
109
- t.withArrowIcon ? (m(), x(l(Y), {
111
+ t.withArrowIcon ? (m(), L(l(Y), {
110
112
  key: 0,
111
- class: d(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", o.value ? "uikit-rotate-180" : ""]),
113
+ class: s(["uikit-shrink-0 uikit-transition-transform motion-reduce:uikit-transition-none", o.value ? "uikit-rotate-180" : ""]),
112
114
  width: t.arrowWidth,
113
115
  height: t.arrowWidth,
114
116
  "stroke-color": t.arrowStrokeColor
@@ -117,7 +119,7 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
117
119
  _: 1
118
120
  }, 8, ["id", "data-cy", "class", "aria-expanded"])
119
121
  ]),
120
- (m(), x(J(t.dropdownElement), Q({
122
+ (m(), L(J(t.dropdownElement), Q({
121
123
  id: "dropdown_" + l(y),
122
124
  ref: "dropdown",
123
125
  "data-cy": t.dataCy && `${t.dataCy}_dropdown`,
@@ -130,14 +132,14 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
130
132
  "aria-hidden": !o.value,
131
133
  "data-side": t.direction
132
134
  }, t.dropdownAttrs), {
133
- default: B(() => [
134
- A(e.$slots, "default", {
135
+ default: D(() => [
136
+ B(e.$slots, "default", {
135
137
  isOpen: o.value,
136
138
  toggleDropdown: f,
137
139
  activeIdx: l(a),
138
140
  selectedIdx: l(i),
139
- setActiveIdx: $,
140
- setSelectedIdx: H
141
+ setActiveIdx: g,
142
+ setSelectedIdx: K
141
143
  })
142
144
  ]),
143
145
  _: 3
@@ -146,5 +148,5 @@ const _ = ["innerHTML"], le = /* @__PURE__ */ T({
146
148
  }
147
149
  });
148
150
  export {
149
- le as default
151
+ le as _
150
152
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as I, ref as n, useTemplateRef as T, onUnmounted as z, watch as H, createBlock as O, openBlock as m, Teleport as $, createElementVNode as a, normalizeClass as s, createElementBlock as y, createCommentVNode as h, renderSlot as d, withModifiers as D, createVNode as F, unref as K, nextTick as N } from "vue";
2
2
  import { isWindows as g, awaitableSetTimeout as S } from "@wikicasa-dev/utilities";
3
3
  import { CloseIcon as V } from "@wikicasa-dev/svg-icons";
4
- const P = ["id", "data-cy"], U = ["innerHTML"], j = /* @__PURE__ */ I({
4
+ import '../assets/BaseModal.css';const P = ["id", "data-cy"], U = ["innerHTML"], j = /* @__PURE__ */ I({
5
5
  __name: "BaseModal",
6
6
  props: {
7
7
  id: { default: "base-bt-modal" },
@@ -145,5 +145,5 @@ const P = ["id", "data-cy"], U = ["innerHTML"], j = /* @__PURE__ */ I({
145
145
  }
146
146
  });
147
147
  export {
148
- j as default
148
+ j as _
149
149
  };
@@ -1,7 +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
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
- const q = /* @__PURE__ */ x({
4
+ import '../assets/BaseSnackbar.css';const q = /* @__PURE__ */ x({
5
5
  inheritAttrs: !1,
6
6
  __name: "BaseSnackbar",
7
7
  props: /* @__PURE__ */ I({
@@ -141,5 +141,5 @@ const q = /* @__PURE__ */ x({
141
141
  }
142
142
  });
143
143
  export {
144
- q as default
144
+ q as _
145
145
  };
@@ -6,10 +6,10 @@ const o = /* @__PURE__ */ a({
6
6
  headerTitle: {},
7
7
  tabPanelClasses: {}
8
8
  },
9
- setup(t) {
10
- return (e, s) => r(e.$slots, "header");
9
+ setup(s) {
10
+ return (e, t) => r(e.$slots, "header");
11
11
  }
12
12
  });
13
13
  export {
14
- o as default
14
+ o as _
15
15
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, inject as l, createElementBlock as r, openBlock as a, normalizeClass as c, Fragment as y, renderList as C, unref as i, createBlock as h, createCommentVNode as p, toDisplayString as f, resolveDynamicComponent as _ } from "vue";
1
+ import { defineComponent as m, inject as l, createElementBlock as r, openBlock as a, normalizeClass as c, Fragment as y, renderList as C, unref as i, createBlock as h, createCommentVNode as p, toDisplayString as _, resolveDynamicComponent as f } from "vue";
2
2
  const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected", "aria-controls", "tabindex", "onClick"], F = { key: 0 }, $ = /* @__PURE__ */ m({
3
3
  __name: "BaseTabList",
4
4
  props: {
@@ -35,11 +35,11 @@ const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected",
35
35
  i(b)(t, e), u("tabClick", k, t, e);
36
36
  }
37
37
  }, [
38
- e["header-title"] ? (a(), r("span", F, f(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (a(), h(_(e.renderFn.children.header), { key: 1 })) : p("", !0)
38
+ e["header-title"] ? (a(), r("span", F, _(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (a(), h(f(e.renderFn.children.header), { key: 1 })) : p("", !0)
39
39
  ], 10, B))), 128))
40
40
  ], 10, v));
41
41
  }
42
42
  });
43
43
  export {
44
- $ as default
44
+ $ as _
45
45
  };
@@ -21,5 +21,5 @@ const c = ["id", "aria-labelledby", "data-active"], v = /* @__PURE__ */ l({
21
21
  }
22
22
  });
23
23
  export {
24
- v as default
24
+ v as _
25
25
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as z, mergeModels as k, useModel as j, ref as v, useId as q, useSlots as G, computed as H, provide as f, watch as x, createElementBlock as m, openBlock as i, normalizeClass as I, createElementVNode as J, createBlock as o, createCommentVNode as u, unref as y, toDisplayString as K, Fragment as g, renderList as O, withCtx as Q, resolveDynamicComponent as R } from "vue";
2
- import U from "./BaseTabPanel.vue.js";
3
- import P from "./BaseTabList.vue.js";
1
+ import { defineComponent as z, mergeModels as k, useModel as j, ref as v, useId as q, useSlots as G, computed as H, provide as f, watch as x, createElementBlock as m, openBlock as l, normalizeClass as I, createElementVNode as J, createBlock as o, createCommentVNode as u, unref as y, toDisplayString as K, Fragment as g, renderList as O, withCtx as Q, resolveDynamicComponent as R } from "vue";
2
+ import { _ as U } from "./BaseTabPanel.vue_vue_type_script_setup_true_lang.CM1ObHXU.js";
3
+ import { _ as P } from "./BaseTabList.vue_vue_type_script_setup_true_lang.BXvkXKbT.js";
4
4
  const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
5
5
  inheritAttrs: !1,
6
6
  __name: "BaseTabView",
@@ -23,12 +23,12 @@ const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
23
23
  class: r(e)?.class || "",
24
24
  "tab-panel-classes": r(e)?.["tab-panel-classes"] || "",
25
25
  "data-cy": r(e)?.["data-cy"] || ""
26
- }), l = H(() => h.default ? h.default().reduce((e, a) => (a.children && Array.isArray(a.children) ? a.children.forEach((t) => {
26
+ }), i = H(() => h.default ? h.default().reduce((e, a) => (a.children && Array.isArray(a.children) ? a.children.forEach((t) => {
27
27
  p(t) && e.push(C(t, e.length));
28
28
  }) : p(a) && e.push(C(a, e.length)), e), []) : []);
29
- f("tabs", l), f("isTabActive", (e) => c.value === e);
29
+ f("tabs", i), f("isTabActive", (e) => c.value === e);
30
30
  const V = (e = -1) => b.value === e, T = (e) => `base-tab-${e}-${d}`, w = (e = -1) => `base-tab-panel-${e}-${d}`, D = (e = -1) => {
31
- const a = l.value.reduce(
31
+ const a = i.value.reduce(
32
32
  (t, n, S) => (n["active-tab-panel-idx"] !== e || t.push({ tab: n, idx: S }), t),
33
33
  []
34
34
  );
@@ -36,7 +36,7 @@ const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
36
36
  }, L = (e) => {
37
37
  A.value = T(e);
38
38
  }, E = (e) => {
39
- const a = l.value.at(e ?? -1);
39
+ const a = i.value.at(e ?? -1);
40
40
  b.value = a?.["active-tab-panel-idx"] ?? null;
41
41
  };
42
42
  f("handleClick", (e, a) => {
@@ -54,16 +54,16 @@ const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
54
54
  for (let t = 0; t < e.length; t++)
55
55
  if (e[t] !== a[t]) return t;
56
56
  return null;
57
- }, N = (e = -1) => l.value.find((a) => a["active-tab-panel-idx"] === e);
57
+ }, N = (e = -1) => i.value.find((a) => a["active-tab-panel-idx"] === e);
58
58
  return x(
59
- () => l.value.map((e) => e["active-tab-panel-idx"]),
59
+ () => i.value.map((e) => e["active-tab-panel-idx"]),
60
60
  (e, a) => {
61
61
  const t = M(e, a);
62
62
  if (t === null) return;
63
- const n = l.value[t]["active-tab-panel-idx"];
63
+ const n = i.value[t]["active-tab-panel-idx"];
64
64
  c.value !== t || n === void 0 || (b.value = n);
65
65
  }
66
- ), (e, a) => (i(), m("div", {
66
+ ), (e, a) => (l(), m("div", {
67
67
  ref_key: "root",
68
68
  ref: F,
69
69
  class: I(e.$attrs.class),
@@ -73,14 +73,14 @@ const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
73
73
  id: `tablist-${y(d)}`,
74
74
  class: "uikit-sr-only"
75
75
  }, K(s.tabViewDescription), 9, X),
76
- s.tabsPosition === "top" ? (i(), o(P, {
76
+ s.tabsPosition === "top" ? (l(), o(P, {
77
77
  key: 0,
78
78
  uid: y(d),
79
79
  "tab-list-classes": s.tabListClasses,
80
80
  "data-cy": s.dataCy ? `${s.dataCy}-tab-list` : ""
81
81
  }, null, 8, ["uid", "tab-list-classes", "data-cy"])) : u("", !0),
82
- (i(!0), m(g, null, O(l.value, (t, n) => (i(), m(g, { key: n }, [
83
- N(n) ? (i(), o(U, {
82
+ (l(!0), m(g, null, O(i.value, (t, n) => (l(), m(g, { key: n }, [
83
+ N(n) ? (l(), o(U, {
84
84
  key: 0,
85
85
  id: w(t["active-tab-panel-idx"]),
86
86
  "labelled-by": D(n) ?? "",
@@ -88,12 +88,12 @@ const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
88
88
  class: I(t["tab-panel-classes"])
89
89
  }, {
90
90
  default: Q(() => [
91
- t.renderFn.children && t.renderFn.children.default ? (i(), o(R(t.renderFn.children.default), { key: 0 })) : u("", !0)
91
+ t.renderFn.children && t.renderFn.children.default ? (l(), o(R(t.renderFn.children.default), { key: 0 })) : u("", !0)
92
92
  ]),
93
93
  _: 2
94
94
  }, 1032, ["id", "labelled-by", "active", "class"])) : u("", !0)
95
95
  ], 64))), 128)),
96
- s.tabsPosition === "bottom" ? (i(), o(P, {
96
+ s.tabsPosition === "bottom" ? (l(), o(P, {
97
97
  key: 1,
98
98
  uid: y(d),
99
99
  "tab-list-classes": s.tabListClasses,
@@ -103,5 +103,5 @@ const W = ["data-cy"], X = ["id"], te = /* @__PURE__ */ z({
103
103
  }
104
104
  });
105
105
  export {
106
- te as default
106
+ te as _
107
107
  };
@@ -1,5 +1,5 @@
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";
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 r, renderSlot as h } from "vue";
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",
@@ -13,8 +13,8 @@ const w = ["innerHTML"], C = ["for"], g = ["id", "multiple", "accept"], B = /* @
13
13
  legendClasses: { default: "" }
14
14
  },
15
15
  emits: ["cleared", "uploaded"],
16
- setup(e, { emit: r }) {
17
- const k = e, n = r, s = m("");
16
+ setup(e, { emit: d }) {
17
+ const k = e, n = d, s = m("");
18
18
  p(
19
19
  () => k.clear,
20
20
  (i) => {
@@ -40,7 +40,7 @@ const w = ["innerHTML"], C = ["for"], g = ["id", "multiple", "accept"], B = /* @
40
40
  class: "uikit-visible uikit-inline-block uikit-px-5px uikit-opacity-0",
41
41
  innerHTML: e.labelText
42
42
  }, null, 8, w)
43
- ], 2)) : d("", !0)
43
+ ], 2)) : r("", !0)
44
44
  ], 2),
45
45
  e.labelText ? (u(), x(v, {
46
46
  key: 0,
@@ -48,7 +48,7 @@ const w = ["innerHTML"], C = ["for"], g = ["id", "multiple", "accept"], B = /* @
48
48
  "label-text": e.labelText,
49
49
  "label-state": "floating-label",
50
50
  "label-classes": "!-uikit-top-1"
51
- }, null, 8, ["class", "label-text"])) : d("", !0),
51
+ }, null, 8, ["class", "label-text"])) : r("", !0),
52
52
  a("label", {
53
53
  class: l(["upload-file-input uikit-relative uikit-z-10 uikit-flex uikit-h-12 uikit-w-full uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-xs uikit-text-sm", e.labelClasses]),
54
54
  for: e.id
@@ -67,5 +67,5 @@ const w = ["innerHTML"], C = ["for"], g = ["id", "multiple", "accept"], B = /* @
67
67
  }
68
68
  });
69
69
  export {
70
- B as default
70
+ B as _
71
71
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as m, useId as s, watch as f, createElementBlock as h, openBlock as d, createVNode as o, renderSlot as b, unref as l, normalizeClass as C, withCtx as u, createBlock as x, createCommentVNode as y, createTextVNode as V, toDisplayString as g } from "vue";
1
+ import { defineComponent as m, useId as s, watch as f, createElementBlock as h, openBlock as d, createVNode as o, renderSlot as b, unref as i, normalizeClass as C, withCtx as u, createBlock as x, createCommentVNode as y, createTextVNode as V, toDisplayString as g } from "vue";
2
2
  import { CheckIcon as B } from "@wikicasa-dev/svg-icons";
3
3
  import { CheckboxRoot as p, CheckboxIndicator as w } from "reka-ui";
4
- const z = /* @__PURE__ */ m({
4
+ import '../assets/CheckboxBtn.css';const z = /* @__PURE__ */ m({
5
5
  __name: "CheckboxBtn",
6
6
  props: {
7
7
  id: {},
@@ -30,11 +30,11 @@ const z = /* @__PURE__ */ m({
30
30
  checked: t
31
31
  }), a("update:modelValue", t));
32
32
  };
33
- return (t, i) => (d(), h("label", {
33
+ return (t, l) => (d(), h("label", {
34
34
  class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
35
- onClick: i[0] || (i[0] = (k) => a("click", k))
35
+ onClick: l[0] || (l[0] = (k) => a("click", k))
36
36
  }, [
37
- o(l(p), {
37
+ o(i(p), {
38
38
  "model-value": e.modelValue,
39
39
  "data-cy": e.dataCy,
40
40
  disabled: e.disabled,
@@ -48,9 +48,9 @@ const z = /* @__PURE__ */ m({
48
48
  "onUpdate:modelValue": r
49
49
  }, {
50
50
  default: u(() => [
51
- o(l(w), { class: "uikit-flex" }, {
51
+ o(i(w), { class: "uikit-flex" }, {
52
52
  default: u(() => [
53
- e.modelValue === !0 ? (d(), x(l(B), {
53
+ e.modelValue === !0 ? (d(), x(i(B), {
54
54
  key: 0,
55
55
  "fill-color": "#fff",
56
56
  width: 12,
@@ -69,5 +69,5 @@ const z = /* @__PURE__ */ m({
69
69
  }
70
70
  });
71
71
  export {
72
- z as default
72
+ z as _
73
73
  };
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as v, ref as D, computed as h, watch as E, renderSlot as b, createElementVNode as $, normalizeClass as g, createElementBlock as B, createCommentVNode as A, openBlock as C, Fragment as I, renderList as R, createBlock as K, unref as V } from "vue";
2
2
  import { stringToHyphened as L, isArrNullOrEmpty as G } from "@wikicasa-dev/utilities";
3
- import N from "./CheckboxBtn.vue.js";
4
- import '../../../../../assets/CheckboxBtn.css';/* empty css */
5
- const T = ["id", "data-cy"], j = /* @__PURE__ */ v({
3
+ import { _ as N } from "./CheckboxBtn.vue_vue_type_style_index_0_lang.MYOfjOwM.js";
4
+ const T = ["id", "data-cy"], S = /* @__PURE__ */ v({
6
5
  inheritAttrs: !1,
7
6
  __name: "CheckboxGroup",
8
7
  props: {
@@ -108,5 +107,5 @@ const T = ["id", "data-cy"], j = /* @__PURE__ */ v({
108
107
  }
109
108
  });
110
109
  export {
111
- j as default
110
+ S as _
112
111
  };
@@ -1,9 +1,8 @@
1
1
  import { defineComponent as P, mergeModels as O, useModel as B, useId as X, useTemplateRef as d, shallowRef as c, onBeforeMount as j, watch as T, nextTick as q, createBlock as V, openBlock as g, withCtx as S, createElementBlock as G, Fragment as J, renderList as Q, renderSlot as C, createElementVNode as s, normalizeClass as f, withDirectives as W, unref as Y, vModelText as Z, toDisplayString as _, withModifiers as ee, normalizeStyle as te, createTextVNode as le, vShow as ne } from "vue";
2
- import oe from "../BaseDropDown.vue.js";
3
- import '../../../../../assets/BaseDropDown.css';/* empty css */
4
- import ae from "../BaseSelect/SelectItem.vue.js";
2
+ import { _ as oe } from "./BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js";
3
+ import { _ as ae } from "./SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js";
5
4
  import { debounce as ie } from "@wikicasa-dev/utilities";
6
- const ue = ["id", "data-cy", "placeholder"], se = ["innerHTML"], ke = /* @__PURE__ */ P({
5
+ import '../assets/ClearableAutocomplete.css';const ue = ["id", "data-cy", "placeholder"], se = ["innerHTML"], ve = /* @__PURE__ */ P({
7
6
  __name: "ClearableAutocomplete",
8
7
  props: /* @__PURE__ */ O({
9
8
  dataCy: {},
@@ -183,5 +182,5 @@ const ue = ["id", "data-cy", "placeholder"], se = ["innerHTML"], ke = /* @__PURE
183
182
  }
184
183
  });
185
184
  export {
186
- ke as default
185
+ ve as _
187
186
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as s, onBeforeMount as u, createBlock as i, createCommentVNode as c, unref as o, openBlock as m } from "vue";
1
+ import { defineComponent as s, onBeforeMount as i, createBlock as u, 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";
5
- const y = /* @__PURE__ */ s({
4
+ import { useChartJsModules as g } from "../chart/composables/useChartjsModules.js";
5
+ const _ = /* @__PURE__ */ s({
6
6
  __name: "DoughnutChart",
7
7
  props: {
8
8
  options: {},
@@ -13,9 +13,9 @@ const y = /* @__PURE__ */ s({
13
13
  const e = t, { registerPlugins: r, resolved: n, executeRegistration: a } = g(
14
14
  e.options
15
15
  );
16
- return u(async () => {
16
+ return i(async () => {
17
17
  await a(r);
18
- }), (h, C) => o(n) ? (m(), i(o(p), {
18
+ }), (h, C) => o(n) ? (m(), u(o(p), {
19
19
  key: 0,
20
20
  options: t.options,
21
21
  data: t.data
@@ -23,5 +23,5 @@ const y = /* @__PURE__ */ s({
23
23
  }
24
24
  });
25
25
  export {
26
- y as default
26
+ _
27
27
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as l, ref as n, onMounted as a, createElementBlock as u, renderSlot as t, openBlock as f, normalizeClass as i } from "vue";
2
- const b = /* @__PURE__ */ l({
1
+ import { defineComponent as l, ref as n, onMounted as a, createElementBlock as i, renderSlot as t, openBlock as u, normalizeClass as f } from "vue";
2
+ const d = /* @__PURE__ */ l({
3
3
  __name: "IntersectionObservable",
4
4
  props: {
5
5
  observer: { default: null },
@@ -9,16 +9,16 @@ const b = /* @__PURE__ */ l({
9
9
  const s = r, e = n(null);
10
10
  return a(() => {
11
11
  !s.observer || !e.value || s.observer.observe(e.value);
12
- }), (o, c) => r.isVisible ? t(o.$slots, "default", { key: 1 }) : (f(), u("div", {
12
+ }), (o, c) => r.isVisible ? t(o.$slots, "default", { key: 1 }) : (u(), i("div", {
13
13
  key: 0,
14
14
  ref_key: "root",
15
15
  ref: e,
16
- class: i(o.$attrs["root-classes"])
16
+ class: f(o.$attrs["root-classes"])
17
17
  }, [
18
18
  t(o.$slots, "default")
19
19
  ], 2));
20
20
  }
21
21
  });
22
22
  export {
23
- b as default
23
+ d as _
24
24
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, reactive as d, ref as p, onBeforeMount as m, onBeforeUnmount as h, createElementBlock as V, renderSlot as i, openBlock as k, normalizeClass as B } from "vue";
1
+ import { defineComponent as f, reactive as p, ref as d, onBeforeMount as m, onBeforeUnmount as h, createElementBlock as V, renderSlot as i, openBlock as k, normalizeClass as B } from "vue";
2
2
  const y = /* @__PURE__ */ f({
3
3
  __name: "IntersectionObserver",
4
4
  props: {
@@ -8,7 +8,7 @@ const y = /* @__PURE__ */ f({
8
8
  },
9
9
  emits: ["intersection"],
10
10
  setup(l, { emit: a }) {
11
- const u = a, o = l, r = d({ root: null, isVisible: !1 }), e = p(null), c = (s) => {
11
+ const u = a, o = l, r = p({ root: null, isVisible: !1 }), e = d(null), c = (s) => {
12
12
  s.forEach(({ target: t, isIntersecting: n }) => {
13
13
  n && (r.isVisible = !0, u("intersection")), o.observeOnce && n && v(t);
14
14
  });
@@ -46,5 +46,5 @@ const y = /* @__PURE__ */ f({
46
46
  }
47
47
  });
48
48
  export {
49
- y as default
49
+ y as _
50
50
  };