@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.
Files changed (43) hide show
  1. package/es/index.mjs +175 -173
  2. package/es/src/ap-form/ap-form.vue.d.ts +12 -31
  3. package/es/src/ap-form/ap-form.vue2.mjs +135 -118
  4. package/es/src/ap-form/drawer-form/index.vue.d.ts +22 -40
  5. package/es/src/ap-form/drawer-form/index.vue.mjs +3 -3
  6. package/es/src/ap-form/index.d.ts +3 -1
  7. package/es/src/ap-form/index.mjs +26 -22
  8. package/es/src/ap-form/interface.d.ts +3 -1
  9. package/es/src/ap-form/modal-form/index.vue.d.ts +23 -41
  10. package/es/src/ap-form/modal-form/index.vue.mjs +64 -58
  11. package/es/src/ap-form/provider/context.d.ts +3 -0
  12. package/es/src/ap-form/provider/context.mjs +17 -0
  13. package/es/src/ap-form/provider/index.vue.d.ts +19 -0
  14. package/es/src/ap-form/provider/index.vue.mjs +39 -0
  15. package/es/src/ap-form/provider/index.vue2.mjs +4 -0
  16. package/es/src/ap-form/provider/interface.d.ts +22 -0
  17. package/es/src/ap-form/search-form/index.vue.d.ts +22 -40
  18. package/es/src/business/ap-table-modal/interface.d.ts +2 -0
  19. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +50 -48
  20. package/es/src/index.mjs +152 -150
  21. package/es/src/utils/slot.mjs +6 -8
  22. package/lib/index.js +1 -1
  23. package/lib/src/ap-form/ap-form.vue.d.ts +12 -31
  24. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  25. package/lib/src/ap-form/drawer-form/index.vue.d.ts +22 -40
  26. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  27. package/lib/src/ap-form/index.d.ts +3 -1
  28. package/lib/src/ap-form/index.js +1 -1
  29. package/lib/src/ap-form/interface.d.ts +3 -1
  30. package/lib/src/ap-form/modal-form/index.vue.d.ts +23 -41
  31. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  32. package/lib/src/ap-form/provider/context.d.ts +3 -0
  33. package/lib/src/ap-form/provider/context.js +1 -0
  34. package/lib/src/ap-form/provider/index.vue.d.ts +19 -0
  35. package/lib/src/ap-form/provider/index.vue.js +1 -0
  36. package/lib/src/ap-form/provider/index.vue2.js +1 -0
  37. package/lib/src/ap-form/provider/interface.d.ts +22 -0
  38. package/lib/src/ap-form/search-form/index.vue.d.ts +22 -40
  39. package/lib/src/business/ap-table-modal/interface.d.ts +2 -0
  40. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  41. package/lib/src/index.js +1 -1
  42. package/lib/src/utils/slot.js +1 -1
  43. 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 n } from "./src/config-provider/constants.mjs";
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 E, useGetDerivedNamespace as L, useNamespace as M } from "./src/config-provider/hooks/use-namespace.mjs";
9
- import { ConfigProvider as P, globalConfigCached as y } from "./src/config-provider/config-provider.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
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 io } from "./src/ap-form/dependency/index.vue.mjs";
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 { ApField as ho } from "./src/ap-field/index.mjs";
33
- import { ApFieldText as Eo } from "./src/ap-field/text/index.mjs";
34
- import { default as Mo } 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 wo } from "./src/ap-field/number/index.vue.mjs";
37
- import { default as ko } from "./src/ap-field/radio/index.vue.mjs";
38
- import { default as Bo } from "./src/ap-field/switch/index.vue.mjs";
39
- import { default as Uo } from "./src/ap-field/text-area/index.vue.mjs";
40
- import { default as Wo } from "./src/ap-field/date-range/index.vue.mjs";
41
- import { default as zo } from "./src/ap-field/select/index.vue.mjs";
42
- import { default as Vo } from "./src/ap-field/text/password.vue.mjs";
43
- import { default as jo } from "./src/ap-field/slider/index.vue.mjs";
44
- import { default as Jo } from "./src/ap-field/segmented/index.vue.mjs";
45
- import { default as Xo } from "./src/ap-field/rate/index.vue.mjs";
46
- import { adminToken as Zo, aplusToken as oe } from "./src/design-token/index.mjs";
47
- import { ApActionItem as re } from "./src/ap-action/index.mjs";
48
- import { default as pe } from "./src/ap-action/item-modal/index.vue.mjs";
49
- import { default as fe } from "./src/ap-action/item-popconfirm/index.vue.mjs";
50
- import { default as le } from "./src/ap-action/item-dropdown/index.vue.mjs";
51
- import { default as de } from "./src/ap-action/group/index.vue.mjs";
52
- import { DictCode as Ae, langMap as se } from "./src/work-order-modal/interfaces.mjs";
53
- import { createWorkOrderModal as ie } from "./src/work-order-modal/createWorkOrder.mjs";
54
- import { default as Fe } from "./src/work-order-modal/work-order-modal.vue.mjs";
55
- import { default as be } from "./src/ap-tag/ap-tag.vue.mjs";
56
- import { default as Ce } from "./src/ap-tag/ap-tag-group.vue.mjs";
57
- import { default as ge } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
58
- import { NeedNameKeyDefault as he } from "./src/ap-upload/apUploadTypes.mjs";
59
- import { default as Ee } from "./src/ap-upload/apUpload.vue.mjs";
60
- import { ApDownLoadNeedNameKeyDefault as Me } from "./src/ap-download/interface.mjs";
61
- import { default as Pe } from "./src/ap-download/ap-download.vue.mjs";
62
- import { CheckCard as we } from "./src/check-card/index.mjs";
63
- import { default as ke } from "./src/check-card/group.vue.mjs";
64
- import { ApModal as Be } from "./src/ap-modal/index.mjs";
65
- import { default as Ue } from "./src/ap-list/index.vue.mjs";
66
- import { default as We } from "./src/ap-button/ap-button.vue.mjs";
67
- import { default as ze } from "./src/ap-button/ap-action-button.vue.mjs";
68
- import { ApDrawer as Ve } from "./src/ap-drawer/index.mjs";
69
- import { ApTransformDataHelper as je } from "./src/utils/ap-trans-data/index.mjs";
70
- import { default as Je } from "./src/business/ap-table-modal/index.mjs";
71
- import { useTableModal as Xe } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
72
- import { useTableSelectModal as Ze } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
73
- import { ApAttachment as er } from "./src/business/ap-attachment/index.mjs";
74
- import { ApBatchAction as tr } from "./src/business/ap-batch-action/index.mjs";
75
- import { ApBatchActionGroup as ar } from "./src/business/ap-batch-action-group/index.mjs";
76
- import { ApButtonGroup as mr } from "./src/business/ap-button-group/index.mjs";
77
- import { ApCard as xr } from "./src/business/ap-card/index.mjs";
78
- import { ApExpandAlert as ur } from "./src/business/ap-expand-alert/index.mjs";
79
- import { ApExportGroupActionType as sr } from "./src/business/ap-export-group/interface.mjs";
80
- import { ApExportGroup as ir } from "./src/business/ap-export-group/index.mjs";
81
- import { handleExportDownload as Fr } from "./src/business/ap-export-group/handleExportDownload.mjs";
82
- import { convertExportField as br } from "./src/business/ap-export-group/convertExportField.mjs";
83
- import { ApImage as Cr } from "./src/business/ap-image/index.mjs";
84
- import { ApInputRadio as gr } from "./src/business/ap-input-radio/index.mjs";
85
- import { ApLabel as hr, ApLabelGroup as Gr } from "./src/business/ap-label/index.mjs";
86
- import { locales as Lr } from "./src/business/ap-ladder/interface.mjs";
87
- import { ApLadder as Nr } from "./src/business/ap-ladder/index.mjs";
88
- import { ApSelectLayout as yr } from "./src/business/ap-select-layout/index.mjs";
89
- import { ApStatus as Rr, ApStatusGroup as kr } from "./src/business/ap-status/index.mjs";
90
- import { ApTitle as Br } from "./src/business/ap-title/index.mjs";
91
- import { usePageListApTable as Ur } from "./src/business/hooks/usePageListApTable.mjs";
92
- import { useTableRefresh as Wr } from "./src/business/hooks/useTableRefresh.mjs";
93
- import { computedRecords as zr, flattenColumns as Hr, formatDataIndex as Vr, formatNumber as $r } from "./src/business/ap-summary/utils.mjs";
94
- import { ApSummary as qr } from "./src/business/ap-summary/index.mjs";
95
- import { ApNeedNameKeyDefault as Qr } from "./src/business/ap-appendix/interface.mjs";
96
- import { ApAppendix as Yr } from "./src/business/ap-appendix/index.mjs";
97
- import { ApExtensionSelect as ot, ApGroupSearch as et, ApPopoverSelect as rt } from "./src/business/ap-group-search/index.mjs";
98
- import { default as pt } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
99
- import { default as ft } from "./src/business/batch-input-group/index.vue.mjs";
100
- import { ApSizeInput as lt } from "./src/business/ap-size-input/index.mjs";
101
- import { useTablePaging as dt } from "./src/ap-table/hooks/use-table-paging.mjs";
102
- import { ApTable as At } from "./src/ap-table/index.mjs";
103
- import { default as nt } from "./src/editable-table/index.vue.mjs";
104
- import { default as ct } from "./src/editable-table/form-item.vue.mjs";
105
- import { default as It } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
106
- import { ApScrollBar as Tt } from "./src/ap-scroll-bar/index.mjs";
107
- import { useMessage as Dt } from "./src/hooks/useMessage.mjs";
108
- import { useControllableValue as St } from "./src/hooks/useControllableValue.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) {
@@ -116,44 +117,44 @@ const a = {
116
117
  };
117
118
  export {
118
119
  R as APConfigProvider,
119
- ze as ApActionButton,
120
- de as ApActionGroup,
121
- re as ApActionItem,
122
- le as ApActionItemDropdown,
123
- pe as ApActionItemModal,
124
- fe as ApActionItemPopconfirm,
125
- Yr as ApAppendix,
126
- er as ApAttachment,
127
- tr as ApBatchAction,
128
- ar as ApBatchActionGroup,
129
- We as ApButton,
130
- mr as ApButtonGroup,
131
- xr as ApCard,
132
- It as ApDescriptions,
133
- Me as ApDownLoadNeedNameKeyDefault,
134
- Pe as ApDownload,
135
- Ve as ApDrawer,
136
- ur as ApExpandAlert,
137
- ir as ApExportGroup,
138
- sr as ApExportGroupActionType,
139
- ot as ApExtensionSelect,
140
- ho as ApField,
141
- Mo as ApFieldCheckbox,
142
- Po as ApFieldDate,
143
- Wo as ApFieldDateRange,
144
- wo as ApFieldNumber,
145
- Vo as ApFieldPassword,
146
- ko as ApFieldRadio,
147
- Xo as ApFieldRate,
148
- Jo as ApFieldSegmented,
149
- zo as ApFieldSelect,
150
- jo as ApFieldSlider,
151
- Bo as ApFieldSwitch,
152
- Eo as ApFieldText,
153
- Uo as ApFieldTextArea,
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
- io as ApFormDependency,
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
- et as ApGroupSearch,
176
- Cr as ApImage,
177
- ge as ApInfoLayout,
178
- gr as ApInputRadio,
179
- hr as ApLabel,
180
- Gr as ApLabelGroup,
181
- Nr as ApLadder,
182
- Ue as ApList,
183
- Be as ApModal,
184
- Qr as ApNeedNameKeyDefault,
185
- rt as ApPopoverSelect,
186
- Tt as ApScrollBar,
187
- yr as ApSelectLayout,
188
- lt as ApSizeInput,
189
- Rr as ApStatus,
190
- kr as ApStatusGroup,
191
- qr as ApSummary,
192
- At as ApTable,
193
- Je as ApTableModal,
194
- be as ApTag,
195
- Ce as ApTagGroup,
196
- Br as ApTitle,
197
- je as ApTransformDataHelper,
198
- Ee as ApUpload,
199
- pt as ApUploadSingle,
200
- ft as BatchInputGroup,
201
- we as CheckCard,
202
- ke as CheckCardGroup,
203
- P as ConfigProvider,
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
- Ae as DictCode,
207
- nt as EditableTable,
208
- ct as EditableTableFormItem,
209
- he as NeedNameKeyDefault,
210
- Fe as WorkOrderModal,
211
- Zo as adminToken,
212
- oe as aplusToken,
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
- zr as computedRecords,
216
- n as configProviderContextKey,
217
+ Vr as computedRecords,
218
+ i as configProviderContextKey,
217
219
  d as configProviderProps,
218
- br as convertExportField,
219
- ie as createWorkOrderModal,
220
+ Cr as convertExportField,
221
+ Fe as createWorkOrderModal,
220
222
  a as default,
221
223
  G as defaultNamespace,
222
- Hr as flattenColumns,
223
- Vr as formatDataIndex,
224
- $r as formatNumber,
224
+ $r as flattenColumns,
225
+ jr as formatDataIndex,
226
+ qr as formatNumber,
225
227
  y as globalConfigCached,
226
- Fr as handleExportDownload,
228
+ br as handleExportDownload,
227
229
  c as keysOf,
228
- se as langMap,
230
+ ne as langMap,
229
231
  D as localeContextKey,
230
- Lr as locales,
231
- E as namespaceContextKey,
232
+ Mr as locales,
233
+ P as namespaceContextKey,
232
234
  l as pathMap,
233
235
  F as provideGlobalConfig,
234
236
  g as translate,
235
- St as useControllableValue,
236
- L as useGetDerivedNamespace,
237
+ Gt as useControllableValue,
238
+ E as useGetDerivedNamespace,
237
239
  I as useGlobalConfig,
238
240
  S as useLocale,
239
- Dt as useMessage,
240
- M as useNamespace,
241
- Ur as usePageListApTable,
242
- Xe as useTableModal,
243
- dt as useTablePaging,
244
- Wr as useTableRefresh,
245
- Ze as useTableSelectModal
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, RegistedFieldType, WatchFunc } from './interface';
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 | NamePath[]) => void;
672
- validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
673
- [key: string]: any;
674
- }> | undefined;
675
- getFieldsValue: (nameList?: InternalNamePath[] | true) => {
676
- [key: string]: any;
677
- } | undefined;
678
- validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
679
- [key: string]: any;
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;