@aplus-frontend/ui 7.11.4 → 7.12.0
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/es/src/ap-action/group/index.vue.d.ts +2 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/es/src/ap-field/index.d.ts +2 -2
- package/es/src/ap-field/interface.d.ts +6 -2
- package/es/src/ap-field/number/index.vue.d.ts +21 -1
- package/es/src/ap-field/number/index.vue.mjs +18 -16
- package/es/src/ap-field/number/read.vue2.mjs +1 -0
- package/es/src/ap-field/radio/index.vue.d.ts +10 -0
- package/es/src/ap-field/radio/index.vue.mjs +2 -2
- package/es/src/ap-field/radio/read.vue2.mjs +2 -2
- package/es/src/ap-field/rate/index.vue.d.ts +326 -6
- package/es/src/ap-field/rate/index.vue.mjs +7 -6
- package/es/src/ap-field/second/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +4 -0
- package/es/src/ap-field/select/index.vue.mjs +5 -4
- package/es/src/ap-field/select/read.vue2.mjs +1 -0
- package/es/src/ap-field/slider/index.vue.d.ts +1 -1
- package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -7
- package/es/src/ap-form/items/number/index.vue.d.ts +52 -30
- package/es/src/ap-form/items/radio/index.vue.d.ts +20 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -0
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +6 -6
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-table/constants.d.ts +45 -21
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -1
- package/es/src/business/ap-table-modal/index.d.ts +7 -6
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +7 -7
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +17 -1
- package/es/src/config-provider/config-provider.d.ts +37 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +17 -1
- package/es/src/config-provider/index.d.ts +61 -1
- package/es/src/utils/config-provider-preset.d.ts +9 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/lib/src/ap-field/index.d.ts +2 -2
- package/lib/src/ap-field/interface.d.ts +6 -2
- package/lib/src/ap-field/number/index.vue.d.ts +21 -1
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +10 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +326 -6
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +4 -0
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -7
- package/lib/src/ap-form/items/number/index.vue.d.ts +52 -30
- package/lib/src/ap-form/items/radio/index.vue.d.ts +20 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -0
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-table/constants.d.ts +45 -21
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -1
- package/lib/src/business/ap-table-modal/index.d.ts +7 -6
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/config-provider/config-provider-props.d.ts +17 -1
- package/lib/src/config-provider/config-provider.d.ts +37 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +17 -1
- package/lib/src/config-provider/index.d.ts +61 -1
- package/lib/src/utils/config-provider-preset.d.ts +9 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -177,6 +177,7 @@ export declare const apTableFormItemMap: {
|
|
|
177
177
|
readonly class?: unknown;
|
|
178
178
|
readonly style?: unknown;
|
|
179
179
|
readonly size?: "small" | "large" | "middle" | undefined;
|
|
180
|
+
readonly type?: string | undefined;
|
|
180
181
|
readonly step?: ValueType | undefined;
|
|
181
182
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
182
183
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
@@ -184,15 +185,24 @@ export declare const apTableFormItemMap: {
|
|
|
184
185
|
readonly onInput?: ((text: string) => void) | undefined;
|
|
185
186
|
readonly value?: ValueType | undefined;
|
|
186
187
|
readonly disabled?: boolean | undefined;
|
|
188
|
+
readonly placeholder?: string | undefined;
|
|
187
189
|
readonly prefixCls?: string | undefined;
|
|
188
190
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
191
|
+
readonly name?: string | undefined;
|
|
192
|
+
readonly id?: string | undefined;
|
|
189
193
|
readonly readonly?: boolean | undefined;
|
|
190
194
|
readonly autofocus?: boolean | undefined;
|
|
191
195
|
readonly bordered?: boolean | undefined;
|
|
192
196
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
193
197
|
readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
198
|
+
readonly valueModifiers?: Record<string, any> | undefined;
|
|
194
199
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
195
200
|
readonly defaultValue?: ValueType | undefined;
|
|
201
|
+
readonly addonBefore?: any;
|
|
202
|
+
readonly addonAfter?: any;
|
|
203
|
+
readonly prefix?: any;
|
|
204
|
+
readonly suffix?: any;
|
|
205
|
+
readonly tabindex?: number | undefined;
|
|
196
206
|
readonly changeOnWheel?: boolean | undefined;
|
|
197
207
|
readonly changeOnBlur?: boolean | undefined;
|
|
198
208
|
readonly stringMode?: boolean | undefined;
|
|
@@ -205,22 +215,13 @@ export declare const apTableFormItemMap: {
|
|
|
205
215
|
userTyping: boolean;
|
|
206
216
|
input: string;
|
|
207
217
|
}) => string) | undefined;
|
|
218
|
+
readonly precision?: number | undefined;
|
|
219
|
+
readonly decimalSeparator?: string | undefined;
|
|
208
220
|
readonly onStep?: ((value: ValueType, info: {
|
|
209
221
|
offset: ValueType;
|
|
210
222
|
type: "up" | "down";
|
|
211
223
|
}) => void) | undefined;
|
|
212
|
-
readonly
|
|
213
|
-
readonly placeholder?: string | undefined;
|
|
214
|
-
readonly name?: string | undefined;
|
|
215
|
-
readonly id?: string | undefined;
|
|
216
|
-
readonly valueModifiers?: Record<string, any> | undefined;
|
|
217
|
-
readonly addonBefore?: any;
|
|
218
|
-
readonly addonAfter?: any;
|
|
219
|
-
readonly prefix?: any;
|
|
220
|
-
readonly suffix?: any;
|
|
221
|
-
readonly tabindex?: number | undefined;
|
|
222
|
-
readonly precision?: number | undefined;
|
|
223
|
-
readonly decimalSeparator?: string | undefined;
|
|
224
|
+
readonly inputMode?: "input" | "spinner" | undefined;
|
|
224
225
|
readonly emptyText?: string | undefined;
|
|
225
226
|
readonly thousands?: boolean | undefined;
|
|
226
227
|
readonly limitDecimalsRetain?: boolean | undefined;
|
|
@@ -364,9 +365,14 @@ export declare const apTableFormItemMap: {
|
|
|
364
365
|
type: PropType<(e: FocusEvent) => void>;
|
|
365
366
|
default: (e: FocusEvent) => void;
|
|
366
367
|
};
|
|
368
|
+
mode: {
|
|
369
|
+
type: PropType<"input" | "spinner">;
|
|
370
|
+
default: "input" | "spinner";
|
|
371
|
+
};
|
|
367
372
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
368
373
|
size: ButtonSize;
|
|
369
374
|
value: ValueType;
|
|
375
|
+
mode: "input" | "spinner";
|
|
370
376
|
onFocus: (e: FocusEvent) => void;
|
|
371
377
|
onBlur: (e: FocusEvent) => void;
|
|
372
378
|
onChange: (value: ValueType) => void;
|
|
@@ -546,9 +552,14 @@ export declare const apTableFormItemMap: {
|
|
|
546
552
|
type: PropType<(e: FocusEvent) => void>;
|
|
547
553
|
default: (e: FocusEvent) => void;
|
|
548
554
|
};
|
|
555
|
+
mode: {
|
|
556
|
+
type: PropType<"input" | "spinner">;
|
|
557
|
+
default: "input" | "spinner";
|
|
558
|
+
};
|
|
549
559
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
550
560
|
size: ButtonSize;
|
|
551
561
|
value: ValueType;
|
|
562
|
+
mode: "input" | "spinner";
|
|
552
563
|
onFocus: (e: FocusEvent) => void;
|
|
553
564
|
onBlur: (e: FocusEvent) => void;
|
|
554
565
|
onChange: (value: ValueType) => void;
|
|
@@ -601,13 +612,13 @@ export declare const apTableFormItemMap: {
|
|
|
601
612
|
step: ValueType;
|
|
602
613
|
disabled: boolean;
|
|
603
614
|
bordered: boolean;
|
|
615
|
+
emptyText: string;
|
|
604
616
|
changeOnWheel: boolean;
|
|
605
617
|
changeOnBlur: boolean;
|
|
606
618
|
min: ValueType;
|
|
607
619
|
max: ValueType;
|
|
608
620
|
controls: boolean;
|
|
609
621
|
keyboard: boolean;
|
|
610
|
-
emptyText: string;
|
|
611
622
|
thousands: boolean;
|
|
612
623
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
613
624
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -633,17 +644,17 @@ export declare const apTableFormItemMap: {
|
|
|
633
644
|
step: ValueType;
|
|
634
645
|
disabled: boolean;
|
|
635
646
|
bordered: boolean;
|
|
647
|
+
emptyText: string;
|
|
636
648
|
changeOnWheel: boolean;
|
|
637
649
|
changeOnBlur: boolean;
|
|
638
650
|
min: ValueType;
|
|
639
651
|
max: ValueType;
|
|
640
652
|
controls: boolean;
|
|
641
653
|
keyboard: boolean;
|
|
642
|
-
emptyText: string;
|
|
643
654
|
thousands: boolean;
|
|
644
655
|
}> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
|
|
645
656
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
646
|
-
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "
|
|
657
|
+
}>, "blur" | "focus" | ("step" | "disabled" | "bordered" | "emptyText" | "changeOnWheel" | "changeOnBlur" | "min" | "max" | "controls" | "keyboard" | "thousands")> & ShallowUnwrapRef<{
|
|
647
658
|
focus: () => void;
|
|
648
659
|
blur: () => void;
|
|
649
660
|
}> & {} & ComponentCustomProperties & {} & {
|
|
@@ -773,8 +784,13 @@ export declare const apTableFormItemMap: {
|
|
|
773
784
|
type: PropType<(val: any) => void>;
|
|
774
785
|
default: (val: any) => void;
|
|
775
786
|
};
|
|
787
|
+
vertical: {
|
|
788
|
+
type: BooleanConstructor;
|
|
789
|
+
default: boolean;
|
|
790
|
+
};
|
|
776
791
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
777
792
|
size: "default" | "small" | "large";
|
|
793
|
+
vertical: boolean;
|
|
778
794
|
onChange: (e: RadioChangeEvent) => void;
|
|
779
795
|
block: boolean;
|
|
780
796
|
disabled: boolean;
|
|
@@ -823,8 +839,13 @@ export declare const apTableFormItemMap: {
|
|
|
823
839
|
type: PropType<(val: any) => void>;
|
|
824
840
|
default: (val: any) => void;
|
|
825
841
|
};
|
|
842
|
+
vertical: {
|
|
843
|
+
type: BooleanConstructor;
|
|
844
|
+
default: boolean;
|
|
845
|
+
};
|
|
826
846
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
827
847
|
size: "default" | "small" | "large";
|
|
848
|
+
vertical: boolean;
|
|
828
849
|
onChange: (e: RadioChangeEvent) => void;
|
|
829
850
|
block: boolean;
|
|
830
851
|
disabled: boolean;
|
|
@@ -964,6 +985,7 @@ export declare const apTableFormItemMap: {
|
|
|
964
985
|
readonly searchValue?: string | undefined;
|
|
965
986
|
readonly autoClearSearchValue?: boolean | undefined;
|
|
966
987
|
readonly onDeselect?: SelectHandler<(string | number) | LabeledValue, DefaultOptionType> | undefined;
|
|
988
|
+
readonly onActive?: ((value: SelectValue) => void) | undefined;
|
|
967
989
|
readonly filterOption?: boolean | FilterFunc<DefaultOptionType> | undefined;
|
|
968
990
|
readonly filterSort?: ((optionA: DefaultOptionType, optionB: DefaultOptionType, info: {
|
|
969
991
|
searchValue: string;
|
|
@@ -1126,6 +1148,7 @@ export declare const apTableFormItemMap: {
|
|
|
1126
1148
|
default: any;
|
|
1127
1149
|
};
|
|
1128
1150
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1151
|
+
onActive: PropType<(value: SelectValue) => void>;
|
|
1129
1152
|
filterOption: {
|
|
1130
1153
|
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
1131
1154
|
default: any;
|
|
@@ -1347,6 +1370,7 @@ export declare const apTableFormItemMap: {
|
|
|
1347
1370
|
default: any;
|
|
1348
1371
|
};
|
|
1349
1372
|
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
1373
|
+
onActive: PropType<(value: SelectValue) => void>;
|
|
1350
1374
|
filterOption: {
|
|
1351
1375
|
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
1352
1376
|
default: any;
|
|
@@ -3226,10 +3250,10 @@ export declare const apTableFormItemMap: {
|
|
|
3226
3250
|
labelInValue: boolean;
|
|
3227
3251
|
showSearch: boolean;
|
|
3228
3252
|
defaultOpen: boolean;
|
|
3253
|
+
emptyText: string;
|
|
3229
3254
|
treeCheckable: boolean;
|
|
3230
3255
|
treeCheckStrictly: boolean;
|
|
3231
3256
|
treeDefaultExpandAll: boolean;
|
|
3232
|
-
emptyText: string;
|
|
3233
3257
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
3234
3258
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3235
3259
|
created?: (() => void) | (() => void)[];
|
|
@@ -3266,13 +3290,13 @@ export declare const apTableFormItemMap: {
|
|
|
3266
3290
|
labelInValue: boolean;
|
|
3267
3291
|
showSearch: boolean;
|
|
3268
3292
|
defaultOpen: boolean;
|
|
3293
|
+
emptyText: string;
|
|
3269
3294
|
treeCheckable: boolean;
|
|
3270
3295
|
treeCheckStrictly: boolean;
|
|
3271
3296
|
treeDefaultExpandAll: boolean;
|
|
3272
|
-
emptyText: string;
|
|
3273
3297
|
}> & Omit<Readonly< ApFieldTreeSelectProps> & Readonly<{
|
|
3274
3298
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
3275
|
-
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "showSearch" | "defaultOpen" | "
|
|
3299
|
+
}>, "blur" | "focus" | "request" | ("mode" | "open" | "multiple" | "disabled" | "virtual" | "dropdownMatchSelectWidth" | "autofocus" | "loading" | "bordered" | "allowClear" | "showArrow" | "autoClearSearchValue" | "labelInValue" | "showSearch" | "defaultOpen" | "emptyText" | "treeCheckable" | "treeCheckStrictly" | "treeDefaultExpandAll")> & ShallowUnwrapRef<{
|
|
3276
3300
|
blur: () => void;
|
|
3277
3301
|
focus: () => void;
|
|
3278
3302
|
request: (currentNode?: LegacyDataNode, clear?: boolean) => Promise<void>;
|
|
@@ -3371,12 +3395,12 @@ export declare const apTableFormItemMap: {
|
|
|
3371
3395
|
*/
|
|
3372
3396
|
export declare const apTableRenderItemMap: {
|
|
3373
3397
|
date: DefineComponent<ApFieldDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFieldDateProps> & Readonly<{}>, {
|
|
3374
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3375
3398
|
emptyText: string;
|
|
3399
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3376
3400
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3377
3401
|
dateRange: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApFieldDateRangeProps> & Readonly<{}>, {
|
|
3378
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3379
3402
|
emptyText: string;
|
|
3403
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
3380
3404
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3381
3405
|
number: {
|
|
3382
3406
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFieldNumberProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
@@ -3451,8 +3475,8 @@ export declare const apTableRenderItemMap: {
|
|
|
3451
3475
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3452
3476
|
action: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApActionGroupProps> & Readonly<{}>, {
|
|
3453
3477
|
placement: "top" | "topLeft" | "bottom" | "bottomLeft" | "bottomRight" | "topRight" | "topCenter" | "bottomCenter";
|
|
3454
|
-
actions: GroupActionTypes[];
|
|
3455
3478
|
trigger: Trigger | Trigger[];
|
|
3479
|
+
actions: GroupActionTypes[];
|
|
3456
3480
|
count: number;
|
|
3457
3481
|
iconFirst: boolean;
|
|
3458
3482
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,7 +7,7 @@ import { DropdownArrowOptions, Trigger, Align } from '@aplus-frontend/antdv/es/d
|
|
|
7
7
|
import { ItemType, MenuTheme, MenuMode, TableColumnsType, ButtonProps } from '@aplus-frontend/antdv';
|
|
8
8
|
import { Key } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
import { CSSMotionProps } from '@aplus-frontend/antdv/es/_util/transition';
|
|
10
|
-
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
10
|
+
import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler, PopupRender } from '@aplus-frontend/antdv/es/menu/src/interface';
|
|
11
11
|
import { ApBatchActionGroupMenuProps } from './interface';
|
|
12
12
|
export * from './interface';
|
|
13
13
|
declare const ApBatchActionGroup: {
|
|
@@ -188,6 +188,7 @@ declare const ApBatchActionGroup: {
|
|
|
188
188
|
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
189
189
|
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
190
190
|
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
191
|
+
popupRender: PropType<PopupRender>;
|
|
191
192
|
}>>>;
|
|
192
193
|
default: Partial< ExtractPropTypes<{
|
|
193
194
|
id: StringConstructor;
|
|
@@ -256,6 +257,7 @@ declare const ApBatchActionGroup: {
|
|
|
256
257
|
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
257
258
|
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
258
259
|
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
260
|
+
popupRender: PropType<PopupRender>;
|
|
259
261
|
}>>;
|
|
260
262
|
};
|
|
261
263
|
overlay: VueTypeValidableDef<any>;
|
|
@@ -508,6 +510,7 @@ declare const ApBatchActionGroup: {
|
|
|
508
510
|
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
509
511
|
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
510
512
|
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
513
|
+
popupRender: PropType<PopupRender>;
|
|
511
514
|
}>>>;
|
|
512
515
|
default: Partial< ExtractPropTypes<{
|
|
513
516
|
id: StringConstructor;
|
|
@@ -576,6 +579,7 @@ declare const ApBatchActionGroup: {
|
|
|
576
579
|
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
577
580
|
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
578
581
|
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
582
|
+
popupRender: PropType<PopupRender>;
|
|
579
583
|
}>>;
|
|
580
584
|
};
|
|
581
585
|
overlay: VueTypeValidableDef<any>;
|
|
@@ -825,6 +829,7 @@ declare const ApBatchActionGroup: {
|
|
|
825
829
|
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
826
830
|
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
827
831
|
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
832
|
+
popupRender: PropType<PopupRender>;
|
|
828
833
|
}>>>;
|
|
829
834
|
default: Partial< ExtractPropTypes<{
|
|
830
835
|
id: StringConstructor;
|
|
@@ -893,6 +898,7 @@ declare const ApBatchActionGroup: {
|
|
|
893
898
|
"onUpdate:openKeys": PropType<(keys: Key[]) => void>;
|
|
894
899
|
"onUpdate:selectedKeys": PropType<(keys: Key[]) => void>;
|
|
895
900
|
"onUpdate:activeKey": PropType<(key: Key) => void>;
|
|
901
|
+
popupRender: PropType<PopupRender>;
|
|
896
902
|
}>>;
|
|
897
903
|
};
|
|
898
904
|
overlay: VueTypeValidableDef<any>;
|
|
@@ -5,6 +5,7 @@ import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
|
|
|
5
5
|
import { Recordable } from '../../type';
|
|
6
6
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
7
7
|
import { ApFormSearchFormPopoverSorterItem } from '../..';
|
|
8
|
+
import { MaskType } from '@aplus-frontend/antdv/es/_util/hooks/useMergedMask';
|
|
8
9
|
import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
@@ -58,11 +59,11 @@ declare const ApTableModal: {
|
|
|
58
59
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
59
60
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
60
61
|
}, PublicProps, {
|
|
61
|
-
mask:
|
|
62
|
+
mask: MaskType;
|
|
62
63
|
maxCount: number;
|
|
63
|
-
keyboard: boolean;
|
|
64
64
|
maskClosable: boolean;
|
|
65
65
|
forceRender: boolean;
|
|
66
|
+
keyboard: boolean;
|
|
66
67
|
confirmLoading: boolean;
|
|
67
68
|
closable: boolean;
|
|
68
69
|
centered: boolean;
|
|
@@ -168,11 +169,11 @@ declare const ApTableModal: {
|
|
|
168
169
|
resetSearchFormSorterItems: () => void;
|
|
169
170
|
} | null;
|
|
170
171
|
}, {}, {}, {}, {
|
|
171
|
-
mask:
|
|
172
|
+
mask: MaskType;
|
|
172
173
|
maxCount: number;
|
|
173
|
-
keyboard: boolean;
|
|
174
174
|
maskClosable: boolean;
|
|
175
175
|
forceRender: boolean;
|
|
176
|
+
keyboard: boolean;
|
|
176
177
|
confirmLoading: boolean;
|
|
177
178
|
closable: boolean;
|
|
178
179
|
centered: boolean;
|
|
@@ -230,11 +231,11 @@ declare const ApTableModal: {
|
|
|
230
231
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
231
232
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
232
233
|
}, string, {
|
|
233
|
-
mask:
|
|
234
|
+
mask: MaskType;
|
|
234
235
|
maxCount: number;
|
|
235
|
-
keyboard: boolean;
|
|
236
236
|
maskClosable: boolean;
|
|
237
237
|
forceRender: boolean;
|
|
238
|
+
keyboard: boolean;
|
|
238
239
|
confirmLoading: boolean;
|
|
239
240
|
closable: boolean;
|
|
240
241
|
centered: boolean;
|
|
@@ -4,6 +4,7 @@ import { Recordable } from '../../type';
|
|
|
4
4
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
5
|
import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
|
|
6
6
|
import { ApFormSearchFormPopoverSorterItem } from '../..';
|
|
7
|
+
import { MaskType } from '@aplus-frontend/antdv/es/_util/hooks/useMergedMask';
|
|
7
8
|
type __VLS_Props = ApTableModalProps;
|
|
8
9
|
declare const _default: DefineComponent<__VLS_Props, {
|
|
9
10
|
open: <T>(selected?: any[], options?: OpenOptions) => Promise<OpenReturnType<T>>;
|
|
@@ -47,11 +48,11 @@ declare const _default: DefineComponent<__VLS_Props, {
|
|
|
47
48
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
48
49
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
49
50
|
}>, {
|
|
50
|
-
mask:
|
|
51
|
+
mask: MaskType;
|
|
51
52
|
maxCount: number;
|
|
52
|
-
keyboard: boolean;
|
|
53
53
|
maskClosable: boolean;
|
|
54
54
|
forceRender: boolean;
|
|
55
|
+
keyboard: boolean;
|
|
55
56
|
confirmLoading: boolean;
|
|
56
57
|
closable: boolean;
|
|
57
58
|
centered: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),p=require("@aplus-frontend/antdv"),N=require("@aplus-frontend/utils"),m=require("lodash-unified"),A=require("../../ap-table/index.js");require("../../config-provider/index.js");const y=require("./interface.js");require("./modal-title.vue.js");const L=require("./style/index.js");require("./table-layout/index.vue.js");const D=require("../../config-provider/hooks/use-namespace.js"),E=require("../../config-provider/hooks/use-locale.js"),F=require("./modal-title.vue2.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),p=require("@aplus-frontend/antdv"),N=require("@aplus-frontend/utils"),m=require("lodash-unified"),A=require("../../ap-table/index.js");require("../../config-provider/index.js");const y=require("./interface.js");require("./modal-title.vue.js");const L=require("./style/index.js");require("./table-layout/index.vue.js");const D=require("../../config-provider/hooks/use-namespace.js"),E=require("../../config-provider/hooks/use-locale.js"),F=require("./modal-title.vue2.js"),j=require("./table-layout/index.vue2.js"),U=t.defineComponent({__name:"table-modal",props:{columns:{},getRowKey:{},api:{type:Function,default:async()=>({records:[],total:0})},apTableProps:{},maxCount:{default:1/0},isRenderModalTitleSuffix:{type:Boolean,default:!0},renderModalTitleSuffix:{},disabledCheckbox:{type:[Boolean,Function]},rowSelection:{},tableLayoutConfig:{},renderHeader:{},onOk:{},prefixCls:{},confirmLoading:{type:Boolean,default:void 0},title:{},closable:{type:Boolean,default:void 0},closeIcon:{},onCancel:{},"onUpdate:visible":{},"onUpdate:open":{},onChange:{},afterClose:{},afterOpenChange:{},centered:{type:Boolean,default:void 0},width:{},footer:{},okText:{},okType:{},cancelText:{},icon:{},maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:{},cancelButtonProps:{},destroyOnClose:{type:Boolean,default:void 0},wrapClassName:{},maskTransitionName:{},transitionName:{},getContainer:{type:[String,Boolean,Function],default:void 0},zIndex:{},bodyStyle:{},maskStyle:{},mask:{type:[Object,Boolean],default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:{},focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:{},mousePosition:{},loading:{type:Boolean}},emits:["finish"],setup(g,{expose:w,emit:k}){const e=g,h=k,u=t.ref(!1),v=t.ref({}),i=t.ref(null),n=t.ref([]),b=t.ref();let d=null,c=null;const{b:R}=D.useNamespace("ap-table-modal"),T=L.default("ap-table-modal"),{t:x}=E.useLocale(),S=async(o=[],a={})=>{switch(n.value=[...o],u.value=!0,v.value=a?.extraParams,b.value=a.apTableDataSources||e.apTableProps?.dataSource,a.refreshMode||"reset"){case"reset":i.value?.reset();break;case"submit":i.value?.submit();break;case"none":break}return new Promise((l,r)=>{d=l,c=s=>r("Ignored Reject: "+s)})},C=()=>{u.value=!1,d=null,c?.(y.AsyncOpenResultError.ModalCancel),c=null},_=async o=>{o=N.transformTableParams({...o,...v.value});const a=e.api,{records:l,total:r}=await a(o);return{data:l,total:r}},B=async()=>{if(n.value.length>e.maxCount){c?.(y.AsyncOpenResultError.ExceedMaxCount);return}if(e.getRowKey){const o=m.cloneDeep(t.unref(n)),a=o.map(e.getRowKey);if(e.onOk&&await e.onOk({keys:a,rows:o})===!1)return;h("finish",a,o),d?.({keys:a,rows:o})}else{c?.(y.AsyncOpenResultError.NotFineGetRowKey);return}u.value=!1},P=t.computed(()=>{if(!e.getRowKey)return;const o=e.getRowKey;return{fixed:!0,selectedRowKeys:n.value.map(o),columnWidth:50,preserveSelectedRowKeys:!0,onSelectAll(a,l){if(l.length>e.maxCount){p.message.warning(x("ap.apTableModal.messageMaxCount",{maxCount:e.maxCount}));return}const r=i.value?.dataSource;if(a){const s=t.unref(r).filter(f=>!n.value.some(I=>o(I)===o(f)));n.value=n.value.concat(s)}else n.value=n.value?.filter(s=>!r.some(f=>o(f)===o(s)))},onSelect(a,l){if(l){if(n.value.length>=e.maxCount){p.message.warning(x("ap.apTableModal.messageMaxCount",{maxCount:e.maxCount}));return}e.rowSelection?.type==="radio"?n.value=[a]:n.value.push(a)}else{const r=n.value.findIndex(s=>o(a)===o(s));n.value.splice(r,1)}},getCheckboxProps:a=>({disabled:typeof e.disabledCheckbox=="function"?e.disabledCheckbox(a,n.value):e.disabledCheckbox}),...e.rowSelection||{}}}),q=()=>e.isRenderModalTitleSuffix?t.h(F.default,{title:e.title,count:n.value.length||0,maxCount:e.maxCount},{default:e.renderModalTitleSuffix??void 0}):e.title,M=()=>i.value,K=()=>{n.value=[]},O=o=>{const a=e.getRowKey;if(!a)return;const l=n.value.findIndex(r=>a(o)===a(r));n.value.splice(l,1)};return w({open:S,close:C,getApTableInstance:M}),(o,a)=>(t.openBlock(),t.createBlock(t.unref(p.Modal),t.mergeProps({open:u.value,"onUpdate:open":a[0]||(a[0]=l=>u.value=l)},t.unref(m.omit)(e,["api","getRowKey","centered","apTableProps","onOk","maxCount","title","renderModalTitleSuffix","isRenderModalTitleSuffix","rowSelection","disabledCheckbox","tableLayoutConfig"]),{title:q(),centered:e.centered??!0,"wrap-class-name":`${t.unref(R)()} ${t.unref(T)}`,onOk:B,onCancel:C}),{default:t.withCtx(()=>[e.renderHeader?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.renderHeader),{key:0})):t.createCommentVNode("",!0),t.createVNode(j.default,t.mergeProps(e.tableLayoutConfig||{},{"selected-list":n.value,onClear:K,onDeleteItem:O}),{default:t.withCtx(()=>[t.createVNode(t.unref(A.ApTable),t.mergeProps({ref_key:"apTableRef",ref:i,scroll:{y:450},style:{padding:"0px"},columns:o.columns,request:_,"row-key":o.getRowKey,"row-selection":P.value,"data-source":b.value,"search-form":{sortable:!1,countPerRow:2}},t.unref(m.omit)(e.apTableProps,"dataSource")),null,16,["columns","row-key","row-selection","data-source"])]),_:1},16,["selected-list"])]),_:1},16,["open","title","centered","wrap-class-name"]))}});exports.default=U;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
|
|
4
|
-
import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
|
|
4
|
+
import { AcceptConfig, UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
|
|
5
5
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
declare function setValue(val: (string | Record<string, any>)[]): void;
|
|
7
7
|
declare const _default: DefineComponent<{}, {
|
|
@@ -53,7 +53,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
53
53
|
type: BooleanConstructor;
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
|
-
accept:
|
|
56
|
+
accept: PropType<string | AcceptConfig>;
|
|
57
57
|
beforeUpload: {
|
|
58
58
|
type: PropType<(file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>>;
|
|
59
59
|
default: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
|
|
@@ -284,7 +284,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
284
284
|
type: BooleanConstructor;
|
|
285
285
|
default: boolean;
|
|
286
286
|
};
|
|
287
|
-
accept:
|
|
287
|
+
accept: PropType<string | AcceptConfig>;
|
|
288
288
|
beforeUpload: {
|
|
289
289
|
type: PropType<(file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>>;
|
|
290
290
|
default: (file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>;
|
|
@@ -12,7 +12,7 @@ import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface
|
|
|
12
12
|
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
13
13
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
14
14
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
15
|
-
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
15
|
+
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
16
16
|
type ApGridConfig = Pick<ApGridProps, 'rowSelection'>;
|
|
17
17
|
type AgGridConfig = Pick<AgGridProps, 'rowSelection'>;
|
|
18
18
|
type ApProCardConfig = {
|
|
@@ -153,6 +153,22 @@ export declare const configProviderProps: () => {
|
|
|
153
153
|
type: PropType< CardConfig>;
|
|
154
154
|
default: CardConfig;
|
|
155
155
|
};
|
|
156
|
+
table: {
|
|
157
|
+
type: PropType< TableConfig>;
|
|
158
|
+
default: TableConfig;
|
|
159
|
+
};
|
|
160
|
+
tooltip: {
|
|
161
|
+
type: PropType< TooltipConfig>;
|
|
162
|
+
default: TooltipConfig;
|
|
163
|
+
};
|
|
164
|
+
popover: {
|
|
165
|
+
type: PropType< PopoverConfig>;
|
|
166
|
+
default: PopoverConfig;
|
|
167
|
+
};
|
|
168
|
+
popconfirm: {
|
|
169
|
+
type: PropType< PopconfirmConfig>;
|
|
170
|
+
default: PopconfirmConfig;
|
|
171
|
+
};
|
|
156
172
|
apGrid: {
|
|
157
173
|
type: PropType<ApGridConfig>;
|
|
158
174
|
};
|
|
@@ -5,7 +5,7 @@ import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface
|
|
|
5
5
|
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
6
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
7
7
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
|
-
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
8
|
+
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
9
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
10
10
|
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
11
11
|
import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
|
|
@@ -144,6 +144,22 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
144
144
|
type: PropType<CardConfig>;
|
|
145
145
|
default: CardConfig;
|
|
146
146
|
};
|
|
147
|
+
table: {
|
|
148
|
+
type: PropType<TableConfig>;
|
|
149
|
+
default: TableConfig;
|
|
150
|
+
};
|
|
151
|
+
tooltip: {
|
|
152
|
+
type: PropType<TooltipConfig>;
|
|
153
|
+
default: TooltipConfig;
|
|
154
|
+
};
|
|
155
|
+
popover: {
|
|
156
|
+
type: PropType<PopoverConfig>;
|
|
157
|
+
default: PopoverConfig;
|
|
158
|
+
};
|
|
159
|
+
popconfirm: {
|
|
160
|
+
type: PropType<PopconfirmConfig>;
|
|
161
|
+
default: PopconfirmConfig;
|
|
162
|
+
};
|
|
147
163
|
apGrid: {
|
|
148
164
|
type: PropType<{
|
|
149
165
|
rowSelection?: true | ApGridRowSelection<any> | undefined;
|
|
@@ -354,6 +370,22 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
354
370
|
type: PropType<CardConfig>;
|
|
355
371
|
default: CardConfig;
|
|
356
372
|
};
|
|
373
|
+
table: {
|
|
374
|
+
type: PropType<TableConfig>;
|
|
375
|
+
default: TableConfig;
|
|
376
|
+
};
|
|
377
|
+
tooltip: {
|
|
378
|
+
type: PropType<TooltipConfig>;
|
|
379
|
+
default: TooltipConfig;
|
|
380
|
+
};
|
|
381
|
+
popover: {
|
|
382
|
+
type: PropType<PopoverConfig>;
|
|
383
|
+
default: PopoverConfig;
|
|
384
|
+
};
|
|
385
|
+
popconfirm: {
|
|
386
|
+
type: PropType<PopconfirmConfig>;
|
|
387
|
+
default: PopconfirmConfig;
|
|
388
|
+
};
|
|
357
389
|
apGrid: {
|
|
358
390
|
type: PropType<{
|
|
359
391
|
rowSelection?: true | ApGridRowSelection<any> | undefined;
|
|
@@ -436,9 +468,11 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
436
468
|
input: InputConfig;
|
|
437
469
|
select: SelectConfig;
|
|
438
470
|
form: FormConfig;
|
|
471
|
+
table: TableConfig;
|
|
439
472
|
space: {
|
|
440
473
|
size?: ButtonSize | number;
|
|
441
474
|
};
|
|
475
|
+
tooltip: TooltipConfig;
|
|
442
476
|
direction: "ltr" | "rtl";
|
|
443
477
|
csp: CSPConfig;
|
|
444
478
|
autoInsertSpaceInButton: boolean;
|
|
@@ -463,6 +497,8 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
463
497
|
mentions: MentionsConfig;
|
|
464
498
|
timePicker: TimePickerConfig;
|
|
465
499
|
card: CardConfig;
|
|
500
|
+
popover: PopoverConfig;
|
|
501
|
+
popconfirm: PopconfirmConfig;
|
|
466
502
|
searchForm: SearchFormGlobalConfig;
|
|
467
503
|
apUpload: ApUploadConfig;
|
|
468
504
|
apDescriptions: ApDescriptionsConfig;
|
|
@@ -6,7 +6,7 @@ import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface
|
|
|
6
6
|
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
7
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
8
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
|
-
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
|
+
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
10
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '../..';
|
|
11
11
|
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from '..';
|
|
12
12
|
import { ApFilePreviewParser } from '../../business/ap-file-preview/interface';
|
|
@@ -147,6 +147,22 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
147
147
|
type: PropType<CardConfig>;
|
|
148
148
|
default: CardConfig;
|
|
149
149
|
};
|
|
150
|
+
table: {
|
|
151
|
+
type: PropType<TableConfig>;
|
|
152
|
+
default: TableConfig;
|
|
153
|
+
};
|
|
154
|
+
tooltip: {
|
|
155
|
+
type: PropType<TooltipConfig>;
|
|
156
|
+
default: TooltipConfig;
|
|
157
|
+
};
|
|
158
|
+
popover: {
|
|
159
|
+
type: PropType<PopoverConfig>;
|
|
160
|
+
default: PopoverConfig;
|
|
161
|
+
};
|
|
162
|
+
popconfirm: {
|
|
163
|
+
type: PropType<PopconfirmConfig>;
|
|
164
|
+
default: PopconfirmConfig;
|
|
165
|
+
};
|
|
150
166
|
apGrid: {
|
|
151
167
|
type: PropType<{
|
|
152
168
|
rowSelection?: true | ApGridRowSelection<any> | undefined;
|