@wikicasa-dev/components 1.9.32 → 1.9.34
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/README.md +4 -18
- package/dist/AccessibleSelect.js +1 -1
- package/dist/BaseAutocomplete.js +1 -1
- package/dist/BaseDropDown.js +1 -1
- package/dist/BaseTabView.js +1 -1
- package/dist/SwiperCarousel.js +1 -1
- 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/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/BaseTextarea.css +1 -1
- package/dist/assets/SwiperCarousel.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/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.BZJiuA9q.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.B8sZx5ag.js} +1 -1
- package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CuwMDpZt.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.lynxd7Sj.js} +2 -2
- package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.BW53X5Mh.js → BaseDropDown.vue_vue_type_script_setup_true_lang.CVDnCMnS.js} +1 -1
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.nuPyOFsi.js +94 -0
- package/dist/chunks/{SwiperCarousel.BV6QiwmC.js → SwiperCarousel.DWUl3bgn.js} +132 -131
- package/dist/chunks/{index.C7BPB1tC.js → index.D6IWh9UY.js} +2 -2
- package/dist/chunks/{useKeyboardController.CXrrg8Zt.js → useKeyboardController.CutKeclN.js} +3 -6
- 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 +18 -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 +1 -4
- package/dist/index.js +53 -57
- package/package.json +19 -21
- package/dist/BaseNavItem.js +0 -58
- package/dist/UIKit/BaseNavItem.vue.d.ts +0 -93
- package/dist/assets/BaseNavItem.css +0 -1
- package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.RbxW2M0Y.js +0 -85
|
@@ -1,54 +1,38 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {
|
|
4
|
+
itemIdx: number;
|
|
5
|
+
}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
liItem: HTMLLIElement;
|
|
9
|
+
};
|
|
10
|
+
attrs: Partial<{}>;
|
|
5
11
|
};
|
|
6
|
-
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
7
14
|
label?: string;
|
|
8
15
|
active?: boolean;
|
|
9
16
|
idx?: number;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
click: (args_0: number) => void;
|
|
16
|
-
mouseover: (args_0: number) => void;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
click: (args_0: number) => any;
|
|
19
|
+
mouseover: (args_0: number) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
18
21
|
label?: string;
|
|
19
22
|
active?: boolean;
|
|
20
23
|
idx?: number;
|
|
21
|
-
}
|
|
22
|
-
label: string;
|
|
23
|
-
active: boolean;
|
|
24
|
-
idx: number;
|
|
25
|
-
}>>> & Readonly<{
|
|
24
|
+
}> & Readonly<{
|
|
26
25
|
onClick?: ((args_0: number) => any) | undefined;
|
|
27
26
|
onMouseover?: ((args_0: number) => any) | undefined;
|
|
28
27
|
}>, {
|
|
29
28
|
label: string;
|
|
30
|
-
idx: number;
|
|
31
29
|
active: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
idx: number;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
liItem: HTMLLIElement;
|
|
33
|
+
}, any>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
35
|
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
52
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
37
|
new (): {
|
|
54
38
|
$slots: S;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Nullable } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
3
2
|
type Inputs = "min-input" | "max-input";
|
|
4
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
4
|
type: {
|
|
@@ -41,36 +40,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
40
|
type: "linear" | "logarithmic";
|
|
42
41
|
}, {}, {
|
|
43
42
|
BaseInput: {
|
|
44
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
45
|
-
modelValue
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
inputClass: {
|
|
58
|
-
type: import('vue').PropType<unknown[] | import('@wikicasa-dev/types').ClassType>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
keepFloatingLabel: {
|
|
62
|
-
type: import('vue').PropType<boolean>;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
formatter: {
|
|
66
|
-
type: import('vue').PropType<Nullable<Partial<{
|
|
67
|
-
formatFn: (n: number | string) => string;
|
|
68
|
-
unFormatFn: (v: string) => string | number | null;
|
|
69
|
-
}>>>;
|
|
70
|
-
default: null;
|
|
71
|
-
};
|
|
72
|
-
}>> & Readonly<{
|
|
43
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
44
|
+
modelValue?: string | number | undefined;
|
|
45
|
+
} & {
|
|
46
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
47
|
+
labelText?: string;
|
|
48
|
+
feedback?: import('./types').FeedbackLabels;
|
|
49
|
+
isValid?: Nullable<boolean>;
|
|
50
|
+
keepFloatingLabel?: boolean;
|
|
51
|
+
formatter?: Nullable<Partial<{
|
|
52
|
+
formatFn: (n: number | string) => string;
|
|
53
|
+
unFormatFn: (v: string) => string | number | null;
|
|
54
|
+
}>>;
|
|
55
|
+
}> & Readonly<{
|
|
73
56
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
57
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
74
58
|
onFocusin?: (() => any) | undefined;
|
|
75
59
|
onFocusout?: (() => any) | undefined;
|
|
76
60
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
@@ -79,58 +63,44 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
79
63
|
}>, {
|
|
80
64
|
select: () => void;
|
|
81
65
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
82
|
-
click: (args_0: MouseEvent) =>
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
66
|
+
click: (args_0: MouseEvent) => any;
|
|
67
|
+
"update:modelValue": (modelValue: string | number | undefined) => any;
|
|
68
|
+
focusin: () => any;
|
|
69
|
+
focusout: () => any;
|
|
70
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
71
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
72
|
+
keydownEnterPressed: () => any;
|
|
88
73
|
}, import('vue').PublicProps, {
|
|
74
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
89
75
|
isValid: Nullable<boolean>;
|
|
90
76
|
labelText: string;
|
|
91
|
-
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
92
77
|
keepFloatingLabel: boolean;
|
|
93
78
|
formatter: Nullable<Partial<{
|
|
94
79
|
formatFn: (n: number | string) => string;
|
|
95
80
|
unFormatFn: (v: string) => string | number | null;
|
|
96
81
|
}>>;
|
|
97
|
-
},
|
|
82
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
98
83
|
P: {};
|
|
99
84
|
B: {};
|
|
100
85
|
D: {};
|
|
101
86
|
C: {};
|
|
102
87
|
M: {};
|
|
103
88
|
Defaults: {};
|
|
104
|
-
}, Readonly<
|
|
105
|
-
modelValue
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
inputClass: {
|
|
118
|
-
type: import('vue').PropType<unknown[] | import('@wikicasa-dev/types').ClassType>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
keepFloatingLabel: {
|
|
122
|
-
type: import('vue').PropType<boolean>;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
formatter: {
|
|
126
|
-
type: import('vue').PropType<Nullable<Partial<{
|
|
127
|
-
formatFn: (n: number | string) => string;
|
|
128
|
-
unFormatFn: (v: string) => string | number | null;
|
|
129
|
-
}>>>;
|
|
130
|
-
default: null;
|
|
131
|
-
};
|
|
132
|
-
}>> & Readonly<{
|
|
89
|
+
}, Readonly<{
|
|
90
|
+
modelValue?: string | number | undefined;
|
|
91
|
+
} & {
|
|
92
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
93
|
+
labelText?: string;
|
|
94
|
+
feedback?: import('./types').FeedbackLabels;
|
|
95
|
+
isValid?: Nullable<boolean>;
|
|
96
|
+
keepFloatingLabel?: boolean;
|
|
97
|
+
formatter?: Nullable<Partial<{
|
|
98
|
+
formatFn: (n: number | string) => string;
|
|
99
|
+
unFormatFn: (v: string) => string | number | null;
|
|
100
|
+
}>>;
|
|
101
|
+
}> & Readonly<{
|
|
133
102
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
103
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
134
104
|
onFocusin?: (() => any) | undefined;
|
|
135
105
|
onFocusout?: (() => any) | undefined;
|
|
136
106
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
@@ -139,9 +109,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
139
109
|
}>, {
|
|
140
110
|
select: () => void;
|
|
141
111
|
}, {}, {}, {}, {
|
|
112
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
142
113
|
isValid: Nullable<boolean>;
|
|
143
114
|
labelText: string;
|
|
144
|
-
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
145
115
|
keepFloatingLabel: boolean;
|
|
146
116
|
formatter: Nullable<Partial<{
|
|
147
117
|
formatFn: (n: number | string) => string;
|
|
@@ -151,36 +121,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
151
121
|
__isFragment?: never;
|
|
152
122
|
__isTeleport?: never;
|
|
153
123
|
__isSuspense?: never;
|
|
154
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
155
|
-
modelValue
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
inputClass: {
|
|
168
|
-
type: import('vue').PropType<unknown[] | import('@wikicasa-dev/types').ClassType>;
|
|
169
|
-
default: string;
|
|
170
|
-
};
|
|
171
|
-
keepFloatingLabel: {
|
|
172
|
-
type: import('vue').PropType<boolean>;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
formatter: {
|
|
176
|
-
type: import('vue').PropType<Nullable<Partial<{
|
|
177
|
-
formatFn: (n: number | string) => string;
|
|
178
|
-
unFormatFn: (v: string) => string | number | null;
|
|
179
|
-
}>>>;
|
|
180
|
-
default: null;
|
|
181
|
-
};
|
|
182
|
-
}>> & Readonly<{
|
|
124
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
125
|
+
modelValue?: string | number | undefined;
|
|
126
|
+
} & {
|
|
127
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
128
|
+
labelText?: string;
|
|
129
|
+
feedback?: import('./types').FeedbackLabels;
|
|
130
|
+
isValid?: Nullable<boolean>;
|
|
131
|
+
keepFloatingLabel?: boolean;
|
|
132
|
+
formatter?: Nullable<Partial<{
|
|
133
|
+
formatFn: (n: number | string) => string;
|
|
134
|
+
unFormatFn: (v: string) => string | number | null;
|
|
135
|
+
}>>;
|
|
136
|
+
}> & Readonly<{
|
|
183
137
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
138
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
184
139
|
onFocusin?: (() => any) | undefined;
|
|
185
140
|
onFocusout?: (() => any) | undefined;
|
|
186
141
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
@@ -189,16 +144,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
189
144
|
}>, {
|
|
190
145
|
select: () => void;
|
|
191
146
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
192
|
-
click: (args_0: MouseEvent) =>
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
147
|
+
click: (args_0: MouseEvent) => any;
|
|
148
|
+
"update:modelValue": (modelValue: string | number | undefined) => any;
|
|
149
|
+
focusin: () => any;
|
|
150
|
+
focusout: () => any;
|
|
151
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
152
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
153
|
+
keydownEnterPressed: () => any;
|
|
198
154
|
}, string, {
|
|
155
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
199
156
|
isValid: Nullable<boolean>;
|
|
200
157
|
labelText: string;
|
|
201
|
-
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
202
158
|
keepFloatingLabel: boolean;
|
|
203
159
|
formatter: Nullable<Partial<{
|
|
204
160
|
formatFn: (n: number | string) => string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Action, Nullable, SnackbarTypes } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
3
|
type?: SnackbarTypes;
|
|
5
4
|
title: string;
|
|
6
5
|
body: string;
|
|
@@ -10,13 +9,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
10
9
|
};
|
|
11
10
|
timeout?: number;
|
|
12
11
|
cb?: Nullable<Action>;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
cb: null;
|
|
17
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
-
"snackbar-hidden": () => void;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"snackbar-hidden": () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
20
15
|
type?: SnackbarTypes;
|
|
21
16
|
title: string;
|
|
22
17
|
body: string;
|
|
@@ -26,32 +21,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
21
|
};
|
|
27
22
|
timeout?: number;
|
|
28
23
|
cb?: Nullable<Action>;
|
|
29
|
-
}
|
|
30
|
-
type: string;
|
|
31
|
-
timeout: number;
|
|
32
|
-
cb: null;
|
|
33
|
-
}>>> & Readonly<{
|
|
24
|
+
}> & Readonly<{
|
|
34
25
|
"onSnackbar-hidden"?: (() => any) | undefined;
|
|
35
26
|
}>, {
|
|
36
27
|
type: SnackbarTypes;
|
|
37
28
|
timeout: number;
|
|
38
29
|
cb: Nullable<Action>;
|
|
39
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
31
|
export default _default;
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
@@ -1,57 +1,33 @@
|
|
|
1
1
|
import { Nullable } from '@wikicasa-dev/types';
|
|
2
2
|
import { FeedbackLabels } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
labelText: {
|
|
15
|
-
type: import('vue').PropType<string>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
feedback: {
|
|
19
|
-
type: import('vue').PropType<FeedbackLabels>;
|
|
20
|
-
};
|
|
21
|
-
}>, {
|
|
3
|
+
declare let __VLS_typeProps: {
|
|
4
|
+
labelText?: string;
|
|
5
|
+
feedback?: FeedbackLabels;
|
|
6
|
+
isValid?: Nullable<boolean>;
|
|
7
|
+
resize?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: string | undefined;
|
|
11
|
+
} & typeof __VLS_typeProps;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
22
13
|
disableTextarea: () => void;
|
|
23
14
|
clearTextareaElem: () => void;
|
|
24
15
|
focusDisabledTextarea: () => void;
|
|
25
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
-
click: (args_0: MouseEvent) =>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
resize: {
|
|
33
|
-
type: import('vue').PropType<boolean>;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
isValid: {
|
|
37
|
-
type: import('vue').PropType<Nullable<boolean>>;
|
|
38
|
-
default: null;
|
|
39
|
-
};
|
|
40
|
-
labelText: {
|
|
41
|
-
type: import('vue').PropType<string>;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
feedback: {
|
|
45
|
-
type: import('vue').PropType<FeedbackLabels>;
|
|
46
|
-
};
|
|
47
|
-
}>> & Readonly<{
|
|
17
|
+
click: (args_0: MouseEvent) => any;
|
|
18
|
+
"update:modelValue": (modelValue: string | undefined) => any;
|
|
19
|
+
focusin: () => any;
|
|
20
|
+
focusout: () => any;
|
|
21
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
48
23
|
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
|
|
49
25
|
onFocusin?: (() => any) | undefined;
|
|
50
26
|
onFocusout?: (() => any) | undefined;
|
|
51
27
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
52
28
|
}>, {
|
|
53
|
-
resize: boolean;
|
|
54
29
|
isValid: Nullable<boolean>;
|
|
30
|
+
resize: boolean;
|
|
55
31
|
labelText: string;
|
|
56
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
57
33
|
export default _default;
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
withRightLabel?: boolean;
|
|
3
|
+
label?: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
modelValue
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
type: import('vue').PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
-
modelValue: import('vue').PropType<boolean | undefined>;
|
|
17
|
-
label: {
|
|
18
|
-
type: import('vue').PropType<string>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
withRightLabel: {
|
|
22
|
-
type: import('vue').PropType<boolean>;
|
|
23
|
-
default: boolean;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: boolean | undefined;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
slots: {
|
|
10
|
+
leftLabel?(_: {}): any;
|
|
11
|
+
rightLabel?(_: {}): any;
|
|
24
12
|
};
|
|
25
|
-
|
|
13
|
+
refs: {};
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (modelValue: boolean | undefined) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((modelValue: boolean | undefined) => any) | undefined;
|
|
21
|
+
}>, {
|
|
26
22
|
label: string;
|
|
27
23
|
withRightLabel: boolean;
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
29
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
26
|
export default _default;
|
|
31
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
28
|
new (): {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
trigger?(_: {}): any;
|
|
5
|
+
content?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
6
9
|
};
|
|
7
|
-
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
8
12
|
theme?: {
|
|
9
13
|
color: "blue" | "white";
|
|
10
14
|
size: "sm" | "md" | "lg";
|
|
@@ -13,16 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
13
17
|
customTooltipClass?: "mail-alert" | "";
|
|
14
18
|
showTooltipContentManually?: boolean;
|
|
15
19
|
tooltipContentClasses?: ClassType;
|
|
16
|
-
}
|
|
17
|
-
theme: () => {
|
|
18
|
-
color: string;
|
|
19
|
-
size: string;
|
|
20
|
-
};
|
|
21
|
-
direction: string;
|
|
22
|
-
customTooltipClass: string;
|
|
23
|
-
showTooltipContentManually: boolean;
|
|
24
|
-
tooltipContentClasses: string;
|
|
25
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
26
21
|
theme?: {
|
|
27
22
|
color: "blue" | "white";
|
|
28
23
|
size: "sm" | "md" | "lg";
|
|
@@ -31,16 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
31
26
|
customTooltipClass?: "mail-alert" | "";
|
|
32
27
|
showTooltipContentManually?: boolean;
|
|
33
28
|
tooltipContentClasses?: ClassType;
|
|
34
|
-
}>, {
|
|
35
|
-
theme: () => {
|
|
36
|
-
color: string;
|
|
37
|
-
size: string;
|
|
38
|
-
};
|
|
39
|
-
direction: string;
|
|
40
|
-
customTooltipClass: string;
|
|
41
|
-
showTooltipContentManually: boolean;
|
|
42
|
-
tooltipContentClasses: string;
|
|
43
|
-
}>>> & Readonly<{}>, {
|
|
29
|
+
}> & Readonly<{}>, {
|
|
44
30
|
direction: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
|
|
45
31
|
theme: {
|
|
46
32
|
color: "blue" | "white";
|
|
@@ -49,26 +35,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
49
35
|
customTooltipClass: "mail-alert" | "";
|
|
50
36
|
showTooltipContentManually: boolean;
|
|
51
37
|
tooltipContentClasses: ClassType;
|
|
52
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
53
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
40
|
export default _default;
|
|
55
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: import('vue').PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
type __VLS_WithDefaults<P, D> = {
|
|
65
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
66
|
-
default: D[K];
|
|
67
|
-
}> : P[K];
|
|
68
|
-
};
|
|
69
|
-
type __VLS_Prettify<T> = {
|
|
70
|
-
[K in keyof T]: T[K];
|
|
71
|
-
} & {};
|
|
72
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
42
|
new (): {
|
|
74
43
|
$slots: S;
|