@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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as h, ref as $, inject as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
1
|
+
import { defineComponent as h, ref as $, inject as C, 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.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
|
|
5
|
+
import "../../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_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",
|
|
@@ -26,31 +26,31 @@ const W = { key: 0 }, I = ["id", "data-cy", "aria-expanded", "aria-controls"], M
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["click", "accordionOpened", "accordionClosed", "update:accordionState"],
|
|
28
28
|
setup(i, { emit: w }) {
|
|
29
|
-
const a = w, o = $(!1), r =
|
|
29
|
+
const a = w, o = $(!1), r = C(
|
|
30
30
|
"accordionItems",
|
|
31
31
|
() => {
|
|
32
32
|
},
|
|
33
33
|
!0
|
|
34
|
-
), b =
|
|
34
|
+
), b = C(
|
|
35
35
|
"handleClick",
|
|
36
36
|
() => {
|
|
37
37
|
},
|
|
38
38
|
!0
|
|
39
|
-
),
|
|
40
|
-
a(
|
|
39
|
+
), p = (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, p(
|
|
47
|
+
{ id: i.id, title: i.title, active: t.active },
|
|
48
|
+
t.active
|
|
49
49
|
));
|
|
50
50
|
},
|
|
51
51
|
{ deep: !0, immediate: !0 }
|
|
52
52
|
), l(o, (e) => {
|
|
53
|
-
o.value = e,
|
|
53
|
+
o.value = e, p({ id: i.id, title: i.title, active: o.value }, e);
|
|
54
54
|
}), l(
|
|
55
55
|
() => i.active,
|
|
56
56
|
(e) => {
|
|
@@ -61,18 +61,18 @@ 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, [
|
|
68
68
|
f("button", {
|
|
69
69
|
id: `accordion-title-${e.id}`,
|
|
70
70
|
type: "button",
|
|
71
|
-
class: m(["uikit-flex uikit-w-full uikit-items-center uikit-justify-between uikit-border-0 uikit-bg-white uikit-px-
|
|
71
|
+
class: m(["uikit-flex uikit-w-full uikit-items-center uikit-justify-between uikit-border-0 uikit-bg-white uikit-px-[20px] uikit-py-md uikit-text-left uikit-font-semibold uikit-transition-colors active:max-sm:uikit-bg-w-cultured hover:sm:uikit-bg-w-cultured", e.btnClasses]),
|
|
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
|
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { defineComponent as g, mergeModels as T, useModel as h, ref as w, watch as x, nextTick as y, createBlock as f, openBlock as m, unref as e, withCtx as l, renderSlot as r, createVNode as i, normalizeClass as C, createCommentVNode as I, normalizeStyle as b } from "vue";
|
|
2
|
+
import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
|
|
3
|
+
import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
|
|
4
|
+
import { ToastProvider as $, ToastRoot as z, ToastTitle as M, ToastDescription as P, ToastClose as B, ToastAction as D, ProgressRoot as j, ProgressIndicator as A, ToastViewport as N } from "reka-ui";
|
|
5
|
+
const X = /* @__PURE__ */ g({
|
|
6
|
+
__name: "BaseAlert",
|
|
7
|
+
props: /* @__PURE__ */ T({
|
|
8
|
+
alertClass: { default: "primary" },
|
|
9
|
+
duration: { default: 3e3 }
|
|
10
|
+
}, {
|
|
11
|
+
open: { default: !1 },
|
|
12
|
+
openModifiers: {}
|
|
13
|
+
}),
|
|
14
|
+
emits: ["update:open"],
|
|
15
|
+
setup(n) {
|
|
16
|
+
const u = h(n, "open"), o = w(0);
|
|
17
|
+
let d = -1, k = -1;
|
|
18
|
+
const c = (t = 3e3) => {
|
|
19
|
+
o.value = 0;
|
|
20
|
+
const a = Date.now();
|
|
21
|
+
k = setInterval(() => {
|
|
22
|
+
const v = Date.now() - a;
|
|
23
|
+
o.value = Math.min(100, v / t * 100), o.value >= 100 && clearInterval(k);
|
|
24
|
+
}, 30);
|
|
25
|
+
}, p = () => {
|
|
26
|
+
clearTimeout(d), d = setTimeout(() => {
|
|
27
|
+
u.value = !1;
|
|
28
|
+
}, n.duration), c(n.duration);
|
|
29
|
+
};
|
|
30
|
+
return x(
|
|
31
|
+
u,
|
|
32
|
+
(t) => {
|
|
33
|
+
y(() => {
|
|
34
|
+
if (t) {
|
|
35
|
+
p();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
clearInterval(k), clearTimeout(d), o.value = 0;
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
{ immediate: !0 }
|
|
42
|
+
), (t, a) => (m(), f(e($), null, {
|
|
43
|
+
default: l(() => [
|
|
44
|
+
r(t.$slots, "trigger", {
|
|
45
|
+
open: () => u.value = !0
|
|
46
|
+
}),
|
|
47
|
+
i(e(z), {
|
|
48
|
+
open: u.value,
|
|
49
|
+
"onUpdate:open": a[1] || (a[1] = (s) => u.value = s),
|
|
50
|
+
duration: t.duration,
|
|
51
|
+
class: C(["toast-root uikit-shadow-surface uikit-relative uikit-flex uikit-gap-x-xs uikit-overflow-hidden uikit-rounded-2xs uikit-p-md uikit-text-16 uikit-font-medium sm:uikit-max-w-[460px]", ["uikit-alert", `uikit-alert-w-${t.alertClass}`]])
|
|
52
|
+
}, {
|
|
53
|
+
default: l(() => [
|
|
54
|
+
t.$slots.title ? (m(), f(e(M), {
|
|
55
|
+
key: 0,
|
|
56
|
+
"as-child": ""
|
|
57
|
+
}, {
|
|
58
|
+
default: l(() => [
|
|
59
|
+
r(t.$slots, "title")
|
|
60
|
+
]),
|
|
61
|
+
_: 3
|
|
62
|
+
})) : I("", !0),
|
|
63
|
+
i(e(P), { "as-child": "" }, {
|
|
64
|
+
default: l(() => [
|
|
65
|
+
r(t.$slots, "default"),
|
|
66
|
+
i(e(B), { class: "uikit-ml-md uikit-flex uikit-size-lg uikit-shrink-0 uikit-cursor-pointer uikit-appearance-none uikit-items-center uikit-justify-center uikit-rounded-full uikit-bg-w-lightgray" }, {
|
|
67
|
+
default: l(() => [
|
|
68
|
+
i(e(V), {
|
|
69
|
+
width: 12,
|
|
70
|
+
height: 12,
|
|
71
|
+
"stroke-color": "#fff"
|
|
72
|
+
})
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
]),
|
|
77
|
+
_: 3
|
|
78
|
+
}),
|
|
79
|
+
i(e(D), {
|
|
80
|
+
class: "[grid-area:_action]",
|
|
81
|
+
"as-child": "",
|
|
82
|
+
"alt-text": "Goto schedule to undo"
|
|
83
|
+
}, {
|
|
84
|
+
default: l(() => [
|
|
85
|
+
r(t.$slots, "toast-action")
|
|
86
|
+
]),
|
|
87
|
+
_: 3
|
|
88
|
+
}),
|
|
89
|
+
i(e(j), {
|
|
90
|
+
modelValue: o.value,
|
|
91
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => o.value = s),
|
|
92
|
+
class: "uikit-absolute uikit-bottom-0 uikit-left-0 uikit-h-2xs uikit-w-full uikit-overflow-hidden"
|
|
93
|
+
}, {
|
|
94
|
+
default: l(() => [
|
|
95
|
+
i(e(A), {
|
|
96
|
+
class: "uikit-relative uikit-block uikit-size-full uikit-bg-w-blue uikit-transition-transform uikit-duration-75 uikit-will-change-transform",
|
|
97
|
+
style: b(`transform: translateX(-${100 - o.value}%)`)
|
|
98
|
+
}, null, 8, ["style"])
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["modelValue"])
|
|
102
|
+
]),
|
|
103
|
+
_: 3
|
|
104
|
+
}, 8, ["open", "duration", "class"]),
|
|
105
|
+
i(e(N), { class: "uikit-fixed uikit-bottom-0 uikit-right-0 uikit-flex uikit-size-full uikit-list-none uikit-flex-col uikit-items-end uikit-justify-end uikit-p-0" })
|
|
106
|
+
]),
|
|
107
|
+
_: 3
|
|
108
|
+
}));
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
X as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { defineComponent as L, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as H, watch as f, createBlock as g, openBlock as h, normalizeClass as K, withCtx as s, createElementBlock as T, Fragment as z, renderList as A, unref as N, createElementVNode as U, createVNode as W, renderSlot as $ } from "vue";
|
|
2
|
+
import j from "./BaseInput.vue.js";
|
|
3
|
+
import '../../../../assets/packages/components/lib/UIKit/BaseInput.css';/* empty css */
|
|
4
|
+
import q from "./BaseDropDown.vue.js";
|
|
5
|
+
import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
|
|
6
|
+
import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
|
|
7
|
+
import "../../../../_virtual/polyline.js";
|
|
8
|
+
import J from "./BaseSelect/SelectItem.vue.js";
|
|
9
|
+
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";
|
|
10
|
+
const R = ["innerHTML"], ne = /* @__PURE__ */ L({
|
|
11
|
+
__name: "BaseAutocomplete",
|
|
12
|
+
props: /* @__PURE__ */ y({
|
|
13
|
+
isValid: { default: null },
|
|
14
|
+
theme: { default: "" },
|
|
15
|
+
label: { default: "" },
|
|
16
|
+
disableCb: { type: Boolean, default: !1 },
|
|
17
|
+
onInputChangeCb: { type: Function },
|
|
18
|
+
onOptionSelectedCb: { default: null },
|
|
19
|
+
keepState: { default: null },
|
|
20
|
+
cleanupOnClose: { type: Boolean, default: !0 },
|
|
21
|
+
dropdownClasses: { default: "" },
|
|
22
|
+
closeDropdownOnBodyPressed: { type: Boolean, default: !0 },
|
|
23
|
+
inputClasses: {},
|
|
24
|
+
fieldsetClasses: {},
|
|
25
|
+
dataCy: { default: "" }
|
|
26
|
+
}, {
|
|
27
|
+
modelValue: {
|
|
28
|
+
default() {
|
|
29
|
+
return { id: "", label: "" };
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
modelModifiers: {}
|
|
33
|
+
}),
|
|
34
|
+
emits: /* @__PURE__ */ y(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
|
|
35
|
+
setup(o, { expose: S, emit: V }) {
|
|
36
|
+
const r = F(
|
|
37
|
+
o,
|
|
38
|
+
"modelValue"
|
|
39
|
+
), u = V, i = d(""), a = d([]), p = d(null), b = d(!1), l = d(!1), w = d(null), B = k(() => a.value.length);
|
|
40
|
+
H(() => {
|
|
41
|
+
p.value = G({ delay: 300 }, o.onInputChangeCb);
|
|
42
|
+
});
|
|
43
|
+
const { activeIdx: v, selectedIdx: m } = Q({
|
|
44
|
+
optionsLength: B,
|
|
45
|
+
isDropdownOpen: l,
|
|
46
|
+
disableSpaceHandler: !0
|
|
47
|
+
}), O = k(() => {
|
|
48
|
+
switch (o.theme) {
|
|
49
|
+
case "bordered":
|
|
50
|
+
return "";
|
|
51
|
+
case "all-bordered":
|
|
52
|
+
return "!uikit-rounded " + (l.value && "!uikit-rounded-b-none");
|
|
53
|
+
case "all-bordered-thick":
|
|
54
|
+
return "!uikit-rounded-[30px] !uikit-h-[52px] " + (l.value && "!uikit-rounded-b-none");
|
|
55
|
+
default:
|
|
56
|
+
return "";
|
|
57
|
+
}
|
|
58
|
+
}), M = k(() => {
|
|
59
|
+
switch (o.theme) {
|
|
60
|
+
case "bordered":
|
|
61
|
+
return "";
|
|
62
|
+
case "all-bordered":
|
|
63
|
+
return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (l.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
|
|
64
|
+
case "all-bordered-thick":
|
|
65
|
+
return "!uikit-rounded-[30px] !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (l.value ? "!uikit-rounded-b-none" : "");
|
|
66
|
+
default:
|
|
67
|
+
return "";
|
|
68
|
+
}
|
|
69
|
+
}), I = k(() => {
|
|
70
|
+
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";
|
|
71
|
+
switch (o.theme) {
|
|
72
|
+
case "bordered":
|
|
73
|
+
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";
|
|
74
|
+
case "all-bordered":
|
|
75
|
+
return e;
|
|
76
|
+
case "all-bordered-thick":
|
|
77
|
+
return e + " !uikit-border-0";
|
|
78
|
+
default:
|
|
79
|
+
return "";
|
|
80
|
+
}
|
|
81
|
+
}), D = async (e) => {
|
|
82
|
+
if (i.value !== e && (u("changedValue", e), i.value = e, !!o.onInputChangeCb)) {
|
|
83
|
+
if (!e || b.value) {
|
|
84
|
+
a.value = [], b.value = !1, m.value = -1, v.value = -1, r.value && (r.value.label = ""), l.value = !1, await p.value(null);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
o.disableCb || (a.value = await p.value(e), l.value = !!a.value.length);
|
|
88
|
+
}
|
|
89
|
+
}, C = (e, t) => {
|
|
90
|
+
o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (a.value = []), b.value = !0, i.value = e.label, r.value = e, l.value = !1, m.value = t;
|
|
91
|
+
}, E = () => {
|
|
92
|
+
a.value.length && o.keepState !== "closed" && (l.value = !0);
|
|
93
|
+
};
|
|
94
|
+
return f(
|
|
95
|
+
r,
|
|
96
|
+
(e, t) => {
|
|
97
|
+
e === t || e?.label === i.value || (i.value = e?.label || "");
|
|
98
|
+
},
|
|
99
|
+
{ immediate: !0 }
|
|
100
|
+
), f(m, (e) => {
|
|
101
|
+
if (e === -1 || !a.value.length) return;
|
|
102
|
+
const t = a.value[e];
|
|
103
|
+
b.value && t.label === r.value?.label || C(t, e);
|
|
104
|
+
}), f(
|
|
105
|
+
() => o.keepState,
|
|
106
|
+
(e) => {
|
|
107
|
+
e === "closed" ? (l.value = !1, o.cleanupOnClose && (a.value = [])) : e === "open" && a.value.length && (l.value = !0);
|
|
108
|
+
}
|
|
109
|
+
), f(l, (e) => {
|
|
110
|
+
u("update:dropdownState", e);
|
|
111
|
+
}), S({
|
|
112
|
+
select: () => {
|
|
113
|
+
w.value?.select();
|
|
114
|
+
}
|
|
115
|
+
}), (e, t) => (h(), g(q, {
|
|
116
|
+
class: K(e.$attrs["root-classes"]),
|
|
117
|
+
"data-cy": e.dataCy ? e.dataCy : `ac_${e.$attrs.id}`,
|
|
118
|
+
"dropdown-element": "ul",
|
|
119
|
+
"dropdown-classes": [
|
|
120
|
+
{ "bordered-dropdown": e.theme === "bordered" },
|
|
121
|
+
{ "all-bordered-dropdown": e.theme === "all-bordered" },
|
|
122
|
+
{ "all-bordered-dropdown thick": e.theme === "all-bordered-thick" },
|
|
123
|
+
{
|
|
124
|
+
"uikit-mt-10px !uikit-border !uikit-border-w-lightgray !uikit-rounded-xs": !e.theme
|
|
125
|
+
},
|
|
126
|
+
I.value,
|
|
127
|
+
"!uikit-max-h-[210px] uikit-z-30",
|
|
128
|
+
e.dropdownClasses
|
|
129
|
+
],
|
|
130
|
+
"open-dropdown": l.value,
|
|
131
|
+
"keep-state": !a.value.length || e.keepState === "closed" ? "closed" : "opened",
|
|
132
|
+
"close-when-clicked-outside": e.closeDropdownOnBodyPressed,
|
|
133
|
+
"activate-keyboard-controller": !1,
|
|
134
|
+
"onUpdate:dropdownState": t[3] || (t[3] = (n) => l.value = n),
|
|
135
|
+
onClick: t[4] || (t[4] = (n) => {
|
|
136
|
+
u("click"), E();
|
|
137
|
+
})
|
|
138
|
+
}, {
|
|
139
|
+
btn_slot: s(() => [
|
|
140
|
+
W(j, {
|
|
141
|
+
id: e.$attrs.id ? `ac_input_${e.$attrs.id}` : "",
|
|
142
|
+
ref_key: "baseInput",
|
|
143
|
+
ref: w,
|
|
144
|
+
"data-cy": e.dataCy ? `ac_input_${e.dataCy}` : `ac_input_${e.$attrs.id}`,
|
|
145
|
+
"label-text": e.label,
|
|
146
|
+
"model-value": i.value,
|
|
147
|
+
"is-valid": e.isValid,
|
|
148
|
+
disabled: e.$attrs.disabled,
|
|
149
|
+
placeholder: e.$attrs.placeholder,
|
|
150
|
+
"with-left-icon": !!e.$slots.lefticon,
|
|
151
|
+
"with-right-icon": !!e.$slots.righticon,
|
|
152
|
+
"input-class": [
|
|
153
|
+
O.value,
|
|
154
|
+
e.inputClasses,
|
|
155
|
+
"!uikit-ml-0 !uikit-w-full"
|
|
156
|
+
],
|
|
157
|
+
"fieldset-classes": [M.value, e.fieldsetClasses],
|
|
158
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => D(n === void 0 ? "" : `${n}`)),
|
|
159
|
+
onKeydown: t[1] || (t[1] = (n) => u("keydown", n)),
|
|
160
|
+
onKeydownEnterPressed: t[2] || (t[2] = () => u("keydownEnterPressed"))
|
|
161
|
+
}, {
|
|
162
|
+
leftIcon: s(() => [
|
|
163
|
+
$(e.$slots, "lefticon")
|
|
164
|
+
]),
|
|
165
|
+
righticon: s(({ handleClean: n }) => [
|
|
166
|
+
$(e.$slots, "righticon", { handleClean: n })
|
|
167
|
+
]),
|
|
168
|
+
_: 3
|
|
169
|
+
}, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
|
|
170
|
+
]),
|
|
171
|
+
default: s(() => [
|
|
172
|
+
(h(!0), T(z, null, A(a.value, (n, c) => (h(), g(J, {
|
|
173
|
+
key: c,
|
|
174
|
+
active: N(v) === c,
|
|
175
|
+
class: "uikit-py-xs uikit-m-1 uikit-rounded-[5px] uikit-px-5 hover:uikit-cursor-pointer",
|
|
176
|
+
onClick: (P) => C(n, c),
|
|
177
|
+
onMouseover: (P) => v.value = c
|
|
178
|
+
}, {
|
|
179
|
+
default: s(() => [
|
|
180
|
+
U("span", {
|
|
181
|
+
innerHTML: n.label
|
|
182
|
+
}, null, 8, R)
|
|
183
|
+
]),
|
|
184
|
+
_: 2
|
|
185
|
+
}, 1032, ["active", "onClick", "onMouseover"]))), 128))
|
|
186
|
+
]),
|
|
187
|
+
_: 3
|
|
188
|
+
}, 8, ["class", "data-cy", "dropdown-classes", "open-dropdown", "keep-state", "close-when-clicked-outside"]));
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
export {
|
|
192
|
+
ne as default
|
|
193
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent as a, createElementBlock as t, openBlock as u, normalizeClass as r, renderSlot as d } from "vue";
|
|
2
|
+
const l = /* @__PURE__ */ a({
|
|
3
|
+
__name: "BaseBadge",
|
|
4
|
+
props: {
|
|
5
|
+
badgeClass: { default: "primary-sm" }
|
|
6
|
+
},
|
|
7
|
+
setup(n) {
|
|
8
|
+
const e = {
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Old style
|
|
11
|
+
*/
|
|
12
|
+
warning: "uikit-badge-w-warning",
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Old style
|
|
15
|
+
*/
|
|
16
|
+
lavender: "uikit-badge-w-lavender",
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Old style
|
|
19
|
+
*/
|
|
20
|
+
danger: "uikit-badge-w-danger",
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Old style
|
|
23
|
+
*/
|
|
24
|
+
"outline-tag": "uikit-badge-outline-tag",
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Old style
|
|
27
|
+
*/
|
|
28
|
+
"primary-sm": "uikit-badge-w-primary-sm",
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Old style
|
|
31
|
+
*/
|
|
32
|
+
"dark-primary": "uikit-badge-w-dark-primary",
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Old style
|
|
35
|
+
*/
|
|
36
|
+
"outline-tag-listing": "uikit-badge-outline-tag-listing",
|
|
37
|
+
gold: "uikit-badge-gold",
|
|
38
|
+
silver: "uikit-badge-silver",
|
|
39
|
+
premium: "uikit-badge-premium",
|
|
40
|
+
luxury: "uikit-badge-luxury",
|
|
41
|
+
alert: "uikit-badge-alert",
|
|
42
|
+
new: "uikit-badge-new",
|
|
43
|
+
discount: "uikit-badge-discount"
|
|
44
|
+
};
|
|
45
|
+
return (i, s) => (u(), t("span", {
|
|
46
|
+
class: r(["uikit-badge uikit-rounded-2xs uikit-px-xs uikit-py-2xs uikit-text uikit-font-medium uikit-shadow-sm", e[i.badgeClass]])
|
|
47
|
+
}, [
|
|
48
|
+
d(i.$slots, "default")
|
|
49
|
+
], 2));
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
l as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as o, createElementBlock as l, openBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
const r = ["width", "height"], h = ["fill"], d = /* @__PURE__ */ o({
|
|
3
|
+
__name: "BaseBannerBgElement1",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 726 },
|
|
6
|
+
height: { default: 96 },
|
|
7
|
+
color: { default: "#de1681" }
|
|
8
|
+
},
|
|
9
|
+
setup(i) {
|
|
10
|
+
return (e, a) => (n(), l("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: e.width,
|
|
14
|
+
height: e.height,
|
|
15
|
+
viewBox: "0 0 726 96"
|
|
16
|
+
}, [
|
|
17
|
+
t("g", null, [
|
|
18
|
+
t("path", {
|
|
19
|
+
d: "M391.314,2.476C599.068-14.131,760.7,31.792,752.325,105.049S568.744,251.155,360.989,267.763-8.4,238.447-.022,165.19,183.559,19.084,391.314,2.476Z",
|
|
20
|
+
transform: "translate(400.913 -94.21) rotate(14)",
|
|
21
|
+
fill: e.color
|
|
22
|
+
}, null, 8, h)
|
|
23
|
+
])
|
|
24
|
+
], 8, r));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
d as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as l, createElementBlock as i, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
const r = ["width", "height"], s = ["fill"], h = /* @__PURE__ */ l({
|
|
3
|
+
__name: "BaseBannerBgElement2",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 726 },
|
|
6
|
+
height: { default: 96 },
|
|
7
|
+
color: { default: "#c21973" }
|
|
8
|
+
},
|
|
9
|
+
setup(a) {
|
|
10
|
+
return (t, o) => (n(), i("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: t.width,
|
|
14
|
+
height: t.height,
|
|
15
|
+
viewBox: "0 0 726 96"
|
|
16
|
+
}, [
|
|
17
|
+
o[0] || (o[0] = e("defs", null, [
|
|
18
|
+
e("filter", {
|
|
19
|
+
x: "-9",
|
|
20
|
+
y: "-7",
|
|
21
|
+
width: "744",
|
|
22
|
+
height: "114",
|
|
23
|
+
filterUnits: "userSpaceOnUse"
|
|
24
|
+
}, [
|
|
25
|
+
e("feOffset", {
|
|
26
|
+
dy: "2",
|
|
27
|
+
input: "SourceAlpha"
|
|
28
|
+
}),
|
|
29
|
+
e("feGaussianBlur", {
|
|
30
|
+
stdDeviation: "3",
|
|
31
|
+
result: "blur"
|
|
32
|
+
}),
|
|
33
|
+
e("feFlood", {
|
|
34
|
+
"flood-color": "#6e6e6e",
|
|
35
|
+
"flood-opacity": "0.6"
|
|
36
|
+
}),
|
|
37
|
+
e("feComposite", {
|
|
38
|
+
operator: "in",
|
|
39
|
+
in2: "blur"
|
|
40
|
+
}),
|
|
41
|
+
e("feComposite", { in: "SourceGraphic" })
|
|
42
|
+
])
|
|
43
|
+
], -1)),
|
|
44
|
+
e("g", null, [
|
|
45
|
+
e("path", {
|
|
46
|
+
d: "M296.562,2.236C453.63-11.06,575.519,21.962,568.808,75.994S429.328,184.605,272.26,197.9-6.7,178.176.013,124.145,139.494,15.533,296.562,2.236Z",
|
|
47
|
+
transform: "translate(442.664 -69.902) rotate(14)",
|
|
48
|
+
fill: t.color
|
|
49
|
+
}, null, 8, s)
|
|
50
|
+
])
|
|
51
|
+
], 8, r));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
h as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as l, createElementBlock as i, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
const r = ["width", "height"], s = ["fill"], h = /* @__PURE__ */ l({
|
|
3
|
+
__name: "BaseBannerBgElement3",
|
|
4
|
+
props: {
|
|
5
|
+
width: { default: 343 },
|
|
6
|
+
height: { default: 164 },
|
|
7
|
+
color: { default: "#c21973" }
|
|
8
|
+
},
|
|
9
|
+
setup(a) {
|
|
10
|
+
return (t, o) => (n(), i("svg", {
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
13
|
+
width: t.width,
|
|
14
|
+
height: t.height,
|
|
15
|
+
viewBox: "0 0 343 164"
|
|
16
|
+
}, [
|
|
17
|
+
o[0] || (o[0] = e("defs", null, [
|
|
18
|
+
e("filter", {
|
|
19
|
+
x: "-9",
|
|
20
|
+
y: "-7",
|
|
21
|
+
width: "361",
|
|
22
|
+
height: "182",
|
|
23
|
+
filterUnits: "userSpaceOnUse"
|
|
24
|
+
}, [
|
|
25
|
+
e("feOffset", {
|
|
26
|
+
dy: "2",
|
|
27
|
+
input: "SourceAlpha"
|
|
28
|
+
}),
|
|
29
|
+
e("feGaussianBlur", {
|
|
30
|
+
stdDeviation: "3",
|
|
31
|
+
result: "blur"
|
|
32
|
+
}),
|
|
33
|
+
e("feFlood", {
|
|
34
|
+
"flood-color": "#6e6e6e",
|
|
35
|
+
"flood-opacity": "0.6"
|
|
36
|
+
}),
|
|
37
|
+
e("feComposite", {
|
|
38
|
+
operator: "in",
|
|
39
|
+
in2: "blur"
|
|
40
|
+
}),
|
|
41
|
+
e("feComposite", { in: "SourceGraphic" })
|
|
42
|
+
])
|
|
43
|
+
], -1)),
|
|
44
|
+
e("g", null, [
|
|
45
|
+
e("path", {
|
|
46
|
+
d: "M127.936,6c81.713,23.824,157.7,113.234,169.726,199.7S253.192,342.96,171.478,319.137,13.776,205.9,1.752,119.434,46.222-17.82,127.936,6Z",
|
|
47
|
+
transform: "translate(24.544 291.435) rotate(-68)",
|
|
48
|
+
fill: t.color
|
|
49
|
+
}, null, 8, s)
|
|
50
|
+
])
|
|
51
|
+
], 8, r));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
h as default
|
|
56
|
+
};
|