@wikicasa-dev/components 2.1.2-alpha.1 → 2.1.2-alpha.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/zoom.css +1 -0
- package/dist/assets/{SwiperCarousel.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css} +1 -1
- 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 -3
- 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/{chunks/autoplay.PAkd8mEA.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js} +2 -2
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +1 -0
- package/dist/{chunks/controller.B4dN1HzT.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js} +2 -2
- package/dist/{chunks/free-mode.CgW-CG5o.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js} +3 -3
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +1 -0
- package/dist/{chunks/keyboard.1cl3p4mk.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js} +14 -13
- package/dist/{chunks/navigation.BMbGenMb.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js} +4 -4
- package/dist/{chunks/pagination.BY56pkKE.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js} +46 -48
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +1 -0
- package/dist/{chunks/thumbs.DMUSQ4UG.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.js} +7 -6
- 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/{chunks/create-element-if-not-defined.DjTnEoTJ.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/create-element-if-not-defined.js} +1 -1
- 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 +242 -0
- package/package.json +1 -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/SwiperCarousel.BymL6KSO.js +0 -753
- 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/{lib/UIKit → UIKit}/AccessibleSelect.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordion.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionBtn.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionContent.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionItem.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseAlert.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseAutocomplete.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseBadge.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseBreadcrumb.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseButton.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseCard.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseComplexToggle.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseDropDown.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseFloatingLabel.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseIcon.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseInput.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseModal.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BasePagination.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BasePaper.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseSelect/SelectItem.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseSlider.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseSnackbar.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseTextarea.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseToggle.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseTooltip.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseUploadFile.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Checkbox/CheckboxBtn.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Checkbox/CheckboxGroup.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Radio/RadioButton.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Radio/RadioGroup.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/ShimmerLoader/BaseShimmerLoader.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/ShimmerLoader/ShimmerMultiLine.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Slider/SimpleSlider.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/StaticSpinner.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTab.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabList.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabPanel.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabView.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/types.d.ts +0 -0
- /package/dist/assets/{free-mode.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.css} +0 -0
- /package/dist/assets/{navigation.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css} +0 -0
- /package/dist/assets/{pagination.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.css} +0 -0
- /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
- /package/dist/{lib/chart → chart}/DoughnutChart.d.ts +0 -0
- /package/dist/{lib/chart → chart}/LineChart.d.ts +0 -0
- /package/dist/{lib/chart → chart}/composables/useChartjsModules.d.ts +0 -0
- /package/dist/{lib/components → components}/IntersectionObserver/IntersectionObservable.d.ts +0 -0
- /package/dist/{lib/components → components}/IntersectionObserver/IntersectionObserver.d.ts +0 -0
- /package/dist/{lib/components → components}/carousel/SwiperCarousel.d.ts +0 -0
- /package/dist/{lib/components → components}/carousel/SwiperSlide.d.ts +0 -0
- /package/dist/{lib/composables → composables}/useFloatingLabel.d.ts +0 -0
- /package/dist/{lib/composables → composables}/useValidator.d.ts +0 -0
- /package/dist/{lib/index.d.ts → index.d.ts} +0 -0
- /package/dist/{lib/types.d.ts → types.d.ts} +0 -0
- /package/dist/{lib/utils.d.ts → utils.d.ts} +0 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { defineComponent as J, reactive as Q, ref as $, useId as U, computed as f, onMounted as X, watch as Y, nextTick as L, createElementBlock as l, openBlock as u, normalizeClass as d, createElementVNode as v, createCommentVNode as b, renderSlot as M, Fragment as k, renderList as E, mergeProps as F, withModifiers as P } from "vue";
|
|
2
|
+
import { Swiper as T } from "swiper";
|
|
3
|
+
import x from "../../../../../node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js";
|
|
4
|
+
import '../../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css';/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
7
|
+
import { shallowCopyObjectTo as _ } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
|
|
8
|
+
import "../../../../../_virtual/polyline.js";
|
|
9
|
+
const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "height", "onLoad"], ie = ["id"], ae = ["loading", "alt"], me = /* @__PURE__ */ J({
|
|
10
|
+
inheritAttrs: !1,
|
|
11
|
+
__name: "SwiperCarousel",
|
|
12
|
+
props: {
|
|
13
|
+
id: {},
|
|
14
|
+
swiperOptions: {},
|
|
15
|
+
thumbSwiperOptions: {},
|
|
16
|
+
lazyLoadImages: { type: Boolean, default: !0 },
|
|
17
|
+
backgroundImage: { type: Boolean, default: !1 },
|
|
18
|
+
images: { default: () => [] },
|
|
19
|
+
artDirection: {},
|
|
20
|
+
shiftFirstImage: { type: Boolean, default: !1 }
|
|
21
|
+
},
|
|
22
|
+
emits: ["moved", "click", "firstSlideLoaded"],
|
|
23
|
+
setup(s, { expose: V, emit: B }) {
|
|
24
|
+
const y = B, r = Q({
|
|
25
|
+
swiperParams: { modules: [x] },
|
|
26
|
+
swiper: null,
|
|
27
|
+
initCarousel: !1
|
|
28
|
+
}), O = $(), D = $(!1), j = U(), p = f(() => s.id ?? j), g = f(() => s.swiperOptions?.slidesPerView || 1), A = f(() => s.thumbSwiperOptions?.slidesPerView || 1), N = f(() => !!s.swiperOptions?.keyboard), S = f(() => !!s.swiperOptions.navigation), C = f(() => !!s.swiperOptions.pagination), W = f(() => !!s.swiperOptions.autoplay), q = f(
|
|
29
|
+
() => s.swiperOptions?.effect || "slider"
|
|
30
|
+
), K = () => {
|
|
31
|
+
s.swiperOptions && _(s.swiperOptions, r.swiperParams);
|
|
32
|
+
}, I = (e, i = -1) => {
|
|
33
|
+
if (!e.images)
|
|
34
|
+
return { src: e.src || "" };
|
|
35
|
+
let t = "", a = "", o = "";
|
|
36
|
+
if (s.artDirection) {
|
|
37
|
+
for (const n in s.artDirection) {
|
|
38
|
+
const { mq: c, width: m } = s.artDirection[n];
|
|
39
|
+
m && (o += o ? `,${c} ${parseInt(m)}px` : `${c} ${parseInt(m)}px`);
|
|
40
|
+
}
|
|
41
|
+
a = e.images.reduce((n, c, m) => {
|
|
42
|
+
const w = Object.values(s.artDirection)[m];
|
|
43
|
+
return !w || !w.width || (n += n ? `, ${c.storagePath} ${w.width}` : `${c.storagePath} ${w.width}`), n;
|
|
44
|
+
}, ""), t = e.images[0].storagePath;
|
|
45
|
+
} else {
|
|
46
|
+
let n = e.images;
|
|
47
|
+
e.images.length > 3 ? n = e.images.slice(2, 5) : s.shiftFirstImage && (n[0] = n[1]), a = n.reduce((c, m, w) => (w === 0 && (t = `${m.storagePath}`), w > 0 && (c += ", "), `${c}${m.storagePath} ${w + 1}x`), "");
|
|
48
|
+
}
|
|
49
|
+
const G = t, H = a;
|
|
50
|
+
return typeof g.value == "number" && i > g.value ? (t = "", a = "", { sizes: o, "data-src": G, "data-srcset": H }) : {
|
|
51
|
+
src: t,
|
|
52
|
+
srcset: a,
|
|
53
|
+
sizes: o,
|
|
54
|
+
loading: s.lazyLoadImages || i >= g.value ? "lazy" : void 0,
|
|
55
|
+
fetchpriority: !s.lazyLoadImages && i === 0 ? "high" : "low"
|
|
56
|
+
};
|
|
57
|
+
}, h = [], R = (e) => {
|
|
58
|
+
if (typeof g.value == "string") return;
|
|
59
|
+
const i = h[e];
|
|
60
|
+
if (i && !i.src && (i.src = i.dataset.src || "", i.srcset = i.dataset.srcset || ""), e < g.value || e + 1 >= (s.images ?? []).length)
|
|
61
|
+
return;
|
|
62
|
+
const t = h[e + 1];
|
|
63
|
+
t && !t.src && (t.src = t?.dataset.src || "", t.srcset = t?.dataset.srcset || "");
|
|
64
|
+
};
|
|
65
|
+
V({
|
|
66
|
+
moveTo(e, i = 0, t = !0) {
|
|
67
|
+
r.swiper?.slideTo(e, i, t);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
const z = $(null), Z = (e) => {
|
|
71
|
+
e === 0 && h && h[e] && L(() => {
|
|
72
|
+
z.value?.setAttribute("data-first-slide-loaded", "true"), y("firstSlideLoaded");
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
return X(async () => {
|
|
76
|
+
if (K(), N.value) {
|
|
77
|
+
const { Keyboard: t } = await import("../../../lazyModules/Swiper/keyboard.js");
|
|
78
|
+
r.swiperParams.modules?.push(t), r.swiperParams.keyboard = s.swiperOptions.keyboard;
|
|
79
|
+
}
|
|
80
|
+
if (C.value) {
|
|
81
|
+
const { Pagination: t } = await import("../../../lazyModules/Swiper/pagination.js");
|
|
82
|
+
r.swiperParams.modules?.push(t), r.swiperParams.pagination = {
|
|
83
|
+
el: ".swiper-pagination",
|
|
84
|
+
renderFraction: (a, o) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
|
|
85
|
+
<span data-cy="swiper-pagination-current" class="${a}"></span>
|
|
86
|
+
/
|
|
87
|
+
<span data-cy="swiper-pagination-total" class="${o}"></span>
|
|
88
|
+
</div>`,
|
|
89
|
+
...typeof r.swiperParams.pagination == "boolean" ? {} : r.swiperParams.pagination
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
if (S.value) {
|
|
93
|
+
const { Navigation: t } = await import("../../../lazyModules/Swiper/navigation.js");
|
|
94
|
+
r.swiperParams.modules?.push(t);
|
|
95
|
+
const a = {
|
|
96
|
+
...s.swiperOptions.navigation.nextEl ?? {
|
|
97
|
+
nextEl: ".swiper-button-next"
|
|
98
|
+
},
|
|
99
|
+
...s.swiperOptions.navigation.prevEl ?? {
|
|
100
|
+
prevEl: ".swiper-button-prev"
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
r.swiperParams.navigation = {
|
|
104
|
+
...typeof s.swiperOptions.navigation == "object" ? s.swiperOptions.navigation : {},
|
|
105
|
+
...a
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
if (W.value) {
|
|
109
|
+
const { Autoplay: t } = await import("../../../lazyModules/Swiper/autoplay.js");
|
|
110
|
+
r.swiperParams.modules?.push(t), r.swiperParams.autoplay = s.swiperOptions.autoplay;
|
|
111
|
+
}
|
|
112
|
+
const e = {
|
|
113
|
+
...r.swiperParams,
|
|
114
|
+
on: {
|
|
115
|
+
init: () => {
|
|
116
|
+
D.value = !0;
|
|
117
|
+
},
|
|
118
|
+
slideChange: (t) => {
|
|
119
|
+
R(t.activeIndex), y("moved", { activeIndex: t.activeIndex });
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
let i = null;
|
|
124
|
+
if (s.thumbSwiperOptions) {
|
|
125
|
+
const [t, a, o] = await Promise.all([
|
|
126
|
+
import("../../../lazyModules/Swiper/thumbs.js"),
|
|
127
|
+
import("../../../lazyModules/Swiper/free-mode.js"),
|
|
128
|
+
import("../../../lazyModules/Swiper/controller.js")
|
|
129
|
+
]);
|
|
130
|
+
r.swiperParams.modules?.push(t.Thumbs), r.swiperParams.modules?.push(o.Controller), i = new T(`#thumb_${p.value}`, {
|
|
131
|
+
...s.thumbSwiperOptions,
|
|
132
|
+
modules: [a.FreeMode]
|
|
133
|
+
}), e.thumbs = {
|
|
134
|
+
swiper: i
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
e.lazyPreloadPrevNext = 1, r.swiper = new T(`#${p.value}`, e), O.value?.classList.remove("uikit-hidden");
|
|
138
|
+
}), Y(
|
|
139
|
+
() => s.images,
|
|
140
|
+
() => {
|
|
141
|
+
L(() => {
|
|
142
|
+
r.swiper?.update();
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
), (e, i) => (u(), l("div", {
|
|
146
|
+
id: `root-${p.value}`,
|
|
147
|
+
ref_key: "root",
|
|
148
|
+
ref: z,
|
|
149
|
+
class: d(["swiper-carousel-root", e.$attrs["root-classes"]])
|
|
150
|
+
}, [
|
|
151
|
+
v("div", {
|
|
152
|
+
id: p.value,
|
|
153
|
+
"data-cy": e.$attrs["data-cy"],
|
|
154
|
+
class: d(["swiper", e.$attrs["swiper-classes"]])
|
|
155
|
+
}, [
|
|
156
|
+
v("div", {
|
|
157
|
+
ref_key: "swiperWrapper",
|
|
158
|
+
ref: O,
|
|
159
|
+
class: d(["swiper-wrapper", [
|
|
160
|
+
e.$attrs["swiper-wrapper-classes"],
|
|
161
|
+
q.value === "none" && "no-transition"
|
|
162
|
+
]]),
|
|
163
|
+
onClick: i[0] || (i[0] = (t) => y("click"))
|
|
164
|
+
}, [
|
|
165
|
+
M(e.$slots, "default", {}, () => [
|
|
166
|
+
(u(!0), l(k, null, E(e.images, (t, a) => (u(), l("div", {
|
|
167
|
+
key: `swiper_${p.value}_${a}`,
|
|
168
|
+
class: d(["swiper-slide", e.$attrs["swiper-slide-classes"]])
|
|
169
|
+
}, [
|
|
170
|
+
v("div", {
|
|
171
|
+
class: d(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
|
|
172
|
+
}, [
|
|
173
|
+
e.backgroundImage ? b("", !0) : (u(), l("img", F({
|
|
174
|
+
key: 0,
|
|
175
|
+
ref_for: !0,
|
|
176
|
+
ref: (o) => {
|
|
177
|
+
h.push(o);
|
|
178
|
+
},
|
|
179
|
+
class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
|
|
180
|
+
"data-idx": `${p.value}-slide-img-${a}`
|
|
181
|
+
}, I(t, a), {
|
|
182
|
+
alt: t.alt,
|
|
183
|
+
itemprop: "image",
|
|
184
|
+
width: t.width,
|
|
185
|
+
height: t.height,
|
|
186
|
+
onLoad: (o) => Z(a)
|
|
187
|
+
}), null, 16, se))
|
|
188
|
+
], 2)
|
|
189
|
+
], 2))), 128)),
|
|
190
|
+
M(e.$slots, "last_slide", {}, void 0, !0)
|
|
191
|
+
], !0)
|
|
192
|
+
], 2),
|
|
193
|
+
C.value ? (u(), l("div", {
|
|
194
|
+
key: 0,
|
|
195
|
+
class: d([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
|
|
196
|
+
onClick: i[1] || (i[1] = P(() => {
|
|
197
|
+
}, ["stop"]))
|
|
198
|
+
}, null, 2)) : b("", !0),
|
|
199
|
+
S.value ? (u(), l(k, { key: 1 }, [
|
|
200
|
+
v("div", {
|
|
201
|
+
class: "swiper-button-prev",
|
|
202
|
+
"data-cy": "swiper-button-prev",
|
|
203
|
+
onClick: i[2] || (i[2] = P(() => {
|
|
204
|
+
}, ["stop"]))
|
|
205
|
+
}),
|
|
206
|
+
v("div", {
|
|
207
|
+
class: "swiper-button-next",
|
|
208
|
+
"data-cy": "swiper-button-next",
|
|
209
|
+
onClick: i[3] || (i[3] = P(() => {
|
|
210
|
+
}, ["stop"]))
|
|
211
|
+
})
|
|
212
|
+
], 64)) : b("", !0)
|
|
213
|
+
], 10, te),
|
|
214
|
+
e.thumbSwiperOptions ? (u(), l("div", {
|
|
215
|
+
key: 0,
|
|
216
|
+
id: `thumb_${p.value}`,
|
|
217
|
+
thumbsSlider: "",
|
|
218
|
+
class: d(["swiper", e.$attrs["thumb-swiper-classes"]])
|
|
219
|
+
}, [
|
|
220
|
+
v("div", {
|
|
221
|
+
class: d(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
|
|
222
|
+
}, [
|
|
223
|
+
(u(!0), l(k, null, E(e.images, (t, a) => (u(), l("div", {
|
|
224
|
+
key: `thumb_${p.value}_${a}`,
|
|
225
|
+
class: d(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
|
|
226
|
+
}, [
|
|
227
|
+
v("img", F({
|
|
228
|
+
class: e.$attrs["thumb-img-classes"],
|
|
229
|
+
ref_for: !0
|
|
230
|
+
}, I(t), {
|
|
231
|
+
loading: a >= A.value ? "lazy" : void 0,
|
|
232
|
+
alt: t.alt
|
|
233
|
+
}), null, 16, ae)
|
|
234
|
+
], 2))), 128))
|
|
235
|
+
], 2)
|
|
236
|
+
], 10, ie)) : b("", !0)
|
|
237
|
+
], 10, ee));
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
export {
|
|
241
|
+
me as default
|
|
242
|
+
};
|
package/package.json
CHANGED
|
@@ -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
|
-
};
|