@aplus-frontend/ui 0.3.1 → 0.3.3

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 (47) hide show
  1. package/es/index.mjs +177 -175
  2. package/es/src/ap-form/ap-form.vue.d.ts +5 -6
  3. package/es/src/ap-form/ap-form.vue2.mjs +3 -3
  4. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -4
  5. package/es/src/ap-form/interface.d.ts +12 -3
  6. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -4
  7. package/es/src/ap-form/search-form/index.vue.d.ts +5 -5
  8. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +1 -0
  9. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +6 -0
  10. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +71 -52
  11. package/es/src/business/ap-export-group/convertExportField.d.ts +4 -0
  12. package/es/src/business/ap-export-group/convertExportField.mjs +13 -0
  13. package/es/src/business/ap-export-group/index.d.ts +20 -1
  14. package/es/src/business/ap-export-group/index.mjs +8 -6
  15. package/es/src/business/ap-export-group/interface.d.ts +9 -0
  16. package/es/src/config-provider/config-provider-props.d.ts +5 -1
  17. package/es/src/config-provider/config-provider-props.mjs +4 -0
  18. package/es/src/config-provider/config-provider.d.ts +10 -1
  19. package/es/src/config-provider/config-provider.mjs +11 -10
  20. package/es/src/config-provider/constants.d.ts +6 -0
  21. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
  22. package/es/src/config-provider/index.d.ts +16 -1
  23. package/es/src/index.mjs +59 -57
  24. package/lib/index.js +1 -1
  25. package/lib/src/ap-form/ap-form.vue.d.ts +5 -6
  26. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  27. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -4
  28. package/lib/src/ap-form/interface.d.ts +12 -3
  29. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -4
  30. package/lib/src/ap-form/search-form/index.vue.d.ts +5 -5
  31. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  32. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +6 -0
  33. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  34. package/lib/src/business/ap-export-group/convertExportField.d.ts +4 -0
  35. package/lib/src/business/ap-export-group/convertExportField.js +1 -0
  36. package/lib/src/business/ap-export-group/index.d.ts +20 -1
  37. package/lib/src/business/ap-export-group/index.js +1 -1
  38. package/lib/src/business/ap-export-group/interface.d.ts +9 -0
  39. package/lib/src/config-provider/config-provider-props.d.ts +5 -1
  40. package/lib/src/config-provider/config-provider-props.js +1 -1
  41. package/lib/src/config-provider/config-provider.d.ts +10 -1
  42. package/lib/src/config-provider/config-provider.js +1 -1
  43. package/lib/src/config-provider/constants.d.ts +6 -0
  44. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
  45. package/lib/src/config-provider/index.d.ts +16 -1
  46. package/lib/src/index.js +1 -1
  47. package/package.json +3 -3
package/es/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import * as o from "./src/index.mjs";
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 B } from "./src/ap-form/items/text-area/index.vue.mjs";
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 ee } from "./src/ap-form/index.mjs";
22
- import { default as re } from "./src/ap-form/item/index.vue.mjs";
23
- import { default as pe } from "./src/ap-form/item-group/index.vue.mjs";
24
- import { default as fe } from "./src/ap-form/list/index.vue.mjs";
25
- import { default as le } from "./src/ap-form/search-form/index.vue.mjs";
26
- import { default as de } from "./src/ap-form/modal-form/index.vue.mjs";
27
- import { default as se } from "./src/ap-form/dependency/index.vue.mjs";
28
- import { default as ne } from "./src/ap-form/set/index.vue.mjs";
29
- import { default as ce } from "./src/ap-form/drawer-form/index.vue.mjs";
30
- import { default as be } from "./src/ap-form/render/control.vue.mjs";
31
- import { default as Te } from "./src/ap-form/render/item.vue.mjs";
32
- import { ApField as ge } from "./src/ap-field/index.mjs";
33
- import { ApFieldText as Se } from "./src/ap-field/text/index.mjs";
34
- import { default as Ge } from "./src/ap-field/checkbox/index.vue.mjs";
35
- import { default as Ne } from "./src/ap-field/date/index.vue.mjs";
36
- import { default as Le } from "./src/ap-field/number/index.vue.mjs";
37
- import { default as we } from "./src/ap-field/radio/index.vue.mjs";
38
- import { default as ke } from "./src/ap-field/switch/index.vue.mjs";
39
- import { default as Be } from "./src/ap-field/text-area/index.vue.mjs";
40
- import { default as Ke } from "./src/ap-field/date-range/index.vue.mjs";
41
- import { default as Ue } from "./src/ap-field/select/index.vue.mjs";
42
- import { default as ze } from "./src/ap-field/text/password.vue.mjs";
43
- import { default as Ve } from "./src/ap-field/slider/index.vue.mjs";
44
- import { default as je } from "./src/ap-field/segmented/index.vue.mjs";
45
- import { default as Je } from "./src/ap-field/rate/index.vue.mjs";
46
- import { adminToken as Xe, aplusToken as Ye } from "./src/design-token/index.mjs";
47
- import { ApActionItem as _e } from "./src/ap-action/index.mjs";
48
- import { default as oo } from "./src/ap-action/item-modal/index.vue.mjs";
49
- import { default as to } from "./src/ap-action/item-popconfirm/index.vue.mjs";
50
- import { default as ao } from "./src/ap-action/item-dropdown/index.vue.mjs";
51
- import { default as mo } from "./src/ap-action/group/index.vue.mjs";
52
- import { DictCode as xo, langMap as uo } from "./src/work-order-modal/interfaces.mjs";
53
- import { createWorkOrderModal as Ao } from "./src/work-order-modal/createWorkOrder.mjs";
54
- import { default as io } from "./src/work-order-modal/work-order-modal.vue.mjs";
55
- import { default as Fo } from "./src/ap-tag/ap-tag.vue.mjs";
56
- import { default as Io } from "./src/ap-tag/ap-tag-group.vue.mjs";
57
- import { default as Co } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
58
- import { NeedNameKeyDefault as Do } from "./src/ap-upload/apUploadTypes.mjs";
59
- import { default as ho } from "./src/ap-upload/apUpload.vue.mjs";
60
- import { ApDownLoadNeedNameKeyDefault as yo } from "./src/ap-download/interface.mjs";
61
- import { default as Po } from "./src/ap-download/ap-download.vue.mjs";
62
- import { CheckCard as Mo } from "./src/check-card/index.mjs";
63
- import { default as Ro } from "./src/check-card/group.vue.mjs";
64
- import { ApModal as vo } from "./src/ap-modal/index.mjs";
65
- import { default as Eo } from "./src/ap-list/index.vue.mjs";
66
- import { default as Oo } from "./src/ap-button/ap-button.vue.mjs";
67
- import { default as Wo } from "./src/ap-button/ap-action-button.vue.mjs";
68
- import { ApDrawer as Ho } from "./src/ap-drawer/index.mjs";
69
- import { ApTransformDataHelper as $o } from "./src/utils/ap-trans-data/index.mjs";
70
- import { default as qo } from "./src/business/ap-table-modal/index.mjs";
71
- import { useTableModal as Qo } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
72
- import { useTableSelectModal as Yo } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
73
- import { ApAttachment as _o } from "./src/business/ap-attachment/index.mjs";
74
- import { ApBatchAction as or } from "./src/business/ap-batch-action/index.mjs";
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 { ApImage as Fr } from "./src/business/ap-image/index.mjs";
83
- import { ApInputRadio as Ir } from "./src/business/ap-input-radio/index.mjs";
84
- import { ApLabel as Cr, ApLabelGroup as gr } from "./src/business/ap-label/index.mjs";
85
- import { locales as Sr } from "./src/business/ap-ladder/interface.mjs";
86
- import { ApLadder as Gr } from "./src/business/ap-ladder/index.mjs";
87
- import { ApSelectLayout as Nr } from "./src/business/ap-select-layout/index.mjs";
88
- import { ApStatus as Lr, ApStatusGroup as Mr } from "./src/business/ap-status/index.mjs";
89
- import { ApTitle as Rr } from "./src/business/ap-title/index.mjs";
90
- import { usePageListApTable as vr } from "./src/business/hooks/usePageListApTable.mjs";
91
- import { useTableRefresh as Er } from "./src/business/hooks/useTableRefresh.mjs";
92
- import { computedRecords as Or, flattenColumns as Ur, formatDataIndex as Wr, formatNumber as zr } from "./src/business/ap-summary/utils.mjs";
93
- import { ApSummary as Vr } from "./src/business/ap-summary/index.mjs";
94
- import { ApNeedNameKeyDefault as jr } from "./src/business/ap-appendix/interface.mjs";
95
- import { ApAppendix as Jr } from "./src/business/ap-appendix/index.mjs";
96
- import { ApExtensionSelect as Xr, ApGroupSearch as Yr, ApPopoverSelect as Zr } from "./src/business/ap-group-search/index.mjs";
97
- import { default as et } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
98
- import { default as rt } from "./src/business/batch-input-group/index.vue.mjs";
99
- import { ApSizeInput as pt } from "./src/business/ap-size-input/index.mjs";
100
- import { useTablePaging as ft } from "./src/ap-table/hooks/use-table-paging.mjs";
101
- import { ApTable as lt } from "./src/ap-table/index.mjs";
102
- import { default as dt } from "./src/editable-table/index.vue.mjs";
103
- import { default as st } from "./src/editable-table/form-item.vue.mjs";
104
- import { default as nt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
105
- import { ApScrollBar as ct } from "./src/ap-scroll-bar/index.mjs";
106
- import { useMessage as bt } from "./src/hooks/useMessage.mjs";
107
- import { useControllableValue as Tt } from "./src/hooks/useControllableValue.mjs";
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 o) {
111
- const e = o[t];
112
- e.install && r.use(e);
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
- Wo as ApActionButton,
119
- mo as ApActionGroup,
120
- _e as ApActionItem,
121
- ao as ApActionItemDropdown,
122
- oo as ApActionItemModal,
123
- to as ApActionItemPopconfirm,
124
- Jr as ApAppendix,
125
- _o as ApAttachment,
126
- or as ApBatchAction,
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
- Oo as ApButton,
129
+ Oe as ApButton,
129
130
  ar as ApButtonGroup,
130
131
  mr as ApCard,
131
- nt as ApDescriptions,
132
- yo as ApDownLoadNeedNameKeyDefault,
133
- Po as ApDownload,
134
- Ho as ApDrawer,
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
- Xr as ApExtensionSelect,
139
- ge as ApField,
140
- Ge as ApFieldCheckbox,
141
- Ne as ApFieldDate,
142
- Ke as ApFieldDateRange,
143
- Le as ApFieldNumber,
144
- ze as ApFieldPassword,
145
- we as ApFieldRadio,
146
- Je as ApFieldRate,
147
- je as ApFieldSegmented,
148
- Ue as ApFieldSelect,
149
- Ve as ApFieldSlider,
150
- ke as ApFieldSwitch,
151
- Se as ApFieldText,
152
- Be as ApFieldTextArea,
153
- ee as ApForm,
154
- be as ApFormControlRender,
155
- se as ApFormDependency,
156
- ce as ApFormDrawerForm,
157
- re as ApFormItem,
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
- pe as ApFormItemGroup,
162
+ po as ApFormItemGroup,
162
163
  K as ApFormItemNumber,
163
164
  V as ApFormItemRadio,
164
- Te as ApFormItemRender,
165
+ Co as ApFormItemRender,
165
166
  j as ApFormItemSelect,
166
167
  J as ApFormItemSwitch,
167
168
  k as ApFormItemText,
168
- B as ApFormItemTextArea,
169
+ E as ApFormItemTextArea,
169
170
  Z as ApFormItemTextPassword,
170
- fe as ApFormList,
171
- de as ApFormModalForm,
172
- le as ApFormSearchForm,
173
- ne as ApFormSet,
174
- Yr as ApGroupSearch,
175
- Fr as ApImage,
176
- Co as ApInfoLayout,
177
- Ir as ApInputRadio,
178
- Cr as ApLabel,
179
- gr as ApLabelGroup,
180
- Gr as ApLadder,
181
- Eo as ApList,
182
- vo as ApModal,
183
- jr as ApNeedNameKeyDefault,
184
- Zr as ApPopoverSelect,
185
- ct as ApScrollBar,
186
- Nr as ApSelectLayout,
187
- pt as ApSizeInput,
188
- Lr as ApStatus,
189
- Mr as ApStatusGroup,
190
- Vr as ApSummary,
191
- lt as ApTable,
192
- qo as ApTableModal,
193
- Fo as ApTag,
194
- Io as ApTagGroup,
195
- Rr as ApTitle,
196
- $o as ApTransformDataHelper,
197
- ho as ApUpload,
198
- et as ApUploadSingle,
199
- rt as BatchInputGroup,
200
- Mo as CheckCard,
201
- Ro as CheckCardGroup,
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
- xo as DictCode,
204
- dt as EditableTable,
205
- st as EditableTableFormItem,
206
- Do as NeedNameKeyDefault,
207
- io as WorkOrderModal,
208
- Xe as adminToken,
209
- Ye as aplusToken,
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
- Or as computedRecords,
213
+ Wr as computedRecords,
213
214
  s as configProviderContextKey,
214
215
  d as configProviderProps,
215
- Ao as createWorkOrderModal,
216
+ Fr as convertExportField,
217
+ Ae as createWorkOrderModal,
216
218
  a as default,
217
219
  S as defaultNamespace,
218
- Ur as flattenColumns,
219
- Wr as formatDataIndex,
220
- zr as formatNumber,
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
- uo as langMap,
226
+ ue as langMap,
225
227
  T as localeContextKey,
226
- Sr as locales,
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
- Tt as useControllableValue,
233
+ gt as useControllableValue,
232
234
  G as useGetDerivedNamespace,
233
235
  c as useGlobalConfig,
234
236
  g as useLocale,
235
- bt as useMessage,
237
+ Tt as useMessage,
236
238
  y as useNamespace,
237
- vr as usePageListApTable,
238
- Qo as useTableModal,
239
- ft as useTablePaging,
240
- Er as useTableRefresh,
241
- Yo as useTableSelectModal
239
+ Br as usePageListApTable,
240
+ Qe as useTableModal,
241
+ lt as useTablePaging,
242
+ Or as useTableRefresh,
243
+ Ye as useTableSelectModal
242
244
  };
@@ -288,14 +288,13 @@ declare function __VLS_template(): {
288
288
  };
289
289
  xxl: {
290
290
  type: PropType<string | number | ColSize>;
291
- default: string | number | ColSize;
291
+ default: string | number | **
292
+ * 订阅事件
293
+ */).ColSize;
292
294
  };
293
295
  prefixCls: StringConstructor;
294
296
  flex: (StringConstructor | NumberConstructor)[];
295
- }>> & **
296
- * 注册表单项
297
- * @param field
298
- */).HTMLAttributes;
297
+ }>> & HTMLAttributes;
299
298
  labelAlign: FormLabelAlign;
300
299
  labelWrap: boolean;
301
300
  wrapperCol: Partial< ExtractPropTypes<{
@@ -683,7 +682,7 @@ declare const __VLS_component: DefineComponent<ApFormProps, {
683
682
  }> | undefined;
684
683
  scrollToField: (name: NamePath, options?: {}) => void;
685
684
  setFieldsValue: (values: Record<string, any>) => void;
686
- setFieldValue: (name: NamePath, newValue: any) => void;
685
+ setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
687
686
  registerWatch: typeof registerWatch;
688
687
  validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
689
688
  getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
@@ -49,7 +49,7 @@ const ye = /* @__PURE__ */ $({
49
49
  } else
50
50
  n[e] = t;
51
51
  let o = f(e) ? e[0] : e;
52
- l && ((i = s.onValuesChange) == null || i.call(s, { [o]: n[o] }, n)), g();
52
+ l && ((i = s.onValuesChange) == null || i.call(s, { [o]: n[o] }, n, e)), g();
53
53
  }
54
54
  const a = M(), v = se(ne()), B = M(
55
55
  s.syncToUrl ? _(s.syncToUrl, v, "get") : {}
@@ -112,8 +112,8 @@ const ye = /* @__PURE__ */ $({
112
112
  (l = a.value) == null || l.scrollToField(e, t);
113
113
  }, L = (e) => {
114
114
  Object.assign(n, e), g();
115
- }, P = (e, t) => {
116
- y(e, t), g();
115
+ }, P = (e, t, l = !0) => {
116
+ y(e, t, l), g();
117
117
  };
118
118
  function T(e, t) {
119
119
  return t || e(O(n)), F.push(e), () => {
@@ -110,7 +110,7 @@ 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) => void)) | undefined;
113
+ readonly onValuesChange?: (((changedValues: any, values: any) => void) & ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void)) | undefined;
114
114
  readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
115
115
  readonly onFinish?: ((values: any) => void) | undefined;
116
116
  readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
@@ -147,7 +147,7 @@ declare function __VLS_template(): {
147
147
  }> | undefined;
148
148
  scrollToField: (name: NamePath, options?: {}) => void;
149
149
  setFieldsValue: (values: Record<string, any>) => void;
150
- setFieldValue: (name: NamePath, newValue: any) => void;
150
+ setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
151
151
  registerWatch: (callback: WatchFunc, inner: boolean) => () => void;
152
152
  validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
153
153
  getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
@@ -191,7 +191,7 @@ declare function __VLS_template(): {
191
191
  hideRequiredMark: boolean;
192
192
  validateOnRuleChange: boolean;
193
193
  syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
194
- }> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "setFieldValue" | "setFieldsValue" | "resetFields" | "clearValidate" | "validateFields" | "getFieldsValue" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "validateTrigger" | "hideRequiredMark" | "validateOnRuleChange" | "syncToUrl")> & ShallowUnwrapRef<{
194
+ }> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "resetFields" | "clearValidate" | "validateFields" | "getFieldsValue" | "scrollToField" | "registerWatch" | "setFieldValue" | "setFieldsValue" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "getInternalInstance" | ("layout" | "colon" | "labelAlign" | "validateTrigger" | "hideRequiredMark" | "validateOnRuleChange" | "syncToUrl")> & ShallowUnwrapRef<{
195
195
  resetFields: () => Promise<void>;
196
196
  clearValidate: (name?: NamePath | NamePath[]) => void;
197
197
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
@@ -205,7 +205,7 @@ declare function __VLS_template(): {
205
205
  }> | undefined;
206
206
  scrollToField: (name: NamePath, options?: {}) => void;
207
207
  setFieldsValue: (values: Record<string, any>) => void;
208
- setFieldValue: (name: NamePath, newValue: any) => void;
208
+ setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
209
209
  registerWatch: (callback: WatchFunc, inner: boolean) => () => void;
210
210
  validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
211
211
  getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
@@ -43,9 +43,10 @@ export type ApFormProps = Omit<FormProps, 'model'> & {
43
43
  * 字段值更新时触发
44
44
  * @param changedValues 更改的字段值
45
45
  * @param allValues 更改后的字段值
46
+ * @param fieldName 触发change的表单项
46
47
  * @returns
47
48
  */
48
- onValuesChange?: (changedValues: Recordable, allValues: Recordable) => void;
49
+ onValuesChange?: (changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void;
49
50
  /**
50
51
  * 同步表单数据到url中
51
52
  */
@@ -58,7 +59,7 @@ export type ApFormProps = Omit<FormProps, 'model'> & {
58
59
  export type WatchFunc = (values?: Recordable) => void;
59
60
  export type ApFormExpose<ModelType = any> = {
60
61
  setFieldsValue: (fields: Partial<ModelType>) => void;
61
- setFieldValue: (name: NamePath, value: any) => void;
62
+ setFieldValue: (name: NamePath, value: any, triggerChange?: boolean) => void;
62
63
  resetFields: () => Promise<void>;
63
64
  clearValidate: (name?: NamePath) => void;
64
65
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<ModelType>> | undefined;
@@ -107,7 +108,15 @@ export type ApFormInternalInstance = {
107
108
  * @returns
108
109
  */
109
110
  registerField: (field: RegistedFieldType) => void;
110
- } & Pick<ApFormExpose, 'setFieldValue'>;
111
+ /**
112
+ * 设置表单值
113
+ * @param name
114
+ * @param value
115
+ * @param triggerChange
116
+ * @returns
117
+ */
118
+ setFieldValue: (name: NamePath, value: any, triggerChange?: boolean) => void;
119
+ };
111
120
  export type ApFormItemExpose = FormItemExpose & {
112
121
  /**
113
122
  * 是否需要格式化(默认为false)
@@ -111,7 +111,7 @@ 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) => void)) | undefined;
114
+ readonly onValuesChange?: (((changedValues: any, values: any) => void) & ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void)) | undefined;
115
115
  readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
116
116
  readonly onFinish?: ((values: any) => void) | undefined;
117
117
  readonly onFinishFailed?: ((errorInfo: ValidateErrorEntity<any>) => void) | undefined;
@@ -148,7 +148,7 @@ declare function __VLS_template(): {
148
148
  }> | undefined;
149
149
  scrollToField: (name: NamePath, options?: {}) => void;
150
150
  setFieldsValue: (values: Record<string, any>) => void;
151
- setFieldValue: (name: NamePath, newValue: any) => void;
151
+ setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
152
152
  registerWatch: (callback: WatchFunc, inner: boolean) => () => void;
153
153
  validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
154
154
  getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
@@ -192,7 +192,7 @@ declare function __VLS_template(): {
192
192
  hideRequiredMark: boolean;
193
193
  validateOnRuleChange: boolean;
194
194
  syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
195
- }> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "setFieldValue" | "setFieldsValue" | "resetFields" | "clearValidate" | "validateFields" | "getFieldsValue" | "scrollToField" | "getInternalInstance" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "registerWatch" | ("layout" | "colon" | "labelAlign" | "validateTrigger" | "hideRequiredMark" | "validateOnRuleChange" | "syncToUrl")> & ShallowUnwrapRef<{
195
+ }> & Omit<Readonly< ApFormProps> & Readonly<{}>, "validate" | "resetFields" | "clearValidate" | "validateFields" | "getFieldsValue" | "scrollToField" | "registerWatch" | "setFieldValue" | "setFieldsValue" | "validateFieldsReturnTransformed" | "getFieldsValueTransformed" | "getInternalInstance" | ("layout" | "colon" | "labelAlign" | "validateTrigger" | "hideRequiredMark" | "validateOnRuleChange" | "syncToUrl")> & ShallowUnwrapRef<{
196
196
  resetFields: () => Promise<void>;
197
197
  clearValidate: (name?: NamePath | NamePath[]) => void;
198
198
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
@@ -206,7 +206,7 @@ declare function __VLS_template(): {
206
206
  }> | undefined;
207
207
  scrollToField: (name: NamePath, options?: {}) => void;
208
208
  setFieldsValue: (values: Record<string, any>) => void;
209
- setFieldValue: (name: NamePath, newValue: any) => void;
209
+ setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
210
210
  registerWatch: (callback: WatchFunc, inner: boolean) => () => void;
211
211
  validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
212
212
  getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;