@aplus-frontend/ui 0.3.10 → 0.3.12
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 +231 -227
- package/es/src/ap-form/ap-form.vue.d.ts +13 -34
- package/es/src/ap-form/ap-form.vue2.mjs +143 -120
- package/es/src/ap-form/drawer-form/index.vue.d.ts +22 -40
- package/es/src/ap-form/drawer-form/index.vue.mjs +3 -3
- package/es/src/ap-form/index.d.ts +3 -1
- package/es/src/ap-form/index.mjs +26 -22
- package/es/src/ap-form/interface.d.ts +3 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +23 -41
- package/es/src/ap-form/modal-form/index.vue.mjs +64 -58
- package/es/src/ap-form/provider/context.d.ts +3 -0
- package/es/src/ap-form/provider/context.mjs +17 -0
- package/es/src/ap-form/provider/index.vue.d.ts +19 -0
- package/es/src/ap-form/provider/index.vue.mjs +39 -0
- package/es/src/ap-form/provider/index.vue2.mjs +4 -0
- package/es/src/ap-form/provider/interface.d.ts +22 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +22 -40
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +33 -29
- package/es/src/business/ap-table-modal/interface.d.ts +2 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +50 -48
- package/es/src/config-provider/config-provider-props.d.ts +0 -2
- package/es/src/config-provider/config-provider-props.mjs +2 -4
- package/es/src/config-provider/config-provider.d.ts +0 -6
- package/es/src/config-provider/config-provider.mjs +26 -25
- package/es/src/config-provider/constants.d.ts +2 -0
- package/es/src/config-provider/constants.mjs +3 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -2
- package/es/src/config-provider/index.d.ts +0 -12
- package/es/src/config-provider/index.mjs +17 -15
- package/es/src/index.mjs +210 -206
- package/es/src/utils/slot.mjs +6 -8
- package/lib/index.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +13 -34
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +22 -40
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/index.d.ts +3 -1
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +3 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +23 -41
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/provider/context.d.ts +3 -0
- package/lib/src/ap-form/provider/context.js +1 -0
- package/lib/src/ap-form/provider/index.vue.d.ts +19 -0
- package/lib/src/ap-form/provider/index.vue.js +1 -0
- package/lib/src/ap-form/provider/index.vue2.js +1 -0
- package/lib/src/ap-form/provider/interface.d.ts +22 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +22 -40
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/interface.d.ts +2 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +0 -2
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +0 -6
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +2 -0
- package/lib/src/config-provider/constants.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -2
- package/lib/src/config-provider/index.d.ts +0 -12
- package/lib/src/config-provider/index.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/utils/slot.js +1 -1
- package/package.json +3 -3
package/es/index.mjs
CHANGED
|
@@ -2,110 +2,111 @@ import * as e from "./src/index.mjs";
|
|
|
2
2
|
import { default as l } from "./src/path-map.mjs";
|
|
3
3
|
import "./src/hooks/index.mjs";
|
|
4
4
|
import { configProviderProps as d } from "./src/config-provider/config-provider-props.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { keysOf as
|
|
7
|
-
import { buildLocaleContext as
|
|
8
|
-
import { defaultNamespace as
|
|
9
|
-
import { ConfigProvider as
|
|
10
|
-
import { APConfigProvider as
|
|
11
|
-
import { ApFormItemText as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { ApForm as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import { default as
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
5
|
+
import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as s, configProviderContextKey as i } from "./src/config-provider/constants.mjs";
|
|
6
|
+
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
+
import { buildLocaleContext as T, buildTranslator as C, localeContextKey as D, translate as g, useLocale as S } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { defaultNamespace as G, namespaceContextKey as P, useGetDerivedNamespace as E, useNamespace as L } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as N, globalConfigCached as y } from "./src/config-provider/config-provider.mjs";
|
|
10
|
+
import { APConfigProvider as R } from "./src/config-provider/index.mjs";
|
|
11
|
+
import { ApFormItemText as v } from "./src/ap-form/items/text/index.mjs";
|
|
12
|
+
import { default as K } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
|
+
import { default as O } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
|
+
import { default as _ } from "./src/ap-form/items/date/index.vue.mjs";
|
|
15
|
+
import { default as H } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
16
|
+
import { default as $ } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
17
|
+
import { default as q } from "./src/ap-form/items/select/index.vue.mjs";
|
|
18
|
+
import { default as Q } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
19
|
+
import { default as Y } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
20
|
+
import { default as oo } from "./src/ap-form/items/text/password.vue.mjs";
|
|
21
|
+
import { ApForm as ro } from "./src/ap-form/index.mjs";
|
|
22
|
+
import { default as po } from "./src/ap-form/item/index.vue.mjs";
|
|
23
|
+
import { default as fo } from "./src/ap-form/item-group/index.vue.mjs";
|
|
24
|
+
import { default as lo } from "./src/ap-form/list/index.vue.mjs";
|
|
25
|
+
import { default as uo } from "./src/ap-form/search-form/index.vue.mjs";
|
|
26
|
+
import { default as so } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
27
|
+
import { default as no } from "./src/ap-form/dependency/index.vue.mjs";
|
|
28
|
+
import { default as Fo } from "./src/ap-form/set/index.vue.mjs";
|
|
29
|
+
import { default as bo } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
30
|
+
import { default as Co } from "./src/ap-form/render/control.vue.mjs";
|
|
31
|
+
import { default as go } from "./src/ap-form/render/item.vue.mjs";
|
|
32
|
+
import { default as ho } from "./src/ap-form/provider/index.vue.mjs";
|
|
33
|
+
import { ApField as Po } from "./src/ap-field/index.mjs";
|
|
34
|
+
import { ApFieldText as Lo } from "./src/ap-field/text/index.mjs";
|
|
35
|
+
import { default as No } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
36
|
+
import { default as wo } from "./src/ap-field/date/index.vue.mjs";
|
|
37
|
+
import { default as ko } from "./src/ap-field/number/index.vue.mjs";
|
|
38
|
+
import { default as Bo } from "./src/ap-field/radio/index.vue.mjs";
|
|
39
|
+
import { default as Uo } from "./src/ap-field/switch/index.vue.mjs";
|
|
40
|
+
import { default as Wo } from "./src/ap-field/text-area/index.vue.mjs";
|
|
41
|
+
import { default as zo } from "./src/ap-field/date-range/index.vue.mjs";
|
|
42
|
+
import { default as Vo } from "./src/ap-field/select/index.vue.mjs";
|
|
43
|
+
import { default as jo } from "./src/ap-field/text/password.vue.mjs";
|
|
44
|
+
import { default as Jo } from "./src/ap-field/slider/index.vue.mjs";
|
|
45
|
+
import { default as Xo } from "./src/ap-field/segmented/index.vue.mjs";
|
|
46
|
+
import { default as Zo } from "./src/ap-field/rate/index.vue.mjs";
|
|
47
|
+
import { adminToken as ee, aplusToken as re } from "./src/design-token/index.mjs";
|
|
48
|
+
import { ApActionItem as pe } from "./src/ap-action/index.mjs";
|
|
49
|
+
import { default as fe } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
50
|
+
import { default as le } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
51
|
+
import { default as de } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
52
|
+
import { default as Ae } from "./src/ap-action/group/index.vue.mjs";
|
|
53
|
+
import { DictCode as ie, langMap as ne } from "./src/work-order-modal/interfaces.mjs";
|
|
54
|
+
import { createWorkOrderModal as Fe } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
55
|
+
import { default as be } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
56
|
+
import { default as Ce } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
57
|
+
import { default as ge } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
58
|
+
import { default as he } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
59
|
+
import { NeedNameKeyDefault as Pe } from "./src/ap-upload/apUploadTypes.mjs";
|
|
60
|
+
import { default as Le } from "./src/ap-upload/apUpload.vue.mjs";
|
|
61
|
+
import { ApDownLoadNeedNameKeyDefault as Ne } from "./src/ap-download/interface.mjs";
|
|
62
|
+
import { default as we } from "./src/ap-download/ap-download.vue.mjs";
|
|
63
|
+
import { CheckCard as ke } from "./src/check-card/index.mjs";
|
|
64
|
+
import { default as Be } from "./src/check-card/group.vue.mjs";
|
|
65
|
+
import { ApModal as Ue } from "./src/ap-modal/index.mjs";
|
|
66
|
+
import { default as We } from "./src/ap-list/index.vue.mjs";
|
|
67
|
+
import { default as ze } from "./src/ap-button/ap-button.vue.mjs";
|
|
68
|
+
import { default as Ve } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
69
|
+
import { ApDrawer as je } from "./src/ap-drawer/index.mjs";
|
|
70
|
+
import { ApTransformDataHelper as Je } from "./src/utils/ap-trans-data/index.mjs";
|
|
71
|
+
import { default as Xe } from "./src/business/ap-table-modal/index.mjs";
|
|
72
|
+
import { useTableModal as Ze } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
73
|
+
import { useTableSelectModal as er } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
74
|
+
import { ApAttachment as tr } from "./src/business/ap-attachment/index.mjs";
|
|
75
|
+
import { ApBatchAction as ar } from "./src/business/ap-batch-action/index.mjs";
|
|
76
|
+
import { ApBatchActionGroup as mr } from "./src/business/ap-batch-action-group/index.mjs";
|
|
77
|
+
import { ApButtonGroup as xr } from "./src/business/ap-button-group/index.mjs";
|
|
78
|
+
import { ApCard as ur } from "./src/business/ap-card/index.mjs";
|
|
79
|
+
import { ApExpandAlert as sr } from "./src/business/ap-expand-alert/index.mjs";
|
|
80
|
+
import { ApExportGroupActionType as nr } from "./src/business/ap-export-group/interface.mjs";
|
|
81
|
+
import { ApExportGroup as Fr } from "./src/business/ap-export-group/index.mjs";
|
|
82
|
+
import { handleExportDownload as br } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
83
|
+
import { convertExportField as Cr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
84
|
+
import { ApImage as gr } from "./src/business/ap-image/index.mjs";
|
|
85
|
+
import { ApInputRadio as hr } from "./src/business/ap-input-radio/index.mjs";
|
|
86
|
+
import { ApLabel as Pr, ApLabelGroup as Er } from "./src/business/ap-label/index.mjs";
|
|
87
|
+
import { locales as Mr } from "./src/business/ap-ladder/interface.mjs";
|
|
88
|
+
import { ApLadder as yr } from "./src/business/ap-ladder/index.mjs";
|
|
89
|
+
import { ApSelectLayout as Rr } from "./src/business/ap-select-layout/index.mjs";
|
|
90
|
+
import { ApStatus as vr, ApStatusGroup as Br } from "./src/business/ap-status/index.mjs";
|
|
91
|
+
import { ApTitle as Ur } from "./src/business/ap-title/index.mjs";
|
|
92
|
+
import { usePageListApTable as Wr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
93
|
+
import { useTableRefresh as zr } from "./src/business/hooks/useTableRefresh.mjs";
|
|
94
|
+
import { computedRecords as Vr, flattenColumns as $r, formatDataIndex as jr, formatNumber as qr } from "./src/business/ap-summary/utils.mjs";
|
|
95
|
+
import { ApSummary as Qr } from "./src/business/ap-summary/index.mjs";
|
|
96
|
+
import { ApNeedNameKeyDefault as Yr } from "./src/business/ap-appendix/interface.mjs";
|
|
97
|
+
import { ApAppendix as ot } from "./src/business/ap-appendix/index.mjs";
|
|
98
|
+
import { ApExtensionSelect as rt, ApGroupSearch as tt, ApPopoverSelect as pt } from "./src/business/ap-group-search/index.mjs";
|
|
99
|
+
import { default as ft } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
100
|
+
import { default as lt } from "./src/business/batch-input-group/index.vue.mjs";
|
|
101
|
+
import { ApSizeInput as dt } from "./src/business/ap-size-input/index.mjs";
|
|
102
|
+
import { useTablePaging as At } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
103
|
+
import { ApTable as it } from "./src/ap-table/index.mjs";
|
|
104
|
+
import { default as ct } from "./src/editable-table/index.vue.mjs";
|
|
105
|
+
import { default as It } from "./src/editable-table/form-item.vue.mjs";
|
|
106
|
+
import { default as Tt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
107
|
+
import { ApScrollBar as Dt } from "./src/ap-scroll-bar/index.mjs";
|
|
108
|
+
import { useMessage as St } from "./src/hooks/useMessage.mjs";
|
|
109
|
+
import { useControllableValue as Gt } from "./src/hooks/useControllableValue.mjs";
|
|
109
110
|
const a = {
|
|
110
111
|
install: (r) => {
|
|
111
112
|
for (const t in e) {
|
|
@@ -115,130 +116,133 @@ const a = {
|
|
|
115
116
|
}
|
|
116
117
|
};
|
|
117
118
|
export {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
119
|
+
R as APConfigProvider,
|
|
120
|
+
Ve as ApActionButton,
|
|
121
|
+
Ae as ApActionGroup,
|
|
122
|
+
pe as ApActionItem,
|
|
123
|
+
de as ApActionItemDropdown,
|
|
124
|
+
fe as ApActionItemModal,
|
|
125
|
+
le as ApActionItemPopconfirm,
|
|
126
|
+
ot as ApAppendix,
|
|
127
|
+
tr as ApAttachment,
|
|
128
|
+
ar as ApBatchAction,
|
|
129
|
+
mr as ApBatchActionGroup,
|
|
130
|
+
ze as ApButton,
|
|
131
|
+
xr as ApButtonGroup,
|
|
132
|
+
ur as ApCard,
|
|
133
|
+
Tt as ApDescriptions,
|
|
134
|
+
Ne as ApDownLoadNeedNameKeyDefault,
|
|
135
|
+
we as ApDownload,
|
|
136
|
+
je as ApDrawer,
|
|
137
|
+
sr as ApExpandAlert,
|
|
138
|
+
Fr as ApExportGroup,
|
|
139
|
+
nr as ApExportGroupActionType,
|
|
140
|
+
rt as ApExtensionSelect,
|
|
141
|
+
Po as ApField,
|
|
142
|
+
No as ApFieldCheckbox,
|
|
143
|
+
wo as ApFieldDate,
|
|
144
|
+
zo as ApFieldDateRange,
|
|
145
|
+
ko as ApFieldNumber,
|
|
146
|
+
jo as ApFieldPassword,
|
|
147
|
+
Bo as ApFieldRadio,
|
|
148
|
+
Zo as ApFieldRate,
|
|
149
|
+
Xo as ApFieldSegmented,
|
|
150
|
+
Vo as ApFieldSelect,
|
|
151
|
+
Jo as ApFieldSlider,
|
|
152
|
+
Uo as ApFieldSwitch,
|
|
153
|
+
Lo as ApFieldText,
|
|
154
|
+
Wo as ApFieldTextArea,
|
|
155
|
+
ro as ApForm,
|
|
156
|
+
Co as ApFormControlRender,
|
|
157
|
+
no as ApFormDependency,
|
|
158
|
+
bo as ApFormDrawerForm,
|
|
159
|
+
po as ApFormItem,
|
|
160
|
+
Y as ApFormItemCheckbox,
|
|
161
|
+
_ as ApFormItemDate,
|
|
162
|
+
H as ApFormItemDateRange,
|
|
163
|
+
fo as ApFormItemGroup,
|
|
164
|
+
O as ApFormItemNumber,
|
|
165
|
+
$ as ApFormItemRadio,
|
|
166
|
+
go as ApFormItemRender,
|
|
167
|
+
q as ApFormItemSelect,
|
|
168
|
+
Q as ApFormItemSwitch,
|
|
169
|
+
v as ApFormItemText,
|
|
170
|
+
K as ApFormItemTextArea,
|
|
171
|
+
oo as ApFormItemTextPassword,
|
|
172
|
+
lo as ApFormList,
|
|
173
|
+
so as ApFormModalForm,
|
|
174
|
+
ho as ApFormProvider,
|
|
175
|
+
uo as ApFormSearchForm,
|
|
176
|
+
Fo as ApFormSet,
|
|
177
|
+
tt as ApGroupSearch,
|
|
178
|
+
gr as ApImage,
|
|
179
|
+
he as ApInfoLayout,
|
|
180
|
+
hr as ApInputRadio,
|
|
181
|
+
Pr as ApLabel,
|
|
182
|
+
Er as ApLabelGroup,
|
|
183
|
+
yr as ApLadder,
|
|
184
|
+
We as ApList,
|
|
185
|
+
Ue as ApModal,
|
|
186
|
+
Yr as ApNeedNameKeyDefault,
|
|
187
|
+
pt as ApPopoverSelect,
|
|
188
|
+
Dt as ApScrollBar,
|
|
189
|
+
Rr as ApSelectLayout,
|
|
190
|
+
dt as ApSizeInput,
|
|
191
|
+
vr as ApStatus,
|
|
192
|
+
Br as ApStatusGroup,
|
|
193
|
+
Qr as ApSummary,
|
|
194
|
+
it as ApTable,
|
|
195
|
+
Xe as ApTableModal,
|
|
196
|
+
Ce as ApTag,
|
|
197
|
+
ge as ApTagGroup,
|
|
198
|
+
Ur as ApTitle,
|
|
199
|
+
Je as ApTransformDataHelper,
|
|
200
|
+
Le as ApUpload,
|
|
201
|
+
ft as ApUploadSingle,
|
|
202
|
+
lt as BatchInputGroup,
|
|
203
|
+
ke as CheckCard,
|
|
204
|
+
Be as CheckCardGroup,
|
|
205
|
+
N as ConfigProvider,
|
|
206
|
+
A as DEFAULT_NAMESPACE,
|
|
207
|
+
s as DEFAULT_UIMODE,
|
|
208
|
+
ie as DictCode,
|
|
209
|
+
ct as EditableTable,
|
|
210
|
+
It as EditableTableFormItem,
|
|
211
|
+
Pe as NeedNameKeyDefault,
|
|
212
|
+
be as WorkOrderModal,
|
|
213
|
+
ee as adminToken,
|
|
214
|
+
re as aplusToken,
|
|
215
|
+
T as buildLocaleContext,
|
|
216
|
+
C as buildTranslator,
|
|
217
|
+
Vr as computedRecords,
|
|
218
|
+
i as configProviderContextKey,
|
|
215
219
|
d as configProviderProps,
|
|
216
|
-
|
|
217
|
-
|
|
220
|
+
Cr as convertExportField,
|
|
221
|
+
Fe as createWorkOrderModal,
|
|
218
222
|
a as default,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
223
|
+
G as defaultNamespace,
|
|
224
|
+
$r as flattenColumns,
|
|
225
|
+
jr as formatDataIndex,
|
|
226
|
+
qr as formatNumber,
|
|
227
|
+
y as globalConfigCached,
|
|
228
|
+
br as handleExportDownload,
|
|
229
|
+
c as keysOf,
|
|
230
|
+
ne as langMap,
|
|
231
|
+
D as localeContextKey,
|
|
232
|
+
Mr as locales,
|
|
233
|
+
P as namespaceContextKey,
|
|
230
234
|
l as pathMap,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
235
|
+
F as provideGlobalConfig,
|
|
236
|
+
g as translate,
|
|
237
|
+
Gt as useControllableValue,
|
|
238
|
+
E as useGetDerivedNamespace,
|
|
239
|
+
I as useGlobalConfig,
|
|
240
|
+
S as useLocale,
|
|
241
|
+
St as useMessage,
|
|
242
|
+
L as useNamespace,
|
|
243
|
+
Wr as usePageListApTable,
|
|
244
|
+
Ze as useTableModal,
|
|
245
|
+
At as useTablePaging,
|
|
246
|
+
zr as useTableRefresh,
|
|
247
|
+
er as useTableSelectModal
|
|
244
248
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApFormProps,
|
|
1
|
+
import { ApFormProps, WatchFunc, ApFormInternalInstance } from './interface';
|
|
2
2
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
@@ -9,19 +9,6 @@ import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
10
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
|
-
/**
|
|
13
|
-
* 订阅事件
|
|
14
|
-
*/
|
|
15
|
-
declare function registerWatch(callback: WatchFunc, inner: boolean): () => void;
|
|
16
|
-
/**
|
|
17
|
-
* 注册表单项
|
|
18
|
-
* @param field
|
|
19
|
-
*/
|
|
20
|
-
declare function registerField({ initialValue, name, transform }: RegistedFieldType): void;
|
|
21
|
-
declare function getInternalInstance(mark: string): {
|
|
22
|
-
registerField: typeof registerField;
|
|
23
|
-
registerWatch: typeof registerWatch;
|
|
24
|
-
} | undefined;
|
|
25
12
|
declare function __VLS_template(): {
|
|
26
13
|
attrs: Partial<{}>;
|
|
27
14
|
slots: {
|
|
@@ -288,9 +275,7 @@ declare function __VLS_template(): {
|
|
|
288
275
|
};
|
|
289
276
|
xxl: {
|
|
290
277
|
type: PropType<string | number | ColSize>;
|
|
291
|
-
default: string | number |
|
|
292
|
-
* 订阅事件
|
|
293
|
-
*/).ColSize;
|
|
278
|
+
default: string | number | ColSize;
|
|
294
279
|
};
|
|
295
280
|
prefixCls: StringConstructor;
|
|
296
281
|
flex: (StringConstructor | NumberConstructor)[];
|
|
@@ -669,24 +654,18 @@ declare function __VLS_template(): {
|
|
|
669
654
|
};
|
|
670
655
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
671
656
|
declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
657
|
+
setFieldsValue: (fields: Partial<any>) => void;
|
|
658
|
+
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean) => void;
|
|
672
659
|
resetFields: () => Promise<void>;
|
|
673
|
-
clearValidate: (name?: NamePath
|
|
674
|
-
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
}> | undefined;
|
|
683
|
-
scrollToField: (name: NamePath, options?: {}) => void;
|
|
684
|
-
setFieldsValue: (values: Record<string, any>) => void;
|
|
685
|
-
setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
|
|
686
|
-
registerWatch: typeof registerWatch;
|
|
687
|
-
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
688
|
-
getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
|
|
689
|
-
getInternalInstance: typeof getInternalInstance;
|
|
660
|
+
clearValidate: (name?: NamePath) => void;
|
|
661
|
+
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
662
|
+
getFieldsValue: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
663
|
+
validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
664
|
+
scrollToField: (name: NamePath, options?: any) => void;
|
|
665
|
+
getInternalInstance: (mark: string) => ApFormInternalInstance | undefined;
|
|
666
|
+
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
667
|
+
getFieldsValueTransformed: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
668
|
+
registerWatch: (callback: WatchFunc, inner: boolean) => () => void;
|
|
690
669
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormProps> & Readonly<{}>, {
|
|
691
670
|
layout: string;
|
|
692
671
|
colon: boolean;
|