@wikicasa-dev/components 2.10.0 → 3.0.0-alpha.2
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 -2
- package/dist/UIKit/AccessibleSelect.vue.js +75 -76
- package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +5 -3
- package/dist/UIKit/Accordion/AccordionContentPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +9 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +12 -9
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +1 -2
- package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +6 -3
- package/dist/UIKit/Accordion/BaseAccordion.d.ts +6 -0
- package/dist/UIKit/Accordion/BaseAccordion.js +1 -2
- package/dist/UIKit/Accordion/BaseAccordion.vue.js +18 -6
- package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -2
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +34 -28
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +1 -2
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +84 -97
- package/dist/UIKit/BaseAlert.d.ts +5 -3
- package/dist/UIKit/BaseAlert.js +1 -2
- package/dist/UIKit/BaseAlert.vue.js +1 -2
- package/dist/UIKit/BaseAutocomplete.js +1 -2
- package/dist/UIKit/BaseAutocomplete.vue.js +65 -72
- package/dist/UIKit/BaseBadge.d.ts +5 -3
- package/dist/UIKit/BaseBadge.js +1 -2
- package/dist/UIKit/BaseBadge.vue.js +1 -2
- package/dist/UIKit/BaseBreadcrumb.d.ts +9 -7
- package/dist/UIKit/BaseBreadcrumb.js +1 -2
- package/dist/UIKit/BaseBreadcrumb.vue.js +1 -2
- package/dist/UIKit/BaseButton.js +1 -2
- package/dist/UIKit/BaseButton.vue.js +26 -27
- package/dist/UIKit/BaseComplexToggle.js +4 -5
- package/dist/UIKit/BaseComplexToggle.vue.js +2 -13
- package/dist/UIKit/BaseDropDown.d.ts +27 -20
- package/dist/UIKit/BaseDropDown.js +1 -2
- package/dist/UIKit/BaseDropDown.vue.js +48 -49
- package/dist/UIKit/BaseFloatingLabel.js +4 -5
- package/dist/UIKit/BaseFloatingLabel.vue.js +1 -2
- package/dist/UIKit/BaseInput.js +4 -5
- package/dist/UIKit/BaseInput.vue.js +65 -66
- package/dist/UIKit/BaseModal.d.ts +22 -15
- package/dist/UIKit/BaseModal.js +1 -2
- package/dist/UIKit/BaseModal.vue.js +50 -56
- package/dist/UIKit/BasePagination.js +1 -2
- package/dist/UIKit/BasePagination.vue.js +9 -3
- package/dist/UIKit/BaseSelect/SelectItem.d.ts +10 -5
- package/dist/UIKit/BaseSelect/SelectItem.js +1 -2
- package/dist/UIKit/BaseSelect/SelectItem.vue.js +1 -2
- package/dist/UIKit/BaseSlider.js +4 -5
- package/dist/UIKit/BaseSlider.vue.js +29 -32
- package/dist/UIKit/BaseSnackbar.js +1 -2
- package/dist/UIKit/BaseSnackbar.vue.js +19 -24
- package/dist/UIKit/BaseTextarea.js +4 -5
- package/dist/UIKit/BaseTextarea.vue.js +51 -52
- package/dist/UIKit/BaseToggle.d.ts +7 -5
- package/dist/UIKit/BaseToggle.js +1 -2
- package/dist/UIKit/BaseToggle.vue.js +1 -2
- package/dist/UIKit/BaseTooltip.d.ts +8 -6
- package/dist/UIKit/BaseTooltip.js +4 -5
- package/dist/UIKit/BaseTooltip.vue.js +1 -2
- package/dist/UIKit/BaseUploadFile.d.ts +7 -5
- package/dist/UIKit/BaseUploadFile.js +1 -2
- package/dist/UIKit/BaseUploadFile.vue.js +26 -27
- package/dist/UIKit/Card/BaseCard.js +1 -2
- package/dist/UIKit/Card/BaseCard.vue.js +2 -2
- package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +5 -3
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +6 -7
- package/dist/UIKit/Card/CardImagePrimitive.d.ts +5 -3
- package/dist/UIKit/Card/CardImagePrimitive.js +1 -2
- package/dist/UIKit/Card/CardImagePrimitive.vue.js +7 -8
- package/dist/UIKit/Card/CardRootPrimitive.js +1 -2
- package/dist/UIKit/Card/CardRootPrimitive.vue.js +11 -11
- package/dist/UIKit/Card/type.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +6 -7
- package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -2
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +39 -46
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +21 -32
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +1 -1
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +7 -3
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +1 -2
- package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +8 -3
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +1 -2
- package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +6 -3
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +72 -7
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +1 -2
- package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +6 -3
- package/dist/UIKit/Radio/RadioButton.js +1 -2
- package/dist/UIKit/Radio/RadioButton.vue.js +1 -2
- package/dist/UIKit/Radio/RadioGroup.js +1 -2
- package/dist/UIKit/Radio/RadioGroup.vue.js +23 -24
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +1 -2
- package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +17 -14
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +1 -2
- package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +6 -3
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +9 -3
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +1 -2
- package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +6 -3
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +4 -5
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +1 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -2
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +12 -13
- package/dist/UIKit/Slider/SimpleSlider.js +4 -5
- package/dist/UIKit/Slider/SimpleSlider.vue.js +1 -2
- package/dist/UIKit/StaticSpinner.js +1 -2
- package/dist/UIKit/StaticSpinner.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTab.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTab.js +1 -2
- package/dist/UIKit/Tab/BaseTab.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabList.js +1 -2
- package/dist/UIKit/Tab/BaseTabList.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabPanel.d.ts +5 -3
- package/dist/UIKit/Tab/BaseTabPanel.js +1 -2
- package/dist/UIKit/Tab/BaseTabPanel.vue.js +1 -2
- package/dist/UIKit/Tab/BaseTabView.js +1 -2
- package/dist/UIKit/Tab/BaseTabView.vue.js +36 -37
- package/dist/UIKit/Tab/v2/BaseTabs.d.ts +6 -0
- package/dist/UIKit/Tab/v2/BaseTabs.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabs.vue.js +13 -6
- package/dist/UIKit/Tab/v2/BaseTabsContent.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsList.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +6 -3
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +1 -2
- package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +6 -3
- package/dist/UIKit/frameUtils.js +1 -2
- package/dist/UIKit/useScrollLock.js +2 -3
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/chart/DoughnutChart.js +1 -2
- package/dist/chart/DoughnutChart.vue.js +14 -15
- package/dist/chart/LineChart.js +1 -2
- package/dist/chart/LineChart.vue.js +16 -17
- package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +7 -5
- package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +31 -29
- package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +2 -7
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +1 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +16 -17
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +14 -9
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +1 -2
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +12 -13
- package/dist/components/IntersectionObserver/v2/types.js +1 -2
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +4 -4
- package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +13 -14
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +12 -13
- package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +5 -3
- package/dist/components/carousel/Primitive/SwiperPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +1 -2
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -6
- package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +39 -40
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +13 -14
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +1 -2
- package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +27 -28
- package/dist/components/carousel/Primitive/deferredImages.js +1 -2
- package/dist/components/carousel/SwiperCarousel.d.ts +14 -7
- package/dist/components/carousel/SwiperCarousel.js +4 -5
- package/dist/components/carousel/SwiperCarousel.vue.js +82 -83
- package/dist/components/carousel/SwiperSlide.d.ts +5 -3
- package/dist/components/carousel/SwiperSlide.js +6 -7
- package/dist/composables/mock.js +1 -2
- package/dist/composables/useFloatingLabel.js +2 -7
- package/dist/composables/useValidator.js +1 -2
- package/dist/css/BaseAccordionItem.css +1 -0
- package/dist/{assets/BaseInput2.css → css/BaseInput.css} +1 -1
- package/dist/css/BaseModal.css +1 -0
- package/dist/css/BaseSlider.css +1 -0
- package/dist/css/BaseSnackbar.css +1 -0
- package/dist/{assets → css}/ClearableAutocomplete.css +1 -1
- package/dist/css/SwiperCarousel.css +1 -0
- package/dist/css/SwiperNavigationPrimitive.css +1 -0
- package/dist/css/SwiperRootPrimitive.css +1 -0
- package/dist/docs/AccessibleSelect.md +3 -1
- package/dist/docs/AccordionContentPrimitive.md +1 -1
- package/dist/docs/AccordionHeaderPrimitive.md +1 -1
- package/dist/docs/AccordionItemPrimitive.md +3 -3
- package/dist/docs/AccordionTriggerPrimitive.md +1 -1
- package/dist/docs/BaseAccordion.md +3 -3
- package/dist/docs/BaseAccordionItem.md +3 -1
- package/dist/docs/BaseAlert.md +3 -1
- package/dist/docs/BaseAutocomplete.md +3 -1
- package/dist/docs/BaseBadge.md +3 -1
- package/dist/docs/BaseBreadcrumb.md +1 -1
- package/dist/docs/BaseButton.md +1 -1
- package/dist/docs/BaseCard.md +3 -1
- package/dist/docs/BaseComplexToggle.md +3 -1
- package/dist/docs/BaseDropDown.md +3 -1
- package/dist/docs/BaseFloatingLabel.md +3 -1
- package/dist/docs/BaseInput.md +3 -1
- package/dist/docs/BaseModal.md +3 -1
- package/dist/docs/BasePagination.md +1 -1
- package/dist/docs/BaseShimmerLoader.md +3 -1
- package/dist/docs/BaseSlider.md +3 -1
- package/dist/docs/BaseSnackbar.md +4 -2
- package/dist/docs/BaseTab.md +1 -1
- package/dist/docs/BaseTabView.md +1 -1
- package/dist/docs/BaseTabs.md +4 -2
- package/dist/docs/BaseTabsContent.md +1 -1
- package/dist/docs/BaseTabsIndicator.md +3 -1
- package/dist/docs/BaseTabsList.md +1 -1
- package/dist/docs/BaseTabsTrigger.md +1 -1
- package/dist/docs/BaseTextarea.md +3 -1
- package/dist/docs/BaseToggle.md +1 -1
- package/dist/docs/BaseTooltip.md +3 -1
- package/dist/docs/BaseUploadFile.md +1 -1
- package/dist/docs/CardDescriptionPrimitive.md +1 -1
- package/dist/docs/CardImagePrimitive.md +1 -1
- package/dist/docs/CardRootPrimitive.md +3 -1
- package/dist/docs/CheckboxBtn.md +3 -1
- package/dist/docs/CheckboxButtonGroup.md +1 -1
- package/dist/docs/CheckboxGroup.md +1 -1
- package/dist/docs/CheckboxGroupItemPrimitive.md +6 -5
- package/dist/docs/CheckboxGroupPrimitive.md +3 -1
- package/dist/docs/ClearableAutocomplete.md +3 -1
- package/dist/docs/DoughnutChart.md +1 -1
- package/dist/docs/INDEX.md +2 -2
- package/dist/docs/IntersectionObservable.md +1 -1
- package/dist/docs/IntersectionObserver.md +1 -1
- package/dist/docs/IntersectionObserverProvider.md +1 -1
- package/dist/docs/IntersectionObserverTarget.md +1 -1
- package/dist/docs/LineChart.md +1 -1
- package/dist/docs/ProgressIndicatorPrimitive.md +1 -1
- package/dist/docs/ProgressRootPrimitive.md +2 -2
- package/dist/docs/RadioButton.md +1 -1
- package/dist/docs/RadioButtonGroup.md +1 -1
- package/dist/docs/RadioButtonItem.md +3 -1
- package/dist/docs/RadioGroup.md +1 -1
- package/dist/docs/RadioGroupItemPrimitive.md +1 -1
- package/dist/docs/SelectItem.md +1 -1
- package/dist/docs/ShimmerMultiLine.md +1 -1
- package/dist/docs/SimpleSlider.md +3 -1
- package/dist/docs/StaticSpinner.md +3 -1
- package/dist/docs/SwiperCarousel.md +3 -1
- package/dist/docs/SwiperNavigationPrimitive.md +3 -1
- package/dist/docs/SwiperPaginationPrimitive.md +3 -1
- package/dist/docs/SwiperPrimitive.md +1 -1
- package/dist/docs/SwiperRootPrimitive.md +3 -1
- package/dist/docs/SwiperSlide.md +1 -1
- package/dist/docs/SwiperSlideImagePrimitive.md +3 -1
- package/dist/docs/SwiperThumbnailPrimitive.md +1 -1
- package/dist/docs/TOKENS.md +1 -1
- package/dist/docs/agent-index.md +1 -1
- package/dist/index.js +25 -25
- package/dist/lazyModules/ChartJs/Chart.js +1 -2
- package/dist/lazyModules/ChartJs/DoughnutChart/core.js +1 -2
- package/dist/lazyModules/ChartJs/LineChart/cartesian.js +1 -2
- package/dist/lazyModules/ChartJs/LineChart/core.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/Legend.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +2 -3
- package/dist/lazyModules/ChartJs/Plugins/Title.js +1 -2
- package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +1 -2
- package/dist/lazyModules/Swiper/Autoplay/factory.js +1 -2
- package/dist/lazyModules/Swiper/Autoplay/index.js +2 -3
- package/dist/lazyModules/Swiper/Controller/factory.js +1 -2
- package/dist/lazyModules/Swiper/Controller/index.js +2 -3
- package/dist/lazyModules/Swiper/FreeMode/factory.js +1 -2
- package/dist/lazyModules/Swiper/FreeMode/index.js +2 -3
- package/dist/lazyModules/Swiper/Keyboard/factory.js +1 -2
- package/dist/lazyModules/Swiper/Keyboard/index.js +2 -3
- package/dist/lazyModules/Swiper/Navigation/factory.js +1 -2
- package/dist/lazyModules/Swiper/Navigation/index.js +2 -3
- package/dist/lazyModules/Swiper/Pagination/factory.js +1 -2
- package/dist/lazyModules/Swiper/Pagination/index.js +2 -3
- package/dist/lazyModules/Swiper/Thumbs/factory.js +1 -2
- package/dist/lazyModules/Swiper/Thumbs/index.js +2 -3
- package/dist/lazyModules/Swiper/Zoom/factory.js +1 -2
- package/dist/lazyModules/Swiper/Zoom/index.js +2 -3
- package/dist/lazyModules/Swiper/factory.js +1 -2
- package/dist/lazyModules/Swiper/index.js +2 -3
- package/dist/lazyModules/VueChartJs/Doughnut/factory.js +1 -2
- package/dist/lazyModules/VueChartJs/Doughnut/index.js +1 -2
- package/dist/lazyModules/VueChartJs/Line/factory.js +1 -2
- package/dist/lazyModules/VueChartJs/Line/index.js +1 -2
- package/dist/utils.js +1 -2
- package/package.json +31 -31
- package/dist/assets/BaseAccordionItem.css +0 -1
- package/dist/assets/BaseSlider2.css +0 -1
- package/dist/assets/BaseSnackbar.css +0 -1
- package/dist/assets/SwiperCarousel.css +0 -1
- package/dist/assets/SwiperRootPrimitive.css +0 -1
- package/dist/assets/SwiperRootPrimitive2.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/baseModal.css +0 -1
- package/dist/assets/baseSlider.css +0 -1
- package/dist/assets/baseSpinner.css +0 -1
- package/dist/assets/baseTextarea.css +0 -1
- package/dist/assets/baseTooltip.css +0 -1
- package/dist/assets/swiper-autoplay.css +0 -1
- /package/dist/{assets → css}/AccessibleSelect.css +0 -0
- /package/dist/{assets/baseAlert.css → css/BaseAlert.css} +0 -0
- /package/dist/{assets → css}/BaseAutocomplete.css +0 -0
- /package/dist/{assets → css}/BaseBadge.css +0 -0
- /package/dist/{assets/baseCard.css → css/BaseCard.css} +0 -0
- /package/dist/{assets/BaseComplexToggle2.css → css/BaseComplexToggle.css} +0 -0
- /package/dist/{assets → css}/BaseDropDown.css +0 -0
- /package/dist/{assets/BaseFloatingLabel2.css → css/BaseFloatingLabel.css} +0 -0
- /package/dist/{assets → css}/BaseShimmerLoader.css +0 -0
- /package/dist/{assets → css}/BaseTabs.css +0 -0
- /package/dist/{assets → css}/BaseTabsIndicator.css +0 -0
- /package/dist/{assets/BaseTextarea2.css → css/BaseTextarea.css} +0 -0
- /package/dist/{assets/BaseTooltip2.css → css/BaseTooltip.css} +0 -0
- /package/dist/{assets → css}/CheckboxBtn.css +0 -0
- /package/dist/{assets → css}/RadioButtonItem.css +0 -0
- /package/dist/{assets → css}/SimpleSlider.css +0 -0
- /package/dist/{assets → css}/StaticSpinner.css +0 -0
- /package/dist/{assets/swiperPaginationBullet.css → css/SwiperPaginationPrimitive.css} +0 -0
- /package/dist/{assets → css}/SwiperSlideImagePrimitive.css +0 -0
- /package/dist/{assets → css}/swiper-free-mode.css +0 -0
- /package/dist/{assets → css}/swiper-navigation.css +0 -0
- /package/dist/{assets → css}/swiper-pagination.css +0 -0
- /package/dist/{assets → css}/swiper-swiper.css +0 -0
- /package/dist/{assets → css}/swiper-zoom.css +0 -0
- /package/dist/{assets → css}/tailwind.css +0 -0
- /package/dist/{assets → css}/tokens.css +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, defineComponent as t, normalizeClass as n, onBeforeMount as r, onBeforeUnmount as i, openBlock as a, reactive as o, ref as s, renderSlot as c } from "vue";
|
|
2
|
-
|
|
2
|
+
// lib/components/IntersectionObserver/IntersectionObserver.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var l = /*@__PURE__*/ t({
|
|
4
4
|
__name: "IntersectionObserver",
|
|
5
5
|
props: {
|
|
@@ -28,11 +28,7 @@ var l = /*@__PURE__*/ t({
|
|
|
28
28
|
p.value && p.value.disconnect();
|
|
29
29
|
};
|
|
30
30
|
return r(() => {
|
|
31
|
-
|
|
32
|
-
f.isVisible = !0;
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
p.value = new IntersectionObserver(m, {
|
|
31
|
+
d.skip ? f.isVisible = !0 : p.value = new IntersectionObserver(m, {
|
|
36
32
|
root: null,
|
|
37
33
|
threshold: d.threshold
|
|
38
34
|
});
|
|
@@ -51,5 +47,4 @@ var l = /*@__PURE__*/ t({
|
|
|
51
47
|
})], 2));
|
|
52
48
|
}
|
|
53
49
|
});
|
|
54
|
-
//#endregion
|
|
55
50
|
export { l as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import e from "./IntersectionObserverProvider.vue.js";
|
|
2
|
-
|
|
2
|
+
// lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue
|
|
3
3
|
var t = e;
|
|
4
|
-
//#endregion
|
|
5
4
|
export { t as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
var l = /*@__PURE__*/
|
|
1
|
+
import { defineComponent as e, onBeforeMount as t, onBeforeUnmount as n, provide as r, renderSlot as i, shallowRef as a } from "vue";
|
|
2
|
+
import { ObserveTargetKey as o, UnobserveTargetKey as s, VisibleTargetsKey as c } from "./types.js";
|
|
3
|
+
// lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var l = /*@__PURE__*/ e({
|
|
5
5
|
__name: "IntersectionObserverProvider",
|
|
6
6
|
props: {
|
|
7
7
|
emitOnce: {
|
|
@@ -15,30 +15,29 @@ var l = /*@__PURE__*/ r({
|
|
|
15
15
|
threshold: { default: 0 }
|
|
16
16
|
},
|
|
17
17
|
emits: ["intersection"],
|
|
18
|
-
setup(
|
|
19
|
-
let u = l, d =
|
|
20
|
-
|
|
21
|
-
let
|
|
22
|
-
if (!
|
|
18
|
+
setup(e, { emit: l }) {
|
|
19
|
+
let u = l, d = a(/* @__PURE__ */ new Set()), f = a(), p = (t) => {
|
|
20
|
+
e.skip || t.forEach(({ target: t, isIntersecting: n }) => {
|
|
21
|
+
let r = t.getAttribute("target-id");
|
|
22
|
+
if (!r) return;
|
|
23
23
|
let i = new Set(d.value);
|
|
24
|
-
|
|
24
|
+
n ? (i.add(r), u("intersection"), e.emitOnce && f.value?.disconnect()) : i.delete(r), d.value = i;
|
|
25
25
|
});
|
|
26
26
|
}, m = () => {
|
|
27
27
|
f.value?.disconnect();
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return r(c, d), r(o, (e) => {
|
|
30
30
|
f.value?.observe(e);
|
|
31
|
-
}),
|
|
31
|
+
}), r(s, (e) => {
|
|
32
32
|
f.value?.unobserve(e);
|
|
33
|
-
}),
|
|
33
|
+
}), t(() => {
|
|
34
34
|
f.value = new IntersectionObserver(p, {
|
|
35
35
|
root: null,
|
|
36
|
-
threshold:
|
|
36
|
+
threshold: e.threshold
|
|
37
37
|
});
|
|
38
|
-
}),
|
|
38
|
+
}), n(() => {
|
|
39
39
|
m();
|
|
40
|
-
}), (e, t) =>
|
|
40
|
+
}), (e, t) => i(e.$slots, "default", { observer: f.value });
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
-
//#endregion
|
|
44
43
|
export { l as default };
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
observeOnce?: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
default?: (props: {
|
|
7
|
+
isVisible: boolean;
|
|
8
|
+
}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: {
|
|
11
|
+
isVisible: true;
|
|
12
|
+
}) => any;
|
|
13
|
+
};
|
|
14
|
+
__VLS_TemplateRefs: {
|
|
15
|
+
root: __VLS_Elements["div"];
|
|
16
|
+
};
|
|
13
17
|
};
|
|
18
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
14
19
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
var m = ["target-id"], h = /*@__PURE__*/
|
|
1
|
+
import { computed as e, createElementBlock as t, defineComponent as n, inject as r, onMounted as i, openBlock as a, renderSlot as o, unref as s, useId as c, useTemplateRef as l, watch as u } from "vue";
|
|
2
|
+
import { ObserveTargetKey as d, UnobserveTargetKey as f, VisibleTargetsKey as p } from "./types.js";
|
|
3
|
+
// lib/components/IntersectionObserver/v2/IntersectionObserverTarget.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var m = ["target-id"], h = /*@__PURE__*/ n({
|
|
5
5
|
__name: "IntersectionObserverTarget",
|
|
6
6
|
props: { observeOnce: {
|
|
7
7
|
type: Boolean,
|
|
8
8
|
default: !0
|
|
9
9
|
} },
|
|
10
|
-
setup(
|
|
11
|
-
let h =
|
|
12
|
-
return
|
|
10
|
+
setup(n) {
|
|
11
|
+
let h = l("root"), g = c(), _ = r(p, void 0), v = r(d, void 0), y = r(f, void 0), b = e(() => _?.value.has(g) || !1);
|
|
12
|
+
return i(() => {
|
|
13
13
|
h.value && v?.(h.value);
|
|
14
|
-
}),
|
|
15
|
-
|
|
16
|
-
}), (e,
|
|
14
|
+
}), u([b, h], ([e, t], [, r]) => {
|
|
15
|
+
n.observeOnce && e && (t && y?.(t), r && y?.(r));
|
|
16
|
+
}), (e, r) => !n.observeOnce || !b.value ? (a(), t("div", {
|
|
17
17
|
key: 0,
|
|
18
18
|
ref_key: "root",
|
|
19
19
|
ref: h,
|
|
20
|
-
"target-id":
|
|
21
|
-
}, [
|
|
20
|
+
"target-id": s(g)
|
|
21
|
+
}, [o(e.$slots, "default", { isVisible: b.value })], 8, m)) : o(e.$slots, "default", { isVisible: b.value }, void 0, void 0, 1);
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
//#endregion
|
|
25
24
|
export { h as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "./SwiperNavigationPrimitive.vue.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
2
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// lib/components/carousel/Primitive/SwiperNavigationPrimitive.vue
|
|
4
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-7a7f98db"]]);
|
|
5
|
+
export { n as default };
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
var l = /*@__PURE__*/
|
|
1
|
+
import { Fragment as e, createElementBlock as t, createElementVNode as n, defineComponent as r, inject as i, openBlock as a, withModifiers as o } from "vue";
|
|
2
|
+
import { NavigationModule as s } from "../../../lazyModules/Swiper/Navigation/factory.js";
|
|
3
|
+
import { addModuleDescriptorKey as c } from "./SwiperRootPrimitive.vue.js";
|
|
4
|
+
import '../../../css/SwiperNavigationPrimitive.css';// lib/components/carousel/Primitive/SwiperNavigationPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var l = /*@__PURE__*/ r({
|
|
6
6
|
__name: "SwiperNavigationPrimitive",
|
|
7
7
|
props: { options: {
|
|
8
8
|
type: [Object, Boolean],
|
|
9
9
|
default: !0
|
|
10
10
|
} },
|
|
11
|
-
setup(
|
|
11
|
+
setup(r) {
|
|
12
12
|
let l = {
|
|
13
13
|
nextEl: ".swiper-button-next",
|
|
14
14
|
prevEl: ".swiper-button-prev"
|
|
15
|
-
}, u =
|
|
16
|
-
return
|
|
15
|
+
}, u = i(c, void 0);
|
|
16
|
+
return r.options && u?.(s({
|
|
17
17
|
...l,
|
|
18
|
-
...typeof
|
|
19
|
-
})), (
|
|
18
|
+
...typeof r.options == "boolean" ? {} : r.options
|
|
19
|
+
})), (r, i) => (a(), t(e, null, [n("div", {
|
|
20
20
|
class: "swiper-button-prev",
|
|
21
21
|
"data-cy": "swiper-button-prev",
|
|
22
|
-
onClick:
|
|
23
|
-
}),
|
|
22
|
+
onClick: i[0] ||= o(() => {}, ["stop"])
|
|
23
|
+
}), n("div", {
|
|
24
24
|
class: "swiper-button-next",
|
|
25
25
|
"data-cy": "swiper-button-next",
|
|
26
|
-
onClick:
|
|
26
|
+
onClick: i[1] ||= o(() => {}, ["stop"])
|
|
27
27
|
})], 64));
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
//#endregion
|
|
31
30
|
export { l as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
var s = /*@__PURE__*/
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, inject as n, openBlock as r, withModifiers as i } from "vue";
|
|
2
|
+
import { addModuleDescriptorKey as a } from "./SwiperRootPrimitive.vue.js";
|
|
3
|
+
import { PaginationModule as o } from "../../../lazyModules/Swiper/Pagination/factory.js";
|
|
4
|
+
import '../../../css/SwiperPaginationPrimitive.css';/* empty css */
|
|
5
|
+
// lib/components/carousel/Primitive/SwiperPaginationPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var s = /*@__PURE__*/ t({
|
|
7
7
|
__name: "SwiperPaginationPrimitive",
|
|
8
8
|
props: { options: {
|
|
9
9
|
type: [Object, Boolean],
|
|
10
10
|
default: !0
|
|
11
11
|
} },
|
|
12
|
-
setup(
|
|
12
|
+
setup(t) {
|
|
13
13
|
let s = {
|
|
14
14
|
el: ".swiper-pagination",
|
|
15
15
|
renderFraction: (e, t) => `<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]">
|
|
@@ -17,15 +17,14 @@ var s = /*@__PURE__*/ r({
|
|
|
17
17
|
/
|
|
18
18
|
<span data-cy="swiper-pagination-total" class="${t}"></span>
|
|
19
19
|
</div>`
|
|
20
|
-
}, c =
|
|
21
|
-
return
|
|
20
|
+
}, c = n(a, void 0);
|
|
21
|
+
return t.options && c?.(o({
|
|
22
22
|
...s,
|
|
23
|
-
...typeof
|
|
24
|
-
})), (
|
|
23
|
+
...typeof t.options == "boolean" ? {} : t.options
|
|
24
|
+
})), (t, n) => (r(), e("div", {
|
|
25
25
|
class: "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center",
|
|
26
|
-
onClick:
|
|
26
|
+
onClick: n[0] ||= i(() => {}, ["stop"])
|
|
27
27
|
}));
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
//#endregion
|
|
31
30
|
export { s as default };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
dataCy?: string;
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
default?: (props: {}) => any;
|
|
7
|
+
};
|
|
7
8
|
};
|
|
9
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
10
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
11
|
click: (args_0: MouseEvent) => any;
|
|
10
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, defineComponent as t, openBlock as n, renderSlot as r } from "vue";
|
|
2
|
-
|
|
2
|
+
// lib/components/carousel/Primitive/SwiperPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var i = ["data-cy"], a = /*@__PURE__*/ t({
|
|
4
4
|
__name: "SwiperPrimitive",
|
|
5
5
|
props: { dataCy: {} },
|
|
@@ -13,5 +13,4 @@ var i = ["data-cy"], a = /*@__PURE__*/ t({
|
|
|
13
13
|
}, [r(a.$slots, "default")], 8, i));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
//#endregion
|
|
17
16
|
export { a as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
var i = /*#__PURE__*/ e
|
|
5
|
-
|
|
6
|
-
export { n as addModuleDescriptorKey, i as default, r as setLazyImagesLoaderKey };
|
|
1
|
+
import e, { addModuleDescriptorKey as t, setLazyImagesLoaderKey as n } from "./SwiperRootPrimitive.vue.js";
|
|
2
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// lib/components/carousel/Primitive/SwiperRootPrimitive.vue
|
|
4
|
+
var i = /*#__PURE__*/ r(e, [["__scopeId", "data-v-e9b561b3"]]);
|
|
5
|
+
export { t as addModuleDescriptorKey, i as default, n as setLazyImagesLoaderKey };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import '../../../
|
|
1
|
+
import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, defineComponent as r, normalizeClass as i, onBeforeUnmount as a, onMounted as o, openBlock as s, provide as c, renderSlot as l, shallowRef as u, useTemplateRef as d } from "vue";
|
|
2
|
+
import { createSwiper as f } from "../../../lazyModules/Swiper/factory.js";
|
|
3
|
+
import { AutoplayModule as p } from "../../../lazyModules/Swiper/Autoplay/factory.js";
|
|
4
|
+
import { KeyboardModule as m } from "../../../lazyModules/Swiper/Keyboard/factory.js";
|
|
5
|
+
import { ZoomModule as h } from "../../../lazyModules/Swiper/Zoom/factory.js";
|
|
6
|
+
import { collectSlideImages as g, startDeferredImageLoad as _, waitForImageLoad as v } from "./deferredImages.js";
|
|
7
|
+
import '../../../css/SwiperRootPrimitive.css';// lib/components/carousel/Primitive/SwiperRootPrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var y = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "uikit-absolute uikit-inset-0"
|
|
11
|
-
}, b = Symbol(), x = Symbol(), S = /*@__PURE__*/
|
|
11
|
+
}, b = Symbol(), x = Symbol(), S = /*@__PURE__*/ r({
|
|
12
12
|
__name: "SwiperRootPrimitive",
|
|
13
13
|
props: {
|
|
14
14
|
rootClasses: {},
|
|
@@ -20,15 +20,15 @@ var y = {
|
|
|
20
20
|
"click",
|
|
21
21
|
"init"
|
|
22
22
|
],
|
|
23
|
-
setup(
|
|
24
|
-
let w = C, T =
|
|
23
|
+
setup(r, { expose: S, emit: C }) {
|
|
24
|
+
let w = C, T = u(null), E = d("root"), D = u(!1), O = !!r.swiperOptions?.keyboard, k = !!r.swiperOptions?.autoplay, A = [], j = !1, M = (e) => {
|
|
25
25
|
"requestIdleCallback" in window ? requestIdleCallback(e) : setTimeout(e, 200);
|
|
26
26
|
}, N = (e, t) => e.params.loop ? e.slides[(t % e.slides.length + e.slides.length) % e.slides.length] : e.slides[t], P = (e, t) => {
|
|
27
|
-
let { params: n } = e,
|
|
28
|
-
for (let
|
|
29
|
-
if (
|
|
30
|
-
let
|
|
31
|
-
(
|
|
27
|
+
let { params: n } = e, i = r.preloadCount ?? n.lazyPreloadPrevNext ?? 0, a = Math.ceil(typeof n.slidesPerView == "number" ? n.slidesPerView : e.slidesPerViewDynamic()), o = n.centeredSlides ? Math.floor(a / 2) : 0, s = g(N(e, t)), c = [], l = [];
|
|
28
|
+
for (let r = t - o - i; r <= t + a - 1 - o + i; r++) {
|
|
29
|
+
if (r === t || !n.loop && (r < 0 || r >= e.slides.length)) continue;
|
|
30
|
+
let i = g(N(e, r), "img[data-src]");
|
|
31
|
+
(r >= t - o && r < t + a - o ? c : l).push(...i);
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
visibleImages: s,
|
|
@@ -38,11 +38,11 @@ var y = {
|
|
|
38
38
|
}, F = (e) => {
|
|
39
39
|
D.value = !0, w("init", e);
|
|
40
40
|
}, I = async (e) => {
|
|
41
|
-
let { visibleImages: t, inViewImages: n, preloadImages: r } = P(e, e.activeIndex), i,
|
|
41
|
+
let { visibleImages: t, inViewImages: n, preloadImages: r } = P(e, e.activeIndex), i, a = new Promise((e) => i = setTimeout(e, 6e3)), o = Promise.all(t.map(v)).finally(() => {
|
|
42
42
|
clearTimeout(i);
|
|
43
43
|
});
|
|
44
|
-
await Promise.race([
|
|
45
|
-
r.forEach(
|
|
44
|
+
await Promise.race([o, a]), n.forEach(_), M(() => {
|
|
45
|
+
r.forEach(_);
|
|
46
46
|
}), F(e);
|
|
47
47
|
}, L = (e) => {
|
|
48
48
|
let { visibleImages: t, inViewImages: n, preloadImages: r } = P(e, e.activeIndex);
|
|
@@ -50,50 +50,49 @@ var y = {
|
|
|
50
50
|
...t,
|
|
51
51
|
...n,
|
|
52
52
|
...r
|
|
53
|
-
].forEach(
|
|
54
|
-
}, R = async (
|
|
55
|
-
T.value = await e
|
|
56
|
-
...
|
|
53
|
+
].forEach(_);
|
|
54
|
+
}, R = async (e) => {
|
|
55
|
+
T.value = await f(e, {
|
|
56
|
+
...r.swiperOptions,
|
|
57
57
|
on: {
|
|
58
|
-
...
|
|
59
|
-
init: (e) => (
|
|
58
|
+
...r.swiperOptions?.on,
|
|
59
|
+
init: (e) => (r.swiperOptions?.on?.init?.(e), I(e)),
|
|
60
60
|
slideChange: (e) => {
|
|
61
|
-
w("moved", { activeIndex: e.activeIndex }), L(e),
|
|
61
|
+
w("moved", { activeIndex: e.activeIndex }), L(e), r.swiperOptions?.on?.slideChange?.(e);
|
|
62
62
|
},
|
|
63
63
|
slidesUpdated: (e) => {
|
|
64
|
-
D.value && L(e),
|
|
64
|
+
D.value && L(e), r.swiperOptions?.on?.slidesUpdated?.(e);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}, [
|
|
68
|
-
r
|
|
69
|
-
O ?
|
|
70
|
-
k ?
|
|
68
|
+
h(r.swiperOptions?.zoom),
|
|
69
|
+
O ? m(r.swiperOptions?.keyboard) : void 0,
|
|
70
|
+
k ? p(r.swiperOptions.autoplay) : void 0,
|
|
71
71
|
...A
|
|
72
72
|
].filter(Boolean));
|
|
73
73
|
};
|
|
74
|
-
return
|
|
74
|
+
return o(() => {
|
|
75
75
|
E.value && setTimeout(() => R(E.value));
|
|
76
|
-
}),
|
|
76
|
+
}), a(() => {
|
|
77
77
|
let e = T.value;
|
|
78
78
|
T.value = null, e?.destroy(!0, !1);
|
|
79
|
-
}),
|
|
79
|
+
}), c(x, (e) => {
|
|
80
80
|
e && A.push(e);
|
|
81
|
-
}),
|
|
81
|
+
}), c(b, (e) => {
|
|
82
82
|
e !== j && (j = e);
|
|
83
83
|
}), S({
|
|
84
84
|
swiper: T,
|
|
85
85
|
updateSlidesPerView: (e) => {
|
|
86
86
|
T.value && T.value.params.slidesPerView !== e && (T.value.params.slidesPerView = e, T.value.update());
|
|
87
87
|
}
|
|
88
|
-
}), (
|
|
89
|
-
|
|
88
|
+
}), (a, o) => (s(), t("div", { class: i(["uikit-relative", { "is-initialized": D.value }]) }, [
|
|
89
|
+
n("div", {
|
|
90
90
|
ref: "root",
|
|
91
|
-
class:
|
|
92
|
-
}, [
|
|
93
|
-
D.value ?
|
|
94
|
-
|
|
91
|
+
class: i(["swiper uikit-carousel", r.rootClasses])
|
|
92
|
+
}, [l(a.$slots, "default", {}, void 0, !0)], 2),
|
|
93
|
+
D.value ? e("", !0) : (s(), t("div", y, [l(a.$slots, "placeholder", {}, void 0, !0)])),
|
|
94
|
+
l(a.$slots, "thumbs", {}, void 0, !0)
|
|
95
95
|
], 2));
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
//#endregion
|
|
99
98
|
export { x as addModuleDescriptorKey, S as default, b as setLazyImagesLoaderKey };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import '../../../
|
|
1
|
+
import { createBlock as e, createElementVNode as t, createPropsRestProxy as n, defineComponent as r, inject as i, mergeProps as a, openBlock as o, shallowRef as s, withCtx as c } from "vue";
|
|
2
|
+
import l from "../SwiperSlide.js";
|
|
3
|
+
import { setLazyImagesLoaderKey as u } from "./SwiperRootPrimitive.vue.js";
|
|
4
|
+
import '../../../css/SwiperSlideImagePrimitive.css';// lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = [
|
|
6
6
|
"src",
|
|
7
7
|
"srcset",
|
|
8
8
|
"data-src",
|
|
9
9
|
"data-srcset"
|
|
10
|
-
], f = /*@__PURE__*/
|
|
10
|
+
], f = /*@__PURE__*/ r({
|
|
11
11
|
__name: "SwiperSlideImagePrimitive",
|
|
12
12
|
props: {
|
|
13
13
|
src: {},
|
|
@@ -23,17 +23,17 @@ var d = [
|
|
|
23
23
|
loading: {},
|
|
24
24
|
lazy: { type: Boolean }
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
let f =
|
|
26
|
+
setup(r) {
|
|
27
|
+
let f = n(r, [
|
|
28
28
|
"src",
|
|
29
29
|
"srcset",
|
|
30
30
|
"imgClasses"
|
|
31
|
-
]), p =
|
|
32
|
-
return f.lazy && (p.value =
|
|
33
|
-
default:
|
|
34
|
-
class: ["swiper-slide-image-primitive",
|
|
35
|
-
src:
|
|
36
|
-
srcset:
|
|
31
|
+
]), p = s(), m = s(), h = i(u, void 0);
|
|
32
|
+
return f.lazy && (p.value = r.src, m.value = r.srcset, h?.(!0)), (n, i) => (o(), e(l, null, {
|
|
33
|
+
default: c(() => [t("img", a(f, {
|
|
34
|
+
class: ["swiper-slide-image-primitive", r.imgClasses],
|
|
35
|
+
src: r.lazy ? void 0 : r.src,
|
|
36
|
+
srcset: r.lazy ? void 0 : r.srcset,
|
|
37
37
|
"data-src": p.value,
|
|
38
38
|
"data-srcset": m.value
|
|
39
39
|
}), null, 16, d)]),
|
|
@@ -41,5 +41,4 @@ var d = [
|
|
|
41
41
|
}));
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
//#endregion
|
|
45
44
|
export { f as default };
|