@pequity/squirrel 5.4.1 → 5.4.2
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/cjs/chunks/p-action-bar.js +10 -11
- package/dist/cjs/chunks/p-date-picker.js +108 -0
- package/dist/cjs/chunks/p-dropdown-select.js +7 -8
- package/dist/cjs/chunks/p-inline-date-picker.js +112 -0
- package/dist/cjs/chunks/p-input-percent.js +3 -5
- package/dist/cjs/chunks/p-pagination-info.js +1 -1
- package/dist/cjs/chunks/p-pagination.js +12 -16
- package/dist/cjs/index.js +47 -52
- package/dist/cjs/p-btn.js +8 -5
- package/dist/cjs/p-chips.js +3 -5
- package/dist/cjs/p-date-picker.js +2 -138
- package/dist/cjs/p-info-icon.js +1 -3
- package/dist/cjs/p-inline-date-picker.js +2 -143
- package/dist/cjs/p-table-td.js +3 -5
- package/dist/es/chunks/p-action-bar.js +10 -11
- package/dist/es/chunks/p-date-picker.js +109 -0
- package/dist/es/chunks/p-dropdown-select.js +7 -8
- package/dist/es/chunks/p-inline-date-picker.js +113 -0
- package/dist/es/chunks/p-input-percent.js +3 -5
- package/dist/es/chunks/p-pagination-info.js +1 -1
- package/dist/es/chunks/p-pagination.js +12 -16
- package/dist/es/index.js +96 -101
- package/dist/es/p-btn.js +8 -5
- package/dist/es/p-chips.js +4 -6
- package/dist/es/p-date-picker.js +2 -138
- package/dist/es/p-info-icon.js +2 -4
- package/dist/es/p-inline-date-picker.js +2 -143
- package/dist/es/p-table-td.js +4 -6
- package/dist/squirrel/components/p-action-bar/p-action-bar.vue.d.ts +5 -14
- package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +4 -4
- package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +5 -5
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +40 -5
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +4 -4
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +5 -5
- package/dist/squirrel/components/p-chips/p-chips.vue.d.ts +5 -5
- package/dist/squirrel/components/p-close-btn/p-close-btn.vue.d.ts +4 -4
- package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +35 -128
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +37 -5
- package/dist/squirrel/components/p-dropdown/p-dropdown.vue.d.ts +5 -5
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +128 -29
- package/dist/squirrel/components/p-file-upload/p-file-upload.vue.d.ts +5 -5
- package/dist/squirrel/components/p-icon/p-icon.vue.d.ts +1 -10
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -23
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +9 -9
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +40 -10
- package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +5 -5
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +121 -5
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +1 -10
- package/dist/squirrel/components/p-loading/p-loading.vue.d.ts +1 -1
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +5 -5
- package/dist/squirrel/components/p-pagination/p-pagination.vue.d.ts +5 -5
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +4 -4
- package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +3 -3
- package/dist/squirrel/components/p-ring-loader/p-ring-loader.vue.d.ts +4 -4
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +5 -5
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +4 -45
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +128 -29
- package/dist/squirrel/components/p-select-list/useSelectList.d.ts +4 -4
- package/dist/squirrel/components/p-select-pill/p-select-pill.vue.d.ts +5 -5
- package/dist/squirrel/components/p-skeleton-loader/p-skeleton-loader.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -47
- package/dist/squirrel/components/p-table/usePTableColResize.d.ts +4 -4
- package/dist/squirrel/components/p-table/usePTableRowVirtualizer.d.ts +10 -4
- package/dist/squirrel/components/p-table-header-cell/p-table-filter-icon.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +48 -5
- package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +4 -4
- package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +5 -5
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -25
- package/dist/squirrel/components/p-tabs/p-tabs.vue.d.ts +5 -5
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +9 -9
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +9 -9
- package/dist/squirrel/composables/useInputClasses.d.ts +1 -1
- package/dist/squirrel/utils/inputClassesMixin.d.ts +4 -4
- package/package.json +24 -24
- package/squirrel/components/p-btn/p-btn.spec.js +33 -4
- package/squirrel/components/p-btn/p-btn.vue +5 -2
- package/squirrel/components/p-date-picker/p-date-picker.vue +79 -86
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +12 -14
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue +87 -99
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +0 -154
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InputSize } from '../../utils/inputClassesShared';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
|
-
}
|
|
17
|
+
}>, {}, {
|
|
18
18
|
query: string;
|
|
19
19
|
showEnterIconOnFocus: boolean;
|
|
20
20
|
}, {
|
|
@@ -38,12 +38,128 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
type: BooleanConstructor;
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
|
-
}>> & {
|
|
41
|
+
}>> & Readonly<{
|
|
42
42
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}
|
|
44
|
+
}>, {
|
|
45
45
|
size: "sm" | "lg" | "md";
|
|
46
46
|
modelValue: string;
|
|
47
47
|
showEnterIcon: boolean;
|
|
48
|
-
}, {}
|
|
48
|
+
}, {}, {
|
|
49
|
+
PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
type: {
|
|
55
|
+
type: PropType<string>;
|
|
56
|
+
default: string;
|
|
57
|
+
validator(value: string): boolean;
|
|
58
|
+
};
|
|
59
|
+
label: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
errorMsg: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
required: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
rounded: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
}>, {}, {}, {
|
|
76
|
+
attrs(): {
|
|
77
|
+
[x: string]: unknown;
|
|
78
|
+
};
|
|
79
|
+
style(): import("vue").StyleValue;
|
|
80
|
+
}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
81
|
+
size: {
|
|
82
|
+
type: PropType<InputSize>;
|
|
83
|
+
default: string;
|
|
84
|
+
validator(value: InputSize): boolean;
|
|
85
|
+
};
|
|
86
|
+
errorMsg: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
required: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
rounded: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
}>, {}, {
|
|
99
|
+
errorMsgClasses: string;
|
|
100
|
+
}, {
|
|
101
|
+
inputClasses(): string;
|
|
102
|
+
labelClasses(): string;
|
|
103
|
+
selectClasses(): string;
|
|
104
|
+
textareaClasses(): string;
|
|
105
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
106
|
+
size: {
|
|
107
|
+
type: PropType<InputSize>;
|
|
108
|
+
default: string;
|
|
109
|
+
validator(value: InputSize): boolean;
|
|
110
|
+
};
|
|
111
|
+
errorMsg: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
required: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
rounded: {
|
|
120
|
+
type: BooleanConstructor;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
}>> & Readonly<{}>, {
|
|
124
|
+
size: "sm" | "lg" | "md";
|
|
125
|
+
rounded: boolean;
|
|
126
|
+
required: boolean;
|
|
127
|
+
errorMsg: string;
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
+
modelValue: {
|
|
130
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
type: {
|
|
134
|
+
type: PropType<string>;
|
|
135
|
+
default: string;
|
|
136
|
+
validator(value: string): boolean;
|
|
137
|
+
};
|
|
138
|
+
label: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
errorMsg: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
required: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
rounded: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
}>> & Readonly<{
|
|
155
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
}>, {
|
|
157
|
+
type: string;
|
|
158
|
+
label: string;
|
|
159
|
+
rounded: boolean;
|
|
160
|
+
required: boolean;
|
|
161
|
+
modelValue: string | number;
|
|
162
|
+
errorMsg: string;
|
|
163
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
164
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
165
|
export default _default;
|
|
@@ -8,18 +8,9 @@ declare function __VLS_template(): {
|
|
|
8
8
|
attrs: Partial<{}>;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<RouterLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouterLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
13
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToOption<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
15
|
new (): {
|
|
25
16
|
$slots: S;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare function __VLS_template(): {
|
|
|
14
14
|
attrs: Partial<{}>;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
18
|
name: {
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
@@ -91,7 +91,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
91
91
|
type: StringConstructor;
|
|
92
92
|
default: string;
|
|
93
93
|
};
|
|
94
|
-
}
|
|
94
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
95
95
|
"update:modelValue": (...args: any[]) => void;
|
|
96
96
|
"before-open": (...args: any[]) => void;
|
|
97
97
|
opening: (...args: any[]) => void;
|
|
@@ -176,7 +176,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
176
176
|
type: StringConstructor;
|
|
177
177
|
default: string;
|
|
178
178
|
};
|
|
179
|
-
}>> & {
|
|
179
|
+
}>> & Readonly<{
|
|
180
180
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
181
181
|
"onBefore-open"?: ((...args: any[]) => any) | undefined;
|
|
182
182
|
onOpening?: ((...args: any[]) => any) | undefined;
|
|
@@ -184,7 +184,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
184
184
|
"onBefore-close"?: ((...args: any[]) => any) | undefined;
|
|
185
185
|
onClosing?: ((...args: any[]) => any) | undefined;
|
|
186
186
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
187
|
-
}
|
|
187
|
+
}>, {
|
|
188
188
|
maxWidth: string;
|
|
189
189
|
name: string;
|
|
190
190
|
title: string;
|
|
@@ -204,7 +204,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
204
204
|
modalStyle: StyleValue;
|
|
205
205
|
bgInClass: string;
|
|
206
206
|
bgOutClass: string;
|
|
207
|
-
}, {}>;
|
|
207
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
208
208
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
209
209
|
export default _default;
|
|
210
210
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* The current page.
|
|
5
5
|
*/
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
-
}
|
|
38
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
"update:modelValue": (...args: any[]) => void;
|
|
40
40
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
/**
|
|
@@ -73,13 +73,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
}>> & {
|
|
76
|
+
}>> & Readonly<{
|
|
77
77
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
}
|
|
78
|
+
}>, {
|
|
79
79
|
loading: boolean;
|
|
80
80
|
modelValue: number | null;
|
|
81
81
|
count: number;
|
|
82
82
|
pageSize: number;
|
|
83
83
|
pageOffset: number;
|
|
84
|
-
}, {}>;
|
|
84
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
85
85
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare function __VLS_template(): {
|
|
|
6
6
|
attrs: Partial<{}>;
|
|
7
7
|
};
|
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
/**
|
|
11
11
|
* The current page.
|
|
12
12
|
*/
|
|
@@ -35,7 +35,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
-
}
|
|
38
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
39
|
/**
|
|
40
40
|
* The current page.
|
|
41
41
|
*/
|
|
@@ -64,12 +64,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
64
64
|
type: BooleanConstructor;
|
|
65
65
|
default: boolean;
|
|
66
66
|
};
|
|
67
|
-
}
|
|
67
|
+
}>> & Readonly<{}>, {
|
|
68
68
|
loading: boolean;
|
|
69
69
|
count: number;
|
|
70
70
|
pageSize: number;
|
|
71
71
|
currentPage: number;
|
|
72
|
-
}, {}>;
|
|
72
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
73
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
74
74
|
export default _default;
|
|
75
75
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,7 +4,7 @@ export type ProgressItem = {
|
|
|
4
4
|
color: string;
|
|
5
5
|
label?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
total: {
|
|
9
9
|
type: PropType<number>;
|
|
10
10
|
required: true;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
type: PropType<ProgressItem[]>;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
total: {
|
|
18
18
|
type: PropType<number>;
|
|
19
19
|
required: true;
|
|
@@ -22,5 +22,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: PropType<ProgressItem[]>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
size: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
default: string;
|
|
13
13
|
validator(value: string): boolean;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
size: {
|
|
17
17
|
type: NumberConstructor;
|
|
18
18
|
default: number;
|
|
@@ -26,9 +26,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: string;
|
|
27
27
|
validator(value: string): boolean;
|
|
28
28
|
};
|
|
29
|
-
}
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
30
|
size: number;
|
|
31
31
|
color: string;
|
|
32
32
|
duration: string;
|
|
33
|
-
}, {}>;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
|
|
|
11
11
|
attrs: Partial<{}>;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
15
|
modelValue: {
|
|
16
16
|
type: PropType<string | number | boolean | null>;
|
|
17
17
|
default: string;
|
|
@@ -45,7 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
45
45
|
type: PropType<string | number | boolean | null>;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
|
-
}
|
|
48
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
49
|
"update:modelValue": (...args: any[]) => void;
|
|
50
50
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
modelValue: {
|
|
@@ -81,9 +81,9 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
81
81
|
type: PropType<string | number | boolean | null>;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
|
-
}>> & {
|
|
84
|
+
}>> & Readonly<{
|
|
85
85
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
}
|
|
86
|
+
}>, {
|
|
87
87
|
size: "sm" | "lg" | "md";
|
|
88
88
|
label: string;
|
|
89
89
|
required: boolean;
|
|
@@ -92,7 +92,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
92
92
|
itemText: string;
|
|
93
93
|
errorMsg: string;
|
|
94
94
|
itemValue: string | number | boolean | null;
|
|
95
|
-
}, {}>;
|
|
95
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
96
96
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
97
97
|
export default _default;
|
|
98
98
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -22,35 +22,11 @@ declare function __VLS_template(): {
|
|
|
22
22
|
attrs: Partial<{}>;
|
|
23
23
|
};
|
|
24
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
26
|
-
modelValue: null;
|
|
27
|
-
items: () => never[];
|
|
28
|
-
itemValue: string;
|
|
29
|
-
itemText: string;
|
|
30
|
-
itemTooltipText: string;
|
|
31
|
-
size: string;
|
|
32
|
-
showTooltip: boolean;
|
|
33
|
-
highlightSelected: boolean;
|
|
34
|
-
grow: boolean;
|
|
35
|
-
multiple: boolean;
|
|
36
|
-
noPadding: boolean;
|
|
37
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
26
|
"update:modelValue": (...args: any[]) => void;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
40
|
-
modelValue: null;
|
|
41
|
-
items: () => never[];
|
|
42
|
-
itemValue: string;
|
|
43
|
-
itemText: string;
|
|
44
|
-
itemTooltipText: string;
|
|
45
|
-
size: string;
|
|
46
|
-
showTooltip: boolean;
|
|
47
|
-
highlightSelected: boolean;
|
|
48
|
-
grow: boolean;
|
|
49
|
-
multiple: boolean;
|
|
50
|
-
noPadding: boolean;
|
|
51
|
-
}>>> & {
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
52
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
}
|
|
29
|
+
}>, {
|
|
54
30
|
size: Size;
|
|
55
31
|
modelValue: string | number | null | BtnGroupItem[];
|
|
56
32
|
items: BtnGroupItem[] | readonly BtnGroupItem[];
|
|
@@ -62,28 +38,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
62
38
|
showTooltip: boolean;
|
|
63
39
|
highlightSelected: boolean;
|
|
64
40
|
noPadding: boolean;
|
|
65
|
-
}, {}>;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
43
|
export default _default;
|
|
68
|
-
type __VLS_WithDefaults<P, D> = {
|
|
69
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
70
|
-
default: D[K];
|
|
71
|
-
}> : P[K];
|
|
72
|
-
};
|
|
73
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
74
|
-
type __VLS_TypePropsToOption<T> = {
|
|
75
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
76
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
77
|
-
} : {
|
|
78
|
-
type: import('vue').PropType<T[K]>;
|
|
79
|
-
required: true;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
83
45
|
new (): {
|
|
84
46
|
$slots: S;
|
|
85
47
|
};
|
|
86
48
|
};
|
|
87
|
-
type __VLS_PrettifyLocal<T> = {
|
|
88
|
-
[K in keyof T]: T[K];
|
|
89
|
-
} & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AnyObject, type AnyValue, type ModelValue, type Size } from './p-select-list.types';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
2
|
+
import { type PropType, type StyleValue } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
slots: Readonly<{
|
|
5
5
|
'selected-item'(props: {
|
|
@@ -25,7 +25,7 @@ declare function __VLS_template(): {
|
|
|
25
25
|
refs: {
|
|
26
26
|
formControl: HTMLDivElement;
|
|
27
27
|
actionsContainer: HTMLDivElement;
|
|
28
|
-
inputSearch: import("vue").
|
|
28
|
+
inputSearch: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
modelValue: {
|
|
30
30
|
type: StringConstructor;
|
|
31
31
|
default: string;
|
|
@@ -39,10 +39,10 @@ declare function __VLS_template(): {
|
|
|
39
39
|
type: BooleanConstructor;
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
|
-
}>> & {
|
|
42
|
+
}>> & Readonly<{
|
|
43
43
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
}
|
|
45
|
+
}>, {}, {
|
|
46
46
|
query: string;
|
|
47
47
|
showEnterIconOnFocus: boolean;
|
|
48
48
|
}, {
|
|
@@ -52,28 +52,127 @@ declare function __VLS_template(): {
|
|
|
52
52
|
}, {
|
|
53
53
|
clearSearch(): void;
|
|
54
54
|
keydownEnter(): void;
|
|
55
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").
|
|
56
|
-
modelValue: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
size: {
|
|
61
|
-
type: PropType<import("../..").InputSize>;
|
|
62
|
-
default: string;
|
|
63
|
-
validator(value: import("../..").InputSize): boolean;
|
|
64
|
-
};
|
|
65
|
-
showEnterIcon: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
}>> & {
|
|
70
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
onEnter?: ((...args: any[]) => any) | undefined;
|
|
72
|
-
}, {
|
|
55
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "enter")[], import("vue").PublicProps, {
|
|
73
56
|
size: "sm" | "lg" | "md";
|
|
74
57
|
modelValue: string;
|
|
75
58
|
showEnterIcon: boolean;
|
|
76
59
|
}, true, {}, {}, {
|
|
60
|
+
PInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
61
|
+
modelValue: {
|
|
62
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
type: {
|
|
66
|
+
type: PropType<string>;
|
|
67
|
+
default: string;
|
|
68
|
+
validator(value: string): boolean;
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
errorMsg: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
required: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
rounded: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>, {}, {}, {
|
|
87
|
+
attrs(): {
|
|
88
|
+
[x: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
style(): StyleValue;
|
|
91
|
+
}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
92
|
+
size: {
|
|
93
|
+
type: PropType<import("../..").InputSize>;
|
|
94
|
+
default: string;
|
|
95
|
+
validator(value: import("../..").InputSize): boolean;
|
|
96
|
+
};
|
|
97
|
+
errorMsg: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
required: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
rounded: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
}>, {}, {
|
|
110
|
+
errorMsgClasses: string;
|
|
111
|
+
}, {
|
|
112
|
+
inputClasses(): string;
|
|
113
|
+
labelClasses(): string;
|
|
114
|
+
selectClasses(): string;
|
|
115
|
+
textareaClasses(): string;
|
|
116
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
+
size: {
|
|
118
|
+
type: PropType<import("../..").InputSize>;
|
|
119
|
+
default: string;
|
|
120
|
+
validator(value: import("../..").InputSize): boolean;
|
|
121
|
+
};
|
|
122
|
+
errorMsg: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
required: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
rounded: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
}>> & Readonly<{}>, {
|
|
135
|
+
size: "sm" | "lg" | "md";
|
|
136
|
+
rounded: boolean;
|
|
137
|
+
required: boolean;
|
|
138
|
+
errorMsg: string;
|
|
139
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
+
modelValue: {
|
|
141
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
type: {
|
|
145
|
+
type: PropType<string>;
|
|
146
|
+
default: string;
|
|
147
|
+
validator(value: string): boolean;
|
|
148
|
+
};
|
|
149
|
+
label: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
errorMsg: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
required: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
rounded: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
}>> & Readonly<{
|
|
166
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
167
|
+
}>, {
|
|
168
|
+
type: string;
|
|
169
|
+
label: string;
|
|
170
|
+
rounded: boolean;
|
|
171
|
+
required: boolean;
|
|
172
|
+
modelValue: string | number;
|
|
173
|
+
errorMsg: string;
|
|
174
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
} & import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
77
176
|
P: {};
|
|
78
177
|
B: {};
|
|
79
178
|
D: {};
|
|
@@ -94,10 +193,10 @@ declare function __VLS_template(): {
|
|
|
94
193
|
type: BooleanConstructor;
|
|
95
194
|
default: boolean;
|
|
96
195
|
};
|
|
97
|
-
}>> & {
|
|
196
|
+
}>> & Readonly<{
|
|
98
197
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
99
198
|
onEnter?: ((...args: any[]) => any) | undefined;
|
|
100
|
-
}
|
|
199
|
+
}>, {}, {
|
|
101
200
|
query: string;
|
|
102
201
|
showEnterIconOnFocus: boolean;
|
|
103
202
|
}, {
|
|
@@ -117,7 +216,7 @@ declare function __VLS_template(): {
|
|
|
117
216
|
attrs: Partial<{}>;
|
|
118
217
|
};
|
|
119
218
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
120
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
219
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
121
220
|
modelValue: {
|
|
122
221
|
type: PropType<ModelValue>;
|
|
123
222
|
default: null;
|
|
@@ -225,7 +324,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
225
324
|
type: BooleanConstructor;
|
|
226
325
|
default: boolean;
|
|
227
326
|
};
|
|
228
|
-
}
|
|
327
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
229
328
|
select: (...args: any[]) => void;
|
|
230
329
|
"update:modelValue": (...args: any[]) => void;
|
|
231
330
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -336,10 +435,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
336
435
|
type: BooleanConstructor;
|
|
337
436
|
default: boolean;
|
|
338
437
|
};
|
|
339
|
-
}>> & {
|
|
438
|
+
}>> & Readonly<{
|
|
340
439
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
341
440
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
342
|
-
}
|
|
441
|
+
}>, {
|
|
343
442
|
size: "sm" | "lg" | "md";
|
|
344
443
|
label: string;
|
|
345
444
|
required: boolean;
|
|
@@ -358,7 +457,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
358
457
|
selectedTopShown: boolean;
|
|
359
458
|
topSectionClass: string;
|
|
360
459
|
closePopperOnSelect: boolean;
|
|
361
|
-
}, {}>;
|
|
460
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
362
461
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
363
462
|
export default _default;
|
|
364
463
|
type __VLS_WithTemplateSlots<T, S> = T & {
|