@aplus-frontend/ui 6.18.0 → 6.19.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/item-popconfirm/index.vue.d.ts +31 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +14 -10
- package/es/src/ap-download/ap-download.vue.mjs +21 -18
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +9 -9
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +16 -16
- package/es/src/ap-form/ap-form.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.d.ts +15 -15
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/select/index.vue.d.ts +99 -99
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/modal-form/index.vue.d.ts +45 -16
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/es/src/ap-form/search-form/index.vue.d.ts +15 -15
- package/es/src/ap-table/constants.d.ts +326 -326
- package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +45 -30
- package/es/src/ap-tag/interface.d.ts +6 -0
- package/es/src/ap-tag/utils.d.ts +1 -0
- package/es/src/ap-tag/utils.mjs +12 -0
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/business/ap-batch-action-group/index.d.ts +30 -8
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +8 -8
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +8 -8
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/config-provider/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/utils/config-provider-preset.d.ts +5 -6
- 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 +8 -8
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +15 -15
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +99 -99
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +45 -16
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +15 -15
- package/lib/src/ap-table/constants.d.ts +326 -326
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +6 -0
- package/lib/src/ap-tag/utils.d.ts +1 -0
- package/lib/src/ap-tag/utils.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +30 -8
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +8 -8
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +8 -8
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/utils/config-provider-preset.d.ts +5 -6
- 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 +8 -8
- package/package.json +3 -3
- package/theme/antdv-override.css +2 -6
- package/theme/antdv-override.less +2 -6
- package/theme/ap-label/ap-label.css +1 -0
- package/theme/ap-label/ap-label.less +1 -0
- package/theme/ap-tag/ap-tag.css +3 -1
- package/theme/ap-tag/ap-tag.less +3 -1
- package/theme/index.css +6 -7
|
@@ -4,9 +4,9 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
4
4
|
import { FieldMode } from '..';
|
|
5
5
|
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
6
6
|
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
-
import {
|
|
8
|
-
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
7
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
9
8
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
9
|
+
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
10
10
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
11
11
|
declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
12
12
|
focus: (options?: InputFocusOptions) => void;
|
|
@@ -49,7 +49,7 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
49
49
|
};
|
|
50
50
|
valueModifiers: ObjectConstructor;
|
|
51
51
|
size: {
|
|
52
|
-
type: PropType<
|
|
52
|
+
type: PropType<ButtonSize>;
|
|
53
53
|
};
|
|
54
54
|
value: {
|
|
55
55
|
type: PropType<string | number>;
|
|
@@ -57,8 +57,8 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
57
57
|
};
|
|
58
58
|
name: StringConstructor;
|
|
59
59
|
type: {
|
|
60
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
61
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
60
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
|
|
61
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
62
62
|
};
|
|
63
63
|
onFocus: PropType<FocusEventHandler>;
|
|
64
64
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -83,38 +83,43 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
83
83
|
default: any;
|
|
84
84
|
};
|
|
85
85
|
prefixCls: StringConstructor;
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
autocomplete: StringConstructor;
|
|
87
|
+
loading: {
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: any;
|
|
90
90
|
};
|
|
91
|
-
|
|
92
|
-
readonly: {
|
|
91
|
+
bordered: {
|
|
93
92
|
type: BooleanConstructor;
|
|
94
93
|
default: any;
|
|
95
94
|
};
|
|
96
|
-
status: PropType<"" | "error" | "warning">;
|
|
97
95
|
defaultValue: {
|
|
98
96
|
type: PropType<string | number>;
|
|
99
97
|
default: any;
|
|
100
98
|
};
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
status: PropType<"" | "error" | "warning">;
|
|
100
|
+
placeholder: {
|
|
101
|
+
type: PropType<string | number>;
|
|
102
|
+
};
|
|
103
|
+
allowClear: {
|
|
103
104
|
type: BooleanConstructor;
|
|
104
105
|
default: any;
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
-
type:
|
|
107
|
+
autofocus: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: any;
|
|
108
110
|
};
|
|
111
|
+
id: StringConstructor;
|
|
112
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
113
|
+
readonly: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: any;
|
|
116
|
+
};
|
|
117
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
109
118
|
lazy: {
|
|
110
119
|
type: BooleanConstructor;
|
|
111
120
|
default: boolean;
|
|
112
121
|
};
|
|
113
122
|
maxlength: NumberConstructor;
|
|
114
|
-
bordered: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
default: any;
|
|
117
|
-
};
|
|
118
123
|
showCount: {
|
|
119
124
|
type: PropType<boolean | ShowCountProps>;
|
|
120
125
|
};
|
|
@@ -128,26 +133,21 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
128
133
|
inputElement: VueTypeValidableDef<any>;
|
|
129
134
|
triggerFocus: PropType<() => void>;
|
|
130
135
|
handleReset: PropType<MouseEventHandler>;
|
|
131
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
132
|
-
allowClear: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
default: any;
|
|
135
|
-
};
|
|
136
136
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
137
137
|
value: string | number;
|
|
138
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
138
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
139
139
|
onMousedown: MouseEventHandler;
|
|
140
140
|
focused: boolean;
|
|
141
141
|
hidden: boolean;
|
|
142
142
|
disabled: boolean;
|
|
143
|
+
loading: boolean;
|
|
144
|
+
bordered: boolean;
|
|
145
|
+
defaultValue: string | number;
|
|
146
|
+
allowClear: boolean;
|
|
143
147
|
autofocus: boolean;
|
|
144
148
|
readonly: boolean;
|
|
145
|
-
defaultValue: string | number;
|
|
146
|
-
loading: boolean;
|
|
147
149
|
lazy: boolean;
|
|
148
|
-
bordered: boolean;
|
|
149
150
|
onMouseUp: MouseEventHandler;
|
|
150
|
-
allowClear: boolean;
|
|
151
151
|
autosize: any;
|
|
152
152
|
autoSize: any;
|
|
153
153
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -181,7 +181,7 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
181
181
|
};
|
|
182
182
|
valueModifiers: ObjectConstructor;
|
|
183
183
|
size: {
|
|
184
|
-
type: PropType<
|
|
184
|
+
type: PropType<ButtonSize>;
|
|
185
185
|
};
|
|
186
186
|
value: {
|
|
187
187
|
type: PropType<string | number>;
|
|
@@ -189,8 +189,8 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
189
189
|
};
|
|
190
190
|
name: StringConstructor;
|
|
191
191
|
type: {
|
|
192
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
193
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
192
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password">;
|
|
193
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
194
194
|
};
|
|
195
195
|
onFocus: PropType<FocusEventHandler>;
|
|
196
196
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -215,38 +215,43 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
215
215
|
default: any;
|
|
216
216
|
};
|
|
217
217
|
prefixCls: StringConstructor;
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
autocomplete: StringConstructor;
|
|
219
|
+
loading: {
|
|
220
220
|
type: BooleanConstructor;
|
|
221
221
|
default: any;
|
|
222
222
|
};
|
|
223
|
-
|
|
224
|
-
readonly: {
|
|
223
|
+
bordered: {
|
|
225
224
|
type: BooleanConstructor;
|
|
226
225
|
default: any;
|
|
227
226
|
};
|
|
228
|
-
status: PropType<"" | "error" | "warning">;
|
|
229
227
|
defaultValue: {
|
|
230
228
|
type: PropType<string | number>;
|
|
231
229
|
default: any;
|
|
232
230
|
};
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
status: PropType<"" | "error" | "warning">;
|
|
232
|
+
placeholder: {
|
|
233
|
+
type: PropType<string | number>;
|
|
234
|
+
};
|
|
235
|
+
allowClear: {
|
|
235
236
|
type: BooleanConstructor;
|
|
236
237
|
default: any;
|
|
237
238
|
};
|
|
238
|
-
|
|
239
|
-
type:
|
|
239
|
+
autofocus: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: any;
|
|
240
242
|
};
|
|
243
|
+
id: StringConstructor;
|
|
244
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
245
|
+
readonly: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: any;
|
|
248
|
+
};
|
|
249
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
241
250
|
lazy: {
|
|
242
251
|
type: BooleanConstructor;
|
|
243
252
|
default: boolean;
|
|
244
253
|
};
|
|
245
254
|
maxlength: NumberConstructor;
|
|
246
|
-
bordered: {
|
|
247
|
-
type: BooleanConstructor;
|
|
248
|
-
default: any;
|
|
249
|
-
};
|
|
250
255
|
showCount: {
|
|
251
256
|
type: PropType<boolean | ShowCountProps>;
|
|
252
257
|
};
|
|
@@ -260,26 +265,21 @@ declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
|
260
265
|
inputElement: VueTypeValidableDef<any>;
|
|
261
266
|
triggerFocus: PropType<() => void>;
|
|
262
267
|
handleReset: PropType<MouseEventHandler>;
|
|
263
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
264
|
-
allowClear: {
|
|
265
|
-
type: BooleanConstructor;
|
|
266
|
-
default: any;
|
|
267
|
-
};
|
|
268
268
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
269
269
|
value: string | number;
|
|
270
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
270
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
271
271
|
onMousedown: MouseEventHandler;
|
|
272
272
|
focused: boolean;
|
|
273
273
|
hidden: boolean;
|
|
274
274
|
disabled: boolean;
|
|
275
|
+
loading: boolean;
|
|
276
|
+
bordered: boolean;
|
|
277
|
+
defaultValue: string | number;
|
|
278
|
+
allowClear: boolean;
|
|
275
279
|
autofocus: boolean;
|
|
276
280
|
readonly: boolean;
|
|
277
|
-
defaultValue: string | number;
|
|
278
|
-
loading: boolean;
|
|
279
281
|
lazy: boolean;
|
|
280
|
-
bordered: boolean;
|
|
281
282
|
onMouseUp: MouseEventHandler;
|
|
282
|
-
allowClear: boolean;
|
|
283
283
|
autosize: any;
|
|
284
284
|
autoSize: any;
|
|
285
285
|
}> | null;
|
|
@@ -34,18 +34,20 @@ const O = /* @__PURE__ */ h({
|
|
|
34
34
|
hidden: { type: Boolean },
|
|
35
35
|
disabled: { type: Boolean, default: void 0 },
|
|
36
36
|
prefixCls: {},
|
|
37
|
-
id: {},
|
|
38
|
-
autofocus: { type: Boolean },
|
|
39
37
|
autocomplete: {},
|
|
40
|
-
readonly: { type: Boolean },
|
|
41
|
-
status: {},
|
|
42
|
-
defaultValue: {},
|
|
43
|
-
"onUpdate:value": {},
|
|
44
38
|
loading: { type: Boolean },
|
|
39
|
+
bordered: { type: Boolean, default: !0 },
|
|
40
|
+
defaultValue: {},
|
|
41
|
+
status: {},
|
|
45
42
|
placeholder: {},
|
|
43
|
+
allowClear: { type: Boolean, default: !0 },
|
|
44
|
+
autofocus: { type: Boolean },
|
|
45
|
+
id: {},
|
|
46
|
+
clearIcon: {},
|
|
47
|
+
readonly: { type: Boolean },
|
|
48
|
+
"onUpdate:value": {},
|
|
46
49
|
lazy: { type: Boolean, default: !0 },
|
|
47
50
|
maxlength: {},
|
|
48
|
-
bordered: { type: Boolean, default: !0 },
|
|
49
51
|
showCount: { type: [Boolean, Object] },
|
|
50
52
|
htmlSize: {},
|
|
51
53
|
onPressEnter: {},
|
|
@@ -54,8 +56,6 @@ const O = /* @__PURE__ */ h({
|
|
|
54
56
|
inputElement: {},
|
|
55
57
|
triggerFocus: {},
|
|
56
58
|
handleReset: {},
|
|
57
|
-
clearIcon: {},
|
|
58
|
-
allowClear: { type: Boolean, default: !0 },
|
|
59
59
|
emptyText: { default: "--" },
|
|
60
60
|
beforeInput: {}
|
|
61
61
|
},
|