@wikicasa-dev/components 2.5.6-alpha.0 → 2.5.6-alpha.10
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/Swiper/Autoplay/index.js +1 -1
- package/dist/Swiper/Controller/index.js +1 -1
- package/dist/Swiper/Keyboard/index.js +1 -1
- package/dist/Swiper/Thumbs/index.js +1 -1
- package/dist/UIKit/{BaseCard.d.ts → Card/BaseCard.d.ts} +1 -1
- package/dist/UIKit/Card/BaseCard.js +5 -0
- package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +17 -0
- package/dist/UIKit/Card/CardDescriptionPrimitive.js +12 -0
- package/dist/UIKit/Card/CardImagePrimitive.d.ts +17 -0
- package/dist/UIKit/Card/CardImagePrimitive.js +4 -0
- package/dist/UIKit/Card/CardRootPrimitive.d.ts +19 -0
- package/dist/UIKit/Card/CardRootPrimitive.js +5 -0
- package/dist/UIKit/Card/type.d.ts +3 -0
- package/dist/UIKit/Card/type.js +4 -0
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +3 -3
- package/dist/assets/BaseShimmerLoader.css +1 -1
- package/dist/assets/SwiperCarousel.css +1 -1
- package/dist/assets/SwiperCarousel2.css +1 -0
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.d.ts +1 -10
- package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +2 -6
- package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +10 -3
- package/dist/components/IntersectionObserver/v2/types.d.ts +4 -0
- package/dist/components/IntersectionObserver/v2/types.js +6 -0
- package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -1
- package/dist/components/carousel/SwiperCarousel.js +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +117 -110
- package/dist/packages/components/lib/UIKit/Card/CardImagePrimitive.vue.js +16 -0
- package/dist/packages/components/lib/UIKit/Card/CardRootPrimitive.vue.js +27 -0
- package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +4 -4
- package/dist/packages/components/lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +24 -33
- package/dist/packages/components/lib/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +22 -12
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/UIKit/BaseCard.js +0 -5
- package/dist/assets/SwiperPaginationPrimitive.css +0 -1
- /package/dist/assets/{swiper-thumbs.css → swiper-autoplay.css} +0 -0
- /package/dist/packages/components/lib/UIKit/{BaseCard.vue.js → Card/BaseCard.vue.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as o, renderSlot as t } from "vue";
|
|
2
|
+
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const n = {}, s = { class: "card-body" };
|
|
4
|
+
function i(e, d) {
|
|
5
|
+
return o(), r("div", s, [
|
|
6
|
+
t(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const f = /* @__PURE__ */ c(n, [["render", i]]);
|
|
10
|
+
export {
|
|
11
|
+
f as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CardTypes } from './type';
|
|
2
|
+
export type CardRootTypes = "div" | "article";
|
|
3
|
+
export type BaseCardRootProps = {
|
|
4
|
+
type?: CardTypes;
|
|
5
|
+
as?: CardRootTypes;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseCardRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
click: (args_0: MouseEvent) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<BaseCardRootProps> & Readonly<{
|
|
10
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "../../packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js";
|
|
2
2
|
import '../../assets/BaseShimmerLoader.css';/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3e28e36c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.shimmer[data-v-
|
|
1
|
+
.shimmer[data-v-3e28e36c]{animation:shimmer-3e28e36c 1.4s infinite;will-change:transform;background-image:linear-gradient(90deg,#fff0,#fff3 20%,#ffffff80 60%,#fff0)}@keyframes shimmer-3e28e36c{0%{transform:translateZ(0) translate(-100%)}to{transform:translateZ(0) translate(100%)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.swiper-pagination-bullet{--swiper-pagination-color: #ccc}.swiper-pagination-bullet-active{--swiper-pagination-color: #fff}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.no-transition[data-v-f8f3d52a]{transition-duration:0ms!important}.disable-select[data-v-f8f3d52a]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.swiper-button-disabled[data-v-f8f3d52a]{pointer-events:auto!important}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { InjectionKey, ShallowRef } from 'vue';
|
|
2
|
-
export declare const ObserverOnceKey: InjectionKey<boolean>;
|
|
3
|
-
export declare const ObserverKey: InjectionKey<ShallowRef<IntersectionObserver | undefined>>;
|
|
4
|
-
export declare const IsVisibleKey: InjectionKey<ShallowRef<boolean>>;
|
|
5
1
|
export interface IntersectionObserverProviderProps {
|
|
6
|
-
|
|
2
|
+
emitOnce?: boolean;
|
|
7
3
|
skip?: boolean;
|
|
8
4
|
threshold?: number;
|
|
9
5
|
}
|
|
@@ -14,11 +10,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<In
|
|
|
14
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
15
11
|
default?(_: {
|
|
16
12
|
observer: IntersectionObserver | undefined;
|
|
17
|
-
isVisible: boolean;
|
|
18
|
-
}): any;
|
|
19
|
-
default?(_: {
|
|
20
|
-
observer: IntersectionObserver | undefined;
|
|
21
|
-
isVisible: boolean;
|
|
22
13
|
}): any;
|
|
23
14
|
}>;
|
|
24
15
|
export default _default;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IsVisibleKey as f, ObserverKey as i, ObserverOnceKey as m } from "../../../packages/components/lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js";
|
|
1
|
+
import f from "../../../packages/components/lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js";
|
|
3
2
|
export {
|
|
4
|
-
f as
|
|
5
|
-
i as ObserverKey,
|
|
6
|
-
m as ObserverOnceKey,
|
|
7
|
-
r as default
|
|
3
|
+
f as default
|
|
8
4
|
};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
observeOnce?: boolean;
|
|
3
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
2
5
|
attrs: Partial<{}>;
|
|
3
6
|
slots: {
|
|
4
|
-
default?(_: {
|
|
5
|
-
|
|
7
|
+
default?(_: {
|
|
8
|
+
isVisible: boolean;
|
|
9
|
+
}): any;
|
|
10
|
+
default?(_: {
|
|
11
|
+
isVisible: true;
|
|
12
|
+
}): any;
|
|
6
13
|
};
|
|
7
14
|
refs: {
|
|
8
15
|
root: HTMLDivElement;
|
|
@@ -10,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
10
17
|
rootEl: any;
|
|
11
18
|
};
|
|
12
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
21
|
root: HTMLDivElement;
|
|
15
22
|
}, any>;
|
|
16
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InjectionKey, ShallowRef } from 'vue';
|
|
2
|
+
export declare const ObserveTargetKey: InjectionKey<(e: Element) => void>;
|
|
3
|
+
export declare const UnobserveTargetKey: InjectionKey<(e: Element) => void>;
|
|
4
|
+
export declare const VisibleTargetsKey: InjectionKey<ShallowRef<Set<string>>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "../../../packages/components/lib/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js";
|
|
2
|
-
import '../../../assets/
|
|
2
|
+
import '../../../assets/SwiperCarousel.css';/* empty css */
|
|
3
3
|
export {
|
|
4
4
|
o as default
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "../../packages/components/lib/components/carousel/SwiperCarousel.vue.js";
|
|
2
|
-
import '../../assets/
|
|
2
|
+
import '../../assets/SwiperCarousel2.css';import '../../assets/SwiperCarousel.css';/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f8f3d52a"]]);
|
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ export { default as BaseAutocomplete } from './UIKit/BaseAutocomplete';
|
|
|
30
30
|
export { default as ClearableAutocomplete } from './UIKit/Autocomplete/ClearableAutocomplete';
|
|
31
31
|
export { default as BaseBadge } from './UIKit/BaseBadge';
|
|
32
32
|
export { default as BaseButton, type ButtonType } from './UIKit/BaseButton';
|
|
33
|
-
export { default as BaseCard } from './UIKit/BaseCard';
|
|
34
33
|
export { default as BaseComplexToggle } from './UIKit/BaseComplexToggle';
|
|
35
34
|
export { default as BaseDropDown } from './UIKit/BaseDropDown';
|
|
36
35
|
export { default as BaseFloatingLabel } from './UIKit/BaseFloatingLabel';
|
|
@@ -60,4 +59,8 @@ export { default as SwiperPrimitive } from './components/carousel/Primitive/Swip
|
|
|
60
59
|
export { default as SwiperPaginationPrimitive } from './components/carousel/Primitive/SwiperPaginationPrimitive';
|
|
61
60
|
export { default as SwiperNavigationPrimitive } from './components/carousel/Primitive/SwiperNavigationPrimitive';
|
|
62
61
|
export { default as SwiperSlideImagePrimitive } from './components/carousel/Primitive/SwiperSlideImagePrimitive';
|
|
62
|
+
export { default as BaseCard } from './UIKit/Card/BaseCard';
|
|
63
|
+
export { default as CardRootPrimitive } from './UIKit/Card/CardRootPrimitive';
|
|
64
|
+
export { default as CardDescriptionPrimitive } from './UIKit/Card/CardDescriptionPrimitive';
|
|
65
|
+
export { default as CardImagePrimitive } from './UIKit/Card/CardImagePrimitive';
|
|
63
66
|
export { default as BaseBreadcrumb } from './UIKit/BaseBreadcrumb';
|
package/dist/index.js
CHANGED
|
@@ -1,144 +1,151 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as P } from "./packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js";
|
|
2
2
|
import { default as S } from "./packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js";
|
|
3
|
-
import './assets/
|
|
3
|
+
import './assets/BaseCard.css';import './assets/SwiperSlideImagePrimitive.css';import './assets/SwiperCarousel.css';import './assets/BaseSnackbar.css';import './assets/BaseModal.css';import './assets/BaseDropDown.css';import './assets/BaseBadge.css';import './assets/ClearableAutocomplete.css';import './assets/BaseAutocomplete.css';import './assets/BaseAlert.css';import './assets/AccessibleSelect.css';import './assets/RadioButtonItem.css';import './assets/BaseTabsIndicator.css';import './assets/BaseTabs.css';import './assets/CheckboxBtn.css';import './assets/BaseAccordionItem.css';/* empty css */
|
|
4
4
|
import { default as I } from "./packages/components/lib/UIKit/Accordion/AccordionItemPrimitive.vue.js";
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
5
|
+
import { default as h } from "./packages/components/lib/UIKit/Accordion/AccordionHeaderPrimitive.vue.js";
|
|
6
|
+
import { default as w } from "./packages/components/lib/UIKit/Accordion/AccordionTriggerPrimitive.vue.js";
|
|
7
7
|
import { default as G } from "./packages/components/lib/UIKit/Accordion/AccordionContentPrimitive.vue.js";
|
|
8
|
-
import { default as
|
|
8
|
+
import { default as L } from "./packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js";
|
|
9
9
|
import { default as O } from "./packages/components/lib/UIKit/ProgressBar/ProgressRootPrimitive.vue.js";
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
10
|
+
import { default as M } from "./packages/components/lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js";
|
|
11
|
+
import { default as N } from "./packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
13
|
+
import { default as V } from "./packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js";
|
|
14
|
+
import { default as q } from "./packages/components/lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js";
|
|
15
|
+
import { default as z } from "./packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js";
|
|
16
|
+
import { default as J } from "./packages/components/lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js";
|
|
17
|
+
import { default as Q } from "./packages/components/lib/UIKit/Tab/BaseTabView.vue.js";
|
|
18
|
+
import { default as X } from "./packages/components/lib/UIKit/Tab/BaseTab.vue.js";
|
|
19
|
+
import { default as Z } from "./packages/components/lib/UIKit/Tab/v2/BaseTabs.vue.js";
|
|
20
20
|
/* empty css */
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
21
|
+
import { default as $ } from "./packages/components/lib/UIKit/Tab/v2/BaseTabsContent.vue.js";
|
|
22
|
+
import { default as re } from "./packages/components/lib/UIKit/Tab/v2/BaseTabsIndicator.vue.js";
|
|
23
23
|
/* empty css */
|
|
24
24
|
import { default as oe } from "./packages/components/lib/UIKit/Tab/v2/BaseTabsList.vue.js";
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
25
|
+
import { default as fe } from "./packages/components/lib/UIKit/Tab/v2/BaseTabsTrigger.vue.js";
|
|
26
|
+
import { default as me } from "./packages/components/lib/UIKit/Radio/RadioButton.vue.js";
|
|
27
|
+
import { default as pe } from "./packages/components/lib/UIKit/Radio/RadioGroup.vue.js";
|
|
28
|
+
import { default as le } from "./packages/components/lib/UIKit/Radio/v2/RadioButtonGroup.vue.js";
|
|
29
|
+
import { default as xe } from "./packages/components/lib/UIKit/Radio/v2/RadioButtonItem.vue.js";
|
|
30
30
|
/* empty css */
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
31
|
+
import { default as Be } from "./packages/components/lib/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js";
|
|
32
|
+
import { default as ve } from "./packages/components/lib/UIKit/AccessibleSelect.vue.js";
|
|
33
33
|
/* empty css */
|
|
34
|
-
import { default as
|
|
34
|
+
import { default as Pe } from "./packages/components/lib/UIKit/BaseAlert.vue.js";
|
|
35
35
|
/* empty css */
|
|
36
36
|
import { default as Se } from "./packages/components/lib/UIKit/BaseAutocomplete.vue.js";
|
|
37
37
|
/* empty css */
|
|
38
38
|
import { default as Ie } from "./packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js";
|
|
39
39
|
/* empty css */
|
|
40
|
-
import { default as
|
|
40
|
+
import { default as he } from "./packages/components/lib/UIKit/BaseBadge.vue.js";
|
|
41
41
|
/* empty css */
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as Ge } from "./
|
|
44
|
-
|
|
45
|
-
import { default as ke } from "./UIKit/BaseComplexToggle.js";
|
|
46
|
-
import { default as Oe } from "./packages/components/lib/UIKit/BaseDropDown.vue.js";
|
|
42
|
+
import { default as we } from "./packages/components/lib/UIKit/BaseButton.vue.js";
|
|
43
|
+
import { default as Ge } from "./UIKit/BaseComplexToggle.js";
|
|
44
|
+
import { default as Le } from "./packages/components/lib/UIKit/BaseDropDown.vue.js";
|
|
47
45
|
/* empty css */
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
46
|
+
import { default as Oe } from "./UIKit/BaseFloatingLabel.js";
|
|
47
|
+
import { default as Me } from "./UIKit/BaseInput.js";
|
|
48
|
+
import { default as Ne } from "./packages/components/lib/UIKit/BasePagination.vue.js";
|
|
49
|
+
import { default as Ve } from "./UIKit/BaseSlider.js";
|
|
50
|
+
import { default as qe } from "./UIKit/BaseTextarea.js";
|
|
51
|
+
import { default as ze } from "./packages/components/lib/UIKit/BaseToggle.vue.js";
|
|
52
|
+
import { default as Je } from "./UIKit/BaseTooltip.js";
|
|
53
|
+
import { default as Qe } from "./packages/components/lib/UIKit/BaseUploadFile.vue.js";
|
|
54
|
+
import { default as Xe } from "./packages/components/lib/UIKit/BaseModal.vue.js";
|
|
57
55
|
/* empty css */
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
56
|
+
import { default as Ze } from "./UIKit/StaticSpinner.js";
|
|
57
|
+
import { default as $e } from "./UIKit/ShimmerLoader/BaseShimmerLoader.js";
|
|
58
|
+
import { default as rr } from "./packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js";
|
|
59
|
+
import { default as or } from "./packages/components/lib/chart/DoughnutChart.vue.js";
|
|
60
|
+
import { default as fr } from "./packages/components/lib/chart/LineChart.vue.js";
|
|
63
61
|
import { default as mr } from "./UIKit/Slider/SimpleSlider.js";
|
|
64
|
-
import { default as
|
|
62
|
+
import { default as pr } from "./packages/components/lib/UIKit/BaseSnackbar.vue.js";
|
|
65
63
|
/* empty css */
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
64
|
+
import { default as lr } from "./packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js";
|
|
65
|
+
import { default as xr } from "./packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js";
|
|
66
|
+
import { default as Br } from "./packages/components/lib/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js";
|
|
69
67
|
import { default as vr } from "./packages/components/lib/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js";
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
68
|
+
import { default as Pr } from "./components/carousel/SwiperCarousel.js";
|
|
69
|
+
import { default as Sr } from "./components/carousel/SwiperSlide.js";
|
|
70
|
+
import { default as Ir } from "./components/carousel/Primitive/SwiperRootPrimitive.js";
|
|
71
|
+
import { default as hr } from "./packages/components/lib/components/carousel/Primitive/SwiperPrimitive.vue.js";
|
|
72
|
+
import { default as wr } from "./packages/components/lib/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js";
|
|
75
73
|
/* empty css */
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
74
|
+
import { default as Gr } from "./packages/components/lib/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js";
|
|
75
|
+
import { default as Lr } from "./packages/components/lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js";
|
|
78
76
|
/* empty css */
|
|
79
|
-
import { default as
|
|
77
|
+
import { default as Or } from "./packages/components/lib/UIKit/Card/BaseCard.vue.js";
|
|
78
|
+
/* empty css */
|
|
79
|
+
import { default as Mr } from "./packages/components/lib/UIKit/Card/CardRootPrimitive.vue.js";
|
|
80
|
+
/* empty css */
|
|
81
|
+
import { default as Nr } from "./UIKit/Card/CardDescriptionPrimitive.js";
|
|
82
|
+
import { default as Vr } from "./packages/components/lib/UIKit/Card/CardImagePrimitive.vue.js";
|
|
83
|
+
import { default as qr } from "./packages/components/lib/UIKit/BaseBreadcrumb.vue.js";
|
|
80
84
|
export {
|
|
81
|
-
|
|
85
|
+
ve as AccessibleSelect,
|
|
82
86
|
G as AccordionContentPrimitive,
|
|
83
|
-
|
|
87
|
+
h as AccordionHeaderPrimitive,
|
|
84
88
|
I as AccordionItemPrimitive,
|
|
85
|
-
|
|
86
|
-
|
|
89
|
+
w as AccordionTriggerPrimitive,
|
|
90
|
+
P as BaseAccordion,
|
|
87
91
|
S as BaseAccordionItem,
|
|
88
|
-
|
|
92
|
+
Pe as BaseAlert,
|
|
89
93
|
Se as BaseAutocomplete,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
94
|
+
he as BaseBadge,
|
|
95
|
+
qr as BaseBreadcrumb,
|
|
96
|
+
we as BaseButton,
|
|
97
|
+
Or as BaseCard,
|
|
98
|
+
Ge as BaseComplexToggle,
|
|
99
|
+
Le as BaseDropDown,
|
|
100
|
+
Oe as BaseFloatingLabel,
|
|
101
|
+
Me as BaseInput,
|
|
102
|
+
Xe as BaseModal,
|
|
103
|
+
Ne as BasePagination,
|
|
104
|
+
$e as BaseShimmerLoader,
|
|
105
|
+
Ve as BaseSlider,
|
|
106
|
+
pr as BaseSnackbar,
|
|
107
|
+
X as BaseTab,
|
|
108
|
+
Q as BaseTabView,
|
|
109
|
+
Z as BaseTabs,
|
|
110
|
+
$ as BaseTabsContent,
|
|
111
|
+
re as BaseTabsIndicator,
|
|
108
112
|
oe as BaseTabsList,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
fe as BaseTabsTrigger,
|
|
114
|
+
qe as BaseTextarea,
|
|
115
|
+
ze as BaseToggle,
|
|
116
|
+
Je as BaseTooltip,
|
|
117
|
+
Qe as BaseUploadFile,
|
|
118
|
+
Nr as CardDescriptionPrimitive,
|
|
119
|
+
Vr as CardImagePrimitive,
|
|
120
|
+
Mr as CardRootPrimitive,
|
|
121
|
+
N as CheckboxBtn,
|
|
122
|
+
q as CheckboxButtonGroup,
|
|
123
|
+
V as CheckboxGroup,
|
|
124
|
+
J as CheckboxGroupItemPrimitive,
|
|
125
|
+
z as CheckboxGroupPrimitive,
|
|
119
126
|
Ie as ClearableAutocomplete,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
or as DoughnutChart,
|
|
128
|
+
lr as IntersectionObservable,
|
|
129
|
+
xr as IntersectionObserver,
|
|
130
|
+
Br as IntersectionObserverProvider,
|
|
124
131
|
vr as IntersectionObserverTarget,
|
|
125
|
-
|
|
126
|
-
|
|
132
|
+
fr as LineChart,
|
|
133
|
+
M as ProgressIndicatorPrimitive,
|
|
127
134
|
O as ProgressRootPrimitive,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
me as RadioButton,
|
|
136
|
+
le as RadioButtonGroup,
|
|
137
|
+
xe as RadioButtonItem,
|
|
138
|
+
pe as RadioGroup,
|
|
139
|
+
Be as RadioGroupItemPrimitive,
|
|
140
|
+
L as SelectItem,
|
|
141
|
+
rr as ShimmerMultiLine,
|
|
135
142
|
mr as SimpleSlider,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
143
|
+
Ze as StaticSpinner,
|
|
144
|
+
Pr as SwiperCarousel,
|
|
145
|
+
Gr as SwiperNavigationPrimitive,
|
|
146
|
+
wr as SwiperPaginationPrimitive,
|
|
147
|
+
hr as SwiperPrimitive,
|
|
148
|
+
Ir as SwiperRootPrimitive,
|
|
149
|
+
Sr as SwiperSlide,
|
|
150
|
+
Lr as SwiperSlideImagePrimitive
|
|
144
151
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineComponent as t, inject as a, computed as c, createElementBlock as m, openBlock as n, normalizeClass as s, renderSlot as i } from "vue";
|
|
2
|
+
import { CardTypeKey as d } from "../../../../../UIKit/Card/type.js";
|
|
3
|
+
const f = /* @__PURE__ */ t({
|
|
4
|
+
__name: "CardImagePrimitive",
|
|
5
|
+
setup(l) {
|
|
6
|
+
const e = a(d, void 0), r = c(() => e ? `${e}-img` : "");
|
|
7
|
+
return (o, p) => (n(), m("div", {
|
|
8
|
+
class: s(["card-img", [r.value]])
|
|
9
|
+
}, [
|
|
10
|
+
i(o.$slots, "default")
|
|
11
|
+
], 2));
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
f as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as n, computed as r, provide as c, createBlock as d, openBlock as m, resolveDynamicComponent as p, normalizeClass as u, withCtx as f, renderSlot as y } from "vue";
|
|
2
|
+
import { CardTypeKey as C } from "../../../../../UIKit/Card/type.js";
|
|
3
|
+
const w = /* @__PURE__ */ n({
|
|
4
|
+
__name: "CardRootPrimitive",
|
|
5
|
+
props: {
|
|
6
|
+
type: { default: "" },
|
|
7
|
+
as: { default: "div" }
|
|
8
|
+
},
|
|
9
|
+
emits: ["click"],
|
|
10
|
+
setup(e, { emit: a }) {
|
|
11
|
+
const o = a, s = r(
|
|
12
|
+
() => e.type === "news" ? "news-card" : e.type
|
|
13
|
+
);
|
|
14
|
+
return c(C, e.type), (i, t) => (m(), d(p(e.as), {
|
|
15
|
+
class: u(["uikit-card", s.value]),
|
|
16
|
+
onClick: t[0] || (t[0] = (l) => o("click", l))
|
|
17
|
+
}, {
|
|
18
|
+
default: f(() => [
|
|
19
|
+
y(i.$slots, "default")
|
|
20
|
+
]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 8, ["class"]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
w as default
|
|
27
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const d = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as s, createElementBlock as l, openBlock as r, normalizeStyle as a, normalizeClass as t, createElementVNode as o, renderSlot as u } from "vue";
|
|
2
|
+
const d = /* @__PURE__ */ s({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "BaseShimmerLoader",
|
|
5
5
|
props: {
|
|
6
6
|
shimmerClasses: { default: "" }
|
|
7
7
|
},
|
|
8
8
|
setup(i) {
|
|
9
|
-
return (e,
|
|
9
|
+
return (e, m) => (r(), l("div", {
|
|
10
10
|
class: t(["uikit-relative uikit-overflow-hidden uikit-bg-w-lavender", e.$attrs.class]),
|
|
11
11
|
style: a(e.$attrs.style)
|
|
12
12
|
}, [
|
|
13
13
|
o("div", {
|
|
14
|
-
class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full
|
|
14
|
+
class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full", i.shimmerClasses])
|
|
15
15
|
}, null, 2),
|
|
16
16
|
u(e.$slots, "default", {}, void 0, !0)
|
|
17
17
|
], 6));
|
|
@@ -1,48 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as m, shallowRef as a, provide as i, onBeforeMount as b, onBeforeUnmount as h, renderSlot as p } from "vue";
|
|
2
|
+
import { VisibleTargetsKey as g, ObserveTargetKey as O, UnobserveTargetKey as y } from "../../../../../../components/IntersectionObserver/v2/types.js";
|
|
3
|
+
const T = /* @__PURE__ */ m({
|
|
3
4
|
__name: "IntersectionObserverProvider",
|
|
4
5
|
props: {
|
|
5
|
-
|
|
6
|
+
emitOnce: { type: Boolean, default: !1 },
|
|
6
7
|
skip: { type: Boolean, default: !1 },
|
|
7
8
|
threshold: { default: 0 }
|
|
8
9
|
},
|
|
9
10
|
emits: ["intersection"],
|
|
10
|
-
setup(
|
|
11
|
-
const u = c, r =
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
setup(n, { emit: c }) {
|
|
12
|
+
const u = c, r = a(/* @__PURE__ */ new Set()), t = a(), d = (e) => {
|
|
13
|
+
n.skip || e.forEach(({ target: l, isIntersecting: f }) => {
|
|
14
|
+
const o = l.getAttribute("target-id");
|
|
15
|
+
if (!o) return;
|
|
16
|
+
const s = new Set(r.value);
|
|
17
|
+
f ? (s.add(o), u("intersection"), n.emitOnce && t.value?.disconnect()) : s.delete(o), r.value = s;
|
|
14
18
|
});
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
}, f = () => {
|
|
18
|
-
e.value && e.value.disconnect();
|
|
19
|
+
}, v = () => {
|
|
20
|
+
t.value?.disconnect();
|
|
19
21
|
};
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
+
return i(g, r), i(O, (e) => {
|
|
23
|
+
t.value?.observe(e);
|
|
24
|
+
}), i(y, (e) => {
|
|
25
|
+
t.value?.unobserve(e);
|
|
26
|
+
}), b(() => {
|
|
27
|
+
t.value = new IntersectionObserver(d, {
|
|
22
28
|
root: null,
|
|
23
29
|
//if the root is null, then we will check if the target is visible in the doc root!
|
|
24
|
-
threshold:
|
|
30
|
+
threshold: n.threshold
|
|
25
31
|
});
|
|
26
|
-
}),
|
|
27
|
-
|
|
28
|
-
}), (
|
|
29
|
-
key: 1,
|
|
30
|
-
observer: e.value,
|
|
31
|
-
isVisible: r.value
|
|
32
|
-
}) : (h(), y("div", {
|
|
33
|
-
key: 0,
|
|
34
|
-
class: k(o.$attrs["root-classes"])
|
|
35
|
-
}, [
|
|
36
|
-
a(o.$slots, "default", {
|
|
37
|
-
observer: e.value,
|
|
38
|
-
isVisible: r.value
|
|
39
|
-
})
|
|
40
|
-
], 2));
|
|
32
|
+
}), h(() => {
|
|
33
|
+
v();
|
|
34
|
+
}), (e, l) => p(e.$slots, "default", { observer: t.value });
|
|
41
35
|
}
|
|
42
36
|
});
|
|
43
37
|
export {
|
|
44
|
-
|
|
45
|
-
p as ObserverKey,
|
|
46
|
-
B as ObserverOnceKey,
|
|
47
|
-
E as default
|
|
38
|
+
T as default
|
|
48
39
|
};
|
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, useTemplateRef as b, useId as g, inject as r, computed as m, onMounted as p, watch as T, createElementBlock as y, renderSlot as a, openBlock as B, unref as k } from "vue";
|
|
2
|
+
import { VisibleTargetsKey as O, ObserveTargetKey as _, UnobserveTargetKey as h } from "../../../../../../components/IntersectionObserver/v2/types.js";
|
|
3
|
+
const E = ["target-id"], D = /* @__PURE__ */ f({
|
|
4
4
|
__name: "IntersectionObserverTarget",
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
props: {
|
|
6
|
+
observeOnce: { type: Boolean, default: !0 }
|
|
7
|
+
},
|
|
8
|
+
setup(s) {
|
|
9
|
+
const e = b("root"), n = g(), u = r(O, void 0), l = r(_, void 0), v = r(h, void 0), t = m(
|
|
10
|
+
() => u?.value.has(n) || !1
|
|
11
|
+
);
|
|
12
|
+
return p(() => {
|
|
13
|
+
e.value && (console.log("DEBUG:mounted", l), console.log("DEBUG:mounted", e.value), l?.(e.value));
|
|
14
|
+
}), T([t, e], ([o, i], [c, d]) => {
|
|
15
|
+
s.observeOnce && (console.log("DEBUG:visible", { cur: o, curRoot: i, prev: c, prevRoot: d }), o && e.value && v?.(e.value));
|
|
16
|
+
}), (o, i) => !s.observeOnce || !t.value ? (B(), y("div", {
|
|
10
17
|
key: 0,
|
|
11
18
|
ref_key: "root",
|
|
12
19
|
ref: e,
|
|
13
|
-
|
|
20
|
+
"target-id": k(n)
|
|
14
21
|
}, [
|
|
15
|
-
|
|
16
|
-
],
|
|
22
|
+
a(o.$slots, "default", { isVisible: t.value })
|
|
23
|
+
], 8, E)) : a(o.$slots, "default", {
|
|
24
|
+
key: 1,
|
|
25
|
+
isVisible: t.value
|
|
26
|
+
});
|
|
17
27
|
}
|
|
18
28
|
});
|
|
19
29
|
export {
|
|
20
|
-
|
|
30
|
+
D as default
|
|
21
31
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -29,3 +29,5 @@ export type { SwiperPaginationPrimitiveProps } from '../components/carousel/Prim
|
|
|
29
29
|
export type { SwiperNavigationPrimitiveProps } from '../components/carousel/Primitive/SwiperNavigationPrimitive';
|
|
30
30
|
export type { SwiperSlideImagePrimitiveProps } from '../components/carousel/Primitive/SwiperSlideImagePrimitive';
|
|
31
31
|
export type { IntersectionObserverProviderProps } from '../components/IntersectionObserver/v2/IntersectionObserverProvider';
|
|
32
|
+
export type { BaseCardRootProps, CardRootTypes, } from '../UIKit/Card/CardRootPrimitive';
|
|
33
|
+
export type { CardTypes } from '../UIKit/Card/type';
|
package/package.json
CHANGED
package/dist/UIKit/BaseCard.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.swiper-pagination-bullet{--swiper-pagination-color: #ccc}.swiper-pagination-bullet-active{--swiper-pagination-color: #fff}
|
|
File without changes
|
|
File without changes
|