@wikicasa-dev/components 2.1.23 → 2.1.24-alpha.1
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/UIKit/AccessibleSelect.js +1 -1
- 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 +1 -1
- package/dist/UIKit/BaseAlert.js +2 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -1
- package/dist/UIKit/BaseBadge.js +2 -2
- package/dist/UIKit/BaseBreadcrumb.js +1 -1
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +2 -2
- package/dist/UIKit/BaseComplexToggle.js +2 -2
- package/dist/UIKit/BaseDropDown.js +1 -1
- package/dist/UIKit/BaseFloatingLabel.js +2 -2
- package/dist/UIKit/BaseIcon.js +2 -2
- package/dist/UIKit/BaseInput.js +2 -2
- package/dist/UIKit/BaseModal.js +2 -2
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BasePaper.js +2 -2
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +2 -2
- package/dist/UIKit/BaseSnackbar.d.ts +40 -20
- package/dist/UIKit/BaseSnackbar.js +3 -5
- package/dist/UIKit/BaseTextarea.js +2 -2
- package/dist/UIKit/BaseToggle.js +2 -2
- package/dist/UIKit/BaseTooltip.js +2 -2
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -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 +2 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.js +2 -2
- package/dist/UIKit/StaticSpinner.js +2 -2
- 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/UIKit/types.d.ts +1 -0
- package/dist/_virtual/polyline.js +1 -1
- package/dist/assets/{packages/components/lib → lib}/UIKit/BaseBadge.css +1 -1
- package/dist/assets/lib/UIKit/BaseCard.css +1 -0
- package/dist/assets/lib/UIKit/BaseComplexToggle.css +1 -0
- package/dist/assets/lib/UIKit/BaseModal.css +1 -0
- package/dist/assets/lib/UIKit/BaseSnackbar.css +1 -0
- package/dist/assets/lib/UIKit/Slider/SimpleSlider.css +1 -0
- package/dist/assets/node_modules/swiper/modules/autoplay.css +0 -0
- package/dist/assets/node_modules/swiper/modules/navigation.css +1 -0
- package/dist/assets/node_modules/swiper/swiper.css +1 -0
- package/dist/assets/src/tailwind.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.d.ts +11 -4
- package/dist/components/carousel/SwiperCarousel.js +3 -3
- package/dist/index.js +89 -88
- package/dist/lazyModules/Swiper/autoplay.js +5 -0
- package/dist/lazyModules/Swiper/controller.js +5 -0
- package/dist/lazyModules/Swiper/free-mode.js +5 -0
- package/dist/lazyModules/Swiper/keyboard.js +5 -0
- package/dist/lazyModules/Swiper/navigation.js +5 -0
- package/dist/lazyModules/Swiper/pagination.js +5 -0
- package/dist/lazyModules/Swiper/thumbs.js +5 -0
- package/dist/lib/UIKit/AccessibleSelect.vue.js +211 -0
- package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordion.vue.js +3 -3
- package/dist/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +60 -0
- package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionContent.vue.js +10 -10
- package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionItem.vue.js +54 -54
- package/dist/lib/UIKit/BaseAlert.vue.js +19 -0
- package/dist/lib/UIKit/BaseAutocomplete.vue.js +192 -0
- package/dist/lib/UIKit/BaseBadge.vue.js +19 -0
- package/dist/lib/UIKit/BaseBreadcrumb.vue.js +58 -0
- package/dist/{packages/components/lib → lib}/UIKit/BaseButton.vue.js +18 -18
- package/dist/lib/UIKit/BaseCard.vue.js +37 -0
- package/dist/{packages/components/lib → lib}/UIKit/BaseComplexToggle.vue.js +29 -29
- package/dist/lib/UIKit/BaseDropDown.vue.js +135 -0
- package/dist/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.vue.js +14 -14
- package/dist/lib/UIKit/BaseIcon.vue.js +27 -0
- package/dist/{packages/components/lib → lib}/UIKit/BaseInput.vue.js +86 -86
- package/dist/{packages/components/lib → lib}/UIKit/BaseModal.vue.js +61 -61
- package/dist/{packages/components/lib → lib}/UIKit/BasePagination.vue.js +93 -95
- package/dist/lib/UIKit/BaseSelect/SelectItem.vue.js +41 -0
- package/dist/{packages/components/lib → lib}/UIKit/BaseSlider.vue.js +45 -45
- package/dist/lib/UIKit/BaseSnackbar.vue.js +119 -0
- package/dist/{packages/components/lib → lib}/UIKit/BaseTextarea.vue.js +57 -57
- package/dist/{packages/components/lib → lib}/UIKit/BaseToggle.vue.js +15 -15
- package/dist/lib/UIKit/BaseTooltip.vue.js +41 -0
- package/dist/lib/UIKit/BaseUploadFile.vue.js +71 -0
- package/dist/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.vue.js +26 -26
- package/dist/lib/UIKit/Checkbox/CheckboxGroup.vue.js +112 -0
- package/dist/lib/UIKit/Radio/RadioButton.vue.js +58 -0
- package/dist/lib/UIKit/Radio/RadioGroup.vue.js +60 -0
- package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +7 -7
- package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +8 -8
- package/dist/{packages/components/lib → lib}/UIKit/Slider/SimpleSlider.vue.js +7 -7
- package/dist/{packages/components/lib → lib}/UIKit/StaticSpinner.vue.js +3 -3
- package/dist/lib/UIKit/Tab/BaseTabList.vue.js +45 -0
- package/dist/lib/UIKit/Tab/BaseTabPanel.vue.js +25 -0
- package/dist/lib/UIKit/Tab/BaseTabView.vue.js +107 -0
- package/dist/lib/chart/DoughnutChart.vue.js +27 -0
- package/dist/lib/chart/LineChart.vue.js +42 -0
- package/dist/lib/components/IntersectionObserver/IntersectionObservable.vue.js +24 -0
- package/dist/{packages/components/lib → lib}/components/carousel/SwiperCarousel.vue.js +26 -27
- package/dist/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +41 -0
- package/dist/node_modules/{.pnpm/js-cookie@3.0.5/node_modules/js-cookie → js-cookie}/dist/js.cookie.js +0 -1
- package/dist/node_modules/swiper/modules/autoplay.js +128 -0
- package/dist/node_modules/swiper/modules/controller.js +100 -0
- package/dist/node_modules/swiper/modules/free-mode.js +123 -0
- package/dist/node_modules/swiper/modules/keyboard.js +66 -0
- package/dist/node_modules/swiper/modules/navigation.js +136 -0
- package/dist/node_modules/swiper/modules/pagination.js +226 -0
- package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/thumbs.js +33 -34
- package/dist/node_modules/swiper/modules/zoom.js +309 -0
- package/dist/node_modules/swiper/shared/classes-to-selector.js +6 -0
- package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/shared/ssr-window.esm.js +9 -10
- package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/shared/utils.js +42 -39
- package/package.json +34 -30
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css +0 -1
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseCard.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseModal.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/BaseSnackbar.css +0 -1
- package/dist/assets/packages/components/lib/UIKit/Slider/SimpleSlider.css +0 -1
- package/dist/assets/packages/components/src/tailwind.css +0 -1
- package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -41
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js +0 -1
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js +0 -129
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +0 -1
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js +0 -101
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js +0 -125
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +0 -1
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js +0 -67
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js +0 -127
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js +0 -227
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +0 -1
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js +0 -310
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/classes-to-selector.js +0 -6
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +0 -5
- package/dist/packages/components/lazyModules/Swiper/controller.js +0 -5
- package/dist/packages/components/lazyModules/Swiper/free-mode.js +0 -5
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +0 -5
- package/dist/packages/components/lazyModules/Swiper/navigation.js +0 -5
- package/dist/packages/components/lazyModules/Swiper/pagination.js +0 -5
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +0 -5
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +0 -213
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +0 -60
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +0 -19
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +0 -192
- package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +0 -19
- package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +0 -58
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
- package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +0 -137
- package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +0 -27
- package/dist/packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js +0 -41
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +0 -81
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
- package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +0 -71
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +0 -114
- package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +0 -58
- package/dist/packages/components/lib/UIKit/Radio/RadioGroup.vue.js +0 -62
- package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +0 -45
- package/dist/packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js +0 -25
- package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +0 -107
- package/dist/packages/components/lib/chart/DoughnutChart.vue.js +0 -27
- package/dist/packages/components/lib/chart/LineChart.vue.js +0 -42
- package/dist/packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js +0 -24
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseAlert.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseIcon.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseInput.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BasePaper.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseSlider.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTextarea.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseToggle.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTooltip.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/UIKit/StaticSpinner.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel.css +0 -0
- /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel2.css +0 -0
- /package/dist/assets/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/free-mode.css +0 -0
- /package/dist/assets/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/pagination.css +0 -0
- /package/dist/assets/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/zoom.css +0 -0
- /package/dist/{packages/components/lib → lib}/UIKit/BasePaper.vue.js +0 -0
- /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTab.vue.js +0 -0
- /package/dist/{packages/components/lib → lib}/components/IntersectionObserver/IntersectionObserver.vue.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/ArrowIcon.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/CloseIcon.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/PharmacyIcon.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/WarningIconRounded.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/ArrayUtils.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/DeviceDetectionUtils.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/FunctionUtils.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/GenericUtils.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/ObjectUtils.js +0 -0
- /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/StringUtils.js +0 -0
- /package/dist/node_modules/{.pnpm/google-polyline@1.0.3/node_modules/google-polyline → google-polyline}/lib/decode.js +0 -0
- /package/dist/node_modules/{.pnpm/google-polyline@1.0.3/node_modules/google-polyline → google-polyline}/lib/encode.js +0 -0
- /package/dist/node_modules/{.pnpm/google-polyline@1.0.3/node_modules/google-polyline → google-polyline}/lib/polyline.js +0 -0
- /package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/shared/create-element-if-not-defined.js +0 -0
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, ref as b, watch as m, createElementBlock as o, openBlock as s, normalizeClass as t, createElementVNode as l, createBlock as h, createCommentVNode as n, renderSlot as v } from "vue";
|
|
2
|
-
import w from "../../../../UIKit/BaseFloatingLabel.js";
|
|
3
|
-
const C = ["innerHTML"], g = ["for"], y = ["id", "multiple", "accept"], B = /* @__PURE__ */ c({
|
|
4
|
-
inheritAttrs: !1,
|
|
5
|
-
__name: "BaseUploadFile",
|
|
6
|
-
props: {
|
|
7
|
-
id: {},
|
|
8
|
-
labelText: { default: "" },
|
|
9
|
-
clear: { type: Boolean, default: !1 },
|
|
10
|
-
labelClasses: { default: "" },
|
|
11
|
-
floatingLabelClasses: { default: "" },
|
|
12
|
-
fieldsetClasses: { default: "" },
|
|
13
|
-
legendClasses: { default: "" }
|
|
14
|
-
},
|
|
15
|
-
emits: ["cleared", "uploaded"],
|
|
16
|
-
setup(r, { emit: d }) {
|
|
17
|
-
const k = r, u = d, a = b("");
|
|
18
|
-
m(
|
|
19
|
-
() => k.clear,
|
|
20
|
-
(e) => {
|
|
21
|
-
e && (a.value = "", u("cleared"));
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
const p = ({ target: e }) => {
|
|
25
|
-
if (!e) return;
|
|
26
|
-
const i = e.files;
|
|
27
|
-
i?.length && (a.value = i[0].name, u("uploaded", i[0]));
|
|
28
|
-
};
|
|
29
|
-
return (e, i) => (s(), o("div", {
|
|
30
|
-
class: t(["base-upload-file-wrapper uikit-relative", [e.$attrs.class]])
|
|
31
|
-
}, [
|
|
32
|
-
l("fieldset", {
|
|
33
|
-
class: t(["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-overflow-hidden uikit-rounded-xs uikit-border uikit-border-dashed uikit-border-w-secondary uikit-bg-w-lavender uikit-px-2 uikit-py-0 uikit-text-start", e.fieldsetClasses])
|
|
34
|
-
}, [
|
|
35
|
-
e.labelText ? (s(), o("legend", {
|
|
36
|
-
key: 0,
|
|
37
|
-
class: t(["uikit-invisible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text", e.legendClasses])
|
|
38
|
-
}, [
|
|
39
|
-
l("span", {
|
|
40
|
-
class: "uikit-visible uikit-inline-block uikit-px-5px uikit-opacity-0",
|
|
41
|
-
innerHTML: e.labelText
|
|
42
|
-
}, null, 8, C)
|
|
43
|
-
], 2)) : n("", !0)
|
|
44
|
-
], 2),
|
|
45
|
-
e.labelText ? (s(), h(w, {
|
|
46
|
-
key: 0,
|
|
47
|
-
class: t(e.floatingLabelClasses),
|
|
48
|
-
"label-text": e.labelText,
|
|
49
|
-
"label-state": "floating-label",
|
|
50
|
-
"label-classes": "!-uikit-top-1"
|
|
51
|
-
}, null, 8, ["class", "label-text"])) : n("", !0),
|
|
52
|
-
l("label", {
|
|
53
|
-
class: t(["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
|
-
for: e.id
|
|
55
|
-
}, [
|
|
56
|
-
l("input", {
|
|
57
|
-
id: e.id,
|
|
58
|
-
multiple: e.$attrs.multiple,
|
|
59
|
-
type: "file",
|
|
60
|
-
class: "uikit-hidden",
|
|
61
|
-
accept: e.$attrs.accept,
|
|
62
|
-
onInput: i[0] || (i[0] = (f) => p(f))
|
|
63
|
-
}, null, 40, y),
|
|
64
|
-
v(e.$slots, "label", { filename: a.value })
|
|
65
|
-
], 10, g)
|
|
66
|
-
], 2));
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
B as default
|
|
71
|
-
};
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as v, computed as h, watch as x, renderSlot as m, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as b, Fragment as A, renderList as I, createBlock as R, unref as K } from "vue";
|
|
2
|
-
import { isArrNullOrEmpty as V } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js";
|
|
3
|
-
import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
4
|
-
import { stringToHyphened as L } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js";
|
|
5
|
-
import "../../../../../_virtual/polyline.js";
|
|
6
|
-
import G from "../../../../../UIKit/Checkbox/CheckboxBtn.js";
|
|
7
|
-
const N = ["id", "data-cy"], F = /* @__PURE__ */ y({
|
|
8
|
-
inheritAttrs: !1,
|
|
9
|
-
__name: "CheckboxGroup",
|
|
10
|
-
props: {
|
|
11
|
-
checkboxData: { default() {
|
|
12
|
-
return [];
|
|
13
|
-
} },
|
|
14
|
-
formCheckInline: { type: Boolean, default: !1 },
|
|
15
|
-
reset: { type: Boolean, default: !1 },
|
|
16
|
-
checkboxContainerClasses: { default: "" },
|
|
17
|
-
autoCheckResetAll: { type: Boolean, default: !1 },
|
|
18
|
-
autoCheckResetEmpty: { type: Boolean, default: !1 },
|
|
19
|
-
manualToggleResetButton: { type: Boolean, default: !1 },
|
|
20
|
-
getKey: { default() {
|
|
21
|
-
return (r) => typeof r == "string" || typeof r == "number" ? `${r}` : `${r.id}`;
|
|
22
|
-
} },
|
|
23
|
-
groupId: { default: "" },
|
|
24
|
-
dataCy: { default: "" }
|
|
25
|
-
},
|
|
26
|
-
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
27
|
-
setup(r, { emit: g }) {
|
|
28
|
-
const o = r, n = g, c = v(/* @__PURE__ */ new Map()), s = h(() => {
|
|
29
|
-
for (const e of o.checkboxData)
|
|
30
|
-
if (e.reset) return e;
|
|
31
|
-
return null;
|
|
32
|
-
}), C = h(() => o.checkboxData.length), f = h(() => {
|
|
33
|
-
let e = 0;
|
|
34
|
-
return c.value.forEach((t) => {
|
|
35
|
-
t.checked && e++;
|
|
36
|
-
}), e;
|
|
37
|
-
});
|
|
38
|
-
(() => {
|
|
39
|
-
const e = [];
|
|
40
|
-
for (const t of o.checkboxData)
|
|
41
|
-
t.checked = !!t.checked, c.value.set(
|
|
42
|
-
`${t.id}`,
|
|
43
|
-
t
|
|
44
|
-
), t.checked && e.push(t);
|
|
45
|
-
n("update:modelValue", e);
|
|
46
|
-
})();
|
|
47
|
-
const u = (e, t) => {
|
|
48
|
-
const a = c.value.get(e);
|
|
49
|
-
if (a) {
|
|
50
|
-
if (t) {
|
|
51
|
-
c.value.set(e, { ...a, ...t });
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
c.value.set(e, { ...a, checked: !a.checked });
|
|
55
|
-
}
|
|
56
|
-
}, k = () => {
|
|
57
|
-
c.value.forEach((e) => {
|
|
58
|
-
e.checked = !1;
|
|
59
|
-
});
|
|
60
|
-
}, p = () => {
|
|
61
|
-
k(), n("update:modelValue", []), n("resetted");
|
|
62
|
-
}, d = (e) => c.value.get(o.getKey(e))?.checked ?? !1, i = (e) => {
|
|
63
|
-
if (V(o.checkboxData)) return;
|
|
64
|
-
const t = c.value.get(e.id);
|
|
65
|
-
t?.reset && e.checked ? k() : s.value && !t?.reset && u(o.getKey(s.value), { checked: !1 }), u(`${e.id}`), o.autoCheckResetAll && s.value && f.value === C.value - 1 && c.value.forEach((l) => {
|
|
66
|
-
l.checked = !!l.reset;
|
|
67
|
-
}), o.autoCheckResetEmpty && s.value && !f.value && (!o.manualToggleResetButton || !t?.reset) && u(o.getKey(s.value), { checked: !0 });
|
|
68
|
-
const a = [];
|
|
69
|
-
c.value.forEach((l) => {
|
|
70
|
-
l.checked && a.push(l);
|
|
71
|
-
}), n("update:modelValue", a), n("checkedGroup", o.groupId);
|
|
72
|
-
};
|
|
73
|
-
return x(
|
|
74
|
-
() => o.reset,
|
|
75
|
-
(e) => {
|
|
76
|
-
e && p();
|
|
77
|
-
}
|
|
78
|
-
), (e, t) => m(e.$slots, "default", {
|
|
79
|
-
isActive: d,
|
|
80
|
-
handleChange: i,
|
|
81
|
-
checkboxesData: e.checkboxData
|
|
82
|
-
}, () => [
|
|
83
|
-
D("div", {
|
|
84
|
-
id: e.groupId,
|
|
85
|
-
class: E(["checkbox-group-container", e.$attrs.class || ""]),
|
|
86
|
-
"data-cy": e.dataCy
|
|
87
|
-
}, [
|
|
88
|
-
m(e.$slots, "checkbox_elements", {
|
|
89
|
-
isActive: d,
|
|
90
|
-
handleChange: i,
|
|
91
|
-
checkboxesData: e.checkboxData,
|
|
92
|
-
reset: p
|
|
93
|
-
}, () => [
|
|
94
|
-
e.checkboxData ? (b(!0), $(A, { key: 0 }, I(e.checkboxData, (a, l) => (b(), R(G, {
|
|
95
|
-
id: e.getKey(a),
|
|
96
|
-
key: l,
|
|
97
|
-
"data-cy": a.dataCy ?? `checkbox_${K(L)(`${a.label}`)}`,
|
|
98
|
-
label: a.label,
|
|
99
|
-
inline: e.formCheckInline,
|
|
100
|
-
"model-value": d(a),
|
|
101
|
-
"container-class": [
|
|
102
|
-
e.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
|
|
103
|
-
e.checkboxContainerClasses
|
|
104
|
-
],
|
|
105
|
-
onChange: i
|
|
106
|
-
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "container-class"]))), 128)) : B("", !0)
|
|
107
|
-
])
|
|
108
|
-
], 10, N)
|
|
109
|
-
]);
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
export {
|
|
113
|
-
F as default
|
|
114
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, useId as m, computed as c, createElementBlock as f, openBlock as p, withModifiers as l, createElementVNode as n, normalizeClass as s, createTextVNode as b, toDisplayString as h } from "vue";
|
|
2
|
-
const C = ["id", "name", "checked"], V = ["for"], y = /* @__PURE__ */ k({
|
|
3
|
-
__name: "RadioButton",
|
|
4
|
-
props: {
|
|
5
|
-
id: {},
|
|
6
|
-
name: {},
|
|
7
|
-
label: {},
|
|
8
|
-
modelValue: { type: Boolean, default: !1 },
|
|
9
|
-
inputClasses: {},
|
|
10
|
-
labelClasses: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["change", "update:modelValue"],
|
|
13
|
-
setup(i, { emit: d }) {
|
|
14
|
-
const o = d, a = m(), u = c(() => `${i.id ?? a}`), r = () => {
|
|
15
|
-
if (i.modelValue) return;
|
|
16
|
-
const e = {
|
|
17
|
-
id: i.id ?? a,
|
|
18
|
-
label: i.label,
|
|
19
|
-
name: i.name
|
|
20
|
-
};
|
|
21
|
-
o("change", e), o("update:modelValue", !i.modelValue);
|
|
22
|
-
};
|
|
23
|
-
return (e, t) => (p(), f("div", {
|
|
24
|
-
class: "uikit-inline-block",
|
|
25
|
-
onClick: l(r, ["stop"])
|
|
26
|
-
}, [
|
|
27
|
-
n("input", {
|
|
28
|
-
id: u.value,
|
|
29
|
-
ref: "checkbox",
|
|
30
|
-
type: "radio",
|
|
31
|
-
class: "uikit-pointer-events-none uikit-hidden",
|
|
32
|
-
name: e.name,
|
|
33
|
-
checked: e.modelValue,
|
|
34
|
-
onChange: t[0] || (t[0] = l(() => {
|
|
35
|
-
}, ["prevent"])),
|
|
36
|
-
onClick: t[1] || (t[1] = l(() => {
|
|
37
|
-
}, ["prevent"]))
|
|
38
|
-
}, null, 40, C),
|
|
39
|
-
n("label", {
|
|
40
|
-
class: s([e.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
|
|
41
|
-
for: u.value
|
|
42
|
-
}, [
|
|
43
|
-
n("span", {
|
|
44
|
-
class: s(["uikit-flex-no-shrink uikit-mr-2 uikit-inline-block uikit-h-4 uikit-w-4 uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-transition-colors uikit-duration-200", [
|
|
45
|
-
{
|
|
46
|
-
"checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": e.modelValue
|
|
47
|
-
},
|
|
48
|
-
e.inputClasses
|
|
49
|
-
]])
|
|
50
|
-
}, null, 2),
|
|
51
|
-
b(" " + h(e.label), 1)
|
|
52
|
-
], 10, V)
|
|
53
|
-
]));
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
export {
|
|
57
|
-
y as default
|
|
58
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, mergeModels as d, useModel as C, ref as h, watch as $, renderSlot as u, createElementVNode as V, normalizeClass as c, createElementBlock as k, openBlock as m, Fragment as R, renderList as g, createBlock as y } from "vue";
|
|
2
|
-
import b from "./RadioButton.vue.js";
|
|
3
|
-
const B = ["data-cy"], w = /* @__PURE__ */ p({
|
|
4
|
-
inheritAttrs: !1,
|
|
5
|
-
__name: "RadioGroup",
|
|
6
|
-
props: /* @__PURE__ */ d({
|
|
7
|
-
radioValues: { default: () => [] },
|
|
8
|
-
dataCy: {},
|
|
9
|
-
radioContainerClasses: {}
|
|
10
|
-
}, {
|
|
11
|
-
resetRadio: {
|
|
12
|
-
default: !1
|
|
13
|
-
},
|
|
14
|
-
resetRadioModifiers: {}
|
|
15
|
-
}),
|
|
16
|
-
emits: /* @__PURE__ */ d(["update:modelValue"], ["update:resetRadio"]),
|
|
17
|
-
setup(o, { emit: f }) {
|
|
18
|
-
const i = f, n = C(o, "resetRadio"), a = h(null), l = (e) => {
|
|
19
|
-
a.value = e, i("update:modelValue", e);
|
|
20
|
-
}, t = () => {
|
|
21
|
-
a.value = null, n.value = !1, i("update:modelValue", null);
|
|
22
|
-
}, r = (e) => a.value ? `${a.value.id}` == `${e.id}` : !1;
|
|
23
|
-
return (() => {
|
|
24
|
-
for (const e of o.radioValues)
|
|
25
|
-
if (e.active) {
|
|
26
|
-
l(e);
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
})(), $(n, (e) => {
|
|
30
|
-
e && t();
|
|
31
|
-
}), (e, _) => u(e.$slots, "default", {
|
|
32
|
-
handleClick: l,
|
|
33
|
-
activeValue: a.value,
|
|
34
|
-
reset: t,
|
|
35
|
-
isActive: r
|
|
36
|
-
}, () => [
|
|
37
|
-
V("div", {
|
|
38
|
-
class: c(["radio-group-container", e.$attrs.class]),
|
|
39
|
-
"data-cy": e.dataCy
|
|
40
|
-
}, [
|
|
41
|
-
u(e.$slots, "radio_elements", {
|
|
42
|
-
handleClick: l,
|
|
43
|
-
activeValue: a.value,
|
|
44
|
-
reset: t,
|
|
45
|
-
isActive: r
|
|
46
|
-
}, () => [
|
|
47
|
-
(m(!0), k(R, null, g(e.radioValues, (s, v) => (m(), y(b, {
|
|
48
|
-
id: s.id,
|
|
49
|
-
key: v,
|
|
50
|
-
class: c(e.radioContainerClasses),
|
|
51
|
-
label: `${s.label}`,
|
|
52
|
-
"model-value": `${s.id}` == `${a.value?.id}`,
|
|
53
|
-
onChange: l
|
|
54
|
-
}, null, 8, ["id", "class", "label", "model-value"]))), 128))
|
|
55
|
-
])
|
|
56
|
-
], 10, B)
|
|
57
|
-
]);
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
w as default
|
|
62
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, inject as l, createElementBlock as s, openBlock as t, normalizeClass as o, Fragment as m, renderList as y, unref as i, createBlock as C, createCommentVNode as h, toDisplayString as _, resolveDynamicComponent as f } from "vue";
|
|
2
|
-
const v = ["aria-labelledby", "data-cy"], B = ["id", "data-cy", "aria-selected", "aria-controls", "tabindex", "onClick"], F = { key: 0 }, $ = /* @__PURE__ */ p({
|
|
3
|
-
__name: "BaseTabList",
|
|
4
|
-
props: {
|
|
5
|
-
dataCy: {},
|
|
6
|
-
uid: {},
|
|
7
|
-
tabListClasses: {}
|
|
8
|
-
},
|
|
9
|
-
emits: ["tabClick"],
|
|
10
|
-
setup(L, { emit: c }) {
|
|
11
|
-
const d = l("tabs"), n = l("isTabActive"), b = l("handleClick"), u = c;
|
|
12
|
-
return (r, g) => (t(), s("div", {
|
|
13
|
-
role: "tablist",
|
|
14
|
-
"aria-labelledby": `tablist-${r.uid}`,
|
|
15
|
-
class: o(r.tabListClasses),
|
|
16
|
-
"data-cy": r.dataCy
|
|
17
|
-
}, [
|
|
18
|
-
(t(!0), s(m, null, y(i(d), (e, a) => (t(), s("button", {
|
|
19
|
-
id: e.tabId,
|
|
20
|
-
key: a,
|
|
21
|
-
"data-cy": e["data-cy"],
|
|
22
|
-
type: "button",
|
|
23
|
-
role: "tab",
|
|
24
|
-
"aria-selected": i(n)(a),
|
|
25
|
-
"aria-controls": `base-tab-panel-${a}-${r.uid}`,
|
|
26
|
-
tabindex: i(n)(a) ? void 0 : -1,
|
|
27
|
-
class: o([
|
|
28
|
-
"uikit-bg-transparent uikit-p-5px",
|
|
29
|
-
{
|
|
30
|
-
"uikit-border-b-2 uikit-border-solid uikit-border-w-primary uikit-font-semibold": i(n)(a)
|
|
31
|
-
},
|
|
32
|
-
e.class
|
|
33
|
-
]),
|
|
34
|
-
onClick: (k) => {
|
|
35
|
-
i(b)(a, e), u("tabClick", k, a, e);
|
|
36
|
-
}
|
|
37
|
-
}, [
|
|
38
|
-
e["header-title"] ? (t(), s("span", F, _(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (t(), C(f(e.renderFn.children.header), { key: 1 })) : h("", !0)
|
|
39
|
-
], 10, B))), 128))
|
|
40
|
-
], 10, v));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
$ as default
|
|
45
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, withDirectives as l, createElementBlock as t, openBlock as i, normalizeClass as o, renderSlot as s, vShow as r } from "vue";
|
|
2
|
-
const d = ["id", "aria-labelledby", "data-active"], b = /* @__PURE__ */ a({
|
|
3
|
-
__name: "BaseTabPanel",
|
|
4
|
-
props: {
|
|
5
|
-
id: {},
|
|
6
|
-
active: { type: Boolean, default: !1 },
|
|
7
|
-
labelledBy: {}
|
|
8
|
-
},
|
|
9
|
-
setup(n) {
|
|
10
|
-
return (e, c) => l((i(), t("div", {
|
|
11
|
-
id: e.id,
|
|
12
|
-
role: "tabpanel",
|
|
13
|
-
"aria-labelledby": e.labelledBy,
|
|
14
|
-
class: o(e.$attrs.class),
|
|
15
|
-
"data-active": e.active
|
|
16
|
-
}, [
|
|
17
|
-
s(e.$slots, "default")
|
|
18
|
-
], 10, d)), [
|
|
19
|
-
[r, e.active]
|
|
20
|
-
]);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
b as default
|
|
25
|
-
};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { defineComponent as S, mergeModels as T, useModel as z, ref as b, useId as j, useSlots as q, computed as G, provide as v, watch as k, createElementBlock as p, openBlock as l, normalizeClass as I, createElementVNode as H, createBlock as c, createCommentVNode as o, unref as f, toDisplayString as J, Fragment as g, renderList as K, withCtx as O, resolveDynamicComponent as Q } from "vue";
|
|
2
|
-
import R from "./BaseTabPanel.vue.js";
|
|
3
|
-
import P from "./BaseTabList.vue.js";
|
|
4
|
-
const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
|
|
5
|
-
inheritAttrs: !1,
|
|
6
|
-
__name: "BaseTabView",
|
|
7
|
-
props: /* @__PURE__ */ T({
|
|
8
|
-
tabsPosition: { default: "top" },
|
|
9
|
-
tabViewDescription: {},
|
|
10
|
-
tabListClasses: {},
|
|
11
|
-
dataCy: {}
|
|
12
|
-
}, {
|
|
13
|
-
activeIdx: { default: 0 },
|
|
14
|
-
activeIdxModifiers: {}
|
|
15
|
-
}),
|
|
16
|
-
emits: /* @__PURE__ */ T(["tabClicked"], ["update:activeIdx"]),
|
|
17
|
-
setup($, { emit: B }) {
|
|
18
|
-
const A = B, i = z($, "activeIdx"), _ = b(""), u = b(null), F = b(null), r = j(), m = q(), d = (e) => e.props ?? null, y = (e) => e.type.__name === "BaseTab", h = (e, a) => ({
|
|
19
|
-
renderFn: e,
|
|
20
|
-
tabId: C(a),
|
|
21
|
-
"active-tab-panel-idx": d(e)?.["active-tab-panel-idx"] ?? a,
|
|
22
|
-
"header-title": d(e)?.["header-title"] || "",
|
|
23
|
-
class: d(e)?.class || "",
|
|
24
|
-
"tab-panel-classes": d(e)?.["tab-panel-classes"] || "",
|
|
25
|
-
"data-cy": d(e)?.["data-cy"] || ""
|
|
26
|
-
}), n = G(() => m.default ? m.default().reduce((e, a) => (a.children && Array.isArray(a.children) ? a.children.forEach((t) => {
|
|
27
|
-
y(t) && e.push(h(t, e.length));
|
|
28
|
-
}) : y(a) && e.push(h(a, e.length)), e), []) : []);
|
|
29
|
-
v("tabs", n), v("isTabActive", (e) => i.value === e);
|
|
30
|
-
const V = (e = -1) => u.value === e, C = (e) => `base-tab-${e}-${r}`, w = (e = -1) => `base-tab-panel-${e}-${r}`, x = (e = -1) => {
|
|
31
|
-
const a = n.value.reduce(
|
|
32
|
-
(t, s, N) => (s["active-tab-panel-idx"] !== e || t.push({ tab: s, idx: N }), t),
|
|
33
|
-
[]
|
|
34
|
-
);
|
|
35
|
-
return a && a.length === 1 ? a[0].tab.tabId : a.find((t) => t.idx === i.value)?.tab.tabId;
|
|
36
|
-
}, D = (e) => {
|
|
37
|
-
_.value = C(e);
|
|
38
|
-
}, L = (e) => {
|
|
39
|
-
const a = n.value.at(e ?? -1);
|
|
40
|
-
u.value = a?.["active-tab-panel-idx"] ?? null;
|
|
41
|
-
};
|
|
42
|
-
v("handleClick", (e, a) => {
|
|
43
|
-
D(e), i.value = e, A("tabClicked", { tabIdx: e, tabElement: a });
|
|
44
|
-
}), k(
|
|
45
|
-
i,
|
|
46
|
-
(e) => {
|
|
47
|
-
L(e ?? -1);
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
immediate: !0
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
const E = (e, a) => {
|
|
54
|
-
for (let t = 0; t < e.length; t++)
|
|
55
|
-
if (e[t] !== a[t]) return t;
|
|
56
|
-
return null;
|
|
57
|
-
}, M = (e = -1) => n.value.find((a) => a["active-tab-panel-idx"] === e);
|
|
58
|
-
return k(
|
|
59
|
-
() => n.value.map((e) => e["active-tab-panel-idx"]),
|
|
60
|
-
(e, a) => {
|
|
61
|
-
const t = E(e, a);
|
|
62
|
-
if (t === null) return;
|
|
63
|
-
const s = n.value[t]["active-tab-panel-idx"];
|
|
64
|
-
i.value !== t || s === void 0 || (u.value = s);
|
|
65
|
-
}
|
|
66
|
-
), (e, a) => (l(), p("div", {
|
|
67
|
-
ref_key: "root",
|
|
68
|
-
ref: F,
|
|
69
|
-
class: I(e.$attrs.class),
|
|
70
|
-
"data-cy": e.dataCy
|
|
71
|
-
}, [
|
|
72
|
-
H("span", {
|
|
73
|
-
id: `tablist-${f(r)}`,
|
|
74
|
-
class: "uikit-sr-only"
|
|
75
|
-
}, J(e.tabViewDescription), 9, W),
|
|
76
|
-
e.tabsPosition === "top" ? (l(), c(P, {
|
|
77
|
-
key: 0,
|
|
78
|
-
uid: f(r),
|
|
79
|
-
"tab-list-classes": e.tabListClasses,
|
|
80
|
-
"data-cy": e.dataCy ? `${e.dataCy}-tab-list` : ""
|
|
81
|
-
}, null, 8, ["uid", "tab-list-classes", "data-cy"])) : o("", !0),
|
|
82
|
-
(l(!0), p(g, null, K(n.value, (t, s) => (l(), p(g, { key: s }, [
|
|
83
|
-
M(s) ? (l(), c(R, {
|
|
84
|
-
key: 0,
|
|
85
|
-
id: w(t["active-tab-panel-idx"]),
|
|
86
|
-
"labelled-by": x(s) ?? "",
|
|
87
|
-
active: V(s),
|
|
88
|
-
class: I(t["tab-panel-classes"])
|
|
89
|
-
}, {
|
|
90
|
-
default: O(() => [
|
|
91
|
-
t.renderFn.children && t.renderFn.children.default ? (l(), c(Q(t.renderFn.children.default), { key: 0 })) : o("", !0)
|
|
92
|
-
]),
|
|
93
|
-
_: 2
|
|
94
|
-
}, 1032, ["id", "labelled-by", "active", "class"])) : o("", !0)
|
|
95
|
-
], 64))), 128)),
|
|
96
|
-
e.tabsPosition === "bottom" ? (l(), c(P, {
|
|
97
|
-
key: 1,
|
|
98
|
-
uid: f(r),
|
|
99
|
-
"tab-list-classes": e.tabListClasses,
|
|
100
|
-
"data-cy": e.dataCy ? `${e.dataCy}-tab-list` : ""
|
|
101
|
-
}, null, 8, ["uid", "tab-list-classes", "data-cy"])) : o("", !0)
|
|
102
|
-
], 10, U));
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
export {
|
|
106
|
-
te as default
|
|
107
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, onBeforeMount as i, createBlock as p, createCommentVNode as m, unref as t, openBlock as c } from "vue";
|
|
2
|
-
import { Doughnut as l } from "vue-chartjs";
|
|
3
|
-
import { Chart as d, DoughnutController as f, ArcElement as g } from "chart.js";
|
|
4
|
-
import { useChartJsModules as h } from "../../../../chart/composables/useChartjsModules.js";
|
|
5
|
-
const y = /* @__PURE__ */ u({
|
|
6
|
-
__name: "DoughnutChart",
|
|
7
|
-
props: {
|
|
8
|
-
options: {},
|
|
9
|
-
data: {}
|
|
10
|
-
},
|
|
11
|
-
setup(e) {
|
|
12
|
-
d.register(f, g);
|
|
13
|
-
const r = e, { registerPlugins: n, resolved: a, executeRegistration: s } = h(
|
|
14
|
-
r.options
|
|
15
|
-
);
|
|
16
|
-
return i(async () => {
|
|
17
|
-
await s(n);
|
|
18
|
-
}), (o, C) => t(a) ? (c(), p(t(l), {
|
|
19
|
-
key: 0,
|
|
20
|
-
options: o.options,
|
|
21
|
-
data: o.data
|
|
22
|
-
}, null, 8, ["options", "data"])) : m("", !0);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
y as default
|
|
27
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, onBeforeMount as u, useTemplateRef as f, computed as d, createBlock as h, createCommentVNode as C, unref as t, openBlock as g } from "vue";
|
|
2
|
-
import { Line as L } from "vue-chartjs";
|
|
3
|
-
import { Chart as _, LineController as k, LineElement as x, Filler as y, PointElement as B, CategoryScale as E, LinearScale as v } from "chart.js";
|
|
4
|
-
import { useChartJsModules as M } from "../../../../chart/composables/useChartjsModules.js";
|
|
5
|
-
const A = /* @__PURE__ */ m({
|
|
6
|
-
__name: "LineChart",
|
|
7
|
-
props: {
|
|
8
|
-
options: {},
|
|
9
|
-
data: {}
|
|
10
|
-
},
|
|
11
|
-
setup(o, { expose: r }) {
|
|
12
|
-
_.register(
|
|
13
|
-
k,
|
|
14
|
-
x,
|
|
15
|
-
y,
|
|
16
|
-
B,
|
|
17
|
-
E,
|
|
18
|
-
v
|
|
19
|
-
);
|
|
20
|
-
const n = o, {
|
|
21
|
-
registerPlugins: a,
|
|
22
|
-
registerTimeCartesianAxis: s,
|
|
23
|
-
executeRegistration: i,
|
|
24
|
-
resolved: c
|
|
25
|
-
} = M(n.options);
|
|
26
|
-
u(async () => {
|
|
27
|
-
await i(a, s);
|
|
28
|
-
});
|
|
29
|
-
const p = f("chart"), l = d(
|
|
30
|
-
() => p.value?.chart
|
|
31
|
-
);
|
|
32
|
-
return r({ chartInstance: l }), (e, P) => t(c) ? (g(), h(t(L), {
|
|
33
|
-
key: 0,
|
|
34
|
-
ref: "chart",
|
|
35
|
-
options: e.options,
|
|
36
|
-
data: e.data
|
|
37
|
-
}, null, 8, ["options", "data"])) : C("", !0);
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
A as default
|
|
42
|
-
};
|
package/dist/packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, ref as n, onMounted as a, createElementBlock as u, renderSlot as s, openBlock as f, normalizeClass as i } from "vue";
|
|
2
|
-
const d = /* @__PURE__ */ t({
|
|
3
|
-
__name: "IntersectionObservable",
|
|
4
|
-
props: {
|
|
5
|
-
observer: { default: null },
|
|
6
|
-
isVisible: { type: Boolean, default: !1 }
|
|
7
|
-
},
|
|
8
|
-
setup(l) {
|
|
9
|
-
const r = l, o = n(null);
|
|
10
|
-
return a(() => {
|
|
11
|
-
!r.observer || !o.value || r.observer.observe(o.value);
|
|
12
|
-
}), (e, p) => e.isVisible ? s(e.$slots, "default", { key: 1 }) : (f(), u("div", {
|
|
13
|
-
key: 0,
|
|
14
|
-
ref_key: "root",
|
|
15
|
-
ref: o,
|
|
16
|
-
class: i(e.$attrs["root-classes"])
|
|
17
|
-
}, [
|
|
18
|
-
s(e.$slots, "default")
|
|
19
|
-
], 2));
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
export {
|
|
23
|
-
d as default
|
|
24
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/assets/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel2.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|