@aplus-frontend/ui 0.2.19 → 0.2.20

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 +193 -189
  2. package/es/src/ap-form/index.d.ts +5 -1
  3. package/es/src/ap-form/index.mjs +17 -9
  4. package/es/src/ap-form/interface.d.ts +9 -0
  5. package/es/src/ap-form/items/number/index.vue.d.ts +10 -10
  6. package/es/src/ap-form/items/text/index.vue.d.ts +10 -10
  7. package/es/src/ap-form/items/text/password.vue.d.ts +10 -10
  8. package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -9
  9. package/es/src/ap-form/render/control.vue.d.ts +29 -0
  10. package/es/src/ap-form/render/control.vue.mjs +23 -0
  11. package/es/src/ap-form/render/control.vue2.mjs +4 -0
  12. package/es/src/ap-form/render/item.vue.d.ts +62 -0
  13. package/es/src/ap-form/render/item.vue.mjs +64 -0
  14. package/es/src/ap-form/render/item.vue2.mjs +4 -0
  15. package/es/src/ap-table/constants.d.ts +60 -60
  16. package/es/src/business/ap-group-search/index.d.ts +36 -36
  17. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
  18. package/es/src/business/ap-ladder/index.d.ts +7 -7
  19. package/es/src/config-provider/config-provider.d.ts +5 -0
  20. package/es/src/config-provider/css-var.d.ts +5 -0
  21. package/es/src/config-provider/css-var.mjs +20 -10
  22. package/es/src/config-provider/index.d.ts +30 -0
  23. package/es/src/index.mjs +154 -150
  24. package/lib/index.js +1 -1
  25. package/lib/src/ap-form/index.d.ts +5 -1
  26. package/lib/src/ap-form/index.js +1 -1
  27. package/lib/src/ap-form/interface.d.ts +9 -0
  28. package/lib/src/ap-form/items/number/index.vue.d.ts +10 -10
  29. package/lib/src/ap-form/items/text/index.vue.d.ts +10 -10
  30. package/lib/src/ap-form/items/text/password.vue.d.ts +10 -10
  31. package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -9
  32. package/lib/src/ap-form/render/control.vue.d.ts +29 -0
  33. package/lib/src/ap-form/render/control.vue.js +1 -0
  34. package/lib/src/ap-form/render/control.vue2.js +1 -0
  35. package/lib/src/ap-form/render/item.vue.d.ts +62 -0
  36. package/lib/src/ap-form/render/item.vue.js +1 -0
  37. package/lib/src/ap-form/render/item.vue2.js +1 -0
  38. package/lib/src/ap-table/constants.d.ts +60 -60
  39. package/lib/src/business/ap-group-search/index.d.ts +36 -36
  40. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
  41. package/lib/src/business/ap-ladder/index.d.ts +7 -7
  42. package/lib/src/config-provider/config-provider.d.ts +5 -0
  43. package/lib/src/config-provider/css-var.d.ts +5 -0
  44. package/lib/src/config-provider/css-var.js +1 -1
  45. package/lib/src/config-provider/index.d.ts +30 -0
  46. package/lib/src/index.js +1 -1
  47. package/package.json +4 -4
package/es/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
- import * as e from "./src/index.mjs";
1
+ import * as o 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
5
  import { configProviderContextKey as s } from "./src/config-provider/constants.mjs";
6
- import { keysOf as i, provideGlobalConfig as n, useGlobalConfig as c } from "./src/config-provider/hooks/use-global-config.mjs";
7
- import { buildLocaleContext as b, buildTranslator as I, localeContextKey as T, translate as g, useLocale as C } from "./src/config-provider/hooks/use-locale.mjs";
6
+ import { keysOf as n, provideGlobalConfig as i, useGlobalConfig as c } from "./src/config-provider/hooks/use-global-config.mjs";
7
+ import { buildLocaleContext as b, buildTranslator as I, localeContextKey as T, translate as C, useLocale as g } from "./src/config-provider/hooks/use-locale.mjs";
8
8
  import { defaultNamespace as S, namespaceContextKey as h, useGetDerivedNamespace as G, useNamespace as y } from "./src/config-provider/hooks/use-namespace.mjs";
9
9
  import { ConfigProvider as P, globalConfigCached as L } from "./src/config-provider/config-provider.mjs";
10
- import { APConfigProvider as k } from "./src/config-provider/index.mjs";
11
- import { ApFormItemText as R } from "./src/ap-form/items/text/index.mjs";
10
+ import { APConfigProvider as R } from "./src/config-provider/index.mjs";
11
+ import { ApFormItemText as w } from "./src/ap-form/items/text/index.mjs";
12
12
  import { default as B } 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";
@@ -18,217 +18,221 @@ import { default as q } 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 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 no } from "./src/ap-form/set/index.vue.mjs";
29
- import { default as Fo } from "./src/ap-form/drawer-form/index.vue.mjs";
30
- import { ApField as Io } from "./src/ap-field/index.mjs";
31
- import { ApFieldText as go } from "./src/ap-field/text/index.mjs";
32
- import { default as Do } from "./src/ap-field/checkbox/index.vue.mjs";
33
- import { default as ho } from "./src/ap-field/date/index.vue.mjs";
34
- import { default as yo } from "./src/ap-field/number/index.vue.mjs";
35
- import { default as Po } from "./src/ap-field/radio/index.vue.mjs";
36
- import { default as Mo } from "./src/ap-field/switch/index.vue.mjs";
37
- import { default as wo } from "./src/ap-field/text-area/index.vue.mjs";
38
- import { default as vo } from "./src/ap-field/date-range/index.vue.mjs";
39
- import { default as Eo } from "./src/ap-field/select/index.vue.mjs";
40
- import { default as Oo } from "./src/ap-field/text/password.vue.mjs";
41
- import { default as Wo } from "./src/ap-field/slider/index.vue.mjs";
42
- import { default as Vo } from "./src/ap-field/segmented/index.vue.mjs";
43
- import { default as jo } from "./src/ap-field/rate/index.vue.mjs";
44
- import { adminToken as zo, aplusToken as Jo } from "./src/design-token/index.mjs";
45
- import { ApActionItem as Xo } from "./src/ap-action/index.mjs";
46
- import { default as Zo } from "./src/ap-action/item-modal/index.vue.mjs";
47
- import { default as oe } from "./src/ap-action/item-popconfirm/index.vue.mjs";
48
- import { default as re } from "./src/ap-action/item-dropdown/index.vue.mjs";
49
- import { default as pe } from "./src/ap-action/group/index.vue.mjs";
50
- import { DictCode as fe, langMap as me } from "./src/work-order-modal/interfaces.mjs";
51
- import { createWorkOrderModal as xe } from "./src/work-order-modal/createWorkOrder.mjs";
52
- import { default as ue } from "./src/work-order-modal/work-order-modal.vue.mjs";
53
- import { default as Ae } from "./src/ap-tag/ap-tag.vue.mjs";
54
- import { default as ne } from "./src/ap-tag/ap-tag-group.vue.mjs";
55
- import { default as Fe } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
56
- import { NeedNameKeyDefault as Ie } from "./src/ap-upload/apUploadTypes.mjs";
57
- import { default as ge } from "./src/ap-upload/apUpload.vue.mjs";
58
- import { ApDownLoadNeedNameKeyDefault as De } from "./src/ap-download/interface.mjs";
59
- import { default as he } from "./src/ap-download/ap-download.vue.mjs";
60
- import { CheckCard as ye } from "./src/check-card/index.mjs";
61
- import { default as Pe } from "./src/check-card/group.vue.mjs";
62
- import { ApModal as Me } from "./src/ap-modal/index.mjs";
63
- import { default as we } from "./src/ap-list/index.vue.mjs";
64
- import { default as ve } from "./src/ap-button/ap-button.vue.mjs";
65
- import { default as Ee } from "./src/ap-button/ap-action-button.vue.mjs";
66
- import { ApTransformDataHelper as Oe } from "./src/utils/ap-trans-data/index.mjs";
67
- import { default as We } from "./src/business/ap-table-modal/index.mjs";
68
- import { useTableModal as Ve } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
69
- import { useTableSelectModal as je } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
70
- import { ApAttachment as ze } from "./src/business/ap-attachment/index.mjs";
71
- import { ApBatchAction as Qe } from "./src/business/ap-batch-action/index.mjs";
72
- import { ApBatchActionGroup as Ye } from "./src/business/ap-batch-action-group/index.mjs";
73
- import { ApButtonGroup as _e } from "./src/business/ap-button-group/index.mjs";
74
- import { ApCard as er } from "./src/business/ap-card/index.mjs";
75
- import { ApExpandAlert as tr } from "./src/business/ap-expand-alert/index.mjs";
76
- import { ApExportGroupActionType as ar } from "./src/business/ap-export-group/interface.mjs";
77
- import { ApExportGroup as mr } from "./src/business/ap-export-group/index.mjs";
78
- import { handleExportDownload as xr } from "./src/business/ap-export-group/handleExportDownload.mjs";
79
- import { ApImage as ur } from "./src/business/ap-image/index.mjs";
80
- import { ApInputRadio as Ar } from "./src/business/ap-input-radio/index.mjs";
81
- import { ApLabel as nr, ApLabelGroup as cr } from "./src/business/ap-label/index.mjs";
82
- import { locales as br } from "./src/business/ap-ladder/interface.mjs";
83
- import { ApLadder as Tr } from "./src/business/ap-ladder/index.mjs";
84
- import { ApSelectLayout as Cr } from "./src/business/ap-select-layout/index.mjs";
85
- import { ApStatus as Sr, ApStatusGroup as hr } from "./src/business/ap-status/index.mjs";
86
- import { ApTitle as yr } from "./src/business/ap-title/index.mjs";
87
- import { usePageListApTable as Pr } from "./src/business/hooks/usePageListApTable.mjs";
88
- import { useTableRefresh as Mr } from "./src/business/hooks/useTableRefresh.mjs";
89
- import { computedRecords as wr, flattenColumns as Rr, formatDataIndex as vr, formatNumber as Br } from "./src/business/ap-summary/utils.mjs";
90
- import { ApSummary as Kr } from "./src/business/ap-summary/index.mjs";
91
- import { ApNeedNameKeyDefault as Ur } from "./src/business/ap-appendix/interface.mjs";
92
- import { ApAppendix as Hr } from "./src/business/ap-appendix/index.mjs";
93
- import { ApExtensionSelect as $r, ApGroupSearch as jr, ApPopoverSelect as qr } from "./src/business/ap-group-search/index.mjs";
94
- import { default as Jr } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
95
- import { default as Xr } from "./src/business/batch-input-group/index.vue.mjs";
96
- import { useTablePaging as Zr } from "./src/ap-table/hooks/use-table-paging.mjs";
97
- import { ApTable as ot } from "./src/ap-table/index.mjs";
98
- import { default as rt } from "./src/editable-table/index.vue.mjs";
99
- import { default as pt } from "./src/editable-table/form-item.vue.mjs";
100
- import { default as ft } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
101
- import { ApScrollBar as lt } from "./src/ap-scroll-bar/index.mjs";
102
- import { useMessage as dt } from "./src/hooks/useMessage.mjs";
103
- import { useControllableValue as st } from "./src/hooks/useControllableValue.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 Re } from "./src/ap-field/radio/index.vue.mjs";
38
+ import { default as we } 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 He } from "./src/ap-field/text/password.vue.mjs";
43
+ import { default as $e } from "./src/ap-field/slider/index.vue.mjs";
44
+ import { default as qe } 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 ko } 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 { ApTransformDataHelper as Vo } from "./src/utils/ap-trans-data/index.mjs";
69
+ import { default as jo } from "./src/business/ap-table-modal/index.mjs";
70
+ import { useTableModal as zo } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
71
+ import { useTableSelectModal as Qo } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
72
+ import { ApAttachment as Yo } from "./src/business/ap-attachment/index.mjs";
73
+ import { ApBatchAction as _o } from "./src/business/ap-batch-action/index.mjs";
74
+ import { ApBatchActionGroup as or } from "./src/business/ap-batch-action-group/index.mjs";
75
+ import { ApButtonGroup as tr } from "./src/business/ap-button-group/index.mjs";
76
+ import { ApCard as ar } from "./src/business/ap-card/index.mjs";
77
+ import { ApExpandAlert as mr } from "./src/business/ap-expand-alert/index.mjs";
78
+ import { ApExportGroupActionType as xr } from "./src/business/ap-export-group/interface.mjs";
79
+ import { ApExportGroup as ur } from "./src/business/ap-export-group/index.mjs";
80
+ import { handleExportDownload as Ar } from "./src/business/ap-export-group/handleExportDownload.mjs";
81
+ import { ApImage as ir } from "./src/business/ap-image/index.mjs";
82
+ import { ApInputRadio as Fr } from "./src/business/ap-input-radio/index.mjs";
83
+ import { ApLabel as Ir, ApLabelGroup as Tr } from "./src/business/ap-label/index.mjs";
84
+ import { locales as gr } from "./src/business/ap-ladder/interface.mjs";
85
+ import { ApLadder as Sr } from "./src/business/ap-ladder/index.mjs";
86
+ import { ApSelectLayout as Gr } from "./src/business/ap-select-layout/index.mjs";
87
+ import { ApStatus as Nr, ApStatusGroup as Pr } from "./src/business/ap-status/index.mjs";
88
+ import { ApTitle as Mr } from "./src/business/ap-title/index.mjs";
89
+ import { usePageListApTable as kr } from "./src/business/hooks/usePageListApTable.mjs";
90
+ import { useTableRefresh as vr } from "./src/business/hooks/useTableRefresh.mjs";
91
+ import { computedRecords as Er, flattenColumns as Kr, formatDataIndex as Or, formatNumber as Ur } from "./src/business/ap-summary/utils.mjs";
92
+ import { ApSummary as Hr } from "./src/business/ap-summary/index.mjs";
93
+ import { ApNeedNameKeyDefault as $r } from "./src/business/ap-appendix/interface.mjs";
94
+ import { ApAppendix as qr } from "./src/business/ap-appendix/index.mjs";
95
+ import { ApExtensionSelect as Jr, ApGroupSearch as Qr, ApPopoverSelect as Xr } from "./src/business/ap-group-search/index.mjs";
96
+ import { default as Zr } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
97
+ import { default as et } from "./src/business/batch-input-group/index.vue.mjs";
98
+ import { useTablePaging as rt } from "./src/ap-table/hooks/use-table-paging.mjs";
99
+ import { ApTable as pt } from "./src/ap-table/index.mjs";
100
+ import { default as ft } from "./src/editable-table/index.vue.mjs";
101
+ import { default as lt } from "./src/editable-table/form-item.vue.mjs";
102
+ import { default as dt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
103
+ import { ApScrollBar as st } from "./src/ap-scroll-bar/index.mjs";
104
+ import { useMessage as nt } from "./src/hooks/useMessage.mjs";
105
+ import { useControllableValue as ct } from "./src/hooks/useControllableValue.mjs";
104
106
  const a = {
105
107
  install: (r) => {
106
- for (const t in e) {
107
- const o = e[t];
108
- o.install && r.use(o);
108
+ for (const t in o) {
109
+ const e = o[t];
110
+ e.install && r.use(e);
109
111
  }
110
112
  }
111
113
  };
112
114
  export {
113
- k as APConfigProvider,
114
- Ee as ApActionButton,
115
- pe as ApActionGroup,
116
- Xo as ApActionItem,
117
- re as ApActionItemDropdown,
118
- Zo as ApActionItemModal,
119
- oe as ApActionItemPopconfirm,
120
- Hr as ApAppendix,
121
- ze as ApAttachment,
122
- Qe as ApBatchAction,
123
- Ye as ApBatchActionGroup,
124
- ve as ApButton,
125
- _e as ApButtonGroup,
126
- er as ApCard,
127
- ft as ApDescriptions,
128
- De as ApDownLoadNeedNameKeyDefault,
129
- he as ApDownload,
130
- tr as ApExpandAlert,
131
- mr as ApExportGroup,
132
- ar as ApExportGroupActionType,
133
- $r as ApExtensionSelect,
134
- Io as ApField,
135
- Do as ApFieldCheckbox,
136
- ho as ApFieldDate,
137
- vo as ApFieldDateRange,
138
- yo as ApFieldNumber,
139
- Oo as ApFieldPassword,
140
- Po as ApFieldRadio,
141
- jo as ApFieldRate,
142
- Vo as ApFieldSegmented,
143
- Eo as ApFieldSelect,
144
- Wo as ApFieldSlider,
145
- Mo as ApFieldSwitch,
146
- go as ApFieldText,
147
- wo as ApFieldTextArea,
148
- oo as ApForm,
149
- Ao as ApFormDependency,
150
- Fo as ApFormDrawerForm,
151
- ro as ApFormItem,
115
+ R as APConfigProvider,
116
+ Wo as ApActionButton,
117
+ mo as ApActionGroup,
118
+ _e as ApActionItem,
119
+ ao as ApActionItemDropdown,
120
+ oo as ApActionItemModal,
121
+ to as ApActionItemPopconfirm,
122
+ qr as ApAppendix,
123
+ Yo as ApAttachment,
124
+ _o as ApBatchAction,
125
+ or as ApBatchActionGroup,
126
+ Oo as ApButton,
127
+ tr as ApButtonGroup,
128
+ ar as ApCard,
129
+ dt as ApDescriptions,
130
+ yo as ApDownLoadNeedNameKeyDefault,
131
+ Po as ApDownload,
132
+ mr as ApExpandAlert,
133
+ ur as ApExportGroup,
134
+ xr as ApExportGroupActionType,
135
+ Jr as ApExtensionSelect,
136
+ ge as ApField,
137
+ Ge as ApFieldCheckbox,
138
+ Ne as ApFieldDate,
139
+ Ke as ApFieldDateRange,
140
+ Le as ApFieldNumber,
141
+ He as ApFieldPassword,
142
+ Re as ApFieldRadio,
143
+ Je as ApFieldRate,
144
+ qe as ApFieldSegmented,
145
+ Ue as ApFieldSelect,
146
+ $e as ApFieldSlider,
147
+ we as ApFieldSwitch,
148
+ Se as ApFieldText,
149
+ Be as ApFieldTextArea,
150
+ ee as ApForm,
151
+ be as ApFormControlRender,
152
+ se as ApFormDependency,
153
+ ce as ApFormDrawerForm,
154
+ re as ApFormItem,
152
155
  X as ApFormItemCheckbox,
153
156
  U as ApFormItemDate,
154
157
  H as ApFormItemDateRange,
155
- po as ApFormItemGroup,
158
+ pe as ApFormItemGroup,
156
159
  K as ApFormItemNumber,
157
160
  $ as ApFormItemRadio,
161
+ Te as ApFormItemRender,
158
162
  q as ApFormItemSelect,
159
163
  J as ApFormItemSwitch,
160
- R as ApFormItemText,
164
+ w as ApFormItemText,
161
165
  B as ApFormItemTextArea,
162
166
  Z as ApFormItemTextPassword,
163
- fo as ApFormList,
164
- uo as ApFormModalForm,
165
- lo as ApFormSearchForm,
166
- no as ApFormSet,
167
- jr as ApGroupSearch,
168
- ur as ApImage,
169
- Fe as ApInfoLayout,
170
- Ar as ApInputRadio,
171
- nr as ApLabel,
172
- cr as ApLabelGroup,
173
- Tr as ApLadder,
174
- we as ApList,
175
- Me as ApModal,
176
- Ur as ApNeedNameKeyDefault,
177
- qr as ApPopoverSelect,
178
- lt as ApScrollBar,
179
- Cr as ApSelectLayout,
180
- Sr as ApStatus,
181
- hr as ApStatusGroup,
182
- Kr as ApSummary,
183
- ot as ApTable,
184
- We as ApTableModal,
185
- Ae as ApTag,
186
- ne as ApTagGroup,
187
- yr as ApTitle,
188
- Oe as ApTransformDataHelper,
189
- ge as ApUpload,
190
- Jr as ApUploadSingle,
191
- Xr as BatchInputGroup,
192
- ye as CheckCard,
193
- Pe as CheckCardGroup,
167
+ fe as ApFormList,
168
+ de as ApFormModalForm,
169
+ le as ApFormSearchForm,
170
+ ne as ApFormSet,
171
+ Qr as ApGroupSearch,
172
+ ir as ApImage,
173
+ Co as ApInfoLayout,
174
+ Fr as ApInputRadio,
175
+ Ir as ApLabel,
176
+ Tr as ApLabelGroup,
177
+ Sr as ApLadder,
178
+ Eo as ApList,
179
+ vo as ApModal,
180
+ $r as ApNeedNameKeyDefault,
181
+ Xr as ApPopoverSelect,
182
+ st as ApScrollBar,
183
+ Gr as ApSelectLayout,
184
+ Nr as ApStatus,
185
+ Pr as ApStatusGroup,
186
+ Hr as ApSummary,
187
+ pt as ApTable,
188
+ jo as ApTableModal,
189
+ Fo as ApTag,
190
+ Io as ApTagGroup,
191
+ Mr as ApTitle,
192
+ Vo as ApTransformDataHelper,
193
+ ho as ApUpload,
194
+ Zr as ApUploadSingle,
195
+ et as BatchInputGroup,
196
+ Mo as CheckCard,
197
+ ko as CheckCardGroup,
194
198
  P as ConfigProvider,
195
- fe as DictCode,
196
- rt as EditableTable,
197
- pt as EditableTableFormItem,
198
- Ie as NeedNameKeyDefault,
199
- ue as WorkOrderModal,
200
- zo as adminToken,
201
- Jo as aplusToken,
199
+ xo as DictCode,
200
+ ft as EditableTable,
201
+ lt as EditableTableFormItem,
202
+ Do as NeedNameKeyDefault,
203
+ io as WorkOrderModal,
204
+ Xe as adminToken,
205
+ Ye as aplusToken,
202
206
  b as buildLocaleContext,
203
207
  I as buildTranslator,
204
- wr as computedRecords,
208
+ Er as computedRecords,
205
209
  s as configProviderContextKey,
206
210
  d as configProviderProps,
207
- xe as createWorkOrderModal,
211
+ Ao as createWorkOrderModal,
208
212
  a as default,
209
213
  S as defaultNamespace,
210
- Rr as flattenColumns,
211
- vr as formatDataIndex,
212
- Br as formatNumber,
214
+ Kr as flattenColumns,
215
+ Or as formatDataIndex,
216
+ Ur as formatNumber,
213
217
  L as globalConfigCached,
214
- xr as handleExportDownload,
215
- i as keysOf,
216
- me as langMap,
218
+ Ar as handleExportDownload,
219
+ n as keysOf,
220
+ uo as langMap,
217
221
  T as localeContextKey,
218
- br as locales,
222
+ gr as locales,
219
223
  h as namespaceContextKey,
220
224
  l as pathMap,
221
- n as provideGlobalConfig,
222
- g as translate,
223
- st as useControllableValue,
225
+ i as provideGlobalConfig,
226
+ C as translate,
227
+ ct as useControllableValue,
224
228
  G as useGetDerivedNamespace,
225
229
  c as useGlobalConfig,
226
- C as useLocale,
227
- dt as useMessage,
230
+ g as useLocale,
231
+ nt as useMessage,
228
232
  y as useNamespace,
229
- Pr as usePageListApTable,
230
- Ve as useTableModal,
231
- Zr as useTablePaging,
232
- Mr as useTableRefresh,
233
- je as useTableSelectModal
233
+ kr as usePageListApTable,
234
+ zo as useTableModal,
235
+ rt as useTablePaging,
236
+ vr as useTableRefresh,
237
+ Qo as useTableSelectModal
234
238
  };
@@ -8,6 +8,8 @@ import { default as useWatch } from './hooks/use-watch';
8
8
  import { default as ApFormDependency } from './dependency/index.vue';
9
9
  import { default as ApFormSet } from './set/index.vue';
10
10
  import { default as ApFormDrawerForm } from './drawer-form/index.vue';
11
+ import { default as ApFormControlRender } from './render/control.vue';
12
+ import { default as ApFormItemRender } from './render/item.vue';
11
13
  type ApFormMixedProps = typeof _ApForm & {
12
14
  FormItem: typeof ApFormItem;
13
15
  FormItemGroup: typeof ApFormItemGroup;
@@ -18,8 +20,10 @@ type ApFormMixedProps = typeof _ApForm & {
18
20
  Dependency: typeof ApFormDependency;
19
21
  Set: typeof ApFormSet;
20
22
  DrawerForm: typeof ApFormDrawerForm;
23
+ ControlRender: typeof ApFormControlRender;
24
+ ItemRender: typeof ApFormItemRender;
21
25
  };
22
26
  declare const ApForm: ApFormMixedProps;
23
27
  export * from './items';
24
28
  export * from './interface';
25
- export { ApForm, ApFormItem, ApFormItemGroup, ApFormList, ApFormSearchForm, ApFormModalForm, ApFormDependency, ApFormSet, ApFormDrawerForm };
29
+ export { ApForm, ApFormItem, ApFormItemGroup, ApFormList, ApFormSearchForm, ApFormModalForm, ApFormDependency, ApFormSet, ApFormDrawerForm, ApFormControlRender, ApFormItemRender };
@@ -8,6 +8,8 @@ import r from "./hooks/use-watch.mjs";
8
8
  import "./dependency/index.vue2.mjs";
9
9
  import "./set/index.vue2.mjs";
10
10
  import "./drawer-form/index.vue2.mjs";
11
+ import "./render/control.vue2.mjs";
12
+ import "./render/item.vue2.mjs";
11
13
  import "./items/index.mjs";
12
14
  import "./interface.mjs";
13
15
  import o from "./ap-form.vue2.mjs";
@@ -15,28 +17,34 @@ import p from "./item/index.vue.mjs";
15
17
  import t from "./item-group/index.vue.mjs";
16
18
  import i from "./list/index.vue.mjs";
17
19
  import a from "./search-form/index.vue.mjs";
18
- import s from "./modal-form/index.vue.mjs";
19
- import e from "./dependency/index.vue.mjs";
20
+ import e from "./modal-form/index.vue.mjs";
21
+ import s from "./dependency/index.vue.mjs";
20
22
  import f from "./set/index.vue.mjs";
21
- import F from "./drawer-form/index.vue.mjs";
23
+ import n from "./drawer-form/index.vue.mjs";
24
+ import _ from "./render/control.vue.mjs";
25
+ import F from "./render/item.vue.mjs";
22
26
  const m = o;
23
27
  m.FormItem = p;
24
28
  m.FormItemGroup = t;
25
29
  m.FormList = i;
26
30
  m.SearchForm = a;
27
- m.ModalForm = s;
31
+ m.ModalForm = e;
28
32
  m.useWatch = r;
29
- m.Dependency = e;
33
+ m.Dependency = s;
30
34
  m.Set = f;
31
- m.DrawerForm = F;
35
+ m.DrawerForm = n;
36
+ m.ControlRender = _;
37
+ m.ItemRender = F;
32
38
  export {
33
39
  m as ApForm,
34
- e as ApFormDependency,
35
- F as ApFormDrawerForm,
40
+ _ as ApFormControlRender,
41
+ s as ApFormDependency,
42
+ n as ApFormDrawerForm,
36
43
  p as ApFormItem,
37
44
  t as ApFormItemGroup,
45
+ F as ApFormItemRender,
38
46
  i as ApFormList,
39
- s as ApFormModalForm,
47
+ e as ApFormModalForm,
40
48
  a as ApFormSearchForm,
41
49
  f as ApFormSet
42
50
  };
@@ -221,3 +221,12 @@ export type ApFormSetProps = {
221
221
  */
222
222
  transform?: ApFormItemTransformType;
223
223
  };
224
+ export type ApFormControlRenderProps = {
225
+ value?: any;
226
+ 'onUpdate:value'?: (value: any, ...args: any[]) => void;
227
+ bordered?: boolean;
228
+ onFocus?: () => void;
229
+ onBlur?: () => void;
230
+ [key: string]: any;
231
+ };
232
+ export type ApFormItemRenderProps = ApFormItemProps;
@@ -61,9 +61,9 @@ declare function __VLS_template(): {
61
61
  readonly tabindex?: number | undefined;
62
62
  readonly prefix?: any;
63
63
  readonly autofocus?: boolean | undefined;
64
+ 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
64
65
  readonly defaultValue?: ValueType | undefined;
65
66
  readonly onPressEnter?: KeyboardEventHandler | undefined;
66
- 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
67
67
  readonly valueModifiers?: Record<string, any> | undefined;
68
68
  readonly readonly?: boolean | undefined;
69
69
  readonly addonBefore?: any;
@@ -148,6 +148,9 @@ declare function __VLS_template(): {
148
148
  autofocus: {
149
149
  type: PropType<boolean>;
150
150
  };
151
+ 'onUpdate:value': {
152
+ type: PropType<(value: ValueType) => void>;
153
+ };
151
154
  max: {
152
155
  type: PropType<ValueType>;
153
156
  default: number;
@@ -162,9 +165,6 @@ declare function __VLS_template(): {
162
165
  onPressEnter: {
163
166
  type: PropType<KeyboardEventHandler>;
164
167
  };
165
- 'onUpdate:value': {
166
- type: PropType<(value: ValueType) => void>;
167
- };
168
168
  valueModifiers: {
169
169
  type: PropType<Record<string, any>>;
170
170
  };
@@ -305,6 +305,9 @@ declare function __VLS_template(): {
305
305
  autofocus: {
306
306
  type: PropType<boolean>;
307
307
  };
308
+ 'onUpdate:value': {
309
+ type: PropType<(value: ValueType) => void>;
310
+ };
308
311
  max: {
309
312
  type: PropType<ValueType>;
310
313
  default: number;
@@ -319,9 +322,6 @@ declare function __VLS_template(): {
319
322
  onPressEnter: {
320
323
  type: PropType<KeyboardEventHandler>;
321
324
  };
322
- 'onUpdate:value': {
323
- type: PropType<(value: ValueType) => void>;
324
- };
325
325
  valueModifiers: {
326
326
  type: PropType<Record<string, any>>;
327
327
  };
@@ -482,6 +482,9 @@ declare function __VLS_template(): {
482
482
  autofocus: {
483
483
  type: PropType<boolean>;
484
484
  };
485
+ 'onUpdate:value': {
486
+ type: PropType<(value: ValueType) => void>;
487
+ };
485
488
  max: {
486
489
  type: PropType<ValueType>;
487
490
  default: number;
@@ -496,9 +499,6 @@ declare function __VLS_template(): {
496
499
  onPressEnter: {
497
500
  type: PropType<KeyboardEventHandler>;
498
501
  };
499
- 'onUpdate:value': {
500
- type: PropType<(value: ValueType) => void>;
501
- };
502
502
  valueModifiers: {
503
503
  type: PropType<Record<string, any>>;
504
504
  };