@aplus-frontend/ui 0.3.11 → 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 +175 -173
- package/es/src/ap-form/ap-form.vue.d.ts +12 -31
- package/es/src/ap-form/ap-form.vue2.mjs +135 -118
- 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-table-modal/interface.d.ts +2 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +50 -48
- package/es/src/index.mjs +152 -150
- package/es/src/utils/slot.mjs +6 -8
- package/lib/index.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +12 -31
- 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-table-modal/interface.d.ts +2 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.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,11 +2,11 @@ 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 { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as s, configProviderContextKey as
|
|
5
|
+
import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as s, configProviderContextKey as i } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
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
|
|
9
|
-
import { ConfigProvider as
|
|
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
10
|
import { APConfigProvider as R } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { ApFormItemText as v } from "./src/ap-form/items/text/index.mjs";
|
|
12
12
|
import { default as K } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
@@ -24,88 +24,89 @@ import { default as fo } from "./src/ap-form/item-group/index.vue.mjs";
|
|
|
24
24
|
import { default as lo } from "./src/ap-form/list/index.vue.mjs";
|
|
25
25
|
import { default as uo } from "./src/ap-form/search-form/index.vue.mjs";
|
|
26
26
|
import { default as so } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
27
|
-
import { default as
|
|
27
|
+
import { default as no } from "./src/ap-form/dependency/index.vue.mjs";
|
|
28
28
|
import { default as Fo } from "./src/ap-form/set/index.vue.mjs";
|
|
29
29
|
import { default as bo } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
30
30
|
import { default as Co } from "./src/ap-form/render/control.vue.mjs";
|
|
31
31
|
import { default as go } from "./src/ap-form/render/item.vue.mjs";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as wo } from "./src/ap-field/
|
|
37
|
-
import { default as ko } from "./src/ap-field/
|
|
38
|
-
import { default as Bo } from "./src/ap-field/
|
|
39
|
-
import { default as Uo } from "./src/ap-field/
|
|
40
|
-
import { default as Wo } from "./src/ap-field/
|
|
41
|
-
import { default as zo } from "./src/ap-field/
|
|
42
|
-
import { default as Vo } from "./src/ap-field/
|
|
43
|
-
import { default as jo } from "./src/ap-field/
|
|
44
|
-
import { default as Jo } from "./src/ap-field/
|
|
45
|
-
import { default as Xo } from "./src/ap-field/
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { default as fe } from "./src/ap-action/item-
|
|
50
|
-
import { default as le } from "./src/ap-action/item-
|
|
51
|
-
import { default as de } from "./src/ap-action/
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import { default as be } from "./src/
|
|
56
|
-
import { default as Ce } from "./src/ap-tag/ap-tag
|
|
57
|
-
import { default as ge } from "./src/ap-
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import { default as We } from "./src/ap-
|
|
67
|
-
import { default as ze } from "./src/ap-button/ap-
|
|
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 ft } from "./src/business/
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import { default as ct } from "./src/editable-table/
|
|
105
|
-
import { default as It } from "./src/
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
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) {
|
|
@@ -116,44 +117,44 @@ const a = {
|
|
|
116
117
|
};
|
|
117
118
|
export {
|
|
118
119
|
R as APConfigProvider,
|
|
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
|
-
|
|
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,
|
|
154
155
|
ro as ApForm,
|
|
155
156
|
Co as ApFormControlRender,
|
|
156
|
-
|
|
157
|
+
no as ApFormDependency,
|
|
157
158
|
bo as ApFormDrawerForm,
|
|
158
159
|
po as ApFormItem,
|
|
159
160
|
Y as ApFormItemCheckbox,
|
|
@@ -170,77 +171,78 @@ export {
|
|
|
170
171
|
oo as ApFormItemTextPassword,
|
|
171
172
|
lo as ApFormList,
|
|
172
173
|
so as ApFormModalForm,
|
|
174
|
+
ho as ApFormProvider,
|
|
173
175
|
uo as ApFormSearchForm,
|
|
174
176
|
Fo as ApFormSet,
|
|
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
|
-
|
|
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,
|
|
204
206
|
A as DEFAULT_NAMESPACE,
|
|
205
207
|
s as DEFAULT_UIMODE,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
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,
|
|
213
215
|
T as buildLocaleContext,
|
|
214
216
|
C as buildTranslator,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
+
Vr as computedRecords,
|
|
218
|
+
i as configProviderContextKey,
|
|
217
219
|
d as configProviderProps,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
+
Cr as convertExportField,
|
|
221
|
+
Fe as createWorkOrderModal,
|
|
220
222
|
a as default,
|
|
221
223
|
G as defaultNamespace,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
224
|
+
$r as flattenColumns,
|
|
225
|
+
jr as formatDataIndex,
|
|
226
|
+
qr as formatNumber,
|
|
225
227
|
y as globalConfigCached,
|
|
226
|
-
|
|
228
|
+
br as handleExportDownload,
|
|
227
229
|
c as keysOf,
|
|
228
|
-
|
|
230
|
+
ne as langMap,
|
|
229
231
|
D as localeContextKey,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
+
Mr as locales,
|
|
233
|
+
P as namespaceContextKey,
|
|
232
234
|
l as pathMap,
|
|
233
235
|
F as provideGlobalConfig,
|
|
234
236
|
g as translate,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
+
Gt as useControllableValue,
|
|
238
|
+
E as useGetDerivedNamespace,
|
|
237
239
|
I as useGlobalConfig,
|
|
238
240
|
S as useLocale,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
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
|
|
246
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: {
|
|
@@ -667,24 +654,18 @@ declare function __VLS_template(): {
|
|
|
667
654
|
};
|
|
668
655
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
669
656
|
declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
657
|
+
setFieldsValue: (fields: Partial<any>) => void;
|
|
658
|
+
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean) => void;
|
|
670
659
|
resetFields: () => Promise<void>;
|
|
671
|
-
clearValidate: (name?: NamePath
|
|
672
|
-
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
}> | undefined;
|
|
681
|
-
scrollToField: (name: NamePath, options?: {}) => void;
|
|
682
|
-
setFieldsValue: (values: Record<string, any>) => void;
|
|
683
|
-
setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
|
|
684
|
-
registerWatch: typeof registerWatch;
|
|
685
|
-
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
686
|
-
getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
|
|
687
|
-
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;
|
|
688
669
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormProps> & Readonly<{}>, {
|
|
689
670
|
layout: string;
|
|
690
671
|
colon: boolean;
|