@wikicasa-dev/components 1.7.26 → 1.7.28
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/AccessibleSelect.js +1 -1
- package/dist/BaseAutocomplete.js +1 -1
- package/dist/BaseComplexToggle.js +1 -2
- package/dist/BaseFloatingLabel.js +1 -2
- package/dist/BaseIcon.js +1 -2
- package/dist/BaseInput.js +1 -2
- package/dist/BaseModal.js +1 -1
- package/dist/BaseNavItem.js +1 -2
- package/dist/BasePagination.js +1 -1
- package/dist/BasePaper.js +1 -2
- package/dist/BaseShimmerLoader.js +13 -0
- package/dist/BaseSlider.js +6 -7
- package/dist/BaseSnackbar.js +1 -2
- package/dist/BaseTextarea.js +1 -2
- package/dist/BaseToggle.js +1 -2
- package/dist/BaseTooltip.js +1 -2
- package/dist/CheckboxBtn.js +1 -2
- package/dist/CheckboxGroup.js +1 -1
- package/dist/LineChart.js +1 -1
- package/dist/ShimmerMultiLine.js +24 -0
- package/dist/StaticSpinner.js +1 -2
- package/dist/SwiperCarousel.js +1 -1
- package/dist/UIKit/AccessibleSelect.vue.d.ts +10 -4
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +4 -3
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +3 -3
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +2 -2
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +5 -4
- package/dist/UIKit/BaseAlert.vue.d.ts +4 -3
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +29 -28
- package/dist/UIKit/BaseBadge.vue.d.ts +2 -2
- package/dist/UIKit/BaseButton.vue.d.ts +5 -4
- package/dist/UIKit/BaseCard.vue.d.ts +3 -3
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +18 -17
- package/dist/UIKit/BaseDropDown.vue.d.ts +3 -3
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +4 -3
- package/dist/UIKit/BaseIcon.vue.d.ts +2 -2
- package/dist/UIKit/BaseInput.vue.d.ts +19 -18
- package/dist/UIKit/BaseModal.vue.d.ts +3 -3
- package/dist/UIKit/BaseNavItem.vue.d.ts +2 -2
- package/dist/UIKit/BasePagination.vue.d.ts +2 -2
- package/dist/UIKit/BasePaper.vue.d.ts +1 -1
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +3 -3
- package/dist/UIKit/BaseSlider.vue.d.ts +4 -3
- package/dist/UIKit/BaseSnackbar.vue.d.ts +5 -4
- package/dist/UIKit/BaseTextarea.vue.d.ts +15 -14
- package/dist/UIKit/BaseToggle.vue.d.ts +8 -8
- package/dist/UIKit/BaseTooltip.vue.d.ts +2 -2
- package/dist/UIKit/BaseUploadFile.vue.d.ts +5 -4
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +5 -4
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +5 -4
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +3 -3
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +5 -5
- package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +9 -0
- package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +38 -0
- package/dist/UIKit/StaticSpinner.vue.d.ts +2 -2
- package/dist/UIKit/Tab/BaseTab.vue.d.ts +2 -2
- package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +2 -2
- package/dist/UIKit/Tab/BaseTabView.vue.d.ts +10 -9
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/BaseShimmerLoader.css +1 -0
- package/dist/assets/BaseSlider.css +1 -1
- package/dist/assets/BaseTooltip.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chart/DoughnutChart.vue.d.ts +4 -3
- package/dist/chart/LineChart.vue.d.ts +4 -3
- package/dist/chart/composables/useChartjsModules.d.ts +4 -3
- package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.5pqk7vlZ.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.BQ4qQ7zr.js} +97 -86
- package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js +1 -2
- package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CVffB0Ai.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.CoHhyD4i.js} +1 -1
- package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js +1 -2
- package/dist/chunks/BaseCard.vue_vue_type_style_index_0_lang.w5aEohzG.js +1 -2
- package/dist/chunks/{BaseModal.vue_vue_type_style_index_0_lang.Cz2Kd5zD.js → BaseModal.vue_vue_type_style_index_0_lang.DmbmvbJg.js} +2 -3
- package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.DDtN9_Bg.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.TNbYVnnF.js} +1 -1
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +37 -0
- package/dist/chunks/{SwiperCarousel.vue_vue_type_style_index_0_lang.DDYbH2A1.js → SwiperCarousel.vue_vue_type_style_index_0_lang.DydGEHWv.js} +162 -155
- package/dist/chunks/{index.DXfsARH3.js → index.C2AlqfUw.js} +316 -311
- package/dist/chunks/js.cookie.CkZE2oaL.js +95 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +2 -2
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +3 -3
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +6 -7
- package/dist/components/carousel/SwiperSlide.vue.d.ts +1 -1
- package/dist/composables/useFloatingLabel.d.ts +3 -2
- package/dist/composables/useKeyboardController.d.ts +2 -1
- package/dist/composables/useValidator.d.ts +2 -1
- package/dist/index.d.ts +40 -39
- package/dist/index.js +7 -8
- package/package.json +3 -3
- package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.D1HsyTJq.js +0 -36
- package/dist/chunks/js.cookie.BQua9eWh.js +0 -101
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Nullable, Icon } from
|
|
1
|
+
import { Nullable, Icon } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
2
3
|
type ToggleType<T = unknown> = {
|
|
3
4
|
id?: string;
|
|
4
5
|
label: string;
|
|
@@ -14,56 +15,56 @@ type TailwindPrefixType = "uikit-";
|
|
|
14
15
|
type BgPrefix = "bg-w-";
|
|
15
16
|
type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender" | "facile";
|
|
16
17
|
type BtnBgColorType = `${TailwindPrefixType}${BgPrefix}${ColorsType}` | "";
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
18
|
-
modelValue: import(
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
19
|
+
modelValue: import('vue').PropType<Nullable<ToggleType<unknown>> | undefined>;
|
|
19
20
|
type: {
|
|
20
|
-
type: import(
|
|
21
|
+
type: import('vue').PropType<"full" | "padded">;
|
|
21
22
|
default: string;
|
|
22
23
|
};
|
|
23
24
|
size: {
|
|
24
|
-
type: import(
|
|
25
|
+
type: import('vue').PropType<"" | "lg">;
|
|
25
26
|
default: string;
|
|
26
27
|
};
|
|
27
28
|
mode: {
|
|
28
|
-
type: import(
|
|
29
|
+
type: import('vue').PropType<"" | "mobile">;
|
|
29
30
|
default: string;
|
|
30
31
|
};
|
|
31
32
|
labels: {
|
|
32
|
-
type: import(
|
|
33
|
+
type: import('vue').PropType<ComplexToggleType<unknown>>;
|
|
33
34
|
required: true;
|
|
34
35
|
};
|
|
35
36
|
btnBgColor: {
|
|
36
|
-
type: import(
|
|
37
|
+
type: import('vue').PropType<BtnBgColorType>;
|
|
37
38
|
default: string;
|
|
38
39
|
};
|
|
39
40
|
borderContainerColor: {
|
|
40
|
-
type: import(
|
|
41
|
+
type: import('vue').PropType<"uikit-border-w-secondary" | "uikit-border-w-primary" | "uikit-border-w-danger" | "uikit-border-w-warning" | "uikit-border-w-black" | "uikit-border-w-dark-primary" | "uikit-border-w-carbon" | "uikit-border-w-gray" | "uikit-border-w-lavender" | "uikit-border-w-facile">;
|
|
41
42
|
default: string;
|
|
42
43
|
};
|
|
43
|
-
}, {}, unknown, {}, {}, import(
|
|
44
|
-
modelValue: import(
|
|
44
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
modelValue: import('vue').PropType<Nullable<ToggleType<unknown>> | undefined>;
|
|
45
46
|
type: {
|
|
46
|
-
type: import(
|
|
47
|
+
type: import('vue').PropType<"full" | "padded">;
|
|
47
48
|
default: string;
|
|
48
49
|
};
|
|
49
50
|
size: {
|
|
50
|
-
type: import(
|
|
51
|
+
type: import('vue').PropType<"" | "lg">;
|
|
51
52
|
default: string;
|
|
52
53
|
};
|
|
53
54
|
mode: {
|
|
54
|
-
type: import(
|
|
55
|
+
type: import('vue').PropType<"" | "mobile">;
|
|
55
56
|
default: string;
|
|
56
57
|
};
|
|
57
58
|
labels: {
|
|
58
|
-
type: import(
|
|
59
|
+
type: import('vue').PropType<ComplexToggleType<unknown>>;
|
|
59
60
|
required: true;
|
|
60
61
|
};
|
|
61
62
|
btnBgColor: {
|
|
62
|
-
type: import(
|
|
63
|
+
type: import('vue').PropType<BtnBgColorType>;
|
|
63
64
|
default: string;
|
|
64
65
|
};
|
|
65
66
|
borderContainerColor: {
|
|
66
|
-
type: import(
|
|
67
|
+
type: import('vue').PropType<"uikit-border-w-secondary" | "uikit-border-w-primary" | "uikit-border-w-danger" | "uikit-border-w-warning" | "uikit-border-w-black" | "uikit-border-w-dark-primary" | "uikit-border-w-carbon" | "uikit-border-w-gray" | "uikit-border-w-lavender" | "uikit-border-w-facile">;
|
|
67
68
|
default: string;
|
|
68
69
|
};
|
|
69
70
|
}>>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
id?: string | undefined;
|
|
3
3
|
dropdownClasses?: string | string[] | (string | Record<string, boolean>)[] | undefined;
|
|
4
4
|
containerDropdownClasses?: string | undefined;
|
|
@@ -32,10 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
32
|
closeWhenClickedOutside: boolean;
|
|
33
33
|
dropdownElement: string;
|
|
34
34
|
keepState: string;
|
|
35
|
-
}>, {}, unknown, {}, {}, import(
|
|
35
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
36
|
click: () => void;
|
|
37
37
|
"update:dropdownState": (args_0: boolean) => void;
|
|
38
|
-
}, string, import(
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
39
|
id?: string | undefined;
|
|
40
40
|
dropdownClasses?: string | string[] | (string | Record<string, boolean>)[] | undefined;
|
|
41
41
|
containerDropdownClasses?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Nullable } from
|
|
1
|
+
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
2
3
|
type LabelState = "inline-label" | "floating-label";
|
|
3
|
-
declare const _default: import(
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
labelState: {
|
|
5
6
|
type: () => LabelState;
|
|
6
7
|
default: () => LabelState;
|
|
@@ -17,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
18
|
type: (BooleanConstructor | StringConstructor)[];
|
|
18
19
|
default: boolean;
|
|
19
20
|
};
|
|
20
|
-
}, unknown, unknown, {}, {}, import(
|
|
21
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
22
|
labelState: {
|
|
22
23
|
type: () => LabelState;
|
|
23
24
|
default: () => LabelState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
lazyLoading: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
-
}, unknown, unknown, {}, {}, import(
|
|
22
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
23
|
lazyLoading: {
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
default: boolean;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { Nullable, FeedbackLabels, ClassType } from
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Nullable, FeedbackLabels, ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
4
|
+
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
5
|
isValid: {
|
|
5
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<Nullable<boolean>>;
|
|
6
7
|
default: null;
|
|
7
8
|
};
|
|
8
9
|
labelText: {
|
|
9
|
-
type: import(
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
12
13
|
feedback: {
|
|
13
|
-
type: import(
|
|
14
|
+
type: import('vue').PropType<FeedbackLabels>;
|
|
14
15
|
};
|
|
15
16
|
inputClass: {
|
|
16
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<unknown[] | ClassType>;
|
|
17
18
|
default: string;
|
|
18
19
|
};
|
|
19
20
|
keepFloatingLabel: {
|
|
20
|
-
type: import(
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
21
22
|
default: boolean;
|
|
22
23
|
};
|
|
23
24
|
formatter: {
|
|
24
|
-
type: import(
|
|
25
|
+
type: import('vue').PropType<Nullable<Partial<{
|
|
25
26
|
formatFn: (n: string | number) => string;
|
|
26
27
|
unFormatFn: (v: string) => string | number | null;
|
|
27
28
|
}>>>;
|
|
@@ -29,35 +30,35 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
29
30
|
};
|
|
30
31
|
}, {
|
|
31
32
|
select: () => void;
|
|
32
|
-
}, unknown, {}, {}, import(
|
|
33
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
34
|
click: (args_0: MouseEvent) => void;
|
|
34
35
|
focusin: () => void;
|
|
35
36
|
focusout: () => void;
|
|
36
37
|
keydown: (args_0: KeyboardEvent) => void;
|
|
37
38
|
keydownEnterPressed: () => void;
|
|
38
|
-
}, string, import(
|
|
39
|
-
modelValue: import(
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
modelValue: import('vue').PropType<string | number | undefined>;
|
|
40
41
|
isValid: {
|
|
41
|
-
type: import(
|
|
42
|
+
type: import('vue').PropType<Nullable<boolean>>;
|
|
42
43
|
default: null;
|
|
43
44
|
};
|
|
44
45
|
labelText: {
|
|
45
|
-
type: import(
|
|
46
|
+
type: import('vue').PropType<string>;
|
|
46
47
|
default: string;
|
|
47
48
|
};
|
|
48
49
|
feedback: {
|
|
49
|
-
type: import(
|
|
50
|
+
type: import('vue').PropType<FeedbackLabels>;
|
|
50
51
|
};
|
|
51
52
|
inputClass: {
|
|
52
|
-
type: import(
|
|
53
|
+
type: import('vue').PropType<unknown[] | ClassType>;
|
|
53
54
|
default: string;
|
|
54
55
|
};
|
|
55
56
|
keepFloatingLabel: {
|
|
56
|
-
type: import(
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
57
58
|
default: boolean;
|
|
58
59
|
};
|
|
59
60
|
formatter: {
|
|
60
|
-
type: import(
|
|
61
|
+
type: import('vue').PropType<Nullable<Partial<{
|
|
61
62
|
formatFn: (n: string | number) => string;
|
|
62
63
|
unFormatFn: (v: string) => string | number | null;
|
|
63
64
|
}>>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type GenericClassType = string | string[] | Record<string, boolean> | Record<string, boolean>[];
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
id?: string | undefined;
|
|
4
4
|
size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full" | undefined;
|
|
5
5
|
customBackdropClasses?: GenericClassType | undefined;
|
|
@@ -33,10 +33,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
33
|
fullHeight: boolean;
|
|
34
34
|
closeOnClickOut: boolean;
|
|
35
35
|
centered: boolean;
|
|
36
|
-
}>, {}, unknown, {}, {}, import(
|
|
36
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
37
|
closed: () => void;
|
|
38
38
|
opened: () => void;
|
|
39
|
-
}, string, import(
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
40
40
|
id?: string | undefined;
|
|
41
41
|
size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full" | undefined;
|
|
42
42
|
customBackdropClasses?: GenericClassType | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
text: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
};
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
-
}, unknown, unknown, {}, {}, import(
|
|
19
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
text: {
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
offset: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
formatInteger(n: number): string;
|
|
33
33
|
selectPage(page: number): void;
|
|
34
34
|
getCount(): number;
|
|
35
|
-
}, import(
|
|
35
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "new-pagination-offset"[], "new-pagination-offset", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
36
|
offset: {
|
|
37
37
|
type: NumberConstructor;
|
|
38
38
|
default: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
label?: string | undefined;
|
|
3
3
|
active?: boolean | undefined;
|
|
4
4
|
idx?: number | undefined;
|
|
@@ -6,10 +6,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
label: string;
|
|
7
7
|
active: boolean;
|
|
8
8
|
idx: number;
|
|
9
|
-
}>, {}, unknown, {}, {}, import(
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
click: (args_0: number) => void;
|
|
11
11
|
mouseover: (args_0: number) => void;
|
|
12
|
-
}, string, import(
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
label?: string | undefined;
|
|
14
14
|
active?: boolean | undefined;
|
|
15
15
|
idx?: number | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Nullable } from
|
|
1
|
+
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
2
3
|
type Inputs = "min-input" | "max-input";
|
|
3
|
-
declare const _default: import(
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
5
|
type: {
|
|
5
6
|
type: () => "linear" | "logarithmic";
|
|
6
7
|
default: string;
|
|
@@ -28,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
29
|
controlToInput(toSlider: HTMLInputElement, controlSlider: HTMLInputElement): void;
|
|
29
30
|
controlFromSlider(fromSlider: HTMLInputElement, toSlider: HTMLInputElement): void;
|
|
30
31
|
controlToSlider(fromSlider: HTMLInputElement, toSlider: HTMLInputElement): void;
|
|
31
|
-
}, import(
|
|
32
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("minChanged" | "maxChanged")[], "minChanged" | "maxChanged", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
33
|
type: {
|
|
33
34
|
type: () => "linear" | "logarithmic";
|
|
34
35
|
default: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Action, Nullable, SnackbarTypes } from
|
|
2
|
-
|
|
1
|
+
import { Action, Nullable, SnackbarTypes } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
type?: SnackbarTypes | undefined;
|
|
4
5
|
title: string;
|
|
5
6
|
body: string;
|
|
@@ -13,9 +14,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
14
|
type: string;
|
|
14
15
|
timeout: number;
|
|
15
16
|
cb: null;
|
|
16
|
-
}>, {}, unknown, {}, {}, import(
|
|
17
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
18
|
"snackbar-hidden": () => void;
|
|
18
|
-
}, string, import(
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
20
|
type?: SnackbarTypes | undefined;
|
|
20
21
|
title: string;
|
|
21
22
|
body: string;
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { FeedbackLabels, Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
modelValue: import('vue').PropType<string | undefined>;
|
|
4
5
|
resize: {
|
|
5
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<boolean>;
|
|
6
7
|
default: boolean;
|
|
7
8
|
};
|
|
8
9
|
isValid: {
|
|
9
|
-
type: import(
|
|
10
|
+
type: import('vue').PropType<Nullable<boolean>>;
|
|
10
11
|
default: null;
|
|
11
12
|
};
|
|
12
13
|
labelText: {
|
|
13
|
-
type: import(
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
14
15
|
default: string;
|
|
15
16
|
};
|
|
16
17
|
feedback: {
|
|
17
|
-
type: import(
|
|
18
|
+
type: import('vue').PropType<FeedbackLabels>;
|
|
18
19
|
};
|
|
19
20
|
}, {
|
|
20
21
|
disableTextarea: () => void;
|
|
21
22
|
clearTextareaElem: () => void;
|
|
22
23
|
disableAndFocusTextarea: () => void;
|
|
23
|
-
}, unknown, {}, {}, import(
|
|
24
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
25
|
focusin: () => void;
|
|
25
26
|
focusout: () => void;
|
|
26
27
|
keydown: (args_0: KeyboardEvent) => void;
|
|
27
|
-
}, string, import(
|
|
28
|
-
modelValue: import(
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
modelValue: import('vue').PropType<string | undefined>;
|
|
29
30
|
resize: {
|
|
30
|
-
type: import(
|
|
31
|
+
type: import('vue').PropType<boolean>;
|
|
31
32
|
default: boolean;
|
|
32
33
|
};
|
|
33
34
|
isValid: {
|
|
34
|
-
type: import(
|
|
35
|
+
type: import('vue').PropType<Nullable<boolean>>;
|
|
35
36
|
default: null;
|
|
36
37
|
};
|
|
37
38
|
labelText: {
|
|
38
|
-
type: import(
|
|
39
|
+
type: import('vue').PropType<string>;
|
|
39
40
|
default: string;
|
|
40
41
|
};
|
|
41
42
|
feedback: {
|
|
42
|
-
type: import(
|
|
43
|
+
type: import('vue').PropType<FeedbackLabels>;
|
|
43
44
|
};
|
|
44
45
|
}>> & {
|
|
45
46
|
onFocusin?: (() => any) | undefined;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
2
|
-
modelValue: import(
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
modelValue: import('vue').PropType<boolean | undefined>;
|
|
3
3
|
label: {
|
|
4
|
-
type: import(
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
withRightLabel: {
|
|
8
|
-
type: import(
|
|
8
|
+
type: import('vue').PropType<boolean>;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
|
-
}, {}, unknown, {}, {}, import(
|
|
12
|
-
modelValue: import(
|
|
11
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
modelValue: import('vue').PropType<boolean | undefined>;
|
|
13
13
|
label: {
|
|
14
|
-
type: import(
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
withRightLabel: {
|
|
18
|
-
type: import(
|
|
18
|
+
type: import('vue').PropType<boolean>;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
}>>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
theme: {
|
|
3
3
|
type: () => {
|
|
4
4
|
color: "blue" | "white";
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
-
}, unknown, unknown, {}, {}, import(
|
|
24
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
25
|
theme: {
|
|
26
26
|
type: () => {
|
|
27
27
|
color: "blue" | "white";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ClassType } from
|
|
2
|
-
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
id: string;
|
|
4
5
|
labelText?: string | undefined;
|
|
5
6
|
clear?: boolean | undefined;
|
|
@@ -14,10 +15,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
15
|
floatingLabelClasses: string;
|
|
15
16
|
fieldsetClasses: string;
|
|
16
17
|
legendClasses: string;
|
|
17
|
-
}>, {}, unknown, {}, {}, import(
|
|
18
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
19
|
cleared: () => void;
|
|
19
20
|
uploaded: (args_0: File) => void;
|
|
20
|
-
}, string, import(
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
22
|
id: string;
|
|
22
23
|
labelText?: string | undefined;
|
|
23
24
|
clear?: boolean | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Nullable } from
|
|
1
|
+
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
2
3
|
type EventPayload = {
|
|
3
4
|
id: string | number;
|
|
4
5
|
label: string | number;
|
|
5
6
|
checked: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
9
|
id: string | number;
|
|
9
10
|
inputClass?: string | undefined;
|
|
10
11
|
inline?: boolean | undefined;
|
|
@@ -25,11 +26,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
26
|
containerId: string;
|
|
26
27
|
containerClass: string;
|
|
27
28
|
handleLabelClick: boolean;
|
|
28
|
-
}>, {}, unknown, {}, {}, import(
|
|
29
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
30
|
click: () => void;
|
|
30
31
|
change: (args_0: EventPayload) => void;
|
|
31
32
|
"update:modelValue": (args_0: boolean) => void;
|
|
32
|
-
}, string, import(
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
33
34
|
id: string | number;
|
|
34
35
|
inputClass?: string | undefined;
|
|
35
36
|
inline?: boolean | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CheckboxButtonType, GetterIdType } from
|
|
2
|
-
|
|
1
|
+
import { CheckboxButtonType, GetterIdType } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
valuesObj?: Record<string, CheckboxButtonType> | undefined;
|
|
4
5
|
formCheckInline?: boolean | undefined;
|
|
5
6
|
customClass?: string | undefined;
|
|
@@ -20,11 +21,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
21
|
autoCheckResetEmpty: boolean;
|
|
21
22
|
manualToggleResetButton: boolean;
|
|
22
23
|
getKey(): (checkBtn: CheckboxButtonType) => string | number;
|
|
23
|
-
}>, {}, unknown, {}, {}, import(
|
|
24
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
25
|
"update:modelValue": (args_0: CheckboxButtonType[]) => void;
|
|
25
26
|
resetted: () => void;
|
|
26
27
|
checkedGroup: (args_0: string) => void;
|
|
27
|
-
}, string, import(
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
29
|
valuesObj?: Record<string, CheckboxButtonType> | undefined;
|
|
29
30
|
formCheckInline?: boolean | undefined;
|
|
30
31
|
customClass?: string | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
label: string;
|
|
3
3
|
isChecked?: boolean | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
isChecked: boolean;
|
|
6
|
-
}>, {}, unknown, {}, {}, import(
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
change: (args_0: {
|
|
8
8
|
id: string;
|
|
9
9
|
label: string;
|
|
10
10
|
name: string;
|
|
11
11
|
}) => void;
|
|
12
|
-
}, string, import(
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
label: string;
|
|
14
14
|
isChecked?: boolean | undefined;
|
|
15
15
|
}>, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { RadioButtonType } from
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
1
|
+
import { RadioButtonType, Nullable } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
initialValue?: RadioButtonType | undefined;
|
|
5
5
|
radioValues?: RadioButtonType[] | undefined;
|
|
6
6
|
resetRadio?: boolean | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
resetRadio: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {}, import(
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
"update:modelValue": (args_0: Nullable<RadioButtonType>) => void;
|
|
11
11
|
resetted: () => void;
|
|
12
|
-
}, string, import(
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
initialValue?: RadioButtonType | undefined;
|
|
14
14
|
radioValues?: RadioButtonType[] | undefined;
|
|
15
15
|
resetRadio?: boolean | undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
lines?: number | undefined;
|
|
5
|
+
randomLength?: boolean | undefined;
|
|
6
|
+
shimmerClasses?: ClassType | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
lines: number;
|
|
9
|
+
randomLength: boolean;
|
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
lines?: number | undefined;
|
|
12
|
+
randomLength?: boolean | undefined;
|
|
13
|
+
shimmerClasses?: ClassType | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
lines: number;
|
|
16
|
+
randomLength: boolean;
|
|
17
|
+
}>>>, {
|
|
18
|
+
lines: number;
|
|
19
|
+
randomLength: boolean;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|