@aplus-frontend/ui 0.3.2 → 0.3.4
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 +177 -175
- package/es/src/ap-form/ap-form.vue2.mjs +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.mjs +1 -1
- package/es/src/ap-form/interface.d.ts +1 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +1 -1
- package/es/src/ap-form/modal-form/index.vue.mjs +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +1 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +6 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +71 -52
- package/es/src/business/ap-export-group/convertExportField.d.ts +4 -0
- package/es/src/business/ap-export-group/convertExportField.mjs +13 -0
- package/es/src/business/ap-export-group/index.d.ts +20 -1
- package/es/src/business/ap-export-group/index.mjs +8 -6
- package/es/src/business/ap-export-group/interface.d.ts +9 -0
- package/es/src/config-provider/config-provider-props.d.ts +5 -1
- package/es/src/config-provider/config-provider-props.mjs +4 -0
- package/es/src/config-provider/config-provider.d.ts +10 -1
- package/es/src/config-provider/config-provider.mjs +11 -10
- package/es/src/config-provider/constants.d.ts +6 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +16 -1
- package/es/src/editable-table/form-item.vue.mjs +39 -39
- package/es/src/index.mjs +59 -57
- package/lib/index.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/interface.d.ts +1 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +1 -1
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +6 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/convertExportField.d.ts +4 -0
- package/lib/src/business/ap-export-group/convertExportField.js +1 -0
- package/lib/src/business/ap-export-group/index.d.ts +20 -1
- package/lib/src/business/ap-export-group/index.js +1 -1
- package/lib/src/business/ap-export-group/interface.d.ts +9 -0
- package/lib/src/config-provider/config-provider-props.d.ts +5 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +10 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +6 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +16 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/index.js +1 -1
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
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";
|
|
@@ -9,7 +9,7 @@ import { defaultNamespace as S, namespaceContextKey as h, useGetDerivedNamespace
|
|
|
9
9
|
import { ConfigProvider as P, globalConfigCached as L } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as w } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { ApFormItemText as k } from "./src/ap-form/items/text/index.mjs";
|
|
12
|
-
import { default as
|
|
12
|
+
import { default as E } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
13
|
import { default as K } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
14
|
import { default as U } from "./src/ap-form/items/date/index.vue.mjs";
|
|
15
15
|
import { default as z } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
@@ -18,60 +18,60 @@ import { default as j } from "./src/ap-form/items/select/index.vue.mjs";
|
|
|
18
18
|
import { default as J } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
19
19
|
import { default as X } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
20
20
|
import { default as Z } from "./src/ap-form/items/text/password.vue.mjs";
|
|
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 { ApField as
|
|
33
|
-
import { ApFieldText as
|
|
34
|
-
import { default as
|
|
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 { adminToken as
|
|
47
|
-
import { ApActionItem as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { DictCode as
|
|
53
|
-
import { createWorkOrderModal as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { NeedNameKeyDefault as
|
|
59
|
-
import { default as
|
|
60
|
-
import { ApDownLoadNeedNameKeyDefault as
|
|
61
|
-
import { default as
|
|
62
|
-
import { CheckCard as
|
|
63
|
-
import { default as
|
|
64
|
-
import { ApModal as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { ApDrawer as
|
|
69
|
-
import { ApTransformDataHelper as $
|
|
70
|
-
import { default as
|
|
71
|
-
import { useTableModal as
|
|
72
|
-
import { useTableSelectModal as
|
|
73
|
-
import { ApAttachment as
|
|
74
|
-
import { ApBatchAction as
|
|
21
|
+
import { ApForm as oo } from "./src/ap-form/index.mjs";
|
|
22
|
+
import { default as ro } from "./src/ap-form/item/index.vue.mjs";
|
|
23
|
+
import { default as po } from "./src/ap-form/item-group/index.vue.mjs";
|
|
24
|
+
import { default as fo } from "./src/ap-form/list/index.vue.mjs";
|
|
25
|
+
import { default as lo } from "./src/ap-form/search-form/index.vue.mjs";
|
|
26
|
+
import { default as uo } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
27
|
+
import { default as Ao } from "./src/ap-form/dependency/index.vue.mjs";
|
|
28
|
+
import { default as io } from "./src/ap-form/set/index.vue.mjs";
|
|
29
|
+
import { default as Fo } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
30
|
+
import { default as Io } from "./src/ap-form/render/control.vue.mjs";
|
|
31
|
+
import { default as Co } from "./src/ap-form/render/item.vue.mjs";
|
|
32
|
+
import { ApField as Do } from "./src/ap-field/index.mjs";
|
|
33
|
+
import { ApFieldText as ho } from "./src/ap-field/text/index.mjs";
|
|
34
|
+
import { default as yo } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
35
|
+
import { default as Po } from "./src/ap-field/date/index.vue.mjs";
|
|
36
|
+
import { default as Mo } from "./src/ap-field/number/index.vue.mjs";
|
|
37
|
+
import { default as Ro } from "./src/ap-field/radio/index.vue.mjs";
|
|
38
|
+
import { default as vo } from "./src/ap-field/switch/index.vue.mjs";
|
|
39
|
+
import { default as Bo } from "./src/ap-field/text-area/index.vue.mjs";
|
|
40
|
+
import { default as Oo } from "./src/ap-field/date-range/index.vue.mjs";
|
|
41
|
+
import { default as Wo } from "./src/ap-field/select/index.vue.mjs";
|
|
42
|
+
import { default as Ho } from "./src/ap-field/text/password.vue.mjs";
|
|
43
|
+
import { default as $o } from "./src/ap-field/slider/index.vue.mjs";
|
|
44
|
+
import { default as qo } from "./src/ap-field/segmented/index.vue.mjs";
|
|
45
|
+
import { default as Qo } from "./src/ap-field/rate/index.vue.mjs";
|
|
46
|
+
import { adminToken as Yo, aplusToken as Zo } from "./src/design-token/index.mjs";
|
|
47
|
+
import { ApActionItem as oe } from "./src/ap-action/index.mjs";
|
|
48
|
+
import { default as re } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
49
|
+
import { default as pe } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
50
|
+
import { default as fe } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
51
|
+
import { default as le } from "./src/ap-action/group/index.vue.mjs";
|
|
52
|
+
import { DictCode as de, langMap as ue } from "./src/work-order-modal/interfaces.mjs";
|
|
53
|
+
import { createWorkOrderModal as Ae } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
54
|
+
import { default as ie } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
55
|
+
import { default as Fe } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
56
|
+
import { default as Ie } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
57
|
+
import { default as Ce } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
58
|
+
import { NeedNameKeyDefault as De } from "./src/ap-upload/apUploadTypes.mjs";
|
|
59
|
+
import { default as he } from "./src/ap-upload/apUpload.vue.mjs";
|
|
60
|
+
import { ApDownLoadNeedNameKeyDefault as ye } from "./src/ap-download/interface.mjs";
|
|
61
|
+
import { default as Pe } from "./src/ap-download/ap-download.vue.mjs";
|
|
62
|
+
import { CheckCard as Me } from "./src/check-card/index.mjs";
|
|
63
|
+
import { default as Re } from "./src/check-card/group.vue.mjs";
|
|
64
|
+
import { ApModal as ve } from "./src/ap-modal/index.mjs";
|
|
65
|
+
import { default as Be } from "./src/ap-list/index.vue.mjs";
|
|
66
|
+
import { default as Oe } from "./src/ap-button/ap-button.vue.mjs";
|
|
67
|
+
import { default as We } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
68
|
+
import { ApDrawer as He } from "./src/ap-drawer/index.mjs";
|
|
69
|
+
import { ApTransformDataHelper as $e } from "./src/utils/ap-trans-data/index.mjs";
|
|
70
|
+
import { default as qe } from "./src/business/ap-table-modal/index.mjs";
|
|
71
|
+
import { useTableModal as Qe } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
72
|
+
import { useTableSelectModal as Ye } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
73
|
+
import { ApAttachment as _e } from "./src/business/ap-attachment/index.mjs";
|
|
74
|
+
import { ApBatchAction as er } from "./src/business/ap-batch-action/index.mjs";
|
|
75
75
|
import { ApBatchActionGroup as tr } from "./src/business/ap-batch-action-group/index.mjs";
|
|
76
76
|
import { ApButtonGroup as ar } from "./src/business/ap-button-group/index.mjs";
|
|
77
77
|
import { ApCard as mr } from "./src/business/ap-card/index.mjs";
|
|
@@ -79,164 +79,166 @@ import { ApExpandAlert as xr } from "./src/business/ap-expand-alert/index.mjs";
|
|
|
79
79
|
import { ApExportGroupActionType as ur } from "./src/business/ap-export-group/interface.mjs";
|
|
80
80
|
import { ApExportGroup as Ar } from "./src/business/ap-export-group/index.mjs";
|
|
81
81
|
import { handleExportDownload as ir } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
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 { default as rt } from "./src/business/
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import { default as st } from "./src/editable-table/
|
|
104
|
-
import { default as nt } from "./src/
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
82
|
+
import { convertExportField as Fr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
83
|
+
import { ApImage as Ir } from "./src/business/ap-image/index.mjs";
|
|
84
|
+
import { ApInputRadio as Cr } from "./src/business/ap-input-radio/index.mjs";
|
|
85
|
+
import { ApLabel as Dr, ApLabelGroup as Sr } from "./src/business/ap-label/index.mjs";
|
|
86
|
+
import { locales as Gr } from "./src/business/ap-ladder/interface.mjs";
|
|
87
|
+
import { ApLadder as Nr } from "./src/business/ap-ladder/index.mjs";
|
|
88
|
+
import { ApSelectLayout as Lr } from "./src/business/ap-select-layout/index.mjs";
|
|
89
|
+
import { ApStatus as wr, ApStatusGroup as Rr } from "./src/business/ap-status/index.mjs";
|
|
90
|
+
import { ApTitle as vr } from "./src/business/ap-title/index.mjs";
|
|
91
|
+
import { usePageListApTable as Br } from "./src/business/hooks/usePageListApTable.mjs";
|
|
92
|
+
import { useTableRefresh as Or } from "./src/business/hooks/useTableRefresh.mjs";
|
|
93
|
+
import { computedRecords as Wr, flattenColumns as zr, formatDataIndex as Hr, formatNumber as Vr } from "./src/business/ap-summary/utils.mjs";
|
|
94
|
+
import { ApSummary as jr } from "./src/business/ap-summary/index.mjs";
|
|
95
|
+
import { ApNeedNameKeyDefault as Jr } from "./src/business/ap-appendix/interface.mjs";
|
|
96
|
+
import { ApAppendix as Xr } from "./src/business/ap-appendix/index.mjs";
|
|
97
|
+
import { ApExtensionSelect as Zr, ApGroupSearch as _r, ApPopoverSelect as ot } from "./src/business/ap-group-search/index.mjs";
|
|
98
|
+
import { default as rt } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
99
|
+
import { default as pt } from "./src/business/batch-input-group/index.vue.mjs";
|
|
100
|
+
import { ApSizeInput as ft } from "./src/business/ap-size-input/index.mjs";
|
|
101
|
+
import { useTablePaging as lt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
102
|
+
import { ApTable as dt } from "./src/ap-table/index.mjs";
|
|
103
|
+
import { default as st } from "./src/editable-table/index.vue.mjs";
|
|
104
|
+
import { default as nt } from "./src/editable-table/form-item.vue.mjs";
|
|
105
|
+
import { default as ct } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
106
|
+
import { ApScrollBar as bt } from "./src/ap-scroll-bar/index.mjs";
|
|
107
|
+
import { useMessage as Tt } from "./src/hooks/useMessage.mjs";
|
|
108
|
+
import { useControllableValue as gt } from "./src/hooks/useControllableValue.mjs";
|
|
108
109
|
const a = {
|
|
109
110
|
install: (r) => {
|
|
110
|
-
for (const t in
|
|
111
|
-
const
|
|
112
|
-
|
|
111
|
+
for (const t in e) {
|
|
112
|
+
const o = e[t];
|
|
113
|
+
o.install && r.use(o);
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
};
|
|
116
117
|
export {
|
|
117
118
|
w as APConfigProvider,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
We as ApActionButton,
|
|
120
|
+
le as ApActionGroup,
|
|
121
|
+
oe as ApActionItem,
|
|
122
|
+
fe as ApActionItemDropdown,
|
|
123
|
+
re as ApActionItemModal,
|
|
124
|
+
pe as ApActionItemPopconfirm,
|
|
125
|
+
Xr as ApAppendix,
|
|
126
|
+
_e as ApAttachment,
|
|
127
|
+
er as ApBatchAction,
|
|
127
128
|
tr as ApBatchActionGroup,
|
|
128
|
-
|
|
129
|
+
Oe as ApButton,
|
|
129
130
|
ar as ApButtonGroup,
|
|
130
131
|
mr as ApCard,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
ct as ApDescriptions,
|
|
133
|
+
ye as ApDownLoadNeedNameKeyDefault,
|
|
134
|
+
Pe as ApDownload,
|
|
135
|
+
He as ApDrawer,
|
|
135
136
|
xr as ApExpandAlert,
|
|
136
137
|
Ar as ApExportGroup,
|
|
137
138
|
ur as ApExportGroupActionType,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
139
|
+
Zr as ApExtensionSelect,
|
|
140
|
+
Do as ApField,
|
|
141
|
+
yo as ApFieldCheckbox,
|
|
142
|
+
Po as ApFieldDate,
|
|
143
|
+
Oo as ApFieldDateRange,
|
|
144
|
+
Mo as ApFieldNumber,
|
|
145
|
+
Ho as ApFieldPassword,
|
|
146
|
+
Ro as ApFieldRadio,
|
|
147
|
+
Qo as ApFieldRate,
|
|
148
|
+
qo as ApFieldSegmented,
|
|
149
|
+
Wo as ApFieldSelect,
|
|
150
|
+
$o as ApFieldSlider,
|
|
151
|
+
vo as ApFieldSwitch,
|
|
152
|
+
ho as ApFieldText,
|
|
153
|
+
Bo as ApFieldTextArea,
|
|
154
|
+
oo as ApForm,
|
|
155
|
+
Io as ApFormControlRender,
|
|
156
|
+
Ao as ApFormDependency,
|
|
157
|
+
Fo as ApFormDrawerForm,
|
|
158
|
+
ro as ApFormItem,
|
|
158
159
|
X as ApFormItemCheckbox,
|
|
159
160
|
U as ApFormItemDate,
|
|
160
161
|
z as ApFormItemDateRange,
|
|
161
|
-
|
|
162
|
+
po as ApFormItemGroup,
|
|
162
163
|
K as ApFormItemNumber,
|
|
163
164
|
V as ApFormItemRadio,
|
|
164
|
-
|
|
165
|
+
Co as ApFormItemRender,
|
|
165
166
|
j as ApFormItemSelect,
|
|
166
167
|
J as ApFormItemSwitch,
|
|
167
168
|
k as ApFormItemText,
|
|
168
|
-
|
|
169
|
+
E as ApFormItemTextArea,
|
|
169
170
|
Z as ApFormItemTextPassword,
|
|
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
|
-
|
|
171
|
+
fo as ApFormList,
|
|
172
|
+
uo as ApFormModalForm,
|
|
173
|
+
lo as ApFormSearchForm,
|
|
174
|
+
io as ApFormSet,
|
|
175
|
+
_r as ApGroupSearch,
|
|
176
|
+
Ir as ApImage,
|
|
177
|
+
Ce as ApInfoLayout,
|
|
178
|
+
Cr as ApInputRadio,
|
|
179
|
+
Dr as ApLabel,
|
|
180
|
+
Sr as ApLabelGroup,
|
|
181
|
+
Nr as ApLadder,
|
|
182
|
+
Be as ApList,
|
|
183
|
+
ve as ApModal,
|
|
184
|
+
Jr as ApNeedNameKeyDefault,
|
|
185
|
+
ot as ApPopoverSelect,
|
|
186
|
+
bt as ApScrollBar,
|
|
187
|
+
Lr as ApSelectLayout,
|
|
188
|
+
ft as ApSizeInput,
|
|
189
|
+
wr as ApStatus,
|
|
190
|
+
Rr as ApStatusGroup,
|
|
191
|
+
jr as ApSummary,
|
|
192
|
+
dt as ApTable,
|
|
193
|
+
qe as ApTableModal,
|
|
194
|
+
Fe as ApTag,
|
|
195
|
+
Ie as ApTagGroup,
|
|
196
|
+
vr as ApTitle,
|
|
197
|
+
$e as ApTransformDataHelper,
|
|
198
|
+
he as ApUpload,
|
|
199
|
+
rt as ApUploadSingle,
|
|
200
|
+
pt as BatchInputGroup,
|
|
201
|
+
Me as CheckCard,
|
|
202
|
+
Re as CheckCardGroup,
|
|
202
203
|
P as ConfigProvider,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
204
|
+
de as DictCode,
|
|
205
|
+
st as EditableTable,
|
|
206
|
+
nt as EditableTableFormItem,
|
|
207
|
+
De as NeedNameKeyDefault,
|
|
208
|
+
ie as WorkOrderModal,
|
|
209
|
+
Yo as adminToken,
|
|
210
|
+
Zo as aplusToken,
|
|
210
211
|
b as buildLocaleContext,
|
|
211
212
|
I as buildTranslator,
|
|
212
|
-
|
|
213
|
+
Wr as computedRecords,
|
|
213
214
|
s as configProviderContextKey,
|
|
214
215
|
d as configProviderProps,
|
|
215
|
-
|
|
216
|
+
Fr as convertExportField,
|
|
217
|
+
Ae as createWorkOrderModal,
|
|
216
218
|
a as default,
|
|
217
219
|
S as defaultNamespace,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
zr as flattenColumns,
|
|
221
|
+
Hr as formatDataIndex,
|
|
222
|
+
Vr as formatNumber,
|
|
221
223
|
L as globalConfigCached,
|
|
222
224
|
ir as handleExportDownload,
|
|
223
225
|
n as keysOf,
|
|
224
|
-
|
|
226
|
+
ue as langMap,
|
|
225
227
|
T as localeContextKey,
|
|
226
|
-
|
|
228
|
+
Gr as locales,
|
|
227
229
|
h as namespaceContextKey,
|
|
228
230
|
l as pathMap,
|
|
229
231
|
i as provideGlobalConfig,
|
|
230
232
|
C as translate,
|
|
231
|
-
|
|
233
|
+
gt as useControllableValue,
|
|
232
234
|
G as useGetDerivedNamespace,
|
|
233
235
|
c as useGlobalConfig,
|
|
234
236
|
g as useLocale,
|
|
235
|
-
|
|
237
|
+
Tt as useMessage,
|
|
236
238
|
y as useNamespace,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
239
|
+
Br as usePageListApTable,
|
|
240
|
+
Qe as useTableModal,
|
|
241
|
+
lt as useTablePaging,
|
|
242
|
+
Or as useTableRefresh,
|
|
243
|
+
Ye as useTableSelectModal
|
|
242
244
|
};
|
|
@@ -28,12 +28,12 @@ const ye = /* @__PURE__ */ $({
|
|
|
28
28
|
validateTrigger: { default: "change" },
|
|
29
29
|
size: {},
|
|
30
30
|
disabled: { type: Boolean },
|
|
31
|
-
onValuesChange: {},
|
|
32
31
|
onFieldsChange: {},
|
|
33
32
|
onFinish: {},
|
|
34
33
|
onFinishFailed: {},
|
|
35
34
|
onValidate: {},
|
|
36
35
|
initialValues: {},
|
|
36
|
+
onValuesChange: {},
|
|
37
37
|
syncToUrl: { type: [Boolean, Function], default: !1 },
|
|
38
38
|
syncToUrlPriority: { type: Boolean }
|
|
39
39
|
},
|
|
@@ -110,12 +110,12 @@ declare function __VLS_template(): {
|
|
|
110
110
|
readonly hideRequiredMark?: boolean | undefined;
|
|
111
111
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
112
112
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
113
|
-
readonly onValuesChange?: (((changedValues: any, values: any) => void) & ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void)) | undefined;
|
|
114
113
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
115
114
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
116
115
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
117
116
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
118
117
|
readonly initialValues?: Recordable | undefined;
|
|
118
|
+
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
119
119
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
120
120
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
121
121
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -53,11 +53,11 @@ const je = /* @__PURE__ */ Q({
|
|
|
53
53
|
disabled: {
|
|
54
54
|
type: Boolean
|
|
55
55
|
},
|
|
56
|
-
onValuesChange: {},
|
|
57
56
|
onFieldsChange: {},
|
|
58
57
|
onFinishFailed: {},
|
|
59
58
|
onValidate: {},
|
|
60
59
|
initialValues: {},
|
|
60
|
+
onValuesChange: {},
|
|
61
61
|
syncToUrl: {
|
|
62
62
|
type: [Boolean, Function]
|
|
63
63
|
},
|
|
@@ -37,7 +37,7 @@ export type ApFormItemProps = FormItemProps & Partial<ApFormColProps> & {
|
|
|
37
37
|
export type ApFormItemGroupProps = RowProps & {
|
|
38
38
|
countPerRow?: number;
|
|
39
39
|
};
|
|
40
|
-
export type ApFormProps = Omit<FormProps, 'model'> & {
|
|
40
|
+
export type ApFormProps = Omit<FormProps, 'model' | 'onValuesChange'> & {
|
|
41
41
|
initialValues?: Recordable;
|
|
42
42
|
/**
|
|
43
43
|
* 字段值更新时触发
|
|
@@ -111,12 +111,12 @@ declare function __VLS_template(): {
|
|
|
111
111
|
readonly hideRequiredMark?: boolean | undefined;
|
|
112
112
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
113
113
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
114
|
-
readonly onValuesChange?: (((changedValues: any, values: any) => void) & ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void)) | undefined;
|
|
115
114
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
116
115
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
117
116
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
118
117
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
119
118
|
readonly initialValues?: Recordable | undefined;
|
|
119
|
+
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
120
120
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
121
121
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
122
122
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -54,11 +54,11 @@ const Me = /* @__PURE__ */ D({
|
|
|
54
54
|
disabled: {
|
|
55
55
|
type: Boolean
|
|
56
56
|
},
|
|
57
|
-
onValuesChange: {},
|
|
58
57
|
onFieldsChange: {},
|
|
59
58
|
onFinishFailed: {},
|
|
60
59
|
onValidate: {},
|
|
61
60
|
initialValues: {},
|
|
61
|
+
onValuesChange: {},
|
|
62
62
|
syncToUrl: {
|
|
63
63
|
type: [Boolean, Function]
|
|
64
64
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormExpose, ApFormSearchFormProps } from '../interface';
|
|
2
2
|
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, ComputedRef, PublicProps } from 'vue';
|
|
3
3
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
4
|
-
import { ValidateMessages, FormLabelAlign,
|
|
4
|
+
import { ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
7
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
@@ -107,12 +107,12 @@ declare function __VLS_template(): {
|
|
|
107
107
|
readonly hideRequiredMark?: boolean | undefined;
|
|
108
108
|
readonly validateOnRuleChange?: boolean | undefined;
|
|
109
109
|
readonly scrollToFirstError?: boolean | Options<any> | undefined;
|
|
110
|
-
readonly onValuesChange?: (((changedValues: any, values: any) => void) & ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void)) | undefined;
|
|
111
110
|
readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
|
|
112
111
|
readonly onFinish?: ((values: any) => void) | undefined;
|
|
113
112
|
readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
|
|
114
113
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
115
114
|
readonly initialValues?: Recordable | undefined;
|
|
115
|
+
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
116
116
|
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
117
117
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
118
118
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -59,12 +59,12 @@ const i = 24, qe = /* @__PURE__ */ re({
|
|
|
59
59
|
disabled: {
|
|
60
60
|
type: Boolean
|
|
61
61
|
},
|
|
62
|
-
onValuesChange: {},
|
|
63
62
|
onFieldsChange: {},
|
|
64
63
|
onFinish: {},
|
|
65
64
|
onFinishFailed: {},
|
|
66
65
|
onValidate: {},
|
|
67
66
|
initialValues: {},
|
|
67
|
+
onValuesChange: {},
|
|
68
68
|
syncToUrl: {
|
|
69
69
|
type: [Boolean, Function]
|
|
70
70
|
},
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { ApExportGroupProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<ApExportGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApExportGroupProps> & Readonly<{}>, {
|
|
4
|
+
exportField: boolean | {
|
|
5
|
+
key?: string;
|
|
6
|
+
convertField?: {
|
|
7
|
+
[key: string]: string[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
4
10
|
successMessage: boolean | string;
|
|
5
11
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
6
12
|
export default _default;
|