@aplus-frontend/ui 0.0.1-beta.28 → 0.0.1-beta.30

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 (109) hide show
  1. package/es/index.mjs +146 -142
  2. package/es/src/ap-field/text/index.vue.d.ts +1 -1
  3. package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
  4. package/es/src/components.d.ts +2 -0
  5. package/es/src/config-provider/config-provider-props.d.ts +1 -1
  6. package/es/src/config-provider/config-provider.d.ts +11 -11
  7. package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
  8. package/es/src/description/description.vue.d.ts +1 -1
  9. package/es/src/icon-picker/icon-picker.vue.d.ts +2 -2
  10. package/es/src/index.mjs +113 -109
  11. package/es/src/modal/basic.vue.d.ts +1 -1
  12. package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
  13. package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
  14. package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
  15. package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
  16. package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
  17. package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
  18. package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
  19. package/es/src/pro-form/hooks/use-label-width.d.ts +6 -6
  20. package/es/src/pro-form/index.d.ts +4 -1
  21. package/es/src/pro-form/index.mjs +12 -9
  22. package/es/src/pro-form/pro-form.vue.d.ts +1 -1
  23. package/es/src/pro-form/style/table-form.css +101 -0
  24. package/es/src/pro-form/table-form-inner.vue.d.ts +44 -0
  25. package/es/src/pro-form/table-form-inner.vue.mjs +176 -0
  26. package/es/src/pro-form/table-form-inner.vue2.mjs +4 -0
  27. package/es/src/pro-form/table-form.vue.d.ts +42 -0
  28. package/es/src/pro-form/table-form.vue.mjs +41 -0
  29. package/es/src/pro-form/table-form.vue2.mjs +4 -0
  30. package/es/src/pro-form/types/table-form.d.ts +37 -0
  31. package/es/src/pro-form/types/table-form.mjs +1 -0
  32. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  33. package/es/src/pro-table/pro-table.vue.d.ts +1 -1
  34. package/es/src/theme/antd-global-overwrite/admin/index.css +6 -6
  35. package/es/src/theme/antd-global-overwrite/admin/steps.css +6 -6
  36. package/es/src/theme/antd-global-overwrite/aplus/index.css +3 -3
  37. package/es/src/theme/antd-global-overwrite/aplus/steps.css +3 -3
  38. package/es/src/theme/pro-form/table-form-inner.css +101 -0
  39. package/es/src/utils/config-provider-preset.d.ts +12 -12
  40. package/lib/index.js +1 -1
  41. package/lib/src/ap-field/text/index.vue.d.ts +1 -1
  42. package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
  43. package/lib/src/components.d.ts +2 -0
  44. package/lib/src/config-provider/config-provider-props.d.ts +1 -1
  45. package/lib/src/config-provider/config-provider.d.ts +11 -11
  46. package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
  47. package/lib/src/description/description.vue.d.ts +1 -1
  48. package/lib/src/icon-picker/icon-picker.vue.d.ts +2 -2
  49. package/lib/src/index.js +1 -1
  50. package/lib/src/modal/basic.vue.d.ts +1 -1
  51. package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
  52. package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
  53. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
  54. package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
  55. package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
  56. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
  57. package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
  58. package/lib/src/pro-form/hooks/use-label-width.d.ts +6 -6
  59. package/lib/src/pro-form/index.d.ts +4 -1
  60. package/lib/src/pro-form/index.js +1 -1
  61. package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
  62. package/lib/src/pro-form/style/table-form.css +101 -0
  63. package/lib/src/pro-form/table-form-inner.vue.d.ts +44 -0
  64. package/lib/src/pro-form/table-form-inner.vue.js +1 -0
  65. package/lib/src/pro-form/table-form-inner.vue2.js +1 -0
  66. package/lib/src/pro-form/table-form.vue.d.ts +42 -0
  67. package/lib/src/pro-form/table-form.vue.js +1 -0
  68. package/lib/src/pro-form/table-form.vue2.js +1 -0
  69. package/lib/src/pro-form/types/table-form.d.ts +37 -0
  70. package/lib/src/pro-form/types/table-form.js +1 -0
  71. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  72. package/lib/src/pro-table/pro-table.vue.d.ts +1 -1
  73. package/lib/src/theme/antd-global-overwrite/admin/index.css +6 -6
  74. package/lib/src/theme/antd-global-overwrite/admin/steps.css +6 -6
  75. package/lib/src/theme/antd-global-overwrite/aplus/index.css +3 -3
  76. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +3 -3
  77. package/lib/src/theme/pro-form/table-form-inner.css +101 -0
  78. package/lib/src/utils/config-provider-preset.d.ts +12 -12
  79. package/package.json +1 -1
  80. package/es/src/base-button/index.d.ts +0 -137
  81. package/es/src/basic/index.d.ts +0 -278
  82. package/es/src/button/index.d.ts +0 -51
  83. package/es/src/config-provider/index.d.ts +0 -691
  84. package/es/src/container/index.d.ts +0 -178
  85. package/es/src/count-down/index.d.ts +0 -150
  86. package/es/src/cropper/index.d.ts +0 -369
  87. package/es/src/description/index.d.ts +0 -214
  88. package/es/src/dropdown/index.d.ts +0 -113
  89. package/es/src/icon/index.d.ts +0 -208
  90. package/es/src/icon-picker/index.d.ts +0 -190
  91. package/es/src/modal/index.d.ts +0 -963
  92. package/es/src/scroll-bar/index.d.ts +0 -176
  93. package/es/src/strength-meter/index.d.ts +0 -89
  94. package/es/src/transition/index.d.ts +0 -369
  95. package/lib/src/base-button/index.d.ts +0 -137
  96. package/lib/src/basic/index.d.ts +0 -278
  97. package/lib/src/button/index.d.ts +0 -51
  98. package/lib/src/config-provider/index.d.ts +0 -691
  99. package/lib/src/container/index.d.ts +0 -178
  100. package/lib/src/count-down/index.d.ts +0 -150
  101. package/lib/src/cropper/index.d.ts +0 -369
  102. package/lib/src/description/index.d.ts +0 -214
  103. package/lib/src/dropdown/index.d.ts +0 -113
  104. package/lib/src/icon/index.d.ts +0 -208
  105. package/lib/src/icon-picker/index.d.ts +0 -190
  106. package/lib/src/modal/index.d.ts +0 -963
  107. package/lib/src/scroll-bar/index.d.ts +0 -176
  108. package/lib/src/strength-meter/index.d.ts +0 -89
  109. package/lib/src/transition/index.d.ts +0 -369
package/es/src/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { Icon as i, SvgIcon as d } from "./icon/index.mjs";
1
+ import { Icon as d, SvgIcon as i } from "./icon/index.mjs";
2
2
  import { APConfigProvider as n } from "./config-provider/index.mjs";
3
3
  import { Scrollbar as A } from "./scroll-bar/index.mjs";
4
4
  import { CollapseContainer as T, ScrollContainer as F } from "./container/index.mjs";
5
5
  import { IconPicker as S } from "./icon-picker/index.mjs";
6
6
  import "./locale/index.mjs";
7
- import { BasicArrow as g, BasicHelp as b, BasicTitle as D } from "./basic/index.mjs";
8
- import { ExpandTransition as P, ExpandXTransition as R, FadeTransition as B, ScaleRotateTransition as M, ScaleTransition as h, ScrollXReverseTransition as w, ScrollXTransition as G, ScrollYReverseTransition as k, ScrollYTransition as N, SlideXReverseTransition as y, SlideXTransition as L, SlideYReverseTransition as X, SlideYTransition as K } from "./transition/index.mjs";
7
+ import { BasicArrow as g, BasicHelp as b, BasicTitle as P } from "./basic/index.mjs";
8
+ import { ExpandTransition as v, ExpandXTransition as R, FadeTransition as B, ScaleRotateTransition as M, ScaleTransition as h, ScrollXReverseTransition as w, ScrollXTransition as G, ScrollYReverseTransition as k, ScrollYTransition as N, SlideXReverseTransition as y, SlideXTransition as L, SlideYReverseTransition as X, SlideYTransition as K } from "./transition/index.mjs";
9
9
  import { Description as E } from "./description/index.mjs";
10
10
  import { Field as H } from "./pro-form/index.mjs";
11
11
  import { BaseButton as z } from "./base-button/index.mjs";
@@ -29,7 +29,7 @@ import "./ap-download/index.mjs";
29
29
  import { configProviderProps as co } from "./config-provider/config-provider-props.mjs";
30
30
  import { configProviderContextKey as Fo, tableDefaultConfig as Co } from "./config-provider/constants.mjs";
31
31
  import { keysOf as Io, provideGlobalConfig as go, useGlobalConfig as bo } from "./config-provider/hooks/use-global-config.mjs";
32
- import { buildLocaleContext as vo, buildTranslator as Po, localeContextKey as Ro, translate as Bo, useLocale as Mo } from "./config-provider/hooks/use-locale.mjs";
32
+ import { buildLocaleContext as Do, buildTranslator as vo, localeContextKey as Ro, translate as Bo, useLocale as Mo } from "./config-provider/hooks/use-locale.mjs";
33
33
  import { defaultNamespace as wo, namespaceContextKey as Go, useGetDerivedNamespace as ko, useNamespace as No } from "./config-provider/hooks/use-namespace.mjs";
34
34
  import { ConfigProvider as Lo } from "./config-provider/config-provider.mjs";
35
35
  import { default as Ko } from "./locale/lang/zh-cn.mjs";
@@ -45,94 +45,96 @@ import { default as te } from "./pro-form/components/api-select.vue.mjs";
45
45
  import { default as pe } from "./pro-form/components/api-transfer.vue.mjs";
46
46
  import { default as me } from "./pro-form/components/api-tree.vue.mjs";
47
47
  import { default as se } from "./pro-form/components/radio-button-group.vue.mjs";
48
- import { default as de } from "./pro-form/pro-form.vue.mjs";
48
+ import { default as ie } from "./pro-form/pro-form.vue.mjs";
49
49
  import { default as ne } from "./pro-form/components/api-tree-select.vue.mjs";
50
- import { default as Ae } from "./base-button/modal-button.vue.mjs";
51
- import { default as Te } from "./base-button/pop-confirm-button.vue.mjs";
52
- import { useModalContext as Ce } from "./modal/hooks/use-modal-context.mjs";
53
- import { useModal as Ie, useModalInner as ge } from "./modal/hooks/use-modal.mjs";
54
- import { default as De } from "./pro-table/pro-table.vue.mjs";
55
- import { default as Pe } from "./pro-table/components/table-action.vue.mjs";
56
- import { default as Be } from "./pro-table/components/edit-table-header-icon.vue.mjs";
57
- import { default as he } from "./pro-table/components/table-image.vue.mjs";
58
- import { useTable as Ge } from "./pro-table/hooks/use-table.mjs";
59
- import { default as Ne } from "./ap-form/items/text/index.vue.mjs";
60
- import { default as Le } from "./ap-form/items/text-area/index.vue.mjs";
61
- import { default as Ke } from "./ap-form/items/number/index.vue.mjs";
62
- import { default as Ee } from "./ap-form/items/date/index.vue.mjs";
63
- import { default as He } from "./ap-form/items/date-range/index.vue.mjs";
64
- import { default as ze } from "./ap-form/items/radio/index.vue.mjs";
65
- import { default as je } from "./ap-form/items/select/index.vue.mjs";
66
- import { default as Je } from "./ap-form/items/switch/index.vue.mjs";
67
- import { default as Ve } from "./ap-form/ap-form-item.vue.mjs";
68
- import { default as _e } from "./ap-form/ap-form-item-group/index.vue.mjs";
69
- import { default as or } from "./ap-form/ap-form-list.vue.mjs";
70
- import { default as rr } from "./ap-form/search-form/index.vue.mjs";
71
- import { default as ar } from "./ap-form/modal-form/index.vue.mjs";
72
- import { default as fr } from "./ap-field/text/index.vue.mjs";
73
- import { default as lr } from "./ap-field/checkbox/index.vue.mjs";
74
- import { default as ir } from "./ap-field/date/index.vue.mjs";
75
- import { default as xr } from "./ap-field/number/index.vue.mjs";
76
- import { default as ur } from "./ap-field/radio/index.vue.mjs";
77
- import { default as cr } from "./ap-field/switch/index.vue.mjs";
78
- import { default as Fr } from "./ap-field/text-area/index.vue.mjs";
79
- import { default as Sr } from "./ap-field/date-range/index.vue.mjs";
80
- import { default as gr } from "./ap-field/select/index.vue.mjs";
81
- import { default as Dr } from "./ap-action/item-modal/index.vue.mjs";
82
- import { default as Pr } from "./ap-action/item-popconfirm/index.vue.mjs";
83
- import { default as Br } from "./ap-action/item-dropdown/index.vue.mjs";
84
- import { default as hr } from "./ap-action/group/index.vue.mjs";
85
- import { generateTableList as Gr } from "./ap-custom-column/utils.mjs";
86
- import { useCacheColumnSetting as Nr } from "./ap-custom-column/useCacheColumnSetting.mjs";
87
- import { default as Lr } from "./ap-custom-column/custom-column.vue.mjs";
88
- import { default as Kr } from "./ap-custom-column/column-select.vue.mjs";
89
- import { DictCode as Er } from "./work-order-modal/interfaces.mjs";
90
- import { createWorkOrderModal as Hr } from "./work-order-modal/createWorkOrder.mjs";
91
- import { default as zr } from "./work-order-modal/work-order-modal.vue.mjs";
92
- import { default as jr } from "./ap-tag/ap-tag.vue.mjs";
93
- import { default as Jr } from "./ap-tag/ap-tag-group.vue.mjs";
94
- import { default as Vr } from "./ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
95
- import { NeedNameKeyDefault as _r } from "./ap-upload/apUploadTypes.mjs";
96
- import { default as ot } from "./ap-upload/apUpload.vue.mjs";
97
- import { default as rt } from "./ap-download/ap-download.vue.mjs";
50
+ import { default as Ae } from "./pro-form/table-form.vue.mjs";
51
+ import { default as Te } from "./pro-form/table-form-inner.vue.mjs";
52
+ import { default as Ce } from "./base-button/modal-button.vue.mjs";
53
+ import { default as Ie } from "./base-button/pop-confirm-button.vue.mjs";
54
+ import { useModalContext as be } from "./modal/hooks/use-modal-context.mjs";
55
+ import { useModal as De, useModalInner as ve } from "./modal/hooks/use-modal.mjs";
56
+ import { default as Be } from "./pro-table/pro-table.vue.mjs";
57
+ import { default as he } from "./pro-table/components/table-action.vue.mjs";
58
+ import { default as Ge } from "./pro-table/components/edit-table-header-icon.vue.mjs";
59
+ import { default as Ne } from "./pro-table/components/table-image.vue.mjs";
60
+ import { useTable as Le } from "./pro-table/hooks/use-table.mjs";
61
+ import { default as Ke } from "./ap-form/items/text/index.vue.mjs";
62
+ import { default as Ee } from "./ap-form/items/text-area/index.vue.mjs";
63
+ import { default as He } from "./ap-form/items/number/index.vue.mjs";
64
+ import { default as ze } from "./ap-form/items/date/index.vue.mjs";
65
+ import { default as je } from "./ap-form/items/date-range/index.vue.mjs";
66
+ import { default as Je } from "./ap-form/items/radio/index.vue.mjs";
67
+ import { default as Ve } from "./ap-form/items/select/index.vue.mjs";
68
+ import { default as _e } from "./ap-form/items/switch/index.vue.mjs";
69
+ import { default as or } from "./ap-form/ap-form-item.vue.mjs";
70
+ import { default as rr } from "./ap-form/ap-form-item-group/index.vue.mjs";
71
+ import { default as ar } from "./ap-form/ap-form-list.vue.mjs";
72
+ import { default as fr } from "./ap-form/search-form/index.vue.mjs";
73
+ import { default as lr } from "./ap-form/modal-form/index.vue.mjs";
74
+ import { default as dr } from "./ap-field/text/index.vue.mjs";
75
+ import { default as xr } from "./ap-field/checkbox/index.vue.mjs";
76
+ import { default as ur } from "./ap-field/date/index.vue.mjs";
77
+ import { default as cr } from "./ap-field/number/index.vue.mjs";
78
+ import { default as Fr } from "./ap-field/radio/index.vue.mjs";
79
+ import { default as Sr } from "./ap-field/switch/index.vue.mjs";
80
+ import { default as gr } from "./ap-field/text-area/index.vue.mjs";
81
+ import { default as Pr } from "./ap-field/date-range/index.vue.mjs";
82
+ import { default as vr } from "./ap-field/select/index.vue.mjs";
83
+ import { default as Br } from "./ap-action/item-modal/index.vue.mjs";
84
+ import { default as hr } from "./ap-action/item-popconfirm/index.vue.mjs";
85
+ import { default as Gr } from "./ap-action/item-dropdown/index.vue.mjs";
86
+ import { default as Nr } from "./ap-action/group/index.vue.mjs";
87
+ import { generateTableList as Lr } from "./ap-custom-column/utils.mjs";
88
+ import { useCacheColumnSetting as Kr } from "./ap-custom-column/useCacheColumnSetting.mjs";
89
+ import { default as Er } from "./ap-custom-column/custom-column.vue.mjs";
90
+ import { default as Hr } from "./ap-custom-column/column-select.vue.mjs";
91
+ import { DictCode as zr } from "./work-order-modal/interfaces.mjs";
92
+ import { createWorkOrderModal as jr } from "./work-order-modal/createWorkOrder.mjs";
93
+ import { default as Jr } from "./work-order-modal/work-order-modal.vue.mjs";
94
+ import { default as Vr } from "./ap-tag/ap-tag.vue.mjs";
95
+ import { default as _r } from "./ap-tag/ap-tag-group.vue.mjs";
96
+ import { default as ot } from "./ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
97
+ import { NeedNameKeyDefault as rt } from "./ap-upload/apUploadTypes.mjs";
98
+ import { default as at } from "./ap-upload/apUpload.vue.mjs";
99
+ import { default as ft } from "./ap-download/ap-download.vue.mjs";
98
100
  export {
99
101
  n as APConfigProvider,
100
- hr as ApActionGroup,
102
+ Nr as ApActionGroup,
101
103
  uo as ApActionItem,
102
- Br as ApActionItemDropdown,
103
- Dr as ApActionItemModal,
104
- Pr as ApActionItemPopconfirm,
105
- Lr as ApCustomColumn,
106
- Kr as ApCustomSelect,
107
- rt as ApDownload,
104
+ Gr as ApActionItemDropdown,
105
+ Br as ApActionItemModal,
106
+ hr as ApActionItemPopconfirm,
107
+ Er as ApCustomColumn,
108
+ Hr as ApCustomSelect,
109
+ ft as ApDownload,
108
110
  lo as ApField,
109
- lr as ApFieldCheckbox,
110
- ir as ApFieldDate,
111
- Sr as ApFieldDateRange,
112
- xr as ApFieldNumber,
113
- ur as ApFieldRadio,
114
- gr as ApFieldSelect,
115
- cr as ApFieldSwitch,
116
- fr as ApFieldText,
117
- Fr as ApFieldTextArea,
111
+ xr as ApFieldCheckbox,
112
+ ur as ApFieldDate,
113
+ Pr as ApFieldDateRange,
114
+ cr as ApFieldNumber,
115
+ Fr as ApFieldRadio,
116
+ vr as ApFieldSelect,
117
+ Sr as ApFieldSwitch,
118
+ dr as ApFieldText,
119
+ gr as ApFieldTextArea,
118
120
  fo as ApForm,
119
- Ve as ApFormItem,
120
- Ee as ApFormItemDate,
121
- He as ApFormItemDateRange,
122
- _e as ApFormItemGroup,
123
- Ke as ApFormItemNumber,
124
- ze as ApFormItemRadio,
125
- je as ApFormItemSelect,
126
- Je as ApFormItemSwitch,
127
- Ne as ApFormItemText,
128
- Le as ApFormItemTextArea,
129
- or as ApFormList,
130
- ar as ApFormModalForm,
131
- rr as ApFormSearchForm,
132
- Vr as ApInfoLayout,
133
- jr as ApTag,
134
- Jr as ApTagGroup,
135
- ot as ApUpload,
121
+ or as ApFormItem,
122
+ ze as ApFormItemDate,
123
+ je as ApFormItemDateRange,
124
+ rr as ApFormItemGroup,
125
+ He as ApFormItemNumber,
126
+ Je as ApFormItemRadio,
127
+ Ve as ApFormItemSelect,
128
+ _e as ApFormItemSwitch,
129
+ Ke as ApFormItemText,
130
+ Ee as ApFormItemTextArea,
131
+ ar as ApFormList,
132
+ lr as ApFormModalForm,
133
+ fr as ApFormSearchForm,
134
+ ot as ApInfoLayout,
135
+ Vr as ApTag,
136
+ _r as ApTagGroup,
137
+ at as ApUpload,
136
138
  $o as ApiCascader,
137
139
  ee as ApiRadioGroup,
138
140
  te as ApiSelect,
@@ -143,7 +145,7 @@ export {
143
145
  J as BaseModal,
144
146
  g as BasicArrow,
145
147
  b as BasicHelp,
146
- D as BasicTitle,
148
+ P as BasicTitle,
147
149
  T as CollapseContainer,
148
150
  Ho as CollapseTransition,
149
151
  Lo as ConfigProvider,
@@ -152,20 +154,22 @@ export {
152
154
  V as CropperAvatar,
153
155
  Z as CropperImage,
154
156
  E as Description,
155
- Er as DictCode,
157
+ zr as DictCode,
156
158
  ao as Dropdown,
157
- Be as EditTableHeaderIcon,
158
- P as ExpandTransition,
159
+ Ge as EditTableHeaderIcon,
160
+ v as ExpandTransition,
159
161
  R as ExpandXTransition,
160
162
  B as FadeTransition,
161
163
  H as Field,
162
- i as Icon,
164
+ d as Icon,
163
165
  S as IconPicker,
164
- Ae as ModalButton,
165
- _r as NeedNameKeyDefault,
166
- Te as PopConfirmButton,
167
- de as ProForm,
168
- De as ProTable,
166
+ Ce as ModalButton,
167
+ rt as NeedNameKeyDefault,
168
+ Ie as PopConfirmButton,
169
+ ie as ProForm,
170
+ Be as ProTable,
171
+ Ae as ProTableForm,
172
+ Te as ProTableFormInner,
169
173
  se as RadioButtonGroup,
170
174
  M as ScaleRotateTransition,
171
175
  h as ScaleTransition,
@@ -180,21 +184,21 @@ export {
180
184
  X as SlideYReverseTransition,
181
185
  K as SlideYTransition,
182
186
  j as StrengthMeter,
183
- d as SvgIcon,
184
- Pe as TableAction,
185
- he as TableImg,
186
- zr as WorkOrderModal,
187
+ i as SvgIcon,
188
+ he as TableAction,
189
+ Ne as TableImg,
190
+ Jr as WorkOrderModal,
187
191
  io as adminToken,
188
192
  xo as aplusToken,
189
- vo as buildLocaleContext,
190
- Po as buildTranslator,
193
+ Do as buildLocaleContext,
194
+ vo as buildTranslator,
191
195
  Fo as configProviderContextKey,
192
196
  co as configProviderProps,
193
197
  ro as createPrompt,
194
- Hr as createWorkOrderModal,
198
+ jr as createWorkOrderModal,
195
199
  wo as defaultNamespace,
196
200
  Eo as en,
197
- Gr as generateTableList,
201
+ Lr as generateTableList,
198
202
  Vo as isComponentFormSchema,
199
203
  Zo as isSlotFormSchema,
200
204
  Io as keysOf,
@@ -203,17 +207,17 @@ export {
203
207
  go as provideGlobalConfig,
204
208
  Co as tableDefaultConfig,
205
209
  Bo as translate,
206
- Nr as useCacheColumnSetting,
210
+ Kr as useCacheColumnSetting,
207
211
  jo as useComponentRegister,
208
212
  zo as useDescription,
209
213
  Jo as useForm,
210
214
  ko as useGetDerivedNamespace,
211
215
  bo as useGlobalConfig,
212
216
  Mo as useLocale,
213
- Ie as useModal,
214
- Ce as useModalContext,
215
- ge as useModalInner,
217
+ De as useModal,
218
+ be as useModalContext,
219
+ ve as useModalInner,
216
220
  No as useNamespace,
217
- Ge as useTable,
221
+ Le as useTable,
218
222
  Ko as zhCn
219
223
  };
@@ -213,8 +213,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
213
213
  type: NumberConstructor;
214
214
  };
215
215
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
216
- cancel: (...args: any[]) => void;
217
216
  ok: (...args: any[]) => void;
217
+ cancel: (...args: any[]) => void;
218
218
  "height-change": (...args: any[]) => void;
219
219
  fullscreen: (...args: any[]) => void;
220
220
  "open-change": (...args: any[]) => void;
@@ -213,8 +213,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
213
213
  type: NumberConstructor;
214
214
  };
215
215
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
216
- cancel: (...args: any[]) => void;
217
216
  ok: (...args: any[]) => void;
217
+ cancel: (...args: any[]) => void;
218
218
  }, string, PublicProps, Readonly< ExtractPropTypes<{
219
219
  open: {
220
220
  type: BooleanConstructor;
@@ -24,10 +24,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
24
24
  onChange?: ((...args: any[]) => any) | undefined;
25
25
  onDefaultChange?: ((...args: any[]) => any) | undefined;
26
26
  }, {
27
- immediate: boolean;
28
27
  resultField: string;
29
28
  labelField: string;
30
29
  valueField: string;
30
+ immediate: boolean;
31
31
  childrenField: string;
32
32
  apiParamKey: string;
33
33
  initFetchParams: Record<string, any>;
@@ -24,11 +24,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
24
24
  "onOptions-change"?: ((...args: any[]) => any) | undefined;
25
25
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
26
26
  }, {
27
- immediate: boolean;
28
27
  params: string | Record<string, any>;
29
28
  resultField: string;
30
29
  labelField: string;
31
30
  valueField: string;
31
+ immediate: boolean;
32
32
  isBtn: boolean;
33
33
  }, {}>;
34
34
  export default _default;
@@ -40,13 +40,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
40
40
  "onOptions-change"?: ((...args: any[]) => any) | undefined;
41
41
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
42
42
  }, {
43
- immediate: boolean;
44
- options: ApiSelectOption[];
45
43
  params: Record<string, any>;
46
44
  resultField: string;
47
45
  labelField: string;
48
46
  valueField: string;
47
+ immediate: boolean;
49
48
  alwaysLoad: boolean;
49
+ options: ApiSelectOption[];
50
50
  }, {}>, Partial<Record<NonNullable<keyof SelectSlotsType>, (_: any) => any>>>;
51
51
  export default _default;
52
52
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -27,10 +27,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
27
27
  "onOptions-change"?: ((...args: any[]) => any) | undefined;
28
28
  }, {
29
29
  disabled: boolean;
30
- immediate: boolean;
31
30
  resultField: string;
32
31
  labelField: string;
33
32
  valueField: string;
33
+ immediate: boolean;
34
34
  alwaysLoad: boolean;
35
35
  showSearch: boolean;
36
36
  showSelectAll: boolean;
@@ -25,10 +25,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
25
25
  "onOptions-change"?: ((...args: any[]) => any) | undefined;
26
26
  "onLoad-data"?: ((...args: any[]) => any) | undefined;
27
27
  }, {
28
- immediate: boolean;
29
28
  resultField: string;
30
29
  labelField: string;
31
30
  valueField: string;
31
+ immediate: boolean;
32
32
  async: boolean;
33
33
  childrenField: string;
34
34
  }, {}>, Partial<Record<NonNullable<AntdTreeSelectSlotNames>, (_: any) => any>>>;
@@ -17,8 +17,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
17
17
  "onOptions-change"?: ((...args: any[]) => any) | undefined;
18
18
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
19
19
  }, {
20
- immediate: boolean;
21
20
  resultField: string;
21
+ immediate: boolean;
22
22
  }, {}>, Partial<Record<NonNullable<AntdTreeSlotNames>, (_: any) => any>>>;
23
23
  export default _default;
24
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -96,8 +96,8 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
96
96
  offset: string | number;
97
97
  } | ColSize | undefined;
98
98
  prefixCls?: string | undefined;
99
- span?: (string | number) | undefined;
100
99
  push?: (string | number) | undefined;
100
+ span?: (string | number) | undefined;
101
101
  flex?: (string | number) | undefined;
102
102
  order?: (string | number) | undefined;
103
103
  offset?: (string | number) | undefined;
@@ -110,7 +110,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
110
110
  contextmenu?: string | undefined;
111
111
  dir?: string | undefined;
112
112
  draggable?: (boolean | "true" | "false") | undefined;
113
- hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
113
+ hidden?: "" | (boolean | "true" | "false") | "hidden" | "until-found" | undefined;
114
114
  id?: string | undefined;
115
115
  inert?: (boolean | "true" | "false") | undefined;
116
116
  lang?: string | undefined;
@@ -145,18 +145,18 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
145
145
  is?: string | undefined;
146
146
  'aria-activedescendant'?: string | undefined;
147
147
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
148
- 'aria-autocomplete'?: "none" | "inline" | "both" | "list" | undefined;
148
+ 'aria-autocomplete'?: "inline" | "none" | "both" | "list" | undefined;
149
149
  'aria-busy'?: (boolean | "true" | "false") | undefined;
150
150
  'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
151
151
  'aria-colcount'?: (string | number) | undefined;
152
152
  'aria-colindex'?: (string | number) | undefined;
153
153
  'aria-colspan'?: (string | number) | undefined;
154
154
  'aria-controls'?: string | undefined;
155
- 'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
155
+ 'aria-current'?: "time" | (boolean | "true" | "false") | "page" | "date" | "step" | "location" | undefined;
156
156
  'aria-describedby'?: string | undefined;
157
157
  'aria-details'?: string | undefined;
158
158
  'aria-disabled'?: (boolean | "true" | "false") | undefined;
159
- 'aria-dropeffect'?: "link" | "copy" | "none" | "move" | "execute" | "popup" | undefined;
159
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
160
160
  'aria-errormessage'?: string | undefined;
161
161
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
162
162
  'aria-flowto'?: string | undefined;
@@ -301,8 +301,8 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
301
301
  offset: string | number;
302
302
  } | ColSize | undefined;
303
303
  prefixCls?: string | undefined;
304
- span?: (string | number) | undefined;
305
304
  push?: (string | number) | undefined;
305
+ span?: (string | number) | undefined;
306
306
  flex?: (string | number) | undefined;
307
307
  order?: (string | number) | undefined;
308
308
  offset?: (string | number) | undefined;
@@ -6,6 +6,8 @@ import { default as ApiTree } from './components/api-tree.vue';
6
6
  import { default as ApiTreeSelect } from './components/api-tree-select.vue';
7
7
  import { default as RadioButtonGroup } from './components/radio-button-group.vue';
8
8
  import { default as ProForm } from './pro-form.vue';
9
+ import { default as ProTableForm } from './table-form.vue';
10
+ import { default as ProTableFormInner } from './table-form-inner.vue';
9
11
 
10
12
  type FieldType = {
11
13
  ApiCascader: typeof ApiCascader;
@@ -20,6 +22,7 @@ declare const Field: FieldType;
20
22
  export * from './components/interface';
21
23
  export * from './types/form';
22
24
  export * from './types/form-item';
25
+ export * from './types/table-form';
23
26
  export { useComponentRegister } from './hooks/use-component-register';
24
27
  export { useForm } from './hooks/use-form';
25
- export { Field, ApiCascader, ApiRadioGroup, ApiSelect, ApiTransfer, ApiTree, RadioButtonGroup, ProForm, ApiTreeSelect };
28
+ export { Field, ApiCascader, ApiRadioGroup, ApiSelect, ApiTransfer, ApiTree, RadioButtonGroup, ProForm, ApiTreeSelect, ProTableForm, ProTableFormInner };
@@ -6,11 +6,14 @@ import "./components/api-tree.vue2.mjs";
6
6
  import "./components/api-tree-select.vue2.mjs";
7
7
  import "./components/radio-button-group.vue2.mjs";
8
8
  import "./pro-form.vue2.mjs";
9
+ import "./table-form.vue2.mjs";
10
+ import "./table-form-inner.vue2.mjs";
9
11
  import "./components/interface.mjs";
10
- import { isComponentFormSchema as g, isSlotFormSchema as b } from "./types/form.mjs";
12
+ import { isComponentFormSchema as k, isSlotFormSchema as q } from "./types/form.mjs";
11
13
  import "./types/form-item.mjs";
12
- import { useComponentRegister as k } from "./hooks/use-component-register.mjs";
13
- import { useForm as v } from "./hooks/use-form.mjs";
14
+ import "./types/table-form.mjs";
15
+ import { useComponentRegister as w } from "./hooks/use-component-register.mjs";
16
+ import { useForm as z } from "./hooks/use-form.mjs";
14
17
  import o from "./components/api-cascader.vue.mjs";
15
18
  import r from "./components/api-radio-group.vue.mjs";
16
19
  import i from "./components/api-select.vue.mjs";
@@ -18,7 +21,7 @@ import m from "./components/api-transfer.vue.mjs";
18
21
  import p from "./components/api-tree.vue.mjs";
19
22
  import t from "./components/api-tree-select.vue.mjs";
20
23
  import e from "./components/radio-button-group.vue.mjs";
21
- const G = {
24
+ const g = {
22
25
  ApiCascader: o,
23
26
  ApiRadioGroup: r,
24
27
  ApiSelect: i,
@@ -34,10 +37,10 @@ export {
34
37
  m as ApiTransfer,
35
38
  p as ApiTree,
36
39
  t as ApiTreeSelect,
37
- G as Field,
40
+ g as Field,
38
41
  e as RadioButtonGroup,
39
- g as isComponentFormSchema,
40
- b as isSlotFormSchema,
41
- k as useComponentRegister,
42
- v as useForm
42
+ k as isComponentFormSchema,
43
+ q as isSlotFormSchema,
44
+ w as useComponentRegister,
45
+ z as useForm
43
46
  };
@@ -37,8 +37,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
37
37
  submit: (e?: Event | undefined) => Promise<void>;
38
38
  scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
39
39
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
- reset: (...args: any[]) => void;
41
40
  submit: (...args: any[]) => void;
41
+ reset: (...args: any[]) => void;
42
42
  register: (...args: any[]) => void;
43
43
  "advanced-change": (...args: any[]) => void;
44
44
  "field-value-change": (...args: any[]) => void;
@@ -0,0 +1,101 @@
1
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-table-tbody > tr > td,
2
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
3
+ padding: 18px 16px 0px ;
4
+ }
5
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-table-body .ant-table-tbody > tr.ant-table-row > td:first-child {
6
+ padding: 18px 16px 0 ;
7
+ }
8
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-form-item {
9
+ margin-bottom: 18px;
10
+ }
11
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-form-item .ant-form-item-explain {
12
+ line-height: 18px;
13
+ }
14
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-form-item .ant-form-item-explain + div {
15
+ height: 18px ;
16
+ }
17
+ .aplus-pro-table-form .table-form-admin .ant-table .ant-table-thead > tr > th {
18
+ padding: 10.5px 16px !important;
19
+ background: #fafafa;
20
+ color: #182948;
21
+ }
22
+ .aplus-pro-table-form .table-form-aplus .ant-form-item {
23
+ margin-bottom: 0;
24
+ }
25
+ .aplus-pro-table-form .table-form-aplus .ant-form-item-has-error.ant-form-item {
26
+ margin-bottom: 24px;
27
+ }
28
+ .aplus-pro-table-form .table-form-aplus .ant-table-tbody > tr > td,
29
+ .aplus-pro-table-form .table-form-aplus .ant-table-body .ant-table-tbody > tr.ant-table-row > td {
30
+ padding: 16px 8px ;
31
+ }
32
+ .aplus-pro-table-form .table-form-aplus .ant-table-body .ant-table-tbody > tr.ant-table-row > td:first-child {
33
+ padding: 16px 8px ;
34
+ }
35
+ .aplus-pro-table-form .ant-table {
36
+ border-radius: 0 !important;
37
+ }
38
+ .aplus-pro-table-form .ant-table .ant-table-container table > thead > tr:first-child > *:first-child {
39
+ border-start-start-radius: 0;
40
+ }
41
+ .aplus-pro-table-form .ant-table .ant-table-container table > thead > tr:first-child > *:last-child {
42
+ border-start-end-radius: 0;
43
+ }
44
+ .aplus-pro-table-form .ant-table .ant-table-container,
45
+ .aplus-pro-table-form .ant-table .ant-table-thead {
46
+ border-start-start-radius: 0;
47
+ border-start-end-radius: 0;
48
+ }
49
+ .aplus-pro-table-form .ant-table .ant-table-thead > tr > th {
50
+ padding: 15.5px 8px !important;
51
+ background: #f2f6f9;
52
+ color: #182948;
53
+ text-align: left !important;
54
+ }
55
+ .aplus-pro-table-form .ant-table .ant-table-thead > tr > th::before {
56
+ display: none;
57
+ visibility: hidden;
58
+ width: 0;
59
+ }
60
+ .aplus-pro-table-form .ant-table .ant-table-content {
61
+ overflow-x: scroll;
62
+ }
63
+ .aplus-pro-table-form .ant-table-row.ant-table-row-level-0 .ant-table-cell {
64
+ vertical-align: top;
65
+ }
66
+ .aplus-pro-table-form--required {
67
+ color: #FF4D4F;
68
+ margin-top: 4px;
69
+ }
70
+ .aplus-pro-table-form--edit-cell {
71
+ width: 100%;
72
+ height: 100%;
73
+ display: flex;
74
+ align-items: flex-start;
75
+ justify-content: flex-start;
76
+ }
77
+ .aplus-pro-table-form--form-item {
78
+ width: 100%;
79
+ }
80
+ .aplus-pro-table-form--edit-wraper {
81
+ display: flex;
82
+ }
83
+ .aplus-pro-table-form--field-error .ant-input-number,
84
+ .aplus-pro-table-form--field-error .ant-input {
85
+ border-color: #ff4d4f;
86
+ }
87
+ .aplus-pro-table-form--text-cell {
88
+ margin-top: 5px;
89
+ }
90
+ .aplus-pro-table-form--action-cell {
91
+ display: flex;
92
+ align-items: center;
93
+ margin-top: 5px;
94
+ }
95
+ .aplus-pro-table-form--error-tip {
96
+ margin-left: 8px;
97
+ color: #FF4D4F;
98
+ }
99
+ .aplus-pro-table-form .ant-input-number {
100
+ width: 100% !important;
101
+ }