@aplus-frontend/ui 0.3.10 → 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 (63) hide show
  1. package/es/index.mjs +231 -227
  2. package/es/src/ap-form/ap-form.vue.d.ts +13 -34
  3. package/es/src/ap-form/ap-form.vue2.mjs +143 -120
  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-select-layout/select-layout.vue2.mjs +33 -29
  19. package/es/src/business/ap-table-modal/interface.d.ts +2 -0
  20. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +50 -48
  21. package/es/src/config-provider/config-provider-props.d.ts +0 -2
  22. package/es/src/config-provider/config-provider-props.mjs +2 -4
  23. package/es/src/config-provider/config-provider.d.ts +0 -6
  24. package/es/src/config-provider/config-provider.mjs +26 -25
  25. package/es/src/config-provider/constants.d.ts +2 -0
  26. package/es/src/config-provider/constants.mjs +3 -1
  27. package/es/src/config-provider/hooks/use-global-config.d.ts +0 -2
  28. package/es/src/config-provider/index.d.ts +0 -12
  29. package/es/src/config-provider/index.mjs +17 -15
  30. package/es/src/index.mjs +210 -206
  31. package/es/src/utils/slot.mjs +6 -8
  32. package/lib/index.js +1 -1
  33. package/lib/src/ap-form/ap-form.vue.d.ts +13 -34
  34. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  35. package/lib/src/ap-form/drawer-form/index.vue.d.ts +22 -40
  36. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  37. package/lib/src/ap-form/index.d.ts +3 -1
  38. package/lib/src/ap-form/index.js +1 -1
  39. package/lib/src/ap-form/interface.d.ts +3 -1
  40. package/lib/src/ap-form/modal-form/index.vue.d.ts +23 -41
  41. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  42. package/lib/src/ap-form/provider/context.d.ts +3 -0
  43. package/lib/src/ap-form/provider/context.js +1 -0
  44. package/lib/src/ap-form/provider/index.vue.d.ts +19 -0
  45. package/lib/src/ap-form/provider/index.vue.js +1 -0
  46. package/lib/src/ap-form/provider/index.vue2.js +1 -0
  47. package/lib/src/ap-form/provider/interface.d.ts +22 -0
  48. package/lib/src/ap-form/search-form/index.vue.d.ts +22 -40
  49. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  50. package/lib/src/business/ap-table-modal/interface.d.ts +2 -0
  51. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  52. package/lib/src/config-provider/config-provider-props.d.ts +0 -2
  53. package/lib/src/config-provider/config-provider-props.js +1 -1
  54. package/lib/src/config-provider/config-provider.d.ts +0 -6
  55. package/lib/src/config-provider/config-provider.js +1 -1
  56. package/lib/src/config-provider/constants.d.ts +2 -0
  57. package/lib/src/config-provider/constants.js +1 -1
  58. package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -2
  59. package/lib/src/config-provider/index.d.ts +0 -12
  60. package/lib/src/config-provider/index.js +1 -1
  61. package/lib/src/index.js +1 -1
  62. package/lib/src/utils/slot.js +1 -1
  63. package/package.json +3 -3
package/es/index.mjs CHANGED
@@ -2,110 +2,111 @@ 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 { configProviderContextKey as s } from "./src/config-provider/constants.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
- import { defaultNamespace as S, namespaceContextKey as h, useGetDerivedNamespace as G, useNamespace as y } from "./src/config-provider/hooks/use-namespace.mjs";
9
- import { ConfigProvider as P, globalConfigCached as L } from "./src/config-provider/config-provider.mjs";
10
- import { APConfigProvider as w } from "./src/config-provider/index.mjs";
11
- import { ApFormItemText as k } from "./src/ap-form/items/text/index.mjs";
12
- import { default as E } from "./src/ap-form/items/text-area/index.vue.mjs";
13
- import { default as K } from "./src/ap-form/items/number/index.vue.mjs";
14
- import { default as U } from "./src/ap-form/items/date/index.vue.mjs";
15
- import { default as z } from "./src/ap-form/items/date-range/index.vue.mjs";
16
- import { default as V } from "./src/ap-form/items/radio/index.vue.mjs";
17
- import { default as j } from "./src/ap-form/items/select/index.vue.mjs";
18
- import { default as J } from "./src/ap-form/items/switch/index.vue.mjs";
19
- import { default as X } from "./src/ap-form/items/checkbox/index.vue.mjs";
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 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
- import { ApBatchActionGroup as tr } from "./src/business/ap-batch-action-group/index.mjs";
76
- import { ApButtonGroup as ar } from "./src/business/ap-button-group/index.mjs";
77
- import { ApCard as mr } from "./src/business/ap-card/index.mjs";
78
- import { ApExpandAlert as xr } from "./src/business/ap-expand-alert/index.mjs";
79
- import { ApExportGroupActionType as ur } from "./src/business/ap-export-group/interface.mjs";
80
- import { ApExportGroup as Ar } from "./src/business/ap-export-group/index.mjs";
81
- import { handleExportDownload as ir } from "./src/business/ap-export-group/handleExportDownload.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";
5
+ import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as s, configProviderContextKey as i } from "./src/config-provider/constants.mjs";
6
+ import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
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 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
+ import { APConfigProvider as R } from "./src/config-provider/index.mjs";
11
+ import { ApFormItemText as v } from "./src/ap-form/items/text/index.mjs";
12
+ import { default as K } from "./src/ap-form/items/text-area/index.vue.mjs";
13
+ import { default as O } from "./src/ap-form/items/number/index.vue.mjs";
14
+ import { default as _ } from "./src/ap-form/items/date/index.vue.mjs";
15
+ import { default as H } from "./src/ap-form/items/date-range/index.vue.mjs";
16
+ import { default as $ } from "./src/ap-form/items/radio/index.vue.mjs";
17
+ import { default as q } from "./src/ap-form/items/select/index.vue.mjs";
18
+ import { default as Q } from "./src/ap-form/items/switch/index.vue.mjs";
19
+ import { default as Y } from "./src/ap-form/items/checkbox/index.vue.mjs";
20
+ import { default as oo } from "./src/ap-form/items/text/password.vue.mjs";
21
+ import { ApForm as ro } from "./src/ap-form/index.mjs";
22
+ import { default as po } from "./src/ap-form/item/index.vue.mjs";
23
+ import { default as fo } from "./src/ap-form/item-group/index.vue.mjs";
24
+ import { default as lo } from "./src/ap-form/list/index.vue.mjs";
25
+ import { default as uo } from "./src/ap-form/search-form/index.vue.mjs";
26
+ import { default as so } from "./src/ap-form/modal-form/index.vue.mjs";
27
+ import { default as no } from "./src/ap-form/dependency/index.vue.mjs";
28
+ import { default as Fo } from "./src/ap-form/set/index.vue.mjs";
29
+ import { default as bo } from "./src/ap-form/drawer-form/index.vue.mjs";
30
+ import { default as Co } from "./src/ap-form/render/control.vue.mjs";
31
+ import { default as go } from "./src/ap-form/render/item.vue.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) {
@@ -115,130 +116,133 @@ const a = {
115
116
  }
116
117
  };
117
118
  export {
118
- w as APConfigProvider,
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,
128
- tr as ApBatchActionGroup,
129
- Oe as ApButton,
130
- ar as ApButtonGroup,
131
- mr as ApCard,
132
- ct as ApDescriptions,
133
- ye as ApDownLoadNeedNameKeyDefault,
134
- Pe as ApDownload,
135
- He as ApDrawer,
136
- xr as ApExpandAlert,
137
- Ar as ApExportGroup,
138
- ur as ApExportGroupActionType,
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,
159
- X as ApFormItemCheckbox,
160
- U as ApFormItemDate,
161
- z as ApFormItemDateRange,
162
- po as ApFormItemGroup,
163
- K as ApFormItemNumber,
164
- V as ApFormItemRadio,
165
- Co as ApFormItemRender,
166
- j as ApFormItemSelect,
167
- J as ApFormItemSwitch,
168
- k as ApFormItemText,
169
- E as ApFormItemTextArea,
170
- Z as ApFormItemTextPassword,
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,
203
- P as ConfigProvider,
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,
211
- b as buildLocaleContext,
212
- I as buildTranslator,
213
- Wr as computedRecords,
214
- s as configProviderContextKey,
119
+ R as APConfigProvider,
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,
155
+ ro as ApForm,
156
+ Co as ApFormControlRender,
157
+ no as ApFormDependency,
158
+ bo as ApFormDrawerForm,
159
+ po as ApFormItem,
160
+ Y as ApFormItemCheckbox,
161
+ _ as ApFormItemDate,
162
+ H as ApFormItemDateRange,
163
+ fo as ApFormItemGroup,
164
+ O as ApFormItemNumber,
165
+ $ as ApFormItemRadio,
166
+ go as ApFormItemRender,
167
+ q as ApFormItemSelect,
168
+ Q as ApFormItemSwitch,
169
+ v as ApFormItemText,
170
+ K as ApFormItemTextArea,
171
+ oo as ApFormItemTextPassword,
172
+ lo as ApFormList,
173
+ so as ApFormModalForm,
174
+ ho as ApFormProvider,
175
+ uo as ApFormSearchForm,
176
+ Fo as ApFormSet,
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,
206
+ A as DEFAULT_NAMESPACE,
207
+ s as DEFAULT_UIMODE,
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,
215
+ T as buildLocaleContext,
216
+ C as buildTranslator,
217
+ Vr as computedRecords,
218
+ i as configProviderContextKey,
215
219
  d as configProviderProps,
216
- Fr as convertExportField,
217
- Ae as createWorkOrderModal,
220
+ Cr as convertExportField,
221
+ Fe as createWorkOrderModal,
218
222
  a as default,
219
- S as defaultNamespace,
220
- zr as flattenColumns,
221
- Hr as formatDataIndex,
222
- Vr as formatNumber,
223
- L as globalConfigCached,
224
- ir as handleExportDownload,
225
- n as keysOf,
226
- ue as langMap,
227
- T as localeContextKey,
228
- Gr as locales,
229
- h as namespaceContextKey,
223
+ G as defaultNamespace,
224
+ $r as flattenColumns,
225
+ jr as formatDataIndex,
226
+ qr as formatNumber,
227
+ y as globalConfigCached,
228
+ br as handleExportDownload,
229
+ c as keysOf,
230
+ ne as langMap,
231
+ D as localeContextKey,
232
+ Mr as locales,
233
+ P as namespaceContextKey,
230
234
  l as pathMap,
231
- i as provideGlobalConfig,
232
- C as translate,
233
- gt as useControllableValue,
234
- G as useGetDerivedNamespace,
235
- c as useGlobalConfig,
236
- g as useLocale,
237
- Tt as useMessage,
238
- y as useNamespace,
239
- Br as usePageListApTable,
240
- Qe as useTableModal,
241
- lt as useTablePaging,
242
- Or as useTableRefresh,
243
- Ye as useTableSelectModal
235
+ F as provideGlobalConfig,
236
+ g as translate,
237
+ Gt as useControllableValue,
238
+ E as useGetDerivedNamespace,
239
+ I as useGlobalConfig,
240
+ S as useLocale,
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
244
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: {
@@ -288,9 +275,7 @@ declare function __VLS_template(): {
288
275
  };
289
276
  xxl: {
290
277
  type: PropType<string | number | ColSize>;
291
- default: string | number | **
292
- * 订阅事件
293
- */).ColSize;
278
+ default: string | number | ColSize;
294
279
  };
295
280
  prefixCls: StringConstructor;
296
281
  flex: (StringConstructor | NumberConstructor)[];
@@ -669,24 +654,18 @@ declare function __VLS_template(): {
669
654
  };
670
655
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
671
656
  declare const __VLS_component: DefineComponent<ApFormProps, {
657
+ setFieldsValue: (fields: Partial<any>) => void;
658
+ setFieldValue: (name: NamePath, value: any, triggerChange?: boolean) => void;
672
659
  resetFields: () => Promise<void>;
673
- clearValidate: (name?: NamePath | NamePath[]) => void;
674
- validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
675
- [key: string]: any;
676
- }> | undefined;
677
- getFieldsValue: (nameList?: InternalNamePath[] | true) => {
678
- [key: string]: any;
679
- } | undefined;
680
- validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
681
- [key: string]: any;
682
- }> | undefined;
683
- scrollToField: (name: NamePath, options?: {}) => void;
684
- setFieldsValue: (values: Record<string, any>) => void;
685
- setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
686
- registerWatch: typeof registerWatch;
687
- validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
688
- getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
689
- 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;
690
669
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormProps> & Readonly<{}>, {
691
670
  layout: string;
692
671
  colon: boolean;