@pequity/squirrel 8.0.1 → 8.0.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 +6 -9
- package/dist/cjs/usePLoading.js +7 -1
- package/dist/es/chunks/p-action-bar.js +6 -9
- package/dist/es/usePLoading.js +7 -1
- package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +3 -2
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +1 -1
- package/dist/squirrel/components/p-card/p-card.vue.d.ts +2 -19
- package/dist/squirrel/components/p-checkbox/p-checkbox.vue.d.ts +2 -37
- package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +3 -2
- package/dist/squirrel/components/p-info-icon/p-info-icon.vue.d.ts +2 -9
- package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +3 -33
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +6 -4
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +3 -107
- package/dist/squirrel/components/p-link/p-link.vue.d.ts +3 -11
- package/dist/squirrel/components/p-loading/usePLoading.d.ts +1 -0
- package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +2 -227
- package/dist/squirrel/components/p-pagination-info/p-pagination-info.vue.d.ts +2 -74
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +3 -110
- package/dist/squirrel/components/p-select-btn/p-select-btn.vue.d.ts +2 -29
- package/dist/squirrel/components/p-table/p-table.vue.d.ts +10 -5
- package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +1 -1
- package/dist/squirrel/components/p-table-td/p-table-td.vue.d.ts +2 -19
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +3 -72
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +2 -2
- package/package.json +14 -14
- package/squirrel/components/p-action-bar/p-action-bar.spec.ts +17 -11
- package/squirrel/components/p-action-bar/p-action-bar.vue +6 -6
- package/squirrel/components/p-loading/p-loading.spec.js +35 -2
- package/squirrel/components/p-loading/usePLoading.ts +10 -1
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import PAlert from '../p-alert/p-alert.vue';
|
|
2
|
-
import PCloseBtn from '../p-close-btn/p-close-btn.vue';
|
|
3
1
|
import { type PropType, type StyleValue } from 'vue';
|
|
4
|
-
declare const zIndex: import("vue").Ref<number, number>;
|
|
5
|
-
declare const id: import("vue").Ref<string, string>;
|
|
6
|
-
declare const show: import("vue").Ref<boolean, boolean>;
|
|
7
|
-
declare const mount: import("vue").Ref<boolean, boolean>;
|
|
8
|
-
declare const pmWrapper: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
9
|
-
declare const close: () => void;
|
|
10
|
-
declare const clickOutside: (e: MouseEvent) => void;
|
|
11
|
-
declare const keydown: (e: KeyboardEvent) => void;
|
|
12
|
-
declare const beforeOpen: () => void;
|
|
13
|
-
declare const opening: () => void;
|
|
14
|
-
declare const afterOpen: () => void;
|
|
15
|
-
declare const beforeClose: () => void;
|
|
16
|
-
declare const closing: () => void;
|
|
17
|
-
declare const afterClose: () => void;
|
|
18
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
2
|
declare var __VLS_22: {}, __VLS_34: {}, __VLS_36: {}, __VLS_38: {}, __VLS_40: {};
|
|
20
|
-
type __VLS_Slots =
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
21
4
|
'title-wrapper'?: (props: typeof __VLS_22) => any;
|
|
22
5
|
} & {
|
|
23
6
|
'content-wrapper'?: (props: typeof __VLS_34) => any;
|
|
@@ -27,215 +10,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
27
10
|
'footer-wrapper'?: (props: typeof __VLS_38) => any;
|
|
28
11
|
} & {
|
|
29
12
|
footer?: (props: typeof __VLS_40) => any;
|
|
30
|
-
}
|
|
31
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
32
|
-
name: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
title: {
|
|
37
|
-
type: StringConstructor;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
baseZindex: {
|
|
41
|
-
type: NumberConstructor;
|
|
42
|
-
default: number;
|
|
43
|
-
};
|
|
44
|
-
bgClass: {
|
|
45
|
-
type: PropType<StyleValue>;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
wrapperClass: {
|
|
49
|
-
type: PropType<StyleValue>;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
modalClass: {
|
|
53
|
-
type: PropType<StyleValue>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
modalStyle: {
|
|
57
|
-
type: PropType<StyleValue>;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
inClass: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
outClass: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
bgInClass: {
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
bgOutClass: {
|
|
73
|
-
type: StringConstructor;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
appendTo: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
live: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
enableClose: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
modelValue: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
closeLabel: {
|
|
93
|
-
type: StringConstructor;
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
disabled: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
errorMsg: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
maxWidth: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
}>, {
|
|
109
|
-
PAlert: typeof PAlert;
|
|
110
|
-
PCloseBtn: typeof PCloseBtn;
|
|
111
|
-
zIndex: typeof zIndex;
|
|
112
|
-
id: typeof id;
|
|
113
|
-
show: typeof show;
|
|
114
|
-
mount: typeof mount;
|
|
115
|
-
pmWrapper: typeof pmWrapper;
|
|
116
|
-
close: typeof close;
|
|
117
|
-
clickOutside: typeof clickOutside;
|
|
118
|
-
keydown: typeof keydown;
|
|
119
|
-
beforeOpen: typeof beforeOpen;
|
|
120
|
-
opening: typeof opening;
|
|
121
|
-
afterOpen: typeof afterOpen;
|
|
122
|
-
beforeClose: typeof beforeClose;
|
|
123
|
-
closing: typeof closing;
|
|
124
|
-
afterClose: typeof afterClose;
|
|
125
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
|
-
"update:modelValue": (...args: any[]) => void;
|
|
127
|
-
closed: (...args: any[]) => void;
|
|
128
|
-
"before-open": (...args: any[]) => void;
|
|
129
|
-
opening: (...args: any[]) => void;
|
|
130
|
-
opened: (...args: any[]) => void;
|
|
131
|
-
"before-close": (...args: any[]) => void;
|
|
132
|
-
closing: (...args: any[]) => void;
|
|
133
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
-
name: {
|
|
135
|
-
type: StringConstructor;
|
|
136
|
-
default: string;
|
|
137
|
-
};
|
|
138
|
-
title: {
|
|
139
|
-
type: StringConstructor;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
|
-
baseZindex: {
|
|
143
|
-
type: NumberConstructor;
|
|
144
|
-
default: number;
|
|
145
|
-
};
|
|
146
|
-
bgClass: {
|
|
147
|
-
type: PropType<StyleValue>;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
wrapperClass: {
|
|
151
|
-
type: PropType<StyleValue>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
|
-
modalClass: {
|
|
155
|
-
type: PropType<StyleValue>;
|
|
156
|
-
default: string;
|
|
157
|
-
};
|
|
158
|
-
modalStyle: {
|
|
159
|
-
type: PropType<StyleValue>;
|
|
160
|
-
default: string;
|
|
161
|
-
};
|
|
162
|
-
inClass: {
|
|
163
|
-
type: StringConstructor;
|
|
164
|
-
default: string;
|
|
165
|
-
};
|
|
166
|
-
outClass: {
|
|
167
|
-
type: StringConstructor;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
bgInClass: {
|
|
171
|
-
type: StringConstructor;
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
bgOutClass: {
|
|
175
|
-
type: StringConstructor;
|
|
176
|
-
default: string;
|
|
177
|
-
};
|
|
178
|
-
appendTo: {
|
|
179
|
-
type: StringConstructor;
|
|
180
|
-
default: string;
|
|
181
|
-
};
|
|
182
|
-
live: {
|
|
183
|
-
type: BooleanConstructor;
|
|
184
|
-
default: boolean;
|
|
185
|
-
};
|
|
186
|
-
enableClose: {
|
|
187
|
-
type: BooleanConstructor;
|
|
188
|
-
default: boolean;
|
|
189
|
-
};
|
|
190
|
-
modelValue: {
|
|
191
|
-
type: BooleanConstructor;
|
|
192
|
-
default: boolean;
|
|
193
|
-
};
|
|
194
|
-
closeLabel: {
|
|
195
|
-
type: StringConstructor;
|
|
196
|
-
default: string;
|
|
197
|
-
};
|
|
198
|
-
disabled: {
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
default: boolean;
|
|
201
|
-
};
|
|
202
|
-
errorMsg: {
|
|
203
|
-
type: StringConstructor;
|
|
204
|
-
default: string;
|
|
205
|
-
};
|
|
206
|
-
maxWidth: {
|
|
207
|
-
type: StringConstructor;
|
|
208
|
-
default: string;
|
|
209
|
-
};
|
|
210
|
-
}>> & Readonly<{
|
|
211
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
212
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
213
|
-
"onBefore-open"?: ((...args: any[]) => any) | undefined;
|
|
214
|
-
onOpening?: ((...args: any[]) => any) | undefined;
|
|
215
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
216
|
-
"onBefore-close"?: ((...args: any[]) => any) | undefined;
|
|
217
|
-
onClosing?: ((...args: any[]) => any) | undefined;
|
|
218
|
-
}>, {
|
|
219
|
-
name: string;
|
|
220
|
-
title: string;
|
|
221
|
-
disabled: boolean;
|
|
222
|
-
modelValue: boolean;
|
|
223
|
-
errorMsg: string;
|
|
224
|
-
appendTo: string;
|
|
225
|
-
inClass: string;
|
|
226
|
-
outClass: string;
|
|
227
|
-
live: boolean;
|
|
228
|
-
closeLabel: string;
|
|
229
|
-
enableClose: boolean;
|
|
230
|
-
baseZindex: number;
|
|
231
|
-
bgClass: StyleValue;
|
|
232
|
-
wrapperClass: StyleValue;
|
|
233
|
-
modalClass: StyleValue;
|
|
234
|
-
modalStyle: StyleValue;
|
|
235
|
-
bgInClass: string;
|
|
236
|
-
bgOutClass: string;
|
|
237
|
-
maxWidth: string;
|
|
238
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
};
|
|
239
14
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
240
15
|
name: {
|
|
241
16
|
type: StringConstructor;
|
|
@@ -1,79 +1,7 @@
|
|
|
1
|
-
import PSkeletonLoader from '../p-skeleton-loader/p-skeleton-loader.vue';
|
|
2
|
-
declare const from: import("vue").ComputedRef<number>;
|
|
3
|
-
declare const to: import("vue").ComputedRef<number>;
|
|
4
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
1
|
declare var __VLS_5: {};
|
|
6
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
7
3
|
'no-results'?: (props: typeof __VLS_5) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
-
/**
|
|
11
|
-
* The current page.
|
|
12
|
-
*/
|
|
13
|
-
currentPage: {
|
|
14
|
-
type: NumberConstructor;
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* The amount of data pagination iterates through.
|
|
19
|
-
*/
|
|
20
|
-
count: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* The amount of data to be displayed at 1 page. Used to calculate the `from` and `to` limits.
|
|
26
|
-
*/
|
|
27
|
-
pageSize: {
|
|
28
|
-
type: NumberConstructor;
|
|
29
|
-
default: number;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Whether the pagination is loading.
|
|
33
|
-
*/
|
|
34
|
-
loading: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
}>, {
|
|
39
|
-
PSkeletonLoader: typeof PSkeletonLoader;
|
|
40
|
-
from: typeof from;
|
|
41
|
-
to: typeof to;
|
|
42
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
/**
|
|
44
|
-
* The current page.
|
|
45
|
-
*/
|
|
46
|
-
currentPage: {
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
default: number;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* The amount of data pagination iterates through.
|
|
52
|
-
*/
|
|
53
|
-
count: {
|
|
54
|
-
type: NumberConstructor;
|
|
55
|
-
default: number;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* The amount of data to be displayed at 1 page. Used to calculate the `from` and `to` limits.
|
|
59
|
-
*/
|
|
60
|
-
pageSize: {
|
|
61
|
-
type: NumberConstructor;
|
|
62
|
-
default: number;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Whether the pagination is loading.
|
|
66
|
-
*/
|
|
67
|
-
loading: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
}>> & Readonly<{}>, {
|
|
72
|
-
loading: boolean;
|
|
73
|
-
count: number;
|
|
74
|
-
pageSize: number;
|
|
75
|
-
currentPage: number;
|
|
76
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
77
5
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
78
6
|
/**
|
|
79
7
|
* The current page.
|
|
@@ -1,119 +1,12 @@
|
|
|
1
1
|
import { type Size } from '../p-btn/p-btn.types';
|
|
2
|
-
import { type PropType
|
|
3
|
-
declare const $attrs: {
|
|
4
|
-
[x: string]: unknown;
|
|
5
|
-
};
|
|
6
|
-
declare const labelClasses: import("vue").ComputedRef<string>, selectClasses: import("vue").ComputedRef<string>, errorMsgClasses: import("vue").ComputedRef<string>;
|
|
7
|
-
declare const innerValue: import("vue").WritableComputedRef<string | number | boolean, string | number | boolean>;
|
|
8
|
-
declare const attrs: import("vue").ComputedRef<{
|
|
9
|
-
[x: string]: unknown;
|
|
10
|
-
}>;
|
|
11
|
-
declare const style: import("vue").ComputedRef<StyleValue>;
|
|
12
|
-
declare const innerOptions: import("vue").ComputedRef<{
|
|
13
|
-
value: unknown;
|
|
14
|
-
text: unknown;
|
|
15
|
-
}[]>;
|
|
16
|
-
declare const onChange: (e: Event) => void;
|
|
17
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
import { type PropType } from 'vue';
|
|
18
3
|
declare var __VLS_1: {
|
|
19
4
|
label: string;
|
|
20
5
|
labelClasses: string;
|
|
21
6
|
};
|
|
22
|
-
type __VLS_Slots =
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
23
8
|
label?: (props: typeof __VLS_1) => any;
|
|
24
|
-
}
|
|
25
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
26
|
-
modelValue: {
|
|
27
|
-
type: PropType<string | number | boolean | null>;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
items: {
|
|
31
|
-
type: PropType<Record<string, unknown>[]>;
|
|
32
|
-
default: () => never[];
|
|
33
|
-
};
|
|
34
|
-
label: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
errorMsg: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
required: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
size: {
|
|
47
|
-
type: PropType<Size>;
|
|
48
|
-
default: string;
|
|
49
|
-
validator(value: Size): boolean;
|
|
50
|
-
};
|
|
51
|
-
itemText: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
itemValue: {
|
|
56
|
-
type: PropType<string | number | boolean | null>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
}>, {
|
|
60
|
-
$attrs: typeof $attrs;
|
|
61
|
-
labelClasses: typeof labelClasses;
|
|
62
|
-
selectClasses: typeof selectClasses;
|
|
63
|
-
errorMsgClasses: typeof errorMsgClasses;
|
|
64
|
-
innerValue: typeof innerValue;
|
|
65
|
-
attrs: typeof attrs;
|
|
66
|
-
style: typeof style;
|
|
67
|
-
innerOptions: typeof innerOptions;
|
|
68
|
-
onChange: typeof onChange;
|
|
69
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
|
-
"update:modelValue": (...args: any[]) => void;
|
|
71
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
-
modelValue: {
|
|
73
|
-
type: PropType<string | number | boolean | null>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
items: {
|
|
77
|
-
type: PropType<Record<string, unknown>[]>;
|
|
78
|
-
default: () => never[];
|
|
79
|
-
};
|
|
80
|
-
label: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
errorMsg: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
required: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
size: {
|
|
93
|
-
type: PropType<Size>;
|
|
94
|
-
default: string;
|
|
95
|
-
validator(value: Size): boolean;
|
|
96
|
-
};
|
|
97
|
-
itemText: {
|
|
98
|
-
type: StringConstructor;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
itemValue: {
|
|
102
|
-
type: PropType<string | number | boolean | null>;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
}>> & Readonly<{
|
|
106
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
}>, {
|
|
108
|
-
size: "sm" | "md" | "lg";
|
|
109
|
-
label: string;
|
|
110
|
-
required: boolean;
|
|
111
|
-
modelValue: string | number | boolean | null;
|
|
112
|
-
items: Record<string, unknown>[];
|
|
113
|
-
itemText: string;
|
|
114
|
-
errorMsg: string;
|
|
115
|
-
itemValue: string | number | boolean | null;
|
|
116
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
};
|
|
117
10
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
118
11
|
modelValue: {
|
|
119
12
|
type: PropType<string | number | boolean | null>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type Size } from '../p-btn/p-btn.types';
|
|
2
|
-
import PBtn from '../p-btn/p-btn.vue';
|
|
3
2
|
type BtnGroupItem = Record<string, string | number | boolean>;
|
|
4
3
|
type Props = {
|
|
5
4
|
modelValue?: string | number | null | BtnGroupItem[];
|
|
@@ -14,39 +13,13 @@ type Props = {
|
|
|
14
13
|
multiple?: boolean;
|
|
15
14
|
noPadding?: boolean;
|
|
16
15
|
};
|
|
17
|
-
declare const tooltipText: (item: BtnGroupItem) => string | number | boolean;
|
|
18
|
-
declare const select: (item: BtnGroupItem) => void;
|
|
19
|
-
declare const isSelected: (item: BtnGroupItem) => boolean | undefined;
|
|
20
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
21
16
|
declare var __VLS_9: `btn-${number}`, __VLS_10: {
|
|
22
17
|
item: BtnGroupItem;
|
|
23
18
|
isSelected: boolean | undefined;
|
|
24
19
|
};
|
|
25
|
-
type __VLS_Slots =
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
26
21
|
[K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
|
|
27
|
-
}
|
|
28
|
-
declare const __VLS_self: import("vue").DefineComponent<Props, {
|
|
29
|
-
PBtn: typeof PBtn;
|
|
30
|
-
tooltipText: typeof tooltipText;
|
|
31
|
-
select: typeof select;
|
|
32
|
-
isSelected: typeof isSelected;
|
|
33
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
-
"update:modelValue": (...args: any[]) => void;
|
|
35
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
36
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}>, {
|
|
38
|
-
size: Size;
|
|
39
|
-
modelValue: string | number | null | BtnGroupItem[];
|
|
40
|
-
items: BtnGroupItem[] | readonly BtnGroupItem[];
|
|
41
|
-
itemText: string;
|
|
42
|
-
itemValue: string | number;
|
|
43
|
-
multiple: boolean;
|
|
44
|
-
itemTooltipText: string;
|
|
45
|
-
showTooltip: boolean;
|
|
46
|
-
highlightSelected: boolean;
|
|
47
|
-
grow: boolean;
|
|
48
|
-
noPadding: boolean;
|
|
49
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
};
|
|
50
23
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
24
|
"update:modelValue": (...args: any[]) => void;
|
|
52
25
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -25,25 +25,30 @@ declare const _default: <T extends Record<string, unknown>>(__VLS_props: NonNull
|
|
|
25
25
|
[x: `prepend-header-cell-${string}`]: ((props: {
|
|
26
26
|
col: TableCol;
|
|
27
27
|
}) => any) | undefined;
|
|
28
|
+
} & {
|
|
28
29
|
[x: `subheader-cell-${string}`]: ((props: {}) => any) | undefined;
|
|
30
|
+
} & {
|
|
29
31
|
[x: `cell-${string}`]: ((props: {
|
|
30
32
|
col: TableCol;
|
|
31
33
|
rowData: T;
|
|
32
34
|
rowIndex: number;
|
|
33
35
|
cellData: unknown;
|
|
34
36
|
}) => any) | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
} & {
|
|
38
|
+
default?: (props: {}) => any;
|
|
39
|
+
} & {
|
|
40
|
+
row?: (props: {
|
|
37
41
|
rowData: T;
|
|
38
42
|
rowIndex: number;
|
|
39
|
-
}) => any
|
|
40
|
-
|
|
43
|
+
}) => any;
|
|
44
|
+
} & {
|
|
45
|
+
cell?: (props: {
|
|
41
46
|
col: TableCol;
|
|
42
47
|
colIndex: number;
|
|
43
48
|
rowData: T;
|
|
44
49
|
rowIndex: number;
|
|
45
50
|
cellData: unknown;
|
|
46
|
-
}) => any
|
|
51
|
+
}) => any;
|
|
47
52
|
};
|
|
48
53
|
emit: {
|
|
49
54
|
(e: "scroll", val: Event): void;
|
|
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
106
106
|
text: string | null;
|
|
107
107
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
108
108
|
$slots: {
|
|
109
|
-
default?: (
|
|
109
|
+
default?: (props: {}) => any;
|
|
110
110
|
};
|
|
111
111
|
});
|
|
112
112
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,29 +1,12 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
1
|
type Props = {
|
|
3
2
|
colIndex: number;
|
|
4
3
|
isEditable?: boolean;
|
|
5
4
|
isSelected?: boolean;
|
|
6
5
|
};
|
|
7
|
-
declare const isLastColFixed: Ref<boolean, boolean>;
|
|
8
|
-
declare const isColsResizable: Ref<boolean, boolean>;
|
|
9
|
-
declare const isLastCol: import("vue").ComputedRef<boolean>;
|
|
10
|
-
declare const tdClass: import("vue").ComputedRef<string[]>;
|
|
11
|
-
declare const innerDivClass: import("vue").ComputedRef<string[]>;
|
|
12
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
13
6
|
declare var __VLS_1: {};
|
|
14
|
-
type __VLS_Slots =
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
15
8
|
default?: (props: typeof __VLS_1) => any;
|
|
16
|
-
}
|
|
17
|
-
declare const __VLS_self: import("vue").DefineComponent<Props, {
|
|
18
|
-
isLastColFixed: typeof isLastColFixed;
|
|
19
|
-
isColsResizable: typeof isColsResizable;
|
|
20
|
-
isLastCol: typeof isLastCol;
|
|
21
|
-
tdClass: typeof tdClass;
|
|
22
|
-
innerDivClass: typeof innerDivClass;
|
|
23
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
24
|
-
isSelected: boolean;
|
|
25
|
-
isEditable: boolean;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
};
|
|
27
10
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
28
11
|
isSelected: boolean;
|
|
29
12
|
isEditable: boolean;
|
|
@@ -1,81 +1,12 @@
|
|
|
1
1
|
import { type Size } from '../p-btn/p-btn.types';
|
|
2
|
-
import { type PropType
|
|
3
|
-
declare const labelClasses: import("vue").ComputedRef<string>, textareaClasses: import("vue").ComputedRef<string>, errorMsgClasses: import("vue").ComputedRef<string>;
|
|
4
|
-
declare const attrs: import("vue").ComputedRef<{
|
|
5
|
-
[x: string]: unknown;
|
|
6
|
-
}>;
|
|
7
|
-
declare const style: import("vue").ComputedRef<StyleValue>;
|
|
8
|
-
declare const updateValue: (e: Event) => void;
|
|
9
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
import { type PropType } from 'vue';
|
|
10
3
|
declare var __VLS_1: {
|
|
11
4
|
label: string;
|
|
12
5
|
labelClasses: string;
|
|
13
6
|
};
|
|
14
|
-
type __VLS_Slots =
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
15
8
|
label?: (props: typeof __VLS_1) => any;
|
|
16
|
-
}
|
|
17
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
|
-
modelValue: {
|
|
19
|
-
type: PropType<string | number | null>;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
label: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
errorMsg: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
required: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
type: PropType<Size>;
|
|
36
|
-
default: string;
|
|
37
|
-
validator(value: Size): boolean;
|
|
38
|
-
};
|
|
39
|
-
}>, {
|
|
40
|
-
labelClasses: typeof labelClasses;
|
|
41
|
-
textareaClasses: typeof textareaClasses;
|
|
42
|
-
errorMsgClasses: typeof errorMsgClasses;
|
|
43
|
-
attrs: typeof attrs;
|
|
44
|
-
style: typeof style;
|
|
45
|
-
updateValue: typeof updateValue;
|
|
46
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
-
"update:modelValue": (...args: any[]) => void;
|
|
48
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
-
modelValue: {
|
|
50
|
-
type: PropType<string | number | null>;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
label: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
errorMsg: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
required: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
size: {
|
|
66
|
-
type: PropType<Size>;
|
|
67
|
-
default: string;
|
|
68
|
-
validator(value: Size): boolean;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{
|
|
71
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
size: "sm" | "md" | "lg";
|
|
74
|
-
label: string;
|
|
75
|
-
required: boolean;
|
|
76
|
-
modelValue: string | number | null;
|
|
77
|
-
errorMsg: string;
|
|
78
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
};
|
|
79
10
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
80
11
|
modelValue: {
|
|
81
12
|
type: PropType<string | number | null>;
|
|
@@ -55,10 +55,10 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
55
55
|
modelValue: boolean;
|
|
56
56
|
errorMsg: string;
|
|
57
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
58
|
-
label?: (
|
|
58
|
+
label?: (props: {
|
|
59
59
|
label: string;
|
|
60
60
|
labelClasses: string;
|
|
61
|
-
}) => any
|
|
61
|
+
}) => any;
|
|
62
62
|
}>;
|
|
63
63
|
export default _default;
|
|
64
64
|
type __VLS_WithSlots<T, S> = T & {
|