@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
|
@@ -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 { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
5
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
6
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
7
|
+
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
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<ButtonSize>;
|
|
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" | "datetime-local" | "file" | "password"
|
|
47
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
46
|
+
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">;
|
|
47
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
48
48
|
};
|
|
49
49
|
onFocus: PropType<FocusEventHandler>;
|
|
50
50
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -69,38 +69,43 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
69
69
|
default: any;
|
|
70
70
|
};
|
|
71
71
|
prefixCls: StringConstructor;
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
autocomplete: StringConstructor;
|
|
73
|
+
loading: {
|
|
74
74
|
type: BooleanConstructor;
|
|
75
75
|
default: any;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
readonly: {
|
|
77
|
+
bordered: {
|
|
79
78
|
type: BooleanConstructor;
|
|
80
79
|
default: any;
|
|
81
80
|
};
|
|
82
|
-
status: PropType<"" | "error" | "warning">;
|
|
83
81
|
defaultValue: {
|
|
84
82
|
type: PropType<string | number>;
|
|
85
83
|
default: any;
|
|
86
84
|
};
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
status: PropType<"" | "error" | "warning">;
|
|
86
|
+
placeholder: {
|
|
87
|
+
type: PropType<string | number>;
|
|
88
|
+
};
|
|
89
|
+
allowClear: {
|
|
89
90
|
type: BooleanConstructor;
|
|
90
91
|
default: any;
|
|
91
92
|
};
|
|
92
|
-
|
|
93
|
-
type:
|
|
93
|
+
autofocus: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: any;
|
|
94
96
|
};
|
|
97
|
+
id: StringConstructor;
|
|
98
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
99
|
+
readonly: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: any;
|
|
102
|
+
};
|
|
103
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
95
104
|
lazy: {
|
|
96
105
|
type: BooleanConstructor;
|
|
97
106
|
default: boolean;
|
|
98
107
|
};
|
|
99
108
|
maxlength: NumberConstructor;
|
|
100
|
-
bordered: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: any;
|
|
103
|
-
};
|
|
104
109
|
showCount: {
|
|
105
110
|
type: PropType<boolean | ShowCountProps>;
|
|
106
111
|
};
|
|
@@ -114,26 +119,21 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
114
119
|
inputElement: VueTypeValidableDef<any>;
|
|
115
120
|
triggerFocus: PropType<() => void>;
|
|
116
121
|
handleReset: PropType<MouseEventHandler>;
|
|
117
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
118
|
-
allowClear: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: any;
|
|
121
|
-
};
|
|
122
122
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
123
123
|
value: string | number;
|
|
124
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
124
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
125
125
|
onMousedown: MouseEventHandler;
|
|
126
126
|
focused: boolean;
|
|
127
127
|
hidden: boolean;
|
|
128
128
|
disabled: boolean;
|
|
129
|
+
loading: boolean;
|
|
130
|
+
bordered: boolean;
|
|
131
|
+
defaultValue: string | number;
|
|
132
|
+
allowClear: boolean;
|
|
129
133
|
autofocus: boolean;
|
|
130
134
|
readonly: boolean;
|
|
131
|
-
defaultValue: string | number;
|
|
132
|
-
loading: boolean;
|
|
133
135
|
lazy: boolean;
|
|
134
|
-
bordered: boolean;
|
|
135
136
|
onMouseUp: MouseEventHandler;
|
|
136
|
-
allowClear: boolean;
|
|
137
137
|
autosize: any;
|
|
138
138
|
autoSize: any;
|
|
139
139
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
@@ -167,7 +167,7 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
167
167
|
};
|
|
168
168
|
valueModifiers: ObjectConstructor;
|
|
169
169
|
size: {
|
|
170
|
-
type: PropType<
|
|
170
|
+
type: PropType<ButtonSize>;
|
|
171
171
|
};
|
|
172
172
|
value: {
|
|
173
173
|
type: PropType<string | number>;
|
|
@@ -175,8 +175,8 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
175
175
|
};
|
|
176
176
|
name: StringConstructor;
|
|
177
177
|
type: {
|
|
178
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
179
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
178
|
+
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">;
|
|
179
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
180
180
|
};
|
|
181
181
|
onFocus: PropType<FocusEventHandler>;
|
|
182
182
|
onBlur: PropType<FocusEventHandler>;
|
|
@@ -201,38 +201,43 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
201
201
|
default: any;
|
|
202
202
|
};
|
|
203
203
|
prefixCls: StringConstructor;
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
autocomplete: StringConstructor;
|
|
205
|
+
loading: {
|
|
206
206
|
type: BooleanConstructor;
|
|
207
207
|
default: any;
|
|
208
208
|
};
|
|
209
|
-
|
|
210
|
-
readonly: {
|
|
209
|
+
bordered: {
|
|
211
210
|
type: BooleanConstructor;
|
|
212
211
|
default: any;
|
|
213
212
|
};
|
|
214
|
-
status: PropType<"" | "error" | "warning">;
|
|
215
213
|
defaultValue: {
|
|
216
214
|
type: PropType<string | number>;
|
|
217
215
|
default: any;
|
|
218
216
|
};
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
status: PropType<"" | "error" | "warning">;
|
|
218
|
+
placeholder: {
|
|
219
|
+
type: PropType<string | number>;
|
|
220
|
+
};
|
|
221
|
+
allowClear: {
|
|
221
222
|
type: BooleanConstructor;
|
|
222
223
|
default: any;
|
|
223
224
|
};
|
|
224
|
-
|
|
225
|
-
type:
|
|
225
|
+
autofocus: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: any;
|
|
226
228
|
};
|
|
229
|
+
id: StringConstructor;
|
|
230
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
231
|
+
readonly: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: any;
|
|
234
|
+
};
|
|
235
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
227
236
|
lazy: {
|
|
228
237
|
type: BooleanConstructor;
|
|
229
238
|
default: boolean;
|
|
230
239
|
};
|
|
231
240
|
maxlength: NumberConstructor;
|
|
232
|
-
bordered: {
|
|
233
|
-
type: BooleanConstructor;
|
|
234
|
-
default: any;
|
|
235
|
-
};
|
|
236
241
|
showCount: {
|
|
237
242
|
type: PropType<boolean | ShowCountProps>;
|
|
238
243
|
};
|
|
@@ -246,26 +251,21 @@ declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}
|
|
|
246
251
|
inputElement: VueTypeValidableDef<any>;
|
|
247
252
|
triggerFocus: PropType<() => void>;
|
|
248
253
|
handleReset: PropType<MouseEventHandler>;
|
|
249
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
250
|
-
allowClear: {
|
|
251
|
-
type: BooleanConstructor;
|
|
252
|
-
default: any;
|
|
253
|
-
};
|
|
254
254
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
255
255
|
value: string | number;
|
|
256
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password"
|
|
256
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "tel" | "datetime-local" | "file" | "password";
|
|
257
257
|
onMousedown: MouseEventHandler;
|
|
258
258
|
focused: boolean;
|
|
259
259
|
hidden: boolean;
|
|
260
260
|
disabled: boolean;
|
|
261
|
+
loading: boolean;
|
|
262
|
+
bordered: boolean;
|
|
263
|
+
defaultValue: string | number;
|
|
264
|
+
allowClear: boolean;
|
|
261
265
|
autofocus: boolean;
|
|
262
266
|
readonly: boolean;
|
|
263
|
-
defaultValue: string | number;
|
|
264
|
-
loading: boolean;
|
|
265
267
|
lazy: boolean;
|
|
266
|
-
bordered: boolean;
|
|
267
268
|
onMouseUp: MouseEventHandler;
|
|
268
|
-
allowClear: boolean;
|
|
269
269
|
autosize: any;
|
|
270
270
|
autoSize: any;
|
|
271
271
|
}> | null;
|
|
@@ -4,9 +4,8 @@ import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, d
|
|
|
4
4
|
import { ViewCacheOption } from '../business';
|
|
5
5
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
6
6
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
7
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
8
8
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
9
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
10
9
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
11
10
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
12
11
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -57,7 +56,7 @@ export declare const configProviderProps: () => {
|
|
|
57
56
|
};
|
|
58
57
|
};
|
|
59
58
|
componentSize: {
|
|
60
|
-
type: PropType<
|
|
59
|
+
type: PropType< SizeType>;
|
|
61
60
|
};
|
|
62
61
|
componentDisabled: {
|
|
63
62
|
type: BooleanConstructor;
|
|
@@ -69,10 +68,10 @@ export declare const configProviderProps: () => {
|
|
|
69
68
|
};
|
|
70
69
|
space: {
|
|
71
70
|
type: PropType<{
|
|
72
|
-
size?:
|
|
71
|
+
size?: SizeType | number;
|
|
73
72
|
}>;
|
|
74
73
|
default: {
|
|
75
|
-
size?:
|
|
74
|
+
size?: SizeType | number;
|
|
76
75
|
};
|
|
77
76
|
};
|
|
78
77
|
virtual: {
|
|
@@ -2,9 +2,8 @@ import { Ref, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin
|
|
|
2
2
|
import { ConfigProviderProps } from './config-provider-props';
|
|
3
3
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
4
4
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
5
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
6
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
7
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
7
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
9
8
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
10
9
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -59,7 +58,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
59
58
|
};
|
|
60
59
|
};
|
|
61
60
|
componentSize: {
|
|
62
|
-
type: PropType<
|
|
61
|
+
type: PropType<SizeType>;
|
|
63
62
|
};
|
|
64
63
|
componentDisabled: {
|
|
65
64
|
type: BooleanConstructor;
|
|
@@ -71,10 +70,10 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
71
70
|
};
|
|
72
71
|
space: {
|
|
73
72
|
type: PropType<{
|
|
74
|
-
size?:
|
|
73
|
+
size?: SizeType | number;
|
|
75
74
|
}>;
|
|
76
75
|
default: {
|
|
77
|
-
size?:
|
|
76
|
+
size?: SizeType | number;
|
|
78
77
|
};
|
|
79
78
|
};
|
|
80
79
|
virtual: {
|
|
@@ -216,7 +215,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
216
215
|
};
|
|
217
216
|
};
|
|
218
217
|
componentSize: {
|
|
219
|
-
type: PropType<
|
|
218
|
+
type: PropType<SizeType>;
|
|
220
219
|
};
|
|
221
220
|
componentDisabled: {
|
|
222
221
|
type: BooleanConstructor;
|
|
@@ -228,10 +227,10 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
228
227
|
};
|
|
229
228
|
space: {
|
|
230
229
|
type: PropType<{
|
|
231
|
-
size?:
|
|
230
|
+
size?: SizeType | number;
|
|
232
231
|
}>;
|
|
233
232
|
default: {
|
|
234
|
-
size?:
|
|
233
|
+
size?: SizeType | number;
|
|
235
234
|
};
|
|
236
235
|
};
|
|
237
236
|
virtual: {
|
|
@@ -339,7 +338,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
339
338
|
colon?: boolean;
|
|
340
339
|
};
|
|
341
340
|
space: {
|
|
342
|
-
size?:
|
|
341
|
+
size?: SizeType | number;
|
|
343
342
|
};
|
|
344
343
|
direction: "ltr" | "rtl";
|
|
345
344
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -3,9 +3,8 @@ import { App, Ref, ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
|
3
3
|
import { ConfigProviderContext } from '../constants';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
5
5
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
6
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
7
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
9
8
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
10
9
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
11
10
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -62,7 +61,7 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
62
61
|
};
|
|
63
62
|
};
|
|
64
63
|
componentSize: {
|
|
65
|
-
type: PropType<
|
|
64
|
+
type: PropType<SizeType>;
|
|
66
65
|
};
|
|
67
66
|
componentDisabled: {
|
|
68
67
|
type: BooleanConstructor;
|
|
@@ -74,10 +73,10 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
74
73
|
};
|
|
75
74
|
space: {
|
|
76
75
|
type: PropType<{
|
|
77
|
-
size?:
|
|
76
|
+
size?: SizeType | number;
|
|
78
77
|
}>;
|
|
79
78
|
default: {
|
|
80
|
-
size?:
|
|
79
|
+
size?: SizeType | number;
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
82
|
virtual: {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
2
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
3
3
|
import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
|
|
4
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
|
+
import { CSPConfig, SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
5
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
6
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
7
6
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
8
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
9
8
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
@@ -64,7 +63,7 @@ export declare const APConfigProvider: {
|
|
|
64
63
|
};
|
|
65
64
|
};
|
|
66
65
|
componentSize: {
|
|
67
|
-
type: PropType<
|
|
66
|
+
type: PropType<SizeType>;
|
|
68
67
|
};
|
|
69
68
|
componentDisabled: {
|
|
70
69
|
type: BooleanConstructor;
|
|
@@ -76,10 +75,10 @@ export declare const APConfigProvider: {
|
|
|
76
75
|
};
|
|
77
76
|
space: {
|
|
78
77
|
type: PropType<{
|
|
79
|
-
size?:
|
|
78
|
+
size?: SizeType | number;
|
|
80
79
|
}>;
|
|
81
80
|
default: {
|
|
82
|
-
size?:
|
|
81
|
+
size?: SizeType | number;
|
|
83
82
|
};
|
|
84
83
|
};
|
|
85
84
|
virtual: {
|
|
@@ -187,7 +186,7 @@ export declare const APConfigProvider: {
|
|
|
187
186
|
colon?: boolean;
|
|
188
187
|
};
|
|
189
188
|
space: {
|
|
190
|
-
size?:
|
|
189
|
+
size?: SizeType | number;
|
|
191
190
|
};
|
|
192
191
|
direction: "ltr" | "rtl";
|
|
193
192
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -268,7 +267,7 @@ export declare const APConfigProvider: {
|
|
|
268
267
|
};
|
|
269
268
|
};
|
|
270
269
|
componentSize: {
|
|
271
|
-
type: PropType<
|
|
270
|
+
type: PropType<SizeType>;
|
|
272
271
|
};
|
|
273
272
|
componentDisabled: {
|
|
274
273
|
type: BooleanConstructor;
|
|
@@ -280,10 +279,10 @@ export declare const APConfigProvider: {
|
|
|
280
279
|
};
|
|
281
280
|
space: {
|
|
282
281
|
type: PropType<{
|
|
283
|
-
size?:
|
|
282
|
+
size?: SizeType | number;
|
|
284
283
|
}>;
|
|
285
284
|
default: {
|
|
286
|
-
size?:
|
|
285
|
+
size?: SizeType | number;
|
|
287
286
|
};
|
|
288
287
|
};
|
|
289
288
|
virtual: {
|
|
@@ -391,7 +390,7 @@ export declare const APConfigProvider: {
|
|
|
391
390
|
colon?: boolean;
|
|
392
391
|
};
|
|
393
392
|
space: {
|
|
394
|
-
size?:
|
|
393
|
+
size?: SizeType | number;
|
|
395
394
|
};
|
|
396
395
|
direction: "ltr" | "rtl";
|
|
397
396
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -469,7 +468,7 @@ export declare const APConfigProvider: {
|
|
|
469
468
|
};
|
|
470
469
|
};
|
|
471
470
|
componentSize: {
|
|
472
|
-
type: PropType<
|
|
471
|
+
type: PropType<SizeType>;
|
|
473
472
|
};
|
|
474
473
|
componentDisabled: {
|
|
475
474
|
type: BooleanConstructor;
|
|
@@ -481,10 +480,10 @@ export declare const APConfigProvider: {
|
|
|
481
480
|
};
|
|
482
481
|
space: {
|
|
483
482
|
type: PropType<{
|
|
484
|
-
size?:
|
|
483
|
+
size?: SizeType | number;
|
|
485
484
|
}>;
|
|
486
485
|
default: {
|
|
487
|
-
size?:
|
|
486
|
+
size?: SizeType | number;
|
|
488
487
|
};
|
|
489
488
|
};
|
|
490
489
|
virtual: {
|
|
@@ -592,7 +591,7 @@ export declare const APConfigProvider: {
|
|
|
592
591
|
colon?: boolean;
|
|
593
592
|
};
|
|
594
593
|
space: {
|
|
595
|
-
size?:
|
|
594
|
+
size?: SizeType | number;
|
|
596
595
|
};
|
|
597
596
|
direction: "ltr" | "rtl";
|
|
598
597
|
searchForm: SearchFormGlobalConfig;
|
|
@@ -2,8 +2,7 @@ import { TransformCellTextProps } from '@aplus-frontend/antdv/lib/table/interfac
|
|
|
2
2
|
import { ConfigProviderProps } from '@aplus-frontend/antdv';
|
|
3
3
|
import { ValidateMessages } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
5
|
-
import {
|
|
6
|
-
import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
|
+
import { SizeType, CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
|
|
7
6
|
import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
8
7
|
import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
8
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
@@ -48,7 +47,7 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
|
48
47
|
colon?: boolean;
|
|
49
48
|
} | undefined;
|
|
50
49
|
space?: {
|
|
51
|
-
size?:
|
|
50
|
+
size?: SizeType | number;
|
|
52
51
|
} | undefined;
|
|
53
52
|
direction?: "ltr" | "rtl" | undefined;
|
|
54
53
|
csp?: CSPConfig | undefined;
|
|
@@ -72,7 +71,7 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
|
72
71
|
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
73
72
|
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|
|
74
73
|
autoInsertSpaceInButton?: boolean | undefined;
|
|
75
|
-
componentSize?:
|
|
74
|
+
componentSize?: SizeType;
|
|
76
75
|
componentDisabled?: boolean | undefined;
|
|
77
76
|
virtual?: boolean | undefined;
|
|
78
77
|
};
|
|
@@ -89,7 +88,7 @@ export declare function mergeAntdProviderConfigWithCache(newConfig: ConfigProvid
|
|
|
89
88
|
colon?: boolean;
|
|
90
89
|
} | undefined;
|
|
91
90
|
space?: {
|
|
92
|
-
size?:
|
|
91
|
+
size?: SizeType | number;
|
|
93
92
|
} | undefined;
|
|
94
93
|
direction?: "ltr" | "rtl" | undefined;
|
|
95
94
|
csp?: CSPConfig | undefined;
|
|
@@ -113,7 +112,7 @@ export declare function mergeAntdProviderConfigWithCache(newConfig: ConfigProvid
|
|
|
113
112
|
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
114
113
|
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|
|
115
114
|
autoInsertSpaceInButton?: boolean | undefined;
|
|
116
|
-
componentSize?:
|
|
115
|
+
componentSize?: SizeType;
|
|
117
116
|
componentDisabled?: boolean | undefined;
|
|
118
117
|
virtual?: boolean | undefined;
|
|
119
118
|
};
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "6.
|
|
1
|
+
declare const _default: "6.19.0";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WorkOrderModalProps } from './interfaces';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
5
|
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
@@ -22,7 +22,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
22
22
|
$: ComponentInternalInstance;
|
|
23
23
|
$data: {};
|
|
24
24
|
$props: {
|
|
25
|
-
readonly size?:
|
|
25
|
+
readonly size?: SizeType;
|
|
26
26
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
27
27
|
readonly layout?: string | undefined;
|
|
28
28
|
readonly disabled?: boolean | undefined;
|
|
@@ -317,8 +317,8 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
317
317
|
default: string | string[];
|
|
318
318
|
};
|
|
319
319
|
size: {
|
|
320
|
-
type: PropType<
|
|
321
|
-
default:
|
|
320
|
+
type: PropType<ButtonSize>;
|
|
321
|
+
default: ButtonSize;
|
|
322
322
|
};
|
|
323
323
|
disabled: {
|
|
324
324
|
type: BooleanConstructor;
|
|
@@ -345,7 +345,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
345
345
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
346
346
|
};
|
|
347
347
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
348
|
-
size:
|
|
348
|
+
size: ButtonSize;
|
|
349
349
|
onSubmit: (e: Event) => void;
|
|
350
350
|
disabled: boolean;
|
|
351
351
|
validateTrigger: string | string[];
|
|
@@ -637,8 +637,8 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
637
637
|
default: string | string[];
|
|
638
638
|
};
|
|
639
639
|
size: {
|
|
640
|
-
type: PropType<
|
|
641
|
-
default:
|
|
640
|
+
type: PropType<ButtonSize>;
|
|
641
|
+
default: ButtonSize;
|
|
642
642
|
};
|
|
643
643
|
disabled: {
|
|
644
644
|
type: BooleanConstructor;
|
|
@@ -665,7 +665,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
|
|
|
665
665
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
666
666
|
};
|
|
667
667
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
668
|
-
size:
|
|
668
|
+
size: ButtonSize;
|
|
669
669
|
onSubmit: (e: Event) => void;
|
|
670
670
|
disabled: boolean;
|
|
671
671
|
validateTrigger: string | string[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
|
-
import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
|
-
import { ButtonType, ButtonShape
|
|
4
|
+
import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
6
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
7
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
7
8
|
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
8
9
|
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
@@ -104,6 +105,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
104
105
|
onMousedown: {
|
|
105
106
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
106
107
|
};
|
|
108
|
+
autoInsertSpace: BooleanConstructor;
|
|
109
|
+
iconPosition: {
|
|
110
|
+
type: PropType<ButtonIconPosition>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
114
|
+
variant: PropType<ButtonVariantType>;
|
|
107
115
|
}>> & HTMLAttributes>;
|
|
108
116
|
default: Partial< ExtractPropTypes<{
|
|
109
117
|
prefixCls: StringConstructor;
|
|
@@ -152,6 +160,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
152
160
|
onMousedown: {
|
|
153
161
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
154
162
|
};
|
|
163
|
+
autoInsertSpace: BooleanConstructor;
|
|
164
|
+
iconPosition: {
|
|
165
|
+
type: PropType<ButtonIconPosition>;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
169
|
+
variant: PropType<ButtonVariantType>;
|
|
155
170
|
}>> & HTMLAttributes;
|
|
156
171
|
};
|
|
157
172
|
cancelButtonProps: {
|
|
@@ -202,6 +217,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
202
217
|
onMousedown: {
|
|
203
218
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
204
219
|
};
|
|
220
|
+
autoInsertSpace: BooleanConstructor;
|
|
221
|
+
iconPosition: {
|
|
222
|
+
type: PropType<ButtonIconPosition>;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
226
|
+
variant: PropType<ButtonVariantType>;
|
|
205
227
|
}>> & HTMLAttributes>;
|
|
206
228
|
default: Partial< ExtractPropTypes<{
|
|
207
229
|
prefixCls: StringConstructor;
|
|
@@ -250,6 +272,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
250
272
|
onMousedown: {
|
|
251
273
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
252
274
|
};
|
|
275
|
+
autoInsertSpace: BooleanConstructor;
|
|
276
|
+
iconPosition: {
|
|
277
|
+
type: PropType<ButtonIconPosition>;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
281
|
+
variant: PropType<ButtonVariantType>;
|
|
253
282
|
}>> & HTMLAttributes;
|
|
254
283
|
};
|
|
255
284
|
showCancel: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const s=require("./ap-button.vue.js"),u=e.defineComponent({__name:"ap-action-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},type:{default:"borderLink"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!0},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(r){const n=e.useSlots(),a=r;return(t,i)=>(e.openBlock(),e.createBlock(s.default,e.normalizeProps(e.guardReactiveProps({...t.$attrs,...a})),e.createSlots({_:2},[e.renderList(n,(p,o)=>({name:o,fn:e.withCtx(l=>[e.renderSlot(t.$slots,o,e.normalizeProps(e.guardReactiveProps(l||{})))])}))]),1040))}});exports.default=u;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./ap-button.vue2.js");const s=require("./ap-button.vue.js"),u=e.defineComponent({__name:"ap-action-button",props:{prefixCls:{},htmlType:{},shape:{},size:{},loading:{type:[Boolean,Object],default:void 0},disabled:{type:Boolean},ghost:{type:Boolean},block:{type:Boolean},danger:{type:Boolean},icon:{},href:{},target:{},title:{},onMousedown:{},autoInsertSpace:{type:Boolean},iconPosition:{},color:{},variant:{},type:{default:"borderLink"},borderLinkColor:{},minWidth:{type:[Boolean,Number,String],default:!0},lazy:{type:[Boolean,Number],default:!0},onClick:{}},setup(r){const n=e.useSlots(),a=r;return(t,i)=>(e.openBlock(),e.createBlock(s.default,e.normalizeProps(e.guardReactiveProps({...t.$attrs,...a})),e.createSlots({_:2},[e.renderList(n,(p,o)=>({name:o,fn:e.withCtx(l=>[e.renderSlot(t.$slots,o,e.normalizeProps(e.guardReactiveProps(l||{})))])}))]),1040))}});exports.default=u;
|