@wikicasa-dev/components 2.2.9-alpha.34 → 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.
- package/dist/Swiper/autoplay.js +3 -4
- package/dist/Swiper/controller.js +1 -2
- package/dist/Swiper/free-mode.js +3 -4
- package/dist/Swiper/keyboard.js +3 -4
- package/dist/Swiper/navigation.js +3 -4
- package/dist/Swiper/pagination.js +3 -4
- package/dist/Swiper/thumbs.js +3 -4
- package/dist/UIKit/AccessibleSelect.js +2 -3
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionItem.js +2 -3
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +2 -3
- package/dist/UIKit/BaseAlert.js +2 -3
- package/dist/UIKit/BaseAutocomplete.js +2 -3
- package/dist/UIKit/BaseBadge.js +2 -3
- package/dist/UIKit/BaseBreadcrumb.js +1 -1
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +36 -5
- package/dist/UIKit/BaseComplexToggle.js +105 -5
- package/dist/UIKit/BaseDropDown.d.ts +2 -2
- package/dist/UIKit/BaseDropDown.js +2 -3
- package/dist/UIKit/BaseFloatingLabel.js +39 -5
- package/dist/UIKit/BaseInput.js +210 -5
- package/dist/UIKit/BaseModal.js +2 -3
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +206 -5
- package/dist/UIKit/BaseSnackbar.js +2 -3
- package/dist/UIKit/BaseTextarea.js +126 -5
- package/dist/UIKit/BaseToggle.js +41 -5
- package/dist/UIKit/BaseTooltip.js +40 -5
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -3
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
- package/dist/UIKit/Radio/RadioButton.js +1 -1
- package/dist/UIKit/Radio/RadioGroup.js +1 -1
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +20 -5
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.js +81 -5
- package/dist/UIKit/StaticSpinner.js +26 -5
- package/dist/UIKit/Tab/BaseTab.js +1 -1
- package/dist/UIKit/Tab/BaseTabList.js +1 -1
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
- package/dist/UIKit/Tab/BaseTabView.js +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/chart/DoughnutChart.js +1 -1
- package/dist/chart/LineChart.js +1 -1
- package/dist/{packages/components/lib/UIKit/AccessibleSelect.vue.js → chunks/AccessibleSelect.vue_vue_type_style_index_0_lang.DWwkWpAC.js} +3 -4
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js → chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.Qp6BrYox.js} +5 -5
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js → chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.CL5zNPzY.js} +4 -4
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js → chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.BqjzG2As.js} +5 -5
- package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js → chunks/BaseAccordionItem.vue_vue_type_style_index_0_lang.DwEHSyBO.js} +4 -4
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BVR-COlL.js +19 -0
- package/dist/{packages/components/lib/UIKit/BaseAutocomplete.vue.js → chunks/BaseAutocomplete.vue_vue_type_style_index_0_lang.BW_JCkOV.js} +24 -25
- package/dist/{packages/components/lib/UIKit/BaseBadge.vue.js → chunks/BaseBadge.vue_vue_type_style_index_0_lang.BnYtlFXq.js} +6 -6
- package/dist/{packages/components/lib/UIKit/BaseBreadcrumb.vue.js → chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.CcfuB26u.js} +7 -7
- package/dist/{packages/components/lib/UIKit/BaseButton.vue.js → chunks/BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js} +2 -2
- package/dist/{packages/components/lib/UIKit/BaseDropDown.vue.js → chunks/BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js} +12 -12
- package/dist/{packages/components/lib/UIKit/BaseModal.vue.js → chunks/BaseModal.vue_vue_type_style_index_0_lang.B8U_buif.js} +2 -2
- package/dist/{packages/components/lib/UIKit/BasePagination.vue.js → chunks/BasePagination.vue_vue_type_script_setup_true_lang.CkGMhOm-.js} +1 -1
- package/dist/{packages/components/lib/UIKit/BaseSnackbar.vue.js → chunks/BaseSnackbar.vue_vue_type_style_index_0_lang.DJqVfg6P.js} +2 -2
- package/dist/{packages/components/lib/UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabList.vue.js → chunks/BaseTabList.vue_vue_type_script_setup_true_lang.BXvkXKbT.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js → chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CM1ObHXU.js} +1 -1
- package/dist/{packages/components/lib/UIKit/Tab/BaseTabView.vue.js → chunks/BaseTabView.vue_vue_type_script_setup_true_lang.BocXkfTw.js} +17 -17
- package/dist/{packages/components/lib/UIKit/BaseUploadFile.vue.js → chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.DMPiMivr.js} +7 -7
- package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js → chunks/CheckboxBtn.vue_vue_type_style_index_0_lang.MYOfjOwM.js} +8 -8
- package/dist/{packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js → chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.aDZDPjgR.js} +3 -4
- package/dist/{packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js → chunks/ClearableAutocomplete.vue_vue_type_style_index_0_lang.DUOBcBPN.js} +4 -5
- package/dist/{packages/components/lib/chart/DoughnutChart.vue.js → chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.yALl_gpB.js} +6 -6
- package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js → chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BidNzYDc.js} +5 -5
- package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js → chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BnLNx3be.js} +3 -3
- package/dist/{packages/components/lib/chart/LineChart.vue.js → chunks/LineChart.vue_vue_type_script_setup_true_lang.Df20jEOd.js} +7 -7
- package/dist/{packages/components/lib/UIKit/Radio/RadioButton.vue.js → chunks/RadioButton.vue_vue_type_script_setup_true_lang.g-a7DM3l.js} +3 -3
- package/dist/{packages/components/lib/UIKit/Radio/RadioGroup.vue.js → chunks/RadioGroup.vue_vue_type_script_setup_true_lang.DtBZuHm2.js} +3 -3
- package/dist/{packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js → chunks/SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js} +9 -9
- package/dist/{packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js → chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DEb8nfZp.js} +4 -4
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +243 -6
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/index.js +82 -92
- package/package.json +2 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/assets/SwiperCarousel2.css +0 -1
- package/dist/assets/swiper-swiper.css +0 -1
- package/dist/assets/swiper-zoom.css +0 -1
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +0 -19
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +0 -106
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +0 -40
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +0 -211
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +0 -207
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +0 -127
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +0 -42
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -21
- package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
- package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +0 -27
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +0 -246
- /package/dist/assets/{swiper-free-mode.css → free-mode.css} +0 -0
- /package/dist/assets/{swiper-navigation.css → navigation.css} +0 -0
- /package/dist/assets/{swiper-pagination.css → pagination.css} +0 -0
- /package/dist/assets/{swiper-thumbs.css → thumbs.css} +0 -0
|
@@ -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
|
|
2
|
-
import U from "./BaseTabPanel.
|
|
3
|
-
import P from "./BaseTabList.
|
|
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
|
-
}),
|
|
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",
|
|
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 =
|
|
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 =
|
|
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) =>
|
|
57
|
+
}, N = (e = -1) => i.value.find((a) => a["active-tab-panel-idx"] === e);
|
|
58
58
|
return x(
|
|
59
|
-
() =>
|
|
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 =
|
|
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) => (
|
|
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" ? (
|
|
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
|
-
(
|
|
83
|
-
N(n) ? (
|
|
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 ? (
|
|
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" ? (
|
|
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
|
|
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
|
|
2
|
-
import v from "
|
|
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:
|
|
17
|
-
const k = e, n =
|
|
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)) :
|
|
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"])) :
|
|
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
|
|
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
|
|
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,
|
|
33
|
+
return (t, l) => (d(), h("label", {
|
|
34
34
|
class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
|
|
35
|
-
onClick:
|
|
35
|
+
onClick: l[0] || (l[0] = (k) => a("click", k))
|
|
36
36
|
}, [
|
|
37
|
-
o(
|
|
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(
|
|
51
|
+
o(i(w), { class: "uikit-flex" }, {
|
|
52
52
|
default: u(() => [
|
|
53
|
-
e.modelValue === !0 ? (d(), x(
|
|
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
|
|
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.
|
|
4
|
-
|
|
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
|
-
|
|
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 "
|
|
3
|
-
import
|
|
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"],
|
|
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
|
-
|
|
185
|
+
ve as _
|
|
187
186
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as s, onBeforeMount as
|
|
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 "
|
|
5
|
-
const
|
|
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
|
|
16
|
+
return i(async () => {
|
|
17
17
|
await a(r);
|
|
18
|
-
}), (h, C) => o(n) ? (m(),
|
|
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
|
-
|
|
26
|
+
_
|
|
27
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as l, ref as n, onMounted as a, createElementBlock as
|
|
2
|
-
const
|
|
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 }) : (
|
|
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:
|
|
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
|
-
|
|
23
|
+
d as _
|
|
24
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, reactive as
|
|
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 =
|
|
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
|
|
49
|
+
y as _
|
|
50
50
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, onBeforeMount as p, useTemplateRef as u, computed as f, createBlock as d, createCommentVNode as h, unref as t, openBlock as C } from "vue";
|
|
2
2
|
import { Line as g } from "vue-chartjs";
|
|
3
|
-
import { Chart as x, LineController as L, LineElement as k, Filler as B, PointElement as E, CategoryScale as
|
|
4
|
-
import { useChartJsModules as
|
|
3
|
+
import { Chart as x, LineController as L, LineElement as k, Filler as B, PointElement as E, CategoryScale as _, LinearScale as v } from "chart.js";
|
|
4
|
+
import { useChartJsModules as y } from "../chart/composables/useChartjsModules.js";
|
|
5
5
|
const F = /* @__PURE__ */ m({
|
|
6
6
|
__name: "LineChart",
|
|
7
7
|
props: {
|
|
@@ -14,22 +14,22 @@ const F = /* @__PURE__ */ m({
|
|
|
14
14
|
k,
|
|
15
15
|
B,
|
|
16
16
|
E,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
_,
|
|
18
|
+
v
|
|
19
19
|
);
|
|
20
20
|
const r = e, {
|
|
21
21
|
registerPlugins: n,
|
|
22
22
|
registerTimeCartesianAxis: a,
|
|
23
23
|
executeRegistration: i,
|
|
24
24
|
resolved: s
|
|
25
|
-
} =
|
|
25
|
+
} = y(r.options);
|
|
26
26
|
p(() => {
|
|
27
27
|
i(n, a);
|
|
28
28
|
});
|
|
29
29
|
const c = u("chart"), l = f(
|
|
30
30
|
() => c.value?.chart
|
|
31
31
|
);
|
|
32
|
-
return o({ chartInstance: l }), (
|
|
32
|
+
return o({ chartInstance: l }), (M, P) => t(s) ? (C(), d(t(g), {
|
|
33
33
|
key: 0,
|
|
34
34
|
ref: "chart",
|
|
35
35
|
options: e.options,
|
|
@@ -38,5 +38,5 @@ const F = /* @__PURE__ */ m({
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
export {
|
|
41
|
-
F as
|
|
41
|
+
F as _
|
|
42
42
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, useId as c, computed as m, createElementBlock as
|
|
1
|
+
import { defineComponent as k, useId as c, computed as m, createElementBlock as b, openBlock as f, withModifiers as t, createElementVNode as l, normalizeClass as d, createTextVNode as h, toDisplayString as C } from "vue";
|
|
2
2
|
const V = ["id", "name", "checked"], x = ["for"], y = /* @__PURE__ */ k({
|
|
3
3
|
__name: "RadioButton",
|
|
4
4
|
props: {
|
|
@@ -20,7 +20,7 @@ const V = ["id", "name", "checked"], x = ["for"], y = /* @__PURE__ */ k({
|
|
|
20
20
|
};
|
|
21
21
|
n("change", u), n("update:modelValue", !e.modelValue);
|
|
22
22
|
};
|
|
23
|
-
return (u, i) => (
|
|
23
|
+
return (u, i) => (f(), b("div", {
|
|
24
24
|
class: "uikit-inline-block",
|
|
25
25
|
onClick: t(r, ["stop"])
|
|
26
26
|
}, [
|
|
@@ -54,5 +54,5 @@ const V = ["id", "name", "checked"], x = ["for"], y = /* @__PURE__ */ k({
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
export {
|
|
57
|
-
y as
|
|
57
|
+
y as _
|
|
58
58
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, mergeModels as d, useModel as h, ref as $, watch as V, renderSlot as u, createElementVNode as p, normalizeClass as c, createElementBlock as k, openBlock as m, Fragment as y, renderList as R, createBlock as g } from "vue";
|
|
2
|
-
import B from "./RadioButton.
|
|
3
|
-
const b = ["data-cy"],
|
|
2
|
+
import { _ as B } from "./RadioButton.vue_vue_type_script_setup_true_lang.g-a7DM3l.js";
|
|
3
|
+
const b = ["data-cy"], w = /* @__PURE__ */ C({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "RadioGroup",
|
|
6
6
|
props: /* @__PURE__ */ d({
|
|
@@ -56,5 +56,5 @@ const b = ["data-cy"], z = /* @__PURE__ */ C({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
w as _
|
|
60
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const b = ["data-active", "tabindex"], p = ["innerHTML"], $ = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as c, useTemplateRef as u, watch as d, nextTick as m, createElementBlock as r, openBlock as v, normalizeClass as f, renderSlot as k, createElementVNode as x } from "vue";
|
|
2
|
+
const b = ["data-active", "tabindex"], p = ["innerHTML"], $ = /* @__PURE__ */ c({
|
|
3
3
|
__name: "SelectItem",
|
|
4
4
|
props: {
|
|
5
5
|
label: { default: "" },
|
|
@@ -8,26 +8,26 @@ const b = ["data-active", "tabindex"], p = ["innerHTML"], $ = /* @__PURE__ */ u(
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["click", "mouseover"],
|
|
10
10
|
setup(t, { emit: o }) {
|
|
11
|
-
const
|
|
11
|
+
const n = o, i = t, a = u("liItem");
|
|
12
12
|
return d(
|
|
13
13
|
() => i.active,
|
|
14
14
|
(e) => {
|
|
15
15
|
e && m(() => {
|
|
16
|
-
|
|
16
|
+
a.value && a.value.focus();
|
|
17
17
|
});
|
|
18
18
|
},
|
|
19
19
|
{ immediate: !0 }
|
|
20
|
-
), (e, l) => (
|
|
20
|
+
), (e, l) => (v(), r("li", {
|
|
21
21
|
ref: "liItem",
|
|
22
|
-
class:
|
|
22
|
+
class: f(["uikit-list-none uikit-text-w-black", [
|
|
23
23
|
{ "active uikit-bg-w-cultured": t.active },
|
|
24
24
|
"uikit-outline-none",
|
|
25
25
|
e.$attrs.class
|
|
26
26
|
]]),
|
|
27
27
|
"data-active": t.active,
|
|
28
28
|
tabindex: e.$attrs.tabindex ?? -1,
|
|
29
|
-
onClick: l[0] || (l[0] = (s) =>
|
|
30
|
-
onMouseover: l[1] || (l[1] = (s) =>
|
|
29
|
+
onClick: l[0] || (l[0] = (s) => n("click", i.idx)),
|
|
30
|
+
onMouseover: l[1] || (l[1] = (s) => n("mouseover", i.idx))
|
|
31
31
|
}, [
|
|
32
32
|
k(e.$slots, "default", { itemIdx: t.idx }, () => [
|
|
33
33
|
x("span", {
|
|
@@ -38,5 +38,5 @@ const b = ["data-active", "tabindex"], p = ["innerHTML"], $ = /* @__PURE__ */ u(
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
export {
|
|
41
|
-
$ as
|
|
41
|
+
$ as _
|
|
42
42
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as i, createElementBlock as n, openBlock as t, Fragment as l, renderList as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as i, createElementBlock as n, openBlock as t, Fragment as l, renderList as m, createBlock as a, normalizeStyle as s, normalizeClass as o } from "vue";
|
|
2
|
+
import h from "../UIKit/ShimmerLoader/BaseShimmerLoader.js";
|
|
3
3
|
const k = /* @__PURE__ */ i({
|
|
4
4
|
__name: "ShimmerMultiLine",
|
|
5
5
|
props: {
|
|
@@ -9,7 +9,7 @@ const k = /* @__PURE__ */ i({
|
|
|
9
9
|
inheritHeight: { type: Boolean, default: !1 }
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
|
-
return (
|
|
12
|
+
return (u, c) => (t(!0), n(l, null, m(e.lines, (r) => (t(), a(h, {
|
|
13
13
|
ref_for: !0,
|
|
14
14
|
ref: "shimmerLines",
|
|
15
15
|
class: o(["shimmer-line", [
|
|
@@ -25,5 +25,5 @@ const k = /* @__PURE__ */ i({
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
export {
|
|
28
|
-
k as
|
|
28
|
+
k as _
|
|
29
29
|
};
|