@aplus-frontend/ui 0.1.15 → 0.1.17
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 +99 -95
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +26 -24
- package/es/src/ap-modal/index.d.ts +2 -2
- package/es/src/ap-modal/index.mjs +1 -1
- package/es/src/ap-modal/{type.d.ts → interface.d.ts} +3 -3
- package/es/src/ap-modal/utils/createModal.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.mjs +132 -129
- package/es/src/ap-table/interface.d.ts +19 -13
- package/es/src/ap-table/utils.d.ts +8340 -1
- package/es/src/ap-table/utils.mjs +134 -78
- package/es/src/business/ap-batch-action/index.css +2 -0
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +13 -0
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.mjs +4 -0
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +110 -0
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +17 -0
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.mjs +4 -0
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +50 -0
- package/es/src/business/ap-batch-action-group/interface.d.ts +41 -0
- package/es/src/business/ap-batch-action-group/interface.mjs +1 -0
- package/es/src/business/ap-image/ApImage.vue.d.ts +65 -0
- package/es/src/business/ap-image/ApImage.vue.mjs +4 -0
- package/es/src/business/ap-image/ApImage.vue2.mjs +56 -0
- package/es/src/business/ap-image/hooks/useOss.d.ts +11 -0
- package/es/src/business/ap-image/hooks/useOss.mjs +37 -0
- package/es/src/business/ap-image/imgs/admin-fallback.jpg.mjs +4 -0
- package/es/src/business/ap-image/imgs/aplus-fallback.jpg.mjs +4 -0
- package/es/src/business/index.d.ts +662 -1
- package/es/src/business/index.mjs +25 -16
- 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 -71
- package/es/src/editable-table/hooks/use-get-columns.d.ts +3 -2
- package/es/src/editable-table/hooks/use-get-columns.mjs +32 -32
- package/es/src/editable-table/index.vue.mjs +106 -92
- package/es/src/editable-table/interface.d.ts +7 -13
- package/es/src/editable-table/utils.d.ts +14 -2
- package/es/src/editable-table/utils.mjs +67 -57
- package/es/src/index.mjs +211 -207
- package/es/src/locale/lang/en.mjs +10 -7
- package/es/src/locale/lang/zh-cn.mjs +3 -0
- package/es/src/pro-form/hooks/use-label-width.d.ts +1 -1
- package/es/src/theme/antd-global-overwrite/admin/form.css +10 -5
- package/es/src/theme/antd-global-overwrite/admin/index.css +117 -38
- 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 -14
- package/es/src/theme/antd-global-overwrite/aplus/index.css +159 -67
- 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-batch-action/ap-batch-action.css +2 -0
- package/es/src/utils/ap-trans-data/index.d.ts +9 -10
- package/es/src/utils/ap-trans-data/index.mjs +20 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-modal/index.d.ts +2 -2
- package/lib/src/ap-modal/index.js +1 -1
- package/lib/src/ap-modal/{type.d.ts → interface.d.ts} +3 -3
- package/lib/src/ap-modal/utils/createModal.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/interface.d.ts +19 -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-batch-action/index.css +2 -0
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +13 -0
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.js +1 -0
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -0
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +17 -0
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.js +1 -0
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -0
- package/lib/src/business/ap-batch-action-group/interface.d.ts +41 -0
- package/lib/src/business/ap-batch-action-group/interface.js +1 -0
- package/lib/src/business/ap-image/ApImage.vue.d.ts +65 -0
- package/lib/src/business/ap-image/ApImage.vue.js +1 -0
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -0
- package/lib/src/business/ap-image/hooks/useOss.d.ts +11 -0
- package/lib/src/business/ap-image/hooks/useOss.js +1 -0
- package/lib/src/business/ap-image/imgs/admin-fallback.jpg.js +1 -0
- package/lib/src/business/ap-image/imgs/aplus-fallback.jpg.js +1 -0
- package/lib/src/business/index.d.ts +662 -1
- 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/hooks/use-get-columns.d.ts +3 -2
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +7 -13
- package/lib/src/editable-table/utils.d.ts +14 -2
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/form.css +10 -5
- package/lib/src/theme/antd-global-overwrite/admin/index.css +117 -38
- 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 -14
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +159 -67
- 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-batch-action/ap-batch-action.css +2 -0
- package/lib/src/utils/ap-trans-data/index.d.ts +9 -10
- package/lib/src/utils/ap-trans-data/index.js +1 -0
- package/package.json +2 -2
- /package/es/src/ap-modal/{type.mjs → interface.mjs} +0 -0
- /package/lib/src/ap-modal/{type.js → interface.js} +0 -0
package/es/index.mjs
CHANGED
|
@@ -2,34 +2,34 @@ 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
|
|
8
|
-
import { defaultNamespace as h, namespaceContextKey as R, useGetDerivedNamespace as
|
|
9
|
-
import { ConfigProvider 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 I, localeContextKey as b, translate as g, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { defaultNamespace as h, namespaceContextKey as R, useGetDerivedNamespace as G, useNamespace as v } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as M, globalConfigCached as w } 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
|
-
import { isComponentFormSchema as
|
|
24
|
-
import { Field as
|
|
23
|
+
import { isComponentFormSchema as bo, isSlotFormSchema as go } from "./src/pro-form/types/form.mjs";
|
|
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
|
-
import { default as
|
|
27
|
-
import { default as
|
|
26
|
+
import { default as vo } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
|
+
import { default as Mo } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
28
|
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,21 +41,21 @@ 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
|
-
import { default as
|
|
49
|
-
import { default as
|
|
48
|
+
import { default as be } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
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
|
-
import { ApFormItemText as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
51
|
+
import { ApFormItemText as Ge } from "./src/ap-form/items/text/index.mjs";
|
|
52
|
+
import { default as Be } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
53
|
+
import { default as we } from "./src/ap-form/items/number/index.vue.mjs";
|
|
54
54
|
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,20 +68,20 @@ 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
|
-
import { default as
|
|
76
|
-
import { default as
|
|
75
|
+
import { default as br } from "./src/ap-field/date-range/index.vue.mjs";
|
|
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
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
78
|
+
import { default as Gr } from "./src/ap-field/slider/index.vue.mjs";
|
|
79
|
+
import { default as Br } from "./src/ap-field/segmented/index.vue.mjs";
|
|
80
|
+
import { default as wr } 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
|
-
import { CheckCard as
|
|
101
|
+
import { CheckCard as It } 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
|
-
import { ApBatchAction as
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
105
|
+
import { ApBatchAction as vt, ApBatchActionGroup as Bt, ApExpandAlert as Mt, ApExportGroup as wt, ApImage as kt, ApInputRadio as Lt, ApLabel as Nt, ApLabelGroup as yt, ApSelectLayout as Et, ApStatus as Kt, ApStatusGroup as Xt, ApTitle as Yt } from "./src/business/index.mjs";
|
|
106
|
+
import { ApTransformDataHelper as Ot } from "./src/utils/ap-trans-data/index.mjs";
|
|
107
|
+
import { useTablePaging as zt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
108
|
+
import { default as Vt } from "./src/ap-table/ap-table.vue.mjs";
|
|
109
|
+
import { default as jt } from "./src/editable-table/index.vue.mjs";
|
|
110
|
+
import { default as Jt } from "./src/editable-table/form-item.vue.mjs";
|
|
111
|
+
import { default as Zt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
112
|
+
import { useMessage as oa } from "./src/hooks/useMessage.mjs";
|
|
113
|
+
import { useControllableValue as ra } from "./src/hooks/useControllableValue.mjs";
|
|
113
114
|
const p = {
|
|
114
115
|
install: (r) => {
|
|
115
116
|
for (const t in e) {
|
|
@@ -124,27 +125,28 @@ export {
|
|
|
124
125
|
Er as ApActionItem,
|
|
125
126
|
Wr as ApActionItemDropdown,
|
|
126
127
|
Xr as ApActionItemModal,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
Hr as ApActionItemPopconfirm,
|
|
129
|
+
vt as ApBatchAction,
|
|
130
|
+
Bt as ApBatchActionGroup,
|
|
129
131
|
Qr as ApCustomColumn,
|
|
130
132
|
_r as ApCustomSelect,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
+
Zt as ApDescriptions,
|
|
134
|
+
Tt as ApDownLoadNeedNameKeyDefault,
|
|
133
135
|
Ct as ApDownload,
|
|
134
136
|
Mt as ApExpandAlert,
|
|
135
137
|
wt as ApExportGroup,
|
|
136
138
|
fr as ApField,
|
|
137
139
|
dr as ApFieldCheckbox,
|
|
138
140
|
ir as ApFieldDate,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
br as ApFieldDateRange,
|
|
142
|
+
ur as ApFieldNumber,
|
|
141
143
|
hr as ApFieldPassword,
|
|
142
144
|
cr as ApFieldRadio,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
wr as ApFieldRate,
|
|
146
|
+
Br as ApFieldSegmented,
|
|
147
|
+
Dr as ApFieldSelect,
|
|
148
|
+
Gr as ApFieldSlider,
|
|
149
|
+
Fr as ApFieldSwitch,
|
|
148
150
|
lr as ApFieldText,
|
|
149
151
|
Sr as ApFieldTextArea,
|
|
150
152
|
je as ApForm,
|
|
@@ -153,46 +155,48 @@ export {
|
|
|
153
155
|
Le as ApFormItemDate,
|
|
154
156
|
ye as ApFormItemDateRange,
|
|
155
157
|
Ze as ApFormItemGroup,
|
|
156
|
-
|
|
158
|
+
we as ApFormItemNumber,
|
|
157
159
|
Ke as ApFormItemRadio,
|
|
158
160
|
Ye as ApFormItemSelect,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
Oe as ApFormItemSwitch,
|
|
162
|
+
Ge as ApFormItemText,
|
|
163
|
+
Be as ApFormItemTextArea,
|
|
162
164
|
Ve as ApFormItemTextPassword,
|
|
163
165
|
or as ApFormList,
|
|
164
166
|
ar as ApFormModalForm,
|
|
165
167
|
rr as ApFormSearchForm,
|
|
168
|
+
kt as ApImage,
|
|
166
169
|
xt as ApInfoLayout,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
+
Lt as ApInputRadio,
|
|
171
|
+
Nt as ApLabel,
|
|
172
|
+
yt as ApLabelGroup,
|
|
170
173
|
Rt as ApList,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
Pt as ApModal,
|
|
175
|
+
Et as ApSelectLayout,
|
|
176
|
+
Kt as ApStatus,
|
|
177
|
+
Xt as ApStatusGroup,
|
|
178
|
+
Vt as ApTable,
|
|
176
179
|
mt as ApTag,
|
|
177
180
|
st as ApTagGroup,
|
|
178
|
-
|
|
181
|
+
Yt as ApTitle,
|
|
182
|
+
Ot as ApTransformDataHelper,
|
|
179
183
|
At as ApUpload,
|
|
180
184
|
Ro as ApiCascader,
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
vo as ApiRadioGroup,
|
|
186
|
+
Mo as ApiSelect,
|
|
183
187
|
ko as ApiTransfer,
|
|
184
188
|
No as ApiTree,
|
|
185
|
-
|
|
189
|
+
Ho as ApiTreeSelect,
|
|
186
190
|
Qo as BaseButton,
|
|
187
191
|
fe as BaseModal,
|
|
188
192
|
$ as BasicArrow,
|
|
189
193
|
j as BasicHelp,
|
|
190
194
|
q as BasicTitle,
|
|
191
|
-
|
|
195
|
+
It as CheckCard,
|
|
192
196
|
gt as CheckCardGroup,
|
|
193
197
|
K as CollapseContainer,
|
|
194
198
|
Q as CollapseTransition,
|
|
195
|
-
|
|
199
|
+
M as ConfigProvider,
|
|
196
200
|
xe as CountdownButton,
|
|
197
201
|
ie as CountdownInput,
|
|
198
202
|
le as CropperAvatar,
|
|
@@ -200,20 +204,20 @@ export {
|
|
|
200
204
|
co as Description,
|
|
201
205
|
et as DictCode,
|
|
202
206
|
ce as Dropdown,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
207
|
+
be as EditTableHeaderIcon,
|
|
208
|
+
jt as EditableTable,
|
|
209
|
+
Jt as EditableTableFormItem,
|
|
206
210
|
_ as ExpandTransition,
|
|
207
211
|
oo as ExpandXTransition,
|
|
208
212
|
eo as FadeTransition,
|
|
209
|
-
|
|
213
|
+
Po as Field,
|
|
210
214
|
l as Icon,
|
|
211
|
-
|
|
215
|
+
H as IconPicker,
|
|
212
216
|
$o as ModalButton,
|
|
213
|
-
|
|
217
|
+
nt as NeedNameKeyDefault,
|
|
214
218
|
qo as PopConfirmButton,
|
|
215
219
|
Xo as ProForm,
|
|
216
|
-
|
|
220
|
+
Fe as ProTable,
|
|
217
221
|
Wo as ProTableForm,
|
|
218
222
|
Uo as ProTableFormInner,
|
|
219
223
|
Eo as RadioButtonGroup,
|
|
@@ -232,43 +236,43 @@ export {
|
|
|
232
236
|
_o as StrengthMeter,
|
|
233
237
|
s as SvgIcon,
|
|
234
238
|
Se as TableAction,
|
|
235
|
-
|
|
239
|
+
De as TableImg,
|
|
236
240
|
pt as WorkOrderModal,
|
|
237
241
|
Lr as adminToken,
|
|
238
242
|
Nr as aplusToken,
|
|
239
243
|
S as buildLocaleContext,
|
|
240
|
-
|
|
241
|
-
|
|
244
|
+
I as buildTranslator,
|
|
245
|
+
n as configProviderContextKey,
|
|
242
246
|
x as configProviderProps,
|
|
243
|
-
|
|
247
|
+
ue as createPrompt,
|
|
244
248
|
tt as createWorkOrderModal,
|
|
245
249
|
p as default,
|
|
246
250
|
h as defaultNamespace,
|
|
247
251
|
U as en,
|
|
248
252
|
$r as generateTableList,
|
|
249
|
-
|
|
250
|
-
|
|
253
|
+
w as globalConfigCached,
|
|
254
|
+
bo as isComponentFormSchema,
|
|
251
255
|
go as isSlotFormSchema,
|
|
252
256
|
c as keysOf,
|
|
253
|
-
|
|
257
|
+
b as localeContextKey,
|
|
254
258
|
R as namespaceContextKey,
|
|
255
|
-
|
|
256
|
-
|
|
259
|
+
T as provideGlobalConfig,
|
|
260
|
+
u as tableDefaultConfig,
|
|
257
261
|
g as translate,
|
|
258
262
|
qr as useCacheColumnSetting,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
263
|
+
Fo as useComponentRegister,
|
|
264
|
+
ra as useControllableValue,
|
|
265
|
+
uo as useDescription,
|
|
262
266
|
So as useForm,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
+
G as useGetDerivedNamespace,
|
|
268
|
+
F as useGlobalConfig,
|
|
269
|
+
D as useLocale,
|
|
270
|
+
oa as useMessage,
|
|
267
271
|
te as useModal,
|
|
268
272
|
ee as useModalContext,
|
|
269
273
|
ae as useModalInner,
|
|
270
|
-
|
|
274
|
+
v as useNamespace,
|
|
271
275
|
he as useTable,
|
|
272
|
-
|
|
276
|
+
zt as useTablePaging,
|
|
273
277
|
W as zhCn
|
|
274
278
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { isVNode as C, defineComponent as h, useSlots as w,
|
|
2
|
-
import { Col as
|
|
3
|
-
import { pick as
|
|
4
|
-
import { apFormItemColPropKeys as
|
|
5
|
-
import { genRealChildren as
|
|
1
|
+
import { isVNode as C, defineComponent as h, useSlots as w, onBeforeUpdate as k, watch as _, shallowRef as B, computed as P, unref as n, createVNode as R, mergeProps as u, openBlock as s, createBlock as d, withCtx as S, createElementBlock as b, Fragment as x, renderList as N, resolveDynamicComponent as j } from "vue";
|
|
2
|
+
import { Col as v, Row as F } from "ant-design-vue";
|
|
3
|
+
import { pick as D, isBoolean as I, omit as O } from "lodash-unified";
|
|
4
|
+
import { apFormItemColPropKeys as V } from "../constant.mjs";
|
|
5
|
+
import { genRealChildren as l, buildColSpan as $, getStringName as A } from "./helper.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import "../style/ap-form-item-group.css";
|
|
8
|
-
import { isDef as
|
|
9
|
-
import { useNamespace as
|
|
10
|
-
function
|
|
8
|
+
import { isDef as E } from "../../utils/index.mjs";
|
|
9
|
+
import { useNamespace as G } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
function H(t) {
|
|
11
11
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !C(t);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const W = /* @__PURE__ */ h({
|
|
14
14
|
name: "ApFormItemGroup",
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -30,26 +30,28 @@ const U = /* @__PURE__ */ h({
|
|
|
30
30
|
},
|
|
31
31
|
setup(t) {
|
|
32
32
|
const {
|
|
33
|
-
b:
|
|
34
|
-
} =
|
|
35
|
-
k(() =>
|
|
36
|
-
|
|
33
|
+
b: i
|
|
34
|
+
} = G("ap-form-item-group"), m = t, a = w();
|
|
35
|
+
k(() => {
|
|
36
|
+
p.value = l(a.default());
|
|
37
|
+
}), _(() => a.default(), (o) => {
|
|
38
|
+
p.value = l(o);
|
|
37
39
|
});
|
|
38
|
-
const
|
|
39
|
-
const e = o.props, r =
|
|
40
|
+
const p = B(l(a.default())), f = P(() => n(p).map((o, c) => {
|
|
41
|
+
const e = o.props, r = D(e, V), g = r != null && r.span ? {} : $(m.countPerRow), y = I(e.hidden) ? !!e.hidden : E(e.hidden);
|
|
40
42
|
return {
|
|
41
|
-
key: `${
|
|
42
|
-
node: R(
|
|
43
|
-
class: y ?
|
|
44
|
-
}),
|
|
43
|
+
key: `${c}-${A(e.name)}`,
|
|
44
|
+
node: R(v, u(g, r, {
|
|
45
|
+
class: y ? i("col-hidden") : ""
|
|
46
|
+
}), H(o) ? o : {
|
|
45
47
|
default: () => [o]
|
|
46
48
|
})
|
|
47
49
|
};
|
|
48
50
|
}));
|
|
49
|
-
return (o,
|
|
50
|
-
class: n(
|
|
51
|
-
}, n(
|
|
52
|
-
default: S(() => [(
|
|
51
|
+
return (o, c) => (s(), d(n(F), u({
|
|
52
|
+
class: n(i)()
|
|
53
|
+
}, n(O)(m, ["countPerRow"])), {
|
|
54
|
+
default: S(() => [(s(!0), b(x, null, N(f.value, (e) => (s(), d(j(e.node), {
|
|
53
55
|
key: e.key
|
|
54
56
|
}))), 128))]),
|
|
55
57
|
_: 1
|
|
@@ -57,5 +59,5 @@ const U = /* @__PURE__ */ h({
|
|
|
57
59
|
}
|
|
58
60
|
});
|
|
59
61
|
export {
|
|
60
|
-
|
|
62
|
+
W as default
|
|
61
63
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Modal as _Modal } from 'ant-design-vue';
|
|
2
|
-
import { CreateModalFunc } from './
|
|
3
|
-
export * from './
|
|
2
|
+
import { CreateModalFunc } from './interface';
|
|
3
|
+
export * from './interface';
|
|
4
4
|
type ApModalMixedProps = typeof _Modal & {
|
|
5
5
|
createModal: CreateModalFunc;
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModalProps } from 'ant-design-vue';
|
|
2
|
-
export type CreateModalFuncProps = Omit<ModalProps, 'open' | 'onUpdate:open' | 'destroyOnClose' | 'onCancel' | 'onOk' | 'getContainer'> & Partial<{
|
|
3
|
-
onCancel: (params:
|
|
4
|
-
onOk: (params:
|
|
2
|
+
export type CreateModalFuncProps<ContentRecord = any> = Omit<ModalProps, 'open' | 'onUpdate:open' | 'destroyOnClose' | 'onCancel' | 'onOk' | 'getContainer'> & Partial<{
|
|
3
|
+
onCancel: (params: ContentRecord) => void | Promise<unknown>;
|
|
4
|
+
onOk: (params: ContentRecord) => void | Promise<unknown>;
|
|
5
5
|
getContainer: HTMLElement;
|
|
6
6
|
content: any;
|
|
7
7
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CreateModalFunc } from '../
|
|
1
|
+
import { CreateModalFunc } from '../interface';
|
|
2
2
|
export declare const createModal: CreateModalFunc;
|