@aplus-frontend/ui 0.1.14 → 0.1.16
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.
- package/es/index.mjs +56 -54
- package/es/src/ap-table/ap-table.vue.mjs +132 -129
- package/es/src/ap-table/interface.d.ts +20 -13
- package/es/src/ap-table/utils.d.ts +8340 -1
- package/es/src/ap-table/utils.mjs +135 -79
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +31 -28
- package/es/src/business/ap-input-radio/interface.d.ts +1 -1
- package/es/src/business/ap-label/style.css +3 -0
- package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +12 -14
- package/es/src/business/index.d.ts +2 -2
- package/es/src/business/index.mjs +20 -18
- package/es/src/config-provider/config-provider-props.d.ts +5 -1
- package/es/src/config-provider/config-provider-props.mjs +4 -0
- package/es/src/config-provider/config-provider.d.ts +10 -1
- package/es/src/config-provider/config-provider.mjs +18 -17
- package/es/src/config-provider/constants.d.ts +6 -2
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +20 -1
- package/es/src/editable-table/form-item.vue.mjs +85 -72
- package/es/src/editable-table/index.vue.d.ts +1 -0
- package/es/src/editable-table/index.vue.mjs +118 -95
- package/es/src/editable-table/interface.d.ts +6 -1
- package/es/src/editable-table/utils.mjs +31 -30
- package/es/src/hooks/useControllableValue.mjs +3 -0
- package/es/src/index.mjs +45 -43
- package/es/src/theme/antd-global-overwrite/admin/form.css +10 -12
- package/es/src/theme/antd-global-overwrite/admin/index.css +117 -45
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +54 -16
- package/es/src/theme/antd-global-overwrite/admin/table.css +53 -17
- package/es/src/theme/antd-global-overwrite/aplus/form.css +28 -21
- package/es/src/theme/antd-global-overwrite/aplus/index.css +159 -74
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +66 -20
- package/es/src/theme/antd-global-overwrite/aplus/table.css +65 -33
- package/es/src/theme/ap-label/ap-label.css +3 -0
- package/es/src/utils/ap-trans-data/index.d.ts +11 -0
- package/es/src/utils/ap-trans-data/index.mjs +20 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/interface.d.ts +20 -13
- package/lib/src/ap-table/utils.d.ts +8340 -1
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
- package/lib/src/business/ap-label/style.css +3 -0
- package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -1
- package/lib/src/business/index.d.ts +2 -2
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +5 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +10 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +6 -2
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +20 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -0
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +6 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/form.css +10 -12
- package/lib/src/theme/antd-global-overwrite/admin/index.css +117 -45
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +54 -16
- package/lib/src/theme/antd-global-overwrite/admin/table.css +53 -17
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +28 -21
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +159 -74
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +66 -20
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +65 -33
- package/lib/src/theme/ap-label/ap-label.css +3 -0
- package/lib/src/utils/ap-trans-data/index.d.ts +11 -0
- package/lib/src/utils/ap-trans-data/index.js +1 -0
- package/package.json +3 -3
package/es/index.mjs
CHANGED
|
@@ -2,26 +2,26 @@ import * as e from "./src/index.mjs";
|
|
|
2
2
|
import "./src/hooks/index.mjs";
|
|
3
3
|
import { Icon as l, SvgIcon as s } from "./src/icon/index.mjs";
|
|
4
4
|
import { configProviderProps as x } from "./src/config-provider/config-provider-props.mjs";
|
|
5
|
-
import { configProviderContextKey as
|
|
6
|
-
import { keysOf as c, provideGlobalConfig as
|
|
7
|
-
import { buildLocaleContext as S, buildTranslator as b, localeContextKey as I, translate as g, useLocale as
|
|
5
|
+
import { configProviderContextKey as n, tableDefaultConfig as u } from "./src/config-provider/constants.mjs";
|
|
6
|
+
import { keysOf as c, provideGlobalConfig as T, useGlobalConfig as F } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
+
import { buildLocaleContext as S, buildTranslator as b, localeContextKey as I, translate as g, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { defaultNamespace as h, namespaceContextKey as R, useGetDerivedNamespace as v, useNamespace as G } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { ConfigProvider as w, globalConfigCached as B } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as L } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { Scrollbar as y } from "./src/scroll-bar/index.mjs";
|
|
12
12
|
import { CollapseContainer as K, ScrollContainer as X } from "./src/container/index.mjs";
|
|
13
|
-
import { IconPicker as
|
|
13
|
+
import { IconPicker as H } from "./src/icon-picker/index.mjs";
|
|
14
14
|
import { default as W } from "./src/locale/lang/zh-cn.mjs";
|
|
15
15
|
import { default as U } from "./src/locale/lang/en.mjs";
|
|
16
16
|
import { BasicArrow as $, BasicHelp as j, BasicTitle as q } from "./src/basic/index.mjs";
|
|
17
17
|
import { default as Q } from "./src/transition/collapse-transition.vue.mjs";
|
|
18
18
|
import { ExpandTransition as _, ExpandXTransition as oo, FadeTransition as eo, ScaleRotateTransition as ro, ScaleTransition as to, ScrollXReverseTransition as ao, ScrollXTransition as po, ScrollYReverseTransition as fo, ScrollYTransition as mo, SlideXReverseTransition as lo, SlideXTransition as so, SlideYReverseTransition as xo, SlideYTransition as io } from "./src/transition/index.mjs";
|
|
19
|
-
import { useDescription as
|
|
19
|
+
import { useDescription as uo } from "./src/description/use-description.mjs";
|
|
20
20
|
import { Description as co } from "./src/description/index.mjs";
|
|
21
|
-
import { useComponentRegister as
|
|
21
|
+
import { useComponentRegister as Fo } from "./src/pro-form/hooks/use-component-register.mjs";
|
|
22
22
|
import { useForm as So } from "./src/pro-form/hooks/use-form.mjs";
|
|
23
23
|
import { isComponentFormSchema as Io, isSlotFormSchema as go } from "./src/pro-form/types/form.mjs";
|
|
24
|
-
import { Field as
|
|
24
|
+
import { Field as Po } from "./src/pro-form/index.mjs";
|
|
25
25
|
import { default as Ro } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
26
|
import { default as Go } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
27
|
import { default as wo } from "./src/pro-form/components/api-select.vue.mjs";
|
|
@@ -29,7 +29,7 @@ import { default as ko } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
|
29
29
|
import { default as No } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
30
30
|
import { default as Eo } from "./src/pro-form/components/radio-button-group.vue.mjs";
|
|
31
31
|
import { default as Xo } from "./src/pro-form/pro-form.vue.mjs";
|
|
32
|
-
import { default as
|
|
32
|
+
import { default as Ho } from "./src/pro-form/components/api-tree-select.vue.mjs";
|
|
33
33
|
import { default as Wo } from "./src/pro-form/table-form.vue.mjs";
|
|
34
34
|
import { default as Uo } from "./src/pro-form/table-form-inner.vue.mjs";
|
|
35
35
|
import { default as $o } from "./src/base-button/modal-button.vue.mjs";
|
|
@@ -41,12 +41,12 @@ import { useModal as te, useModalInner as ae } from "./src/modal/hooks/use-modal
|
|
|
41
41
|
import { BaseModal as fe } from "./src/modal/index.mjs";
|
|
42
42
|
import { CropperAvatar as le, CropperImage as se } from "./src/cropper/index.mjs";
|
|
43
43
|
import { CountdownButton as xe, CountdownInput as ie } from "./src/count-down/index.mjs";
|
|
44
|
-
import { createPrompt as
|
|
44
|
+
import { createPrompt as ue } from "./src/prompt/index.mjs";
|
|
45
45
|
import { Dropdown as ce } from "./src/dropdown/index.mjs";
|
|
46
|
-
import { default as
|
|
46
|
+
import { default as Fe } from "./src/pro-table/pro-table.vue.mjs";
|
|
47
47
|
import { default as Se } from "./src/pro-table/components/table-action.vue.mjs";
|
|
48
48
|
import { default as Ie } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
49
|
-
import { default as
|
|
49
|
+
import { default as De } from "./src/pro-table/components/table-image.vue.mjs";
|
|
50
50
|
import { useTable as he } from "./src/pro-table/hooks/use-table.mjs";
|
|
51
51
|
import { ApFormItemText as ve } from "./src/ap-form/items/text/index.mjs";
|
|
52
52
|
import { default as Me } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
@@ -55,7 +55,7 @@ import { default as Le } from "./src/ap-form/items/date/index.vue.mjs";
|
|
|
55
55
|
import { default as ye } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
56
56
|
import { default as Ke } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
57
57
|
import { default as Ye } from "./src/ap-form/items/select/index.vue.mjs";
|
|
58
|
-
import { default as
|
|
58
|
+
import { default as Oe } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
59
59
|
import { default as ze } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
60
60
|
import { default as Ve } from "./src/ap-form/items/text/password.vue.mjs";
|
|
61
61
|
import { ApForm as je } from "./src/ap-form/index.mjs";
|
|
@@ -68,12 +68,12 @@ import { ApField as fr } from "./src/ap-field/index.mjs";
|
|
|
68
68
|
import { ApFieldText as lr } from "./src/ap-field/text/index.mjs";
|
|
69
69
|
import { default as dr } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
70
70
|
import { default as ir } from "./src/ap-field/date/index.vue.mjs";
|
|
71
|
-
import { default as
|
|
71
|
+
import { default as ur } from "./src/ap-field/number/index.vue.mjs";
|
|
72
72
|
import { default as cr } from "./src/ap-field/radio/index.vue.mjs";
|
|
73
|
-
import { default as
|
|
73
|
+
import { default as Fr } from "./src/ap-field/switch/index.vue.mjs";
|
|
74
74
|
import { default as Sr } from "./src/ap-field/text-area/index.vue.mjs";
|
|
75
75
|
import { default as Ir } from "./src/ap-field/date-range/index.vue.mjs";
|
|
76
|
-
import { default as
|
|
76
|
+
import { default as Dr } from "./src/ap-field/select/index.vue.mjs";
|
|
77
77
|
import { default as hr } from "./src/ap-field/text/password.vue.mjs";
|
|
78
78
|
import { default as vr } from "./src/ap-field/slider/index.vue.mjs";
|
|
79
79
|
import { default as Mr } from "./src/ap-field/segmented/index.vue.mjs";
|
|
@@ -81,7 +81,7 @@ import { default as Br } from "./src/ap-field/rate/index.vue.mjs";
|
|
|
81
81
|
import { adminToken as Lr, aplusToken as Nr } from "./src/design-token/index.mjs";
|
|
82
82
|
import { ApActionItem as Er } from "./src/ap-action/index.mjs";
|
|
83
83
|
import { default as Xr } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
84
|
-
import { default as
|
|
84
|
+
import { default as Hr } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
85
85
|
import { default as Wr } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
86
86
|
import { default as Ur } from "./src/ap-action/group/index.vue.mjs";
|
|
87
87
|
import { generateTableList as $r } from "./src/ap-custom-column/utils.mjs";
|
|
@@ -94,22 +94,23 @@ import { default as pt } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
|
94
94
|
import { default as mt } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
95
95
|
import { default as st } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
96
96
|
import { default as xt } from "./src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
|
|
97
|
-
import { NeedNameKeyDefault as
|
|
97
|
+
import { NeedNameKeyDefault as nt } from "./src/ap-upload/apUploadTypes.mjs";
|
|
98
98
|
import { default as At } from "./src/ap-upload/apUpload.vue.mjs";
|
|
99
|
-
import { ApDownLoadNeedNameKeyDefault as
|
|
99
|
+
import { ApDownLoadNeedNameKeyDefault as Tt } from "./src/ap-download/interface.mjs";
|
|
100
100
|
import { default as Ct } from "./src/ap-download/ap-download.vue.mjs";
|
|
101
101
|
import { CheckCard as bt } from "./src/check-card/index.mjs";
|
|
102
102
|
import { default as gt } from "./src/check-card/group.vue.mjs";
|
|
103
|
-
import { ApModal as
|
|
103
|
+
import { ApModal as Pt } from "./src/ap-modal/index.mjs";
|
|
104
104
|
import { default as Rt } from "./src/ap-list/index.vue.mjs";
|
|
105
105
|
import { ApBatchAction as Gt, ApExpandAlert as Mt, ApExportGroup as wt, ApInputRadio as Bt, ApLabel as kt, ApLabelGroup as Lt, ApSelectLayout as Nt, ApStatus as yt, ApStatusGroup as Et, ApTitle as Kt } from "./src/business/index.mjs";
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import { default as zt } from "./src/
|
|
109
|
-
import { default as Vt } from "./src/editable-table/
|
|
110
|
-
import { default as jt } from "./src/
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
106
|
+
import { ApTransformDataHelper as Yt } from "./src/utils/ap-trans-data/index.mjs";
|
|
107
|
+
import { useTablePaging as Ot } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
108
|
+
import { default as zt } from "./src/ap-table/ap-table.vue.mjs";
|
|
109
|
+
import { default as Vt } from "./src/editable-table/index.vue.mjs";
|
|
110
|
+
import { default as jt } from "./src/editable-table/form-item.vue.mjs";
|
|
111
|
+
import { default as Jt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
112
|
+
import { useMessage as Zt } from "./src/hooks/useMessage.mjs";
|
|
113
|
+
import { useControllableValue as oa } from "./src/hooks/useControllableValue.mjs";
|
|
113
114
|
const p = {
|
|
114
115
|
install: (r) => {
|
|
115
116
|
for (const t in e) {
|
|
@@ -124,12 +125,12 @@ export {
|
|
|
124
125
|
Er as ApActionItem,
|
|
125
126
|
Wr as ApActionItemDropdown,
|
|
126
127
|
Xr as ApActionItemModal,
|
|
127
|
-
|
|
128
|
+
Hr as ApActionItemPopconfirm,
|
|
128
129
|
Gt as ApBatchAction,
|
|
129
130
|
Qr as ApCustomColumn,
|
|
130
131
|
_r as ApCustomSelect,
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
Jt as ApDescriptions,
|
|
133
|
+
Tt as ApDownLoadNeedNameKeyDefault,
|
|
133
134
|
Ct as ApDownload,
|
|
134
135
|
Mt as ApExpandAlert,
|
|
135
136
|
wt as ApExportGroup,
|
|
@@ -137,14 +138,14 @@ export {
|
|
|
137
138
|
dr as ApFieldCheckbox,
|
|
138
139
|
ir as ApFieldDate,
|
|
139
140
|
Ir as ApFieldDateRange,
|
|
140
|
-
|
|
141
|
+
ur as ApFieldNumber,
|
|
141
142
|
hr as ApFieldPassword,
|
|
142
143
|
cr as ApFieldRadio,
|
|
143
144
|
Br as ApFieldRate,
|
|
144
145
|
Mr as ApFieldSegmented,
|
|
145
|
-
|
|
146
|
+
Dr as ApFieldSelect,
|
|
146
147
|
vr as ApFieldSlider,
|
|
147
|
-
|
|
148
|
+
Fr as ApFieldSwitch,
|
|
148
149
|
lr as ApFieldText,
|
|
149
150
|
Sr as ApFieldTextArea,
|
|
150
151
|
je as ApForm,
|
|
@@ -156,7 +157,7 @@ export {
|
|
|
156
157
|
Be as ApFormItemNumber,
|
|
157
158
|
Ke as ApFormItemRadio,
|
|
158
159
|
Ye as ApFormItemSelect,
|
|
159
|
-
|
|
160
|
+
Oe as ApFormItemSwitch,
|
|
160
161
|
ve as ApFormItemText,
|
|
161
162
|
Me as ApFormItemTextArea,
|
|
162
163
|
Ve as ApFormItemTextPassword,
|
|
@@ -168,21 +169,22 @@ export {
|
|
|
168
169
|
kt as ApLabel,
|
|
169
170
|
Lt as ApLabelGroup,
|
|
170
171
|
Rt as ApList,
|
|
171
|
-
|
|
172
|
+
Pt as ApModal,
|
|
172
173
|
Nt as ApSelectLayout,
|
|
173
174
|
yt as ApStatus,
|
|
174
175
|
Et as ApStatusGroup,
|
|
175
|
-
|
|
176
|
+
zt as ApTable,
|
|
176
177
|
mt as ApTag,
|
|
177
178
|
st as ApTagGroup,
|
|
178
179
|
Kt as ApTitle,
|
|
180
|
+
Yt as ApTransformDataHelper,
|
|
179
181
|
At as ApUpload,
|
|
180
182
|
Ro as ApiCascader,
|
|
181
183
|
Go as ApiRadioGroup,
|
|
182
184
|
wo as ApiSelect,
|
|
183
185
|
ko as ApiTransfer,
|
|
184
186
|
No as ApiTree,
|
|
185
|
-
|
|
187
|
+
Ho as ApiTreeSelect,
|
|
186
188
|
Qo as BaseButton,
|
|
187
189
|
fe as BaseModal,
|
|
188
190
|
$ as BasicArrow,
|
|
@@ -201,19 +203,19 @@ export {
|
|
|
201
203
|
et as DictCode,
|
|
202
204
|
ce as Dropdown,
|
|
203
205
|
Ie as EditTableHeaderIcon,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
Vt as EditableTable,
|
|
207
|
+
jt as EditableTableFormItem,
|
|
206
208
|
_ as ExpandTransition,
|
|
207
209
|
oo as ExpandXTransition,
|
|
208
210
|
eo as FadeTransition,
|
|
209
|
-
|
|
211
|
+
Po as Field,
|
|
210
212
|
l as Icon,
|
|
211
|
-
|
|
213
|
+
H as IconPicker,
|
|
212
214
|
$o as ModalButton,
|
|
213
|
-
|
|
215
|
+
nt as NeedNameKeyDefault,
|
|
214
216
|
qo as PopConfirmButton,
|
|
215
217
|
Xo as ProForm,
|
|
216
|
-
|
|
218
|
+
Fe as ProTable,
|
|
217
219
|
Wo as ProTableForm,
|
|
218
220
|
Uo as ProTableFormInner,
|
|
219
221
|
Eo as RadioButtonGroup,
|
|
@@ -232,15 +234,15 @@ export {
|
|
|
232
234
|
_o as StrengthMeter,
|
|
233
235
|
s as SvgIcon,
|
|
234
236
|
Se as TableAction,
|
|
235
|
-
|
|
237
|
+
De as TableImg,
|
|
236
238
|
pt as WorkOrderModal,
|
|
237
239
|
Lr as adminToken,
|
|
238
240
|
Nr as aplusToken,
|
|
239
241
|
S as buildLocaleContext,
|
|
240
242
|
b as buildTranslator,
|
|
241
|
-
|
|
243
|
+
n as configProviderContextKey,
|
|
242
244
|
x as configProviderProps,
|
|
243
|
-
|
|
245
|
+
ue as createPrompt,
|
|
244
246
|
tt as createWorkOrderModal,
|
|
245
247
|
p as default,
|
|
246
248
|
h as defaultNamespace,
|
|
@@ -252,23 +254,23 @@ export {
|
|
|
252
254
|
c as keysOf,
|
|
253
255
|
I as localeContextKey,
|
|
254
256
|
R as namespaceContextKey,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
+
T as provideGlobalConfig,
|
|
258
|
+
u as tableDefaultConfig,
|
|
257
259
|
g as translate,
|
|
258
260
|
qr as useCacheColumnSetting,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
261
|
+
Fo as useComponentRegister,
|
|
262
|
+
oa as useControllableValue,
|
|
263
|
+
uo as useDescription,
|
|
262
264
|
So as useForm,
|
|
263
265
|
v as useGetDerivedNamespace,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
266
|
+
F as useGlobalConfig,
|
|
267
|
+
D as useLocale,
|
|
268
|
+
Zt as useMessage,
|
|
267
269
|
te as useModal,
|
|
268
270
|
ee as useModalContext,
|
|
269
271
|
ae as useModalInner,
|
|
270
272
|
G as useNamespace,
|
|
271
273
|
he as useTable,
|
|
272
|
-
|
|
274
|
+
Ot as useTablePaging,
|
|
273
275
|
W as zhCn
|
|
274
276
|
};
|