cosey 0.7.0 → 0.7.1
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/components/editor/components/select.vue.d.ts +2 -2
- package/components/editor/editor.d.ts +2 -2
- package/components/editor/index.d.ts +6 -6
- package/components/field/components/remote-select/remote-select.d.ts +1 -1
- package/components/field/field.api.d.ts +1 -1
- package/components/form/form-item.api.d.ts +1 -1
- package/components/form/index.d.ts +1 -1
- package/components/form-drawer/form-drawer.vue.d.ts +6 -6
- package/components/form-drawer/index.d.ts +17 -17
- package/components/form-list/form-list.api.d.ts +1 -1
- package/components/form-list/index.d.ts +4 -4
- package/components/form-query/form-query.d.ts +2 -2
- package/components/form-query/index.d.ts +6 -6
- package/components/image-card/image-card.d.ts +2 -2
- package/components/image-card/index.d.ts +6 -6
- package/components/index.js +1 -1
- package/components/input-number-range/index.d.ts +5 -5
- package/components/input-number-range/input-number-range.vue.d.ts +2 -2
- package/components/remote-select/index.d.ts +45 -45
- package/components/remote-select/remote-select.api.d.ts +1 -1
- package/components/remote-select/remote-select.d.ts +16 -16
- package/components/snug-menu/index.d.ts +5 -5
- package/components/snug-menu/snug-menu-item.vue.js +9 -3
- package/components/snug-menu/snug-menu.vue.d.ts +2 -2
- package/components/table/index.d.ts +40 -40
- package/components/table/index.js +1 -1
- package/components/table/table-column/renderer.d.ts +1 -1
- package/components/table/table-column/table-column.api.d.ts +131 -0
- package/components/table/table-column/table-column.api.js +33 -0
- package/components/table/table-column/table-column.d.ts +100 -127
- package/components/table/table-column/table-column.js +103 -30
- package/components/table/table-column-editor/item.vue.d.ts +1 -1
- package/components/table/table-column-editor/list.vue.d.ts +1 -1
- package/components/table/table-column-editor/table-column-editor.d.ts +1 -1
- package/components/table/table-column-editor/table-column-editor.vue.d.ts +1 -1
- package/components/table/table-export/item.vue.d.ts +1 -1
- package/components/table/table-export/list.vue.d.ts +1 -1
- package/components/table/table-export/table-export.d.ts +1 -1
- package/components/table/table-export/table-export.vue.d.ts +6 -6
- package/components/table/table-query/table-query.vue.d.ts +2 -2
- package/components/table/table.d.ts +8 -8
- package/components/table/table.vue.d.ts +23 -23
- package/components/table/table.vue.js +2 -2
- package/components/table-action/item.d.ts +3 -3
- package/components/transition-group/index.d.ts +3 -3
- package/components/transition-group/transition-group.d.ts +1 -1
- package/components/upload/index.d.ts +6 -6
- package/components/upload/upload.d.ts +2 -2
- package/layout/layout-menu/layout-menu.vue.js +7 -1
- package/layout/layout-menu/style/index.js +4 -0
- package/layout/layout-user-menu/style/index.js +1 -1
- package/package.json +1 -1
- package/utils/excel/index.d.ts +1 -1
- package/utils/excel/type.d.ts +1 -1
- package/components/table/table-column/table-column.vue.d.ts +0 -104
- package/components/table/table-column/table-column.vue.js +0 -106
|
@@ -328,7 +328,7 @@ declare const _RemoteSelect: {
|
|
|
328
328
|
};
|
|
329
329
|
tagType: {
|
|
330
330
|
default: string;
|
|
331
|
-
type: import("vue").PropType<"
|
|
331
|
+
type: import("vue").PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
332
332
|
required: false;
|
|
333
333
|
validator: ((val: unknown) => boolean) | undefined;
|
|
334
334
|
__epPropKey: true;
|
|
@@ -404,9 +404,9 @@ declare const _RemoteSelect: {
|
|
|
404
404
|
}>> & Readonly<{
|
|
405
405
|
onClear?: (() => any) | undefined;
|
|
406
406
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
407
|
-
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
408
407
|
onChange?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
409
408
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
409
|
+
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
410
410
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
411
411
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
412
412
|
"onPopup-scroll"?: ((args_0: {
|
|
@@ -429,32 +429,32 @@ declare const _RemoteSelect: {
|
|
|
429
429
|
offset: number;
|
|
430
430
|
multiple: boolean;
|
|
431
431
|
disabled: boolean;
|
|
432
|
+
teleported: boolean;
|
|
432
433
|
immediate: boolean;
|
|
433
|
-
valueKey: string;
|
|
434
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
435
434
|
placement: any;
|
|
435
|
+
loading: boolean;
|
|
436
|
+
pagination: boolean | import("element-plus").PaginationProps;
|
|
437
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
436
438
|
popperClass: string;
|
|
437
|
-
|
|
439
|
+
validateEvent: boolean;
|
|
440
|
+
tabindex: string | number;
|
|
441
|
+
showArrow: boolean;
|
|
442
|
+
persistent: boolean;
|
|
443
|
+
effect: import("element-plus").PopperEffect;
|
|
444
|
+
fallbackPlacements: Placement[];
|
|
445
|
+
popperOptions: any;
|
|
446
|
+
valueKey: string;
|
|
438
447
|
fitInputWidth: boolean;
|
|
439
448
|
autocomplete: string;
|
|
440
449
|
clearable: boolean;
|
|
441
|
-
tabindex: string | number;
|
|
442
|
-
validateEvent: boolean;
|
|
443
|
-
loading: boolean;
|
|
444
450
|
valueOnClear: string | number | boolean | Function | null;
|
|
445
451
|
filterable: boolean;
|
|
446
452
|
collapseTags: boolean;
|
|
447
453
|
maxCollapseTags: number;
|
|
448
454
|
collapseTagsTooltip: boolean;
|
|
449
|
-
|
|
450
|
-
effect: import("element-plus").PopperEffect;
|
|
451
|
-
tagType: "warning" | "success" | "primary" | "info" | "danger";
|
|
455
|
+
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
452
456
|
tagEffect: "dark" | "light" | "plain";
|
|
453
|
-
persistent: boolean;
|
|
454
|
-
pagination: boolean | import("element-plus").PaginationProps;
|
|
455
457
|
automaticDropdown: boolean;
|
|
456
|
-
popperOptions: any;
|
|
457
|
-
showArrow: boolean;
|
|
458
458
|
allowCreate: boolean;
|
|
459
459
|
remote: boolean;
|
|
460
460
|
multipleLimit: number;
|
|
@@ -796,7 +796,7 @@ declare const _RemoteSelect: {
|
|
|
796
796
|
};
|
|
797
797
|
tagType: {
|
|
798
798
|
default: string;
|
|
799
|
-
type: import("vue").PropType<"
|
|
799
|
+
type: import("vue").PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
800
800
|
required: false;
|
|
801
801
|
validator: ((val: unknown) => boolean) | undefined;
|
|
802
802
|
__epPropKey: true;
|
|
@@ -872,9 +872,9 @@ declare const _RemoteSelect: {
|
|
|
872
872
|
}>> & Readonly<{
|
|
873
873
|
onClear?: (() => any) | undefined;
|
|
874
874
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
875
|
-
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
876
875
|
onChange?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
877
876
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
877
|
+
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
878
878
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
879
879
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
880
880
|
"onPopup-scroll"?: ((args_0: {
|
|
@@ -885,32 +885,32 @@ declare const _RemoteSelect: {
|
|
|
885
885
|
offset: number;
|
|
886
886
|
multiple: boolean;
|
|
887
887
|
disabled: boolean;
|
|
888
|
+
teleported: boolean;
|
|
888
889
|
immediate: boolean;
|
|
889
|
-
valueKey: string;
|
|
890
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
891
890
|
placement: any;
|
|
891
|
+
loading: boolean;
|
|
892
|
+
pagination: boolean | import("element-plus").PaginationProps;
|
|
893
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
892
894
|
popperClass: string;
|
|
893
|
-
|
|
895
|
+
validateEvent: boolean;
|
|
896
|
+
tabindex: string | number;
|
|
897
|
+
showArrow: boolean;
|
|
898
|
+
persistent: boolean;
|
|
899
|
+
effect: import("element-plus").PopperEffect;
|
|
900
|
+
fallbackPlacements: Placement[];
|
|
901
|
+
popperOptions: any;
|
|
902
|
+
valueKey: string;
|
|
894
903
|
fitInputWidth: boolean;
|
|
895
904
|
autocomplete: string;
|
|
896
905
|
clearable: boolean;
|
|
897
|
-
tabindex: string | number;
|
|
898
|
-
validateEvent: boolean;
|
|
899
|
-
loading: boolean;
|
|
900
906
|
valueOnClear: string | number | boolean | Function | null;
|
|
901
907
|
filterable: boolean;
|
|
902
908
|
collapseTags: boolean;
|
|
903
909
|
maxCollapseTags: number;
|
|
904
910
|
collapseTagsTooltip: boolean;
|
|
905
|
-
|
|
906
|
-
effect: import("element-plus").PopperEffect;
|
|
907
|
-
tagType: "warning" | "success" | "primary" | "info" | "danger";
|
|
911
|
+
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
908
912
|
tagEffect: "dark" | "light" | "plain";
|
|
909
|
-
persistent: boolean;
|
|
910
|
-
pagination: boolean | import("element-plus").PaginationProps;
|
|
911
913
|
automaticDropdown: boolean;
|
|
912
|
-
popperOptions: any;
|
|
913
|
-
showArrow: boolean;
|
|
914
914
|
allowCreate: boolean;
|
|
915
915
|
remote: boolean;
|
|
916
916
|
multipleLimit: number;
|
|
@@ -1107,7 +1107,7 @@ declare const _RemoteSelect: {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
tagType: {
|
|
1109
1109
|
default: string;
|
|
1110
|
-
type: import("vue").PropType<"
|
|
1110
|
+
type: import("vue").PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
1111
1111
|
required: false;
|
|
1112
1112
|
validator: ((val: unknown) => boolean) | undefined;
|
|
1113
1113
|
__epPropKey: true;
|
|
@@ -1183,9 +1183,9 @@ declare const _RemoteSelect: {
|
|
|
1183
1183
|
}>> & Readonly<{
|
|
1184
1184
|
onClear?: (() => any) | undefined;
|
|
1185
1185
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
1186
|
-
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
1187
1186
|
onChange?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
1188
1187
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
1188
|
+
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
1189
1189
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
1190
1190
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
1191
1191
|
"onPopup-scroll"?: ((args_0: {
|
|
@@ -1208,32 +1208,32 @@ declare const _RemoteSelect: {
|
|
|
1208
1208
|
offset: number;
|
|
1209
1209
|
multiple: boolean;
|
|
1210
1210
|
disabled: boolean;
|
|
1211
|
+
teleported: boolean;
|
|
1211
1212
|
immediate: boolean;
|
|
1212
|
-
valueKey: string;
|
|
1213
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
1214
1213
|
placement: any;
|
|
1214
|
+
loading: boolean;
|
|
1215
|
+
pagination: boolean | import("element-plus").PaginationProps;
|
|
1216
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
1215
1217
|
popperClass: string;
|
|
1216
|
-
|
|
1218
|
+
validateEvent: boolean;
|
|
1219
|
+
tabindex: string | number;
|
|
1220
|
+
showArrow: boolean;
|
|
1221
|
+
persistent: boolean;
|
|
1222
|
+
effect: import("element-plus").PopperEffect;
|
|
1223
|
+
fallbackPlacements: Placement[];
|
|
1224
|
+
popperOptions: any;
|
|
1225
|
+
valueKey: string;
|
|
1217
1226
|
fitInputWidth: boolean;
|
|
1218
1227
|
autocomplete: string;
|
|
1219
1228
|
clearable: boolean;
|
|
1220
|
-
tabindex: string | number;
|
|
1221
|
-
validateEvent: boolean;
|
|
1222
|
-
loading: boolean;
|
|
1223
1229
|
valueOnClear: string | number | boolean | Function | null;
|
|
1224
1230
|
filterable: boolean;
|
|
1225
1231
|
collapseTags: boolean;
|
|
1226
1232
|
maxCollapseTags: number;
|
|
1227
1233
|
collapseTagsTooltip: boolean;
|
|
1228
|
-
|
|
1229
|
-
effect: import("element-plus").PopperEffect;
|
|
1230
|
-
tagType: "warning" | "success" | "primary" | "info" | "danger";
|
|
1234
|
+
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
1231
1235
|
tagEffect: "dark" | "light" | "plain";
|
|
1232
|
-
persistent: boolean;
|
|
1233
|
-
pagination: boolean | import("element-plus").PaginationProps;
|
|
1234
1236
|
automaticDropdown: boolean;
|
|
1235
|
-
popperOptions: any;
|
|
1236
|
-
showArrow: boolean;
|
|
1237
1237
|
allowCreate: boolean;
|
|
1238
1238
|
remote: boolean;
|
|
1239
1239
|
multipleLimit: number;
|
|
@@ -189,7 +189,7 @@ export declare const remoteSelectProps: {
|
|
|
189
189
|
};
|
|
190
190
|
tagType: {
|
|
191
191
|
default: string;
|
|
192
|
-
type: PropType<"
|
|
192
|
+
type: PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
193
193
|
required: false;
|
|
194
194
|
validator: ((val: unknown) => boolean) | undefined;
|
|
195
195
|
__epPropKey: true;
|
|
@@ -185,7 +185,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
185
185
|
};
|
|
186
186
|
tagType: {
|
|
187
187
|
default: string;
|
|
188
|
-
type: import("vue").PropType<"
|
|
188
|
+
type: import("vue").PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
189
189
|
required: false;
|
|
190
190
|
validator: ((val: unknown) => boolean) | undefined;
|
|
191
191
|
__epPropKey: true;
|
|
@@ -456,7 +456,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
456
456
|
};
|
|
457
457
|
tagType: {
|
|
458
458
|
default: string;
|
|
459
|
-
type: import("vue").PropType<"
|
|
459
|
+
type: import("vue").PropType<"primary" | "success" | "warning" | "info" | "danger">;
|
|
460
460
|
required: false;
|
|
461
461
|
validator: ((val: unknown) => boolean) | undefined;
|
|
462
462
|
__epPropKey: true;
|
|
@@ -532,9 +532,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
532
532
|
}>> & Readonly<{
|
|
533
533
|
onClear?: (() => any) | undefined;
|
|
534
534
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
535
|
-
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
536
535
|
onChange?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
537
536
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
537
|
+
"onUpdate:modelValue"?: ((val: ((string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null) | undefined) => any) | undefined;
|
|
538
538
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
539
539
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
540
540
|
"onPopup-scroll"?: ((args_0: {
|
|
@@ -545,32 +545,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
545
545
|
offset: number;
|
|
546
546
|
multiple: boolean;
|
|
547
547
|
disabled: boolean;
|
|
548
|
+
teleported: boolean;
|
|
548
549
|
immediate: boolean;
|
|
549
|
-
valueKey: string;
|
|
550
|
-
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
551
550
|
placement: any;
|
|
551
|
+
loading: boolean;
|
|
552
|
+
pagination: boolean | PaginationProps;
|
|
553
|
+
modelValue: (string | number | boolean | Record<string, any>) | (string | number | boolean | Record<string, any>)[] | null;
|
|
552
554
|
popperClass: string;
|
|
553
|
-
|
|
555
|
+
validateEvent: boolean;
|
|
556
|
+
tabindex: string | number;
|
|
557
|
+
showArrow: boolean;
|
|
558
|
+
persistent: boolean;
|
|
559
|
+
effect: import("element-plus").PopperEffect;
|
|
560
|
+
fallbackPlacements: Placement[];
|
|
561
|
+
popperOptions: any;
|
|
562
|
+
valueKey: string;
|
|
554
563
|
fitInputWidth: boolean;
|
|
555
564
|
autocomplete: string;
|
|
556
565
|
clearable: boolean;
|
|
557
|
-
tabindex: string | number;
|
|
558
|
-
validateEvent: boolean;
|
|
559
|
-
loading: boolean;
|
|
560
566
|
valueOnClear: string | number | boolean | Function | null;
|
|
561
567
|
filterable: boolean;
|
|
562
568
|
collapseTags: boolean;
|
|
563
569
|
maxCollapseTags: number;
|
|
564
570
|
collapseTagsTooltip: boolean;
|
|
565
|
-
|
|
566
|
-
effect: import("element-plus").PopperEffect;
|
|
567
|
-
tagType: "warning" | "success" | "primary" | "info" | "danger";
|
|
571
|
+
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
568
572
|
tagEffect: "dark" | "light" | "plain";
|
|
569
|
-
persistent: boolean;
|
|
570
|
-
pagination: boolean | PaginationProps;
|
|
571
573
|
automaticDropdown: boolean;
|
|
572
|
-
popperOptions: any;
|
|
573
|
-
showArrow: boolean;
|
|
574
574
|
allowCreate: boolean;
|
|
575
575
|
remote: boolean;
|
|
576
576
|
multipleLimit: number;
|
|
@@ -2,11 +2,11 @@ export * from './snug-menu';
|
|
|
2
2
|
export * from './snug-menu-item';
|
|
3
3
|
declare const _SnugMenu: {
|
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./snug-menu").SnugMenuProps> & Readonly<{
|
|
5
|
-
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
6
5
|
onChange?: ((name: string) => any) | undefined;
|
|
6
|
+
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
7
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
-
"update:modelValue": (name: string) => any;
|
|
9
8
|
change: (name: string) => any;
|
|
9
|
+
"update:modelValue": (name: string) => any;
|
|
10
10
|
}, import("vue").PublicProps, {
|
|
11
11
|
mode: "horizontal" | "vertical";
|
|
12
12
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -17,8 +17,8 @@ declare const _SnugMenu: {
|
|
|
17
17
|
M: {};
|
|
18
18
|
Defaults: {};
|
|
19
19
|
}, Readonly<import("./snug-menu").SnugMenuProps> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
21
20
|
onChange?: ((name: string) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
22
22
|
}>, {}, {}, {}, {}, {
|
|
23
23
|
mode: "horizontal" | "vertical";
|
|
24
24
|
}>;
|
|
@@ -26,11 +26,11 @@ declare const _SnugMenu: {
|
|
|
26
26
|
__isTeleport?: never;
|
|
27
27
|
__isSuspense?: never;
|
|
28
28
|
} & import("vue").ComponentOptionsBase<Readonly<import("./snug-menu").SnugMenuProps> & Readonly<{
|
|
29
|
-
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
30
29
|
onChange?: ((name: string) => any) | undefined;
|
|
30
|
+
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
31
31
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
|
-
"update:modelValue": (name: string) => any;
|
|
33
32
|
change: (name: string) => any;
|
|
33
|
+
"update:modelValue": (name: string) => any;
|
|
34
34
|
}, string, {
|
|
35
35
|
mode: "horizontal" | "vertical";
|
|
36
36
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, createElementBlock, openBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { snugMenuContextSymbol } from './snug-menu.js';
|
|
3
3
|
import stdin_default$1 from '../icon/icon.vue.js';
|
|
4
|
+
import { useI18n } from 'vue-i18n';
|
|
4
5
|
import { useComponentConfig } from '../config-provider/config-provider.api.js';
|
|
5
6
|
|
|
7
|
+
const _hoisted_1 = ["title"];
|
|
6
8
|
var stdin_default = /* @__PURE__ */defineComponent({
|
|
7
9
|
...{
|
|
8
10
|
name: "CoSnugMenuItem"
|
|
@@ -32,11 +34,15 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
32
34
|
}) {
|
|
33
35
|
const props = __props;
|
|
34
36
|
const emit = __emit;
|
|
37
|
+
const {
|
|
38
|
+
t
|
|
39
|
+
} = useI18n();
|
|
35
40
|
const {
|
|
36
41
|
prefixCls
|
|
37
42
|
} = useComponentConfig("snug-menu-item", props);
|
|
38
43
|
const context = inject(snugMenuContextSymbol);
|
|
39
44
|
const isActive = computed(() => !!props.name && context.activeName === props.name);
|
|
45
|
+
const title = computed(() => t(props.title ?? ""));
|
|
40
46
|
const onClick = event => {
|
|
41
47
|
if (!props.disabled) {
|
|
42
48
|
emit("click", event);
|
|
@@ -56,9 +62,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
56
62
|
size: "xl",
|
|
57
63
|
class: normalizeClass([`${unref(prefixCls)}-icon`])
|
|
58
64
|
}, null, 8, ["name", "class"])) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
59
|
-
class: normalizeClass([`${unref(prefixCls)}-title`])
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
class: normalizeClass([`${unref(prefixCls)}-title`]),
|
|
66
|
+
title: title.value
|
|
67
|
+
}, toDisplayString(title.value), 11, _hoisted_1)], 2
|
|
62
68
|
/* CLASS */);
|
|
63
69
|
};
|
|
64
70
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type SnugMenuProps, type SnugMenuSlots } from './snug-menu';
|
|
2
2
|
type __VLS_Slots = SnugMenuSlots;
|
|
3
3
|
declare const __VLS_component: import("vue").DefineComponent<SnugMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
-
"update:modelValue": (name: string) => any;
|
|
5
4
|
change: (name: string) => any;
|
|
5
|
+
"update:modelValue": (name: string) => any;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<SnugMenuProps> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
8
7
|
onChange?: ((name: string) => any) | undefined;
|
|
8
|
+
"onUpdate:modelValue"?: ((name: string) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
10
|
mode: "horizontal" | "vertical";
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './table';
|
|
2
|
-
export * from './table-column/table-column';
|
|
2
|
+
export * from './table-column/table-column.api';
|
|
3
3
|
export * from './table-query/table-query';
|
|
4
4
|
export * from './useTable';
|
|
5
5
|
declare const _Table: {
|
|
@@ -12,11 +12,11 @@ declare const _Table: {
|
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
columns: {
|
|
15
|
-
type: import("vue").PropType<import("
|
|
15
|
+
type: import("vue").PropType<import(".").MayBeTableColumnProps[]>;
|
|
16
16
|
default: () => never[];
|
|
17
17
|
};
|
|
18
18
|
actionColumn: {
|
|
19
|
-
type: import("vue").PropType<import("
|
|
19
|
+
type: import("vue").PropType<import(".").MayBeTableColumnProps>;
|
|
20
20
|
};
|
|
21
21
|
pagination: {
|
|
22
22
|
type: import("vue").PropType<boolean | import("element-plus").PaginationProps>;
|
|
@@ -28,7 +28,7 @@ declare const _Table: {
|
|
|
28
28
|
formProps: {
|
|
29
29
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
30
30
|
schemes: {
|
|
31
|
-
type: import("vue").PropType<import("
|
|
31
|
+
type: import("vue").PropType<import(".").TableQueryScheme[]>;
|
|
32
32
|
default: () => never[];
|
|
33
33
|
};
|
|
34
34
|
grid: {
|
|
@@ -217,19 +217,21 @@ declare const _Table: {
|
|
|
217
217
|
};
|
|
218
218
|
emptyText: StringConstructor;
|
|
219
219
|
sumText: StringConstructor;
|
|
220
|
+
fit: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
lazy: BooleanConstructor;
|
|
225
|
+
showOverflowTooltip: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["showOverflowTooltip"]>;
|
|
226
|
+
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["tooltipFormatter"]>;
|
|
220
227
|
cellClassName: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["cellClassName"]>;
|
|
221
228
|
rowStyle: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["rowStyle"]>;
|
|
222
229
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
223
230
|
defaultExpandAll: BooleanConstructor;
|
|
224
|
-
lazy: BooleanConstructor;
|
|
225
231
|
indent: {
|
|
226
232
|
type: NumberConstructor;
|
|
227
233
|
default: number;
|
|
228
234
|
};
|
|
229
|
-
fit: {
|
|
230
|
-
type: BooleanConstructor;
|
|
231
|
-
default: boolean;
|
|
232
|
-
};
|
|
233
235
|
stripe: BooleanConstructor;
|
|
234
236
|
rowKey: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["rowKey"]>;
|
|
235
237
|
showHeader: {
|
|
@@ -264,8 +266,6 @@ declare const _Table: {
|
|
|
264
266
|
};
|
|
265
267
|
};
|
|
266
268
|
flexible: BooleanConstructor;
|
|
267
|
-
showOverflowTooltip: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["showOverflowTooltip"]>;
|
|
268
|
-
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["tooltipFormatter"]>;
|
|
269
269
|
appendFilterPanelTo: StringConstructor;
|
|
270
270
|
scrollbarTabindex: {
|
|
271
271
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -319,16 +319,16 @@ declare const _Table: {
|
|
|
319
319
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
320
320
|
tableLayout: "auto" | "fixed";
|
|
321
321
|
border: boolean;
|
|
322
|
-
columns: import("
|
|
322
|
+
columns: import(".").MayBeTableColumnProps[];
|
|
323
323
|
data: any[];
|
|
324
324
|
immediate: boolean;
|
|
325
325
|
className: string;
|
|
326
326
|
pagination: boolean | import("element-plus").PaginationProps;
|
|
327
|
+
fit: boolean;
|
|
328
|
+
lazy: boolean;
|
|
327
329
|
scrollbarAlwaysOn: boolean;
|
|
328
330
|
defaultExpandAll: boolean;
|
|
329
|
-
lazy: boolean;
|
|
330
331
|
indent: number;
|
|
331
|
-
fit: boolean;
|
|
332
332
|
stripe: boolean;
|
|
333
333
|
showHeader: boolean;
|
|
334
334
|
showSummary: boolean;
|
|
@@ -358,11 +358,11 @@ declare const _Table: {
|
|
|
358
358
|
default: boolean;
|
|
359
359
|
};
|
|
360
360
|
columns: {
|
|
361
|
-
type: import("vue").PropType<import("
|
|
361
|
+
type: import("vue").PropType<import(".").MayBeTableColumnProps[]>;
|
|
362
362
|
default: () => never[];
|
|
363
363
|
};
|
|
364
364
|
actionColumn: {
|
|
365
|
-
type: import("vue").PropType<import("
|
|
365
|
+
type: import("vue").PropType<import(".").MayBeTableColumnProps>;
|
|
366
366
|
};
|
|
367
367
|
pagination: {
|
|
368
368
|
type: import("vue").PropType<boolean | import("element-plus").PaginationProps>;
|
|
@@ -374,7 +374,7 @@ declare const _Table: {
|
|
|
374
374
|
formProps: {
|
|
375
375
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
376
376
|
schemes: {
|
|
377
|
-
type: import("vue").PropType<import("
|
|
377
|
+
type: import("vue").PropType<import(".").TableQueryScheme[]>;
|
|
378
378
|
default: () => never[];
|
|
379
379
|
};
|
|
380
380
|
grid: {
|
|
@@ -563,19 +563,21 @@ declare const _Table: {
|
|
|
563
563
|
};
|
|
564
564
|
emptyText: StringConstructor;
|
|
565
565
|
sumText: StringConstructor;
|
|
566
|
+
fit: {
|
|
567
|
+
type: BooleanConstructor;
|
|
568
|
+
default: boolean;
|
|
569
|
+
};
|
|
570
|
+
lazy: BooleanConstructor;
|
|
571
|
+
showOverflowTooltip: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["showOverflowTooltip"]>;
|
|
572
|
+
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["tooltipFormatter"]>;
|
|
566
573
|
cellClassName: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["cellClassName"]>;
|
|
567
574
|
rowStyle: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["rowStyle"]>;
|
|
568
575
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
569
576
|
defaultExpandAll: BooleanConstructor;
|
|
570
|
-
lazy: BooleanConstructor;
|
|
571
577
|
indent: {
|
|
572
578
|
type: NumberConstructor;
|
|
573
579
|
default: number;
|
|
574
580
|
};
|
|
575
|
-
fit: {
|
|
576
|
-
type: BooleanConstructor;
|
|
577
|
-
default: boolean;
|
|
578
|
-
};
|
|
579
581
|
stripe: BooleanConstructor;
|
|
580
582
|
rowKey: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["rowKey"]>;
|
|
581
583
|
showHeader: {
|
|
@@ -610,8 +612,6 @@ declare const _Table: {
|
|
|
610
612
|
};
|
|
611
613
|
};
|
|
612
614
|
flexible: BooleanConstructor;
|
|
613
|
-
showOverflowTooltip: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["showOverflowTooltip"]>;
|
|
614
|
-
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["tooltipFormatter"]>;
|
|
615
615
|
appendFilterPanelTo: StringConstructor;
|
|
616
616
|
scrollbarTabindex: {
|
|
617
617
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -665,16 +665,16 @@ declare const _Table: {
|
|
|
665
665
|
}, {}, {}, {}, {
|
|
666
666
|
tableLayout: "auto" | "fixed";
|
|
667
667
|
border: boolean;
|
|
668
|
-
columns: import("
|
|
668
|
+
columns: import(".").MayBeTableColumnProps[];
|
|
669
669
|
data: any[];
|
|
670
670
|
immediate: boolean;
|
|
671
671
|
className: string;
|
|
672
672
|
pagination: boolean | import("element-plus").PaginationProps;
|
|
673
|
+
fit: boolean;
|
|
674
|
+
lazy: boolean;
|
|
673
675
|
scrollbarAlwaysOn: boolean;
|
|
674
676
|
defaultExpandAll: boolean;
|
|
675
|
-
lazy: boolean;
|
|
676
677
|
indent: number;
|
|
677
|
-
fit: boolean;
|
|
678
678
|
stripe: boolean;
|
|
679
679
|
showHeader: boolean;
|
|
680
680
|
showSummary: boolean;
|
|
@@ -701,11 +701,11 @@ declare const _Table: {
|
|
|
701
701
|
default: boolean;
|
|
702
702
|
};
|
|
703
703
|
columns: {
|
|
704
|
-
type: import("vue").PropType<import("
|
|
704
|
+
type: import("vue").PropType<import(".").MayBeTableColumnProps[]>;
|
|
705
705
|
default: () => never[];
|
|
706
706
|
};
|
|
707
707
|
actionColumn: {
|
|
708
|
-
type: import("vue").PropType<import("
|
|
708
|
+
type: import("vue").PropType<import(".").MayBeTableColumnProps>;
|
|
709
709
|
};
|
|
710
710
|
pagination: {
|
|
711
711
|
type: import("vue").PropType<boolean | import("element-plus").PaginationProps>;
|
|
@@ -715,7 +715,7 @@ declare const _Table: {
|
|
|
715
715
|
type: import("vue").PropType<(expose: import("./table").TableExpose) => void>;
|
|
716
716
|
};
|
|
717
717
|
formProps: {
|
|
718
|
-
type: import("vue").PropType<import("
|
|
718
|
+
type: import("vue").PropType<import(".").TableQueryProps>;
|
|
719
719
|
};
|
|
720
720
|
transformParams: {
|
|
721
721
|
type: import("vue").PropType<(params: Record<string, any>) => any>;
|
|
@@ -764,19 +764,21 @@ declare const _Table: {
|
|
|
764
764
|
};
|
|
765
765
|
emptyText: StringConstructor;
|
|
766
766
|
sumText: StringConstructor;
|
|
767
|
+
fit: {
|
|
768
|
+
type: BooleanConstructor;
|
|
769
|
+
default: boolean;
|
|
770
|
+
};
|
|
771
|
+
lazy: BooleanConstructor;
|
|
772
|
+
showOverflowTooltip: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["showOverflowTooltip"]>;
|
|
773
|
+
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["tooltipFormatter"]>;
|
|
767
774
|
cellClassName: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["cellClassName"]>;
|
|
768
775
|
rowStyle: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["rowStyle"]>;
|
|
769
776
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
770
777
|
defaultExpandAll: BooleanConstructor;
|
|
771
|
-
lazy: BooleanConstructor;
|
|
772
778
|
indent: {
|
|
773
779
|
type: NumberConstructor;
|
|
774
780
|
default: number;
|
|
775
781
|
};
|
|
776
|
-
fit: {
|
|
777
|
-
type: BooleanConstructor;
|
|
778
|
-
default: boolean;
|
|
779
|
-
};
|
|
780
782
|
stripe: BooleanConstructor;
|
|
781
783
|
rowKey: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["rowKey"]>;
|
|
782
784
|
showHeader: {
|
|
@@ -811,8 +813,6 @@ declare const _Table: {
|
|
|
811
813
|
};
|
|
812
814
|
};
|
|
813
815
|
flexible: BooleanConstructor;
|
|
814
|
-
showOverflowTooltip: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["showOverflowTooltip"]>;
|
|
815
|
-
tooltipFormatter: import("vue").PropType<import("element-plus/es/components/index.mjs").TableProps<any>["tooltipFormatter"]>;
|
|
816
816
|
appendFilterPanelTo: StringConstructor;
|
|
817
817
|
scrollbarTabindex: {
|
|
818
818
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -866,16 +866,16 @@ declare const _Table: {
|
|
|
866
866
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
867
867
|
tableLayout: "auto" | "fixed";
|
|
868
868
|
border: boolean;
|
|
869
|
-
columns: import("
|
|
869
|
+
columns: import(".").MayBeTableColumnProps[];
|
|
870
870
|
data: any[];
|
|
871
871
|
immediate: boolean;
|
|
872
872
|
className: string;
|
|
873
873
|
pagination: boolean | import("element-plus").PaginationProps;
|
|
874
|
+
fit: boolean;
|
|
875
|
+
lazy: boolean;
|
|
874
876
|
scrollbarAlwaysOn: boolean;
|
|
875
877
|
defaultExpandAll: boolean;
|
|
876
|
-
lazy: boolean;
|
|
877
878
|
indent: number;
|
|
878
|
-
fit: boolean;
|
|
879
879
|
stripe: boolean;
|
|
880
880
|
showHeader: boolean;
|
|
881
881
|
showSummary: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { withInstall } from '../utils.js';
|
|
2
2
|
import stdin_default$1 from './table.vue.js';
|
|
3
3
|
export { defaultTableConfig, elSlotsName, omittedTableProps, tableEmitEvents, tableEmitOnEvents, tableEmitOnProps, tableExposeKeys, tableProps } from './table.js';
|
|
4
|
-
export { tableColumnProps } from './table-column/table-column.js';
|
|
4
|
+
export { tableColumnProps } from './table-column/table-column.api.js';
|
|
5
5
|
export { createScheme, omittedTableQueryProps, tableQueryExposeKeys, tableQueryProps } from './table-query/table-query.js';
|
|
6
6
|
export { useTable } from './useTable.js';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type LinkProps, type SwitchProps, type TableColumnCtx } from 'element-plus';
|
|
2
|
-
import { type TableColumnProps } from './table-column';
|
|
2
|
+
import { type TableColumnProps } from './table-column.api';
|
|
3
3
|
import { type LongTextProps } from '../../long-text';
|
|
4
4
|
import { type MediaCardProps } from '../../media-card';
|
|
5
5
|
import { type MediaCardGroupProps } from '../../media-card-group';
|