@wikicasa-dev/components 2.1.2-alpha.1 → 2.1.2-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UIKit/AccessibleSelect.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
- package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -1
- package/dist/UIKit/BaseAlert.js +3 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -1
- package/dist/UIKit/BaseBadge.js +3 -2
- package/dist/UIKit/BaseBreadcrumb.js +1 -1
- package/dist/UIKit/BaseButton.js +1 -1
- package/dist/UIKit/BaseCard.js +5 -36
- package/dist/UIKit/BaseComplexToggle.js +5 -105
- package/dist/UIKit/BaseDropDown.js +1 -1
- package/dist/UIKit/BaseFloatingLabel.js +5 -39
- package/dist/UIKit/BaseIcon.js +4 -25
- package/dist/UIKit/BaseInput.js +5 -210
- package/dist/UIKit/BaseModal.js +3 -2
- package/dist/UIKit/BasePagination.js +1 -1
- package/dist/UIKit/BasePaper.js +9 -9
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
- package/dist/UIKit/BaseSlider.js +5 -206
- package/dist/UIKit/BaseSnackbar.js +5 -80
- package/dist/UIKit/BaseTextarea.js +5 -126
- package/dist/UIKit/BaseToggle.js +5 -41
- package/dist/UIKit/BaseTooltip.js +5 -40
- package/dist/UIKit/BaseUploadFile.js +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.js +5 -74
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
- package/dist/UIKit/Radio/RadioButton.js +1 -1
- package/dist/UIKit/Radio/RadioGroup.js +1 -1
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +5 -20
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
- package/dist/UIKit/Slider/SimpleSlider.js +5 -81
- package/dist/UIKit/StaticSpinner.js +5 -26
- package/dist/UIKit/Tab/BaseTab.js +1 -1
- package/dist/UIKit/Tab/BaseTabList.js +1 -1
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
- package/dist/UIKit/Tab/BaseTabView.js +1 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/polyline.js +2 -0
- package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css +1 -0
- package/dist/assets/{SwiperCarousel.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css} +1 -1
- package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel.css +1 -0
- package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel2.css +1 -0
- package/dist/chart/DoughnutChart.js +1 -1
- package/dist/chart/LineChart.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +6 -3
- package/dist/components/carousel/SwiperSlide.js +1 -1
- package/dist/index.js +89 -85
- package/dist/{chunks/ArrowIcon.Bq6Xr3uH.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js} +3 -3
- package/dist/{chunks/CloseIcon.BZ4U3aiI.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js} +11 -11
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +9 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +2 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +40 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +4 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +4 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +15 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +12 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +18 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +10 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +4 -0
- package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +41 -0
- package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/decode.js +22 -0
- package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/encode.js +34 -0
- package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/polyline.js +12 -0
- package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js +71 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js +1 -0
- package/dist/{chunks/autoplay.PAkd8mEA.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js} +2 -2
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +1 -0
- package/dist/{chunks/controller.B4dN1HzT.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js} +2 -2
- package/dist/{chunks/free-mode.CgW-CG5o.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js} +3 -3
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +1 -0
- package/dist/{chunks/keyboard.1cl3p4mk.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js} +14 -13
- package/dist/{chunks/navigation.BMbGenMb.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js} +4 -4
- package/dist/{chunks/pagination.BY56pkKE.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js} +46 -48
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +1 -0
- package/dist/{chunks/thumbs.DMUSQ4UG.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.js} +7 -6
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js +310 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/classes-to-selector.js +6 -0
- package/dist/{chunks/create-element-if-not-defined.DjTnEoTJ.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/create-element-if-not-defined.js} +1 -1
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/ssr-window.esm.js +135 -0
- package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/utils.js +85 -0
- package/dist/packages/components/lazyModules/Swiper/autoplay.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/controller.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/free-mode.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/keyboard.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/navigation.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/pagination.js +5 -0
- package/dist/packages/components/lazyModules/Swiper/thumbs.js +5 -0
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +213 -0
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +33 -0
- package/dist/{chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js} +8 -8
- package/dist/{chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js} +1 -1
- package/dist/{chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js} +21 -21
- package/dist/{chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → packages/components/lib/UIKit/BaseAlert.vue.js} +2 -2
- package/dist/{chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.Ol7Hmb-E.js → packages/components/lib/UIKit/BaseAutocomplete.vue.js} +64 -74
- package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +19 -0
- package/dist/{chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → packages/components/lib/UIKit/BaseBreadcrumb.vue.js} +5 -5
- package/dist/{chunks/BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js → packages/components/lib/UIKit/BaseButton.vue.js} +6 -6
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +37 -0
- package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +106 -0
- package/dist/{chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js → packages/components/lib/UIKit/BaseDropDown.vue.js} +25 -25
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +40 -0
- package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +27 -0
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +211 -0
- package/dist/{chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js → packages/components/lib/UIKit/BaseModal.vue.js} +56 -61
- package/dist/{chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js → packages/components/lib/UIKit/BasePagination.vue.js} +71 -83
- package/dist/packages/components/lib/UIKit/BasePaper.vue.js +7 -0
- package/dist/{chunks/SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js} +1 -1
- package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +207 -0
- package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +81 -0
- package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +127 -0
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +42 -0
- package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +41 -0
- package/dist/{chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.CdwKhQoc.js → packages/components/lib/UIKit/BaseUploadFile.vue.js} +2 -2
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +75 -0
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +114 -0
- package/dist/{chunks/RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → packages/components/lib/UIKit/Radio/RadioButton.vue.js} +9 -9
- package/dist/{chunks/RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → packages/components/lib/UIKit/Radio/RadioGroup.vue.js} +6 -6
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +21 -0
- package/dist/{chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.BoEMYLem.js → packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js} +8 -8
- package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +82 -0
- package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +27 -0
- package/dist/{chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js → packages/components/lib/UIKit/Tab/BaseTab.vue.js} +3 -3
- package/dist/{chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js → packages/components/lib/UIKit/Tab/BaseTabList.vue.js} +1 -1
- package/dist/{chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js} +1 -1
- package/dist/{chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js → packages/components/lib/UIKit/Tab/BaseTabView.vue.js} +17 -17
- package/dist/packages/components/lib/chart/DoughnutChart.vue.js +27 -0
- package/dist/{chunks/LineChart.vue_vue_type_script_setup_true_lang.ByrHxeZr.js → packages/components/lib/chart/LineChart.vue.js} +2 -2
- package/dist/{chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js} +5 -5
- package/dist/{chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js} +4 -4
- package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +242 -0
- package/package.json +1 -1
- package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.gRPd8LaO.js +0 -246
- package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.BJW28Y_i.js +0 -32
- package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js +0 -19
- package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.C9gKO-hI.js +0 -111
- package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.M0NEigw0.js +0 -27
- package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
- package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
- package/dist/chunks/SwiperCarousel.BymL6KSO.js +0 -753
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
- package/dist/chunks/polyline.tNTK3v2u.js +0 -129
- package/dist/chunks/useKeyboardController.Cs_5GQTJ.js +0 -41
- /package/dist/{lib/UIKit → UIKit}/AccessibleSelect.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordion.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionBtn.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionContent.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionItem.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseAlert.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseAutocomplete.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseBadge.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseBreadcrumb.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseButton.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseCard.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseComplexToggle.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseDropDown.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseFloatingLabel.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseIcon.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseInput.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseModal.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BasePagination.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BasePaper.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseSelect/SelectItem.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseSlider.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseSnackbar.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseTextarea.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseToggle.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseTooltip.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/BaseUploadFile.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Checkbox/CheckboxBtn.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Checkbox/CheckboxGroup.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Radio/RadioButton.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Radio/RadioGroup.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/ShimmerLoader/BaseShimmerLoader.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/ShimmerLoader/ShimmerMultiLine.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Slider/SimpleSlider.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/StaticSpinner.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTab.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabList.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabPanel.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabView.d.ts +0 -0
- /package/dist/{lib/UIKit → UIKit}/types.d.ts +0 -0
- /package/dist/assets/{free-mode.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.css} +0 -0
- /package/dist/assets/{navigation.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css} +0 -0
- /package/dist/assets/{pagination.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.css} +0 -0
- /package/dist/assets/{BaseAlert.css → packages/components/lib/UIKit/BaseAlert.css} +0 -0
- /package/dist/assets/{BaseBadge.css → packages/components/lib/UIKit/BaseBadge.css} +0 -0
- /package/dist/assets/{BaseCard.css → packages/components/lib/UIKit/BaseCard.css} +0 -0
- /package/dist/assets/{BaseComplexToggle.css → packages/components/lib/UIKit/BaseComplexToggle.css} +0 -0
- /package/dist/assets/{BaseFloatingLabel.css → packages/components/lib/UIKit/BaseFloatingLabel.css} +0 -0
- /package/dist/assets/{BaseIcon.css → packages/components/lib/UIKit/BaseIcon.css} +0 -0
- /package/dist/assets/{BaseInput.css → packages/components/lib/UIKit/BaseInput.css} +0 -0
- /package/dist/assets/{BaseModal.css → packages/components/lib/UIKit/BaseModal.css} +0 -0
- /package/dist/assets/{BasePaper.css → packages/components/lib/UIKit/BasePaper.css} +0 -0
- /package/dist/assets/{BaseSlider.css → packages/components/lib/UIKit/BaseSlider.css} +0 -0
- /package/dist/assets/{BaseSnackbar.css → packages/components/lib/UIKit/BaseSnackbar.css} +0 -0
- /package/dist/assets/{BaseTextarea.css → packages/components/lib/UIKit/BaseTextarea.css} +0 -0
- /package/dist/assets/{BaseToggle.css → packages/components/lib/UIKit/BaseToggle.css} +0 -0
- /package/dist/assets/{BaseTooltip.css → packages/components/lib/UIKit/BaseTooltip.css} +0 -0
- /package/dist/assets/{CheckboxBtn.css → packages/components/lib/UIKit/Checkbox/CheckboxBtn.css} +0 -0
- /package/dist/assets/{BaseShimmerLoader.css → packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css} +0 -0
- /package/dist/assets/{SimpleSlider.css → packages/components/lib/UIKit/Slider/SimpleSlider.css} +0 -0
- /package/dist/assets/{StaticSpinner.css → packages/components/lib/UIKit/StaticSpinner.css} +0 -0
- /package/dist/assets/{index.css → packages/components/src/tailwind.css} +0 -0
- /package/dist/{lib/chart → chart}/DoughnutChart.d.ts +0 -0
- /package/dist/{lib/chart → chart}/LineChart.d.ts +0 -0
- /package/dist/{lib/chart → chart}/composables/useChartjsModules.d.ts +0 -0
- /package/dist/{lib/components → components}/IntersectionObserver/IntersectionObservable.d.ts +0 -0
- /package/dist/{lib/components → components}/IntersectionObserver/IntersectionObserver.d.ts +0 -0
- /package/dist/{lib/components → components}/carousel/SwiperCarousel.d.ts +0 -0
- /package/dist/{lib/components → components}/carousel/SwiperSlide.d.ts +0 -0
- /package/dist/{lib/composables → composables}/useFloatingLabel.d.ts +0 -0
- /package/dist/{lib/composables → composables}/useValidator.d.ts +0 -0
- /package/dist/{lib/index.d.ts → index.d.ts} +0 -0
- /package/dist/{lib/types.d.ts → types.d.ts} +0 -0
- /package/dist/{lib/utils.d.ts → utils.d.ts} +0 -0
|
@@ -1,753 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Oe, reactive as ke, ref as ce, useId as De, computed as H, onMounted as Ie, watch as He, nextTick as Me, createElementBlock as W, openBlock as P, normalizeClass as L, createElementVNode as A, createCommentVNode as ne, renderSlot as Xe, Fragment as de, renderList as Ye, mergeProps as Ce, withModifiers as me } from "vue";
|
|
2
|
-
import { Swiper as ze } from "swiper";
|
|
3
|
-
import "./polyline.tNTK3v2u.js";
|
|
4
|
-
import { l as Re } from "./ObjectUtils.DwkJjVq1.js";
|
|
5
|
-
import { _ as Ae } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import '../assets/SwiperCarousel.css';function $e(n) {
|
|
7
|
-
return n !== null && typeof n == "object" && "constructor" in n && n.constructor === Object;
|
|
8
|
-
}
|
|
9
|
-
function pe(n, t) {
|
|
10
|
-
n === void 0 && (n = {}), t === void 0 && (t = {});
|
|
11
|
-
const d = ["__proto__", "constructor", "prototype"];
|
|
12
|
-
Object.keys(t).filter((o) => d.indexOf(o) < 0).forEach((o) => {
|
|
13
|
-
typeof n[o] > "u" ? n[o] = t[o] : $e(t[o]) && $e(n[o]) && Object.keys(t[o]).length > 0 && pe(n[o], t[o]);
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
const Le = {
|
|
17
|
-
body: {},
|
|
18
|
-
addEventListener() {
|
|
19
|
-
},
|
|
20
|
-
removeEventListener() {
|
|
21
|
-
},
|
|
22
|
-
activeElement: {
|
|
23
|
-
blur() {
|
|
24
|
-
},
|
|
25
|
-
nodeName: ""
|
|
26
|
-
},
|
|
27
|
-
querySelector() {
|
|
28
|
-
return null;
|
|
29
|
-
},
|
|
30
|
-
querySelectorAll() {
|
|
31
|
-
return [];
|
|
32
|
-
},
|
|
33
|
-
getElementById() {
|
|
34
|
-
return null;
|
|
35
|
-
},
|
|
36
|
-
createEvent() {
|
|
37
|
-
return {
|
|
38
|
-
initEvent() {
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
createElement() {
|
|
43
|
-
return {
|
|
44
|
-
children: [],
|
|
45
|
-
childNodes: [],
|
|
46
|
-
style: {},
|
|
47
|
-
setAttribute() {
|
|
48
|
-
},
|
|
49
|
-
getElementsByTagName() {
|
|
50
|
-
return [];
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
createElementNS() {
|
|
55
|
-
return {};
|
|
56
|
-
},
|
|
57
|
-
importNode() {
|
|
58
|
-
return null;
|
|
59
|
-
},
|
|
60
|
-
location: {
|
|
61
|
-
hash: "",
|
|
62
|
-
host: "",
|
|
63
|
-
hostname: "",
|
|
64
|
-
href: "",
|
|
65
|
-
origin: "",
|
|
66
|
-
pathname: "",
|
|
67
|
-
protocol: "",
|
|
68
|
-
search: ""
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
function Fe() {
|
|
72
|
-
const n = typeof document < "u" ? document : {};
|
|
73
|
-
return pe(n, Le), n;
|
|
74
|
-
}
|
|
75
|
-
const je = {
|
|
76
|
-
document: Le,
|
|
77
|
-
navigator: {
|
|
78
|
-
userAgent: ""
|
|
79
|
-
},
|
|
80
|
-
location: {
|
|
81
|
-
hash: "",
|
|
82
|
-
host: "",
|
|
83
|
-
hostname: "",
|
|
84
|
-
href: "",
|
|
85
|
-
origin: "",
|
|
86
|
-
pathname: "",
|
|
87
|
-
protocol: "",
|
|
88
|
-
search: ""
|
|
89
|
-
},
|
|
90
|
-
history: {
|
|
91
|
-
replaceState() {
|
|
92
|
-
},
|
|
93
|
-
pushState() {
|
|
94
|
-
},
|
|
95
|
-
go() {
|
|
96
|
-
},
|
|
97
|
-
back() {
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
CustomEvent: function() {
|
|
101
|
-
return this;
|
|
102
|
-
},
|
|
103
|
-
addEventListener() {
|
|
104
|
-
},
|
|
105
|
-
removeEventListener() {
|
|
106
|
-
},
|
|
107
|
-
getComputedStyle() {
|
|
108
|
-
return {
|
|
109
|
-
getPropertyValue() {
|
|
110
|
-
return "";
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
},
|
|
114
|
-
Image() {
|
|
115
|
-
},
|
|
116
|
-
Date() {
|
|
117
|
-
},
|
|
118
|
-
screen: {},
|
|
119
|
-
setTimeout() {
|
|
120
|
-
},
|
|
121
|
-
clearTimeout() {
|
|
122
|
-
},
|
|
123
|
-
matchMedia() {
|
|
124
|
-
return {};
|
|
125
|
-
},
|
|
126
|
-
requestAnimationFrame(n) {
|
|
127
|
-
return typeof setTimeout > "u" ? (n(), null) : setTimeout(n, 0);
|
|
128
|
-
},
|
|
129
|
-
cancelAnimationFrame(n) {
|
|
130
|
-
typeof setTimeout > "u" || clearTimeout(n);
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
function N() {
|
|
134
|
-
const n = typeof window < "u" ? window : {};
|
|
135
|
-
return pe(n, je), n;
|
|
136
|
-
}
|
|
137
|
-
function qe(n) {
|
|
138
|
-
return n === void 0 && (n = ""), n.trim().split(" ").filter((t) => !!t.trim());
|
|
139
|
-
}
|
|
140
|
-
function nt(n, t) {
|
|
141
|
-
return t === void 0 && (t = 0), setTimeout(n, t);
|
|
142
|
-
}
|
|
143
|
-
function rt() {
|
|
144
|
-
return Date.now();
|
|
145
|
-
}
|
|
146
|
-
function Be(n) {
|
|
147
|
-
const t = N();
|
|
148
|
-
let d;
|
|
149
|
-
return t.getComputedStyle && (d = t.getComputedStyle(n, null)), !d && n.currentStyle && (d = n.currentStyle), d || (d = n.style), d;
|
|
150
|
-
}
|
|
151
|
-
function Te(n, t) {
|
|
152
|
-
t === void 0 && (t = "x");
|
|
153
|
-
const d = N();
|
|
154
|
-
let o, c, E;
|
|
155
|
-
const f = Be(n);
|
|
156
|
-
return d.WebKitCSSMatrix ? (c = f.transform || f.webkitTransform, c.split(",").length > 6 && (c = c.split(", ").map(($) => $.replace(",", ".")).join(", ")), E = new d.WebKitCSSMatrix(c === "none" ? "" : c)) : (E = f.MozTransform || f.OTransform || f.MsTransform || f.msTransform || f.transform || f.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), o = E.toString().split(",")), t === "x" && (d.WebKitCSSMatrix ? c = E.m41 : o.length === 16 ? c = parseFloat(o[12]) : c = parseFloat(o[4])), t === "y" && (d.WebKitCSSMatrix ? c = E.m42 : o.length === 16 ? c = parseFloat(o[13]) : c = parseFloat(o[5])), c || 0;
|
|
157
|
-
}
|
|
158
|
-
function st(n) {
|
|
159
|
-
return typeof n == "object" && n !== null && n.constructor && Object.prototype.toString.call(n).slice(8, -1) === "Object";
|
|
160
|
-
}
|
|
161
|
-
function We(n, t) {
|
|
162
|
-
t === void 0 && (t = "");
|
|
163
|
-
const d = N(), o = [...n.children];
|
|
164
|
-
return d.HTMLSlotElement && n instanceof HTMLSlotElement && o.push(...n.assignedElements()), t ? o.filter((c) => c.matches(t)) : o;
|
|
165
|
-
}
|
|
166
|
-
function at(n, t) {
|
|
167
|
-
t === void 0 && (t = []);
|
|
168
|
-
const d = document.createElement(n);
|
|
169
|
-
return d.classList.add(...Array.isArray(t) ? t : qe(t)), d;
|
|
170
|
-
}
|
|
171
|
-
function Pe(n) {
|
|
172
|
-
const t = N(), d = Fe(), o = n.getBoundingClientRect(), c = d.body, E = n.clientTop || c.clientTop || 0, f = n.clientLeft || c.clientLeft || 0, $ = n === t ? t.scrollY : n.scrollTop, x = n === t ? t.scrollX : n.scrollLeft;
|
|
173
|
-
return {
|
|
174
|
-
top: o.top + $ - E,
|
|
175
|
-
left: o.left + x - f
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
function ot(n) {
|
|
179
|
-
let t = n, d;
|
|
180
|
-
if (t) {
|
|
181
|
-
for (d = 0; (t = t.previousSibling) !== null; )
|
|
182
|
-
t.nodeType === 1 && (d += 1);
|
|
183
|
-
return d;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
function fe(n, t) {
|
|
187
|
-
const d = [];
|
|
188
|
-
let o = n.parentElement;
|
|
189
|
-
for (; o; )
|
|
190
|
-
t ? o.matches(t) && d.push(o) : d.push(o), o = o.parentElement;
|
|
191
|
-
return d;
|
|
192
|
-
}
|
|
193
|
-
function lt(n, t) {
|
|
194
|
-
function d(o) {
|
|
195
|
-
o.target === n && (t.call(n, o), n.removeEventListener("transitionend", d));
|
|
196
|
-
}
|
|
197
|
-
t && n.addEventListener("transitionend", d);
|
|
198
|
-
}
|
|
199
|
-
function ut(n, t, d) {
|
|
200
|
-
const o = N();
|
|
201
|
-
return n[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(o.getComputedStyle(n, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(o.getComputedStyle(n, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
|
|
202
|
-
}
|
|
203
|
-
function ct(n) {
|
|
204
|
-
return (Array.isArray(n) ? n : [n]).filter((t) => !!t);
|
|
205
|
-
}
|
|
206
|
-
function Ve(n) {
|
|
207
|
-
let {
|
|
208
|
-
swiper: t,
|
|
209
|
-
extendParams: d,
|
|
210
|
-
on: o,
|
|
211
|
-
emit: c
|
|
212
|
-
} = n;
|
|
213
|
-
const E = N();
|
|
214
|
-
d({
|
|
215
|
-
zoom: {
|
|
216
|
-
enabled: !1,
|
|
217
|
-
limitToOriginalSize: !1,
|
|
218
|
-
maxRatio: 3,
|
|
219
|
-
minRatio: 1,
|
|
220
|
-
panOnMouseMove: !1,
|
|
221
|
-
toggle: !0,
|
|
222
|
-
containerClass: "swiper-zoom-container",
|
|
223
|
-
zoomedSlideClass: "swiper-slide-zoomed"
|
|
224
|
-
}
|
|
225
|
-
}), t.zoom = {
|
|
226
|
-
enabled: !1
|
|
227
|
-
};
|
|
228
|
-
let f = 1, $ = !1, x = !1, S = {
|
|
229
|
-
x: 0,
|
|
230
|
-
y: 0
|
|
231
|
-
};
|
|
232
|
-
const J = -3;
|
|
233
|
-
let F, R;
|
|
234
|
-
const m = [], i = {
|
|
235
|
-
originX: 0,
|
|
236
|
-
originY: 0,
|
|
237
|
-
slideEl: void 0,
|
|
238
|
-
slideWidth: void 0,
|
|
239
|
-
slideHeight: void 0,
|
|
240
|
-
imageEl: void 0,
|
|
241
|
-
imageWrapEl: void 0,
|
|
242
|
-
maxRatio: 3
|
|
243
|
-
}, e = {
|
|
244
|
-
isTouched: void 0,
|
|
245
|
-
isMoved: void 0,
|
|
246
|
-
currentX: void 0,
|
|
247
|
-
currentY: void 0,
|
|
248
|
-
minX: void 0,
|
|
249
|
-
minY: void 0,
|
|
250
|
-
maxX: void 0,
|
|
251
|
-
maxY: void 0,
|
|
252
|
-
width: void 0,
|
|
253
|
-
height: void 0,
|
|
254
|
-
startX: void 0,
|
|
255
|
-
startY: void 0,
|
|
256
|
-
touchesStart: {},
|
|
257
|
-
touchesCurrent: {}
|
|
258
|
-
}, p = {
|
|
259
|
-
x: void 0,
|
|
260
|
-
y: void 0,
|
|
261
|
-
prevPositionX: void 0,
|
|
262
|
-
prevPositionY: void 0,
|
|
263
|
-
prevTime: void 0
|
|
264
|
-
};
|
|
265
|
-
let j = 1;
|
|
266
|
-
Object.defineProperty(t.zoom, "scale", {
|
|
267
|
-
get() {
|
|
268
|
-
return j;
|
|
269
|
-
},
|
|
270
|
-
set(r) {
|
|
271
|
-
if (j !== r) {
|
|
272
|
-
const a = i.imageEl, s = i.slideEl;
|
|
273
|
-
c("zoomChange", r, a, s);
|
|
274
|
-
}
|
|
275
|
-
j = r;
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
function O() {
|
|
279
|
-
if (m.length < 2) return 1;
|
|
280
|
-
const r = m[0].pageX, a = m[0].pageY, s = m[1].pageX, g = m[1].pageY;
|
|
281
|
-
return Math.sqrt((s - r) ** 2 + (g - a) ** 2);
|
|
282
|
-
}
|
|
283
|
-
function Q() {
|
|
284
|
-
const r = t.params.zoom, a = i.imageWrapEl.getAttribute("data-swiper-zoom") || r.maxRatio;
|
|
285
|
-
if (r.limitToOriginalSize && i.imageEl && i.imageEl.naturalWidth) {
|
|
286
|
-
const s = i.imageEl.naturalWidth / i.imageEl.offsetWidth;
|
|
287
|
-
return Math.min(s, a);
|
|
288
|
-
}
|
|
289
|
-
return a;
|
|
290
|
-
}
|
|
291
|
-
function U() {
|
|
292
|
-
if (m.length < 2) return {
|
|
293
|
-
x: null,
|
|
294
|
-
y: null
|
|
295
|
-
};
|
|
296
|
-
const r = i.imageEl.getBoundingClientRect();
|
|
297
|
-
return [(m[0].pageX + (m[1].pageX - m[0].pageX) / 2 - r.x - E.scrollX) / f, (m[0].pageY + (m[1].pageY - m[0].pageY) / 2 - r.y - E.scrollY) / f];
|
|
298
|
-
}
|
|
299
|
-
function re() {
|
|
300
|
-
return t.isElement ? "swiper-slide" : `.${t.params.slideClass}`;
|
|
301
|
-
}
|
|
302
|
-
function l(r) {
|
|
303
|
-
const a = re();
|
|
304
|
-
return !!(r.target.matches(a) || t.slides.filter((s) => s.contains(r.target)).length > 0);
|
|
305
|
-
}
|
|
306
|
-
function h(r) {
|
|
307
|
-
const a = `.${t.params.zoom.containerClass}`;
|
|
308
|
-
return !!(r.target.matches(a) || [...t.hostEl.querySelectorAll(a)].filter((s) => s.contains(r.target)).length > 0);
|
|
309
|
-
}
|
|
310
|
-
function u(r) {
|
|
311
|
-
if (r.pointerType === "mouse" && m.splice(0, m.length), !l(r)) return;
|
|
312
|
-
const a = t.params.zoom;
|
|
313
|
-
if (F = !1, R = !1, m.push(r), !(m.length < 2)) {
|
|
314
|
-
if (F = !0, i.scaleStart = O(), !i.slideEl) {
|
|
315
|
-
i.slideEl = r.target.closest(`.${t.params.slideClass}, swiper-slide`), i.slideEl || (i.slideEl = t.slides[t.activeIndex]);
|
|
316
|
-
let s = i.slideEl.querySelector(`.${a.containerClass}`);
|
|
317
|
-
if (s && (s = s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), i.imageEl = s, s ? i.imageWrapEl = fe(i.imageEl, `.${a.containerClass}`)[0] : i.imageWrapEl = void 0, !i.imageWrapEl) {
|
|
318
|
-
i.imageEl = void 0;
|
|
319
|
-
return;
|
|
320
|
-
}
|
|
321
|
-
i.maxRatio = Q();
|
|
322
|
-
}
|
|
323
|
-
if (i.imageEl) {
|
|
324
|
-
const [s, g] = U();
|
|
325
|
-
i.originX = s, i.originY = g, i.imageEl.style.transitionDuration = "0ms";
|
|
326
|
-
}
|
|
327
|
-
$ = !0;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
function v(r) {
|
|
331
|
-
if (!l(r)) return;
|
|
332
|
-
const a = t.params.zoom, s = t.zoom, g = m.findIndex((w) => w.pointerId === r.pointerId);
|
|
333
|
-
g >= 0 && (m[g] = r), !(m.length < 2) && (R = !0, i.scaleMove = O(), i.imageEl && (s.scale = i.scaleMove / i.scaleStart * f, s.scale > i.maxRatio && (s.scale = i.maxRatio - 1 + (s.scale - i.maxRatio + 1) ** 0.5), s.scale < a.minRatio && (s.scale = a.minRatio + 1 - (a.minRatio - s.scale + 1) ** 0.5), i.imageEl.style.transform = `translate3d(0,0,0) scale(${s.scale})`));
|
|
334
|
-
}
|
|
335
|
-
function b(r) {
|
|
336
|
-
if (!l(r) || r.pointerType === "mouse" && r.type === "pointerout") return;
|
|
337
|
-
const a = t.params.zoom, s = t.zoom, g = m.findIndex((w) => w.pointerId === r.pointerId);
|
|
338
|
-
g >= 0 && m.splice(g, 1), !(!F || !R) && (F = !1, R = !1, i.imageEl && (s.scale = Math.max(Math.min(s.scale, i.maxRatio), a.minRatio), i.imageEl.style.transitionDuration = `${t.params.speed}ms`, i.imageEl.style.transform = `translate3d(0,0,0) scale(${s.scale})`, f = s.scale, $ = !1, s.scale > 1 && i.slideEl ? i.slideEl.classList.add(`${a.zoomedSlideClass}`) : s.scale <= 1 && i.slideEl && i.slideEl.classList.remove(`${a.zoomedSlideClass}`), s.scale === 1 && (i.originX = 0, i.originY = 0, i.slideEl = void 0)));
|
|
339
|
-
}
|
|
340
|
-
let _;
|
|
341
|
-
function G() {
|
|
342
|
-
t.touchEventsData.preventTouchMoveFromPointerMove = !1;
|
|
343
|
-
}
|
|
344
|
-
function M() {
|
|
345
|
-
clearTimeout(_), t.touchEventsData.preventTouchMoveFromPointerMove = !0, _ = setTimeout(() => {
|
|
346
|
-
t.destroyed || G();
|
|
347
|
-
});
|
|
348
|
-
}
|
|
349
|
-
function C(r) {
|
|
350
|
-
const a = t.device;
|
|
351
|
-
if (!i.imageEl || e.isTouched) return;
|
|
352
|
-
a.android && r.cancelable && r.preventDefault(), e.isTouched = !0;
|
|
353
|
-
const s = m.length > 0 ? m[0] : r;
|
|
354
|
-
e.touchesStart.x = s.pageX, e.touchesStart.y = s.pageY;
|
|
355
|
-
}
|
|
356
|
-
function X(r) {
|
|
357
|
-
const s = r.pointerType === "mouse" && t.params.zoom.panOnMouseMove;
|
|
358
|
-
if (!l(r) || !h(r))
|
|
359
|
-
return;
|
|
360
|
-
const g = t.zoom;
|
|
361
|
-
if (!i.imageEl)
|
|
362
|
-
return;
|
|
363
|
-
if (!e.isTouched || !i.slideEl) {
|
|
364
|
-
s && he(r);
|
|
365
|
-
return;
|
|
366
|
-
}
|
|
367
|
-
if (s) {
|
|
368
|
-
he(r);
|
|
369
|
-
return;
|
|
370
|
-
}
|
|
371
|
-
e.isMoved || (e.width = i.imageEl.offsetWidth || i.imageEl.clientWidth, e.height = i.imageEl.offsetHeight || i.imageEl.clientHeight, e.startX = Te(i.imageWrapEl, "x") || 0, e.startY = Te(i.imageWrapEl, "y") || 0, i.slideWidth = i.slideEl.offsetWidth, i.slideHeight = i.slideEl.offsetHeight, i.imageWrapEl.style.transitionDuration = "0ms");
|
|
372
|
-
const w = e.width * g.scale, k = e.height * g.scale;
|
|
373
|
-
if (e.minX = Math.min(i.slideWidth / 2 - w / 2, 0), e.maxX = -e.minX, e.minY = Math.min(i.slideHeight / 2 - k / 2, 0), e.maxY = -e.minY, e.touchesCurrent.x = m.length > 0 ? m[0].pageX : r.pageX, e.touchesCurrent.y = m.length > 0 ? m[0].pageY : r.pageY, Math.max(Math.abs(e.touchesCurrent.x - e.touchesStart.x), Math.abs(e.touchesCurrent.y - e.touchesStart.y)) > 5 && (t.allowClick = !1), !e.isMoved && !$) {
|
|
374
|
-
if (t.isHorizontal() && (Math.floor(e.minX) === Math.floor(e.startX) && e.touchesCurrent.x < e.touchesStart.x || Math.floor(e.maxX) === Math.floor(e.startX) && e.touchesCurrent.x > e.touchesStart.x)) {
|
|
375
|
-
e.isTouched = !1, G();
|
|
376
|
-
return;
|
|
377
|
-
}
|
|
378
|
-
if (!t.isHorizontal() && (Math.floor(e.minY) === Math.floor(e.startY) && e.touchesCurrent.y < e.touchesStart.y || Math.floor(e.maxY) === Math.floor(e.startY) && e.touchesCurrent.y > e.touchesStart.y)) {
|
|
379
|
-
e.isTouched = !1, G();
|
|
380
|
-
return;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
r.cancelable && r.preventDefault(), r.stopPropagation(), M(), e.isMoved = !0;
|
|
384
|
-
const T = (g.scale - f) / (i.maxRatio - t.params.zoom.minRatio), {
|
|
385
|
-
originX: I,
|
|
386
|
-
originY: y
|
|
387
|
-
} = i;
|
|
388
|
-
e.currentX = e.touchesCurrent.x - e.touchesStart.x + e.startX + T * (e.width - I * 2), e.currentY = e.touchesCurrent.y - e.touchesStart.y + e.startY + T * (e.height - y * 2), e.currentX < e.minX && (e.currentX = e.minX + 1 - (e.minX - e.currentX + 1) ** 0.8), e.currentX > e.maxX && (e.currentX = e.maxX - 1 + (e.currentX - e.maxX + 1) ** 0.8), e.currentY < e.minY && (e.currentY = e.minY + 1 - (e.minY - e.currentY + 1) ** 0.8), e.currentY > e.maxY && (e.currentY = e.maxY - 1 + (e.currentY - e.maxY + 1) ** 0.8), p.prevPositionX || (p.prevPositionX = e.touchesCurrent.x), p.prevPositionY || (p.prevPositionY = e.touchesCurrent.y), p.prevTime || (p.prevTime = Date.now()), p.x = (e.touchesCurrent.x - p.prevPositionX) / (Date.now() - p.prevTime) / 2, p.y = (e.touchesCurrent.y - p.prevPositionY) / (Date.now() - p.prevTime) / 2, Math.abs(e.touchesCurrent.x - p.prevPositionX) < 2 && (p.x = 0), Math.abs(e.touchesCurrent.y - p.prevPositionY) < 2 && (p.y = 0), p.prevPositionX = e.touchesCurrent.x, p.prevPositionY = e.touchesCurrent.y, p.prevTime = Date.now(), i.imageWrapEl.style.transform = `translate3d(${e.currentX}px, ${e.currentY}px,0)`;
|
|
389
|
-
}
|
|
390
|
-
function z() {
|
|
391
|
-
const r = t.zoom;
|
|
392
|
-
if (m.length = 0, !i.imageEl) return;
|
|
393
|
-
if (!e.isTouched || !e.isMoved) {
|
|
394
|
-
e.isTouched = !1, e.isMoved = !1;
|
|
395
|
-
return;
|
|
396
|
-
}
|
|
397
|
-
e.isTouched = !1, e.isMoved = !1;
|
|
398
|
-
let a = 300, s = 300;
|
|
399
|
-
const g = p.x * a, w = e.currentX + g, k = p.y * s, D = e.currentY + k;
|
|
400
|
-
p.x !== 0 && (a = Math.abs((w - e.currentX) / p.x)), p.y !== 0 && (s = Math.abs((D - e.currentY) / p.y));
|
|
401
|
-
const T = Math.max(a, s);
|
|
402
|
-
e.currentX = w, e.currentY = D;
|
|
403
|
-
const I = e.width * r.scale, y = e.height * r.scale;
|
|
404
|
-
e.minX = Math.min(i.slideWidth / 2 - I / 2, 0), e.maxX = -e.minX, e.minY = Math.min(i.slideHeight / 2 - y / 2, 0), e.maxY = -e.minY, e.currentX = Math.max(Math.min(e.currentX, e.maxX), e.minX), e.currentY = Math.max(Math.min(e.currentY, e.maxY), e.minY), i.imageWrapEl.style.transitionDuration = `${T}ms`, i.imageWrapEl.style.transform = `translate3d(${e.currentX}px, ${e.currentY}px,0)`;
|
|
405
|
-
}
|
|
406
|
-
function ge() {
|
|
407
|
-
const r = t.zoom;
|
|
408
|
-
i.slideEl && t.activeIndex !== t.slides.indexOf(i.slideEl) && (i.imageEl && (i.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), i.imageWrapEl && (i.imageWrapEl.style.transform = "translate3d(0,0,0)"), i.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`), r.scale = 1, f = 1, i.slideEl = void 0, i.imageEl = void 0, i.imageWrapEl = void 0, i.originX = 0, i.originY = 0);
|
|
409
|
-
}
|
|
410
|
-
function he(r) {
|
|
411
|
-
if (f <= 1 || !i.imageWrapEl || !l(r) || !h(r)) return;
|
|
412
|
-
const a = E.getComputedStyle(i.imageWrapEl).transform, s = new E.DOMMatrix(a);
|
|
413
|
-
if (!x) {
|
|
414
|
-
x = !0, S.x = r.clientX, S.y = r.clientY, e.startX = s.e, e.startY = s.f, e.width = i.imageEl.offsetWidth || i.imageEl.clientWidth, e.height = i.imageEl.offsetHeight || i.imageEl.clientHeight, i.slideWidth = i.slideEl.offsetWidth, i.slideHeight = i.slideEl.offsetHeight;
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
const g = (r.clientX - S.x) * J, w = (r.clientY - S.y) * J, k = e.width * f, D = e.height * f, T = i.slideWidth, I = i.slideHeight, y = Math.min(T / 2 - k / 2, 0), Y = -y, K = Math.min(I / 2 - D / 2, 0), ee = -K, q = Math.max(Math.min(e.startX + g, Y), y), B = Math.max(Math.min(e.startY + w, ee), K);
|
|
418
|
-
i.imageWrapEl.style.transitionDuration = "0ms", i.imageWrapEl.style.transform = `translate3d(${q}px, ${B}px, 0)`, S.x = r.clientX, S.y = r.clientY, e.startX = q, e.startY = B, e.currentX = q, e.currentY = B;
|
|
419
|
-
}
|
|
420
|
-
function ve(r) {
|
|
421
|
-
const a = t.zoom, s = t.params.zoom;
|
|
422
|
-
if (!i.slideEl) {
|
|
423
|
-
r && r.target && (i.slideEl = r.target.closest(`.${t.params.slideClass}, swiper-slide`)), i.slideEl || (t.params.virtual && t.params.virtual.enabled && t.virtual ? i.slideEl = We(t.slidesEl, `.${t.params.slideActiveClass}`)[0] : i.slideEl = t.slides[t.activeIndex]);
|
|
424
|
-
let Z = i.slideEl.querySelector(`.${s.containerClass}`);
|
|
425
|
-
Z && (Z = Z.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), i.imageEl = Z, Z ? i.imageWrapEl = fe(i.imageEl, `.${s.containerClass}`)[0] : i.imageWrapEl = void 0;
|
|
426
|
-
}
|
|
427
|
-
if (!i.imageEl || !i.imageWrapEl) return;
|
|
428
|
-
t.params.cssMode && (t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.touchAction = "none"), i.slideEl.classList.add(`${s.zoomedSlideClass}`);
|
|
429
|
-
let g, w, k, D, T, I, y, Y, K, ee, q, B, te, ie, se, ae, oe, le;
|
|
430
|
-
typeof e.touchesStart.x > "u" && r ? (g = r.pageX, w = r.pageY) : (g = e.touchesStart.x, w = e.touchesStart.y);
|
|
431
|
-
const ue = f, V = typeof r == "number" ? r : null;
|
|
432
|
-
f === 1 && V && (g = void 0, w = void 0, e.touchesStart.x = void 0, e.touchesStart.y = void 0);
|
|
433
|
-
const Se = Q();
|
|
434
|
-
a.scale = V || Se, f = V || Se, r && !(f === 1 && V) ? (oe = i.slideEl.offsetWidth, le = i.slideEl.offsetHeight, k = Pe(i.slideEl).left + E.scrollX, D = Pe(i.slideEl).top + E.scrollY, T = k + oe / 2 - g, I = D + le / 2 - w, K = i.imageEl.offsetWidth || i.imageEl.clientWidth, ee = i.imageEl.offsetHeight || i.imageEl.clientHeight, q = K * a.scale, B = ee * a.scale, te = Math.min(oe / 2 - q / 2, 0), ie = Math.min(le / 2 - B / 2, 0), se = -te, ae = -ie, ue > 0 && V && typeof e.currentX == "number" && typeof e.currentY == "number" ? (y = e.currentX * a.scale / ue, Y = e.currentY * a.scale / ue) : (y = T * a.scale, Y = I * a.scale), y < te && (y = te), y > se && (y = se), Y < ie && (Y = ie), Y > ae && (Y = ae)) : (y = 0, Y = 0), V && a.scale === 1 && (i.originX = 0, i.originY = 0), e.currentX = y, e.currentY = Y, i.imageWrapEl.style.transitionDuration = "300ms", i.imageWrapEl.style.transform = `translate3d(${y}px, ${Y}px,0)`, i.imageEl.style.transitionDuration = "300ms", i.imageEl.style.transform = `translate3d(0,0,0) scale(${a.scale})`;
|
|
435
|
-
}
|
|
436
|
-
function Ee() {
|
|
437
|
-
const r = t.zoom, a = t.params.zoom;
|
|
438
|
-
if (!i.slideEl) {
|
|
439
|
-
t.params.virtual && t.params.virtual.enabled && t.virtual ? i.slideEl = We(t.slidesEl, `.${t.params.slideActiveClass}`)[0] : i.slideEl = t.slides[t.activeIndex];
|
|
440
|
-
let s = i.slideEl.querySelector(`.${a.containerClass}`);
|
|
441
|
-
s && (s = s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), i.imageEl = s, s ? i.imageWrapEl = fe(i.imageEl, `.${a.containerClass}`)[0] : i.imageWrapEl = void 0;
|
|
442
|
-
}
|
|
443
|
-
!i.imageEl || !i.imageWrapEl || (t.params.cssMode && (t.wrapperEl.style.overflow = "", t.wrapperEl.style.touchAction = ""), r.scale = 1, f = 1, e.currentX = void 0, e.currentY = void 0, e.touchesStart.x = void 0, e.touchesStart.y = void 0, i.imageWrapEl.style.transitionDuration = "300ms", i.imageWrapEl.style.transform = "translate3d(0,0,0)", i.imageEl.style.transitionDuration = "300ms", i.imageEl.style.transform = "translate3d(0,0,0) scale(1)", i.slideEl.classList.remove(`${a.zoomedSlideClass}`), i.slideEl = void 0, i.originX = 0, i.originY = 0, t.params.zoom.panOnMouseMove && (S = {
|
|
444
|
-
x: 0,
|
|
445
|
-
y: 0
|
|
446
|
-
}, x && (x = !1, e.startX = 0, e.startY = 0)));
|
|
447
|
-
}
|
|
448
|
-
function we(r) {
|
|
449
|
-
const a = t.zoom;
|
|
450
|
-
a.scale && a.scale !== 1 ? Ee() : ve(r);
|
|
451
|
-
}
|
|
452
|
-
function ye() {
|
|
453
|
-
const r = t.params.passiveListeners ? {
|
|
454
|
-
passive: !0,
|
|
455
|
-
capture: !1
|
|
456
|
-
} : !1, a = t.params.passiveListeners ? {
|
|
457
|
-
passive: !1,
|
|
458
|
-
capture: !0
|
|
459
|
-
} : !0;
|
|
460
|
-
return {
|
|
461
|
-
passiveListener: r,
|
|
462
|
-
activeListenerWithCapture: a
|
|
463
|
-
};
|
|
464
|
-
}
|
|
465
|
-
function be() {
|
|
466
|
-
const r = t.zoom;
|
|
467
|
-
if (r.enabled) return;
|
|
468
|
-
r.enabled = !0;
|
|
469
|
-
const {
|
|
470
|
-
passiveListener: a,
|
|
471
|
-
activeListenerWithCapture: s
|
|
472
|
-
} = ye();
|
|
473
|
-
t.wrapperEl.addEventListener("pointerdown", u, a), t.wrapperEl.addEventListener("pointermove", v, s), ["pointerup", "pointercancel", "pointerout"].forEach((g) => {
|
|
474
|
-
t.wrapperEl.addEventListener(g, b, a);
|
|
475
|
-
}), t.wrapperEl.addEventListener("pointermove", X, s);
|
|
476
|
-
}
|
|
477
|
-
function xe() {
|
|
478
|
-
const r = t.zoom;
|
|
479
|
-
if (!r.enabled) return;
|
|
480
|
-
r.enabled = !1;
|
|
481
|
-
const {
|
|
482
|
-
passiveListener: a,
|
|
483
|
-
activeListenerWithCapture: s
|
|
484
|
-
} = ye();
|
|
485
|
-
t.wrapperEl.removeEventListener("pointerdown", u, a), t.wrapperEl.removeEventListener("pointermove", v, s), ["pointerup", "pointercancel", "pointerout"].forEach((g) => {
|
|
486
|
-
t.wrapperEl.removeEventListener(g, b, a);
|
|
487
|
-
}), t.wrapperEl.removeEventListener("pointermove", X, s);
|
|
488
|
-
}
|
|
489
|
-
o("init", () => {
|
|
490
|
-
t.params.zoom.enabled && be();
|
|
491
|
-
}), o("destroy", () => {
|
|
492
|
-
xe();
|
|
493
|
-
}), o("touchStart", (r, a) => {
|
|
494
|
-
t.zoom.enabled && C(a);
|
|
495
|
-
}), o("touchEnd", (r, a) => {
|
|
496
|
-
t.zoom.enabled && z();
|
|
497
|
-
}), o("doubleTap", (r, a) => {
|
|
498
|
-
!t.animating && t.params.zoom.enabled && t.zoom.enabled && t.params.zoom.toggle && we(a);
|
|
499
|
-
}), o("transitionEnd", () => {
|
|
500
|
-
t.zoom.enabled && t.params.zoom.enabled && ge();
|
|
501
|
-
}), o("slideChange", () => {
|
|
502
|
-
t.zoom.enabled && t.params.zoom.enabled && t.params.cssMode && ge();
|
|
503
|
-
}), Object.assign(t.zoom, {
|
|
504
|
-
enable: be,
|
|
505
|
-
disable: xe,
|
|
506
|
-
in: ve,
|
|
507
|
-
out: Ee,
|
|
508
|
-
toggle: we
|
|
509
|
-
});
|
|
510
|
-
}
|
|
511
|
-
const Ne = ["id"], Ge = ["id", "data-cy"], Ke = ["data-idx", "loading", "fetchpriority", "alt", "width", "height", "onLoad"], Ze = ["id"], Je = ["loading", "alt"], Qe = /* @__PURE__ */ Oe({
|
|
512
|
-
inheritAttrs: !1,
|
|
513
|
-
__name: "SwiperCarousel",
|
|
514
|
-
props: {
|
|
515
|
-
id: {},
|
|
516
|
-
swiperOptions: {},
|
|
517
|
-
thumbSwiperOptions: {},
|
|
518
|
-
lazyLoadImages: { type: Boolean, default: !0 },
|
|
519
|
-
backgroundImage: { type: Boolean, default: !1 },
|
|
520
|
-
images: { default: () => [] },
|
|
521
|
-
artDirection: {},
|
|
522
|
-
shiftFirstImage: { type: Boolean, default: !1 }
|
|
523
|
-
},
|
|
524
|
-
emits: ["moved", "click", "firstSlideLoaded"],
|
|
525
|
-
setup(n, { expose: t, emit: d }) {
|
|
526
|
-
const o = d, c = ke({
|
|
527
|
-
swiperParams: { modules: [Ve] },
|
|
528
|
-
swiper: null,
|
|
529
|
-
initCarousel: !1
|
|
530
|
-
}), E = ce(), f = ce(!1), $ = De(), x = H(() => n.id ?? $), S = H(() => n.swiperOptions?.slidesPerView || 1), J = H(() => n.thumbSwiperOptions?.slidesPerView || 1), F = H(() => !!n.swiperOptions?.keyboard), R = H(() => !!n.swiperOptions.navigation), m = H(() => !!n.swiperOptions.pagination), i = H(() => !!n.swiperOptions.autoplay), e = H(
|
|
531
|
-
() => n.swiperOptions?.effect || "slider"
|
|
532
|
-
), p = () => {
|
|
533
|
-
n.swiperOptions && Re(n.swiperOptions, c.swiperParams);
|
|
534
|
-
}, j = (l, h = -1) => {
|
|
535
|
-
if (!l.images)
|
|
536
|
-
return { src: l.src || "" };
|
|
537
|
-
let u = "", v = "", b = "";
|
|
538
|
-
if (n.artDirection) {
|
|
539
|
-
for (const M in n.artDirection) {
|
|
540
|
-
const { mq: C, width: X } = n.artDirection[M];
|
|
541
|
-
X && (b += b ? `,${C} ${parseInt(X)}px` : `${C} ${parseInt(X)}px`);
|
|
542
|
-
}
|
|
543
|
-
v = l.images.reduce((M, C, X) => {
|
|
544
|
-
const z = Object.values(n.artDirection)[X];
|
|
545
|
-
return !z || !z.width || (M += M ? `, ${C.storagePath} ${z.width}` : `${C.storagePath} ${z.width}`), M;
|
|
546
|
-
}, ""), u = l.images[0].storagePath;
|
|
547
|
-
} else {
|
|
548
|
-
let M = l.images;
|
|
549
|
-
l.images.length > 3 ? M = l.images.slice(2, 5) : n.shiftFirstImage && (M[0] = M[1]), v = M.reduce((C, X, z) => (z === 0 && (u = `${X.storagePath}`), z > 0 && (C += ", "), `${C}${X.storagePath} ${z + 1}x`), "");
|
|
550
|
-
}
|
|
551
|
-
const _ = u, G = v;
|
|
552
|
-
return typeof S.value == "number" && h > S.value ? (u = "", v = "", { sizes: b, "data-src": _, "data-srcset": G }) : { src: u, srcset: v, sizes: b };
|
|
553
|
-
}, O = [], Q = (l) => {
|
|
554
|
-
if (typeof S.value == "string") return;
|
|
555
|
-
const h = O[l];
|
|
556
|
-
if (h && !h.src && (h.src = h.dataset.src || "", h.srcset = h.dataset.srcset || ""), l < S.value || l + 1 >= (n.images ?? []).length)
|
|
557
|
-
return;
|
|
558
|
-
const u = O[l + 1];
|
|
559
|
-
u && !u.src && (u.src = u?.dataset.src || "", u.srcset = u?.dataset.srcset || "");
|
|
560
|
-
};
|
|
561
|
-
t({
|
|
562
|
-
moveTo(l, h = 0, u = !0) {
|
|
563
|
-
c.swiper?.slideTo(l, h, u);
|
|
564
|
-
}
|
|
565
|
-
});
|
|
566
|
-
const U = ce(null), re = (l) => {
|
|
567
|
-
l === 0 && O && O[l] && Me(() => {
|
|
568
|
-
U.value?.setAttribute("data-first-slide-loaded", "true"), o("firstSlideLoaded");
|
|
569
|
-
});
|
|
570
|
-
};
|
|
571
|
-
return Ie(async () => {
|
|
572
|
-
if (p(), F.value) {
|
|
573
|
-
const { Keyboard: u } = await import("./keyboard.1cl3p4mk.js");
|
|
574
|
-
c.swiperParams.modules?.push(u), c.swiperParams.keyboard = n.swiperOptions.keyboard;
|
|
575
|
-
}
|
|
576
|
-
if (m.value) {
|
|
577
|
-
const { Pagination: u } = await import("./pagination.BY56pkKE.js");
|
|
578
|
-
c.swiperParams.modules?.push(u), c.swiperParams.pagination = {
|
|
579
|
-
el: ".swiper-pagination",
|
|
580
|
-
renderFraction: (v, b) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
|
|
581
|
-
<span data-cy="swiper-pagination-current" class="${v}"></span>
|
|
582
|
-
/
|
|
583
|
-
<span data-cy="swiper-pagination-total" class="${b}"></span>
|
|
584
|
-
</div>`,
|
|
585
|
-
...typeof c.swiperParams.pagination == "boolean" ? {} : c.swiperParams.pagination
|
|
586
|
-
};
|
|
587
|
-
}
|
|
588
|
-
if (R.value) {
|
|
589
|
-
const { Navigation: u } = await import("./navigation.BMbGenMb.js");
|
|
590
|
-
c.swiperParams.modules?.push(u);
|
|
591
|
-
const v = {
|
|
592
|
-
...n.swiperOptions.navigation.nextEl ?? {
|
|
593
|
-
nextEl: ".swiper-button-next"
|
|
594
|
-
},
|
|
595
|
-
...n.swiperOptions.navigation.prevEl ?? {
|
|
596
|
-
prevEl: ".swiper-button-prev"
|
|
597
|
-
}
|
|
598
|
-
};
|
|
599
|
-
c.swiperParams.navigation = {
|
|
600
|
-
...typeof n.swiperOptions.navigation == "object" ? n.swiperOptions.navigation : {},
|
|
601
|
-
...v
|
|
602
|
-
};
|
|
603
|
-
}
|
|
604
|
-
if (i.value) {
|
|
605
|
-
const { Autoplay: u } = await import("./autoplay.PAkd8mEA.js");
|
|
606
|
-
c.swiperParams.modules?.push(u), c.swiperParams.autoplay = n.swiperOptions.autoplay;
|
|
607
|
-
}
|
|
608
|
-
const l = {
|
|
609
|
-
...c.swiperParams,
|
|
610
|
-
on: {
|
|
611
|
-
init: () => {
|
|
612
|
-
f.value = !0;
|
|
613
|
-
},
|
|
614
|
-
slideChange: (u) => {
|
|
615
|
-
Q(u.activeIndex), o("moved", { activeIndex: u.activeIndex });
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
let h = null;
|
|
620
|
-
if (n.thumbSwiperOptions) {
|
|
621
|
-
const [u, v, b] = await Promise.all([
|
|
622
|
-
import("./thumbs.DMUSQ4UG.js"),
|
|
623
|
-
import("./free-mode.CgW-CG5o.js"),
|
|
624
|
-
import("./controller.B4dN1HzT.js")
|
|
625
|
-
]);
|
|
626
|
-
c.swiperParams.modules?.push(u.Thumbs), c.swiperParams.modules?.push(b.Controller), h = new ze(`#thumb_${n.id}`, {
|
|
627
|
-
...n.thumbSwiperOptions,
|
|
628
|
-
modules: [v.FreeMode]
|
|
629
|
-
}), l.thumbs = {
|
|
630
|
-
swiper: h
|
|
631
|
-
};
|
|
632
|
-
}
|
|
633
|
-
l.lazyPreloadPrevNext = 1, c.swiper = new ze(`#${n.id}`, l), E.value?.classList.remove("uikit-hidden");
|
|
634
|
-
}), He(
|
|
635
|
-
() => n.images,
|
|
636
|
-
() => {
|
|
637
|
-
Me(() => {
|
|
638
|
-
c.swiper?.update();
|
|
639
|
-
});
|
|
640
|
-
}
|
|
641
|
-
), (l, h) => (P(), W("div", {
|
|
642
|
-
id: `root-${x.value}`,
|
|
643
|
-
ref_key: "root",
|
|
644
|
-
ref: U,
|
|
645
|
-
class: L(["swiper-carousel-root", l.$attrs["root-classes"]])
|
|
646
|
-
}, [
|
|
647
|
-
A("div", {
|
|
648
|
-
id: x.value,
|
|
649
|
-
"data-cy": l.$attrs["data-cy"],
|
|
650
|
-
class: L(["swiper", l.$attrs["swiper-classes"]])
|
|
651
|
-
}, [
|
|
652
|
-
A("div", {
|
|
653
|
-
ref_key: "swiperWrapper",
|
|
654
|
-
ref: E,
|
|
655
|
-
class: L(["swiper-wrapper", [
|
|
656
|
-
l.$attrs["swiper-wrapper-classes"],
|
|
657
|
-
e.value === "none" && "no-transition"
|
|
658
|
-
]]),
|
|
659
|
-
onClick: h[0] || (h[0] = (u) => o("click"))
|
|
660
|
-
}, [
|
|
661
|
-
Xe(l.$slots, "default", {}, () => [
|
|
662
|
-
(P(!0), W(de, null, Ye(l.images, (u, v) => (P(), W("div", {
|
|
663
|
-
key: `swiper_${x.value}_${v}`,
|
|
664
|
-
class: L(["swiper-slide", l.$attrs["swiper-slide-classes"]])
|
|
665
|
-
}, [
|
|
666
|
-
A("div", {
|
|
667
|
-
class: L(["swiper-zoom-container", l.$attrs["swiper-zoom-container-classes"]])
|
|
668
|
-
}, [
|
|
669
|
-
l.backgroundImage ? ne("", !0) : (P(), W("img", Ce({
|
|
670
|
-
key: 0,
|
|
671
|
-
ref_for: !0,
|
|
672
|
-
ref: (b) => {
|
|
673
|
-
O.push(b);
|
|
674
|
-
},
|
|
675
|
-
class: ["disable-select", [l.$attrs["slide-img-classes"] || u.classes]],
|
|
676
|
-
"data-idx": `${x.value}-slide-img-${v}`
|
|
677
|
-
}, j(u, v), {
|
|
678
|
-
loading: l.lazyLoadImages || v >= S.value ? "lazy" : void 0,
|
|
679
|
-
fetchpriority: !l.lazyLoadImages && v === 0 ? "high" : "low",
|
|
680
|
-
alt: u.alt,
|
|
681
|
-
itemprop: "image",
|
|
682
|
-
width: u.width,
|
|
683
|
-
height: u.height,
|
|
684
|
-
onLoad: (b) => re(v)
|
|
685
|
-
}), null, 16, Ke))
|
|
686
|
-
], 2)
|
|
687
|
-
], 2))), 128)),
|
|
688
|
-
Xe(l.$slots, "last_slide", {}, void 0, !0)
|
|
689
|
-
], !0)
|
|
690
|
-
], 2),
|
|
691
|
-
m.value ? (P(), W("div", {
|
|
692
|
-
key: 0,
|
|
693
|
-
class: L([l.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
|
|
694
|
-
onClick: h[1] || (h[1] = me(() => {
|
|
695
|
-
}, ["stop"]))
|
|
696
|
-
}, null, 2)) : ne("", !0),
|
|
697
|
-
R.value ? (P(), W(de, { key: 1 }, [
|
|
698
|
-
A("div", {
|
|
699
|
-
class: "swiper-button-prev",
|
|
700
|
-
"data-cy": "swiper-button-prev",
|
|
701
|
-
onClick: h[2] || (h[2] = me(() => {
|
|
702
|
-
}, ["stop"]))
|
|
703
|
-
}),
|
|
704
|
-
A("div", {
|
|
705
|
-
class: "swiper-button-next",
|
|
706
|
-
"data-cy": "swiper-button-next",
|
|
707
|
-
onClick: h[3] || (h[3] = me(() => {
|
|
708
|
-
}, ["stop"]))
|
|
709
|
-
})
|
|
710
|
-
], 64)) : ne("", !0)
|
|
711
|
-
], 10, Ge),
|
|
712
|
-
l.thumbSwiperOptions ? (P(), W("div", {
|
|
713
|
-
key: 0,
|
|
714
|
-
id: `thumb_${x.value}`,
|
|
715
|
-
thumbsSlider: "",
|
|
716
|
-
class: L(["swiper", l.$attrs["thumb-swiper-classes"]])
|
|
717
|
-
}, [
|
|
718
|
-
A("div", {
|
|
719
|
-
class: L(["swiper-wrapper", l.$attrs["thumb-swiper-wrapper-classes"]])
|
|
720
|
-
}, [
|
|
721
|
-
(P(!0), W(de, null, Ye(l.images, (u, v) => (P(), W("div", {
|
|
722
|
-
key: `thumb_${x.value}_${v}`,
|
|
723
|
-
class: L(["swiper-slide", l.$attrs["thumb-img-wrapper-classes"]])
|
|
724
|
-
}, [
|
|
725
|
-
A("img", Ce({
|
|
726
|
-
class: l.$attrs["thumb-img-classes"],
|
|
727
|
-
ref_for: !0
|
|
728
|
-
}, j(u), {
|
|
729
|
-
loading: v >= J.value ? "lazy" : void 0,
|
|
730
|
-
alt: u.alt
|
|
731
|
-
}), null, 16, Je)
|
|
732
|
-
], 2))), 128))
|
|
733
|
-
], 2)
|
|
734
|
-
], 10, Ze)) : ne("", !0)
|
|
735
|
-
], 10, Ne));
|
|
736
|
-
}
|
|
737
|
-
}), dt = /* @__PURE__ */ Ae(Qe, [["__scopeId", "data-v-9078f8da"]]);
|
|
738
|
-
export {
|
|
739
|
-
dt as S,
|
|
740
|
-
N as a,
|
|
741
|
-
fe as b,
|
|
742
|
-
at as c,
|
|
743
|
-
Pe as d,
|
|
744
|
-
We as e,
|
|
745
|
-
lt as f,
|
|
746
|
-
Fe as g,
|
|
747
|
-
nt as h,
|
|
748
|
-
st as i,
|
|
749
|
-
ut as j,
|
|
750
|
-
ot as k,
|
|
751
|
-
ct as m,
|
|
752
|
-
rt as n
|
|
753
|
-
};
|