@wikicasa-dev/components 2.2.9-alpha.35 → 2.2.9-alpha.37
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 +4 -3
- package/dist/Swiper/controller.js +2 -1
- package/dist/Swiper/free-mode.js +4 -3
- package/dist/Swiper/keyboard.js +4 -3
- package/dist/Swiper/navigation.js +4 -3
- package/dist/Swiper/pagination.js +4 -3
- package/dist/Swiper/thumbs.js +4 -3
- package/dist/UIKit/AccessibleSelect.js +3 -2
- 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 +3 -2
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +3 -2
- package/dist/UIKit/BaseAlert.js +3 -2
- package/dist/UIKit/BaseAutocomplete.js +3 -2
- package/dist/UIKit/BaseBadge.js +3 -2
- package/dist/UIKit/BaseBreadcrumb.js +1 -1
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +5 -36
- package/dist/UIKit/BaseComplexToggle.js +5 -105
- package/dist/UIKit/BaseDropDown.js +3 -2
- package/dist/UIKit/BaseFloatingLabel.js +5 -39
- package/dist/UIKit/BaseInput.js +5 -210
- package/dist/UIKit/BaseModal.js +3 -2
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +5 -206
- package/dist/UIKit/BaseSnackbar.js +3 -2
- package/dist/UIKit/BaseTextarea.js +5 -126
- package/dist/UIKit/BaseToggle.js +5 -41
- package/dist/UIKit/BaseTooltip.js +5 -40
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.js +3 -2
- 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 +5 -20
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.js +5 -81
- package/dist/UIKit/StaticSpinner.js +5 -26
- 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/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/SwiperCarousel2.css +1 -0
- package/dist/assets/swiper-swiper.css +1 -0
- package/dist/assets/swiper-zoom.css +1 -0
- package/dist/chart/DoughnutChart.js +1 -1
- package/dist/chart/LineChart.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +6 -243
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/index.js +92 -82
- package/dist/{chunks/AccessibleSelect.vue_vue_type_style_index_0_lang.DWwkWpAC.js → packages/components/lib/UIKit/AccessibleSelect.vue.js} +4 -3
- package/dist/{chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.Qp6BrYox.js → packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js} +5 -5
- package/dist/{chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.CL5zNPzY.js → packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js} +4 -4
- package/dist/{chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.BqjzG2As.js → packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js} +5 -5
- package/dist/{chunks/BaseAccordionItem.vue_vue_type_style_index_0_lang.DwEHSyBO.js → packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js} +4 -4
- package/dist/{chunks/ClearableAutocomplete.vue_vue_type_style_index_0_lang.DUOBcBPN.js → packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js} +5 -4
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +19 -0
- package/dist/{chunks/BaseAutocomplete.vue_vue_type_style_index_0_lang.BW_JCkOV.js → packages/components/lib/UIKit/BaseAutocomplete.vue.js} +25 -24
- package/dist/{chunks/BaseBadge.vue_vue_type_style_index_0_lang.BnYtlFXq.js → packages/components/lib/UIKit/BaseBadge.vue.js} +6 -6
- package/dist/{chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.CcfuB26u.js → packages/components/lib/UIKit/BaseBreadcrumb.vue.js} +7 -7
- package/dist/{chunks/BaseButton.vue_vue_type_script_setup_true_lang.CswNVEW_.js → packages/components/lib/UIKit/BaseButton.vue.js} +2 -2
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +37 -0
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +106 -0
- package/dist/{chunks/BaseDropDown.vue_vue_type_style_index_0_lang.z4eFD2_f.js → packages/components/lib/UIKit/BaseDropDown.vue.js} +12 -12
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +40 -0
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +211 -0
- package/dist/{chunks/BaseModal.vue_vue_type_style_index_0_lang.B8U_buif.js → packages/components/lib/UIKit/BaseModal.vue.js} +2 -2
- package/dist/{chunks/BasePagination.vue_vue_type_script_setup_true_lang.CkGMhOm-.js → packages/components/lib/UIKit/BasePagination.vue.js} +1 -1
- package/dist/{chunks/SelectItem.vue_vue_type_script_setup_true_lang.DvQ4ZKvE.js → packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js} +9 -9
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +207 -0
- package/dist/{chunks/BaseSnackbar.vue_vue_type_style_index_0_lang.DJqVfg6P.js → packages/components/lib/UIKit/BaseSnackbar.vue.js} +2 -2
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +127 -0
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +42 -0
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +41 -0
- package/dist/{chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.DMPiMivr.js → packages/components/lib/UIKit/BaseUploadFile.vue.js} +7 -7
- package/dist/{chunks/CheckboxBtn.vue_vue_type_style_index_0_lang.MYOfjOwM.js → packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js} +8 -8
- package/dist/{chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.aDZDPjgR.js → packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js} +4 -3
- package/dist/{chunks/RadioButton.vue_vue_type_script_setup_true_lang.g-a7DM3l.js → packages/components/lib/UIKit/Radio/RadioButton.vue.js} +3 -3
- package/dist/{chunks/RadioGroup.vue_vue_type_script_setup_true_lang.DtBZuHm2.js → packages/components/lib/UIKit/Radio/RadioGroup.vue.js} +3 -3
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +21 -0
- package/dist/{chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DEb8nfZp.js → packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js} +4 -4
- package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +82 -0
- package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +27 -0
- package/dist/{chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js → packages/components/lib/UIKit/Tab/BaseTab.vue.js} +3 -3
- package/dist/{chunks/BaseTabList.vue_vue_type_script_setup_true_lang.BXvkXKbT.js → packages/components/lib/UIKit/Tab/BaseTabList.vue.js} +3 -3
- package/dist/{chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CM1ObHXU.js → packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js} +1 -1
- package/dist/{chunks/BaseTabView.vue_vue_type_script_setup_true_lang.BocXkfTw.js → packages/components/lib/UIKit/Tab/BaseTabView.vue.js} +17 -17
- package/dist/{chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.yALl_gpB.js → packages/components/lib/chart/DoughnutChart.vue.js} +6 -6
- package/dist/{chunks/LineChart.vue_vue_type_script_setup_true_lang.Df20jEOd.js → packages/components/lib/chart/LineChart.vue.js} +7 -7
- package/dist/{chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BidNzYDc.js → packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js} +5 -5
- package/dist/{chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BnLNx3be.js → packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js} +3 -3
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +246 -0
- package/package.json +1 -1
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BVR-COlL.js +0 -19
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
- /package/dist/assets/{free-mode.css → swiper-free-mode.css} +0 -0
- /package/dist/assets/{thumbs.css → swiper-keyboard.css} +0 -0
- /package/dist/assets/{navigation.css → swiper-navigation.css} +0 -0
- /package/dist/assets/{pagination.css → swiper-pagination.css} +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as n, createElementBlock as o, openBlock as l, renderSlot as s, createElementVNode as i, normalizeClass as a, createCommentVNode as r } from "vue";
|
|
2
|
+
const c = { class: "base-tooltip" }, m = /* @__PURE__ */ n({
|
|
3
|
+
__name: "BaseTooltip",
|
|
4
|
+
props: {
|
|
5
|
+
theme: { default: () => ({
|
|
6
|
+
color: "blue",
|
|
7
|
+
size: "sm"
|
|
8
|
+
}) },
|
|
9
|
+
direction: { default: "top" },
|
|
10
|
+
customTooltipClass: { default: "" },
|
|
11
|
+
showTooltipContentManually: { type: Boolean, default: !0 },
|
|
12
|
+
tooltipContentClasses: { default: "" }
|
|
13
|
+
},
|
|
14
|
+
setup(t) {
|
|
15
|
+
return (e, u) => (l(), o("div", c, [
|
|
16
|
+
s(e.$slots, "trigger", {}, void 0, !0),
|
|
17
|
+
i("div", {
|
|
18
|
+
class: a(["bg-transparent", [
|
|
19
|
+
t.theme.size,
|
|
20
|
+
`${t.customTooltipClass ? t.customTooltipClass : "tooltip-content-wrapper"}`
|
|
21
|
+
]])
|
|
22
|
+
}, [
|
|
23
|
+
t.showTooltipContentManually ? (l(), o("div", {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: a(["tooltip-content uikit-shadow-lg uikit-shadow-w-primary/10", [
|
|
26
|
+
"base-tooltip-arrow",
|
|
27
|
+
t.direction,
|
|
28
|
+
t.theme.color,
|
|
29
|
+
t.theme.size,
|
|
30
|
+
t.tooltipContentClasses
|
|
31
|
+
]])
|
|
32
|
+
}, [
|
|
33
|
+
s(e.$slots, "content", {}, void 0, !0)
|
|
34
|
+
], 2)) : r("", !0)
|
|
35
|
+
], 2)
|
|
36
|
+
]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
m as default
|
|
41
|
+
};
|
|
@@ -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 d, 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: r }) {
|
|
17
|
+
const k = e, n = r, 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)) : d("", !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"])) : d("", !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 default
|
|
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 l, 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
|
-
|
|
4
|
+
const z = /* @__PURE__ */ m({
|
|
5
5
|
__name: "CheckboxBtn",
|
|
6
6
|
props: {
|
|
7
7
|
id: {},
|
|
@@ -30,11 +30,11 @@ import '../assets/CheckboxBtn.css';const z = /* @__PURE__ */ m({
|
|
|
30
30
|
checked: t
|
|
31
31
|
}), a("update:modelValue", t));
|
|
32
32
|
};
|
|
33
|
-
return (t,
|
|
33
|
+
return (t, i) => (d(), h("label", {
|
|
34
34
|
class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
|
|
35
|
-
onClick:
|
|
35
|
+
onClick: i[0] || (i[0] = (k) => a("click", k))
|
|
36
36
|
}, [
|
|
37
|
-
o(
|
|
37
|
+
o(l(p), {
|
|
38
38
|
"model-value": e.modelValue,
|
|
39
39
|
"data-cy": e.dataCy,
|
|
40
40
|
disabled: e.disabled,
|
|
@@ -48,9 +48,9 @@ import '../assets/CheckboxBtn.css';const z = /* @__PURE__ */ m({
|
|
|
48
48
|
"onUpdate:modelValue": r
|
|
49
49
|
}, {
|
|
50
50
|
default: u(() => [
|
|
51
|
-
o(
|
|
51
|
+
o(l(w), { class: "uikit-flex" }, {
|
|
52
52
|
default: u(() => [
|
|
53
|
-
e.modelValue === !0 ? (d(), x(
|
|
53
|
+
e.modelValue === !0 ? (d(), x(l(B), {
|
|
54
54
|
key: 0,
|
|
55
55
|
"fill-color": "#fff",
|
|
56
56
|
width: 12,
|
|
@@ -69,5 +69,5 @@ import '../assets/CheckboxBtn.css';const z = /* @__PURE__ */ m({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
export {
|
|
72
|
-
z as
|
|
72
|
+
z as default
|
|
73
73
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
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
|
|
4
|
-
|
|
3
|
+
import N from "./CheckboxBtn.vue.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
const T = ["id", "data-cy"], j = /* @__PURE__ */ v({
|
|
5
6
|
inheritAttrs: !1,
|
|
6
7
|
__name: "CheckboxGroup",
|
|
7
8
|
props: {
|
|
@@ -107,5 +108,5 @@ const T = ["id", "data-cy"], S = /* @__PURE__ */ v({
|
|
|
107
108
|
}
|
|
108
109
|
});
|
|
109
110
|
export {
|
|
110
|
-
|
|
111
|
+
j as default
|
|
111
112
|
};
|
|
@@ -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 f, openBlock as b, 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) => (b(), f("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 default
|
|
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
|
|
3
|
-
const b = ["data-cy"],
|
|
2
|
+
import B from "./RadioButton.vue.js";
|
|
3
|
+
const b = ["data-cy"], z = /* @__PURE__ */ C({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "RadioGroup",
|
|
6
6
|
props: /* @__PURE__ */ d({
|
|
@@ -56,5 +56,5 @@ const b = ["data-cy"], w = /* @__PURE__ */ C({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
z as default
|
|
60
60
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as s, createElementBlock as l, openBlock as r, normalizeClass as t, createElementVNode as a, renderSlot as o } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ s({
|
|
3
|
+
inheritAttrs: !1,
|
|
4
|
+
__name: "BaseShimmerLoader",
|
|
5
|
+
props: {
|
|
6
|
+
shimmerClasses: { default: "" }
|
|
7
|
+
},
|
|
8
|
+
setup(i) {
|
|
9
|
+
return (e, u) => (r(), l("div", {
|
|
10
|
+
class: t(["uikit-relative uikit-overflow-hidden uikit-bg-w-lavender", e.$attrs.class])
|
|
11
|
+
}, [
|
|
12
|
+
a("div", {
|
|
13
|
+
class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full -uikit-translate-x-full", i.shimmerClasses])
|
|
14
|
+
}, null, 2),
|
|
15
|
+
o(e.$slots, "default", {}, void 0, !0)
|
|
16
|
+
], 2));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
m as default
|
|
21
|
+
};
|
|
@@ -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 a, createBlock as m, normalizeStyle as s, normalizeClass as o } from "vue";
|
|
2
|
+
import u 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 (h, d) => (t(!0), n(l, null, a(e.lines, (r) => (t(), m(u, {
|
|
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 default
|
|
29
29
|
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { defineComponent as V, mergeModels as L, useCssVars as T, ref as m, useTemplateRef as y, useModel as E, watch as S, onMounted as C, createElementBlock as X, openBlock as $, createElementVNode as d, withModifiers as B } from "vue";
|
|
2
|
+
const D = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], P = /* @__PURE__ */ V({
|
|
3
|
+
__name: "SimpleSlider",
|
|
4
|
+
props: /* @__PURE__ */ L({
|
|
5
|
+
min: { default: 0 },
|
|
6
|
+
max: { default: 100 },
|
|
7
|
+
step: { default: 1 },
|
|
8
|
+
dataCy: {},
|
|
9
|
+
logarithmic: { type: Boolean, default: !1 }
|
|
10
|
+
}, {
|
|
11
|
+
modelValue: { default: 0 },
|
|
12
|
+
modelModifiers: {}
|
|
13
|
+
}),
|
|
14
|
+
emits: ["update:modelValue"],
|
|
15
|
+
setup(t) {
|
|
16
|
+
T((i) => ({
|
|
17
|
+
v0f43c897: r.value,
|
|
18
|
+
ec9c737a: s.value
|
|
19
|
+
}));
|
|
20
|
+
const u = y("customSlider"), l = E(t, "modelValue"), o = m(!1), s = m("50%"), r = m("50%"), c = (i = 0) => {
|
|
21
|
+
const e = t.logarithmic ? b(i) : x(i), a = (e - t.min) / (t.max - t.min), f = t.logarithmic ? h(e) : a * 100;
|
|
22
|
+
l.value = Math.round(e), s.value = `${Math.round(f)}%`, r.value = t.logarithmic ? `${Math.round(h(e))}%` : `${a * 100}%`;
|
|
23
|
+
}, x = (i = 0) => {
|
|
24
|
+
const e = Math.round((i - t.min) / t.step) * t.step + t.min;
|
|
25
|
+
return Math.max(t.min, Math.min(t.max, e));
|
|
26
|
+
}, k = (i = 0) => {
|
|
27
|
+
const e = Math.log10(t.min), a = Math.log10(t.max);
|
|
28
|
+
return Math.pow(10, e + i / 100 * (a - e));
|
|
29
|
+
}, h = (i = 0) => {
|
|
30
|
+
const e = Math.log10(t.min), a = Math.log10(t.max);
|
|
31
|
+
return (Math.log10(i) - e) / (a - e) * 100;
|
|
32
|
+
}, b = (i = 0) => {
|
|
33
|
+
if (t.step === 1)
|
|
34
|
+
return Math.max(t.min, Math.min(t.max, i));
|
|
35
|
+
const e = Math.pow(
|
|
36
|
+
10,
|
|
37
|
+
Math.round(Math.log10(i) / Math.log10(t.step)) * Math.log10(t.step)
|
|
38
|
+
);
|
|
39
|
+
return Math.max(t.min, Math.min(t.max, e));
|
|
40
|
+
}, v = (i) => {
|
|
41
|
+
if (!o.value || !u.value) return;
|
|
42
|
+
const e = u.value.getBoundingClientRect(), a = u.value.offsetWidth;
|
|
43
|
+
let n = ("touches" in i ? i.touches[0].clientX : i.clientX) - e.left;
|
|
44
|
+
n = Math.max(0, Math.min(a, n));
|
|
45
|
+
const w = t.logarithmic ? k(n / a * 100) : n / a * (t.max - t.min) + t.min;
|
|
46
|
+
c(w);
|
|
47
|
+
}, M = () => {
|
|
48
|
+
o.value = !0;
|
|
49
|
+
}, g = () => {
|
|
50
|
+
o.value = !1;
|
|
51
|
+
};
|
|
52
|
+
return S(
|
|
53
|
+
l,
|
|
54
|
+
(i) => {
|
|
55
|
+
c(i);
|
|
56
|
+
},
|
|
57
|
+
{ immediate: !0 }
|
|
58
|
+
), C(() => {
|
|
59
|
+
document.addEventListener("mousemove", v), document.addEventListener("mouseup", g), document.addEventListener("touchmove", v, { passive: !0 }), document.addEventListener("touchend", g, { passive: !0 });
|
|
60
|
+
}), (i, e) => ($(), X("div", null, [
|
|
61
|
+
d("div", {
|
|
62
|
+
ref: "customSlider",
|
|
63
|
+
class: "uikit-relative uikit-my-20px uikit-h-1 uikit-rounded-2xs uikit-bg-w-secondary",
|
|
64
|
+
role: "slider",
|
|
65
|
+
"aria-valuemin": t.min,
|
|
66
|
+
"aria-valuemax": t.max,
|
|
67
|
+
"aria-valuenow": l.value,
|
|
68
|
+
tabindex: "0"
|
|
69
|
+
}, [
|
|
70
|
+
e[2] || (e[2] = d("div", { class: "slider-track uikit-absolute uikit-left-0 uikit-top-0 uikit-h-full uikit-rounded-2xs uikit-bg-w-primary" }, null, -1)),
|
|
71
|
+
d("div", {
|
|
72
|
+
class: "slider-thumb uikit-absolute -uikit-top-2 uikit-size-20px -uikit-translate-x-1/2 uikit-cursor-pointer uikit-rounded-full uikit-border-2 uikit-border-solid uikit-border-w-primary uikit-bg-white",
|
|
73
|
+
onMousedown: e[0] || (e[0] = (a) => M()),
|
|
74
|
+
onTouchstart: e[1] || (e[1] = B((a) => M(), ["prevent"]))
|
|
75
|
+
}, null, 32)
|
|
76
|
+
], 8, D)
|
|
77
|
+
]));
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
export {
|
|
81
|
+
P as default
|
|
82
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as t, createElementBlock as o, openBlock as s, createElementVNode as n } from "vue";
|
|
2
|
+
const c = {
|
|
3
|
+
viewBox: "0 0 128 128",
|
|
4
|
+
class: "icon-spin uikit-h-6 uikit-w-6"
|
|
5
|
+
}, i = ["stroke", "stroke-width"], k = /* @__PURE__ */ t({
|
|
6
|
+
__name: "StaticSpinner",
|
|
7
|
+
props: {
|
|
8
|
+
thickness: { default: 9 },
|
|
9
|
+
strokeColor: { default: "#fff" }
|
|
10
|
+
},
|
|
11
|
+
setup(e) {
|
|
12
|
+
return (r, l) => (s(), o("svg", c, [
|
|
13
|
+
n("circle", {
|
|
14
|
+
class: "path",
|
|
15
|
+
cx: "64",
|
|
16
|
+
cy: "64",
|
|
17
|
+
r: "42",
|
|
18
|
+
fill: "none",
|
|
19
|
+
stroke: e.strokeColor,
|
|
20
|
+
"stroke-width": e.thickness
|
|
21
|
+
}, null, 8, i)
|
|
22
|
+
]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
k as default
|
|
27
|
+
};
|
|
@@ -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
|
|
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";
|
|
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,
|
|
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)
|
|
39
39
|
], 10, B))), 128))
|
|
40
40
|
], 10, v));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
export {
|
|
44
|
-
$ as
|
|
44
|
+
$ as default
|
|
45
45
|
};
|
|
@@ -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
|
|
3
|
-
import
|
|
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";
|
|
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
|
+
}), l = 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", l), 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 = l.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 = l.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) => l.value.find((a) => a["active-tab-panel-idx"] === e);
|
|
58
58
|
return x(
|
|
59
|
-
() =>
|
|
59
|
+
() => l.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 = l.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) => (i(), 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" ? (i(), 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
|
+
(i(!0), m(g, null, O(l.value, (t, n) => (i(), m(g, { key: n }, [
|
|
83
|
+
N(n) ? (i(), 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 ? (i(), 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" ? (i(), 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 default
|
|
107
107
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as s, onBeforeMount as
|
|
1
|
+
import { defineComponent as s, onBeforeMount as u, createBlock as i, createCommentVNode as c, unref as o, openBlock as m } from "vue";
|
|
2
2
|
import { Doughnut as p } from "vue-chartjs";
|
|
3
3
|
import { Chart as l, DoughnutController as d, ArcElement as f } from "chart.js";
|
|
4
|
-
import { useChartJsModules as g } from "
|
|
5
|
-
const
|
|
4
|
+
import { useChartJsModules as g } from "../../../../chart/composables/useChartjsModules.js";
|
|
5
|
+
const y = /* @__PURE__ */ s({
|
|
6
6
|
__name: "DoughnutChart",
|
|
7
7
|
props: {
|
|
8
8
|
options: {},
|
|
@@ -13,9 +13,9 @@ const _ = /* @__PURE__ */ s({
|
|
|
13
13
|
const e = t, { registerPlugins: r, resolved: n, executeRegistration: a } = g(
|
|
14
14
|
e.options
|
|
15
15
|
);
|
|
16
|
-
return
|
|
16
|
+
return u(async () => {
|
|
17
17
|
await a(r);
|
|
18
|
-
}), (h, C) => o(n) ? (m(),
|
|
18
|
+
}), (h, C) => o(n) ? (m(), i(o(p), {
|
|
19
19
|
key: 0,
|
|
20
20
|
options: t.options,
|
|
21
21
|
data: t.data
|
|
@@ -23,5 +23,5 @@ const _ = /* @__PURE__ */ s({
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
y as default
|
|
27
27
|
};
|
|
@@ -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 v, LinearScale as y } from "chart.js";
|
|
4
|
+
import { useChartJsModules as M } 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
|
+
v,
|
|
18
|
+
y
|
|
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
|
+
} = M(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 }), (P, R) => 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 default
|
|
42
42
|
};
|
|
@@ -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 u, renderSlot as t, openBlock as f, normalizeClass as i } from "vue";
|
|
2
|
+
const b = /* @__PURE__ */ l({
|
|
3
3
|
__name: "IntersectionObservable",
|
|
4
4
|
props: {
|
|
5
5
|
observer: { default: null },
|
|
@@ -9,16 +9,16 @@ const d = /* @__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 }) : (f(), u("div", {
|
|
13
13
|
key: 0,
|
|
14
14
|
ref_key: "root",
|
|
15
15
|
ref: e,
|
|
16
|
-
class:
|
|
16
|
+
class: i(o.$attrs["root-classes"])
|
|
17
17
|
}, [
|
|
18
18
|
t(o.$slots, "default")
|
|
19
19
|
], 2));
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
b as default
|
|
24
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, reactive as
|
|
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";
|
|
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 = d({ root: null, isVisible: !1 }), e = p(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 default
|
|
50
50
|
};
|