@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
|
@@ -1,132 +1,204 @@
|
|
|
1
1
|
import { Nullable, BaseAutocompleteThemes } from '@wikicasa-dev/types';
|
|
2
2
|
import { AccessibleSelectOptions } from './types';
|
|
3
|
-
|
|
4
3
|
type ModelValueType<T = unknown> = AccessibleSelectOptions<T>;
|
|
4
|
+
declare let __VLS_typeProps: {
|
|
5
|
+
border?: boolean;
|
|
6
|
+
isValid?: Nullable<boolean>;
|
|
7
|
+
theme?: BaseAutocompleteThemes;
|
|
8
|
+
label?: string;
|
|
9
|
+
disableCb?: boolean;
|
|
10
|
+
onInputChangeCb: (v: string) => Promise<AccessibleSelectOptions[]>;
|
|
11
|
+
onOptionSelectedCb?: Nullable<(v: AccessibleSelectOptions) => void>;
|
|
12
|
+
keepState?: Nullable<"closed" | "open">;
|
|
13
|
+
cleanupOnClose?: boolean;
|
|
14
|
+
dropdownClasses?: string;
|
|
15
|
+
/**
|
|
16
|
+
* If true, we will close the dropdown when the user clicks or touches the body of the document
|
|
17
|
+
*/
|
|
18
|
+
closeDropdownOnBodyPressed?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_PublicProps = {
|
|
21
|
+
modelValue?: ModelValueType | undefined;
|
|
22
|
+
} & typeof __VLS_typeProps;
|
|
5
23
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
24
|
+
slots: {
|
|
25
|
+
lefticon?(_: {}): any;
|
|
26
|
+
righticon?(_: {
|
|
27
|
+
handleClean: () => void;
|
|
28
|
+
}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {
|
|
31
|
+
baseInput: ({
|
|
32
|
+
$: import('vue').ComponentInternalInstance;
|
|
33
|
+
$data: {};
|
|
34
|
+
$props: {
|
|
35
|
+
readonly modelValue?: string | number | undefined;
|
|
36
|
+
readonly inputClass?: (import('@wikicasa-dev/types').ClassType | unknown[]) | undefined;
|
|
37
|
+
readonly labelText?: string | undefined;
|
|
38
|
+
readonly feedback?: import('./types').FeedbackLabels | undefined;
|
|
39
|
+
readonly isValid?: Nullable<boolean> | undefined;
|
|
40
|
+
readonly keepFloatingLabel?: boolean | undefined;
|
|
41
|
+
readonly formatter?: Nullable<Partial<{
|
|
42
|
+
formatFn: (n: number | string) => string;
|
|
43
|
+
unFormatFn: (v: string) => string | number | null;
|
|
44
|
+
}>> | undefined;
|
|
45
|
+
readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
46
|
+
readonly "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
47
|
+
readonly onFocusin?: (() => any) | undefined;
|
|
48
|
+
readonly onFocusout?: (() => any) | undefined;
|
|
49
|
+
readonly onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
50
|
+
readonly onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
51
|
+
readonly onKeydownEnterPressed?: (() => any) | undefined;
|
|
52
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
53
|
+
$attrs: {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$host: Element | null;
|
|
65
|
+
$emit: ((event: "click", args_0: MouseEvent) => void) & ((event: "update:modelValue", modelValue: string | number | undefined) => void) & ((event: "focusin") => void) & ((event: "focusout") => void) & ((event: "keydown", args_0: KeyboardEvent) => void) & ((event: "keyup", args_0: KeyboardEvent) => void) & ((event: "keydownEnterPressed") => void);
|
|
66
|
+
$el: any;
|
|
67
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
68
|
+
modelValue?: string | number | undefined;
|
|
69
|
+
} & {
|
|
70
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
71
|
+
labelText?: string;
|
|
72
|
+
feedback?: import('./types').FeedbackLabels;
|
|
73
|
+
isValid?: Nullable<boolean>;
|
|
74
|
+
keepFloatingLabel?: boolean;
|
|
75
|
+
formatter?: Nullable<Partial<{
|
|
76
|
+
formatFn: (n: number | string) => string;
|
|
77
|
+
unFormatFn: (v: string) => string | number | null;
|
|
78
|
+
}>>;
|
|
79
|
+
}> & Readonly<{
|
|
80
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
81
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
82
|
+
onFocusin?: (() => any) | undefined;
|
|
83
|
+
onFocusout?: (() => any) | undefined;
|
|
84
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
85
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
86
|
+
onKeydownEnterPressed?: (() => any) | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
select: () => void;
|
|
89
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
90
|
+
click: (args_0: MouseEvent) => any;
|
|
91
|
+
"update:modelValue": (modelValue: string | number | undefined) => any;
|
|
92
|
+
focusin: () => any;
|
|
93
|
+
focusout: () => any;
|
|
94
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
95
|
+
keyup: (args_0: KeyboardEvent) => any;
|
|
96
|
+
keydownEnterPressed: () => any;
|
|
97
|
+
}, string, {
|
|
98
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
99
|
+
isValid: Nullable<boolean>;
|
|
100
|
+
labelText: string;
|
|
101
|
+
keepFloatingLabel: boolean;
|
|
102
|
+
formatter: Nullable<Partial<{
|
|
103
|
+
formatFn: (n: number | string) => string;
|
|
104
|
+
unFormatFn: (v: string) => string | number | null;
|
|
105
|
+
}>>;
|
|
106
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
107
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
108
|
+
created?: (() => void) | (() => void)[];
|
|
109
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
110
|
+
mounted?: (() => void) | (() => void)[];
|
|
111
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
112
|
+
updated?: (() => void) | (() => void)[];
|
|
113
|
+
activated?: (() => void) | (() => void)[];
|
|
114
|
+
deactivated?: (() => void) | (() => void)[];
|
|
115
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
116
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
117
|
+
destroyed?: (() => void) | (() => void)[];
|
|
118
|
+
unmounted?: (() => void) | (() => void)[];
|
|
119
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
120
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
121
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
122
|
+
};
|
|
123
|
+
$forceUpdate: () => void;
|
|
124
|
+
$nextTick: typeof import('vue').nextTick;
|
|
125
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
126
|
+
} & Readonly<{
|
|
127
|
+
inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
128
|
+
isValid: Nullable<boolean>;
|
|
129
|
+
labelText: string;
|
|
130
|
+
keepFloatingLabel: boolean;
|
|
131
|
+
formatter: Nullable<Partial<{
|
|
132
|
+
formatFn: (n: number | string) => string;
|
|
133
|
+
unFormatFn: (v: string) => string | number | null;
|
|
134
|
+
}>>;
|
|
135
|
+
}> & Omit<Readonly<{
|
|
136
|
+
modelValue?: string | number | undefined;
|
|
137
|
+
} & {
|
|
138
|
+
inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
|
|
139
|
+
labelText?: string;
|
|
140
|
+
feedback?: import('./types').FeedbackLabels;
|
|
141
|
+
isValid?: Nullable<boolean>;
|
|
142
|
+
keepFloatingLabel?: boolean;
|
|
143
|
+
formatter?: Nullable<Partial<{
|
|
144
|
+
formatFn: (n: number | string) => string;
|
|
145
|
+
unFormatFn: (v: string) => string | number | null;
|
|
146
|
+
}>>;
|
|
147
|
+
}> & Readonly<{
|
|
148
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
149
|
+
"onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
|
|
150
|
+
onFocusin?: (() => any) | undefined;
|
|
151
|
+
onFocusout?: (() => any) | undefined;
|
|
152
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
153
|
+
onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
154
|
+
onKeydownEnterPressed?: (() => any) | undefined;
|
|
155
|
+
}>, "select" | ("inputClass" | "isValid" | "labelText" | "keepFloatingLabel" | "formatter")> & import('vue').ShallowUnwrapRef<{
|
|
156
|
+
select: () => void;
|
|
157
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
158
|
+
$slots: {
|
|
159
|
+
leftIcon?(_: {}): any;
|
|
160
|
+
righticon?(_: {
|
|
161
|
+
handleClean: () => void;
|
|
162
|
+
handleShowPasswd: () => void;
|
|
163
|
+
curType: string;
|
|
164
|
+
}): any;
|
|
165
|
+
feedback?(_: {}): any;
|
|
166
|
+
"under-label"?(_: {}): any;
|
|
167
|
+
};
|
|
168
|
+
}) | null;
|
|
169
|
+
};
|
|
170
|
+
attrs: Partial<{}>;
|
|
10
171
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
label: {
|
|
14
|
-
type: import('vue').PropType<string>;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
border: {
|
|
18
|
-
type: import('vue').PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
isValid: {
|
|
22
|
-
type: import('vue').PropType<Nullable<boolean>>;
|
|
23
|
-
default: null;
|
|
24
|
-
};
|
|
25
|
-
theme: {
|
|
26
|
-
type: import('vue').PropType<BaseAutocompleteThemes>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
dropdownClasses: {
|
|
30
|
-
type: import('vue').PropType<string>;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
keepState: {
|
|
34
|
-
type: import('vue').PropType<Nullable<"closed" | "open">>;
|
|
35
|
-
default: null;
|
|
36
|
-
};
|
|
37
|
-
disableCb: {
|
|
38
|
-
type: import('vue').PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
onInputChangeCb: {
|
|
42
|
-
type: import('vue').PropType<(v: string) => Promise<AccessibleSelectOptions[]>>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
onOptionSelectedCb: {
|
|
46
|
-
type: import('vue').PropType<Nullable<(v: AccessibleSelectOptions) => void>>;
|
|
47
|
-
default: null;
|
|
48
|
-
};
|
|
49
|
-
cleanupOnClose: {
|
|
50
|
-
type: import('vue').PropType<boolean>;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
closeDropdownOnBodyPressed: {
|
|
54
|
-
type: import('vue').PropType<boolean>;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
}>, {
|
|
172
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
173
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
58
174
|
select: () => void;
|
|
59
175
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
|
-
click: () =>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
label: {
|
|
68
|
-
type: import('vue').PropType<string>;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
border: {
|
|
72
|
-
type: import('vue').PropType<boolean>;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
isValid: {
|
|
76
|
-
type: import('vue').PropType<Nullable<boolean>>;
|
|
77
|
-
default: null;
|
|
78
|
-
};
|
|
79
|
-
theme: {
|
|
80
|
-
type: import('vue').PropType<BaseAutocompleteThemes>;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
dropdownClasses: {
|
|
84
|
-
type: import('vue').PropType<string>;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
keepState: {
|
|
88
|
-
type: import('vue').PropType<Nullable<"closed" | "open">>;
|
|
89
|
-
default: null;
|
|
90
|
-
};
|
|
91
|
-
disableCb: {
|
|
92
|
-
type: import('vue').PropType<boolean>;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
onInputChangeCb: {
|
|
96
|
-
type: import('vue').PropType<(v: string) => Promise<AccessibleSelectOptions[]>>;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
onOptionSelectedCb: {
|
|
100
|
-
type: import('vue').PropType<Nullable<(v: AccessibleSelectOptions) => void>>;
|
|
101
|
-
default: null;
|
|
102
|
-
};
|
|
103
|
-
cleanupOnClose: {
|
|
104
|
-
type: import('vue').PropType<boolean>;
|
|
105
|
-
default: boolean;
|
|
106
|
-
};
|
|
107
|
-
closeDropdownOnBodyPressed: {
|
|
108
|
-
type: import('vue').PropType<boolean>;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
}>> & Readonly<{
|
|
176
|
+
click: () => any;
|
|
177
|
+
"update:modelValue": (modelValue: ModelValueType<unknown> | undefined) => any;
|
|
178
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
179
|
+
keydownEnterPressed: () => any;
|
|
180
|
+
"update:dropdownState": (args_0: boolean) => any;
|
|
181
|
+
changedValue: (args_0: string) => any;
|
|
182
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
112
183
|
onClick?: (() => any) | undefined;
|
|
184
|
+
"onUpdate:modelValue"?: ((modelValue: ModelValueType<unknown> | undefined) => any) | undefined;
|
|
113
185
|
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
114
186
|
onKeydownEnterPressed?: (() => any) | undefined;
|
|
115
187
|
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
116
188
|
onChangedValue?: ((args_0: string) => any) | undefined;
|
|
117
189
|
}>, {
|
|
118
190
|
label: string;
|
|
119
|
-
border: boolean;
|
|
120
191
|
isValid: Nullable<boolean>;
|
|
121
|
-
|
|
192
|
+
border: boolean;
|
|
122
193
|
dropdownClasses: string;
|
|
123
194
|
keepState: Nullable<"closed" | "open">;
|
|
195
|
+
theme: BaseAutocompleteThemes;
|
|
124
196
|
disableCb: boolean;
|
|
125
197
|
onOptionSelectedCb: Nullable<(v: AccessibleSelectOptions) => void>;
|
|
126
198
|
cleanupOnClose: boolean;
|
|
127
199
|
closeDropdownOnBodyPressed: boolean;
|
|
128
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
129
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
200
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
201
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
130
202
|
export default _default;
|
|
131
203
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
132
204
|
new (): {
|
|
@@ -1,36 +1,20 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
3
7
|
};
|
|
4
|
-
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
5
10
|
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
6
|
-
}
|
|
7
|
-
badgeClass: string;
|
|
8
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
9
12
|
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
10
|
-
}>, {
|
|
11
|
-
badgeClass: string;
|
|
12
|
-
}>>> & Readonly<{}>, {
|
|
13
|
+
}> & Readonly<{}>, {
|
|
13
14
|
badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
17
|
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
19
|
new (): {
|
|
36
20
|
$slots: S;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
3
2
|
type BreadcrumbItemsType = {
|
|
4
3
|
link: string;
|
|
5
4
|
label: string;
|
|
@@ -10,31 +9,27 @@ type BreadcrumbItemsTypeWithIdx = BreadcrumbItemsType & {
|
|
|
10
9
|
idx: number;
|
|
11
10
|
};
|
|
12
11
|
declare function __VLS_template(): {
|
|
13
|
-
|
|
14
|
-
item:
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
slots: {
|
|
13
|
+
item?(_: {
|
|
14
|
+
item: BreadcrumbItemsTypeWithIdx;
|
|
15
|
+
}): any;
|
|
16
|
+
separator?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
attrs: Partial<{}>;
|
|
17
20
|
};
|
|
18
|
-
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
19
23
|
items: BreadcrumbItemsType[];
|
|
20
24
|
listClasses?: ClassType;
|
|
21
25
|
listItemClasses?: ClassType;
|
|
22
|
-
}
|
|
26
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
23
27
|
items: BreadcrumbItemsType[];
|
|
24
28
|
listClasses?: ClassType;
|
|
25
29
|
listItemClasses?: ClassType;
|
|
26
|
-
}
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
30
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
32
|
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
34
|
new (): {
|
|
40
35
|
$slots: S;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { ButtonTypes } from '@wikicasa-dev/types';
|
|
2
|
-
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {
|
|
5
|
+
hover: boolean;
|
|
6
|
+
}): any;
|
|
7
|
+
spinner?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
attrs: Partial<{}>;
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
10
14
|
lazyLoadIcon?: boolean;
|
|
11
15
|
btnClass?: ButtonTypes;
|
|
12
16
|
outlined?: boolean;
|
|
@@ -18,23 +22,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
22
|
keepActive?: boolean;
|
|
19
23
|
isLoading?: boolean;
|
|
20
24
|
disabled?: boolean;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
iconName: string;
|
|
27
|
-
iconNameHovering: string;
|
|
28
|
-
iconClass: string;
|
|
29
|
-
isEmpty: boolean;
|
|
30
|
-
keepActive: boolean;
|
|
31
|
-
isLoading: boolean;
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
|
-
click: (e: Event) => void;
|
|
35
|
-
mouseout: (e: Event) => void;
|
|
36
|
-
mouseover: (e: Event) => void;
|
|
37
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
click: (e: Event) => any;
|
|
27
|
+
mouseover: (e: Event) => any;
|
|
28
|
+
mouseout: (e: Event) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
38
30
|
lazyLoadIcon?: boolean;
|
|
39
31
|
btnClass?: ButtonTypes;
|
|
40
32
|
outlined?: boolean;
|
|
@@ -46,25 +38,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
46
38
|
keepActive?: boolean;
|
|
47
39
|
isLoading?: boolean;
|
|
48
40
|
disabled?: boolean;
|
|
49
|
-
}
|
|
50
|
-
lazyLoadIcon: boolean;
|
|
51
|
-
btnClass: string;
|
|
52
|
-
outlined: boolean;
|
|
53
|
-
size: string;
|
|
54
|
-
iconName: string;
|
|
55
|
-
iconNameHovering: string;
|
|
56
|
-
iconClass: string;
|
|
57
|
-
isEmpty: boolean;
|
|
58
|
-
keepActive: boolean;
|
|
59
|
-
isLoading: boolean;
|
|
60
|
-
disabled: boolean;
|
|
61
|
-
}>>> & Readonly<{
|
|
41
|
+
}> & Readonly<{
|
|
62
42
|
onClick?: ((e: Event) => any) | undefined;
|
|
63
|
-
onMouseout?: ((e: Event) => any) | undefined;
|
|
64
43
|
onMouseover?: ((e: Event) => any) | undefined;
|
|
44
|
+
onMouseout?: ((e: Event) => any) | undefined;
|
|
65
45
|
}>, {
|
|
66
|
-
size: "sm" | "lg" | "";
|
|
67
46
|
disabled: boolean;
|
|
47
|
+
size: "sm" | "lg" | "";
|
|
68
48
|
iconName: string;
|
|
69
49
|
iconClass: string;
|
|
70
50
|
lazyLoadIcon: boolean;
|
|
@@ -74,26 +54,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
74
54
|
isEmpty: boolean;
|
|
75
55
|
keepActive: boolean;
|
|
76
56
|
isLoading: boolean;
|
|
77
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
78
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
79
59
|
export default _default;
|
|
80
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
81
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
82
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
83
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
84
|
-
} : {
|
|
85
|
-
type: import('vue').PropType<T[K]>;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
type __VLS_WithDefaults<P, D> = {
|
|
90
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
91
|
-
default: D[K];
|
|
92
|
-
}> : P[K];
|
|
93
|
-
};
|
|
94
|
-
type __VLS_Prettify<T> = {
|
|
95
|
-
[K in keyof T]: T[K];
|
|
96
|
-
} & {};
|
|
97
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
98
61
|
new (): {
|
|
99
62
|
$slots: S;
|
|
@@ -1,59 +1,36 @@
|
|
|
1
1
|
import { ClassType } from '@wikicasa-dev/types';
|
|
2
2
|
import { CardRootTypes, CardTypes } from './types';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
"card-image"?(_: {}): any;
|
|
6
|
+
"card-description"?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
7
10
|
};
|
|
8
|
-
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
9
13
|
type?: CardTypes;
|
|
10
14
|
rootComponent?: CardRootTypes;
|
|
11
15
|
cardImgClasses?: ClassType;
|
|
12
16
|
cardBodyClasses?: ClassType;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
cardImgClasses: string;
|
|
17
|
-
cardBodyClasses: string;
|
|
18
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
click: () => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
click: () => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
21
20
|
type?: CardTypes;
|
|
22
21
|
rootComponent?: CardRootTypes;
|
|
23
22
|
cardImgClasses?: ClassType;
|
|
24
23
|
cardBodyClasses?: ClassType;
|
|
25
|
-
}
|
|
26
|
-
type: string;
|
|
27
|
-
rootComponent: string;
|
|
28
|
-
cardImgClasses: string;
|
|
29
|
-
cardBodyClasses: string;
|
|
30
|
-
}>>> & Readonly<{
|
|
24
|
+
}> & Readonly<{
|
|
31
25
|
onClick?: (() => any) | undefined;
|
|
32
26
|
}>, {
|
|
33
27
|
type: CardTypes;
|
|
34
28
|
rootComponent: CardRootTypes;
|
|
35
29
|
cardImgClasses: ClassType;
|
|
36
30
|
cardBodyClasses: ClassType;
|
|
37
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
38
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
33
|
export default _default;
|
|
40
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
-
} : {
|
|
45
|
-
type: import('vue').PropType<T[K]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
type __VLS_WithDefaults<P, D> = {
|
|
50
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
-
default: D[K];
|
|
52
|
-
}> : P[K];
|
|
53
|
-
};
|
|
54
|
-
type __VLS_Prettify<T> = {
|
|
55
|
-
[K in keyof T]: T[K];
|
|
56
|
-
} & {};
|
|
57
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
35
|
new (): {
|
|
59
36
|
$slots: S;
|