@wikicasa-dev/components 2.1.2 → 2.1.3
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 +3 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -1
- 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 +1 -1
- package/dist/UIKit/BaseFloatingLabel.js +5 -39
- package/dist/UIKit/BaseIcon.js +4 -25
- package/dist/UIKit/BaseInput.js +5 -210
- package/dist/UIKit/BaseModal.js +3 -2
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BasePaper.js +9 -9
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +5 -206
- package/dist/UIKit/BaseSnackbar.js +5 -80
- 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 +5 -74
- 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/_virtual/polyline.js +2 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css +1 -0
- package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel.css +1 -0
- package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel2.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 -1593
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/index.js +89 -85
- package/dist/{chunks/ArrowIcon.Bq6Xr3uH.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js} +3 -3
- package/dist/{chunks/CloseIcon.BZ4U3aiI.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js} +11 -11
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +9 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +2 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +40 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +4 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +4 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +15 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +12 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +18 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +10 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +4 -0
- 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 +41 -0
- package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/decode.js +22 -0
- package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/encode.js +34 -0
- package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/polyline.js +12 -0
- package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js +71 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js +129 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js +101 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js +125 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js +67 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js +127 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js +227 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.js +121 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js +310 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/classes-to-selector.js +6 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/create-element-if-not-defined.js +12 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/ssr-window.esm.js +135 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/utils.js +85 -0
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/controller.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/free-mode.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/navigation.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/pagination.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +5 -0
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +213 -0
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +33 -0
- package/dist/{chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js} +8 -8
- package/dist/{chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js} +1 -1
- package/dist/{chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js} +21 -21
- package/dist/{chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → packages/components/lib/UIKit/BaseAlert.vue.js} +2 -2
- package/dist/{chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.Ol7Hmb-E.js → packages/components/lib/UIKit/BaseAutocomplete.vue.js} +64 -74
- package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +19 -0
- package/dist/{chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → packages/components/lib/UIKit/BaseBreadcrumb.vue.js} +5 -5
- package/dist/{chunks/BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js → packages/components/lib/UIKit/BaseButton.vue.js} +6 -6
- 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_script_setup_true_lang.Cb0-JXG0.js → packages/components/lib/UIKit/BaseDropDown.vue.js} +25 -25
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +40 -0
- package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +27 -0
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +211 -0
- package/dist/{chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js → packages/components/lib/UIKit/BaseModal.vue.js} +56 -61
- package/dist/{chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js → packages/components/lib/UIKit/BasePagination.vue.js} +71 -83
- package/dist/packages/components/lib/UIKit/BasePaper.vue.js +7 -0
- package/dist/{chunks/SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js} +1 -1
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +207 -0
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +81 -0
- 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.CdwKhQoc.js → packages/components/lib/UIKit/BaseUploadFile.vue.js} +2 -2
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +75 -0
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +114 -0
- package/dist/{chunks/RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → packages/components/lib/UIKit/Radio/RadioButton.vue.js} +9 -9
- package/dist/{chunks/RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → packages/components/lib/UIKit/Radio/RadioGroup.vue.js} +6 -6
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +21 -0
- package/dist/{chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.BoEMYLem.js → packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js} +8 -8
- 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.CHOGs5d-.js → packages/components/lib/UIKit/Tab/BaseTabList.vue.js} +1 -1
- package/dist/{chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js} +1 -1
- package/dist/{chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js → packages/components/lib/UIKit/Tab/BaseTabView.vue.js} +17 -17
- package/dist/packages/components/lib/chart/DoughnutChart.vue.js +27 -0
- package/dist/{chunks/LineChart.vue_vue_type_script_setup_true_lang.ByrHxeZr.js → packages/components/lib/chart/LineChart.vue.js} +2 -2
- package/dist/{chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js} +5 -5
- package/dist/{chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js} +4 -4
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +247 -0
- package/package.json +1 -1
- package/dist/assets/SwiperCarousel.css +0 -1
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.gRPd8LaO.js +0 -246
- package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.BJW28Y_i.js +0 -32
- package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js +0 -19
- package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.C9gKO-hI.js +0 -111
- package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.M0NEigw0.js +0 -27
- package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
- package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
- package/dist/chunks/polyline.tNTK3v2u.js +0 -129
- package/dist/chunks/useKeyboardController.Cs_5GQTJ.js +0 -41
- /package/dist/assets/{BaseAlert.css → packages/components/lib/UIKit/BaseAlert.css} +0 -0
- /package/dist/assets/{BaseBadge.css → packages/components/lib/UIKit/BaseBadge.css} +0 -0
- /package/dist/assets/{BaseCard.css → packages/components/lib/UIKit/BaseCard.css} +0 -0
- /package/dist/assets/{BaseComplexToggle.css → packages/components/lib/UIKit/BaseComplexToggle.css} +0 -0
- /package/dist/assets/{BaseFloatingLabel.css → packages/components/lib/UIKit/BaseFloatingLabel.css} +0 -0
- /package/dist/assets/{BaseIcon.css → packages/components/lib/UIKit/BaseIcon.css} +0 -0
- /package/dist/assets/{BaseInput.css → packages/components/lib/UIKit/BaseInput.css} +0 -0
- /package/dist/assets/{BaseModal.css → packages/components/lib/UIKit/BaseModal.css} +0 -0
- /package/dist/assets/{BasePaper.css → packages/components/lib/UIKit/BasePaper.css} +0 -0
- /package/dist/assets/{BaseSlider.css → packages/components/lib/UIKit/BaseSlider.css} +0 -0
- /package/dist/assets/{BaseSnackbar.css → packages/components/lib/UIKit/BaseSnackbar.css} +0 -0
- /package/dist/assets/{BaseTextarea.css → packages/components/lib/UIKit/BaseTextarea.css} +0 -0
- /package/dist/assets/{BaseToggle.css → packages/components/lib/UIKit/BaseToggle.css} +0 -0
- /package/dist/assets/{BaseTooltip.css → packages/components/lib/UIKit/BaseTooltip.css} +0 -0
- /package/dist/assets/{CheckboxBtn.css → packages/components/lib/UIKit/Checkbox/CheckboxBtn.css} +0 -0
- /package/dist/assets/{BaseShimmerLoader.css → packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css} +0 -0
- /package/dist/assets/{SimpleSlider.css → packages/components/lib/UIKit/Slider/SimpleSlider.css} +0 -0
- /package/dist/assets/{StaticSpinner.css → packages/components/lib/UIKit/StaticSpinner.css} +0 -0
- /package/dist/assets/{index.css → packages/components/src/tailwind.css} +0 -0
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { h as m, defineComponent as D, mergeModels as L, useModel as V, useId as z, computed as T, ref as B, watch as g, onMounted as E, onUnmounted as P, createElementBlock as n, openBlock as o, normalizeClass as a, createElementVNode as s, createCommentVNode as k, withModifiers as p, renderSlot as N, unref as b, createBlock as O, createVNode as S, Fragment as H, renderList as q } from "vue";
|
|
2
|
-
import { A as j } from "./useKeyboardController.Cs_5GQTJ.js";
|
|
3
|
-
import { a as U } from "./ArrowIcon.Bq6Xr3uH.js";
|
|
4
|
-
import { e as G } from "./PharmacyIcon.DEQ8mOEJ.js";
|
|
5
|
-
const J = (t, { attrs: w }) => {
|
|
6
|
-
t = { ...G(), ...t };
|
|
7
|
-
const { width: c, height: r } = t;
|
|
8
|
-
return m(
|
|
9
|
-
"svg",
|
|
10
|
-
{
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
viewBox: "0 0 11.175 13.409",
|
|
13
|
-
width: `${c}`,
|
|
14
|
-
height: `${r}`,
|
|
15
|
-
class: t.class ?? "",
|
|
16
|
-
"aria-hidden": w["aria-hidden"] ?? "true",
|
|
17
|
-
fill: "none",
|
|
18
|
-
stroke: t["stroke-color"] ?? "#FA4F64"
|
|
19
|
-
},
|
|
20
|
-
[
|
|
21
|
-
m("circle", {
|
|
22
|
-
cx: 6,
|
|
23
|
-
cy: 6,
|
|
24
|
-
r: 4.5
|
|
25
|
-
}),
|
|
26
|
-
m("path", {
|
|
27
|
-
"stroke-linejoin": "round",
|
|
28
|
-
d: "M5.8 3.6h.4L6 6.5z"
|
|
29
|
-
}),
|
|
30
|
-
m("circle", {
|
|
31
|
-
cx: 6,
|
|
32
|
-
cy: 8.2,
|
|
33
|
-
r: 0.6,
|
|
34
|
-
fill: t["stroke-color"] ?? "#FA4F64",
|
|
35
|
-
stroke: "none"
|
|
36
|
-
})
|
|
37
|
-
]
|
|
38
|
-
);
|
|
39
|
-
}, K = ["id", "innerHTML"], Q = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], R = ["innerHTML"], W = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, X = ["innerHTML"], Y = ["data-cy"], Z = ["id", "aria-selected", "onClick", "onMouseover"], x = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, _ = ["name", "checked", "onInput"], ee = ["innerHTML"], ie = ["id", "arial-live", "innerHTML"], te = ["id", "arial-live", "innerHTML"], ne = /* @__PURE__ */ D({
|
|
40
|
-
inheritAttrs: !1,
|
|
41
|
-
__name: "AccessibleSelect",
|
|
42
|
-
props: /* @__PURE__ */ L({
|
|
43
|
-
label: { default: "" },
|
|
44
|
-
dropdownPosition: { default: "bottom" },
|
|
45
|
-
namespace: {},
|
|
46
|
-
options: {},
|
|
47
|
-
isValid: { type: [Boolean, null], default: null },
|
|
48
|
-
feedback: {},
|
|
49
|
-
closeOnBodyPressed: { type: Boolean, default: !0 },
|
|
50
|
-
border: { type: Boolean, default: !0 },
|
|
51
|
-
fieldsetClasses: {},
|
|
52
|
-
legendClasses: {},
|
|
53
|
-
dropdownClasses: {},
|
|
54
|
-
labelClasses: {},
|
|
55
|
-
btnClasses: {},
|
|
56
|
-
dropdownItemClasses: {},
|
|
57
|
-
btnTextClasses: {},
|
|
58
|
-
arrowIcon: {},
|
|
59
|
-
dataCy: {},
|
|
60
|
-
wrapperClasses: {}
|
|
61
|
-
}, {
|
|
62
|
-
modelValue: {
|
|
63
|
-
default: () => ({ id: "", label: "" })
|
|
64
|
-
},
|
|
65
|
-
modelModifiers: {},
|
|
66
|
-
toggleDropdown: {
|
|
67
|
-
default: void 0
|
|
68
|
-
},
|
|
69
|
-
toggleDropdownModifiers: {}
|
|
70
|
-
}),
|
|
71
|
-
emits: /* @__PURE__ */ L(["click", "update:dropdownState"], ["update:modelValue", "update:toggleDropdown"]),
|
|
72
|
-
setup(t, { emit: w }) {
|
|
73
|
-
const c = w, r = V(t, "modelValue"), C = V(t, "toggleDropdown"), F = z(), l = T(() => t.namespace || F), i = B(!1), I = B(null), h = T(() => !!r.value.label), { activeIdx: v, selectedIdx: A } = j({
|
|
74
|
-
optionsLength: t.options.length,
|
|
75
|
-
isDropdownOpen: i
|
|
76
|
-
}), y = (e) => {
|
|
77
|
-
i.value = !1, r.value = e;
|
|
78
|
-
};
|
|
79
|
-
g(A, (e) => {
|
|
80
|
-
y(t.options[e]), i.value = !1;
|
|
81
|
-
}), g(C, (e) => {
|
|
82
|
-
e && (i.value = !i.value, C.value = !1);
|
|
83
|
-
}), g(i, (e) => {
|
|
84
|
-
c("update:dropdownState", e);
|
|
85
|
-
});
|
|
86
|
-
const $ = ({ target: e }) => {
|
|
87
|
-
`${l.value}_btn` !== e.id && (i.value = !1);
|
|
88
|
-
};
|
|
89
|
-
return E(() => {
|
|
90
|
-
t.closeOnBodyPressed && document.addEventListener("click", $);
|
|
91
|
-
}), P(() => {
|
|
92
|
-
t.closeOnBodyPressed && document.removeEventListener("click", $);
|
|
93
|
-
}), (e, u) => (o(), n("div", {
|
|
94
|
-
class: a(e.$attrs.class)
|
|
95
|
-
}, [
|
|
96
|
-
s("div", {
|
|
97
|
-
class: a(["uikit-relative uikit-flex uikit-h-12 uikit-items-center", e.wrapperClasses])
|
|
98
|
-
}, [
|
|
99
|
-
e.label ? (o(), n("label", {
|
|
100
|
-
key: 0,
|
|
101
|
-
id: `${l.value}_label`,
|
|
102
|
-
class: a(["uikit-pointer-events-none uikit-absolute uikit-z-10 uikit-text-sm uikit-font-medium uikit-transition-all uikit-ease-in-out", [
|
|
103
|
-
h.value ? "as-floating -uikit-top-1 uikit-left-[22px] uikit-text-w-black" : "as-inline uikit-top-4 uikit-text-w-gray",
|
|
104
|
-
e.labelClasses,
|
|
105
|
-
{ "uikit-left-9": e.$slots.lefticon && !h.value },
|
|
106
|
-
{ "uikit-left-4": !e.$slots.lefticon && !h.value }
|
|
107
|
-
]]),
|
|
108
|
-
innerHTML: e.label
|
|
109
|
-
}, null, 10, K)) : k("", !0),
|
|
110
|
-
e.$slots.lefticon ? (o(), n("span", {
|
|
111
|
-
key: 1,
|
|
112
|
-
class: "uikit-z-20 uikit-mt-2 uikit-pl-2",
|
|
113
|
-
onClick: u[0] || (u[0] = p((d) => i.value = !i.value, ["stop"]))
|
|
114
|
-
}, [
|
|
115
|
-
N(e.$slots, "lefticon")
|
|
116
|
-
])) : k("", !0),
|
|
117
|
-
s("button", {
|
|
118
|
-
id: `${l.value}_btn`,
|
|
119
|
-
ref_key: "btnEl",
|
|
120
|
-
ref: I,
|
|
121
|
-
type: "button",
|
|
122
|
-
"data-cy": e.dataCy,
|
|
123
|
-
class: a(["uikit-peer uikit-relative uikit-z-10 uikit-flex uikit-h-full uikit-w-full uikit-items-center uikit-justify-between uikit-truncate uikit-border-0 uikit-bg-transparent uikit-pr-4 uikit-text-left focus-visible:uikit-outline-0", [e.$slots.lefticon ? "uikit-pl-2" : "uikit-pl-4", e.btnClasses]]),
|
|
124
|
-
"aria-required": !!e.$attrs.required,
|
|
125
|
-
role: "combobox",
|
|
126
|
-
"aria-haspopup": "listbox",
|
|
127
|
-
"aria-controls": `${l.value}_dropdown`,
|
|
128
|
-
"aria-labelledby": `${l.value}_label ${l.value}_btn`,
|
|
129
|
-
"aria-expanded": i.value,
|
|
130
|
-
"aria-activedescendant": b(v) >= 0 && i.value ? `${l.value}_element_${e.options[b(v)].label}` : "",
|
|
131
|
-
"aria-invalid": e.isValid === !1,
|
|
132
|
-
"aria-describedby": e.isValid === !1 ? `${l.value}_invalid_msg` : void 0,
|
|
133
|
-
onClick: u[1] || (u[1] = (d) => {
|
|
134
|
-
i.value = !i.value, c("click", d);
|
|
135
|
-
})
|
|
136
|
-
}, [
|
|
137
|
-
s("span", {
|
|
138
|
-
class: a(["uikit-pointer-events-none uikit-mt-1", e.btnTextClasses]),
|
|
139
|
-
innerHTML: r.value.visibleLabel || r.value.label
|
|
140
|
-
}, null, 10, R),
|
|
141
|
-
s("span", W, [
|
|
142
|
-
e.isValid == !1 ? (o(), O(b(J), {
|
|
143
|
-
key: 0,
|
|
144
|
-
class: "uikit-mr-1",
|
|
145
|
-
width: 20,
|
|
146
|
-
height: 20,
|
|
147
|
-
"stroke-color": "#FA4F64"
|
|
148
|
-
})) : k("", !0),
|
|
149
|
-
S(b(U), {
|
|
150
|
-
class: a(["uikit-transition-transform motion-reduce:uikit-transition-none", [
|
|
151
|
-
i.value ? "uikit-rotate-180" : "",
|
|
152
|
-
e.arrowIcon?.classes
|
|
153
|
-
]]),
|
|
154
|
-
width: e.arrowIcon?.width ?? 18,
|
|
155
|
-
height: e.arrowIcon?.height ?? 18,
|
|
156
|
-
"stroke-color": e.isValid ? "#2B5DFF" : e.isValid === !1 ? "#FA4F64" : e.arrowIcon?.strokeColor ?? "#222"
|
|
157
|
-
}, null, 8, ["class", "width", "height", "stroke-color"])
|
|
158
|
-
])
|
|
159
|
-
], 10, Q),
|
|
160
|
-
s("fieldset", {
|
|
161
|
-
"aria-hidden": "true",
|
|
162
|
-
class: a(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-cursor-pointer uikit-rounded-xs uikit-bg-white uikit-px-2 uikit-py-0 peer-focus:uikit-border-2", [
|
|
163
|
-
e.fieldsetClasses,
|
|
164
|
-
e.isValid ? "uikit-border-w-primary" : e.isValid === !1 ? "uikit-border-w-danger" : "uikit-border-w-secondary",
|
|
165
|
-
{
|
|
166
|
-
"uikit-border uikit-border-solid peer-focus:uikit-border-w-primary peer-focus-visible:uikit-border-2 peer-focus-visible:uikit-border-w-primary peer-aria-invalid:uikit-border-w-danger": e.border
|
|
167
|
-
},
|
|
168
|
-
{ "uikit-border-0 peer-focus:uikit-border-0": !e.border }
|
|
169
|
-
]])
|
|
170
|
-
}, [
|
|
171
|
-
s("legend", {
|
|
172
|
-
class: a([[e.legendClasses, { "uikit-m-0 uikit-w-0": !e.label }], "uikit-ml-2 uikit-h-3 uikit-px-0 uikit-text-sm"])
|
|
173
|
-
}, [
|
|
174
|
-
e.label ? (o(), n("span", {
|
|
175
|
-
key: 0,
|
|
176
|
-
class: a(["uikit-mx-5px", [r.value.label ? "uikit-invisible" : "uikit-hidden"]]),
|
|
177
|
-
innerHTML: e.label
|
|
178
|
-
}, null, 10, X)) : k("", !0)
|
|
179
|
-
], 2)
|
|
180
|
-
], 2),
|
|
181
|
-
s("ul", {
|
|
182
|
-
"data-cy": e.dataCy && `${e.dataCy}_dropdown`,
|
|
183
|
-
role: "listbox",
|
|
184
|
-
tabindex: -1,
|
|
185
|
-
"aria-multiselectable": !1,
|
|
186
|
-
class: a(["uikit-absolute uikit-z-30 uikit-m-0 uikit-max-h-[225px] uikit-w-full uikit-min-w-full uikit-list-none uikit-overflow-y-auto uikit-p-0 uikit-no-scrollbar", [
|
|
187
|
-
{ "uikit-h-0 uikit-w-0 uikit-overflow-hidden": !i.value },
|
|
188
|
-
{
|
|
189
|
-
"uikit-rounded-xs uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white": i.value
|
|
190
|
-
},
|
|
191
|
-
{ "uikit-bottom-[55px]": e.dropdownPosition === "top" },
|
|
192
|
-
{ "uikit-top-[55px]": e.dropdownPosition === "bottom" },
|
|
193
|
-
e.dropdownClasses
|
|
194
|
-
]]),
|
|
195
|
-
onClick: u[3] || (u[3] = p(() => {
|
|
196
|
-
}, ["stop"]))
|
|
197
|
-
}, [
|
|
198
|
-
(o(!0), n(H, null, q(e.options, (d, f) => (o(), n("li", {
|
|
199
|
-
id: `${l.value}_element_${e.options[f].label}`,
|
|
200
|
-
key: `${d.label}_${f}`,
|
|
201
|
-
role: "option",
|
|
202
|
-
"aria-selected": b(v) === f,
|
|
203
|
-
class: a(["uikit-m-1 uikit-cursor-pointer uikit-px-20px uikit-py-10px uikit-text aria-selected:uikit-rounded-xs aria-selected:uikit-bg-w-cultured", e.dropdownItemClasses]),
|
|
204
|
-
onClick: p((M) => y(d), ["stop"]),
|
|
205
|
-
onMouseover: p((M) => v.value = f, ["stop"]),
|
|
206
|
-
onBlur: u[2] || (u[2] = p(() => {
|
|
207
|
-
}, ["stop"]))
|
|
208
|
-
}, [
|
|
209
|
-
s("label", x, [
|
|
210
|
-
s("input", {
|
|
211
|
-
tabindex: "-1",
|
|
212
|
-
class: "uikit-m-0 uikit-appearance-none",
|
|
213
|
-
name: `${l.value}_radio`,
|
|
214
|
-
type: "radio",
|
|
215
|
-
checked: d.label === r.value.label,
|
|
216
|
-
onInput: p((M) => y(d), ["stop"])
|
|
217
|
-
}, null, 40, _),
|
|
218
|
-
s("span", {
|
|
219
|
-
innerHTML: d.label
|
|
220
|
-
}, null, 8, ee)
|
|
221
|
-
])
|
|
222
|
-
], 42, Z))), 128))
|
|
223
|
-
], 10, Y)
|
|
224
|
-
], 2),
|
|
225
|
-
e.feedback ? (o(), n(H, { key: 0 }, [
|
|
226
|
-
e.feedback.valid ? (o(), n("span", {
|
|
227
|
-
key: 0,
|
|
228
|
-
id: `${l.value}_valid_msg`,
|
|
229
|
-
"arial-live": e.$attrs["aria-live"],
|
|
230
|
-
class: "uikit-mt-1 uikit-inline-block uikit-text-12",
|
|
231
|
-
innerHTML: e.isValid ? e.feedback.valid : ""
|
|
232
|
-
}, null, 8, ie)) : k("", !0),
|
|
233
|
-
e.feedback.invalid ? (o(), n("span", {
|
|
234
|
-
key: 1,
|
|
235
|
-
id: `${l.value}_invalid_msg`,
|
|
236
|
-
"arial-live": e.$attrs["aria-live"],
|
|
237
|
-
class: "uikit-mt-1 uikit-inline-block uikit-text-12 uikit-text-w-danger",
|
|
238
|
-
innerHTML: e.isValid === !1 ? e.feedback.invalid : ""
|
|
239
|
-
}, null, 8, te)) : k("", !0)
|
|
240
|
-
], 64)) : k("", !0)
|
|
241
|
-
], 2));
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
export {
|
|
245
|
-
ne as _
|
|
246
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, ref as u, provide as c, renderSlot as f } from "vue";
|
|
2
|
-
import "./polyline.tNTK3v2u.js";
|
|
3
|
-
import { u as p } from "./ObjectUtils.DwkJjVq1.js";
|
|
4
|
-
const k = /* @__PURE__ */ d({
|
|
5
|
-
__name: "BaseAccordion",
|
|
6
|
-
props: {
|
|
7
|
-
autoClose: { type: Boolean, default: !0 },
|
|
8
|
-
autoUpdate: { type: Boolean, default: !0 }
|
|
9
|
-
},
|
|
10
|
-
setup(n) {
|
|
11
|
-
const l = u(null), o = u(
|
|
12
|
-
{}
|
|
13
|
-
), i = (e, t) => {
|
|
14
|
-
if (n.autoClose && t && !p(t))
|
|
15
|
-
for (const a in t)
|
|
16
|
-
a !== `${e}` && (t[a].active = !1);
|
|
17
|
-
}, s = (e, t) => {
|
|
18
|
-
t && (t[e].active = !(t[e].active ?? !1));
|
|
19
|
-
}, r = (e, t) => {
|
|
20
|
-
i(e.id, t ?? o.value), l.value = e, s(e.id, t ?? o.value);
|
|
21
|
-
};
|
|
22
|
-
return c("handleClick", (e) => {
|
|
23
|
-
n.autoUpdate && r(e);
|
|
24
|
-
}), c("accordionItems", o), (e, t) => f(e.$slots, "default", {
|
|
25
|
-
updatePrev: r,
|
|
26
|
-
prev: l.value
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
k as _
|
|
32
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, createElementBlock as a, openBlock as t, normalizeClass as r, renderSlot as i } from "vue";
|
|
2
|
-
import '../assets/BaseBadge.css';const o = ["id"], p = /* @__PURE__ */ e({
|
|
3
|
-
inheritAttrs: !1,
|
|
4
|
-
__name: "BaseBadge",
|
|
5
|
-
props: {
|
|
6
|
-
badgeClass: { default: "uikit-badge-w-primary-sm" }
|
|
7
|
-
},
|
|
8
|
-
setup(n) {
|
|
9
|
-
return (s, d) => (t(), a("span", {
|
|
10
|
-
id: s.$attrs.id,
|
|
11
|
-
class: r(["uikit-badge uikit-shadow-sm", s.badgeClass, s.$attrs.class])
|
|
12
|
-
}, [
|
|
13
|
-
i(s.$slots, "default")
|
|
14
|
-
], 10, o));
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
p as _
|
|
19
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as v, computed as i, watch as x, renderSlot as m, createElementVNode as D, normalizeClass as E, createElementBlock as $, createCommentVNode as B, openBlock as b, Fragment as I, renderList as R, createBlock as A, unref as K } from "vue";
|
|
2
|
-
import "./polyline.tNTK3v2u.js";
|
|
3
|
-
import L from "../UIKit/Checkbox/CheckboxBtn.js";
|
|
4
|
-
const V = (a) => !a?.length, w = (a = "") => !a || !a.trim() ? "" : (a = a.trim(), a.replace(" ", "-").toLowerCase()), G = ["id", "data-cy"], j = /* @__PURE__ */ y({
|
|
5
|
-
inheritAttrs: !1,
|
|
6
|
-
__name: "CheckboxGroup",
|
|
7
|
-
props: {
|
|
8
|
-
checkboxData: { default() {
|
|
9
|
-
return [];
|
|
10
|
-
} },
|
|
11
|
-
formCheckInline: { type: Boolean, default: !1 },
|
|
12
|
-
reset: { type: Boolean, default: !1 },
|
|
13
|
-
checkboxContainerClasses: { default: "" },
|
|
14
|
-
autoCheckResetAll: { type: Boolean, default: !1 },
|
|
15
|
-
autoCheckResetEmpty: { type: Boolean, default: !1 },
|
|
16
|
-
manualToggleResetButton: { type: Boolean, default: !1 },
|
|
17
|
-
getKey: { default() {
|
|
18
|
-
return (a) => typeof a == "string" || typeof a == "number" ? `${a}` : `${a.id}`;
|
|
19
|
-
} },
|
|
20
|
-
groupId: { default: "" },
|
|
21
|
-
dataCy: { default: "" }
|
|
22
|
-
},
|
|
23
|
-
emits: ["resetted", "update:modelValue", "checkedGroup"],
|
|
24
|
-
setup(a, { emit: C }) {
|
|
25
|
-
const c = a, s = C, l = v(/* @__PURE__ */ new Map()), r = i(() => {
|
|
26
|
-
for (const e of c.checkboxData)
|
|
27
|
-
if (e.reset) return e;
|
|
28
|
-
return null;
|
|
29
|
-
}), g = i(() => c.checkboxData.length), f = i(() => {
|
|
30
|
-
let e = 0;
|
|
31
|
-
return l.value.forEach((t) => {
|
|
32
|
-
t.checked && e++;
|
|
33
|
-
}), e;
|
|
34
|
-
});
|
|
35
|
-
(() => {
|
|
36
|
-
const e = [];
|
|
37
|
-
for (const t of c.checkboxData)
|
|
38
|
-
t.checked = !!t.checked, l.value.set(
|
|
39
|
-
`${t.id}`,
|
|
40
|
-
t
|
|
41
|
-
), t.checked && e.push(t);
|
|
42
|
-
s("update:modelValue", e);
|
|
43
|
-
})();
|
|
44
|
-
const u = (e, t) => {
|
|
45
|
-
const o = l.value.get(e);
|
|
46
|
-
if (o) {
|
|
47
|
-
if (t) {
|
|
48
|
-
l.value.set(e, { ...o, ...t });
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
l.value.set(e, { ...o, checked: !o.checked });
|
|
52
|
-
}
|
|
53
|
-
}, k = () => {
|
|
54
|
-
l.value.forEach((e) => {
|
|
55
|
-
e.checked = !1;
|
|
56
|
-
});
|
|
57
|
-
}, p = () => {
|
|
58
|
-
k(), s("update:modelValue", []), s("resetted");
|
|
59
|
-
}, d = (e) => l.value.get(c.getKey(e))?.checked ?? !1, h = (e) => {
|
|
60
|
-
if (V(c.checkboxData)) return;
|
|
61
|
-
const t = l.value.get(e.id);
|
|
62
|
-
t?.reset && e.checked ? k() : r.value && !t?.reset && u(c.getKey(r.value), { checked: !1 }), u(`${e.id}`), c.autoCheckResetAll && r.value && f.value === g.value - 1 && l.value.forEach((n) => {
|
|
63
|
-
n.checked = !!n.reset;
|
|
64
|
-
}), c.autoCheckResetEmpty && r.value && !f.value && (!c.manualToggleResetButton || !t?.reset) && u(c.getKey(r.value), { checked: !0 });
|
|
65
|
-
const o = [];
|
|
66
|
-
l.value.forEach((n) => {
|
|
67
|
-
n.checked && o.push(n);
|
|
68
|
-
}), s("update:modelValue", o), s("checkedGroup", c.groupId);
|
|
69
|
-
};
|
|
70
|
-
return x(
|
|
71
|
-
() => c.reset,
|
|
72
|
-
(e) => {
|
|
73
|
-
e && p();
|
|
74
|
-
}
|
|
75
|
-
), (e, t) => m(e.$slots, "default", {
|
|
76
|
-
isActive: d,
|
|
77
|
-
handleChange: h,
|
|
78
|
-
checkboxesData: e.checkboxData
|
|
79
|
-
}, () => [
|
|
80
|
-
D("div", {
|
|
81
|
-
id: e.groupId,
|
|
82
|
-
class: E(["checkbox-group-container", e.$attrs.class || ""]),
|
|
83
|
-
"data-cy": e.dataCy
|
|
84
|
-
}, [
|
|
85
|
-
m(e.$slots, "checkbox_elements", {
|
|
86
|
-
isActive: d,
|
|
87
|
-
handleChange: h,
|
|
88
|
-
checkboxesData: e.checkboxData,
|
|
89
|
-
reset: p
|
|
90
|
-
}, () => [
|
|
91
|
-
e.checkboxData ? (b(!0), $(I, { key: 0 }, R(e.checkboxData, (o, n) => (b(), A(L, {
|
|
92
|
-
id: e.getKey(o),
|
|
93
|
-
key: n,
|
|
94
|
-
"data-cy": o.dataCy ?? `checkbox_${K(w)(`${o.label}`)}`,
|
|
95
|
-
label: o.label,
|
|
96
|
-
inline: e.formCheckInline,
|
|
97
|
-
"model-value": d(o),
|
|
98
|
-
"container-class": [
|
|
99
|
-
e.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px",
|
|
100
|
-
e.checkboxContainerClasses
|
|
101
|
-
],
|
|
102
|
-
onChange: h
|
|
103
|
-
}, null, 8, ["id", "data-cy", "label", "inline", "model-value", "container-class"]))), 128)) : B("", !0)
|
|
104
|
-
])
|
|
105
|
-
], 10, G)
|
|
106
|
-
]);
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
export {
|
|
110
|
-
j as _
|
|
111
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, onBeforeMount as p, createBlock as u, 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__ */ i({
|
|
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: s, executeRegistration: a } = h(
|
|
14
|
-
r.options
|
|
15
|
-
);
|
|
16
|
-
return p(async () => {
|
|
17
|
-
await a(n);
|
|
18
|
-
}), (o, C) => t(s) ? (c(), u(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 _
|
|
27
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
/*! js-cookie v3.0.5 | MIT */
|
|
2
|
-
function h(t) {
|
|
3
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
4
|
-
var u = arguments[i];
|
|
5
|
-
for (var a in u)
|
|
6
|
-
t[a] = u[a];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
}
|
|
10
|
-
var w = {
|
|
11
|
-
read: function(t) {
|
|
12
|
-
return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
13
|
-
},
|
|
14
|
-
write: function(t) {
|
|
15
|
-
return encodeURIComponent(t).replace(
|
|
16
|
-
/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
|
|
17
|
-
decodeURIComponent
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
function C(t, i) {
|
|
22
|
-
function u(r, f, n) {
|
|
23
|
-
if (!(typeof document > "u")) {
|
|
24
|
-
n = h({}, i, n), typeof n.expires == "number" && (n.expires = new Date(Date.now() + n.expires * 864e5)), n.expires && (n.expires = n.expires.toUTCString()), r = encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
25
|
-
var e = "";
|
|
26
|
-
for (var o in n)
|
|
27
|
-
n[o] && (e += "; " + o, n[o] !== !0 && (e += "=" + n[o].split(";")[0]));
|
|
28
|
-
return document.cookie = r + "=" + t.write(f, r) + e;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function a(r) {
|
|
32
|
-
if (!(typeof document > "u" || arguments.length && !r)) {
|
|
33
|
-
for (var f = document.cookie ? document.cookie.split("; ") : [], n = {}, e = 0; e < f.length; e++) {
|
|
34
|
-
var o = f[e].split("="), c = o.slice(1).join("=");
|
|
35
|
-
try {
|
|
36
|
-
var d = decodeURIComponent(o[0]);
|
|
37
|
-
if (n[d] = t.read(c, d), r === d)
|
|
38
|
-
break;
|
|
39
|
-
} catch {
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return r ? n[r] : n;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return Object.create(
|
|
46
|
-
{
|
|
47
|
-
set: u,
|
|
48
|
-
get: a,
|
|
49
|
-
remove: function(r, f) {
|
|
50
|
-
u(
|
|
51
|
-
r,
|
|
52
|
-
"",
|
|
53
|
-
h({}, f, {
|
|
54
|
-
expires: -1
|
|
55
|
-
})
|
|
56
|
-
);
|
|
57
|
-
},
|
|
58
|
-
withAttributes: function(r) {
|
|
59
|
-
return C(this.converter, h({}, this.attributes, r));
|
|
60
|
-
},
|
|
61
|
-
withConverter: function(r) {
|
|
62
|
-
return C(h({}, this.converter, r), this.attributes);
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
attributes: { value: Object.freeze(i) },
|
|
67
|
-
converter: { value: Object.freeze(t) }
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
C(w, { path: "/" });
|
|
72
|
-
var g, R;
|
|
73
|
-
function U() {
|
|
74
|
-
if (R) return g;
|
|
75
|
-
R = 1;
|
|
76
|
-
for (var t = {}, i = 32; i < 127; i++)
|
|
77
|
-
t[i] = String.fromCharCode(i);
|
|
78
|
-
function u(e) {
|
|
79
|
-
var o = 0, c = 0;
|
|
80
|
-
return a(e, function(d, s, p) {
|
|
81
|
-
var v = Math.round(s * 1e5), y = Math.round(p * 1e5);
|
|
82
|
-
return d += n(r(v - o)) + n(r(y - c)), o = v, c = y, d;
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
function a(e, o) {
|
|
86
|
-
for (var c = null, d = 0, s = 0, p = "", v = 0; v < e.length; v++)
|
|
87
|
-
c = e[v], d = c.lat || c.x || c[0], s = c.lng || c.y || c[1], p = o(p, d, s);
|
|
88
|
-
return p;
|
|
89
|
-
}
|
|
90
|
-
function r(e) {
|
|
91
|
-
return e < 0 ? ~(e << 1) : e << 1;
|
|
92
|
-
}
|
|
93
|
-
function f(e) {
|
|
94
|
-
return (e & 31 | 32) + 63;
|
|
95
|
-
}
|
|
96
|
-
function n(e) {
|
|
97
|
-
for (var o = ""; e >= 32; )
|
|
98
|
-
o += t[f(e)], e = e >> 5;
|
|
99
|
-
return o += t[e + 63], o;
|
|
100
|
-
}
|
|
101
|
-
return g = u, g;
|
|
102
|
-
}
|
|
103
|
-
var l, m;
|
|
104
|
-
function q() {
|
|
105
|
-
if (m) return l;
|
|
106
|
-
m = 1;
|
|
107
|
-
var t = 1e5;
|
|
108
|
-
function i(u) {
|
|
109
|
-
var a = [], r = 0, f = 0;
|
|
110
|
-
return i.integers(u, function(n, e) {
|
|
111
|
-
r += n, f += e, a.push([r / t, f / t]);
|
|
112
|
-
}), a;
|
|
113
|
-
}
|
|
114
|
-
return i.sign = function(u) {
|
|
115
|
-
return u & 1 ? ~(u >>> 1) : u >>> 1;
|
|
116
|
-
}, i.integers = function(u, a) {
|
|
117
|
-
for (var r = 0, f = 0, n = 0, e = 0, o = 0, c = 0, d = 0; d < u.length; d++)
|
|
118
|
-
e = u.charCodeAt(d) - 63, o = o | (e & 31) << c, c = c + 5, e < 32 && (++r & 1 ? f = i.sign(o) : (n = i.sign(o), a(f, n)), o = 0, c = 0);
|
|
119
|
-
return r;
|
|
120
|
-
}, l = i, l;
|
|
121
|
-
}
|
|
122
|
-
var x, I;
|
|
123
|
-
function A() {
|
|
124
|
-
return I || (I = 1, x = {
|
|
125
|
-
encode: U(),
|
|
126
|
-
decode: q()
|
|
127
|
-
}), x;
|
|
128
|
-
}
|
|
129
|
-
A();
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ref as p, onMounted as w, onUnmounted as E, unref as x } from "vue";
|
|
2
|
-
const D = (t) => {
|
|
3
|
-
const { isDropdownOpen: o, disableSpaceHandler: m } = t, n = p(-1), a = p(-1);
|
|
4
|
-
if (!(t.activate === void 0 || t.activate)) return { activeIdx: n, selectedIdx: a };
|
|
5
|
-
const l = (e) => {
|
|
6
|
-
const v = "ArrowUp", d = "ArrowDown", s = "Enter", i = "Escape", u = " ", c = "PageUp", y = "Home", f = "PageDown", k = "End";
|
|
7
|
-
if (!o.value || ![
|
|
8
|
-
v,
|
|
9
|
-
d,
|
|
10
|
-
s,
|
|
11
|
-
i,
|
|
12
|
-
u,
|
|
13
|
-
c,
|
|
14
|
-
y,
|
|
15
|
-
f,
|
|
16
|
-
k
|
|
17
|
-
].includes(e.key))
|
|
18
|
-
return;
|
|
19
|
-
const r = x(t.optionsLength);
|
|
20
|
-
if (e.key === v)
|
|
21
|
-
n.value = n.value === 0 ? r - 1 : n.value - 1;
|
|
22
|
-
else if (e.key === d)
|
|
23
|
-
n.value = (n.value + 1) % r;
|
|
24
|
-
else if (e.key === s || e.key === u) {
|
|
25
|
-
if (e.key === u && m) return;
|
|
26
|
-
a.value = n.value, o.value = !1;
|
|
27
|
-
} else e.key === i ? (n.value = a.value, o.value = !1) : e.key === c || e.key === y ? n.value = 0 : (e.key === f || e.key === k) && (n.value = r - 1);
|
|
28
|
-
e.stopPropagation(), e.preventDefault();
|
|
29
|
-
};
|
|
30
|
-
return w(() => {
|
|
31
|
-
document && document.addEventListener("keydown", l);
|
|
32
|
-
}), E(() => {
|
|
33
|
-
document && document.removeEventListener("keydown", l);
|
|
34
|
-
}), {
|
|
35
|
-
activeIdx: n,
|
|
36
|
-
selectedIdx: a
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
D as A
|
|
41
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/assets/{BaseComplexToggle.css → packages/components/lib/UIKit/BaseComplexToggle.css}
RENAMED
|
File without changes
|
/package/dist/assets/{BaseFloatingLabel.css → packages/components/lib/UIKit/BaseFloatingLabel.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
|