@wikicasa-dev/components 2.1.2 → 2.1.4-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UIKit/AccessibleSelect.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -1
- package/dist/UIKit/BaseAlert.d.ts +20 -9
- package/dist/UIKit/BaseAlert.js +3 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -1
- package/dist/UIKit/BaseBadge.d.ts +40 -5
- package/dist/UIKit/BaseBadge.js +3 -2
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement1.js +4 -0
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement2.js +4 -0
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement3.js +4 -0
- package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement4.js +4 -0
- package/dist/UIKit/BaseBanner.js +4 -0
- package/dist/UIKit/BaseBreadcrumb.js +3 -2
- package/dist/UIKit/BaseButton.d.ts +9 -8
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +5 -36
- package/dist/UIKit/BaseChip.js +4 -0
- package/dist/UIKit/BaseCollapse.js +7 -0
- package/dist/UIKit/BaseComplexToggle.d.ts +1 -1
- package/dist/UIKit/BaseComplexToggle.js +5 -105
- package/dist/UIKit/BaseDropDown.d.ts +5 -0
- package/dist/UIKit/BaseDropDown.js +1 -1
- package/dist/UIKit/BaseFloatingLabel.js +3 -39
- package/dist/UIKit/BaseIcon.js +4 -25
- package/dist/UIKit/BaseInput.d.ts +4 -5
- package/dist/UIKit/BaseInput.js +3 -210
- package/dist/UIKit/BaseModal.js +3 -2
- package/dist/UIKit/BaseNotificationBadge.js +4 -0
- package/dist/UIKit/BasePagination.d.ts +10 -3
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BasePaper.js +9 -9
- package/dist/UIKit/BasePin.js +5 -0
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.d.ts +14 -10
- package/dist/UIKit/BaseSlider.js +2 -206
- package/dist/UIKit/BaseSnackbar.js +5 -80
- package/dist/UIKit/BaseTextarea.d.ts +4 -4
- package/dist/UIKit/BaseTextarea.js +5 -126
- package/dist/UIKit/BaseToggle.d.ts +5 -8
- package/dist/UIKit/BaseToggle.js +2 -41
- package/dist/UIKit/BaseTooltip.d.ts +10 -20
- package/dist/UIKit/BaseTooltip.js +5 -40
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +9 -16
- package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -74
- package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +2 -3
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
- package/dist/UIKit/DatePicker.js +5 -0
- package/dist/UIKit/InputDropdown.js +4 -0
- package/dist/UIKit/NativeSelect.js +5 -0
- package/dist/UIKit/Navigation/NavigationBar.d.ts +17 -0
- package/dist/UIKit/Navigation/NavigationBar.js +5 -0
- package/dist/UIKit/Navigation/NavigationBarItem.d.ts +34 -0
- package/dist/UIKit/Navigation/NavigationBarItem.js +4 -0
- package/dist/UIKit/Radio/RadioButton.js +1 -1
- package/dist/UIKit/Radio/RadioGroup.js +1 -1
- package/dist/UIKit/SegmentedControl/SegmentedControl.js +4 -0
- package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +4 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +3 -20
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +1 -5
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/StaticSpinner.js +5 -26
- package/dist/UIKit/Tab/BaseTab.js +1 -1
- package/dist/UIKit/Tab/BaseTabItem.d.ts +27 -0
- package/dist/UIKit/Tab/BaseTabItem.js +4 -0
- package/dist/UIKit/Tab/BaseTabList.d.ts +3 -3
- package/dist/UIKit/Tab/BaseTabList.js +1 -1
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
- package/dist/UIKit/Tab/BaseTabView.js +1 -1
- package/dist/UIKit/types.d.ts +11 -6
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/polyline.js +2 -0
- package/dist/assets/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.16_typescript@5.8.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/free-mode.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/navigation.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/pagination.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.css +1 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/swiper.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -0
- package/dist/assets/{BaseModal.css → packages/components/lib/UIKit/BaseModal.css} +1 -1
- package/dist/assets/packages/components/lib/UIKit/BasePin.css +1 -0
- package/dist/assets/{BaseSnackbar.css → packages/components/lib/UIKit/BaseSnackbar.css} +1 -1
- package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/DatePicker.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/NativeSelect.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +1 -0
- package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.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/assets/packages/components/src/tailwind.css +1 -0
- package/dist/chart/DoughnutChart.js +1 -1
- package/dist/chart/LineChart.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +6 -1593
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/composables/useFloatingLabel.d.ts +1 -1
- package/dist/composables/useFloatingLabel.js +20 -20
- package/dist/index.d.ts +3 -2
- package/dist/index.js +96 -85
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowFilledIcon.js +19 -0
- package/dist/{chunks/ArrowIcon.Bq6Xr3uH.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js} +3 -3
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CheckIcon.js +16 -0
- package/dist/{chunks/CloseIcon.BZ4U3aiI.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_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.12_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.12_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.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +40 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/svgIconFactory-BpnFimFz.js +29 -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/ObjectUtils.js +10 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useBreakpoints.js +33 -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.8/node_modules/swiper/modules/autoplay.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/autoplay.js +129 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/controller.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/controller.js +101 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/free-mode.js +125 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/keyboard.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/keyboard.js +67 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/navigation.js +127 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/pagination.js +227 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/thumbs.css.js +1 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/thumbs.js +121 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.js +310 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/classes-to-selector.js +6 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/create-element-if-not-defined.js +12 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/ssr-window.esm.js +135 -0
- package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/utils.js +91 -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} +25 -25
- package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +113 -0
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +193 -0
- package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +54 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +29 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +75 -0
- package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +55 -0
- package/dist/packages/components/lib/UIKit/BaseButton.vue.js +86 -0
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +37 -0
- package/dist/packages/components/lib/UIKit/BaseChip.vue.js +38 -0
- package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +54 -0
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +106 -0
- package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +140 -0
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +37 -0
- package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +27 -0
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +185 -0
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +150 -0
- package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +19 -0
- package/dist/packages/components/lib/UIKit/BasePagination.vue.js +107 -0
- package/dist/packages/components/lib/UIKit/BasePaper.vue.js +7 -0
- package/dist/packages/components/lib/UIKit/BasePin.vue.js +37 -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 +136 -0
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +81 -0
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +109 -0
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +38 -0
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +56 -0
- package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +50 -0
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +78 -0
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +110 -0
- package/dist/packages/components/lib/UIKit/DatePicker.vue.js +143 -0
- package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +152 -0
- package/dist/packages/components/lib/UIKit/NativeSelect.vue.js +65 -0
- package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +21 -0
- package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +48 -0
- package/dist/{chunks/RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → packages/components/lib/UIKit/Radio/RadioButton.vue.js} +12 -12
- 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/SegmentedControl/SegmentedControl.vue.js +93 -0
- package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +30 -0
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +22 -0
- package/dist/{chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.BoEMYLem.js → packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js} +10 -9
- 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/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +39 -0
- package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +46 -0
- 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/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +109 -0
- 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 +246 -0
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +5 -3
- package/package.json +21 -18
- package/dist/UIKit/Slider/SimpleSlider.d.ts +0 -19
- package/dist/UIKit/Slider/SimpleSlider.js +0 -83
- package/dist/assets/BaseAlert.css +0 -1
- package/dist/assets/BaseBadge.css +0 -1
- package/dist/assets/BaseCard.css +0 -1
- package/dist/assets/BaseComplexToggle.css +0 -1
- package/dist/assets/BaseFloatingLabel.css +0 -1
- package/dist/assets/BaseInput.css +0 -1
- package/dist/assets/BaseShimmerLoader.css +0 -1
- package/dist/assets/BaseSlider.css +0 -1
- package/dist/assets/BaseTextarea.css +0 -1
- package/dist/assets/BaseToggle.css +0 -1
- package/dist/assets/BaseTooltip.css +0 -1
- package/dist/assets/CheckboxBtn.css +0 -1
- package/dist/assets/SimpleSlider.css +0 -1
- package/dist/assets/SwiperCarousel.css +0 -1
- package/dist/assets/index.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/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js +0 -19
- package/dist/chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.Ol7Hmb-E.js +0 -202
- package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js +0 -19
- package/dist/chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js +0 -58
- package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js +0 -66
- package/dist/chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js +0 -137
- package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js +0 -151
- package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js +0 -164
- package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js +0 -43
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +0 -105
- package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.CdwKhQoc.js +0 -71
- 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/{BaseIcon.css → packages/components/lib/UIKit/BaseIcon.css} +0 -0
- /package/dist/assets/{BasePaper.css → packages/components/lib/UIKit/BasePaper.css} +0 -0
- /package/dist/assets/{StaticSpinner.css → packages/components/lib/UIKit/StaticSpinner.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 t, createElementBlock as r, openBlock as s, normalizeClass as a, renderSlot as l } from "vue";
|
|
2
|
-
import '../assets/BaseAlert.css';const o = ["id"], p = /* @__PURE__ */ t({
|
|
3
|
-
__name: "BaseAlert",
|
|
4
|
-
props: {
|
|
5
|
-
alertClass: { default: "" }
|
|
6
|
-
},
|
|
7
|
-
setup(n) {
|
|
8
|
-
return (e, i) => (s(), r("div", {
|
|
9
|
-
id: e.$attrs.id,
|
|
10
|
-
class: a(["uikit-alert", e.alertClass]),
|
|
11
|
-
role: "alert"
|
|
12
|
-
}, [
|
|
13
|
-
l(e.$slots, "default")
|
|
14
|
-
], 10, o));
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
p as _
|
|
19
|
-
};
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, mergeModels as $, useModel as L, ref as r, computed as k, onBeforeMount as F, watch as f, createBlock as S, openBlock as C, normalizeClass as H, withCtx as s, createElementBlock as z, Fragment as A, renderList as K, unref as N, createElementVNode as U, createVNode as W, renderSlot as V } from "vue";
|
|
2
|
-
import j from "../UIKit/BaseInput.js";
|
|
3
|
-
import { _ as q } from "./BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js";
|
|
4
|
-
import "./polyline.tNTK3v2u.js";
|
|
5
|
-
import { _ as G } from "./SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js";
|
|
6
|
-
import { A as J } from "./useKeyboardController.Cs_5GQTJ.js";
|
|
7
|
-
function Q(t, p) {
|
|
8
|
-
return (...v) => new Promise((d, u) => {
|
|
9
|
-
t.id && clearTimeout(t.id), t.id = setTimeout(() => {
|
|
10
|
-
try {
|
|
11
|
-
const i = p(...v);
|
|
12
|
-
d(i);
|
|
13
|
-
} catch (i) {
|
|
14
|
-
u(i);
|
|
15
|
-
}
|
|
16
|
-
}, t.delay);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const R = ["innerHTML"], le = /* @__PURE__ */ T({
|
|
20
|
-
__name: "BaseAutocomplete",
|
|
21
|
-
props: /* @__PURE__ */ $({
|
|
22
|
-
isValid: { default: null },
|
|
23
|
-
theme: { default: "" },
|
|
24
|
-
label: { default: "" },
|
|
25
|
-
disableCb: { type: Boolean, default: !1 },
|
|
26
|
-
onInputChangeCb: { type: Function },
|
|
27
|
-
onOptionSelectedCb: { default: null },
|
|
28
|
-
keepState: { default: null },
|
|
29
|
-
cleanupOnClose: { type: Boolean, default: !0 },
|
|
30
|
-
dropdownClasses: { default: "" },
|
|
31
|
-
closeDropdownOnBodyPressed: { type: Boolean, default: !0 },
|
|
32
|
-
inputClasses: {},
|
|
33
|
-
fieldsetClasses: {},
|
|
34
|
-
dataCy: { default: "" }
|
|
35
|
-
}, {
|
|
36
|
-
modelValue: {
|
|
37
|
-
default() {
|
|
38
|
-
return { id: "", label: "" };
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
modelModifiers: {}
|
|
42
|
-
}),
|
|
43
|
-
emits: /* @__PURE__ */ $(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
|
|
44
|
-
setup(t, { expose: p, emit: v }) {
|
|
45
|
-
const d = L(
|
|
46
|
-
t,
|
|
47
|
-
"modelValue"
|
|
48
|
-
), u = v, i = r(""), n = r([]), m = r(null), c = r(!1), o = r(!1), y = r(null), B = k(() => n.value.length);
|
|
49
|
-
F(() => {
|
|
50
|
-
m.value = Q({ delay: 300 }, t.onInputChangeCb);
|
|
51
|
-
});
|
|
52
|
-
const { activeIdx: h, selectedIdx: w } = J({
|
|
53
|
-
optionsLength: B,
|
|
54
|
-
isDropdownOpen: o,
|
|
55
|
-
disableSpaceHandler: !0
|
|
56
|
-
}), O = k(() => {
|
|
57
|
-
switch (t.theme) {
|
|
58
|
-
case "bordered":
|
|
59
|
-
return "";
|
|
60
|
-
case "all-bordered":
|
|
61
|
-
return "!uikit-rounded " + (o.value && "!uikit-rounded-b-none");
|
|
62
|
-
case "all-bordered-thick":
|
|
63
|
-
return "!uikit-rounded-xl !uikit-h-[52px] " + (o.value && "!uikit-rounded-b-none");
|
|
64
|
-
default:
|
|
65
|
-
return "";
|
|
66
|
-
}
|
|
67
|
-
}), I = k(() => {
|
|
68
|
-
switch (t.theme) {
|
|
69
|
-
case "bordered":
|
|
70
|
-
return "";
|
|
71
|
-
case "all-bordered":
|
|
72
|
-
return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (o.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
|
|
73
|
-
case "all-bordered-thick":
|
|
74
|
-
return "!uikit-rounded-xl !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (o.value ? "!uikit-rounded-b-none" : "");
|
|
75
|
-
default:
|
|
76
|
-
return "";
|
|
77
|
-
}
|
|
78
|
-
}), M = k(() => {
|
|
79
|
-
const e = "uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mb-0 !uikit-mt-0 uikit-text-w-black !uikit-rounded-b-xl !uikit-rounded-t-none";
|
|
80
|
-
switch (t.theme) {
|
|
81
|
-
case "bordered":
|
|
82
|
-
return "before:uikit-content-[''] before:uikit-absolute before:uikit-w-1/2 before:uikit-border-b before:uikit-border-b-w-lavender before:[border-bottom-style:solid] before:uikit-right-1/4 uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mt-5px uikit-mb-0";
|
|
83
|
-
case "all-bordered":
|
|
84
|
-
return e;
|
|
85
|
-
case "all-bordered-thick":
|
|
86
|
-
return e + " !uikit-border-0";
|
|
87
|
-
default:
|
|
88
|
-
return "";
|
|
89
|
-
}
|
|
90
|
-
}), P = async (e) => {
|
|
91
|
-
if (i.value !== e && (u("changedValue", e), i.value = e, !!t.onInputChangeCb)) {
|
|
92
|
-
if (!e || c.value) {
|
|
93
|
-
n.value = [], c.value = !1, w.value = -1, h.value = -1, d.value && (d.value.label = ""), o.value = !1, await m.value(null);
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
t.disableCb || (n.value = await m.value(e), o.value = !!n.value.length);
|
|
97
|
-
}
|
|
98
|
-
}, g = (e, l) => {
|
|
99
|
-
t.onOptionSelectedCb && t.onOptionSelectedCb(e), t.cleanupOnClose && (n.value = []), c.value = !0, i.value = e.label, d.value = e, o.value = !1, w.value = l;
|
|
100
|
-
}, D = () => {
|
|
101
|
-
n.value.length && t.keepState !== "closed" && (o.value = !0);
|
|
102
|
-
};
|
|
103
|
-
return f(
|
|
104
|
-
d,
|
|
105
|
-
(e, l) => {
|
|
106
|
-
e === l || e?.label === i.value || (i.value = e?.label || "");
|
|
107
|
-
},
|
|
108
|
-
{ immediate: !0 }
|
|
109
|
-
), f(w, (e) => {
|
|
110
|
-
if (e === -1 || !n.value.length) return;
|
|
111
|
-
const l = n.value[e];
|
|
112
|
-
c.value && l.label === d.value?.label || g(l, e);
|
|
113
|
-
}), f(
|
|
114
|
-
() => t.keepState,
|
|
115
|
-
(e) => {
|
|
116
|
-
e === "closed" ? (o.value = !1, t.cleanupOnClose && (n.value = [])) : e === "open" && n.value.length && (o.value = !0);
|
|
117
|
-
}
|
|
118
|
-
), f(o, (e) => {
|
|
119
|
-
u("update:dropdownState", e);
|
|
120
|
-
}), p({
|
|
121
|
-
select: () => {
|
|
122
|
-
y.value?.select();
|
|
123
|
-
}
|
|
124
|
-
}), (e, l) => (C(), S(q, {
|
|
125
|
-
class: H(e.$attrs["root-classes"]),
|
|
126
|
-
"data-cy": e.dataCy ? e.dataCy : `ac_${e.$attrs.id}`,
|
|
127
|
-
"dropdown-element": "ul",
|
|
128
|
-
"dropdown-classes": [
|
|
129
|
-
{ "bordered-dropdown": e.theme === "bordered" },
|
|
130
|
-
{ "all-bordered-dropdown": e.theme === "all-bordered" },
|
|
131
|
-
{ "all-bordered-dropdown thick": e.theme === "all-bordered-thick" },
|
|
132
|
-
{
|
|
133
|
-
"uikit-mt-10px !uikit-border !uikit-border-w-secondary !uikit-rounded-xs": !e.theme
|
|
134
|
-
},
|
|
135
|
-
M.value,
|
|
136
|
-
"!uikit-max-h-[210px] uikit-z-30",
|
|
137
|
-
e.dropdownClasses
|
|
138
|
-
],
|
|
139
|
-
"open-dropdown": o.value,
|
|
140
|
-
"keep-state": !n.value.length || e.keepState === "closed" ? "closed" : "opened",
|
|
141
|
-
"close-when-clicked-outside": e.closeDropdownOnBodyPressed,
|
|
142
|
-
"activate-keyboard-controller": !1,
|
|
143
|
-
"onUpdate:dropdownState": l[3] || (l[3] = (a) => o.value = a),
|
|
144
|
-
onClick: l[4] || (l[4] = (a) => {
|
|
145
|
-
u("click"), D();
|
|
146
|
-
})
|
|
147
|
-
}, {
|
|
148
|
-
btn_slot: s(() => [
|
|
149
|
-
W(j, {
|
|
150
|
-
id: e.$attrs.id ? `ac_input_${e.$attrs.id}` : "",
|
|
151
|
-
ref_key: "baseInput",
|
|
152
|
-
ref: y,
|
|
153
|
-
"data-cy": e.dataCy ? `ac_input_${e.dataCy}` : `ac_input_${e.$attrs.id}`,
|
|
154
|
-
"label-text": e.label,
|
|
155
|
-
"model-value": i.value,
|
|
156
|
-
"is-valid": e.isValid,
|
|
157
|
-
disabled: e.$attrs.disabled,
|
|
158
|
-
placeholder: e.$attrs.placeholder,
|
|
159
|
-
"with-left-icon": !!e.$slots.lefticon,
|
|
160
|
-
"with-right-icon": !!e.$slots.righticon,
|
|
161
|
-
"input-class": [
|
|
162
|
-
O.value,
|
|
163
|
-
e.inputClasses,
|
|
164
|
-
"!uikit-ml-0 !uikit-w-full"
|
|
165
|
-
],
|
|
166
|
-
"fieldset-classes": [I.value, e.fieldsetClasses],
|
|
167
|
-
"onUpdate:modelValue": l[0] || (l[0] = (a) => P(a === void 0 ? "" : `${a}`)),
|
|
168
|
-
onKeydown: l[1] || (l[1] = (a) => u("keydown", a)),
|
|
169
|
-
onKeydownEnterPressed: l[2] || (l[2] = () => u("keydownEnterPressed"))
|
|
170
|
-
}, {
|
|
171
|
-
leftIcon: s(() => [
|
|
172
|
-
V(e.$slots, "lefticon")
|
|
173
|
-
]),
|
|
174
|
-
righticon: s(({ handleClean: a }) => [
|
|
175
|
-
V(e.$slots, "righticon", { handleClean: a })
|
|
176
|
-
]),
|
|
177
|
-
_: 3
|
|
178
|
-
}, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
|
|
179
|
-
]),
|
|
180
|
-
default: s(() => [
|
|
181
|
-
(C(!0), z(A, null, K(n.value, (a, b) => (C(), S(G, {
|
|
182
|
-
key: b,
|
|
183
|
-
active: N(h) === b,
|
|
184
|
-
class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
|
|
185
|
-
onClick: (E) => g(a, b),
|
|
186
|
-
onMouseover: (E) => h.value = b
|
|
187
|
-
}, {
|
|
188
|
-
default: s(() => [
|
|
189
|
-
U("span", {
|
|
190
|
-
innerHTML: a.label
|
|
191
|
-
}, null, 8, R)
|
|
192
|
-
]),
|
|
193
|
-
_: 2
|
|
194
|
-
}, 1032, ["active", "onClick", "onMouseover"]))), 128))
|
|
195
|
-
]),
|
|
196
|
-
_: 3
|
|
197
|
-
}, 8, ["class", "data-cy", "dropdown-classes", "open-dropdown", "keep-state", "close-when-clicked-outside"]));
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
export {
|
|
201
|
-
le as _
|
|
202
|
-
};
|
|
@@ -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,58 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, computed as k, createElementBlock as s, openBlock as i, createElementVNode as n, normalizeClass as a, Fragment as u, renderList as p, renderSlot as c, toDisplayString as h, createVNode as b, unref as f } from "vue";
|
|
2
|
-
import { a as C } from "./ArrowIcon.Bq6Xr3uH.js";
|
|
3
|
-
import "./PharmacyIcon.DEQ8mOEJ.js";
|
|
4
|
-
const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $ = /* @__PURE__ */ d({
|
|
5
|
-
__name: "BaseBreadcrumb",
|
|
6
|
-
props: {
|
|
7
|
-
items: {},
|
|
8
|
-
listClasses: {},
|
|
9
|
-
listItemClasses: {}
|
|
10
|
-
},
|
|
11
|
-
setup(r) {
|
|
12
|
-
const m = k(() => {
|
|
13
|
-
let e = 0;
|
|
14
|
-
const l = [];
|
|
15
|
-
for (; e < r.items.length; )
|
|
16
|
-
l.push({ ...r.items[e], idx: e }), e < r.items.length - 1 && l.push({ arrowIcon: !0 }), e++;
|
|
17
|
-
return l;
|
|
18
|
-
});
|
|
19
|
-
return (e, l) => (i(), s("nav", g, [
|
|
20
|
-
n("ol", {
|
|
21
|
-
class: a(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", e.listClasses])
|
|
22
|
-
}, [
|
|
23
|
-
(i(!0), s(u, null, p(m.value, (t, o) => (i(), s(u, null, [
|
|
24
|
-
t?.label ? (i(), s("li", {
|
|
25
|
-
key: `breadcrumb-li-${o}`,
|
|
26
|
-
class: a(["uikit-list-none", e.listItemClasses]),
|
|
27
|
-
"data-tooltip": t.dataTooltip
|
|
28
|
-
}, [
|
|
29
|
-
c(e.$slots, "item", {
|
|
30
|
-
item: t
|
|
31
|
-
}, () => [
|
|
32
|
-
n("a", {
|
|
33
|
-
class: a(["uikit-text-w-black uikit-no-underline", { "uikit-text-w-primary": t.active }]),
|
|
34
|
-
href: t.link
|
|
35
|
-
}, h(t.label), 11, B)
|
|
36
|
-
])
|
|
37
|
-
], 10, w)) : (i(), s("li", {
|
|
38
|
-
key: `breadcrumb-li-no-label-${o}`,
|
|
39
|
-
class: a(["uikit-list-none", e.listItemClasses]),
|
|
40
|
-
"aria-hidden": "true"
|
|
41
|
-
}, [
|
|
42
|
-
c(e.$slots, "separator", {}, () => [
|
|
43
|
-
b(f(C), {
|
|
44
|
-
class: "-uikit-rotate-90",
|
|
45
|
-
"stroke-color": "#222",
|
|
46
|
-
width: 10,
|
|
47
|
-
height: 10
|
|
48
|
-
})
|
|
49
|
-
])
|
|
50
|
-
], 2))
|
|
51
|
-
], 64))), 256))
|
|
52
|
-
], 2)
|
|
53
|
-
]));
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
export {
|
|
57
|
-
$ as _
|
|
58
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as b, computed as s, createElementBlock as f, openBlock as v, withModifiers as l, normalizeStyle as B, normalizeClass as C, renderSlot as u, createVNode as c } from "vue";
|
|
2
|
-
import M from "../UIKit/StaticSpinner.js";
|
|
3
|
-
const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], S = /* @__PURE__ */ y({
|
|
4
|
-
__name: "BaseButton",
|
|
5
|
-
props: {
|
|
6
|
-
btnClass: { default: "uikit-btn-w-primary" },
|
|
7
|
-
outlined: { type: Boolean },
|
|
8
|
-
size: {},
|
|
9
|
-
withMinWidth: { type: Boolean, default: !0 },
|
|
10
|
-
keepActive: { type: Boolean },
|
|
11
|
-
isLoading: { type: Boolean },
|
|
12
|
-
disabled: { type: Boolean },
|
|
13
|
-
ariaLabel: {},
|
|
14
|
-
title: {},
|
|
15
|
-
dataCy: {},
|
|
16
|
-
type: {}
|
|
17
|
-
},
|
|
18
|
-
emits: ["mouseover", "mouseout", "click"],
|
|
19
|
-
setup(o, { emit: r }) {
|
|
20
|
-
const a = r, n = b(!1), d = s(() => o.size ? `uikit-btn-${o.size}` : ""), m = s(() => o.outlined ? "uikit-btn-outline" : ""), p = () => {
|
|
21
|
-
n.value = !0;
|
|
22
|
-
}, k = () => {
|
|
23
|
-
n.value = !1;
|
|
24
|
-
};
|
|
25
|
-
return (e, t) => (v(), f("button", {
|
|
26
|
-
id: e.$attrs.id,
|
|
27
|
-
"data-cy": e.dataCy,
|
|
28
|
-
type: e.type,
|
|
29
|
-
class: C([
|
|
30
|
-
"uikit-btn",
|
|
31
|
-
{
|
|
32
|
-
"uikit-btn-empty": !e.withMinWidth,
|
|
33
|
-
"active uikit-font-medium": e.keepActive,
|
|
34
|
-
"uikit-flex uikit-items-center uikit-justify-center": e.isLoading
|
|
35
|
-
},
|
|
36
|
-
e.btnClass,
|
|
37
|
-
d.value,
|
|
38
|
-
m.value
|
|
39
|
-
]),
|
|
40
|
-
style: B(e.$attrs.style),
|
|
41
|
-
"data-active": e.keepActive,
|
|
42
|
-
disabled: e.isLoading || e.disabled,
|
|
43
|
-
"aria-label": e.ariaLabel,
|
|
44
|
-
title: e.title,
|
|
45
|
-
onMouseover: t[0] || (t[0] = l((i) => {
|
|
46
|
-
p(), a("mouseover", i);
|
|
47
|
-
}, ["stop"])),
|
|
48
|
-
onMouseout: t[1] || (t[1] = l((i) => {
|
|
49
|
-
k(), a("mouseout", i);
|
|
50
|
-
}, ["stop"])),
|
|
51
|
-
onClick: t[2] || (t[2] = (i) => a("click", i))
|
|
52
|
-
}, [
|
|
53
|
-
e.isLoading ? u(e.$slots, "spinner", { key: 1 }, () => [
|
|
54
|
-
c(M, {
|
|
55
|
-
"stroke-color": e.outlined ? "#ACB4C3" : "#fff"
|
|
56
|
-
}, null, 8, ["stroke-color"])
|
|
57
|
-
]) : u(e.$slots, "default", {
|
|
58
|
-
key: 0,
|
|
59
|
-
hover: n.value
|
|
60
|
-
})
|
|
61
|
-
], 46, z));
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
export {
|
|
65
|
-
S as _
|
|
66
|
-
};
|