@wikicasa-dev/components 2.1.2-alpha.2 → 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.BGHgUDoY.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.0x6YWuUP.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js} +2 -2
- package/dist/{chunks/free-mode.DuU7N2XQ.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.DRVbxSum.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js} +14 -13
- package/dist/{chunks/navigation.DN21unMg.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js} +4 -4
- package/dist/{chunks/pagination.DiUF6O5_.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.0ifInQuA.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.42NcLnr9.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.BG9WKjrJ.js +0 -757
- 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,213 @@
|
|
|
1
|
+
import { defineComponent as F, mergeModels as $, useModel as M, useId as A, computed as V, ref as L, watch as w, onMounted as E, onUnmounted as P, createElementBlock as s, openBlock as a, normalizeClass as l, createElementVNode as o, createCommentVNode as d, withModifiers as p, renderSlot as z, unref as b, createBlock as N, createVNode as O, Fragment as T, renderList as S } from "vue";
|
|
2
|
+
import { useKeyboardController as q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
|
|
3
|
+
import { ArrowIcon as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
4
|
+
import { WarningIconRounded as K } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js";
|
|
5
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
6
|
+
const R = ["id", "innerHTML"], U = ["id", "data-cy", "aria-required", "aria-controls", "aria-labelledby", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby"], W = ["innerHTML"], G = { class: "uikit-pointer-events-none uikit-mt-1 uikit-inline-flex" }, J = ["innerHTML"], Q = ["data-cy"], X = ["id", "aria-selected", "onClick", "onMouseover"], Y = { class: "uikit-inline-block uikit-cursor-pointer uikit-text-sm" }, Z = ["name", "checked", "onInput"], x = ["innerHTML"], _ = ["id", "arial-live", "innerHTML"], ee = ["id", "arial-live", "innerHTML"], se = /* @__PURE__ */ F({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "AccessibleSelect",
|
|
9
|
+
props: /* @__PURE__ */ $({
|
|
10
|
+
label: { default: "" },
|
|
11
|
+
dropdownPosition: { default: "bottom" },
|
|
12
|
+
namespace: {},
|
|
13
|
+
options: {},
|
|
14
|
+
isValid: { type: [Boolean, null], default: null },
|
|
15
|
+
feedback: {},
|
|
16
|
+
closeOnBodyPressed: { type: Boolean, default: !0 },
|
|
17
|
+
border: { type: Boolean, default: !0 },
|
|
18
|
+
fieldsetClasses: {},
|
|
19
|
+
legendClasses: {},
|
|
20
|
+
dropdownClasses: {},
|
|
21
|
+
labelClasses: {},
|
|
22
|
+
btnClasses: {},
|
|
23
|
+
dropdownItemClasses: {},
|
|
24
|
+
btnTextClasses: {},
|
|
25
|
+
arrowIcon: {},
|
|
26
|
+
dataCy: {},
|
|
27
|
+
wrapperClasses: {}
|
|
28
|
+
}, {
|
|
29
|
+
modelValue: {
|
|
30
|
+
default: () => ({ id: "", label: "" })
|
|
31
|
+
},
|
|
32
|
+
modelModifiers: {},
|
|
33
|
+
toggleDropdown: {
|
|
34
|
+
default: void 0
|
|
35
|
+
},
|
|
36
|
+
toggleDropdownModifiers: {}
|
|
37
|
+
}),
|
|
38
|
+
emits: /* @__PURE__ */ $(["click", "update:dropdownState"], ["update:modelValue", "update:toggleDropdown"]),
|
|
39
|
+
setup(u, { emit: B }) {
|
|
40
|
+
const h = B, k = M(u, "modelValue"), y = M(u, "toggleDropdown"), H = A(), t = V(() => u.namespace || H), i = L(!1), I = L(null), f = V(() => !!k.value.label), { activeIdx: c, selectedIdx: D } = q({
|
|
41
|
+
optionsLength: u.options.length,
|
|
42
|
+
isDropdownOpen: i
|
|
43
|
+
}), m = (e) => {
|
|
44
|
+
i.value = !1, k.value = e;
|
|
45
|
+
};
|
|
46
|
+
w(D, (e) => {
|
|
47
|
+
m(u.options[e]), i.value = !1;
|
|
48
|
+
}), w(y, (e) => {
|
|
49
|
+
e && (i.value = !i.value, y.value = !1);
|
|
50
|
+
}), w(i, (e) => {
|
|
51
|
+
h("update:dropdownState", e);
|
|
52
|
+
});
|
|
53
|
+
const g = ({ target: e }) => {
|
|
54
|
+
`${t.value}_btn` !== e.id && (i.value = !1);
|
|
55
|
+
};
|
|
56
|
+
return E(() => {
|
|
57
|
+
u.closeOnBodyPressed && document.addEventListener("click", g);
|
|
58
|
+
}), P(() => {
|
|
59
|
+
u.closeOnBodyPressed && document.removeEventListener("click", g);
|
|
60
|
+
}), (e, n) => (a(), s("div", {
|
|
61
|
+
class: l(e.$attrs.class)
|
|
62
|
+
}, [
|
|
63
|
+
o("div", {
|
|
64
|
+
class: l(["uikit-relative uikit-flex uikit-h-12 uikit-items-center", e.wrapperClasses])
|
|
65
|
+
}, [
|
|
66
|
+
e.label ? (a(), s("label", {
|
|
67
|
+
key: 0,
|
|
68
|
+
id: `${t.value}_label`,
|
|
69
|
+
class: l(["uikit-pointer-events-none uikit-absolute uikit-z-10 uikit-text-sm uikit-font-medium uikit-transition-all uikit-ease-in-out", [
|
|
70
|
+
f.value ? "as-floating -uikit-top-1 uikit-left-[22px] uikit-text-w-black" : "as-inline uikit-top-4 uikit-text-w-gray",
|
|
71
|
+
e.labelClasses,
|
|
72
|
+
{ "uikit-left-9": e.$slots.lefticon && !f.value },
|
|
73
|
+
{ "uikit-left-4": !e.$slots.lefticon && !f.value }
|
|
74
|
+
]]),
|
|
75
|
+
innerHTML: e.label
|
|
76
|
+
}, null, 10, R)) : d("", !0),
|
|
77
|
+
e.$slots.lefticon ? (a(), s("span", {
|
|
78
|
+
key: 1,
|
|
79
|
+
class: "uikit-z-20 uikit-mt-2 uikit-pl-2",
|
|
80
|
+
onClick: n[0] || (n[0] = p((r) => i.value = !i.value, ["stop"]))
|
|
81
|
+
}, [
|
|
82
|
+
z(e.$slots, "lefticon")
|
|
83
|
+
])) : d("", !0),
|
|
84
|
+
o("button", {
|
|
85
|
+
id: `${t.value}_btn`,
|
|
86
|
+
ref_key: "btnEl",
|
|
87
|
+
ref: I,
|
|
88
|
+
type: "button",
|
|
89
|
+
"data-cy": e.dataCy,
|
|
90
|
+
class: l(["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]]),
|
|
91
|
+
"aria-required": !!e.$attrs.required,
|
|
92
|
+
role: "combobox",
|
|
93
|
+
"aria-haspopup": "listbox",
|
|
94
|
+
"aria-controls": `${t.value}_dropdown`,
|
|
95
|
+
"aria-labelledby": `${t.value}_label ${t.value}_btn`,
|
|
96
|
+
"aria-expanded": i.value,
|
|
97
|
+
"aria-activedescendant": b(c) >= 0 && i.value ? `${t.value}_element_${e.options[b(c)].label}` : "",
|
|
98
|
+
"aria-invalid": e.isValid === !1,
|
|
99
|
+
"aria-describedby": e.isValid === !1 ? `${t.value}_invalid_msg` : void 0,
|
|
100
|
+
onClick: n[1] || (n[1] = (r) => {
|
|
101
|
+
i.value = !i.value, h("click", r);
|
|
102
|
+
})
|
|
103
|
+
}, [
|
|
104
|
+
o("span", {
|
|
105
|
+
class: l(["uikit-pointer-events-none uikit-mt-1", e.btnTextClasses]),
|
|
106
|
+
innerHTML: k.value.visibleLabel || k.value.label
|
|
107
|
+
}, null, 10, W),
|
|
108
|
+
o("span", G, [
|
|
109
|
+
e.isValid == !1 ? (a(), N(b(K), {
|
|
110
|
+
key: 0,
|
|
111
|
+
class: "uikit-mr-1",
|
|
112
|
+
width: 20,
|
|
113
|
+
height: 20,
|
|
114
|
+
"stroke-color": "#FA4F64"
|
|
115
|
+
})) : d("", !0),
|
|
116
|
+
O(b(j), {
|
|
117
|
+
class: l(["uikit-transition-transform motion-reduce:uikit-transition-none", [
|
|
118
|
+
i.value ? "uikit-rotate-180" : "",
|
|
119
|
+
e.arrowIcon?.classes
|
|
120
|
+
]]),
|
|
121
|
+
width: e.arrowIcon?.width ?? 18,
|
|
122
|
+
height: e.arrowIcon?.height ?? 18,
|
|
123
|
+
"stroke-color": e.isValid ? "#2B5DFF" : e.isValid === !1 ? "#FA4F64" : e.arrowIcon?.strokeColor ?? "#222"
|
|
124
|
+
}, null, 8, ["class", "width", "height", "stroke-color"])
|
|
125
|
+
])
|
|
126
|
+
], 10, U),
|
|
127
|
+
o("fieldset", {
|
|
128
|
+
"aria-hidden": "true",
|
|
129
|
+
class: l(["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", [
|
|
130
|
+
e.fieldsetClasses,
|
|
131
|
+
e.isValid ? "uikit-border-w-primary" : e.isValid === !1 ? "uikit-border-w-danger" : "uikit-border-w-secondary",
|
|
132
|
+
{
|
|
133
|
+
"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
|
|
134
|
+
},
|
|
135
|
+
{ "uikit-border-0 peer-focus:uikit-border-0": !e.border }
|
|
136
|
+
]])
|
|
137
|
+
}, [
|
|
138
|
+
o("legend", {
|
|
139
|
+
class: l([[e.legendClasses, { "uikit-m-0 uikit-w-0": !e.label }], "uikit-ml-2 uikit-h-3 uikit-px-0 uikit-text-sm"])
|
|
140
|
+
}, [
|
|
141
|
+
e.label ? (a(), s("span", {
|
|
142
|
+
key: 0,
|
|
143
|
+
class: l(["uikit-mx-5px", [k.value.label ? "uikit-invisible" : "uikit-hidden"]]),
|
|
144
|
+
innerHTML: e.label
|
|
145
|
+
}, null, 10, J)) : d("", !0)
|
|
146
|
+
], 2)
|
|
147
|
+
], 2),
|
|
148
|
+
o("ul", {
|
|
149
|
+
"data-cy": e.dataCy && `${e.dataCy}_dropdown`,
|
|
150
|
+
role: "listbox",
|
|
151
|
+
tabindex: -1,
|
|
152
|
+
"aria-multiselectable": !1,
|
|
153
|
+
class: l(["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", [
|
|
154
|
+
{ "uikit-h-0 uikit-w-0 uikit-overflow-hidden": !i.value },
|
|
155
|
+
{
|
|
156
|
+
"uikit-rounded-xs uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white": i.value
|
|
157
|
+
},
|
|
158
|
+
{ "uikit-bottom-[55px]": e.dropdownPosition === "top" },
|
|
159
|
+
{ "uikit-top-[55px]": e.dropdownPosition === "bottom" },
|
|
160
|
+
e.dropdownClasses
|
|
161
|
+
]]),
|
|
162
|
+
onClick: n[3] || (n[3] = p(() => {
|
|
163
|
+
}, ["stop"]))
|
|
164
|
+
}, [
|
|
165
|
+
(a(!0), s(T, null, S(e.options, (r, v) => (a(), s("li", {
|
|
166
|
+
id: `${t.value}_element_${e.options[v].label}`,
|
|
167
|
+
key: `${r.label}_${v}`,
|
|
168
|
+
role: "option",
|
|
169
|
+
"aria-selected": b(c) === v,
|
|
170
|
+
class: l(["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]),
|
|
171
|
+
onClick: p((C) => m(r), ["stop"]),
|
|
172
|
+
onMouseover: p((C) => c.value = v, ["stop"]),
|
|
173
|
+
onBlur: n[2] || (n[2] = p(() => {
|
|
174
|
+
}, ["stop"]))
|
|
175
|
+
}, [
|
|
176
|
+
o("label", Y, [
|
|
177
|
+
o("input", {
|
|
178
|
+
tabindex: "-1",
|
|
179
|
+
class: "uikit-m-0 uikit-appearance-none",
|
|
180
|
+
name: `${t.value}_radio`,
|
|
181
|
+
type: "radio",
|
|
182
|
+
checked: r.label === k.value.label,
|
|
183
|
+
onInput: p((C) => m(r), ["stop"])
|
|
184
|
+
}, null, 40, Z),
|
|
185
|
+
o("span", {
|
|
186
|
+
innerHTML: r.label
|
|
187
|
+
}, null, 8, x)
|
|
188
|
+
])
|
|
189
|
+
], 42, X))), 128))
|
|
190
|
+
], 10, Q)
|
|
191
|
+
], 2),
|
|
192
|
+
e.feedback ? (a(), s(T, { key: 0 }, [
|
|
193
|
+
e.feedback.valid ? (a(), s("span", {
|
|
194
|
+
key: 0,
|
|
195
|
+
id: `${t.value}_valid_msg`,
|
|
196
|
+
"arial-live": e.$attrs["aria-live"],
|
|
197
|
+
class: "uikit-mt-1 uikit-inline-block uikit-text-12",
|
|
198
|
+
innerHTML: e.isValid ? e.feedback.valid : ""
|
|
199
|
+
}, null, 8, _)) : d("", !0),
|
|
200
|
+
e.feedback.invalid ? (a(), s("span", {
|
|
201
|
+
key: 1,
|
|
202
|
+
id: `${t.value}_invalid_msg`,
|
|
203
|
+
"arial-live": e.$attrs["aria-live"],
|
|
204
|
+
class: "uikit-mt-1 uikit-inline-block uikit-text-12 uikit-text-w-danger",
|
|
205
|
+
innerHTML: e.isValid === !1 ? e.feedback.invalid : ""
|
|
206
|
+
}, null, 8, ee)) : d("", !0)
|
|
207
|
+
], 64)) : d("", !0)
|
|
208
|
+
], 2));
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
export {
|
|
212
|
+
se as default
|
|
213
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent as p, ref as u, provide as c, renderSlot as d } from "vue";
|
|
2
|
+
import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
3
|
+
import { isEmptyObject as f } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
|
|
4
|
+
import "../../../../../_virtual/polyline.js";
|
|
5
|
+
const k = /* @__PURE__ */ p({
|
|
6
|
+
__name: "BaseAccordion",
|
|
7
|
+
props: {
|
|
8
|
+
autoClose: { type: Boolean, default: !0 },
|
|
9
|
+
autoUpdate: { type: Boolean, default: !0 }
|
|
10
|
+
},
|
|
11
|
+
setup(l) {
|
|
12
|
+
const n = u(null), o = u(
|
|
13
|
+
{}
|
|
14
|
+
), i = (e, t) => {
|
|
15
|
+
if (l.autoClose && t && !f(t))
|
|
16
|
+
for (const a in t)
|
|
17
|
+
a !== `${e}` && (t[a].active = !1);
|
|
18
|
+
}, s = (e, t) => {
|
|
19
|
+
t && (t[e].active = !(t[e].active ?? !1));
|
|
20
|
+
}, r = (e, t) => {
|
|
21
|
+
i(e.id, t ?? o.value), n.value = e, s(e.id, t ?? o.value);
|
|
22
|
+
};
|
|
23
|
+
return c("handleClick", (e) => {
|
|
24
|
+
l.autoUpdate && r(e);
|
|
25
|
+
}), c("accordionItems", o), (e, t) => d(e.$slots, "default", {
|
|
26
|
+
updatePrev: r,
|
|
27
|
+
prev: n.value
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
k as default
|
|
33
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as e, renderSlot as
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
1
|
+
import { defineComponent as s, createElementBlock as l, openBlock as d, normalizeClass as e, renderSlot as n, createElementVNode as c, withModifiers as p, createVNode as u, unref as k } from "vue";
|
|
2
|
+
import { ArrowIcon as m } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
3
|
+
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
4
4
|
const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "BaseAccordionBtn",
|
|
@@ -13,8 +13,8 @@ const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s(
|
|
|
13
13
|
toggleAccordion: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
emits: ["click"],
|
|
16
|
-
setup(C, { emit:
|
|
17
|
-
const r =
|
|
16
|
+
setup(C, { emit: i }) {
|
|
17
|
+
const r = i;
|
|
18
18
|
return (o, t) => (d(), l("div", {
|
|
19
19
|
id: `${o.id}`,
|
|
20
20
|
class: e(["uikit-flex uikit-items-center uikit-justify-around", [
|
|
@@ -23,8 +23,8 @@ const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s(
|
|
|
23
23
|
]]),
|
|
24
24
|
onClick: t[1] || (t[1] = (a) => o.onContainerClickExpand && o.toggleAccordion())
|
|
25
25
|
}, [
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
n(o.$slots, "custom_content"),
|
|
27
|
+
n(o.$slots, "custom_btn", {
|
|
28
28
|
btnId: `btn-${o.id}`,
|
|
29
29
|
isOpen: o.accordionOpen,
|
|
30
30
|
toggleAccordion: o.toggleAccordion
|
|
@@ -56,5 +56,5 @@ const f = ["id"], g = ["aria-expanded", "aria-controls"], b = /* @__PURE__ */ s(
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
export {
|
|
59
|
-
b as
|
|
59
|
+
b as default
|
|
60
60
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as h, ref as $, inject as p, watch as l, unref as d, createElementBlock as v, openBlock as u, normalizeClass as m, createBlock as y, createCommentVNode as g, renderSlot as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
1
|
+
import { defineComponent as h, ref as $, inject as p, watch as l, unref as d, createElementBlock as v, openBlock as u, normalizeClass as m, createBlock as y, createCommentVNode as g, renderSlot as s, createElementVNode as f, withModifiers as O, createVNode as k, withCtx as c } from "vue";
|
|
2
|
+
import A from "./BaseAccordionBtn.vue.js";
|
|
3
|
+
import B from "./BaseAccordionContent.vue.js";
|
|
4
|
+
import { ArrowIcon as E } from "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
5
|
+
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
6
6
|
const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M = ["itemprop", "innerHTML"], P = /* @__PURE__ */ h({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "BaseAccordionItem",
|
|
@@ -36,16 +36,16 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
36
36
|
() => {
|
|
37
37
|
},
|
|
38
38
|
!0
|
|
39
|
-
), C = (e,
|
|
40
|
-
a(
|
|
39
|
+
), C = (e, t = !1) => {
|
|
40
|
+
a(t ? "accordionOpened" : "accordionClosed", e), a("update:accordionState", t);
|
|
41
41
|
};
|
|
42
42
|
r && (r.value[i.id] = { id: i.id, title: i.title, active: i.active }), l(
|
|
43
43
|
() => d(r),
|
|
44
44
|
(e) => {
|
|
45
|
-
const
|
|
46
|
-
!
|
|
47
|
-
{ id: i.id, title: i.title, active:
|
|
48
|
-
|
|
45
|
+
const t = e?.[i.id];
|
|
46
|
+
!t || o.value === t.active || (o.value = t.active ?? !1, C(
|
|
47
|
+
{ id: i.id, title: i.title, active: t.active },
|
|
48
|
+
t.active
|
|
49
49
|
));
|
|
50
50
|
},
|
|
51
51
|
{ deep: !0, immediate: !0 }
|
|
@@ -61,7 +61,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
61
61
|
const n = () => {
|
|
62
62
|
o.value = !o.value;
|
|
63
63
|
};
|
|
64
|
-
return (e,
|
|
64
|
+
return (e, t) => (u(), v("div", {
|
|
65
65
|
class: m(e.rootClasses)
|
|
66
66
|
}, [
|
|
67
67
|
!e.$slots.custom_content && !e.$slots.custom_btn && !e.$slots.custom_accordion ? (u(), v("div", W, [
|
|
@@ -72,7 +72,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
72
72
|
"data-cy": e.dataCy,
|
|
73
73
|
"aria-expanded": o.value,
|
|
74
74
|
"aria-controls": `accordion-text-${e.id}`,
|
|
75
|
-
onClick:
|
|
75
|
+
onClick: t[0] || (t[0] = O((N) => {
|
|
76
76
|
n(), d(b)?.({ id: e.id, title: e.title, active: o.value }), a("click");
|
|
77
77
|
}, ["prevent", "stop"]))
|
|
78
78
|
}, [
|
|
@@ -90,7 +90,7 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
90
90
|
height: e.arrowWidth
|
|
91
91
|
}, null, 8, ["class", "arrow-classes", "width", "height"])
|
|
92
92
|
], 10, I)
|
|
93
|
-
])) : (e.$slots.custom_content || e.$slots.custom_btn) && !e.$slots.custom_accordion ? (u(), y(
|
|
93
|
+
])) : (e.$slots.custom_content || e.$slots.custom_btn) && !e.$slots.custom_accordion ? (u(), y(A, {
|
|
94
94
|
key: 1,
|
|
95
95
|
id: e.id,
|
|
96
96
|
"btn-wrapper-classes": e.btnWrapperClasses,
|
|
@@ -102,10 +102,10 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
102
102
|
"accordion-open": o.value
|
|
103
103
|
}, {
|
|
104
104
|
custom_content: c(() => [
|
|
105
|
-
|
|
105
|
+
s(e.$slots, "custom_content")
|
|
106
106
|
]),
|
|
107
107
|
custom_btn: c(() => [
|
|
108
|
-
|
|
108
|
+
s(e.$slots, "custom_btn", {
|
|
109
109
|
btnId: `btn-${e.id}`,
|
|
110
110
|
isOpen: o.value,
|
|
111
111
|
toggleAccordion: n
|
|
@@ -113,12 +113,12 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
113
113
|
]),
|
|
114
114
|
_: 3
|
|
115
115
|
}, 8, ["id", "btn-wrapper-classes", "btn-classes", "arrow-color", "arrow-classes", "on-container-click-expand", "accordion-open"])) : g("", !0),
|
|
116
|
-
|
|
116
|
+
s(e.$slots, "custom_accordion", {
|
|
117
117
|
id: e.id,
|
|
118
118
|
isOpen: o.value,
|
|
119
119
|
toggleAccordion: n
|
|
120
120
|
}, () => [
|
|
121
|
-
k(
|
|
121
|
+
k(B, {
|
|
122
122
|
id: e.id,
|
|
123
123
|
"accordion-open": o.value,
|
|
124
124
|
"accordion-open-classes": e.accordionOpenClasses,
|
|
@@ -127,10 +127,10 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
127
127
|
"accordion-classes": e.accordionClasses
|
|
128
128
|
}, {
|
|
129
129
|
custom_accordion_content: c(() => [
|
|
130
|
-
|
|
130
|
+
s(e.$slots, "custom_accordion_content", { isOpen: o.value })
|
|
131
131
|
]),
|
|
132
132
|
default: c(() => [
|
|
133
|
-
|
|
133
|
+
s(e.$slots, "default", { isOpen: o.value })
|
|
134
134
|
]),
|
|
135
135
|
_: 3
|
|
136
136
|
}, 8, ["id", "accordion-open", "accordion-open-classes", "accordion-close-classes", "accordion-content-classes", "accordion-classes"])
|
|
@@ -139,5 +139,5 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
export {
|
|
142
|
-
P as
|
|
142
|
+
P as default
|
|
143
143
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, createElementBlock as r, openBlock as s, normalizeClass as a, renderSlot as l } from "vue";
|
|
2
|
-
|
|
2
|
+
const o = ["id"], p = /* @__PURE__ */ t({
|
|
3
3
|
__name: "BaseAlert",
|
|
4
4
|
props: {
|
|
5
5
|
alertClass: { default: "" }
|
|
@@ -15,5 +15,5 @@ import '../assets/BaseAlert.css';const o = ["id"], p = /* @__PURE__ */ t({
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
export {
|
|
18
|
-
p as
|
|
18
|
+
p as default
|
|
19
19
|
};
|