@aplus-frontend/ui 6.29.3 → 6.30.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/es/src/ag-grid/index.vue.mjs +228 -222
- package/es/src/ag-grid/renderer/select.mjs +8 -11
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
- package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/es/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +4 -4
- package/es/src/ap-field/date/index.vue.mjs +11 -10
- package/es/src/ap-field/date/read.vue.d.ts +1 -1
- package/es/src/ap-field/date/read.vue2.mjs +8 -7
- package/es/src/ap-field/date-range/index.vue.d.ts +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +1 -0
- package/es/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/read.vue2.mjs +1 -0
- package/es/src/ap-field/index.d.ts +7 -7
- package/es/src/ap-field/number/index.vue.d.ts +90 -50
- package/es/src/ap-field/number/index.vue.mjs +14 -12
- package/es/src/ap-field/number/read.vue2.mjs +8 -6
- package/es/src/ap-field/rate/index.vue.d.ts +6 -6
- package/es/src/ap-field/select/index.vue.d.ts +241 -241
- package/es/src/ap-field/select/index.vue.mjs +27 -27
- package/es/src/ap-field/select/read.vue2.mjs +27 -27
- package/es/src/ap-field/slider/index.vue.d.ts +9 -9
- package/es/src/ap-field/switch/index.vue.d.ts +1 -1
- package/es/src/ap-field/switch/read.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +39 -38
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +34 -33
- package/es/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/es/src/ap-field/text/read-password.vue2.mjs +31 -30
- package/es/src/ap-field/text/read.vue.d.ts +1 -1
- package/es/src/ap-field/text/read.vue2.mjs +21 -20
- package/es/src/ap-field/text-area/index.vue.d.ts +67 -57
- package/es/src/ap-field/text-area/index.vue.mjs +15 -14
- package/es/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/read.vue2.mjs +11 -10
- package/es/src/ap-field/tree-select/index.vue.d.ts +326 -326
- package/es/src/ap-field/tree-select/index.vue.mjs +46 -46
- package/es/src/ap-field/tree-select/read.vue2.mjs +45 -45
- package/es/src/ap-form/ap-form.vue.d.ts +71 -67
- package/es/src/ap-form/drawer-form/index.vue.d.ts +65 -65
- package/es/src/ap-form/item/index.vue.d.ts +36 -36
- package/es/src/ap-form/item/index.vue.mjs +10 -10
- package/es/src/ap-form/items/number/index.vue.d.ts +103 -59
- package/es/src/ap-form/items/select/index.vue.d.ts +306 -306
- package/es/src/ap-form/items/text/index.vue.d.ts +19 -17
- package/es/src/ap-form/items/text/password.vue.d.ts +19 -17
- package/es/src/ap-form/items/text-area/index.vue.d.ts +138 -118
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
- package/es/src/ap-form/modal-form/index.vue.d.ts +69 -70
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
- package/es/src/ap-form/search-form/index.vue.d.ts +67 -67
- package/es/src/ap-form/search-form/index.vue.mjs +40 -40
- package/es/src/ap-grid/constants.d.ts +3 -0
- package/es/src/ap-grid/constants.mjs +6 -3
- package/es/src/ap-grid/index.vue.mjs +221 -214
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +59 -62
- package/es/src/ap-table/constants.d.ts +499 -465
- package/es/src/ap-table/utils.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
- package/es/src/business/ap-batch-action-group/index.d.ts +7 -8
- package/es/src/business/ap-label/ApLabel.d.ts +4 -4
- package/es/src/business/ap-label/constans.d.ts +1 -1
- package/es/src/business/ap-label/index.d.ts +9 -9
- package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
- package/es/src/business/ap-radio-group/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +3 -3
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +80 -80
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
- package/es/src/business/ap-view/interface.d.ts +13 -3
- package/es/src/business/batch-input-group/index.vue.d.ts +11 -10
- package/es/src/business/batch-input-group/index.vue.mjs +20 -19
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.d.ts +64 -52
- package/es/src/config-provider/config-provider-props.mjs +10 -2
- package/es/src/config-provider/config-provider.d.ts +130 -113
- package/es/src/config-provider/config-provider.mjs +26 -24
- package/es/src/config-provider/hooks/use-global-config.d.ts +60 -49
- package/es/src/config-provider/index.d.ts +214 -197
- package/es/src/mask/utils.d.ts +1 -1
- package/es/src/mask/utils.mjs +29 -13
- package/es/src/text/index.vue.mjs +3 -3
- package/es/src/utils/config-provider-preset.d.ts +36 -49
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +33 -33
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/renderer/select.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -6
- package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
- package/lib/src/ap-field/checkbox/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +4 -4
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +4 -4
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/index.d.ts +7 -7
- package/lib/src/ap-field/number/index.vue.d.ts +90 -50
- 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/rate/index.vue.d.ts +6 -6
- package/lib/src/ap-field/select/index.vue.d.ts +241 -241
- 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 +9 -9
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -1
- package/lib/src/ap-field/switch/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read.vue2.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +67 -57
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +326 -326
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +71 -67
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +65 -65
- package/lib/src/ap-form/item/index.vue.d.ts +36 -36
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +103 -59
- package/lib/src/ap-form/items/select/index.vue.d.ts +306 -306
- package/lib/src/ap-form/items/text/index.vue.d.ts +19 -17
- package/lib/src/ap-form/items/text/password.vue.d.ts +19 -17
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +138 -118
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +407 -407
- package/lib/src/ap-form/modal-form/index.vue.d.ts +69 -70
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +5 -6
- package/lib/src/ap-form/search-form/index.vue.d.ts +67 -67
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/constants.d.ts +3 -0
- package/lib/src/ap-grid/constants.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-table/constants.d.ts +499 -465
- package/lib/src/ap-table/utils.d.ts +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +8 -8
- package/lib/src/business/ap-batch-action-group/index.d.ts +7 -8
- package/lib/src/business/ap-label/ApLabel.d.ts +4 -4
- package/lib/src/business/ap-label/constans.d.ts +1 -1
- package/lib/src/business/ap-label/index.d.ts +9 -9
- package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +1 -1
- package/lib/src/business/ap-radio-group/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +3 -3
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +33 -33
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +33 -33
- package/lib/src/business/ap-view/interface.d.ts +13 -3
- package/lib/src/business/batch-input-group/index.vue.d.ts +11 -10
- package/lib/src/business/batch-input-group/index.vue.js +1 -1
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +66 -56
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +64 -52
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +130 -113
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +60 -49
- package/lib/src/config-provider/index.d.ts +214 -197
- package/lib/src/mask/utils.d.ts +1 -1
- package/lib/src/mask/utils.js +3 -3
- package/lib/src/text/index.vue.js +1 -1
- package/lib/src/utils/config-provider-preset.d.ts +36 -49
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +33 -33
- package/package.json +3 -3
- package/theme/ag-grid/index.css +0 -6
- package/theme/antdv-override.css +0 -6
- package/theme/antdv-override.less +0 -8
- package/theme/ap-expand-alert/ap-expand-alert.css +0 -4
- package/theme/ap-expand-alert/ap-expand-alert.less +6 -5
- package/theme/ap-form/ap-form-item.css +0 -6
- package/theme/ap-form/ap-form-item.less +0 -6
- package/theme/ap-form/index.css +0 -6
- package/theme/ap-form/search-form.css +0 -6
- package/theme/ap-grid/index.css +0 -6
- package/theme/ap-table/ap-table.css +0 -6
- package/theme/ap-table-modal/index.css +0 -6
- package/theme/ap-view/ap-view.css +4 -0
- package/theme/ap-view/ap-view.less +4 -0
- package/theme/editable-table/index.css +0 -6
- package/theme/index.css +4 -16
|
@@ -2,9 +2,9 @@ import { BatchInputGroupPopoverInputProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
4
4
|
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
5
|
-
import {
|
|
6
|
-
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
5
|
+
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
7
6
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
7
|
+
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
8
8
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
9
9
|
declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
10
|
"update:value": (...args: any[]) => void;
|
|
@@ -35,7 +35,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
35
35
|
};
|
|
36
36
|
valueModifiers: ObjectConstructor;
|
|
37
37
|
size: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<SizeType>;
|
|
39
39
|
};
|
|
40
40
|
value: {
|
|
41
41
|
type: PropType<string | number>;
|
|
@@ -43,8 +43,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
43
43
|
};
|
|
44
44
|
name: StringConstructor;
|
|
45
45
|
type: {
|
|
46
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "
|
|
47
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "
|
|
46
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
47
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
48
48
|
};
|
|
49
49
|
onFocus: PropType<FocusEventHandler>;
|
|
50
50
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -69,43 +69,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
69
69
|
default: any;
|
|
70
70
|
};
|
|
71
71
|
prefixCls: StringConstructor;
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
id: StringConstructor;
|
|
73
|
+
readonly: {
|
|
74
74
|
type: BooleanConstructor;
|
|
75
75
|
default: any;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
autofocus: {
|
|
78
78
|
type: BooleanConstructor;
|
|
79
79
|
default: any;
|
|
80
80
|
};
|
|
81
|
-
|
|
82
|
-
type: PropType<
|
|
83
|
-
default:
|
|
81
|
+
variant: {
|
|
82
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
83
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
autocomplete: StringConstructor;
|
|
86
86
|
placeholder: {
|
|
87
87
|
type: PropType<string | number>;
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
lazy: {
|
|
90
90
|
type: BooleanConstructor;
|
|
91
|
-
default:
|
|
91
|
+
default: boolean;
|
|
92
92
|
};
|
|
93
|
-
|
|
93
|
+
maxlength: NumberConstructor;
|
|
94
|
+
loading: {
|
|
94
95
|
type: BooleanConstructor;
|
|
95
96
|
default: any;
|
|
96
97
|
};
|
|
97
|
-
|
|
98
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
99
|
-
readonly: {
|
|
98
|
+
bordered: {
|
|
100
99
|
type: BooleanConstructor;
|
|
101
100
|
default: any;
|
|
102
101
|
};
|
|
103
|
-
'onUpdate:value': PropType<(val: string) => void>;
|
|
104
|
-
lazy: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
maxlength: NumberConstructor;
|
|
109
102
|
showCount: {
|
|
110
103
|
type: PropType<boolean | ShowCountProps>;
|
|
111
104
|
};
|
|
@@ -116,24 +109,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
116
109
|
default: any;
|
|
117
110
|
};
|
|
118
111
|
onRawInput: PropType<ChangeEventHandler>;
|
|
112
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
113
|
+
status: PropType<"" | "error" | "warning">;
|
|
114
|
+
defaultValue: {
|
|
115
|
+
type: PropType<string | number>;
|
|
116
|
+
default: any;
|
|
117
|
+
};
|
|
119
118
|
inputElement: VueTypeValidableDef<any>;
|
|
120
119
|
triggerFocus: PropType<() => void>;
|
|
121
120
|
handleReset: PropType<MouseEventHandler>;
|
|
121
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
122
|
+
allowClear: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: any;
|
|
125
|
+
};
|
|
122
126
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
123
127
|
value: string | number;
|
|
124
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "
|
|
128
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
125
129
|
onMousedown: MouseEventHandler;
|
|
126
130
|
focused: boolean;
|
|
127
131
|
hidden: boolean;
|
|
128
132
|
disabled: boolean;
|
|
133
|
+
readonly: boolean;
|
|
134
|
+
autofocus: boolean;
|
|
135
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
136
|
+
lazy: boolean;
|
|
129
137
|
loading: boolean;
|
|
130
138
|
bordered: boolean;
|
|
139
|
+
onMouseUp: MouseEventHandler;
|
|
131
140
|
defaultValue: string | number;
|
|
132
141
|
allowClear: boolean;
|
|
133
|
-
autofocus: boolean;
|
|
134
|
-
readonly: boolean;
|
|
135
|
-
lazy: boolean;
|
|
136
|
-
onMouseUp: MouseEventHandler;
|
|
137
142
|
autosize: any;
|
|
138
143
|
autoSize: any;
|
|
139
144
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -167,7 +172,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
167
172
|
};
|
|
168
173
|
valueModifiers: ObjectConstructor;
|
|
169
174
|
size: {
|
|
170
|
-
type: PropType<
|
|
175
|
+
type: PropType<SizeType>;
|
|
171
176
|
};
|
|
172
177
|
value: {
|
|
173
178
|
type: PropType<string | number>;
|
|
@@ -175,8 +180,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
175
180
|
};
|
|
176
181
|
name: StringConstructor;
|
|
177
182
|
type: {
|
|
178
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "
|
|
179
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "
|
|
183
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
184
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
180
185
|
};
|
|
181
186
|
onFocus: PropType<FocusEventHandler>;
|
|
182
187
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -201,43 +206,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
201
206
|
default: any;
|
|
202
207
|
};
|
|
203
208
|
prefixCls: StringConstructor;
|
|
204
|
-
|
|
205
|
-
|
|
209
|
+
id: StringConstructor;
|
|
210
|
+
readonly: {
|
|
206
211
|
type: BooleanConstructor;
|
|
207
212
|
default: any;
|
|
208
213
|
};
|
|
209
|
-
|
|
214
|
+
autofocus: {
|
|
210
215
|
type: BooleanConstructor;
|
|
211
216
|
default: any;
|
|
212
217
|
};
|
|
213
|
-
|
|
214
|
-
type: PropType<
|
|
215
|
-
default:
|
|
218
|
+
variant: {
|
|
219
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
220
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
216
221
|
};
|
|
217
|
-
|
|
222
|
+
autocomplete: StringConstructor;
|
|
218
223
|
placeholder: {
|
|
219
224
|
type: PropType<string | number>;
|
|
220
225
|
};
|
|
221
|
-
|
|
226
|
+
lazy: {
|
|
222
227
|
type: BooleanConstructor;
|
|
223
|
-
default:
|
|
228
|
+
default: boolean;
|
|
224
229
|
};
|
|
225
|
-
|
|
230
|
+
maxlength: NumberConstructor;
|
|
231
|
+
loading: {
|
|
226
232
|
type: BooleanConstructor;
|
|
227
233
|
default: any;
|
|
228
234
|
};
|
|
229
|
-
|
|
230
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
231
|
-
readonly: {
|
|
235
|
+
bordered: {
|
|
232
236
|
type: BooleanConstructor;
|
|
233
237
|
default: any;
|
|
234
238
|
};
|
|
235
|
-
'onUpdate:value': PropType<(val: string) => void>;
|
|
236
|
-
lazy: {
|
|
237
|
-
type: BooleanConstructor;
|
|
238
|
-
default: boolean;
|
|
239
|
-
};
|
|
240
|
-
maxlength: NumberConstructor;
|
|
241
239
|
showCount: {
|
|
242
240
|
type: PropType<boolean | ShowCountProps>;
|
|
243
241
|
};
|
|
@@ -248,24 +246,36 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
248
246
|
default: any;
|
|
249
247
|
};
|
|
250
248
|
onRawInput: PropType<ChangeEventHandler>;
|
|
249
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
250
|
+
status: PropType<"" | "error" | "warning">;
|
|
251
|
+
defaultValue: {
|
|
252
|
+
type: PropType<string | number>;
|
|
253
|
+
default: any;
|
|
254
|
+
};
|
|
251
255
|
inputElement: VueTypeValidableDef<any>;
|
|
252
256
|
triggerFocus: PropType<() => void>;
|
|
253
257
|
handleReset: PropType<MouseEventHandler>;
|
|
258
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
259
|
+
allowClear: {
|
|
260
|
+
type: BooleanConstructor;
|
|
261
|
+
default: any;
|
|
262
|
+
};
|
|
254
263
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
255
264
|
value: string | number;
|
|
256
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "
|
|
265
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
257
266
|
onMousedown: MouseEventHandler;
|
|
258
267
|
focused: boolean;
|
|
259
268
|
hidden: boolean;
|
|
260
269
|
disabled: boolean;
|
|
270
|
+
readonly: boolean;
|
|
271
|
+
autofocus: boolean;
|
|
272
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
273
|
+
lazy: boolean;
|
|
261
274
|
loading: boolean;
|
|
262
275
|
bordered: boolean;
|
|
276
|
+
onMouseUp: MouseEventHandler;
|
|
263
277
|
defaultValue: string | number;
|
|
264
278
|
allowClear: boolean;
|
|
265
|
-
autofocus: boolean;
|
|
266
|
-
readonly: boolean;
|
|
267
|
-
lazy: boolean;
|
|
268
|
-
onMouseUp: MouseEventHandler;
|
|
269
279
|
autosize: any;
|
|
270
280
|
autoSize: any;
|
|
271
281
|
}> | null;
|
|
@@ -44,10 +44,10 @@ export declare function usePageListApTable(props?: UsePageListApTable): [ApTable
|
|
|
44
44
|
select: (item: any) => void;
|
|
45
45
|
selectAll: () => void;
|
|
46
46
|
unSelectAll: () => void;
|
|
47
|
-
clearAll: () => void;
|
|
48
47
|
selectedRows: any[];
|
|
49
48
|
unSelect: (item: any) => void;
|
|
50
49
|
isSelected: (item: any) => boolean;
|
|
50
|
+
clearAll: () => void;
|
|
51
51
|
toggleSelect: (item: any) => void;
|
|
52
52
|
selectMulti: (items: any[]) => void;
|
|
53
53
|
unSelectMulti: (items: any[]) => void;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { LocaleType } from '../locale/interface';
|
|
3
3
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
4
|
+
import { ApGridProps } from '../ap-grid';
|
|
5
|
+
import { AgGridProps } from '../ag-grid';
|
|
4
6
|
import { ViewCacheOption } from '../business';
|
|
5
7
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
6
8
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
|
-
import { CSPConfig
|
|
9
|
+
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
8
10
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
11
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
12
|
+
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
13
|
+
type ApGridConfig = Pick<ApGridProps, 'rowSelection'>;
|
|
14
|
+
type AgGridConfig = Pick<AgGridProps, 'rowSelection'>;
|
|
12
15
|
export declare const configProviderProps: () => {
|
|
13
16
|
iconPrefixCls: StringConstructor;
|
|
14
17
|
getTargetContainer: {
|
|
@@ -31,14 +34,6 @@ export declare const configProviderProps: () => {
|
|
|
31
34
|
type: PropType< CSPConfig>;
|
|
32
35
|
default: CSPConfig;
|
|
33
36
|
};
|
|
34
|
-
input: {
|
|
35
|
-
type: PropType<{
|
|
36
|
-
autocomplete?: string;
|
|
37
|
-
}>;
|
|
38
|
-
default: {
|
|
39
|
-
autocomplete?: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
37
|
autoInsertSpaceInButton: {
|
|
43
38
|
type: BooleanConstructor;
|
|
44
39
|
default: any;
|
|
@@ -56,7 +51,7 @@ export declare const configProviderProps: () => {
|
|
|
56
51
|
};
|
|
57
52
|
};
|
|
58
53
|
componentSize: {
|
|
59
|
-
type: PropType<
|
|
54
|
+
type: PropType< ButtonSize>;
|
|
60
55
|
};
|
|
61
56
|
componentDisabled: {
|
|
62
57
|
type: BooleanConstructor;
|
|
@@ -68,10 +63,10 @@ export declare const configProviderProps: () => {
|
|
|
68
63
|
};
|
|
69
64
|
space: {
|
|
70
65
|
type: PropType<{
|
|
71
|
-
size?:
|
|
66
|
+
size?: ButtonSize | number;
|
|
72
67
|
}>;
|
|
73
68
|
default: {
|
|
74
|
-
size?:
|
|
69
|
+
size?: ButtonSize | number;
|
|
75
70
|
};
|
|
76
71
|
};
|
|
77
72
|
virtual: {
|
|
@@ -85,55 +80,71 @@ export declare const configProviderProps: () => {
|
|
|
85
80
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
86
81
|
default: boolean;
|
|
87
82
|
};
|
|
88
|
-
|
|
83
|
+
theme: {
|
|
84
|
+
type: PropType< ThemeConfig>;
|
|
85
|
+
default: ThemeConfig;
|
|
86
|
+
};
|
|
87
|
+
wave: {
|
|
89
88
|
type: PropType<{
|
|
90
|
-
|
|
91
|
-
requiredMark?: RequiredMark;
|
|
92
|
-
colon?: boolean;
|
|
89
|
+
disabled?: boolean;
|
|
93
90
|
}>;
|
|
94
91
|
default: {
|
|
95
|
-
|
|
96
|
-
requiredMark?: RequiredMark;
|
|
97
|
-
colon?: boolean;
|
|
92
|
+
disabled?: boolean;
|
|
98
93
|
};
|
|
99
94
|
};
|
|
95
|
+
input: {
|
|
96
|
+
type: PropType< InputConfig>;
|
|
97
|
+
default: InputConfig;
|
|
98
|
+
};
|
|
100
99
|
pagination: {
|
|
101
|
-
type: PropType<
|
|
102
|
-
|
|
103
|
-
}>;
|
|
104
|
-
default: {
|
|
105
|
-
showSizeChanger?: boolean;
|
|
106
|
-
};
|
|
100
|
+
type: PropType< PaginationConfig>;
|
|
101
|
+
default: PaginationConfig;
|
|
107
102
|
};
|
|
108
|
-
|
|
109
|
-
type: PropType<
|
|
110
|
-
default:
|
|
103
|
+
form: {
|
|
104
|
+
type: PropType< FormConfig>;
|
|
105
|
+
default: FormConfig;
|
|
111
106
|
};
|
|
112
107
|
select: {
|
|
113
|
-
type: PropType<
|
|
114
|
-
|
|
115
|
-
showSearch?: boolean;
|
|
116
|
-
}>;
|
|
117
|
-
default: {
|
|
118
|
-
variant?: Variant;
|
|
119
|
-
showSearch?: boolean;
|
|
120
|
-
};
|
|
108
|
+
type: PropType< SelectConfig>;
|
|
109
|
+
default: SelectConfig;
|
|
121
110
|
};
|
|
122
111
|
cascader: {
|
|
123
|
-
type: PropType<
|
|
124
|
-
|
|
125
|
-
}>;
|
|
126
|
-
default: {
|
|
127
|
-
variant?: Variant;
|
|
128
|
-
};
|
|
112
|
+
type: PropType< CascaderConfig>;
|
|
113
|
+
default: CascaderConfig;
|
|
129
114
|
};
|
|
130
|
-
|
|
131
|
-
type: PropType<
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
115
|
+
datePicker: {
|
|
116
|
+
type: PropType< DatePickerConfig>;
|
|
117
|
+
default: DatePickerConfig;
|
|
118
|
+
};
|
|
119
|
+
rangePicker: {
|
|
120
|
+
type: PropType< RangePickerConfig>;
|
|
121
|
+
default: RangePickerConfig;
|
|
122
|
+
};
|
|
123
|
+
treeSelect: {
|
|
124
|
+
type: PropType< TreeSelectConfig>;
|
|
125
|
+
default: TreeSelectConfig;
|
|
126
|
+
};
|
|
127
|
+
textArea: {
|
|
128
|
+
type: PropType< TextAreaConfig>;
|
|
129
|
+
default: TextAreaConfig;
|
|
130
|
+
};
|
|
131
|
+
inputNumber: {
|
|
132
|
+
type: PropType< InputNumberConfig>;
|
|
133
|
+
default: InputNumberConfig;
|
|
134
|
+
};
|
|
135
|
+
mentions: {
|
|
136
|
+
type: PropType< MentionsConfig>;
|
|
137
|
+
default: MentionsConfig;
|
|
138
|
+
};
|
|
139
|
+
timePicker: {
|
|
140
|
+
type: PropType< TimePickerConfig>;
|
|
141
|
+
default: TimePickerConfig;
|
|
142
|
+
};
|
|
143
|
+
apGrid: {
|
|
144
|
+
type: PropType<ApGridConfig>;
|
|
145
|
+
};
|
|
146
|
+
agGrid: {
|
|
147
|
+
type: PropType<AgGridConfig>;
|
|
137
148
|
};
|
|
138
149
|
/**
|
|
139
150
|
* @description aplus-ui的locale
|
|
@@ -184,3 +195,4 @@ export declare const configProviderProps: () => {
|
|
|
184
195
|
};
|
|
185
196
|
};
|
|
186
197
|
export type ConfigProviderProps = Partial<ExtractPropTypes<ReturnType<typeof configProviderProps>>>;
|
|
198
|
+
export {};
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { configProviderProps as e } from "@aplus-frontend/antdv/es/config-provider/context";
|
|
2
|
-
const
|
|
2
|
+
const t = () => ({
|
|
3
|
+
apGrid: {
|
|
4
|
+
type: Object
|
|
5
|
+
},
|
|
6
|
+
agGrid: {
|
|
7
|
+
type: Object
|
|
8
|
+
}
|
|
9
|
+
}), o = () => ({
|
|
3
10
|
/**
|
|
4
11
|
* @description aplus-ui的locale
|
|
5
12
|
*/
|
|
@@ -47,8 +54,9 @@ const p = () => ({
|
|
|
47
54
|
type: Object,
|
|
48
55
|
default: () => ({})
|
|
49
56
|
},
|
|
57
|
+
...t(),
|
|
50
58
|
...e()
|
|
51
59
|
});
|
|
52
60
|
export {
|
|
53
|
-
|
|
61
|
+
o as configProviderProps
|
|
54
62
|
};
|