@wikicasa-dev/components 2.0.5-0.alpha-6 → 2.0.5

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 (147) hide show
  1. package/dist/AccessibleSelect.js +1 -1
  2. package/dist/BaseAccordion.js +1 -1
  3. package/dist/BaseAccordionBtn.js +1 -1
  4. package/dist/BaseAccordionContent.js +1 -1
  5. package/dist/BaseAccordionItem.js +1 -1
  6. package/dist/BaseAlert.js +1 -1
  7. package/dist/BaseAutocomplete.js +1 -1
  8. package/dist/BaseBadge.js +1 -1
  9. package/dist/BaseBreadcrumb.js +1 -1
  10. package/dist/BaseButton.js +1 -1
  11. package/dist/BaseCard.js +16 -16
  12. package/dist/BaseComplexToggle.js +4 -4
  13. package/dist/BaseDropDown.js +1 -1
  14. package/dist/BaseFloatingLabel.js +19 -21
  15. package/dist/BaseIcon.js +4 -4
  16. package/dist/BaseInput.js +100 -106
  17. package/dist/BaseModal.js +1 -1
  18. package/dist/BasePagination.js +1 -1
  19. package/dist/BasePaper.js +2 -2
  20. package/dist/BaseShimmerLoader.js +2 -2
  21. package/dist/BaseSlider.js +222 -173
  22. package/dist/BaseSnackbar.js +3 -3
  23. package/dist/BaseTabList.js +1 -1
  24. package/dist/BaseTabPanel.js +1 -1
  25. package/dist/BaseTabView.js +1 -1
  26. package/dist/BaseTextarea.js +15 -16
  27. package/dist/BaseToggle.js +4 -4
  28. package/dist/BaseTooltip.js +3 -3
  29. package/dist/BaseUploadFile.js +1 -1
  30. package/dist/CheckboxBtn.js +6 -10
  31. package/dist/CheckboxGroup.js +1 -1
  32. package/dist/DoughnutChart.js +1 -1
  33. package/dist/IntersectionObservable.js +1 -1
  34. package/dist/IntersectionObserver.js +1 -1
  35. package/dist/LineChart.js +1 -1
  36. package/dist/RadioButton.js +1 -1
  37. package/dist/RadioGroup.js +1 -1
  38. package/dist/SelectItem.js +1 -1
  39. package/dist/ShimmerMultiLine.js +1 -1
  40. package/dist/StaticSpinner.js +2 -2
  41. package/dist/SwiperCarousel.js +1 -1
  42. package/dist/SwiperSlide.js +2 -2
  43. package/dist/UIKit/AccessibleSelect.vue.d.ts +103 -49
  44. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +12 -9
  45. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +17 -12
  46. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +14 -10
  47. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +33 -20
  48. package/dist/UIKit/BaseAlert.vue.d.ts +8 -8
  49. package/dist/UIKit/BaseAutocomplete.vue.d.ts +198 -39
  50. package/dist/UIKit/BaseBadge.vue.d.ts +7 -7
  51. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +10 -8
  52. package/dist/UIKit/BaseButton.vue.d.ts +30 -17
  53. package/dist/UIKit/BaseCard.vue.d.ts +23 -14
  54. package/dist/UIKit/BaseComplexToggle.vue.d.ts +6 -7
  55. package/dist/UIKit/BaseDropDown.vue.d.ts +40 -39
  56. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +13 -8
  57. package/dist/UIKit/BaseIcon.vue.d.ts +9 -3
  58. package/dist/UIKit/BaseInput.vue.d.ts +20 -20
  59. package/dist/UIKit/BaseModal.vue.d.ts +60 -35
  60. package/dist/UIKit/BasePagination.vue.d.ts +14 -7
  61. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +12 -10
  62. package/dist/UIKit/BaseSlider.vue.d.ts +175 -20
  63. package/dist/UIKit/BaseSnackbar.vue.d.ts +14 -7
  64. package/dist/UIKit/BaseTextarea.vue.d.ts +10 -9
  65. package/dist/UIKit/BaseToggle.vue.d.ts +5 -6
  66. package/dist/UIKit/BaseTooltip.vue.d.ts +20 -13
  67. package/dist/UIKit/BaseUploadFile.vue.d.ts +19 -13
  68. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +31 -18
  69. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +43 -23
  70. package/dist/UIKit/Radio/RadioButton.vue.d.ts +11 -7
  71. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +7 -8
  72. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
  73. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +8 -54
  74. package/dist/UIKit/StaticSpinner.vue.d.ts +5 -3
  75. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -8
  76. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +7 -5
  77. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -9
  78. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +8 -8
  79. package/dist/UIKit/types.d.ts +1 -4
  80. package/dist/assets/BaseAlert.css +1 -1
  81. package/dist/assets/BaseBadge.css +1 -1
  82. package/dist/assets/BaseCard.css +1 -1
  83. package/dist/assets/BaseFloatingLabel.css +1 -1
  84. package/dist/assets/BaseInput.css +1 -1
  85. package/dist/assets/BaseSlider.css +1 -1
  86. package/dist/assets/BaseTextarea.css +1 -1
  87. package/dist/assets/BaseTooltip.css +1 -1
  88. package/dist/assets/CheckboxBtn.css +1 -1
  89. package/dist/assets/SwiperCarousel.css +1 -1
  90. package/dist/assets/index.css +1 -1
  91. package/dist/chart/DoughnutChart.vue.d.ts +5 -3
  92. package/dist/chart/LineChart.vue.d.ts +6 -16
  93. package/dist/chart/composables/useChartjsModules.d.ts +1 -1
  94. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.YIp2u7gd.js +231 -0
  95. package/dist/chunks/{ArrowIcon.Bq6Xr3uH.js → ArrowIcon.CCFMdsq6.js} +1 -1
  96. package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js → BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js} +2 -2
  97. package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js} +4 -4
  98. package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js} +2 -2
  99. package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js} +8 -8
  100. package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js} +2 -2
  101. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.m5rScY4N.js} +84 -89
  102. package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js → BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js} +2 -2
  103. package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js} +18 -18
  104. package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js → BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js} +4 -4
  105. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js → BaseDropDown.vue_vue_type_script_setup_true_lang.BscSQ5bW.js} +46 -59
  106. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js +142 -0
  107. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js +163 -0
  108. package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js → BaseTabList.vue_vue_type_script_setup_true_lang.CohlLou1.js} +2 -2
  109. package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js} +2 -2
  110. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ar2KNVYH.js +95 -0
  111. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js} +1 -1
  112. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js} +37 -37
  113. package/dist/chunks/{CloseIcon.BZ4U3aiI.js → CloseIcon.DIkr4soH.js} +1 -1
  114. package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js → DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js} +3 -3
  115. package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js} +2 -2
  116. package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js} +2 -2
  117. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +37 -0
  118. package/dist/chunks/ObjectUtils.BOUbloeg.js +10 -0
  119. package/dist/chunks/PharmacyIcon.56ql_DYl.js +19 -0
  120. package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js} +2 -2
  121. package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js} +6 -6
  122. package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js} +2 -2
  123. package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js} +3 -3
  124. package/dist/chunks/SwiperCarousel.DWUl3bgn.js +718 -0
  125. package/dist/chunks/{index.D_1s8S8L.js → index.D6IWh9UY.js} +7 -9
  126. package/dist/chunks/{useBreakpoints.BXk8Xcw3.js → types-B0dZ7OiV.D29wNgoj.js} +832 -2812
  127. package/dist/chunks/useKeyboardController.CutKeclN.js +41 -0
  128. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +9 -10
  129. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +2 -5
  130. package/dist/components/carousel/SwiperCarousel.vue.d.ts +9 -9
  131. package/dist/components/carousel/SwiperSlide.vue.d.ts +2 -3
  132. package/dist/index.d.ts +1 -2
  133. package/dist/index.js +33 -35
  134. package/dist/useChartjsModules.js +1 -1
  135. package/package.json +28 -30
  136. package/dist/SimpleSlider.js +0 -83
  137. package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +0 -19
  138. package/dist/assets/SimpleSlider.css +0 -1
  139. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js +0 -246
  140. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js +0 -151
  141. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js +0 -164
  142. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +0 -105
  143. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +0 -42
  144. package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
  145. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
  146. package/dist/chunks/SwiperCarousel.C8hJ7R2K.js +0 -749
  147. package/dist/chunks/polyline.DjpLdMaW.js +0 -5256
@@ -1,6 +1,6 @@
1
- import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as e, renderSlot as i, createElementVNode as c, withModifiers as p, createVNode as u, unref as k } from "vue";
2
- import { a as m } from "./ArrowIcon.Bq6Xr3uH.js";
3
- import "./PharmacyIcon.DEQ8mOEJ.js";
1
+ import { defineComponent as s, openBlock as l, createElementBlock as d, normalizeClass as e, renderSlot as i, createElementVNode as c, withModifiers as p, createVNode as u, unref as k } from "vue";
2
+ import { a as m } from "./ArrowIcon.CCFMdsq6.js";
3
+ import "./PharmacyIcon.56ql_DYl.js";
4
4
  const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s({
5
5
  inheritAttrs: !1,
6
6
  __name: "BaseAccordionBtn",
@@ -15,7 +15,7 @@ const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s(
15
15
  emits: ["click"],
16
16
  setup(C, { emit: n }) {
17
17
  const r = n;
18
- return (o, t) => (d(), l("div", {
18
+ return (o, t) => (l(), d("div", {
19
19
  id: `${o.id}`,
20
20
  class: e(["uikit-flex uikit-items-center uikit-justify-around", [
21
21
  o.$attrs["btn-wrapper-classes"],
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, createElementBlock as a, openBlock as s, normalizeClass as o, renderSlot as e, createElementVNode as r } from "vue";
1
+ import { defineComponent as n, openBlock as a, createElementBlock as s, normalizeClass as o, renderSlot as e, createElementVNode as r } from "vue";
2
2
  const t = ["id", "aria-labelledby"], p = /* @__PURE__ */ n({
3
3
  __name: "BaseAccordionContent",
4
4
  props: {
@@ -9,7 +9,7 @@ const t = ["id", "aria-labelledby"], p = /* @__PURE__ */ n({
9
9
  accordionContentClasses: {}
10
10
  },
11
11
  setup(d) {
12
- return (i, c) => (s(), a("div", {
12
+ return (i, c) => (a(), s("div", {
13
13
  id: `accordion-text-${i.id}`,
14
14
  role: "region",
15
15
  "aria-labelledby": `accordion-title-${i.id}`,
@@ -1,8 +1,8 @@
1
- import { defineComponent as h, ref as $, inject as p, watch as l, unref as d, createElementBlock as v, openBlock as u, normalizeClass as m, createBlock as y, createCommentVNode as g, renderSlot as t, createElementVNode as f, withModifiers as O, createVNode as k, withCtx as c } from "vue";
2
- import { _ as B } from "./BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js";
3
- import { _ as A } from "./BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js";
4
- import { a as E } from "./ArrowIcon.Bq6Xr3uH.js";
5
- import "./PharmacyIcon.DEQ8mOEJ.js";
1
+ import { defineComponent as h, ref as $, inject as p, watch as l, unref as d, openBlock as u, createElementBlock as v, normalizeClass as m, createElementVNode as f, withModifiers as y, createVNode as k, createBlock as g, withCtx as c, renderSlot as t, createCommentVNode as O } from "vue";
2
+ import { _ as B } from "./BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js";
3
+ import { _ as A } from "./BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js";
4
+ import { a as E } from "./ArrowIcon.CCFMdsq6.js";
5
+ import "./PharmacyIcon.56ql_DYl.js";
6
6
  const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], P = /* @__PURE__ */ h({
7
7
  inheritAttrs: !1,
8
8
  __name: "BaseAccordionItem",
@@ -72,7 +72,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
72
72
  "data-cy": e.dataCy,
73
73
  "aria-expanded": o.value,
74
74
  "aria-controls": `accordion-text-${e.id}`,
75
- onClick: s[0] || (s[0] = O((N) => {
75
+ onClick: s[0] || (s[0] = y((N) => {
76
76
  n(), d(b)?.({ id: e.id, title: e.title, active: o.value }), a("click");
77
77
  }, ["prevent", "stop"]))
78
78
  }, [
@@ -90,7 +90,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
90
90
  height: e.arrowWidth
91
91
  }, null, 8, ["class", "arrow-classes", "width", "height"])
92
92
  ], 10, I)
93
- ])) : (e.$slots.custom_content || e.$slots.custom_btn) && !e.$slots.custom_accordion ? (u(), y(B, {
93
+ ])) : (e.$slots.custom_content || e.$slots.custom_btn) && !e.$slots.custom_accordion ? (u(), g(B, {
94
94
  key: 1,
95
95
  id: e.id,
96
96
  "btn-wrapper-classes": e.btnWrapperClasses,
@@ -112,7 +112,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
112
112
  })
113
113
  ]),
114
114
  _: 3
115
- }, 8, ["id", "btn-wrapper-classes", "btn-classes", "arrow-color", "arrow-classes", "on-container-click-expand", "accordion-open"])) : g("", !0),
115
+ }, 8, ["id", "btn-wrapper-classes", "btn-classes", "arrow-color", "arrow-classes", "on-container-click-expand", "accordion-open"])) : O("", !0),
116
116
  t(e.$slots, "custom_accordion", {
117
117
  id: e.id,
118
118
  isOpen: o.value,
@@ -1,11 +1,11 @@
1
- import { defineComponent as t, createElementBlock as r, openBlock as s, normalizeClass as a, renderSlot as l } from "vue";
1
+ import { defineComponent as t, openBlock as r, createElementBlock as s, normalizeClass as a, renderSlot as l } from "vue";
2
2
  import '../assets/BaseAlert.css';const o = ["id"], p = /* @__PURE__ */ t({
3
3
  __name: "BaseAlert",
4
4
  props: {
5
5
  alertClass: { default: "" }
6
6
  },
7
7
  setup(n) {
8
- return (e, i) => (s(), r("div", {
8
+ return (e, i) => (r(), s("div", {
9
9
  id: e.$attrs.id,
10
10
  class: a(["uikit-alert", e.alertClass]),
11
11
  role: "alert"
@@ -1,37 +1,35 @@
1
- import { defineComponent as T, mergeModels as $, useModel as L, ref as r, computed as k, onBeforeMount as F, watch as f, createBlock as S, openBlock as C, normalizeClass as H, withCtx as s, createElementBlock as z, Fragment as A, renderList as K, unref as N, createElementVNode as U, createVNode as W, renderSlot as V } from "vue";
2
- import j from "../BaseInput.js";
3
- import { _ as q } from "./BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js";
4
- import "./polyline.DjpLdMaW.js";
5
- import { _ as G } from "./SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js";
6
- import { A as J } from "./useBreakpoints.BXk8Xcw3.js";
7
- function Q(t, p) {
8
- return (...v) => new Promise((d, u) => {
9
- t.id && clearTimeout(t.id), t.id = setTimeout(() => {
1
+ import { defineComponent as L, mergeModels as S, useModel as H, ref as s, computed as k, onBeforeMount as z, watch as f, openBlock as y, createBlock as V, normalizeClass as A, withCtx as c, createVNode as K, renderSlot as B, createElementBlock as N, Fragment as U, renderList as F, unref as W, createElementVNode as j } from "vue";
2
+ import q from "../BaseInput.js";
3
+ import { _ as G } from "./BaseDropDown.vue_vue_type_script_setup_true_lang.BscSQ5bW.js";
4
+ import "./types-B0dZ7OiV.D29wNgoj.js";
5
+ import { _ as J } from "./SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js";
6
+ import { A as Q } from "./useKeyboardController.CutKeclN.js";
7
+ function R(r, v) {
8
+ return (...m) => new Promise((l, d) => {
9
+ r.id && clearTimeout(r.id), r.id = setTimeout(() => {
10
10
  try {
11
- const i = p(...v);
12
- d(i);
11
+ const i = v(...m);
12
+ l(i);
13
13
  } catch (i) {
14
- u(i);
14
+ d(i);
15
15
  }
16
- }, t.delay);
16
+ }, r.delay);
17
17
  });
18
18
  }
19
- const R = ["innerHTML"], le = /* @__PURE__ */ T({
19
+ const X = ["innerHTML"], oe = /* @__PURE__ */ L({
20
20
  __name: "BaseAutocomplete",
21
- props: /* @__PURE__ */ $({
21
+ props: /* @__PURE__ */ S({
22
+ border: { type: Boolean, default: !0 },
22
23
  isValid: { default: null },
23
24
  theme: { default: "" },
24
25
  label: { default: "" },
25
26
  disableCb: { type: Boolean, default: !1 },
26
- onInputChangeCb: { type: Function },
27
+ onInputChangeCb: {},
27
28
  onOptionSelectedCb: { default: null },
28
29
  keepState: { default: null },
29
30
  cleanupOnClose: { type: Boolean, default: !0 },
30
31
  dropdownClasses: { default: "" },
31
- closeDropdownOnBodyPressed: { type: Boolean, default: !0 },
32
- inputClasses: {},
33
- fieldsetClasses: {},
34
- dataCy: { default: "" }
32
+ closeDropdownOnBodyPressed: { type: Boolean, default: !0 }
35
33
  }, {
36
34
  modelValue: {
37
35
  default() {
@@ -40,21 +38,18 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
40
38
  },
41
39
  modelModifiers: {}
42
40
  }),
43
- emits: /* @__PURE__ */ $(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
44
- setup(t, { expose: p, emit: v }) {
45
- const d = L(
46
- t,
47
- "modelValue"
48
- ), u = v, i = r(""), n = r([]), m = r(null), c = r(!1), o = r(!1), y = r(null), B = k(() => n.value.length);
49
- F(() => {
50
- m.value = Q({ delay: 300 }, t.onInputChangeCb);
41
+ emits: /* @__PURE__ */ S(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
42
+ setup(r, { expose: v, emit: m }) {
43
+ const l = r, d = H(r, "modelValue"), i = m, u = s(""), n = s([]), h = s(null), p = s(!1), o = s(!1), g = s(null), O = k(() => n.value.length);
44
+ z(() => {
45
+ h.value = R({ delay: 300 }, l.onInputChangeCb);
51
46
  });
52
- const { activeIdx: h, selectedIdx: w } = J({
53
- optionsLength: B,
47
+ const { activeIdx: w, selectedIdx: C } = Q({
48
+ optionsLength: O,
54
49
  isDropdownOpen: o,
55
50
  disableSpaceHandler: !0
56
- }), O = k(() => {
57
- switch (t.theme) {
51
+ }), M = k(() => {
52
+ switch (l.theme) {
58
53
  case "bordered":
59
54
  return "";
60
55
  case "all-bordered":
@@ -65,7 +60,7 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
65
60
  return "";
66
61
  }
67
62
  }), I = k(() => {
68
- switch (t.theme) {
63
+ switch (l.theme) {
69
64
  case "bordered":
70
65
  return "";
71
66
  case "all-bordered":
@@ -75,9 +70,9 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
75
70
  default:
76
71
  return "";
77
72
  }
78
- }), M = k(() => {
73
+ }), P = k(() => {
79
74
  const e = "uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mb-0 !uikit-mt-0 uikit-text-w-black !uikit-rounded-b-xl !uikit-rounded-t-none";
80
- switch (t.theme) {
75
+ switch (l.theme) {
81
76
  case "bordered":
82
77
  return "before:uikit-content-[''] before:uikit-absolute before:uikit-w-1/2 before:uikit-border-b before:uikit-border-b-w-lavender before:[border-bottom-style:solid] before:uikit-right-1/4 uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mt-5px uikit-mb-0";
83
78
  case "all-bordered":
@@ -87,43 +82,43 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
87
82
  default:
88
83
  return "";
89
84
  }
90
- }), P = async (e) => {
91
- if (i.value !== e && (u("changedValue", e), i.value = e, !!t.onInputChangeCb)) {
92
- if (!e || c.value) {
93
- n.value = [], c.value = !1, w.value = -1, h.value = -1, d.value && (d.value.label = ""), o.value = !1, await m.value(null);
85
+ }), D = async (e) => {
86
+ if (u.value !== e && (i("changedValue", e), u.value = e, !!l.onInputChangeCb)) {
87
+ if (!e || p.value) {
88
+ n.value = [], p.value = !1, C.value = -1, w.value = -1, d.value && (d.value.label = ""), o.value = !1, await h.value(null);
94
89
  return;
95
90
  }
96
- t.disableCb || (n.value = await m.value(e), o.value = !!n.value.length);
91
+ l.disableCb || (n.value = await h.value(e), o.value = !!n.value.length);
97
92
  }
98
- }, g = (e, l) => {
99
- t.onOptionSelectedCb && t.onOptionSelectedCb(e), t.cleanupOnClose && (n.value = []), c.value = !0, i.value = e.label, d.value = e, o.value = !1, w.value = l;
100
- }, D = () => {
101
- n.value.length && t.keepState !== "closed" && (o.value = !0);
93
+ }, $ = (e, t) => {
94
+ l.onOptionSelectedCb && l.onOptionSelectedCb(e), l.cleanupOnClose && (n.value = []), p.value = !0, u.value = e.label, d.value = e, o.value = !1, C.value = t;
95
+ }, E = () => {
96
+ n.value.length && l.keepState !== "closed" && (o.value = !0);
102
97
  };
103
98
  return f(
104
99
  d,
105
- (e, l) => {
106
- e === l || e?.label === i.value || (i.value = e?.label || "");
100
+ (e, t) => {
101
+ e === t || e?.label === u.value || (u.value = e?.label || "");
107
102
  },
108
103
  { immediate: !0 }
109
- ), f(w, (e) => {
104
+ ), f(C, (e) => {
110
105
  if (e === -1 || !n.value.length) return;
111
- const l = n.value[e];
112
- c.value && l.label === d.value?.label || g(l, e);
106
+ const t = n.value[e];
107
+ p.value && t.label === d.value?.label || $(t, e);
113
108
  }), f(
114
- () => t.keepState,
109
+ () => l.keepState,
115
110
  (e) => {
116
- e === "closed" ? (o.value = !1, t.cleanupOnClose && (n.value = [])) : e === "open" && n.value.length && (o.value = !0);
111
+ e === "closed" ? (o.value = !1, l.cleanupOnClose && (n.value = [])) : e === "open" && n.value.length && (o.value = !0);
117
112
  }
118
113
  ), f(o, (e) => {
119
- u("update:dropdownState", e);
120
- }), p({
114
+ i("update:dropdownState", e);
115
+ }), v({
121
116
  select: () => {
122
- y.value?.select();
117
+ g.value?.select();
123
118
  }
124
- }), (e, l) => (C(), S(q, {
125
- class: H(e.$attrs["root-classes"]),
126
- "data-cy": e.dataCy ? e.dataCy : `ac_${e.$attrs.id}`,
119
+ }), (e, t) => (y(), V(G, {
120
+ class: A(e.$attrs["root-classes"]),
121
+ "data-cy": `ac_${e.$attrs.id}`,
127
122
  "dropdown-element": "ul",
128
123
  "dropdown-classes": [
129
124
  { "bordered-dropdown": e.theme === "bordered" },
@@ -132,63 +127,63 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
132
127
  {
133
128
  "uikit-mt-10px !uikit-border !uikit-border-w-secondary !uikit-rounded-xs": !e.theme
134
129
  },
135
- M.value,
130
+ P.value,
136
131
  "!uikit-max-h-[210px] uikit-z-30",
137
132
  e.dropdownClasses
138
133
  ],
139
134
  "open-dropdown": o.value,
140
- "keep-state": !n.value.length || e.keepState === "closed" ? "closed" : "opened",
135
+ "keep-state": !n.value.length || l.keepState === "closed" ? "closed" : "opened",
136
+ "onUpdate:dropdownState": t[3] || (t[3] = (a) => o.value = a),
137
+ onClick: t[4] || (t[4] = (a) => {
138
+ i("click"), E();
139
+ }),
141
140
  "close-when-clicked-outside": e.closeDropdownOnBodyPressed,
142
- "activate-keyboard-controller": !1,
143
- "onUpdate:dropdownState": l[3] || (l[3] = (a) => o.value = a),
144
- onClick: l[4] || (l[4] = (a) => {
145
- u("click"), D();
146
- })
141
+ "activate-keyboard-controller": !1
147
142
  }, {
148
- btn_slot: s(() => [
149
- W(j, {
150
- id: e.$attrs.id ? `ac_input_${e.$attrs.id}` : "",
143
+ btn_slot: c(() => [
144
+ K(q, {
145
+ id: `ac_input_${e.$attrs.id}`,
151
146
  ref_key: "baseInput",
152
- ref: y,
153
- "data-cy": e.dataCy ? `ac_input_${e.dataCy}` : `ac_input_${e.$attrs.id}`,
147
+ ref: g,
148
+ "data-cy": `ac_input_${e.$attrs.id}`,
154
149
  "label-text": e.label,
155
- "model-value": i.value,
150
+ "model-value": u.value,
156
151
  "is-valid": e.isValid,
157
152
  disabled: e.$attrs.disabled,
158
153
  placeholder: e.$attrs.placeholder,
159
154
  "with-left-icon": !!e.$slots.lefticon,
160
155
  "with-right-icon": !!e.$slots.righticon,
161
156
  "input-class": [
162
- O.value,
163
- e.inputClasses,
157
+ M.value,
158
+ e.$attrs["input-classes"],
164
159
  "!uikit-ml-0 !uikit-w-full"
165
160
  ],
166
- "fieldset-classes": [I.value, e.fieldsetClasses],
167
- "onUpdate:modelValue": l[0] || (l[0] = (a) => P(a === void 0 ? "" : `${a}`)),
168
- onKeydown: l[1] || (l[1] = (a) => u("keydown", a)),
169
- onKeydownEnterPressed: l[2] || (l[2] = () => u("keydownEnterPressed"))
161
+ "fieldset-classes": [I.value, e.$attrs["fieldset-classes"]],
162
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => D(a === void 0 ? "" : `${a}`)),
163
+ onKeydown: t[1] || (t[1] = (a) => i("keydown", a)),
164
+ onKeydownEnterPressed: t[2] || (t[2] = () => i("keydownEnterPressed"))
170
165
  }, {
171
- leftIcon: s(() => [
172
- V(e.$slots, "lefticon")
166
+ leftIcon: c(() => [
167
+ B(e.$slots, "lefticon")
173
168
  ]),
174
- righticon: s(({ handleClean: a }) => [
175
- V(e.$slots, "righticon", { handleClean: a })
169
+ righticon: c(({ handleClean: a }) => [
170
+ B(e.$slots, "righticon", { handleClean: a })
176
171
  ]),
177
172
  _: 3
178
173
  }, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
179
174
  ]),
180
- default: s(() => [
181
- (C(!0), z(A, null, K(n.value, (a, b) => (C(), S(G, {
175
+ default: c(() => [
176
+ (y(!0), N(U, null, F(n.value, (a, b) => (y(), V(J, {
182
177
  key: b,
183
- active: N(h) === b,
178
+ active: W(w) === b,
184
179
  class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
185
- onClick: (E) => g(a, b),
186
- onMouseover: (E) => h.value = b
180
+ onClick: (T) => $(a, b),
181
+ onMouseover: (T) => w.value = b
187
182
  }, {
188
- default: s(() => [
189
- U("span", {
183
+ default: c(() => [
184
+ j("span", {
190
185
  innerHTML: a.label
191
- }, null, 8, R)
186
+ }, null, 8, X)
192
187
  ]),
193
188
  _: 2
194
189
  }, 1032, ["active", "onClick", "onMouseover"]))), 128))
@@ -198,5 +193,5 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
198
193
  }
199
194
  });
200
195
  export {
201
- le as _
196
+ oe as _
202
197
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, createElementBlock as a, openBlock as t, normalizeClass as r, renderSlot as i } from "vue";
1
+ import { defineComponent as e, openBlock as a, createElementBlock as t, normalizeClass as r, renderSlot as i } from "vue";
2
2
  import '../assets/BaseBadge.css';const o = ["id"], p = /* @__PURE__ */ e({
3
3
  inheritAttrs: !1,
4
4
  __name: "BaseBadge",
@@ -6,7 +6,7 @@ import '../assets/BaseBadge.css';const o = ["id"], p = /* @__PURE__ */ e({
6
6
  badgeClass: { default: "uikit-badge-w-primary-sm" }
7
7
  },
8
8
  setup(n) {
9
- return (s, d) => (t(), a("span", {
9
+ return (s, d) => (a(), t("span", {
10
10
  id: s.$attrs.id,
11
11
  class: r(["uikit-badge uikit-shadow-sm", s.badgeClass, s.$attrs.class])
12
12
  }, [
@@ -1,7 +1,7 @@
1
- import { defineComponent as d, computed as k, createElementBlock as s, openBlock as i, createElementVNode as n, normalizeClass as a, Fragment as u, renderList as p, renderSlot as c, toDisplayString as h, createVNode as b, unref as f } from "vue";
2
- import { a as C } from "./ArrowIcon.Bq6Xr3uH.js";
3
- import "./PharmacyIcon.DEQ8mOEJ.js";
4
- const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $ = /* @__PURE__ */ d({
1
+ import { defineComponent as m, computed as d, openBlock as s, createElementBlock as i, createElementVNode as o, normalizeClass as a, Fragment as n, renderList as k, renderSlot as u, toDisplayString as p, createVNode as h, unref as f } from "vue";
2
+ import { a as b } from "./ArrowIcon.CCFMdsq6.js";
3
+ import "./PharmacyIcon.56ql_DYl.js";
4
+ const C = { "aria-label": "Breadcrumb" }, g = ["data-tooltip"], w = ["href"], _ = /* @__PURE__ */ m({
5
5
  __name: "BaseBreadcrumb",
6
6
  props: {
7
7
  items: {},
@@ -9,38 +9,38 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $
9
9
  listItemClasses: {}
10
10
  },
11
11
  setup(r) {
12
- const m = k(() => {
12
+ const c = d(() => {
13
13
  let e = 0;
14
14
  const l = [];
15
15
  for (; e < r.items.length; )
16
16
  l.push({ ...r.items[e], idx: e }), e < r.items.length - 1 && l.push({ arrowIcon: !0 }), e++;
17
17
  return l;
18
18
  });
19
- return (e, l) => (i(), s("nav", g, [
20
- n("ol", {
19
+ return (e, l) => (s(), i("nav", C, [
20
+ o("ol", {
21
21
  class: a(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", e.listClasses])
22
22
  }, [
23
- (i(!0), s(u, null, p(m.value, (t, o) => (i(), s(u, null, [
24
- t?.label ? (i(), s("li", {
25
- key: `breadcrumb-li-${o}`,
23
+ (s(!0), i(n, null, k(c.value, (t) => (s(), i(n, null, [
24
+ t?.label ? (s(), i("li", {
25
+ key: 0,
26
26
  class: a(["uikit-list-none", e.listItemClasses]),
27
27
  "data-tooltip": t.dataTooltip
28
28
  }, [
29
- c(e.$slots, "item", {
29
+ u(e.$slots, "item", {
30
30
  item: t
31
31
  }, () => [
32
- n("a", {
32
+ o("a", {
33
33
  class: a(["uikit-text-w-black uikit-no-underline", { "uikit-text-w-primary": t.active }]),
34
34
  href: t.link
35
- }, h(t.label), 11, B)
35
+ }, p(t.label), 11, w)
36
36
  ])
37
- ], 10, w)) : (i(), s("li", {
38
- key: `breadcrumb-li-no-label-${o}`,
37
+ ], 10, g)) : (s(), i("li", {
38
+ key: 1,
39
39
  class: a(["uikit-list-none", e.listItemClasses]),
40
40
  "aria-hidden": "true"
41
41
  }, [
42
- c(e.$slots, "separator", {}, () => [
43
- b(f(C), {
42
+ u(e.$slots, "separator", {}, () => [
43
+ h(f(b), {
44
44
  class: "-uikit-rotate-90",
45
45
  "stroke-color": "#222",
46
46
  width: 10,
@@ -54,5 +54,5 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $
54
54
  }
55
55
  });
56
56
  export {
57
- $ as _
57
+ _
58
58
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, ref as b, computed as s, createElementBlock as f, openBlock as v, withModifiers as l, normalizeStyle as B, normalizeClass as C, renderSlot as u, createVNode as c } from "vue";
1
+ import { defineComponent as y, ref as b, computed as s, openBlock as f, createElementBlock as v, normalizeClass as B, normalizeStyle as C, withModifiers as l, renderSlot as u, createVNode as c } from "vue";
2
2
  import M from "../StaticSpinner.js";
3
3
  const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], S = /* @__PURE__ */ y({
4
4
  __name: "BaseButton",
@@ -22,11 +22,11 @@ const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
22
22
  }, k = () => {
23
23
  n.value = !1;
24
24
  };
25
- return (e, t) => (v(), f("button", {
25
+ return (e, t) => (f(), v("button", {
26
26
  id: e.$attrs.id,
27
27
  "data-cy": e.dataCy,
28
28
  type: e.type,
29
- class: C([
29
+ class: B([
30
30
  "uikit-btn",
31
31
  {
32
32
  "uikit-btn-empty": !e.withMinWidth,
@@ -37,7 +37,7 @@ const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
37
37
  d.value,
38
38
  m.value
39
39
  ]),
40
- style: B(e.$attrs.style),
40
+ style: C(e.$attrs.style),
41
41
  "data-active": e.keepActive,
42
42
  disabled: e.isLoading || e.disabled,
43
43
  "aria-label": e.ariaLabel,