@aplus-frontend/ui 0.0.13 → 0.0.14
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/index.mjs +53 -55
- package/es/src/ap-field/checkbox/index.vue.mjs +2 -0
- package/es/src/ap-field/date/index.vue.mjs +2 -0
- package/es/src/ap-field/date-range/index.vue.mjs +2 -0
- package/es/src/ap-field/interface.d.ts +2 -0
- package/es/src/ap-field/number/index.vue.mjs +2 -0
- package/es/src/ap-field/radio/index.vue.mjs +9 -7
- package/es/src/ap-field/rate/index.vue.mjs +4 -2
- package/es/src/ap-field/segmented/index.vue.mjs +15 -13
- package/es/src/ap-field/select/index.vue.mjs +18 -16
- package/es/src/ap-field/slider/index.vue.mjs +11 -9
- package/es/src/ap-field/switch/index.vue.mjs +10 -8
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +12 -10
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +16 -14
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +2 -0
- package/es/src/ap-table/constants.d.ts +715 -487
- package/es/src/ap-table/utils.d.ts +3 -3
- package/es/src/business/index.d.ts +2 -5
- package/es/src/business/index.mjs +4 -5
- package/es/src/business/title/ApTitle.vue.mjs +2 -48
- package/es/src/business/title/ApTitle.vue2.mjs +48 -2
- package/es/src/config-provider/config-provider-props.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.mjs +5 -6
- package/es/src/config-provider/config-provider.d.ts +11 -11
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +31 -31
- package/es/src/description/description.vue.d.ts +1 -1
- package/es/src/description/index.d.ts +3 -3
- package/es/src/editable-table/form-item.vue.d.ts +1 -1
- package/es/src/icon-picker/icon-picker.vue.d.ts +2 -2
- package/es/src/icon-picker/index.d.ts +26 -26
- package/es/src/index.mjs +50 -52
- package/es/src/modal/basic.vue.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/index.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +6 -6
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +12 -12
- package/es/src/utils/config-provider-preset.d.ts +12 -12
- package/lib/index.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +2 -0
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +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-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +715 -487
- package/lib/src/ap-table/utils.d.ts +3 -3
- package/lib/src/business/index.d.ts +2 -5
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.js +1 -1
- package/lib/src/business/title/ApTitle.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +11 -11
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +31 -31
- package/lib/src/description/description.vue.d.ts +1 -1
- package/lib/src/description/index.d.ts +3 -3
- package/lib/src/editable-table/form-item.vue.d.ts +1 -1
- package/lib/src/icon-picker/icon-picker.vue.d.ts +2 -2
- package/lib/src/icon-picker/index.d.ts +26 -26
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/index.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +6 -6
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +12 -12
- package/lib/src/utils/config-provider-preset.d.ts +12 -12
- package/package.json +1 -1
package/es/src/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as x, SvgIcon as n } from "./icon/index.mjs";
|
|
2
2
|
import { APConfigProvider as A } from "./config-provider/index.mjs";
|
|
3
|
-
import { Scrollbar as
|
|
3
|
+
import { Scrollbar as F } from "./scroll-bar/index.mjs";
|
|
4
4
|
import { CollapseContainer as C, ScrollContainer as S } from "./container/index.mjs";
|
|
5
5
|
import { IconPicker as b } from "./icon-picker/index.mjs";
|
|
6
6
|
import "./locale/index.mjs";
|
|
@@ -8,10 +8,10 @@ import { BasicArrow as P, BasicHelp as D, BasicTitle as R } from "./basic/index.
|
|
|
8
8
|
import { ExpandTransition as h, ExpandXTransition as w, FadeTransition as B, ScaleRotateTransition as M, ScaleTransition as k, ScrollXReverseTransition as G, ScrollXTransition as N, ScrollYReverseTransition as y, ScrollYTransition as E, SlideXReverseTransition as L, SlideXTransition as X, SlideYReverseTransition as K, SlideYTransition as Y } from "./transition/index.mjs";
|
|
9
9
|
import { Description as H } from "./description/index.mjs";
|
|
10
10
|
import { Field as z } from "./pro-form/index.mjs";
|
|
11
|
-
import { BaseButton as
|
|
12
|
-
import { StrengthMeter as
|
|
13
|
-
import { BaseModal as
|
|
14
|
-
import { CropperAvatar as
|
|
11
|
+
import { BaseButton as j } from "./base-button/index.mjs";
|
|
12
|
+
import { StrengthMeter as J } from "./strength-meter/index.mjs";
|
|
13
|
+
import { BaseModal as V } from "./modal/index.mjs";
|
|
14
|
+
import { CropperAvatar as _, CropperImage as $ } from "./cropper/index.mjs";
|
|
15
15
|
import { CountdownButton as eo, CountdownInput as ro } from "./count-down/index.mjs";
|
|
16
16
|
import { createPrompt as ao } from "./prompt/index.mjs";
|
|
17
17
|
import { Dropdown as fo } from "./dropdown/index.mjs";
|
|
@@ -26,7 +26,7 @@ import "./ap-tag/index.mjs";
|
|
|
26
26
|
import "./ap-layout/index.mjs";
|
|
27
27
|
import "./ap-upload/index.mjs";
|
|
28
28
|
import "./ap-download/index.mjs";
|
|
29
|
-
import {
|
|
29
|
+
import { ApTitle as To } from "./business/index.mjs";
|
|
30
30
|
import "./ap-table/index.mjs";
|
|
31
31
|
import "./editable-table/index.mjs";
|
|
32
32
|
import { configProviderProps as So } from "./config-provider/config-provider-props.mjs";
|
|
@@ -37,10 +37,10 @@ import { defaultNamespace as yo, namespaceContextKey as Eo, useGetDerivedNamespa
|
|
|
37
37
|
import { ConfigProvider as Yo } from "./config-provider/config-provider.mjs";
|
|
38
38
|
import { default as Ho } from "./locale/lang/zh-cn.mjs";
|
|
39
39
|
import { default as zo } from "./locale/lang/en.mjs";
|
|
40
|
-
import { default as
|
|
41
|
-
import { useDescription as
|
|
42
|
-
import { useComponentRegister as
|
|
43
|
-
import { useForm as
|
|
40
|
+
import { default as jo } from "./transition/collapse-transition.vue.mjs";
|
|
41
|
+
import { useDescription as Jo } from "./description/use-description.mjs";
|
|
42
|
+
import { useComponentRegister as Vo } from "./pro-form/hooks/use-component-register.mjs";
|
|
43
|
+
import { useForm as _o } from "./pro-form/hooks/use-form.mjs";
|
|
44
44
|
import { isComponentFormSchema as oe, isSlotFormSchema as ee } from "./pro-form/types/form.mjs";
|
|
45
45
|
import { default as te } from "./pro-form/components/api-cascader.vue.mjs";
|
|
46
46
|
import { default as pe } from "./pro-form/components/api-radio-group.vue.mjs";
|
|
@@ -49,7 +49,7 @@ import { default as de } from "./pro-form/components/api-transfer.vue.mjs";
|
|
|
49
49
|
import { default as ie } from "./pro-form/components/api-tree.vue.mjs";
|
|
50
50
|
import { default as ne } from "./pro-form/components/radio-button-group.vue.mjs";
|
|
51
51
|
import { default as Ae } from "./pro-form/pro-form.vue.mjs";
|
|
52
|
-
import { default as
|
|
52
|
+
import { default as Fe } from "./pro-form/components/api-tree-select.vue.mjs";
|
|
53
53
|
import { default as Ce } from "./pro-form/table-form.vue.mjs";
|
|
54
54
|
import { default as Ie } from "./pro-form/table-form-inner.vue.mjs";
|
|
55
55
|
import { default as ge } from "./base-button/modal-button.vue.mjs";
|
|
@@ -63,10 +63,10 @@ import { default as Xe } from "./pro-table/components/table-image.vue.mjs";
|
|
|
63
63
|
import { useTable as Ye } from "./pro-table/hooks/use-table.mjs";
|
|
64
64
|
import { ApFormItemText as He } from "./ap-form/items/text/index.mjs";
|
|
65
65
|
import { default as ze } from "./ap-form/items/text-area/index.vue.mjs";
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
66
|
+
import { default as je } from "./ap-form/items/number/index.vue.mjs";
|
|
67
|
+
import { default as Je } from "./ap-form/items/date/index.vue.mjs";
|
|
68
|
+
import { default as Ve } from "./ap-form/items/date-range/index.vue.mjs";
|
|
69
|
+
import { default as _e } from "./ap-form/items/radio/index.vue.mjs";
|
|
70
70
|
import { default as or } from "./ap-form/items/select/index.vue.mjs";
|
|
71
71
|
import { default as rr } from "./ap-form/items/switch/index.vue.mjs";
|
|
72
72
|
import { default as ar } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
@@ -76,7 +76,7 @@ import { default as sr } from "./ap-form/ap-form-item-group/index.vue.mjs";
|
|
|
76
76
|
import { default as xr } from "./ap-form/ap-form-list.vue.mjs";
|
|
77
77
|
import { default as ur } from "./ap-form/search-form/index.vue.mjs";
|
|
78
78
|
import { default as cr } from "./ap-form/modal-form/index.vue.mjs";
|
|
79
|
-
import { ApFieldText as
|
|
79
|
+
import { ApFieldText as Tr } from "./ap-field/text/index.mjs";
|
|
80
80
|
import { default as Sr } from "./ap-field/checkbox/index.vue.mjs";
|
|
81
81
|
import { default as br } from "./ap-field/date/index.vue.mjs";
|
|
82
82
|
import { default as Pr } from "./ap-field/number/index.vue.mjs";
|
|
@@ -90,10 +90,10 @@ import { default as Xr } from "./ap-field/slider/index.vue.mjs";
|
|
|
90
90
|
import { default as Yr } from "./ap-field/segmented/index.vue.mjs";
|
|
91
91
|
import { default as Hr } from "./ap-field/rate/index.vue.mjs";
|
|
92
92
|
import { default as zr } from "./ap-action/item-modal/index.vue.mjs";
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { generateTableList as
|
|
93
|
+
import { default as jr } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
94
|
+
import { default as Jr } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
95
|
+
import { default as Vr } from "./ap-action/group/index.vue.mjs";
|
|
96
|
+
import { generateTableList as _r } from "./ap-custom-column/utils.mjs";
|
|
97
97
|
import { useCacheColumnSetting as ot } from "./ap-custom-column/useCacheColumnSetting.mjs";
|
|
98
98
|
import { default as rt } from "./ap-custom-column/custom-column.vue.mjs";
|
|
99
99
|
import { default as at } from "./ap-custom-column/column-select.vue.mjs";
|
|
@@ -103,21 +103,20 @@ import { default as st } from "./work-order-modal/work-order-modal.vue.mjs";
|
|
|
103
103
|
import { default as xt } from "./ap-tag/ap-tag.vue.mjs";
|
|
104
104
|
import { default as ut } from "./ap-tag/ap-tag-group.vue.mjs";
|
|
105
105
|
import { default as ct } from "./ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
|
|
106
|
-
import { NeedNameKeyDefault as
|
|
106
|
+
import { NeedNameKeyDefault as Tt } from "./ap-upload/apUploadTypes.mjs";
|
|
107
107
|
import { default as St } from "./ap-upload/apUpload.vue.mjs";
|
|
108
108
|
import { default as bt } from "./ap-download/ap-download.vue.mjs";
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import { default as ht } from "./
|
|
112
|
-
import { default as Bt } from "./editable-table/
|
|
113
|
-
import { default as kt } from "./editable-table/form-item.vue.mjs";
|
|
109
|
+
import { useTablePaging as Pt } from "./ap-table/hooks/use-table-paging.mjs";
|
|
110
|
+
import { default as Rt } from "./ap-table/ap-table.vue.mjs";
|
|
111
|
+
import { default as ht } from "./editable-table/index.vue.mjs";
|
|
112
|
+
import { default as Bt } from "./editable-table/form-item.vue.mjs";
|
|
114
113
|
export {
|
|
115
114
|
A as APConfigProvider,
|
|
116
|
-
|
|
115
|
+
Vr as ApActionGroup,
|
|
117
116
|
co as ApActionItem,
|
|
118
|
-
|
|
117
|
+
Jr as ApActionItemDropdown,
|
|
119
118
|
zr as ApActionItemModal,
|
|
120
|
-
|
|
119
|
+
jr as ApActionItemPopconfirm,
|
|
121
120
|
rt as ApCustomColumn,
|
|
122
121
|
at as ApCustomSelect,
|
|
123
122
|
bt as ApDownload,
|
|
@@ -133,16 +132,16 @@ export {
|
|
|
133
132
|
Nr as ApFieldSelect,
|
|
134
133
|
Xr as ApFieldSlider,
|
|
135
134
|
hr as ApFieldSwitch,
|
|
136
|
-
|
|
135
|
+
Tr as ApFieldText,
|
|
137
136
|
Br as ApFieldTextArea,
|
|
138
137
|
lo as ApForm,
|
|
139
138
|
lr as ApFormItem,
|
|
140
139
|
ar as ApFormItemCheckbox,
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
Je as ApFormItemDate,
|
|
141
|
+
Ve as ApFormItemDateRange,
|
|
143
142
|
sr as ApFormItemGroup,
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
je as ApFormItemNumber,
|
|
144
|
+
_e as ApFormItemRadio,
|
|
146
145
|
or as ApFormItemSelect,
|
|
147
146
|
rr as ApFormItemSwitch,
|
|
148
147
|
He as ApFormItemText,
|
|
@@ -152,35 +151,35 @@ export {
|
|
|
152
151
|
cr as ApFormModalForm,
|
|
153
152
|
ur as ApFormSearchForm,
|
|
154
153
|
ct as ApInfoLayout,
|
|
155
|
-
|
|
154
|
+
Rt as ApTable,
|
|
156
155
|
xt as ApTag,
|
|
157
156
|
ut as ApTagGroup,
|
|
158
|
-
|
|
157
|
+
To as ApTitle,
|
|
159
158
|
St as ApUpload,
|
|
160
159
|
te as ApiCascader,
|
|
161
160
|
pe as ApiRadioGroup,
|
|
162
161
|
me as ApiSelect,
|
|
163
162
|
de as ApiTransfer,
|
|
164
163
|
ie as ApiTree,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
Fe as ApiTreeSelect,
|
|
165
|
+
j as BaseButton,
|
|
166
|
+
V as BaseModal,
|
|
168
167
|
P as BasicArrow,
|
|
169
168
|
D as BasicHelp,
|
|
170
169
|
R as BasicTitle,
|
|
171
170
|
C as CollapseContainer,
|
|
172
|
-
|
|
171
|
+
jo as CollapseTransition,
|
|
173
172
|
Yo as ConfigProvider,
|
|
174
173
|
eo as CountdownButton,
|
|
175
174
|
ro as CountdownInput,
|
|
176
|
-
|
|
175
|
+
_ as CropperAvatar,
|
|
177
176
|
$ as CropperImage,
|
|
178
177
|
H as Description,
|
|
179
178
|
ft as DictCode,
|
|
180
179
|
fo as Dropdown,
|
|
181
180
|
Ee as EditTableHeaderIcon,
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
ht as EditableTable,
|
|
182
|
+
Bt as EditableTableFormItem,
|
|
184
183
|
h as ExpandTransition,
|
|
185
184
|
w as ExpandXTransition,
|
|
186
185
|
B as FadeTransition,
|
|
@@ -188,7 +187,7 @@ export {
|
|
|
188
187
|
x as Icon,
|
|
189
188
|
b as IconPicker,
|
|
190
189
|
ge as ModalButton,
|
|
191
|
-
|
|
190
|
+
Tt as NeedNameKeyDefault,
|
|
192
191
|
De as PopConfirmButton,
|
|
193
192
|
Ae as ProForm,
|
|
194
193
|
ke as ProTable,
|
|
@@ -202,17 +201,16 @@ export {
|
|
|
202
201
|
N as ScrollXTransition,
|
|
203
202
|
y as ScrollYReverseTransition,
|
|
204
203
|
E as ScrollYTransition,
|
|
205
|
-
|
|
204
|
+
F as Scrollbar,
|
|
206
205
|
L as SlideXReverseTransition,
|
|
207
206
|
X as SlideXTransition,
|
|
208
207
|
K as SlideYReverseTransition,
|
|
209
208
|
Y as SlideYTransition,
|
|
210
|
-
|
|
209
|
+
J as StrengthMeter,
|
|
211
210
|
n as SvgIcon,
|
|
212
211
|
Ne as TableAction,
|
|
213
212
|
Xe as TableImg,
|
|
214
213
|
st as WorkOrderModal,
|
|
215
|
-
Fo as _ApTitle,
|
|
216
214
|
no as adminToken,
|
|
217
215
|
uo as aplusToken,
|
|
218
216
|
wo as buildLocaleContext,
|
|
@@ -223,7 +221,7 @@ export {
|
|
|
223
221
|
lt as createWorkOrderModal,
|
|
224
222
|
yo as defaultNamespace,
|
|
225
223
|
zo as en,
|
|
226
|
-
|
|
224
|
+
_r as generateTableList,
|
|
227
225
|
oe as isComponentFormSchema,
|
|
228
226
|
ee as isSlotFormSchema,
|
|
229
227
|
Do as keysOf,
|
|
@@ -233,9 +231,9 @@ export {
|
|
|
233
231
|
go as tableDefaultConfig,
|
|
234
232
|
ko as translate,
|
|
235
233
|
ot as useCacheColumnSetting,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
234
|
+
Vo as useComponentRegister,
|
|
235
|
+
Jo as useDescription,
|
|
236
|
+
_o as useForm,
|
|
239
237
|
Lo as useGetDerivedNamespace,
|
|
240
238
|
vo as useGlobalConfig,
|
|
241
239
|
Go as useLocale,
|
|
@@ -244,6 +242,6 @@ export {
|
|
|
244
242
|
Be as useModalInner,
|
|
245
243
|
Xo as useNamespace,
|
|
246
244
|
Ye as useTable,
|
|
247
|
-
|
|
245
|
+
Pt as useTablePaging,
|
|
248
246
|
Ho as zhCn
|
|
249
247
|
};
|
|
@@ -212,8 +212,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
212
212
|
type: NumberConstructor;
|
|
213
213
|
};
|
|
214
214
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
215
|
-
ok: (...args: any[]) => void;
|
|
216
215
|
cancel: (...args: any[]) => void;
|
|
216
|
+
ok: (...args: any[]) => void;
|
|
217
217
|
"height-change": (...args: any[]) => void;
|
|
218
218
|
fullscreen: (...args: any[]) => void;
|
|
219
219
|
"open-change": (...args: any[]) => void;
|
|
@@ -213,8 +213,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
213
213
|
type: NumberConstructor;
|
|
214
214
|
};
|
|
215
215
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
216
|
-
ok: (...args: any[]) => void;
|
|
217
216
|
cancel: (...args: any[]) => void;
|
|
217
|
+
ok: (...args: any[]) => void;
|
|
218
218
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
219
219
|
open: {
|
|
220
220
|
type: BooleanConstructor;
|
package/es/src/modal/index.d.ts
CHANGED
|
@@ -221,8 +221,8 @@ export declare const BaseModal: {
|
|
|
221
221
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
222
222
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
223
223
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
224
|
-
ok: (...args: any[]) => void;
|
|
225
224
|
cancel: (...args: any[]) => void;
|
|
225
|
+
ok: (...args: any[]) => void;
|
|
226
226
|
"height-change": (...args: any[]) => void;
|
|
227
227
|
fullscreen: (...args: any[]) => void;
|
|
228
228
|
"open-change": (...args: any[]) => void;
|
|
@@ -923,8 +923,8 @@ export declare const BaseModal: {
|
|
|
923
923
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
924
924
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
925
925
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
926
|
-
ok: (...args: any[]) => void;
|
|
927
926
|
cancel: (...args: any[]) => void;
|
|
927
|
+
ok: (...args: any[]) => void;
|
|
928
928
|
"height-change": (...args: any[]) => void;
|
|
929
929
|
fullscreen: (...args: any[]) => void;
|
|
930
930
|
"open-change": (...args: any[]) => void;
|
|
@@ -24,10 +24,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
24
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
onDefaultChange?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
+
immediate: boolean;
|
|
27
28
|
resultField: string;
|
|
28
29
|
labelField: string;
|
|
29
30
|
valueField: string;
|
|
30
|
-
immediate: boolean;
|
|
31
31
|
childrenField: string;
|
|
32
32
|
apiParamKey: string;
|
|
33
33
|
initFetchParams: Record<string, any>;
|
|
@@ -24,11 +24,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
24
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
+
immediate: boolean;
|
|
27
28
|
params: string | Record<string, any>;
|
|
28
29
|
resultField: string;
|
|
29
30
|
labelField: string;
|
|
30
31
|
valueField: string;
|
|
31
|
-
immediate: boolean;
|
|
32
32
|
isBtn: boolean;
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|
|
@@ -40,13 +40,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
40
40
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
+
immediate: boolean;
|
|
44
|
+
options: ApiSelectOption[];
|
|
43
45
|
params: Record<string, any>;
|
|
44
46
|
resultField: string;
|
|
45
47
|
labelField: string;
|
|
46
48
|
valueField: string;
|
|
47
|
-
immediate: boolean;
|
|
48
49
|
alwaysLoad: boolean;
|
|
49
|
-
options: ApiSelectOption[];
|
|
50
50
|
}, {}>, Partial<Record<NonNullable<keyof SelectSlotsType>, (_: any) => any>>>;
|
|
51
51
|
export default _default;
|
|
52
52
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -27,10 +27,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
27
27
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
disabled: boolean;
|
|
30
|
+
immediate: boolean;
|
|
30
31
|
resultField: string;
|
|
31
32
|
labelField: string;
|
|
32
33
|
valueField: string;
|
|
33
|
-
immediate: boolean;
|
|
34
34
|
alwaysLoad: boolean;
|
|
35
35
|
showSearch: boolean;
|
|
36
36
|
showSelectAll: boolean;
|
|
@@ -25,10 +25,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
25
25
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}, {
|
|
28
|
+
immediate: boolean;
|
|
28
29
|
resultField: string;
|
|
29
30
|
labelField: string;
|
|
30
31
|
valueField: string;
|
|
31
|
-
immediate: boolean;
|
|
32
32
|
async: boolean;
|
|
33
33
|
childrenField: string;
|
|
34
34
|
}, {}>, Partial<Record<NonNullable<AntdTreeSelectSlotNames>, (_: any) => any>>>;
|
|
@@ -17,8 +17,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
17
17
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
resultField: string;
|
|
21
20
|
immediate: boolean;
|
|
21
|
+
resultField: string;
|
|
22
22
|
}, {}>, Partial<Record<NonNullable<AntdTreeSlotNames>, (_: any) => any>>>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -96,8 +96,8 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
96
96
|
offset: string | number;
|
|
97
97
|
} | ColSize | undefined;
|
|
98
98
|
prefixCls?: string | undefined;
|
|
99
|
-
push?: (string | number) | undefined;
|
|
100
99
|
span?: (string | number) | undefined;
|
|
100
|
+
push?: (string | number) | undefined;
|
|
101
101
|
flex?: (string | number) | undefined;
|
|
102
102
|
order?: (string | number) | undefined;
|
|
103
103
|
offset?: (string | number) | undefined;
|
|
@@ -110,7 +110,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
110
110
|
contextmenu?: string | undefined;
|
|
111
111
|
dir?: string | undefined;
|
|
112
112
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
113
|
-
hidden?: "" | (boolean | "true" | "false") | "
|
|
113
|
+
hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
114
114
|
id?: string | undefined;
|
|
115
115
|
inert?: (boolean | "true" | "false") | undefined;
|
|
116
116
|
lang?: string | undefined;
|
|
@@ -145,18 +145,18 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
145
145
|
is?: string | undefined;
|
|
146
146
|
'aria-activedescendant'?: string | undefined;
|
|
147
147
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
148
|
-
'aria-autocomplete'?: "
|
|
148
|
+
'aria-autocomplete'?: "none" | "inline" | "both" | "list" | undefined;
|
|
149
149
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
150
150
|
'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
151
151
|
'aria-colcount'?: (string | number) | undefined;
|
|
152
152
|
'aria-colindex'?: (string | number) | undefined;
|
|
153
153
|
'aria-colspan'?: (string | number) | undefined;
|
|
154
154
|
'aria-controls'?: string | undefined;
|
|
155
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "page" | "
|
|
155
|
+
'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
|
|
156
156
|
'aria-describedby'?: string | undefined;
|
|
157
157
|
'aria-details'?: string | undefined;
|
|
158
158
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
159
|
-
'aria-dropeffect'?: "link" | "
|
|
159
|
+
'aria-dropeffect'?: "link" | "copy" | "none" | "move" | "execute" | "popup" | undefined;
|
|
160
160
|
'aria-errormessage'?: string | undefined;
|
|
161
161
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
162
162
|
'aria-flowto'?: string | undefined;
|
|
@@ -301,8 +301,8 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
301
301
|
offset: string | number;
|
|
302
302
|
} | ColSize | undefined;
|
|
303
303
|
prefixCls?: string | undefined;
|
|
304
|
-
push?: (string | number) | undefined;
|
|
305
304
|
span?: (string | number) | undefined;
|
|
305
|
+
push?: (string | number) | undefined;
|
|
306
306
|
flex?: (string | number) | undefined;
|
|
307
307
|
order?: (string | number) | undefined;
|
|
308
308
|
offset?: (string | number) | undefined;
|
|
@@ -37,8 +37,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
37
37
|
submit: (e?: Event | undefined) => Promise<void>;
|
|
38
38
|
scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
|
|
39
39
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
-
submit: (...args: any[]) => void;
|
|
41
40
|
reset: (...args: any[]) => void;
|
|
41
|
+
submit: (...args: any[]) => void;
|
|
42
42
|
register: (...args: any[]) => void;
|
|
43
43
|
"advanced-change": (...args: any[]) => void;
|
|
44
44
|
"field-value-change": (...args: any[]) => void;
|
|
@@ -77,8 +77,8 @@ declare const _default: DefineComponent<{
|
|
|
77
77
|
required: true;
|
|
78
78
|
};
|
|
79
79
|
}>>, {
|
|
80
|
-
value: string | number | boolean | Record<string, any>;
|
|
81
80
|
column: BasicColumn;
|
|
81
|
+
value: string | number | boolean | Record<string, any>;
|
|
82
82
|
record: any;
|
|
83
83
|
}, {}>;
|
|
84
84
|
export default _default;
|
|
@@ -116,10 +116,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
116
116
|
"onRow-mouseleave"?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
"onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
|
|
118
118
|
}, {
|
|
119
|
+
ellipsis: boolean;
|
|
119
120
|
pagination: boolean | PaginationProps | null;
|
|
120
121
|
immediate: boolean;
|
|
121
122
|
columns: BasicColumn[];
|
|
122
|
-
ellipsis: boolean;
|
|
123
123
|
rowKey: string | GetRowKey<any>;
|
|
124
124
|
indentSize: number;
|
|
125
125
|
showIndexColumn: boolean;
|
|
@@ -3,13 +3,13 @@ import { StyleValue } from '../type';
|
|
|
3
3
|
export * from './interface';
|
|
4
4
|
export declare const Scrollbar: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
|
+
native: {
|
|
7
|
+
type: PropType<boolean>;
|
|
8
|
+
};
|
|
6
9
|
scrollHeight: {
|
|
7
10
|
type: PropType<number>;
|
|
8
11
|
default: number;
|
|
9
12
|
};
|
|
10
|
-
native: {
|
|
11
|
-
type: PropType<boolean>;
|
|
12
|
-
};
|
|
13
13
|
wrapStyle: {
|
|
14
14
|
type: PropType<StyleValue>;
|
|
15
15
|
default: string;
|
|
@@ -36,13 +36,13 @@ export declare const Scrollbar: {
|
|
|
36
36
|
}>>, {
|
|
37
37
|
wrap: Ref<any>;
|
|
38
38
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
39
|
+
native: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
};
|
|
39
42
|
scrollHeight: {
|
|
40
43
|
type: PropType<number>;
|
|
41
44
|
default: number;
|
|
42
45
|
};
|
|
43
|
-
native: {
|
|
44
|
-
type: PropType<boolean>;
|
|
45
|
-
};
|
|
46
46
|
wrapStyle: {
|
|
47
47
|
type: PropType<StyleValue>;
|
|
48
48
|
default: string;
|
|
@@ -81,13 +81,13 @@ export declare const Scrollbar: {
|
|
|
81
81
|
M: {};
|
|
82
82
|
Defaults: {};
|
|
83
83
|
}, Readonly< ExtractPropTypes<{
|
|
84
|
+
native: {
|
|
85
|
+
type: PropType<boolean>;
|
|
86
|
+
};
|
|
84
87
|
scrollHeight: {
|
|
85
88
|
type: PropType<number>;
|
|
86
89
|
default: number;
|
|
87
90
|
};
|
|
88
|
-
native: {
|
|
89
|
-
type: PropType<boolean>;
|
|
90
|
-
};
|
|
91
91
|
wrapStyle: {
|
|
92
92
|
type: PropType<StyleValue>;
|
|
93
93
|
default: string;
|
|
@@ -125,13 +125,13 @@ export declare const Scrollbar: {
|
|
|
125
125
|
__isTeleport?: undefined;
|
|
126
126
|
__isSuspense?: undefined;
|
|
127
127
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
128
|
+
native: {
|
|
129
|
+
type: PropType<boolean>;
|
|
130
|
+
};
|
|
128
131
|
scrollHeight: {
|
|
129
132
|
type: PropType<number>;
|
|
130
133
|
default: number;
|
|
131
134
|
};
|
|
132
|
-
native: {
|
|
133
|
-
type: PropType<boolean>;
|
|
134
|
-
};
|
|
135
135
|
wrapStyle: {
|
|
136
136
|
type: PropType<StyleValue>;
|
|
137
137
|
default: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
|
|
2
2
|
import { ConfigProviderProps } from 'ant-design-vue';
|
|
3
3
|
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
4
|
+
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
5
|
+
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
4
6
|
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
5
7
|
import { Locale } from 'ant-design-vue/es/locale';
|
|
6
8
|
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
7
|
-
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
8
|
-
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
9
9
|
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
10
10
|
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
11
11
|
|
|
@@ -39,10 +39,18 @@ export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
|
|
|
39
39
|
export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
40
40
|
theme?: ThemeConfig | undefined;
|
|
41
41
|
direction?: "ltr" | "rtl" | undefined;
|
|
42
|
-
csp?: CSPConfig | undefined;
|
|
43
42
|
input?: {
|
|
44
43
|
autocomplete?: string | undefined;
|
|
45
44
|
} | undefined;
|
|
45
|
+
select?: {
|
|
46
|
+
showSearch?: boolean | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
form?: {
|
|
49
|
+
validateMessages?: ValidateMessages | undefined;
|
|
50
|
+
requiredMark?: RequiredMark | undefined;
|
|
51
|
+
colon?: boolean | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
csp?: CSPConfig | undefined;
|
|
46
54
|
locale?: Locale | undefined;
|
|
47
55
|
pageHeader?: {
|
|
48
56
|
ghost?: boolean | undefined;
|
|
@@ -51,24 +59,16 @@ export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
|
51
59
|
size?: number | ButtonSize;
|
|
52
60
|
} | undefined;
|
|
53
61
|
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
54
|
-
form?: {
|
|
55
|
-
validateMessages?: ValidateMessages | undefined;
|
|
56
|
-
requiredMark?: RequiredMark | undefined;
|
|
57
|
-
colon?: boolean | undefined;
|
|
58
|
-
} | undefined;
|
|
59
62
|
pagination?: {
|
|
60
63
|
showSizeChanger?: boolean | undefined;
|
|
61
64
|
} | undefined;
|
|
62
|
-
select?: {
|
|
63
|
-
showSearch?: boolean | undefined;
|
|
64
|
-
} | undefined;
|
|
65
65
|
wave?: {
|
|
66
66
|
disabled?: boolean | undefined;
|
|
67
67
|
} | undefined;
|
|
68
68
|
getPopupContainer?: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
69
69
|
prefixCls?: string | undefined;
|
|
70
70
|
iconPrefixCls?: string | undefined;
|
|
71
|
-
getTargetContainer?: (() =>
|
|
71
|
+
getTargetContainer?: (() => Window | HTMLElement) | undefined;
|
|
72
72
|
getPrefixCls?: ((suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string) | undefined;
|
|
73
73
|
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
74
74
|
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|