@wikicasa-dev/components 1.9.32 → 1.9.33
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.vue.d.ts +16 -47
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +18 -35
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +19 -39
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +15 -19
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +32 -53
- package/dist/UIKit/BaseAlert.vue.d.ts +11 -28
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +180 -108
- package/dist/UIKit/BaseBadge.vue.d.ts +11 -27
- package/dist/UIKit/BaseBreadcrumb.vue.d.ts +13 -18
- package/dist/UIKit/BaseButton.vue.d.ts +20 -57
- package/dist/UIKit/BaseCard.vue.d.ts +14 -37
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +26 -64
- package/dist/UIKit/BaseDropDown.vue.d.ts +28 -67
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +6 -32
- package/dist/UIKit/BaseInput.vue.d.ts +41 -75
- package/dist/UIKit/BaseModal.vue.d.ts +29 -69
- package/dist/UIKit/BaseNavItem.vue.d.ts +1 -1
- package/dist/UIKit/BasePagination.vue.d.ts +19 -71
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +21 -37
- package/dist/UIKit/BaseSlider.vue.d.ts +60 -104
- package/dist/UIKit/BaseSnackbar.vue.d.ts +6 -32
- package/dist/UIKit/BaseTextarea.vue.d.ts +19 -43
- package/dist/UIKit/BaseToggle.vue.d.ts +21 -25
- package/dist/UIKit/BaseTooltip.vue.d.ts +12 -43
- package/dist/UIKit/BaseUploadFile.vue.d.ts +17 -44
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +29 -65
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +24 -55
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +6 -27
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +33 -50
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +10 -15
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +4 -30
- package/dist/UIKit/StaticSpinner.vue.d.ts +4 -27
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -15
- package/dist/UIKit/Tab/BaseTabList.vue.d.ts +6 -28
- package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -27
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +14 -33
- package/dist/UIKit/types.d.ts +0 -1
- package/dist/assets/BaseAlert.css +1 -1
- package/dist/assets/BaseBadge.css +1 -1
- package/dist/assets/BaseFloatingLabel.css +1 -1
- package/dist/assets/BaseNavItem.css +1 -1
- package/dist/assets/BaseTextarea.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chart/DoughnutChart.vue.d.ts +3 -13
- package/dist/chart/LineChart.vue.d.ts +3 -13
- package/dist/chart/composables/useChartjsModules.d.ts +0 -1
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +14 -29
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +36 -42
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +17 -35
- package/dist/components/carousel/SwiperSlide.vue.d.ts +7 -2
- package/dist/composables/useFloatingLabel.d.ts +0 -1
- package/dist/composables/useValidator.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/package.json +14 -15
|
@@ -4,55 +4,49 @@ interface IntersectionObserverProps {
|
|
|
4
4
|
threshold?: number;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
|
|
8
|
-
observer: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
slots: {
|
|
8
|
+
observer?(_: {
|
|
9
|
+
observer: {
|
|
10
|
+
readonly root: Element | Document | null;
|
|
11
|
+
readonly rootMargin: string;
|
|
12
|
+
readonly thresholds: ReadonlyArray<number>;
|
|
13
|
+
disconnect: () => void;
|
|
14
|
+
observe: (target: Element) => void;
|
|
15
|
+
takeRecords: () => IntersectionObserverEntry[];
|
|
16
|
+
unobserve: (target: Element) => void;
|
|
17
|
+
} | null;
|
|
18
|
+
isVisible: false;
|
|
19
|
+
}): any;
|
|
20
|
+
observer?(_: {
|
|
21
|
+
observer: {
|
|
22
|
+
readonly root: Element | Document | null;
|
|
23
|
+
readonly rootMargin: string;
|
|
24
|
+
readonly thresholds: ReadonlyArray<number>;
|
|
25
|
+
disconnect: () => void;
|
|
26
|
+
observe: (target: Element) => void;
|
|
27
|
+
takeRecords: () => IntersectionObserverEntry[];
|
|
28
|
+
unobserve: (target: Element) => void;
|
|
29
|
+
} | null;
|
|
30
|
+
isVisible: true;
|
|
31
|
+
}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {
|
|
34
|
+
root: HTMLDivElement;
|
|
35
|
+
};
|
|
36
|
+
attrs: Partial<{}>;
|
|
19
37
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
-
intersection: () => void;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IntersectionObserverProps>, {
|
|
27
|
-
observeOnce: boolean;
|
|
28
|
-
skip: boolean;
|
|
29
|
-
threshold: number;
|
|
30
|
-
}>>> & Readonly<{
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: import('vue').DefineComponent<IntersectionObserverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
intersection: () => any;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<IntersectionObserverProps> & Readonly<{
|
|
31
42
|
onIntersection?: (() => any) | undefined;
|
|
32
43
|
}>, {
|
|
33
44
|
threshold: number;
|
|
34
45
|
observeOnce: boolean;
|
|
35
46
|
skip: boolean;
|
|
36
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
37
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
49
|
export default _default;
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
type __VLS_WithDefaults<P, D> = {
|
|
49
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
-
default: D[K];
|
|
51
|
-
}> : P[K];
|
|
52
|
-
};
|
|
53
|
-
type __VLS_Prettify<T> = {
|
|
54
|
-
[K in keyof T]: T[K];
|
|
55
|
-
} & {};
|
|
56
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
51
|
new (): {
|
|
58
52
|
$slots: S;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Image } from '@wikicasa-dev/types';
|
|
2
2
|
import { SwiperOptions } from 'swiper/types';
|
|
3
|
-
|
|
4
3
|
interface SwiperCarouselProps {
|
|
5
4
|
id: string;
|
|
6
5
|
swiperOptions: SwiperOptions;
|
|
@@ -15,54 +14,37 @@ interface SwiperCarouselProps {
|
|
|
15
14
|
shiftFirstImage?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare function __VLS_template(): {
|
|
18
|
-
|
|
17
|
+
slots: {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {
|
|
21
|
+
root: HTMLDivElement;
|
|
22
|
+
swiperWrapper: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
attrs: Partial<{}>;
|
|
19
25
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
backgroundImage: boolean;
|
|
23
|
-
shiftFirstImage: boolean;
|
|
24
|
-
}>>, {
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<SwiperCarouselProps, {
|
|
25
28
|
moveTo(index: number, speed?: number, runCallbacks?: boolean): void;
|
|
26
29
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
click: () => any;
|
|
27
31
|
moved: (args_0: {
|
|
28
32
|
activeIndex: number;
|
|
29
|
-
}) =>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
lazyLoadImages: boolean;
|
|
34
|
-
backgroundImage: boolean;
|
|
35
|
-
shiftFirstImage: boolean;
|
|
36
|
-
}>>> & Readonly<{
|
|
33
|
+
}) => any;
|
|
34
|
+
firstSlideLoaded: () => any;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<SwiperCarouselProps> & Readonly<{
|
|
36
|
+
onClick?: (() => any) | undefined;
|
|
37
37
|
onMoved?: ((args_0: {
|
|
38
38
|
activeIndex: number;
|
|
39
39
|
}) => any) | undefined;
|
|
40
|
-
onClick?: (() => any) | undefined;
|
|
41
40
|
onFirstSlideLoaded?: (() => any) | undefined;
|
|
42
41
|
}>, {
|
|
43
42
|
lazyLoadImages: boolean;
|
|
44
43
|
backgroundImage: boolean;
|
|
45
44
|
shiftFirstImage: boolean;
|
|
46
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
47
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
47
|
export default _default;
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
type __VLS_WithDefaults<P, D> = {
|
|
59
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
-
default: D[K];
|
|
61
|
-
}> : P[K];
|
|
62
|
-
};
|
|
63
|
-
type __VLS_Prettify<T> = {
|
|
64
|
-
[K in keyof T]: T[K];
|
|
65
|
-
} & {};
|
|
66
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
49
|
new (): {
|
|
68
50
|
$slots: S;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
3
7
|
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
9
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
6
11
|
export default _default;
|
|
7
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
13
|
new (): {
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ import { default as SwiperCarousel } from './components/carousel/SwiperCarousel.
|
|
|
41
41
|
import { default as SwiperSlide } from './components/carousel/SwiperSlide.vue';
|
|
42
42
|
import { useValidator } from './composables/useValidator';
|
|
43
43
|
import { default as BaseBreadcrumb } from './UIKit/BaseBreadcrumb.vue';
|
|
44
|
-
|
|
45
44
|
export * from './UIKit/types';
|
|
46
45
|
export type { ChartOptions, ChartData } from 'chart.js';
|
|
47
46
|
export { DoughnutChart, LineChart, BaseAccordion, BaseAccordionBtn, BaseAccordionContent, BaseAccordionItem, SelectItem, BaseAlert, BaseAutocomplete, BaseBadge, BaseButton, AccessibleSelect, BaseComplexToggle, BaseDropDown, BaseFloatingLabel, BaseCard, BaseIcon, BaseInput, BaseNavItem, BasePagination, BasePaper, BaseSlider, BaseTab, BaseTextarea, BaseToggle, BaseTooltip, BaseUploadFile, CheckboxBtn, CheckboxGroup, RadioButton, RadioGroup, SwiperCarousel, SwiperSlide, IntersectionObservable, IntersectionObserver, useValidator, BaseModal, BaseSnackbar, BaseTabView, BaseShimmerLoader, ShimmerMultiLine, StaticSpinner, BaseBreadcrumb, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wikicasa-dev/components",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.33",
|
|
4
4
|
"description": "Wikicasa frontend components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,26 +29,25 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"chart.js": "^4.4.
|
|
32
|
+
"chart.js": "^4.4.6",
|
|
33
33
|
"chartjs-adapter-date-fns": "^3.0.0",
|
|
34
|
-
"date-fns": "^
|
|
35
|
-
"swiper": "^11.1.
|
|
36
|
-
"vue": "3.5.
|
|
37
|
-
"vue-chartjs": "^5.3.
|
|
34
|
+
"date-fns": "^4.1.0",
|
|
35
|
+
"swiper": "^11.1.15",
|
|
36
|
+
"vue": "3.5.13",
|
|
37
|
+
"vue-chartjs": "^5.3.2",
|
|
38
38
|
"vue-router": "^4.4.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@babel/eslint-parser": "^7.25.
|
|
41
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
42
42
|
"@histoire/plugin-vue": "^0.17.17",
|
|
43
43
|
"@types/node": "^20.16.11",
|
|
44
|
-
"@vitejs/plugin-vue": "^5.
|
|
44
|
+
"@vitejs/plugin-vue": "^5.2.0",
|
|
45
45
|
"@wikicasa-dev/svg-icons": "^0.1.11",
|
|
46
46
|
"@wikicasa-dev/tailwind-plugins": "^0.0.2",
|
|
47
47
|
"@wikicasa-dev/types": "^1.8.0",
|
|
48
48
|
"@wikicasa-dev/utilities": "^1.0.22",
|
|
49
49
|
"@wikicasa-dev/vue-composables": "0.0.10",
|
|
50
50
|
"autoprefixer": "^10.4.20",
|
|
51
|
-
"chromatic": "^11.12.5",
|
|
52
51
|
"eslint": "^8.57.1",
|
|
53
52
|
"eslint-config-prettier": "^9.1.0",
|
|
54
53
|
"eslint-plugin-prettier": "^5.2.1",
|
|
@@ -56,15 +55,15 @@
|
|
|
56
55
|
"eslint-plugin-vue": "^9.29.0",
|
|
57
56
|
"glob": "^11.0.0",
|
|
58
57
|
"histoire": "^0.17.17",
|
|
59
|
-
"postcss": "^8.4.
|
|
58
|
+
"postcss": "^8.4.49",
|
|
60
59
|
"prettier": "^3.3.3",
|
|
61
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
62
|
-
"tailwindcss": "^3.4.
|
|
60
|
+
"prettier-plugin-tailwindcss": "^0.6.9",
|
|
61
|
+
"tailwindcss": "^3.4.15",
|
|
63
62
|
"typescript": "^5.6.3",
|
|
64
|
-
"vite": "^5.4.
|
|
65
|
-
"vite-plugin-dts": "^3.
|
|
63
|
+
"vite": "^5.4.11",
|
|
64
|
+
"vite-plugin-dts": "^4.3.0",
|
|
66
65
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
67
|
-
"vue-tsc": "^2.1.
|
|
66
|
+
"vue-tsc": "^2.1.10"
|
|
68
67
|
},
|
|
69
68
|
"readme": "ERROR: No README data found!",
|
|
70
69
|
"scripts": {
|