guava-ui 0.3.4 → 0.3.6
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.en.md +91 -97
- package/README.md +14 -142
- package/lib/guava-ui.es.js +4942 -4301
- package/lib/guava-ui.es.js.map +1 -1
- package/lib/guava-ui.umd.js +2 -2
- package/lib/guava-ui.umd.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/types/index.d.ts +305 -117
- package/package.json +9 -10
package/lib/types/index.d.ts
CHANGED
|
@@ -63,6 +63,17 @@ export { alert_2 as alert }
|
|
|
63
63
|
|
|
64
64
|
export declare const amountFormat: (val: string | number, decimal?: number) => string;
|
|
65
65
|
|
|
66
|
+
declare interface AnchorLabel {
|
|
67
|
+
id: string;
|
|
68
|
+
label: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export declare function applyCascaderFieldName(root: ParentNode | null | undefined, name?: string): boolean;
|
|
72
|
+
|
|
73
|
+
export declare function applyFormFieldIdentity(root: ParentNode | null | undefined, identity: FormFieldIdentity): boolean;
|
|
74
|
+
|
|
75
|
+
export declare function applyFormFieldName(root: ParentNode | null | undefined, name?: string): boolean;
|
|
76
|
+
|
|
66
77
|
declare type BizType = 'reset' | 'import' | 'export' | 'shrink' | 'expand';
|
|
67
78
|
|
|
68
79
|
declare type BizType_2 = 'tableedit';
|
|
@@ -74,7 +85,7 @@ export { confirm_2 as confirm }
|
|
|
74
85
|
|
|
75
86
|
export declare const crud: {
|
|
76
87
|
fetchData: (fetch: AsyncFn, data: any) => Promise<any>;
|
|
77
|
-
submit: (fetch: AsyncFn,
|
|
88
|
+
submit: (fetch: AsyncFn, datas: any, hasMsg?: boolean, msg?: string) => Promise<any>;
|
|
78
89
|
fetchTable: (fetch: AsyncFn, data: any, tabNode?: TableInstance | null) => Promise<{}>;
|
|
79
90
|
save: (fmNode: FormInstance, fetch: AsyncFn, check?: boolean, msg?: string) => Promise<false | Recordable<any> | null>;
|
|
80
91
|
update: (fmNode: FormInstance, id: number, fetch: Async2Fn, check?: boolean, msg?: string) => Promise<false | Recordable<any>>;
|
|
@@ -134,6 +145,8 @@ export declare const encrypt: (word: any) => string;
|
|
|
134
145
|
|
|
135
146
|
export declare const filter: <T = any>(tree: T[], func: (n: T) => boolean, config?: Partial<TreeHelperConfig>) => T[];
|
|
136
147
|
|
|
148
|
+
export declare function findNativeFormInput(root: ParentNode): HTMLInputElement | null;
|
|
149
|
+
|
|
137
150
|
export declare const findNode: <T = any>(tree: any, func: Fn, config?: Partial<TreeHelperConfig>) => T | null;
|
|
138
151
|
|
|
139
152
|
export declare const findNodeAll: <T = any>(tree: any, func: Fn, config?: Partial<TreeHelperConfig>) => T[];
|
|
@@ -144,6 +157,11 @@ export declare const findPathAll: (tree: any, func: Fn, config?: Partial<TreeHel
|
|
|
144
157
|
|
|
145
158
|
export declare const forEach: <T = any>(tree: T[], func: (n: T) => any, config?: Partial<TreeHelperConfig>) => void;
|
|
146
159
|
|
|
160
|
+
export declare type FormFieldIdentity = {
|
|
161
|
+
id?: string;
|
|
162
|
+
name?: string;
|
|
163
|
+
};
|
|
164
|
+
|
|
147
165
|
export declare const generateKey: (num: number) => string;
|
|
148
166
|
|
|
149
167
|
export declare const getDomCssProp: (prop: string, dom?: HTMLElement) => string;
|
|
@@ -163,6 +181,49 @@ export declare type GuavaUIOptions = {
|
|
|
163
181
|
i18n: Composer;
|
|
164
182
|
};
|
|
165
183
|
|
|
184
|
+
export declare const GvAnchor: DefineComponent<ExtractPropTypes< {
|
|
185
|
+
labels: {
|
|
186
|
+
type: PropType<AnchorLabel[]>;
|
|
187
|
+
default: () => never[];
|
|
188
|
+
};
|
|
189
|
+
activeId: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
labelWidth: {
|
|
194
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
195
|
+
default: number;
|
|
196
|
+
};
|
|
197
|
+
maxHeight: {
|
|
198
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
199
|
+
required: false;
|
|
200
|
+
default: undefined;
|
|
201
|
+
};
|
|
202
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
203
|
+
labels: {
|
|
204
|
+
type: PropType<AnchorLabel[]>;
|
|
205
|
+
default: () => never[];
|
|
206
|
+
};
|
|
207
|
+
activeId: {
|
|
208
|
+
type: StringConstructor;
|
|
209
|
+
default: string;
|
|
210
|
+
};
|
|
211
|
+
labelWidth: {
|
|
212
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
213
|
+
default: number;
|
|
214
|
+
};
|
|
215
|
+
maxHeight: {
|
|
216
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
217
|
+
required: false;
|
|
218
|
+
default: undefined;
|
|
219
|
+
};
|
|
220
|
+
}>> & Readonly<{}>, {
|
|
221
|
+
labels: AnchorLabel[];
|
|
222
|
+
labelWidth: string | number;
|
|
223
|
+
activeId: string;
|
|
224
|
+
maxHeight: string | number;
|
|
225
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
|
|
166
227
|
export declare const GvBacktop: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
167
228
|
|
|
168
229
|
export declare const GvBadge: DefineComponent<ExtractPropTypes< {
|
|
@@ -232,16 +293,105 @@ type: PropType<TBadgeType>;
|
|
|
232
293
|
default: string;
|
|
233
294
|
};
|
|
234
295
|
}>> & Readonly<{}>, {
|
|
235
|
-
|
|
296
|
+
hidden: boolean;
|
|
297
|
+
max: number;
|
|
236
298
|
type: TBadgeType;
|
|
299
|
+
value: string | number;
|
|
237
300
|
vref: string;
|
|
238
|
-
max: number;
|
|
239
301
|
isDot: boolean;
|
|
240
|
-
hidden: boolean;
|
|
241
302
|
showZero: boolean;
|
|
242
303
|
color: string;
|
|
243
304
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
244
305
|
|
|
306
|
+
export declare const GvBodyDialog: DefineComponent<ExtractPropTypes< {
|
|
307
|
+
visible: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
required: false;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
312
|
+
title: {
|
|
313
|
+
type: StringConstructor;
|
|
314
|
+
required: false;
|
|
315
|
+
default: string;
|
|
316
|
+
};
|
|
317
|
+
width: {
|
|
318
|
+
type: StringConstructor;
|
|
319
|
+
required: false;
|
|
320
|
+
default: string;
|
|
321
|
+
};
|
|
322
|
+
height: {
|
|
323
|
+
type: StringConstructor;
|
|
324
|
+
required: false;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
327
|
+
nest: {
|
|
328
|
+
type: BooleanConstructor;
|
|
329
|
+
required: false;
|
|
330
|
+
default: boolean;
|
|
331
|
+
};
|
|
332
|
+
appendToBody: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
required: false;
|
|
335
|
+
default: boolean;
|
|
336
|
+
};
|
|
337
|
+
fullscreen: {
|
|
338
|
+
type: BooleanConstructor;
|
|
339
|
+
required: false;
|
|
340
|
+
default: boolean;
|
|
341
|
+
};
|
|
342
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("closed" | "cancel" | "close" | "open" | "update:visible" | "opened")[], "closed" | "cancel" | "close" | "open" | "update:visible" | "opened", PublicProps, Readonly<ExtractPropTypes< {
|
|
343
|
+
visible: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
required: false;
|
|
346
|
+
default: boolean;
|
|
347
|
+
};
|
|
348
|
+
title: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
required: false;
|
|
351
|
+
default: string;
|
|
352
|
+
};
|
|
353
|
+
width: {
|
|
354
|
+
type: StringConstructor;
|
|
355
|
+
required: false;
|
|
356
|
+
default: string;
|
|
357
|
+
};
|
|
358
|
+
height: {
|
|
359
|
+
type: StringConstructor;
|
|
360
|
+
required: false;
|
|
361
|
+
default: undefined;
|
|
362
|
+
};
|
|
363
|
+
nest: {
|
|
364
|
+
type: BooleanConstructor;
|
|
365
|
+
required: false;
|
|
366
|
+
default: boolean;
|
|
367
|
+
};
|
|
368
|
+
appendToBody: {
|
|
369
|
+
type: BooleanConstructor;
|
|
370
|
+
required: false;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
fullscreen: {
|
|
374
|
+
type: BooleanConstructor;
|
|
375
|
+
required: false;
|
|
376
|
+
default: boolean;
|
|
377
|
+
};
|
|
378
|
+
}>> & Readonly<{
|
|
379
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
381
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
382
|
+
onOpened?: ((...args: any[]) => any) | undefined;
|
|
383
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
384
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
}>, {
|
|
386
|
+
width: string;
|
|
387
|
+
height: string;
|
|
388
|
+
title: string;
|
|
389
|
+
visible: boolean;
|
|
390
|
+
fullscreen: boolean;
|
|
391
|
+
appendToBody: boolean;
|
|
392
|
+
nest: boolean;
|
|
393
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
394
|
+
|
|
245
395
|
export declare const GvBreadCrumb: DefineComponent< {}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
246
396
|
|
|
247
397
|
export declare const GvButton: DefineComponent<ExtractPropTypes< {
|
|
@@ -299,7 +449,7 @@ type: StringConstructor;
|
|
|
299
449
|
default: undefined;
|
|
300
450
|
};
|
|
301
451
|
confirm: {
|
|
302
|
-
type: (
|
|
452
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
303
453
|
default: boolean;
|
|
304
454
|
};
|
|
305
455
|
perms: {
|
|
@@ -365,7 +515,7 @@ type: StringConstructor;
|
|
|
365
515
|
default: undefined;
|
|
366
516
|
};
|
|
367
517
|
confirm: {
|
|
368
|
-
type: (
|
|
518
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
369
519
|
default: boolean;
|
|
370
520
|
};
|
|
371
521
|
perms: {
|
|
@@ -381,20 +531,20 @@ onClick?: ((...args: any[]) => any) | undefined;
|
|
|
381
531
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
382
532
|
}>, {
|
|
383
533
|
link: boolean;
|
|
384
|
-
size: "" | "small" | "default" | "large";
|
|
385
|
-
type: "" | "default" | "primary" | "success" | "warning" | "danger" | "info" | "text";
|
|
386
|
-
disabled: string | boolean;
|
|
387
534
|
text: string;
|
|
535
|
+
disabled: string | boolean;
|
|
536
|
+
size: "" | "small" | "default" | "large";
|
|
537
|
+
type: "" | "text" | "default" | "primary" | "success" | "warning" | "danger" | "info";
|
|
388
538
|
icon: string;
|
|
389
539
|
confirm: string | boolean;
|
|
540
|
+
perms: string;
|
|
541
|
+
visible: boolean;
|
|
390
542
|
nativeType: string;
|
|
391
543
|
loading: boolean;
|
|
392
|
-
visible: boolean;
|
|
393
|
-
perms: string;
|
|
394
544
|
cb: (args?: any) => void;
|
|
395
545
|
refForm: string;
|
|
396
|
-
otext: string;
|
|
397
546
|
bizType: BizType;
|
|
547
|
+
otext: string;
|
|
398
548
|
args: string;
|
|
399
549
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
400
550
|
|
|
@@ -422,7 +572,7 @@ required: false;
|
|
|
422
572
|
default: () => never[];
|
|
423
573
|
};
|
|
424
574
|
options: {
|
|
425
|
-
type: PropType<CascaderOption[]>;
|
|
575
|
+
type: PropType<CascaderOption[] | string>;
|
|
426
576
|
required: false;
|
|
427
577
|
default: () => never[];
|
|
428
578
|
};
|
|
@@ -432,8 +582,7 @@ default: undefined;
|
|
|
432
582
|
};
|
|
433
583
|
placeholder: {
|
|
434
584
|
type: StringConstructor;
|
|
435
|
-
|
|
436
|
-
default: string;
|
|
585
|
+
default: undefined;
|
|
437
586
|
};
|
|
438
587
|
disabled: {
|
|
439
588
|
type: BooleanConstructor;
|
|
@@ -485,7 +634,7 @@ type: PropType<(node: any, resolve: (data: any[]) => void, reject: () => void) =
|
|
|
485
634
|
required: false;
|
|
486
635
|
default: () => void;
|
|
487
636
|
};
|
|
488
|
-
}>, JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
637
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "blur" | "change" | "focus" | "keydown")[], "input" | "blur" | "change" | "focus" | "keydown", PublicProps, Readonly<ExtractPropTypes< {
|
|
489
638
|
vref: {
|
|
490
639
|
type: StringConstructor;
|
|
491
640
|
required: false;
|
|
@@ -507,7 +656,7 @@ required: false;
|
|
|
507
656
|
default: () => never[];
|
|
508
657
|
};
|
|
509
658
|
options: {
|
|
510
|
-
type: PropType<CascaderOption[]>;
|
|
659
|
+
type: PropType<CascaderOption[] | string>;
|
|
511
660
|
required: false;
|
|
512
661
|
default: () => never[];
|
|
513
662
|
};
|
|
@@ -517,8 +666,7 @@ default: undefined;
|
|
|
517
666
|
};
|
|
518
667
|
placeholder: {
|
|
519
668
|
type: StringConstructor;
|
|
520
|
-
|
|
521
|
-
default: string;
|
|
669
|
+
default: undefined;
|
|
522
670
|
};
|
|
523
671
|
disabled: {
|
|
524
672
|
type: BooleanConstructor;
|
|
@@ -571,27 +719,27 @@ required: false;
|
|
|
571
719
|
default: () => void;
|
|
572
720
|
};
|
|
573
721
|
}>> & Readonly<{
|
|
574
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
575
722
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
576
723
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
577
724
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
578
725
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
726
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
579
727
|
}>, {
|
|
728
|
+
id: string;
|
|
580
729
|
name: string;
|
|
730
|
+
disabled: boolean;
|
|
731
|
+
multiple: boolean;
|
|
732
|
+
placeholder: string;
|
|
733
|
+
size: "" | "small" | "default" | "large";
|
|
581
734
|
value: unknown[];
|
|
582
735
|
lazy: boolean;
|
|
583
|
-
size: "" | "small" | "default" | "large";
|
|
584
|
-
placeholder: string;
|
|
585
736
|
vref: string;
|
|
586
|
-
id: string;
|
|
587
|
-
disabled: boolean;
|
|
588
|
-
trigger: string;
|
|
589
737
|
visible: boolean;
|
|
590
|
-
|
|
591
|
-
|
|
738
|
+
separator: string;
|
|
739
|
+
trigger: string;
|
|
592
740
|
clearable: boolean;
|
|
593
741
|
filterable: boolean;
|
|
594
|
-
|
|
742
|
+
options: string | CascaderOption[];
|
|
595
743
|
lazyLoad: (node: any, resolve: (data: any[]) => void, reject: () => void) => void;
|
|
596
744
|
showAllLevels: boolean;
|
|
597
745
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -666,14 +814,14 @@ default: string;
|
|
|
666
814
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
667
815
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
668
816
|
}>, {
|
|
669
|
-
|
|
817
|
+
border: boolean;
|
|
818
|
+
label: TCheckboxValueType;
|
|
819
|
+
disabled: boolean;
|
|
820
|
+
indeterminate: boolean;
|
|
670
821
|
size: "" | "small" | "default" | "large";
|
|
822
|
+
value: TCheckboxValueType;
|
|
671
823
|
vref: string;
|
|
672
|
-
disabled: boolean;
|
|
673
|
-
label: TCheckboxValueType;
|
|
674
824
|
visible: boolean;
|
|
675
|
-
border: boolean;
|
|
676
|
-
indeterminate: boolean;
|
|
677
825
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
678
826
|
|
|
679
827
|
export declare const GvCheckboxButton: DefineComponent<ExtractPropTypes< {
|
|
@@ -758,15 +906,15 @@ default: string;
|
|
|
758
906
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
759
907
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
760
908
|
}>, {
|
|
909
|
+
border: boolean;
|
|
910
|
+
label: TCheckboxButtonValue;
|
|
761
911
|
name: string;
|
|
762
|
-
|
|
912
|
+
disabled: boolean;
|
|
913
|
+
indeterminate: boolean;
|
|
763
914
|
size: "small" | "default" | "large";
|
|
915
|
+
value: TCheckboxButtonValue;
|
|
764
916
|
vref: string;
|
|
765
|
-
disabled: boolean;
|
|
766
|
-
label: TCheckboxButtonValue;
|
|
767
917
|
visible: boolean;
|
|
768
|
-
border: boolean;
|
|
769
|
-
indeterminate: boolean;
|
|
770
918
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
771
919
|
|
|
772
920
|
export declare const GvCheckboxGroup: DefineComponent<ExtractPropTypes< {
|
|
@@ -833,13 +981,13 @@ default: boolean;
|
|
|
833
981
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
834
982
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
835
983
|
}>, {
|
|
836
|
-
value: TCheckboxGroupType;
|
|
837
|
-
size: "small" | "default" | "large";
|
|
838
|
-
vref: string;
|
|
839
|
-
max: number;
|
|
840
|
-
disabled: boolean;
|
|
841
984
|
label: string;
|
|
985
|
+
disabled: boolean;
|
|
986
|
+
max: number;
|
|
842
987
|
min: number;
|
|
988
|
+
size: "small" | "default" | "large";
|
|
989
|
+
value: TCheckboxGroupType;
|
|
990
|
+
vref: string;
|
|
843
991
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
844
992
|
|
|
845
993
|
export declare const GvCol: DefineComponent<ExtractPropTypes< {
|
|
@@ -917,10 +1065,10 @@ type: BooleanConstructor;
|
|
|
917
1065
|
default: boolean;
|
|
918
1066
|
};
|
|
919
1067
|
}>> & Readonly<{}>, {
|
|
920
|
-
offset: number;
|
|
921
1068
|
span: number;
|
|
922
|
-
|
|
1069
|
+
offset: number;
|
|
923
1070
|
visible: boolean;
|
|
1071
|
+
tag: string;
|
|
924
1072
|
xs: number | undefined;
|
|
925
1073
|
sm: number | undefined;
|
|
926
1074
|
md: number | undefined;
|
|
@@ -1021,7 +1169,7 @@ showWeekNumber: {
|
|
|
1021
1169
|
type: BooleanConstructor;
|
|
1022
1170
|
default: boolean;
|
|
1023
1171
|
};
|
|
1024
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
1172
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "blur" | "change" | "focus" | "pick" | "update:modelValue")[], "input" | "blur" | "change" | "focus" | "pick" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1025
1173
|
vref: {
|
|
1026
1174
|
type: StringConstructor;
|
|
1027
1175
|
default: string;
|
|
@@ -1122,18 +1270,18 @@ onInput?: ((...args: any[]) => any) | undefined;
|
|
|
1122
1270
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1123
1271
|
onPick?: ((...args: any[]) => any) | undefined;
|
|
1124
1272
|
}>, {
|
|
1273
|
+
id: string | [string, string];
|
|
1125
1274
|
name: string | [string, string];
|
|
1275
|
+
disabled: boolean;
|
|
1276
|
+
placeholder: string;
|
|
1126
1277
|
size: TDatePickerSize;
|
|
1127
1278
|
type: DatePickerType;
|
|
1128
|
-
placeholder: string;
|
|
1129
1279
|
vref: string;
|
|
1130
|
-
id: string | [string, string];
|
|
1131
|
-
disabled: boolean;
|
|
1132
1280
|
teleported: boolean;
|
|
1133
|
-
unlink: boolean;
|
|
1134
1281
|
modelValue: TDatePickerType;
|
|
1135
1282
|
clearable: boolean;
|
|
1136
1283
|
editable: boolean;
|
|
1284
|
+
unlink: boolean;
|
|
1137
1285
|
format: string;
|
|
1138
1286
|
disabledDateFunc: unknown[];
|
|
1139
1287
|
disabledDate: Function;
|
|
@@ -1208,7 +1356,7 @@ type: StringConstructor;
|
|
|
1208
1356
|
required: false;
|
|
1209
1357
|
default: undefined;
|
|
1210
1358
|
};
|
|
1211
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "open" | "update:visible" | "opened"
|
|
1359
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("closed" | "cancel" | "close" | "open" | "update:visible" | "opened")[], "closed" | "cancel" | "close" | "open" | "update:visible" | "opened", PublicProps, Readonly<ExtractPropTypes< {
|
|
1212
1360
|
visible: {
|
|
1213
1361
|
type: BooleanConstructor;
|
|
1214
1362
|
required: false;
|
|
@@ -1277,17 +1425,17 @@ onOpened?: ((...args: any[]) => any) | undefined;
|
|
|
1277
1425
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1278
1426
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1279
1427
|
}>, {
|
|
1428
|
+
width: string;
|
|
1429
|
+
height: string;
|
|
1280
1430
|
title: string;
|
|
1281
1431
|
maxHeight: string;
|
|
1282
|
-
height: string;
|
|
1283
1432
|
visible: boolean;
|
|
1284
1433
|
fullscreen: boolean;
|
|
1285
1434
|
appendToBody: boolean;
|
|
1286
1435
|
closeOnClickModal: boolean;
|
|
1287
1436
|
closeOnPressEscape: boolean;
|
|
1288
|
-
width: string;
|
|
1289
|
-
hasFooter: boolean;
|
|
1290
1437
|
nest: boolean;
|
|
1438
|
+
hasFooter: boolean;
|
|
1291
1439
|
dialogClass: string;
|
|
1292
1440
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1293
1441
|
|
|
@@ -1346,11 +1494,11 @@ default: undefined;
|
|
|
1346
1494
|
}>> & Readonly<{
|
|
1347
1495
|
onSetDividerShow?: ((...args: any[]) => any) | undefined;
|
|
1348
1496
|
}>, {
|
|
1349
|
-
target: string;
|
|
1350
|
-
label: string;
|
|
1351
1497
|
position: string;
|
|
1352
|
-
|
|
1498
|
+
label: string;
|
|
1499
|
+
target: string;
|
|
1353
1500
|
visible: boolean;
|
|
1501
|
+
direction: DividerDirection;
|
|
1354
1502
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1355
1503
|
|
|
1356
1504
|
export declare const GvDrawer: DefineComponent<ExtractPropTypes< {
|
|
@@ -1379,7 +1527,7 @@ type: NumberConstructor[];
|
|
|
1379
1527
|
required: false;
|
|
1380
1528
|
default: number;
|
|
1381
1529
|
};
|
|
1382
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "resize" | "open" | "update:visible" | "opened"
|
|
1530
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("closed" | "cancel" | "close" | "resize" | "open" | "update:visible" | "opened")[], "closed" | "cancel" | "close" | "resize" | "open" | "update:visible" | "opened", PublicProps, Readonly<ExtractPropTypes< {
|
|
1383
1531
|
visible: {
|
|
1384
1532
|
type: BooleanConstructor;
|
|
1385
1533
|
required: false;
|
|
@@ -1414,10 +1562,10 @@ onOpened?: ((...args: any[]) => any) | undefined;
|
|
|
1414
1562
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1415
1563
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1416
1564
|
}>, {
|
|
1417
|
-
size: string | number;
|
|
1418
1565
|
title: string;
|
|
1419
|
-
|
|
1566
|
+
size: string | number;
|
|
1420
1567
|
visible: boolean;
|
|
1568
|
+
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1421
1569
|
paddingHeight: number;
|
|
1422
1570
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1423
1571
|
|
|
@@ -1500,7 +1648,7 @@ $slots: Readonly<{
|
|
|
1500
1648
|
$root: ComponentPublicInstance | null;
|
|
1501
1649
|
$parent: ComponentPublicInstance | null;
|
|
1502
1650
|
$host: Element | null;
|
|
1503
|
-
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "opened") => void) & ((event: "
|
|
1651
|
+
$emit: ((event: "closed") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "open") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1504
1652
|
$el: any;
|
|
1505
1653
|
$options: ComponentOptionsBase<Readonly<DrawerProps> & Readonly<{
|
|
1506
1654
|
onOpen?: (() => any) | undefined;
|
|
@@ -1597,7 +1745,7 @@ onOpenAutoFocus?: (() => any) | undefined;
|
|
|
1597
1745
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1598
1746
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1599
1747
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1600
|
-
}>, "
|
|
1748
|
+
}>, "overflow" | "title" | "size" | "transition" | "showClose" | "appendTo" | "handleClose" | "direction" | "draggable" | "withHeader" | "modalFade" | "headerAriaLevel" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "alignCenter" | "ariaLevel"> & {
|
|
1601
1749
|
handleClose: () => void;
|
|
1602
1750
|
} & {} & ComponentCustomProperties & {} & {
|
|
1603
1751
|
$slots: {
|
|
@@ -1721,8 +1869,8 @@ color: string;
|
|
|
1721
1869
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1722
1870
|
|
|
1723
1871
|
export declare const GvIcon: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
1724
|
-
className: string;
|
|
1725
1872
|
iconType: string;
|
|
1873
|
+
className: string;
|
|
1726
1874
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1727
1875
|
|
|
1728
1876
|
export declare const GvInput: DefineComponent<ExtractPropTypes< {
|
|
@@ -1798,7 +1946,7 @@ bizType: {
|
|
|
1798
1946
|
type: PropType<BizType_2>;
|
|
1799
1947
|
default: string;
|
|
1800
1948
|
};
|
|
1801
|
-
}>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
1949
|
+
}>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "blur" | "focus" | "keydown" | "clear" | "update:modelValue")[], "input" | "blur" | "focus" | "keydown" | "clear" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1802
1950
|
vref: {
|
|
1803
1951
|
type: StringConstructor;
|
|
1804
1952
|
default: string;
|
|
@@ -1872,21 +2020,21 @@ type: PropType<BizType_2>;
|
|
|
1872
2020
|
default: string;
|
|
1873
2021
|
};
|
|
1874
2022
|
}>> & Readonly<{
|
|
1875
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
1876
2023
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
1877
2024
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1878
2025
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
2026
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
1879
2027
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
1880
2028
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1881
2029
|
}>, {
|
|
2030
|
+
id: string;
|
|
1882
2031
|
name: string;
|
|
1883
|
-
|
|
2032
|
+
disabled: boolean;
|
|
2033
|
+
placeholder: string;
|
|
1884
2034
|
size: "" | "small" | "default" | "large";
|
|
1885
2035
|
type: InputType;
|
|
1886
|
-
|
|
2036
|
+
value: string | number | undefined;
|
|
1887
2037
|
vref: string;
|
|
1888
|
-
id: string;
|
|
1889
|
-
disabled: boolean;
|
|
1890
2038
|
visible: boolean;
|
|
1891
2039
|
clearable: boolean;
|
|
1892
2040
|
suffixIcon: string;
|
|
@@ -1916,6 +2064,10 @@ value: {
|
|
|
1916
2064
|
type: NumberConstructor;
|
|
1917
2065
|
default: undefined;
|
|
1918
2066
|
};
|
|
2067
|
+
modelValue: {
|
|
2068
|
+
type: NumberConstructor;
|
|
2069
|
+
default: undefined;
|
|
2070
|
+
};
|
|
1919
2071
|
placeholder: {
|
|
1920
2072
|
type: StringConstructor;
|
|
1921
2073
|
default: undefined;
|
|
@@ -1965,7 +2117,7 @@ position: {
|
|
|
1965
2117
|
type: StringConstructor;
|
|
1966
2118
|
default: undefined;
|
|
1967
2119
|
};
|
|
1968
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("
|
|
2120
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "blur" | "change" | "focus" | "keydown" | "update:modelValue")[], "input" | "blur" | "change" | "focus" | "keydown" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1969
2121
|
vref: {
|
|
1970
2122
|
type: StringConstructor;
|
|
1971
2123
|
default: string;
|
|
@@ -1982,6 +2134,10 @@ value: {
|
|
|
1982
2134
|
type: NumberConstructor;
|
|
1983
2135
|
default: undefined;
|
|
1984
2136
|
};
|
|
2137
|
+
modelValue: {
|
|
2138
|
+
type: NumberConstructor;
|
|
2139
|
+
default: undefined;
|
|
2140
|
+
};
|
|
1985
2141
|
placeholder: {
|
|
1986
2142
|
type: StringConstructor;
|
|
1987
2143
|
default: undefined;
|
|
@@ -2032,29 +2188,30 @@ type: StringConstructor;
|
|
|
2032
2188
|
default: undefined;
|
|
2033
2189
|
};
|
|
2034
2190
|
}>> & Readonly<{
|
|
2035
|
-
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
2036
2191
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
2037
2192
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
2038
2193
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2039
2194
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
2195
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
2040
2196
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2041
2197
|
}>, {
|
|
2198
|
+
position: string;
|
|
2199
|
+
id: string;
|
|
2042
2200
|
name: string;
|
|
2043
|
-
|
|
2044
|
-
|
|
2201
|
+
disabled: boolean;
|
|
2202
|
+
max: number;
|
|
2203
|
+
min: number;
|
|
2045
2204
|
placeholder: string;
|
|
2205
|
+
size: "" | "small" | "default" | "large";
|
|
2206
|
+
step: number;
|
|
2207
|
+
value: number;
|
|
2046
2208
|
vref: string;
|
|
2047
|
-
max: number;
|
|
2048
|
-
id: string;
|
|
2049
|
-
disabled: boolean;
|
|
2050
|
-
position: string;
|
|
2051
2209
|
visible: boolean;
|
|
2052
|
-
|
|
2053
|
-
|
|
2210
|
+
modelValue: number;
|
|
2211
|
+
stepStrictly: boolean;
|
|
2054
2212
|
precision: number;
|
|
2055
2213
|
bizType: string;
|
|
2056
2214
|
columnProp: string;
|
|
2057
|
-
stepStrictly: boolean;
|
|
2058
2215
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2059
2216
|
|
|
2060
2217
|
export declare const GvLangSelect: DefineComponent<ExtractPropTypes< {
|
|
@@ -2168,12 +2325,12 @@ default: undefined;
|
|
|
2168
2325
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
2169
2326
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
2170
2327
|
}>, {
|
|
2171
|
-
vref: string;
|
|
2172
2328
|
label: string;
|
|
2173
2329
|
title: string;
|
|
2330
|
+
vref: string;
|
|
2174
2331
|
placement: TPopoverPlacement;
|
|
2175
|
-
trigger: TPopoverTrigger;
|
|
2176
2332
|
visible: boolean;
|
|
2333
|
+
trigger: TPopoverTrigger;
|
|
2177
2334
|
columnProp: string;
|
|
2178
2335
|
tablePopover: boolean;
|
|
2179
2336
|
columnType: string;
|
|
@@ -2241,13 +2398,13 @@ default: boolean;
|
|
|
2241
2398
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2242
2399
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2243
2400
|
}>, {
|
|
2401
|
+
border: boolean;
|
|
2402
|
+
label: TRadioValue;
|
|
2244
2403
|
name: string;
|
|
2245
|
-
|
|
2404
|
+
disabled: boolean;
|
|
2246
2405
|
size: "" | "small" | "default" | "large";
|
|
2406
|
+
value: TRadioValue;
|
|
2247
2407
|
vref: string;
|
|
2248
|
-
disabled: boolean;
|
|
2249
|
-
label: TRadioValue;
|
|
2250
|
-
border: boolean;
|
|
2251
2408
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2252
2409
|
|
|
2253
2410
|
export declare const GvRadioButton: DefineComponent<ExtractPropTypes< {
|
|
@@ -2256,7 +2413,7 @@ type: StringConstructor;
|
|
|
2256
2413
|
default: string;
|
|
2257
2414
|
};
|
|
2258
2415
|
value: {
|
|
2259
|
-
type: (
|
|
2416
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
2260
2417
|
default: undefined;
|
|
2261
2418
|
};
|
|
2262
2419
|
label: {
|
|
@@ -2277,7 +2434,7 @@ type: StringConstructor;
|
|
|
2277
2434
|
default: string;
|
|
2278
2435
|
};
|
|
2279
2436
|
value: {
|
|
2280
|
-
type: (
|
|
2437
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
2281
2438
|
default: undefined;
|
|
2282
2439
|
};
|
|
2283
2440
|
label: {
|
|
@@ -2296,11 +2453,11 @@ default: boolean;
|
|
|
2296
2453
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2297
2454
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2298
2455
|
}>, {
|
|
2456
|
+
label: string;
|
|
2299
2457
|
name: string;
|
|
2458
|
+
disabled: boolean;
|
|
2300
2459
|
value: string | number | boolean;
|
|
2301
2460
|
vref: string;
|
|
2302
|
-
disabled: boolean;
|
|
2303
|
-
label: string;
|
|
2304
2461
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2305
2462
|
|
|
2306
2463
|
export declare const GvRadioGroup: DefineComponent<ExtractPropTypes< {
|
|
@@ -2341,10 +2498,10 @@ default: undefined;
|
|
|
2341
2498
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2342
2499
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2343
2500
|
}>, {
|
|
2344
|
-
|
|
2501
|
+
label: string;
|
|
2345
2502
|
size: "" | "small" | "default" | "large";
|
|
2503
|
+
value: TRadioGroupValue;
|
|
2346
2504
|
vref: string;
|
|
2347
|
-
label: string;
|
|
2348
2505
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2349
2506
|
|
|
2350
2507
|
export declare const GvRow: DefineComponent<ExtractPropTypes< {
|
|
@@ -2428,7 +2585,7 @@ type: StringConstructor;
|
|
|
2428
2585
|
default: undefined;
|
|
2429
2586
|
};
|
|
2430
2587
|
showLabel: {
|
|
2431
|
-
type: (
|
|
2588
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2432
2589
|
default: undefined;
|
|
2433
2590
|
};
|
|
2434
2591
|
placeholder: {
|
|
@@ -2525,7 +2682,7 @@ type: StringConstructor;
|
|
|
2525
2682
|
default: undefined;
|
|
2526
2683
|
};
|
|
2527
2684
|
showLabel: {
|
|
2528
|
-
type: (
|
|
2685
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
2529
2686
|
default: undefined;
|
|
2530
2687
|
};
|
|
2531
2688
|
placeholder: {
|
|
@@ -2602,17 +2759,17 @@ onChange?: ((...args: any[]) => any) | undefined;
|
|
|
2602
2759
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
2603
2760
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2604
2761
|
}>, {
|
|
2762
|
+
label: string;
|
|
2763
|
+
id: string;
|
|
2605
2764
|
name: string;
|
|
2765
|
+
disabled: boolean;
|
|
2766
|
+
multiple: boolean;
|
|
2767
|
+
placeholder: string;
|
|
2768
|
+
size: "" | "small" | "default" | "large";
|
|
2606
2769
|
value: string | unknown[] | Record<string, unknown>;
|
|
2607
2770
|
clear: Function;
|
|
2608
|
-
size: "" | "small" | "default" | "large";
|
|
2609
|
-
placeholder: string;
|
|
2610
2771
|
vref: string;
|
|
2611
|
-
id: string;
|
|
2612
|
-
disabled: boolean;
|
|
2613
|
-
label: string;
|
|
2614
2772
|
visible: boolean;
|
|
2615
|
-
multiple: boolean;
|
|
2616
2773
|
modelValue: string | unknown[] | Record<string, unknown>;
|
|
2617
2774
|
clearable: boolean;
|
|
2618
2775
|
filterable: boolean;
|
|
@@ -2659,6 +2816,16 @@ type: StringConstructor;
|
|
|
2659
2816
|
required: false;
|
|
2660
2817
|
default: undefined;
|
|
2661
2818
|
};
|
|
2819
|
+
id: {
|
|
2820
|
+
type: StringConstructor;
|
|
2821
|
+
required: false;
|
|
2822
|
+
default: undefined;
|
|
2823
|
+
};
|
|
2824
|
+
name: {
|
|
2825
|
+
type: StringConstructor;
|
|
2826
|
+
required: false;
|
|
2827
|
+
default: undefined;
|
|
2828
|
+
};
|
|
2662
2829
|
target: {
|
|
2663
2830
|
type: PropType<number | string>;
|
|
2664
2831
|
require: boolean;
|
|
@@ -2680,6 +2847,16 @@ type: StringConstructor;
|
|
|
2680
2847
|
required: false;
|
|
2681
2848
|
default: undefined;
|
|
2682
2849
|
};
|
|
2850
|
+
id: {
|
|
2851
|
+
type: StringConstructor;
|
|
2852
|
+
required: false;
|
|
2853
|
+
default: undefined;
|
|
2854
|
+
};
|
|
2855
|
+
name: {
|
|
2856
|
+
type: StringConstructor;
|
|
2857
|
+
required: false;
|
|
2858
|
+
default: undefined;
|
|
2859
|
+
};
|
|
2683
2860
|
target: {
|
|
2684
2861
|
type: PropType<number | string>;
|
|
2685
2862
|
require: boolean;
|
|
@@ -2688,9 +2865,11 @@ default: string;
|
|
|
2688
2865
|
}>> & Readonly<{
|
|
2689
2866
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2690
2867
|
}>, {
|
|
2868
|
+
id: string;
|
|
2869
|
+
name: string;
|
|
2870
|
+
disabled: boolean;
|
|
2691
2871
|
value: string | number | boolean;
|
|
2692
2872
|
target: string | number;
|
|
2693
|
-
disabled: boolean;
|
|
2694
2873
|
columnKey: string;
|
|
2695
2874
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2696
2875
|
|
|
@@ -2850,7 +3029,7 @@ type: BooleanConstructor;
|
|
|
2850
3029
|
required: false;
|
|
2851
3030
|
default: boolean;
|
|
2852
3031
|
};
|
|
2853
|
-
}>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("row-dblclick" | "row-click")[], "row-dblclick" | "row-click", PublicProps, Readonly<ExtractPropTypes< {
|
|
3032
|
+
}>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("selection-change" | "row-dblclick" | "row-click")[], "selection-change" | "row-dblclick" | "row-click", PublicProps, Readonly<ExtractPropTypes< {
|
|
2854
3033
|
refTable: {
|
|
2855
3034
|
type: StringConstructor;
|
|
2856
3035
|
required: false;
|
|
@@ -3007,18 +3186,19 @@ required: false;
|
|
|
3007
3186
|
default: boolean;
|
|
3008
3187
|
};
|
|
3009
3188
|
}>> & Readonly<{
|
|
3189
|
+
"onSelection-change"?: ((...args: any[]) => any) | undefined;
|
|
3010
3190
|
"onRow-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
3011
3191
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
3012
3192
|
}>, {
|
|
3193
|
+
height: string | number;
|
|
3194
|
+
border: boolean;
|
|
3013
3195
|
size: "" | "small" | "default" | "large";
|
|
3014
3196
|
maxHeight: string | number | undefined;
|
|
3015
|
-
height: string | number;
|
|
3016
3197
|
visible: boolean;
|
|
3017
3198
|
layout: string;
|
|
3018
3199
|
tableAction: string;
|
|
3019
3200
|
tableActionIcon: boolean;
|
|
3020
3201
|
tableBar: boolean;
|
|
3021
|
-
border: boolean;
|
|
3022
3202
|
rowClassName: Function;
|
|
3023
3203
|
rowStyle: Function;
|
|
3024
3204
|
cellStyle: Function;
|
|
@@ -3106,9 +3286,9 @@ required: false;
|
|
|
3106
3286
|
default: boolean;
|
|
3107
3287
|
};
|
|
3108
3288
|
}>> & Readonly<{}>, {
|
|
3289
|
+
label: string;
|
|
3109
3290
|
name: string;
|
|
3110
3291
|
disabled: boolean;
|
|
3111
|
-
label: string;
|
|
3112
3292
|
maxHeight: string | number;
|
|
3113
3293
|
visible: boolean;
|
|
3114
3294
|
autoHeight: boolean;
|
|
@@ -3167,11 +3347,11 @@ default: undefined;
|
|
|
3167
3347
|
}>> & Readonly<{
|
|
3168
3348
|
"onTab-click"?: ((...args: any[]) => any) | undefined;
|
|
3169
3349
|
}>, {
|
|
3350
|
+
defaultValue: string | number;
|
|
3170
3351
|
type: "card" | "border-card";
|
|
3171
3352
|
modelValue: string | number;
|
|
3172
3353
|
closable: boolean;
|
|
3173
|
-
|
|
3174
|
-
tabPosition: "right" | "bottom" | "left" | "top";
|
|
3354
|
+
tabPosition: "top" | "right" | "bottom" | "left";
|
|
3175
3355
|
tabMaxHeight: string | number;
|
|
3176
3356
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3177
3357
|
|
|
@@ -3223,8 +3403,8 @@ onClose?: ((...args: any[]) => any) | undefined;
|
|
|
3223
3403
|
}>, {
|
|
3224
3404
|
size: "" | "small" | "default" | "large";
|
|
3225
3405
|
type: TTagType;
|
|
3226
|
-
effect: TTagEffect;
|
|
3227
3406
|
round: boolean;
|
|
3407
|
+
effect: TTagEffect;
|
|
3228
3408
|
closable: boolean;
|
|
3229
3409
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3230
3410
|
|
|
@@ -3252,11 +3432,11 @@ type: StringConstructor;
|
|
|
3252
3432
|
default: string;
|
|
3253
3433
|
};
|
|
3254
3434
|
name: {
|
|
3255
|
-
type:
|
|
3435
|
+
type: PropType<string | [string, string]>;
|
|
3256
3436
|
default: undefined;
|
|
3257
3437
|
};
|
|
3258
3438
|
id: {
|
|
3259
|
-
type:
|
|
3439
|
+
type: PropType<string | [string, string]>;
|
|
3260
3440
|
default: undefined;
|
|
3261
3441
|
};
|
|
3262
3442
|
modelValue: {
|
|
@@ -3329,11 +3509,11 @@ type: StringConstructor;
|
|
|
3329
3509
|
default: string;
|
|
3330
3510
|
};
|
|
3331
3511
|
name: {
|
|
3332
|
-
type:
|
|
3512
|
+
type: PropType<string | [string, string]>;
|
|
3333
3513
|
default: undefined;
|
|
3334
3514
|
};
|
|
3335
3515
|
id: {
|
|
3336
|
-
type:
|
|
3516
|
+
type: PropType<string | [string, string]>;
|
|
3337
3517
|
default: undefined;
|
|
3338
3518
|
};
|
|
3339
3519
|
modelValue: {
|
|
@@ -3406,12 +3586,12 @@ onBlur?: ((...args: any[]) => any) | undefined;
|
|
|
3406
3586
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
3407
3587
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
3408
3588
|
}>, {
|
|
3409
|
-
|
|
3410
|
-
|
|
3589
|
+
id: string | [string, string];
|
|
3590
|
+
name: string | [string, string];
|
|
3591
|
+
disabled: boolean;
|
|
3411
3592
|
placeholder: string;
|
|
3593
|
+
size: TTimePickerSize;
|
|
3412
3594
|
vref: string;
|
|
3413
|
-
id: string;
|
|
3414
|
-
disabled: boolean;
|
|
3415
3595
|
modelValue: TTimePickerType;
|
|
3416
3596
|
clearable: boolean;
|
|
3417
3597
|
editable: boolean;
|
|
@@ -3565,8 +3745,8 @@ onCheck?: ((...args: any[]) => any) | undefined;
|
|
|
3565
3745
|
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
3566
3746
|
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
|
3567
3747
|
}>, {
|
|
3568
|
-
lazy: boolean;
|
|
3569
3748
|
load: LoadFunction;
|
|
3749
|
+
lazy: boolean;
|
|
3570
3750
|
draggable: boolean;
|
|
3571
3751
|
defaultExpandAll: boolean;
|
|
3572
3752
|
treeProps: TreeOptionProps;
|
|
@@ -3587,6 +3767,8 @@ export declare const hasClass: (ele: HTMLElement, cls: string) => boolean;
|
|
|
3587
3767
|
|
|
3588
3768
|
export declare const hasScrollbar: (tag: any) => boolean;
|
|
3589
3769
|
|
|
3770
|
+
export declare const hiddenFormFieldStyle: Record<string, string>;
|
|
3771
|
+
|
|
3590
3772
|
declare type InputType = 'text' | 'textarea';
|
|
3591
3773
|
|
|
3592
3774
|
export declare const install: (app: App, options: GuavaUIOptions) => void;
|
|
@@ -3613,6 +3795,8 @@ export declare const isExternal: (path: string) => boolean;
|
|
|
3613
3795
|
|
|
3614
3796
|
export declare const isFunction: (val: unknown) => val is (...args: any[]) => any;
|
|
3615
3797
|
|
|
3798
|
+
export declare const isIE: () => boolean;
|
|
3799
|
+
|
|
3616
3800
|
export declare const isImgPath: (path: string) => boolean;
|
|
3617
3801
|
|
|
3618
3802
|
export declare const isMap: (val: unknown) => val is Map<any, any>;
|
|
@@ -3639,8 +3823,12 @@ declare type MessageType_2 = 'success' | 'info' | 'warning' | 'error';
|
|
|
3639
3823
|
|
|
3640
3824
|
declare const newPropTypes: PropTypes;
|
|
3641
3825
|
|
|
3826
|
+
export declare const normalizeExternalUrl: (url: string) => string | null;
|
|
3827
|
+
|
|
3642
3828
|
export declare const omit: <T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]) => Omit<T, K>;
|
|
3643
3829
|
|
|
3830
|
+
export declare const openExternalUrl: (url: string) => Window | null;
|
|
3831
|
+
|
|
3644
3832
|
declare interface PageInfo {
|
|
3645
3833
|
currentpagenum: number;
|
|
3646
3834
|
recordsperpage: number;
|