@wikicasa-dev/components 1.7.26 → 1.7.28

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 (89) hide show
  1. package/dist/AccessibleSelect.js +1 -1
  2. package/dist/BaseAutocomplete.js +1 -1
  3. package/dist/BaseComplexToggle.js +1 -2
  4. package/dist/BaseFloatingLabel.js +1 -2
  5. package/dist/BaseIcon.js +1 -2
  6. package/dist/BaseInput.js +1 -2
  7. package/dist/BaseModal.js +1 -1
  8. package/dist/BaseNavItem.js +1 -2
  9. package/dist/BasePagination.js +1 -1
  10. package/dist/BasePaper.js +1 -2
  11. package/dist/BaseShimmerLoader.js +13 -0
  12. package/dist/BaseSlider.js +6 -7
  13. package/dist/BaseSnackbar.js +1 -2
  14. package/dist/BaseTextarea.js +1 -2
  15. package/dist/BaseToggle.js +1 -2
  16. package/dist/BaseTooltip.js +1 -2
  17. package/dist/CheckboxBtn.js +1 -2
  18. package/dist/CheckboxGroup.js +1 -1
  19. package/dist/LineChart.js +1 -1
  20. package/dist/ShimmerMultiLine.js +24 -0
  21. package/dist/StaticSpinner.js +1 -2
  22. package/dist/SwiperCarousel.js +1 -1
  23. package/dist/UIKit/AccessibleSelect.vue.d.ts +10 -4
  24. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +4 -3
  25. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +3 -3
  26. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +2 -2
  27. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +5 -4
  28. package/dist/UIKit/BaseAlert.vue.d.ts +4 -3
  29. package/dist/UIKit/BaseAutocomplete.vue.d.ts +29 -28
  30. package/dist/UIKit/BaseBadge.vue.d.ts +2 -2
  31. package/dist/UIKit/BaseButton.vue.d.ts +5 -4
  32. package/dist/UIKit/BaseCard.vue.d.ts +3 -3
  33. package/dist/UIKit/BaseComplexToggle.vue.d.ts +18 -17
  34. package/dist/UIKit/BaseDropDown.vue.d.ts +3 -3
  35. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +4 -3
  36. package/dist/UIKit/BaseIcon.vue.d.ts +2 -2
  37. package/dist/UIKit/BaseInput.vue.d.ts +19 -18
  38. package/dist/UIKit/BaseModal.vue.d.ts +3 -3
  39. package/dist/UIKit/BaseNavItem.vue.d.ts +2 -2
  40. package/dist/UIKit/BasePagination.vue.d.ts +2 -2
  41. package/dist/UIKit/BasePaper.vue.d.ts +1 -1
  42. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +3 -3
  43. package/dist/UIKit/BaseSlider.vue.d.ts +4 -3
  44. package/dist/UIKit/BaseSnackbar.vue.d.ts +5 -4
  45. package/dist/UIKit/BaseTextarea.vue.d.ts +15 -14
  46. package/dist/UIKit/BaseToggle.vue.d.ts +8 -8
  47. package/dist/UIKit/BaseTooltip.vue.d.ts +2 -2
  48. package/dist/UIKit/BaseUploadFile.vue.d.ts +5 -4
  49. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +5 -4
  50. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +5 -4
  51. package/dist/UIKit/Radio/RadioButton.vue.d.ts +3 -3
  52. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +5 -5
  53. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +9 -0
  54. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +38 -0
  55. package/dist/UIKit/StaticSpinner.vue.d.ts +2 -2
  56. package/dist/UIKit/Tab/BaseTab.vue.d.ts +2 -2
  57. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +2 -2
  58. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +10 -9
  59. package/dist/assets/BaseCard.css +1 -1
  60. package/dist/assets/BaseShimmerLoader.css +1 -0
  61. package/dist/assets/BaseSlider.css +1 -1
  62. package/dist/assets/BaseTooltip.css +1 -1
  63. package/dist/assets/index.css +1 -1
  64. package/dist/chart/DoughnutChart.vue.d.ts +4 -3
  65. package/dist/chart/LineChart.vue.d.ts +4 -3
  66. package/dist/chart/composables/useChartjsModules.d.ts +4 -3
  67. package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.5pqk7vlZ.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.BQ4qQ7zr.js} +97 -86
  68. package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js +1 -2
  69. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CVffB0Ai.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.CoHhyD4i.js} +1 -1
  70. package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js +1 -2
  71. package/dist/chunks/BaseCard.vue_vue_type_style_index_0_lang.w5aEohzG.js +1 -2
  72. package/dist/chunks/{BaseModal.vue_vue_type_style_index_0_lang.Cz2Kd5zD.js → BaseModal.vue_vue_type_style_index_0_lang.DmbmvbJg.js} +2 -3
  73. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.DDtN9_Bg.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.TNbYVnnF.js} +1 -1
  74. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +37 -0
  75. package/dist/chunks/{SwiperCarousel.vue_vue_type_style_index_0_lang.DDYbH2A1.js → SwiperCarousel.vue_vue_type_style_index_0_lang.DydGEHWv.js} +162 -155
  76. package/dist/chunks/{index.DXfsARH3.js → index.C2AlqfUw.js} +316 -311
  77. package/dist/chunks/js.cookie.CkZE2oaL.js +95 -0
  78. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +2 -2
  79. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +3 -3
  80. package/dist/components/carousel/SwiperCarousel.vue.d.ts +6 -7
  81. package/dist/components/carousel/SwiperSlide.vue.d.ts +1 -1
  82. package/dist/composables/useFloatingLabel.d.ts +3 -2
  83. package/dist/composables/useKeyboardController.d.ts +2 -1
  84. package/dist/composables/useValidator.d.ts +2 -1
  85. package/dist/index.d.ts +40 -39
  86. package/dist/index.js +7 -8
  87. package/package.json +3 -3
  88. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.D1HsyTJq.js +0 -36
  89. package/dist/chunks/js.cookie.BQua9eWh.js +0 -101
@@ -1,9 +1,9 @@
1
- import { h as V, ref as L, onMounted as B, onUnmounted as E, unref as v, defineComponent as T, computed as C, watch as F, openBlock as d, createElementBlock as c, Fragment as H, createElementVNode as l, normalizeClass as n, createCommentVNode as w, renderSlot as P, withModifiers as m, createBlock as A, createVNode as D, renderList as z } from "vue";
1
+ import { h as V, ref as L, onMounted as B, onUnmounted as E, unref as y, defineComponent as T, computed as C, watch as F, openBlock as d, createElementBlock as k, Fragment as H, createElementVNode as o, normalizeClass as s, createCommentVNode as f, withModifiers as b, renderSlot as P, createBlock as A, createVNode as z, renderList as D } from "vue";
2
2
  import { d as O } from "./ArrowIcon.CklBXJPN.js";
3
3
  import { o as q } from "./DefaultValues-k7iQWtC2.CPFgoBrE.js";
4
- const N = (o, { attrs: s }) => {
5
- o = { ...q(), ...o };
6
- const { width: a, height: i } = o;
4
+ const N = (r, { attrs: u }) => {
5
+ r = { ...q(), ...r };
6
+ const { width: a, height: i } = r;
7
7
  return V(
8
8
  "svg",
9
9
  {
@@ -11,10 +11,10 @@ const N = (o, { attrs: s }) => {
11
11
  viewBox: "0 0 11.175 13.409",
12
12
  width: `${a}`,
13
13
  height: `${i}`,
14
- class: o.class ?? "",
15
- "aria-hidden": s["aria-hidden"] ?? "true",
14
+ class: r.class ?? "",
15
+ "aria-hidden": u["aria-hidden"] ?? "true",
16
16
  fill: "none",
17
- stroke: s["stroke-color"] ?? "#FA4F64"
17
+ stroke: u["stroke-color"] ?? "#FA4F64"
18
18
  },
19
19
  [
20
20
  V("circle", {
@@ -30,46 +30,46 @@ const N = (o, { attrs: s }) => {
30
30
  cx: 6,
31
31
  cy: 8.2,
32
32
  r: 0.6,
33
- fill: s["stroke-color"] ?? "#FA4F64",
33
+ fill: u["stroke-color"] ?? "#FA4F64",
34
34
  stroke: "none"
35
35
  })
36
36
  ]
37
37
  );
38
- }, S = (o) => {
39
- const { isDropdownOpen: s, disableSpaceHandler: a } = o, i = L(-1), f = L(-1), $ = (t) => {
40
- const k = "ArrowUp", g = "ArrowDown", b = "Enter", h = "Escape", e = " ", r = "PageUp", u = "Home", p = "PageDown", y = "End";
41
- if (!s.value || ![
42
- k,
38
+ }, S = (r) => {
39
+ const { isDropdownOpen: u, disableSpaceHandler: a } = r, i = L(-1), h = L(-1), m = (t) => {
40
+ const p = "ArrowUp", g = "ArrowDown", v = "Enter", w = "Escape", e = " ", l = "PageUp", n = "Home", c = "PageDown", $ = "End";
41
+ if (!u.value || ![
42
+ p,
43
43
  g,
44
- b,
45
- h,
44
+ v,
45
+ w,
46
46
  e,
47
- r,
48
- u,
49
- p,
50
- y
47
+ l,
48
+ n,
49
+ c,
50
+ $
51
51
  ].includes(t.key))
52
52
  return;
53
- const M = v(o.optionsLength);
54
- if (t.key === k)
53
+ const M = y(r.optionsLength);
54
+ if (t.key === p)
55
55
  i.value = i.value === 0 ? M - 1 : i.value - 1;
56
56
  else if (t.key === g)
57
57
  i.value = (i.value + 1) % M;
58
- else if (t.key === b || t.key === e) {
58
+ else if (t.key === v || t.key === e) {
59
59
  if (t.key === e && a)
60
60
  return;
61
- f.value = i.value, s.value = !1;
61
+ h.value = i.value, u.value = !1;
62
62
  } else
63
- t.key === h ? (i.value = f.value, s.value = !1) : t.key === r || t.key === u ? i.value = 0 : (t.key === p || t.key === y) && (i.value = M - 1);
63
+ t.key === w ? (i.value = h.value, u.value = !1) : t.key === l || t.key === n ? i.value = 0 : (t.key === c || t.key === $) && (i.value = M - 1);
64
64
  t.stopPropagation(), t.preventDefault();
65
65
  };
66
66
  return B(() => {
67
- document && document.addEventListener("keydown", $);
67
+ document && document.addEventListener("keydown", m);
68
68
  }), E(() => {
69
- document && document.removeEventListener("keydown", $);
69
+ document && document.removeEventListener("keydown", m);
70
70
  }), {
71
71
  activeIdx: i,
72
- selectedIdx: f
72
+ selectedIdx: h
73
73
  };
74
74
  }, U = ["id", "innerHTML"], j = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], I = ["innerHTML"], Y = { class: "uikit-mt-1 uikit-inline-flex uikit-pointer-events-none" }, G = ["innerHTML"], J = ["data-cy"], K = ["id", "aria-selected", "onClick", "onMouseover"], Q = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, R = ["name", "checked", "onInput"], W = ["innerHTML"], X = ["id", "arial-live", "innerHTML"], Z = ["id", "arial-live", "innerHTML"], ie = /* @__PURE__ */ T({
75
75
  inheritAttrs: !1,
@@ -85,99 +85,110 @@ const N = (o, { attrs: s }) => {
85
85
  }) },
86
86
  isValid: { type: [Boolean, null], default: null },
87
87
  feedback: {},
88
- closeOnBodyPressed: { type: Boolean, default: !0 }
88
+ closeOnBodyPressed: { type: Boolean, default: !0 },
89
+ border: { type: Boolean, default: !0 }
89
90
  },
90
91
  emits: ["update:modelValue"],
91
- setup(o, { emit: s }) {
92
- const a = o, i = L(!1), f = L(null), $ = C(() => !!a.modelValue.label), t = s, { activeIdx: k, selectedIdx: g } = S({
92
+ setup(r, { emit: u }) {
93
+ const a = r, i = L(!1), h = L(null), m = C(() => !!a.modelValue.label), t = u, { activeIdx: p, selectedIdx: g } = S({
93
94
  optionsLength: a.options.length,
94
95
  isDropdownOpen: i
95
- }), b = (e) => {
96
+ }), v = (e) => {
96
97
  i.value = !1, t("update:modelValue", e);
97
98
  };
98
99
  F(g, (e) => {
99
- b(a.options[e]), i.value = !1;
100
+ v(a.options[e]), i.value = !1;
100
101
  });
101
- const h = () => {
102
+ const w = () => {
102
103
  i.value = !1;
103
104
  };
104
105
  return B(() => {
105
- a.closeOnBodyPressed && document && document.addEventListener("click", h);
106
+ a.closeOnBodyPressed && document && document.addEventListener("click", w);
106
107
  }), E(() => {
107
- a.closeOnBodyPressed && document && document.removeEventListener("click", h);
108
- }), (e, r) => (d(), c(H, null, [
109
- l("div", {
110
- class: n(["uikit-relative uikit-flex uikit-h-12 uikit-items-center", [e.$attrs.class]])
108
+ a.closeOnBodyPressed && document && document.removeEventListener("click", w);
109
+ }), (e, l) => (d(), k(H, null, [
110
+ o("div", {
111
+ class: s(["uikit-relative uikit-flex uikit-h-12 uikit-items-center", [e.$attrs.class]])
111
112
  }, [
112
- e.label ? (d(), c("label", {
113
+ e.label ? (d(), k("label", {
113
114
  key: 0,
114
115
  id: `${e.namespace}_label`,
115
- class: n(["uikit-absolute uikit-text-sm uikit-font-medium uikit-transition-all uikit-ease-in-out uikit-pointer-events-none uikit-z-10", [
116
- $.value ? "as-floating -uikit-top-1 uikit-left-[22px] uikit-text-w-black" : "as-inline uikit-left-4 uikit-top-4 uikit-text-w-gray",
117
- e.$attrs["label-classes"]
116
+ class: s(["uikit-absolute uikit-text-sm uikit-font-medium uikit-transition-all uikit-ease-in-out uikit-pointer-events-none uikit-z-10", [
117
+ m.value ? "as-floating -uikit-top-1 uikit-left-[22px] uikit-text-w-black" : "as-inline uikit-top-4 uikit-text-w-gray",
118
+ e.$attrs["label-classes"],
119
+ { "uikit-left-9": e.$slots.lefticon && !m.value },
120
+ { "uikit-left-4": !e.$slots.lefticon && !m.value }
118
121
  ]]),
119
122
  innerHTML: e.label
120
- }, null, 10, U)) : w("", !0),
121
- P(e.$slots, "lefticon"),
122
- l("button", {
123
+ }, null, 10, U)) : f("", !0),
124
+ e.$slots.lefticon ? (d(), k("span", {
125
+ key: 1,
126
+ class: "uikit-z-20 uikit-pl-2 uikit-mt-2",
127
+ onClick: l[0] || (l[0] = b((n) => i.value = !i.value, ["stop"]))
128
+ }, [
129
+ P(e.$slots, "lefticon")
130
+ ])) : f("", !0),
131
+ o("button", {
123
132
  id: `${e.namespace}_btn`,
124
133
  ref_key: "btnEl",
125
- ref: f,
134
+ ref: h,
126
135
  type: "button",
127
136
  "data-cy": e.$attrs["data-cy"],
128
- class: n(["uikit-peer uikit-flex uikit-h-full uikit-w-full uikit-items-center uikit-justify-between uikit-truncate uikit-border-0 uikit-px-4 uikit-text-left focus-visible:uikit-outline-0 uikit-bg-transparent uikit-relative uikit-z-10", e.$attrs["btn-classes"]]),
137
+ class: s(["uikit-peer uikit-flex uikit-h-full uikit-w-full uikit-items-center uikit-justify-between uikit-truncate uikit-border-0 uikit-pr-4 uikit-text-left focus-visible:uikit-outline-0 uikit-bg-transparent uikit-relative uikit-z-10", [e.$slots.lefticon ? "uikit-pl-2" : "uikit-pl-4", e.$attrs["btn-classes"]]]),
129
138
  "aria-required": !!e.$attrs.required,
130
139
  role: "combobox",
131
140
  "aria-haspopup": "listbox",
132
141
  "aria-controls": `${e.namespace}_dropdown`,
133
142
  "aria-labelledby": `${e.namespace}_label ${e.namespace}_btn`,
134
143
  "aria-expanded": i.value,
135
- "aria-activedescendant": v(k) >= 0 && i.value ? `${e.namespace}_element_${e.options[v(k)].label}` : "",
144
+ "aria-activedescendant": y(p) >= 0 && i.value ? `${e.namespace}_element_${e.options[y(p)].label}` : "",
136
145
  "aria-invalid": a.isValid === !1,
137
146
  "aria-describedby": a.isValid === !1 ? `${e.namespace}_invalid_msg` : void 0,
138
- onClick: r[0] || (r[0] = m((u) => i.value = !i.value, ["stop"]))
147
+ onClick: l[1] || (l[1] = b((n) => i.value = !i.value, ["stop"]))
139
148
  }, [
140
- l("span", {
141
- class: n(["uikit-mt-1 uikit-pointer-events-none", e.$attrs["btn-text-classes"]]),
149
+ o("span", {
150
+ class: s(["uikit-mt-1 uikit-pointer-events-none", e.$attrs["btn-text-classes"]]),
142
151
  innerHTML: e.modelValue.visibleLabel || e.modelValue.label
143
152
  }, null, 10, I),
144
- l("span", Y, [
145
- a.isValid == !1 ? (d(), A(v(N), {
153
+ o("span", Y, [
154
+ a.isValid == !1 ? (d(), A(y(N), {
146
155
  key: 0,
147
156
  class: "uikit-mr-1",
148
157
  width: 20,
149
158
  height: 20
150
- })) : w("", !0),
151
- D(v(O), {
152
- class: n(["uikit-transition-transform motion-reduce:uikit-transition-none", i.value ? "uikit-rotate-180" : ""]),
159
+ })) : f("", !0),
160
+ z(y(O), {
161
+ class: s(["uikit-transition-transform motion-reduce:uikit-transition-none", i.value ? "uikit-rotate-180" : ""]),
153
162
  width: 18,
154
163
  height: 18,
155
164
  "stroke-color": e.isValid ? "#2B5DFF" : e.isValid === !1 ? "#FA4F64" : "#222"
156
165
  }, null, 8, ["class", "stroke-color"])
157
166
  ])
158
167
  ], 10, j),
159
- l("fieldset", {
168
+ o("fieldset", {
160
169
  "aria-hidden": "true",
161
- class: n(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-cursor-pointer uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-py-0 peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus-visible:uikit-border-2 peer-focus-visible:uikit-border-w-primary peer-aria-invalid:uikit-border-w-danger uikit-bg-white", [
170
+ class: s(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-cursor-pointer uikit-rounded-xs uikit-px-2 uikit-py-0 peer-focus:uikit-border-2 uikit-bg-white", [
162
171
  e.$attrs["fieldset-classes"],
163
- e.isValid ? "uikit-border-w-primary" : e.isValid === !1 ? "uikit-border-w-danger" : "uikit-border-w-secondary"
172
+ e.isValid ? "uikit-border-w-primary" : e.isValid === !1 ? "uikit-border-w-danger" : "uikit-border-w-secondary",
173
+ { "uikit-border uikit-border-solid peer-focus:uikit-border-w-primary peer-focus-visible:uikit-border-2 peer-focus-visible:uikit-border-w-primary peer-aria-invalid:uikit-border-w-danger": e.border },
174
+ { "uikit-border-0 peer-focus:uikit-border-0": !e.border }
164
175
  ]])
165
176
  }, [
166
- l("legend", {
167
- class: n([e.$attrs["legend-classes"], { "uikit-m-0 uikit-w-0": !e.label }, "uikit-ml-2 uikit-h-3 uikit-px-0 uikit-text-sm"])
177
+ o("legend", {
178
+ class: s([e.$attrs["legend-classes"], { "uikit-m-0 uikit-w-0": !e.label }, "uikit-ml-2 uikit-h-3 uikit-px-0 uikit-text-sm"])
168
179
  }, [
169
- l("span", {
170
- class: n(["uikit-mx-5px", e.modelValue.label ? "uikit-invisible" : "uikit-hidden"]),
180
+ o("span", {
181
+ class: s(["uikit-mx-5px", [e.modelValue.label ? "uikit-invisible" : "uikit-hidden"]]),
171
182
  innerHTML: e.label
172
183
  }, null, 10, G)
173
184
  ], 2)
174
185
  ], 2),
175
- l("ul", {
186
+ o("ul", {
176
187
  "data-cy": e.$attrs["data-cy"] && `${e.$attrs["data-cy"]}_dropdown`,
177
188
  role: "listbox",
178
189
  tabindex: -1,
179
190
  "aria-multiselectable": !1,
180
- class: n(["uikit-absolute uikit-z-30 uikit-m-0 uikit-max-h-[225px] uikit-w-full uikit-min-w-full uikit-list-none uikit-overflow-y-auto uikit-p-0 uikit-no-scrollbar", [
191
+ class: s(["uikit-absolute uikit-z-30 uikit-m-0 uikit-max-h-[225px] uikit-w-full uikit-min-w-full uikit-list-none uikit-overflow-y-auto uikit-p-0 uikit-no-scrollbar", [
181
192
  { "uikit-h-0 uikit-w-0 uikit-overflow-hidden": !i.value },
182
193
  {
183
194
  "uikit-rounded-xs uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white": i.value
@@ -186,52 +197,52 @@ const N = (o, { attrs: s }) => {
186
197
  { "uikit-top-[55px]": e.dropdownPosition === "bottom" },
187
198
  e.$attrs["dropdown-classes"]
188
199
  ]]),
189
- onClick: r[2] || (r[2] = m(() => {
200
+ onClick: l[3] || (l[3] = b(() => {
190
201
  }, ["stop"]))
191
202
  }, [
192
- (d(!0), c(H, null, z(e.options, (u, p) => (d(), c("li", {
193
- id: `${e.namespace}_element_${e.options[p].label}`,
194
- key: `${u.label}_${p}`,
203
+ (d(!0), k(H, null, D(e.options, (n, c) => (d(), k("li", {
204
+ id: `${e.namespace}_element_${e.options[c].label}`,
205
+ key: `${n.label}_${c}`,
195
206
  role: "option",
196
- "aria-selected": v(k) === p,
197
- class: n(["uikit-m-1 uikit-cursor-pointer uikit-px-20px uikit-py-10px uikit-text aria-selected:uikit-rounded-xs aria-selected:uikit-bg-w-cultured", e.$attrs["dropdown-item-classes"]]),
198
- onClick: m((y) => b(u), ["stop"]),
199
- onMouseover: m((y) => k.value = p, ["stop"]),
200
- onBlur: r[1] || (r[1] = m(() => {
207
+ "aria-selected": y(p) === c,
208
+ class: s(["uikit-m-1 uikit-cursor-pointer uikit-px-20px uikit-py-10px uikit-text aria-selected:uikit-rounded-xs aria-selected:uikit-bg-w-cultured", e.$attrs["dropdown-item-classes"]]),
209
+ onClick: b(($) => v(n), ["stop"]),
210
+ onMouseover: b(($) => p.value = c, ["stop"]),
211
+ onBlur: l[2] || (l[2] = b(() => {
201
212
  }, ["stop"]))
202
213
  }, [
203
- l("label", Q, [
204
- l("input", {
214
+ o("label", Q, [
215
+ o("input", {
205
216
  tabindex: "-1",
206
217
  class: "uikit-m-0 uikit-appearance-none",
207
218
  name: `${e.namespace}_radio`,
208
219
  type: "radio",
209
- checked: u.label === e.modelValue.label,
210
- onInput: m((y) => b(u), ["stop"])
220
+ checked: n.label === e.modelValue.label,
221
+ onInput: b(($) => v(n), ["stop"])
211
222
  }, null, 40, R),
212
- l("span", {
213
- innerHTML: u.label
223
+ o("span", {
224
+ innerHTML: n.label
214
225
  }, null, 8, W)
215
226
  ])
216
227
  ], 42, K))), 128))
217
228
  ], 10, J)
218
229
  ], 2),
219
- e.feedback ? (d(), c(H, { key: 0 }, [
220
- e.feedback.valid ? (d(), c("span", {
230
+ e.feedback ? (d(), k(H, { key: 0 }, [
231
+ e.feedback.valid ? (d(), k("span", {
221
232
  key: 0,
222
233
  id: `${e.namespace}_valid_msg`,
223
234
  "arial-live": e.$attrs["aria-live"],
224
235
  class: "uikit-mb-2 uikit-text-sm",
225
236
  innerHTML: e.isValid ? e.feedback.valid : ""
226
- }, null, 8, X)) : w("", !0),
227
- e.feedback.invalid ? (d(), c("span", {
237
+ }, null, 8, X)) : f("", !0),
238
+ e.feedback.invalid ? (d(), k("span", {
228
239
  key: 1,
229
240
  id: `${e.namespace}_invalid_msg`,
230
241
  "arial-live": e.$attrs["aria-live"],
231
242
  class: "uikit-mb-2 uikit-text-sm uikit-text-w-danger",
232
243
  innerHTML: e.isValid === !1 ? e.feedback.invalid : ""
233
- }, null, 8, Z)) : w("", !0)
234
- ], 64)) : w("", !0)
244
+ }, null, 8, Z)) : f("", !0)
245
+ ], 64)) : f("", !0)
235
246
  ], 64));
236
247
  }
237
248
  });
@@ -1,6 +1,5 @@
1
- import '../assets/BaseAlert.css';
2
1
  import { defineComponent as t, openBlock as r, createElementBlock as s, normalizeClass as a, renderSlot as l } from "vue";
3
- const o = ["id"], p = /* @__PURE__ */ t({
2
+ import '../assets/BaseAlert.css';const o = ["id"], p = /* @__PURE__ */ t({
4
3
  __name: "BaseAlert",
5
4
  props: {
6
5
  alertClass: { default: "" }
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as L, mergeModels as S, useModel as H, ref as u, computed as k, onBeforeMount as K, watch as f, openBlock as y, createBlock as V, normalizeClass as z, withCtx as c, createVNode as N, renderSlot as B, createElementBlock as U, Fragment as A, renderList as F, unref as W, createElementVNode as j } from "vue";
2
2
  import q from "../BaseInput.js";
3
3
  import { _ as G } from "./BaseDropDown.vue_vue_type_script_setup_true_lang.BRcL69nu.js";
4
- import "./js.cookie.BQua9eWh.js";
4
+ import "./js.cookie.CkZE2oaL.js";
5
5
  import { _ as J } from "./SelectItem.vue_vue_type_script_setup_true_lang.Colhxc7n.js";
6
6
  import { useKeyboardController as Q } from "../useKeyboardController.js";
7
7
  function R(i, v) {
@@ -1,6 +1,5 @@
1
- import '../assets/BaseBadge.css';
2
1
  import { defineComponent as e, openBlock as a, createElementBlock as t, normalizeClass as r, renderSlot as i } from "vue";
3
- const o = ["id"], p = /* @__PURE__ */ e({
2
+ import '../assets/BaseBadge.css';const o = ["id"], p = /* @__PURE__ */ e({
4
3
  inheritAttrs: !1,
5
4
  __name: "BaseBadge",
6
5
  props: {
@@ -1,6 +1,5 @@
1
- import '../assets/BaseCard.css';
2
1
  import { defineComponent as p, computed as o, openBlock as C, createBlock as u, resolveDynamicComponent as y, normalizeClass as t, withCtx as f, createElementVNode as r, renderSlot as n } from "vue";
3
- const g = /* @__PURE__ */ p({
2
+ import '../assets/BaseCard.css';const g = /* @__PURE__ */ p({
4
3
  inheritAttrs: !1,
5
4
  __name: "BaseCard",
6
5
  props: {
@@ -1,9 +1,8 @@
1
- import '../assets/BaseModal.css';
2
1
  import { defineComponent as x, ref as k, watch as M, nextTick as B, openBlock as c, createBlock as f, Teleport as E, createElementVNode as a, normalizeClass as o, withModifiers as b, withCtx as L, createVNode as $, unref as T, createCommentVNode as y, renderSlot as d, createElementBlock as z } from "vue";
3
- import "./js.cookie.BQua9eWh.js";
2
+ import "./js.cookie.CkZE2oaL.js";
4
3
  import { _ as H } from "./BaseButton.vue_vue_type_script_setup_true_lang.BwONsejV.js";
5
4
  import { l as O } from "./CloseIcon.DiRdm5zi.js";
6
- const I = (l, n) => new Promise((s, u) => {
5
+ import '../assets/BaseModal.css';const I = (l, n) => new Promise((s, u) => {
7
6
  setTimeout(() => {
8
7
  try {
9
8
  l && l(), s();
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as O, useAttrs as v, reactive as g, computed as d, watch as y, onBeforeMount as C, renderSlot as k, createElementVNode as V, normalizeClass as B, openBlock as b, createElementBlock as $, Fragment as R, renderList as A, createBlock as K, unref as w, createCommentVNode as E } from "vue";
2
2
  import { i as L } from "./ObjectUtils.B1Dk4qsM.js";
3
- import "./js.cookie.BQua9eWh.js";
3
+ import "./js.cookie.CkZE2oaL.js";
4
4
  import G from "../CheckboxBtn.js";
5
5
  const D = (l = "") => !l || !l.trim() ? "" : (l = l.trim(), l.replace(" ", "-").toLowerCase()), I = ["id", "data-cy"], S = /* @__PURE__ */ O({
6
6
  inheritAttrs: !1,
@@ -0,0 +1,37 @@
1
+ import { defineComponent as p, onBeforeMount as m, unref as o, openBlock as l, createBlock as c, createCommentVNode as u } from "vue";
2
+ import { Line as d } from "vue-chartjs";
3
+ import { Chart as f, LineController as C, LineElement as g, Filler as L, PointElement as _, CategoryScale as h, LinearScale as k } from "chart.js";
4
+ import { useChartJsModules as y } from "../useChartjsModules.js";
5
+ const S = /* @__PURE__ */ p({
6
+ __name: "LineChart",
7
+ props: {
8
+ options: {},
9
+ data: {}
10
+ },
11
+ setup(t) {
12
+ f.register(
13
+ C,
14
+ g,
15
+ L,
16
+ _,
17
+ h,
18
+ k
19
+ );
20
+ const r = t, {
21
+ registerPlugins: n,
22
+ registerTimeCartesianAxis: i,
23
+ executeRegistration: a,
24
+ resolved: s
25
+ } = y(r.options);
26
+ return m(async () => {
27
+ await a(n, i);
28
+ }), (e, B) => o(s) ? (l(), c(o(d), {
29
+ key: 0,
30
+ options: e.options,
31
+ data: e.data
32
+ }, null, 8, ["options", "data"])) : u("", !0);
33
+ }
34
+ });
35
+ export {
36
+ S as _
37
+ };