@aplus-frontend/ui 0.4.13 → 0.4.15
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 +84 -80
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +17 -12
- package/es/src/ap-field/date/helper.mjs +9 -9
- package/es/src/ap-table/ap-table.vue2.mjs +206 -181
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +62 -62
- package/es/src/ap-upload/apUpload.vue.d.ts +9 -0
- package/es/src/ap-upload/apUpload.vue.mjs +22 -18
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +66 -66
- package/es/src/ap-upload/components/Picture.vue2.mjs +82 -82
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +114 -114
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +79 -67
- package/es/src/config-provider/config-provider.d.ts +3 -0
- package/es/src/config-provider/css-var.d.ts +3 -0
- package/es/src/config-provider/css-var.mjs +21 -14
- package/es/src/config-provider/index.d.ts +15 -0
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/index.mjs +6 -4
- package/es/src/hooks/useResize.d.ts +8 -0
- package/es/src/hooks/useResize.mjs +23 -0
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +212 -209
- package/es/src/path-map.mjs +2 -1
- package/es/src/resize-observer/index.d.ts +3 -0
- package/es/src/resize-observer/index.mjs +2 -0
- package/es/src/resize-observer/index.vue.d.ts +25 -0
- package/es/src/resize-observer/index.vue.mjs +45 -0
- package/es/src/resize-observer/index.vue2.mjs +4 -0
- package/es/src/resize-observer/interface.d.ts +27 -0
- package/es/src/resize-observer/interface.mjs +1 -0
- package/es/src/resize-observer/style/css.d.ts +1 -0
- package/es/src/resize-observer/style/css.js +1 -0
- package/es/src/resize-observer/style/index.d.ts +1 -0
- package/es/src/resize-observer/style/index.js +1 -0
- package/es/src/scroll-bar/index.vue.d.ts +1 -0
- package/es/src/scroll-bar/index.vue.mjs +31 -30
- package/es/src/scroll-bar/interface.d.ts +3 -1
- package/es/src/theme/antd-global-overwrite/admin/index.css +24 -2
- package/es/src/theme/antd-global-overwrite/admin/table.css +24 -2
- package/es/src/theme/antd-global-overwrite/aplus/index.css +24 -2
- package/es/src/theme/antd-global-overwrite/aplus/table.css +24 -2
- package/es/src/utils/index.d.ts +1 -0
- package/es/src/utils/index.mjs +40 -30
- package/lib/index.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-field/date/helper.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +9 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +3 -0
- package/lib/src/config-provider/css-var.d.ts +3 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/index.d.ts +15 -0
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/index.js +1 -1
- package/lib/src/hooks/useResize.d.ts +8 -0
- package/lib/src/hooks/useResize.js +1 -0
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/resize-observer/index.d.ts +3 -0
- package/lib/src/resize-observer/index.js +1 -0
- package/lib/src/resize-observer/index.vue.d.ts +25 -0
- package/lib/src/resize-observer/index.vue.js +1 -0
- package/lib/src/resize-observer/index.vue2.js +1 -0
- package/lib/src/resize-observer/interface.d.ts +27 -0
- package/lib/src/resize-observer/interface.js +1 -0
- package/lib/src/resize-observer/style/css.cjs +1 -0
- package/lib/src/resize-observer/style/css.d.ts +1 -0
- package/lib/src/resize-observer/style/index.cjs +1 -0
- package/lib/src/resize-observer/style/index.d.ts +1 -0
- package/lib/src/scroll-bar/index.vue.d.ts +1 -0
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/interface.d.ts +3 -1
- package/lib/src/theme/antd-global-overwrite/admin/index.css +24 -2
- package/lib/src/theme/antd-global-overwrite/admin/table.css +24 -2
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +24 -2
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +24 -2
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/index.js +1 -1
- package/package.json +3 -3
- package/theme/antd-global-overwrite/admin/index.css +24 -2
- package/theme/antd-global-overwrite/admin/table.css +24 -2
- package/theme/antd-global-overwrite/admin/table.less +8 -2
- package/theme/antd-global-overwrite/aplus/index.css +24 -2
- package/theme/antd-global-overwrite/aplus/table.css +24 -2
- package/theme/antd-global-overwrite/aplus/table.less +7 -2
- package/theme/ap-descriptions/ap-descriptions.css +3 -0
- package/theme/ap-descriptions/ap-descriptions.less +7 -0
- package/theme/ap-table/ap-table.css +8 -1
- package/theme/ap-table/ap-table.less +11 -9
- package/theme/ap-table-modal/index.css +8 -1
- package/theme/index.css +11 -1
package/es/index.mjs
CHANGED
|
@@ -4,15 +4,15 @@ import "./src/hooks/index.mjs";
|
|
|
4
4
|
import { configProviderProps as d } from "./src/config-provider/config-provider-props.mjs";
|
|
5
5
|
import { DEFAULT_NAMESPACE as s, DEFAULT_UIMODE as A, configProviderContextKey as n } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
-
import { buildLocaleContext as
|
|
8
|
-
import { defaultNamespace as G, namespaceContextKey as P, useGetDerivedNamespace as
|
|
9
|
-
import { ConfigProvider as
|
|
7
|
+
import { buildLocaleContext as T, buildTranslator as S, localeContextKey as C, translate as D, useLocale as g } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { defaultNamespace as G, namespaceContextKey as P, useGetDerivedNamespace as R, useNamespace as M } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as L, globalConfigCached as N } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as w } from "./src/config-provider/index.mjs";
|
|
11
|
-
import { ApFormItemText as
|
|
11
|
+
import { ApFormItemText as k } from "./src/ap-form/items/text/index.mjs";
|
|
12
12
|
import { default as K } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
13
|
+
import { default as U } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
|
+
import { default as V } from "./src/ap-form/items/date/index.vue.mjs";
|
|
15
|
+
import { default as _ } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
16
16
|
import { default as $ } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
17
17
|
import { default as q } from "./src/ap-form/items/select/index.vue.mjs";
|
|
18
18
|
import { default as Q } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
@@ -27,19 +27,19 @@ import { default as se } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
|
27
27
|
import { default as ne } from "./src/ap-form/dependency/index.vue.mjs";
|
|
28
28
|
import { default as ce } from "./src/ap-form/set/index.vue.mjs";
|
|
29
29
|
import { default as Ie } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
30
|
-
import { default as
|
|
30
|
+
import { default as Te } from "./src/ap-form/render/control.vue.mjs";
|
|
31
31
|
import { default as Ce } from "./src/ap-form/render/item.vue.mjs";
|
|
32
32
|
import { default as ge } from "./src/ap-form/provider/index.vue.mjs";
|
|
33
33
|
import { ApField as Ge } from "./src/ap-field/index.mjs";
|
|
34
|
-
import { ApFieldText as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
34
|
+
import { ApFieldText as Re } from "./src/ap-field/text/index.mjs";
|
|
35
|
+
import { default as Ee } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
36
|
+
import { default as Ne } from "./src/ap-field/date/index.vue.mjs";
|
|
37
37
|
import { default as we } from "./src/ap-field/number/index.vue.mjs";
|
|
38
|
-
import { default as
|
|
38
|
+
import { default as ke } from "./src/ap-field/radio/index.vue.mjs";
|
|
39
39
|
import { default as Ke } from "./src/ap-field/switch/index.vue.mjs";
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
40
|
+
import { default as Ue } from "./src/ap-field/text-area/index.vue.mjs";
|
|
41
|
+
import { default as Ve } from "./src/ap-field/date-range/index.vue.mjs";
|
|
42
|
+
import { default as _e } from "./src/ap-field/select/index.vue.mjs";
|
|
43
43
|
import { default as $e } from "./src/ap-field/text/password.vue.mjs";
|
|
44
44
|
import { default as qe } from "./src/ap-field/slider/index.vue.mjs";
|
|
45
45
|
import { default as Qe } from "./src/ap-field/segmented/index.vue.mjs";
|
|
@@ -52,19 +52,19 @@ import { default as xo } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
|
52
52
|
import { default as so } from "./src/ap-action/group/index.vue.mjs";
|
|
53
53
|
import { DictCode as no, langMap as io } from "./src/work-order-modal/interfaces.mjs";
|
|
54
54
|
import { createWorkOrderModal as Fo } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
55
|
-
import { default as
|
|
55
|
+
import { default as bo } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
56
56
|
import { default as So } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
57
57
|
import { default as Do } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
58
58
|
import { default as ho } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
59
59
|
import { NeedNameKeyDefault as Po } from "./src/ap-upload/apUploadTypes.mjs";
|
|
60
|
-
import { default as
|
|
61
|
-
import { ApDownLoadNeedNameKeyDefault as
|
|
60
|
+
import { default as Mo } from "./src/ap-upload/apUpload.vue.mjs";
|
|
61
|
+
import { ApDownLoadNeedNameKeyDefault as Lo } from "./src/ap-download/interface.mjs";
|
|
62
62
|
import { default as yo } from "./src/ap-download/ap-download.vue.mjs";
|
|
63
|
-
import { CheckCard as
|
|
63
|
+
import { CheckCard as vo } from "./src/check-card/index.mjs";
|
|
64
64
|
import { default as Bo } from "./src/check-card/group.vue.mjs";
|
|
65
|
-
import { ApModal as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
65
|
+
import { ApModal as Oo } from "./src/ap-modal/index.mjs";
|
|
66
|
+
import { default as zo } from "./src/ap-list/index.vue.mjs";
|
|
67
|
+
import { default as Wo } from "./src/ap-button/ap-button.vue.mjs";
|
|
68
68
|
import { default as Ho } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
69
69
|
import { ApDrawer as jo } from "./src/ap-drawer/index.mjs";
|
|
70
70
|
import { ApTransformDataHelper as Jo } from "./src/utils/ap-trans-data/index.mjs";
|
|
@@ -79,18 +79,18 @@ import { ApCard as ur } from "./src/business/ap-card/index.mjs";
|
|
|
79
79
|
import { ApExpandAlert as Ar } from "./src/business/ap-expand-alert/index.mjs";
|
|
80
80
|
import { ApExportGroupActionType as ir } from "./src/business/ap-export-group/interface.mjs";
|
|
81
81
|
import { ApExportGroup as Fr } from "./src/business/ap-export-group/index.mjs";
|
|
82
|
-
import { handleExportDownload as
|
|
82
|
+
import { handleExportDownload as br } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
83
83
|
import { convertExportField as Sr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
84
84
|
import { ApImage as Dr } from "./src/business/ap-image/index.mjs";
|
|
85
85
|
import { ApInputRadio as hr } from "./src/business/ap-input-radio/index.mjs";
|
|
86
|
-
import { ApLabel as Pr, ApLabelGroup as
|
|
87
|
-
import { locales as
|
|
88
|
-
import { ApLadder as
|
|
86
|
+
import { ApLabel as Pr, ApLabelGroup as Rr } from "./src/business/ap-label/index.mjs";
|
|
87
|
+
import { locales as Er } from "./src/business/ap-ladder/interface.mjs";
|
|
88
|
+
import { ApLadder as Nr } from "./src/business/ap-ladder/index.mjs";
|
|
89
89
|
import { ApSelectLayout as wr } from "./src/business/ap-select-layout/index.mjs";
|
|
90
|
-
import { ApStatus as
|
|
91
|
-
import { ApTitle as
|
|
92
|
-
import { usePageListApTable as
|
|
93
|
-
import { useTableRefresh as
|
|
90
|
+
import { ApStatus as kr, ApStatusGroup as Br } from "./src/business/ap-status/index.mjs";
|
|
91
|
+
import { ApTitle as Or } from "./src/business/ap-title/index.mjs";
|
|
92
|
+
import { usePageListApTable as zr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
93
|
+
import { useTableRefresh as Wr } from "./src/business/hooks/useTableRefresh.mjs";
|
|
94
94
|
import { computedRecords as Hr, flattenColumns as $r, formatDataIndex as jr, formatNumber as qr } from "./src/business/ap-summary/utils.mjs";
|
|
95
95
|
import { ApSummary as Qr } from "./src/business/ap-summary/index.mjs";
|
|
96
96
|
import { ApNeedNameKeyDefault as Yr } from "./src/business/ap-appendix/interface.mjs";
|
|
@@ -103,19 +103,21 @@ import { ApSizeInput as st } from "./src/business/ap-size-input/index.mjs";
|
|
|
103
103
|
import { useTablePaging as nt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
104
104
|
import { ApTable as ct } from "./src/ap-table/index.mjs";
|
|
105
105
|
import { default as It } from "./src/editable-table/index.vue.mjs";
|
|
106
|
-
import { default as
|
|
106
|
+
import { default as Tt } from "./src/editable-table/form-item.vue.mjs";
|
|
107
107
|
import { default as Ct } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
108
108
|
import { ensureRangeValue as gt } from "./src/scroll-bar/utils/index.mjs";
|
|
109
109
|
import { default as Gt } from "./src/scroll-bar/index.vue.mjs";
|
|
110
|
-
import { default as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
110
|
+
import { default as Rt } from "./src/scroll-bar/internal.vue.mjs";
|
|
111
|
+
import { default as Et } from "./src/scroll-view/index.vue.mjs";
|
|
112
|
+
import { default as Nt } from "./src/portal/index.vue.mjs";
|
|
113
113
|
import { default as wt } from "./src/full-screen/index.vue.mjs";
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
114
|
+
import { default as kt } from "./src/resize-observer/index.vue.mjs";
|
|
115
|
+
import { useMessage as Kt } from "./src/hooks/useMessage.mjs";
|
|
116
|
+
import { useControllableValue as Ut } from "./src/hooks/useControllableValue.mjs";
|
|
117
|
+
import { useManualRef as Vt } from "./src/hooks/useManualRef.mjs";
|
|
118
|
+
import { useThrottleRef as _t } from "./src/hooks/useThrottleRef.mjs";
|
|
119
|
+
import { useFullScreen as $t } from "./src/hooks/useFullScreen.mjs";
|
|
120
|
+
import { useResize as qt } from "./src/hooks/useResize.mjs";
|
|
119
121
|
const a = {
|
|
120
122
|
install: (r) => {
|
|
121
123
|
for (const t in o) {
|
|
@@ -136,11 +138,11 @@ export {
|
|
|
136
138
|
tr as ApAttachment,
|
|
137
139
|
ar as ApBatchAction,
|
|
138
140
|
mr as ApBatchActionGroup,
|
|
139
|
-
|
|
141
|
+
Wo as ApButton,
|
|
140
142
|
xr as ApButtonGroup,
|
|
141
143
|
ur as ApCard,
|
|
142
144
|
Ct as ApDescriptions,
|
|
143
|
-
|
|
145
|
+
Lo as ApDownLoadNeedNameKeyDefault,
|
|
144
146
|
yo as ApDownload,
|
|
145
147
|
jo as ApDrawer,
|
|
146
148
|
Ar as ApExpandAlert,
|
|
@@ -148,35 +150,35 @@ export {
|
|
|
148
150
|
ir as ApExportGroupActionType,
|
|
149
151
|
rt as ApExtensionSelect,
|
|
150
152
|
Ge as ApField,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
153
|
+
Ee as ApFieldCheckbox,
|
|
154
|
+
Ne as ApFieldDate,
|
|
155
|
+
Ve as ApFieldDateRange,
|
|
154
156
|
we as ApFieldNumber,
|
|
155
157
|
$e as ApFieldPassword,
|
|
156
|
-
|
|
158
|
+
ke as ApFieldRadio,
|
|
157
159
|
Ye as ApFieldRate,
|
|
158
160
|
Qe as ApFieldSegmented,
|
|
159
|
-
|
|
161
|
+
_e as ApFieldSelect,
|
|
160
162
|
qe as ApFieldSlider,
|
|
161
163
|
Ke as ApFieldSwitch,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
Re as ApFieldText,
|
|
165
|
+
Ue as ApFieldTextArea,
|
|
164
166
|
re as ApForm,
|
|
165
|
-
|
|
167
|
+
Te as ApFormControlRender,
|
|
166
168
|
ne as ApFormDependency,
|
|
167
169
|
Ie as ApFormDrawerForm,
|
|
168
170
|
pe as ApFormItem,
|
|
169
171
|
dt as ApFormItemBatchInput,
|
|
170
172
|
Y as ApFormItemCheckbox,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
V as ApFormItemDate,
|
|
174
|
+
_ as ApFormItemDateRange,
|
|
173
175
|
fe as ApFormItemGroup,
|
|
174
|
-
|
|
176
|
+
U as ApFormItemNumber,
|
|
175
177
|
$ as ApFormItemRadio,
|
|
176
178
|
Ce as ApFormItemRender,
|
|
177
179
|
q as ApFormItemSelect,
|
|
178
180
|
Q as ApFormItemSwitch,
|
|
179
|
-
|
|
181
|
+
k as ApFormItemText,
|
|
180
182
|
K as ApFormItemTextArea,
|
|
181
183
|
ee as ApFormItemTextPassword,
|
|
182
184
|
le as ApFormList,
|
|
@@ -189,44 +191,45 @@ export {
|
|
|
189
191
|
ho as ApInfoLayout,
|
|
190
192
|
hr as ApInputRadio,
|
|
191
193
|
Pr as ApLabel,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
Rr as ApLabelGroup,
|
|
195
|
+
Nr as ApLadder,
|
|
196
|
+
zo as ApList,
|
|
197
|
+
Oo as ApModal,
|
|
196
198
|
Yr as ApNeedNameKeyDefault,
|
|
197
199
|
pt as ApPopoverSelect,
|
|
198
200
|
wr as ApSelectLayout,
|
|
199
201
|
st as ApSizeInput,
|
|
200
|
-
|
|
202
|
+
kr as ApStatus,
|
|
201
203
|
Br as ApStatusGroup,
|
|
202
204
|
Qr as ApSummary,
|
|
203
205
|
ct as ApTable,
|
|
204
206
|
Xo as ApTableModal,
|
|
205
207
|
So as ApTag,
|
|
206
208
|
Do as ApTagGroup,
|
|
207
|
-
|
|
209
|
+
Or as ApTitle,
|
|
208
210
|
Jo as ApTransformDataHelper,
|
|
209
|
-
|
|
211
|
+
Mo as ApUpload,
|
|
210
212
|
ft as ApUploadSingle,
|
|
211
213
|
lt as BatchInputGroup,
|
|
212
|
-
|
|
214
|
+
vo as CheckCard,
|
|
213
215
|
Bo as CheckCardGroup,
|
|
214
|
-
|
|
216
|
+
L as ConfigProvider,
|
|
215
217
|
s as DEFAULT_NAMESPACE,
|
|
216
218
|
A as DEFAULT_UIMODE,
|
|
217
219
|
no as DictCode,
|
|
218
220
|
It as EditableTable,
|
|
219
|
-
|
|
221
|
+
Tt as EditableTableFormItem,
|
|
220
222
|
wt as FullScreen,
|
|
221
|
-
|
|
223
|
+
Rt as InternalScrollBar,
|
|
222
224
|
Po as NeedNameKeyDefault,
|
|
223
|
-
|
|
225
|
+
Nt as Portal,
|
|
226
|
+
kt as ResizeObserver,
|
|
224
227
|
Gt as ScrollBar,
|
|
225
|
-
|
|
226
|
-
|
|
228
|
+
Et as ScrollView,
|
|
229
|
+
bo as WorkOrderModal,
|
|
227
230
|
eo as adminToken,
|
|
228
231
|
oo as aplusToken,
|
|
229
|
-
|
|
232
|
+
T as buildLocaleContext,
|
|
230
233
|
S as buildTranslator,
|
|
231
234
|
Hr as computedRecords,
|
|
232
235
|
n as configProviderContextKey,
|
|
@@ -239,28 +242,29 @@ export {
|
|
|
239
242
|
$r as flattenColumns,
|
|
240
243
|
jr as formatDataIndex,
|
|
241
244
|
qr as formatNumber,
|
|
242
|
-
|
|
243
|
-
|
|
245
|
+
N as globalConfigCached,
|
|
246
|
+
br as handleExportDownload,
|
|
244
247
|
c as keysOf,
|
|
245
248
|
io as langMap,
|
|
246
249
|
C as localeContextKey,
|
|
247
|
-
|
|
250
|
+
Er as locales,
|
|
248
251
|
P as namespaceContextKey,
|
|
249
252
|
l as pathMap,
|
|
250
253
|
F as provideGlobalConfig,
|
|
251
254
|
D as translate,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
+
Ut as useControllableValue,
|
|
256
|
+
$t as useFullScreen,
|
|
257
|
+
R as useGetDerivedNamespace,
|
|
255
258
|
I as useGlobalConfig,
|
|
256
259
|
g as useLocale,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
260
|
+
Vt as useManualRef,
|
|
261
|
+
Kt as useMessage,
|
|
262
|
+
M as useNamespace,
|
|
263
|
+
zr as usePageListApTable,
|
|
264
|
+
qt as useResize,
|
|
261
265
|
Zo as useTableModal,
|
|
262
266
|
nt as useTablePaging,
|
|
263
|
-
|
|
267
|
+
Wr as useTableRefresh,
|
|
264
268
|
or as useTableSelectModal,
|
|
265
|
-
|
|
269
|
+
_t as useThrottleRef
|
|
266
270
|
};
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { defineComponent as r, computed as m, createVNode as t, openBlock as o, createElementBlock as d, createBlock as l, resolveDynamicComponent as u, unref as s, withCtx as f, createCommentVNode as h } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
|
|
4
|
+
import { TypographyText as _, Tooltip as y } from "@aplus-frontend/antdv";
|
|
5
|
+
import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
const C = {
|
|
5
7
|
style: {
|
|
6
8
|
display: "inline-flex"
|
|
7
9
|
}
|
|
8
|
-
},
|
|
10
|
+
}, B = /* @__PURE__ */ r({
|
|
9
11
|
__name: "index",
|
|
10
12
|
props: {
|
|
11
13
|
helpMessage: {},
|
|
12
14
|
label: {}
|
|
13
15
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
|
|
16
|
+
setup(i) {
|
|
17
|
+
const n = i, {
|
|
18
|
+
m: p
|
|
19
|
+
} = x("ap-descriptions"), a = m(() => {
|
|
20
|
+
const e = n.label;
|
|
17
21
|
return typeof e != "object" ? t("div", {
|
|
22
|
+
class: p("item-label"),
|
|
18
23
|
style: {
|
|
19
24
|
maxWidth: "calc(var(--ap-descriptions-item-label-width))"
|
|
20
25
|
}
|
|
@@ -25,18 +30,18 @@ const y = {
|
|
|
25
30
|
content: e
|
|
26
31
|
}, null)]) : e;
|
|
27
32
|
});
|
|
28
|
-
return (e,
|
|
33
|
+
return (e, c) => (o(), d("span", C, [(o(), l(u(a.value))), e.helpMessage ? (o(), l(s(y), {
|
|
29
34
|
key: 0,
|
|
30
35
|
placement: "topLeft",
|
|
31
36
|
title: e.helpMessage
|
|
32
37
|
}, {
|
|
33
|
-
default:
|
|
38
|
+
default: f(() => [t(s(b), {
|
|
34
39
|
class: "ap-descriptions-item-content__help"
|
|
35
40
|
})]),
|
|
36
41
|
_: 1
|
|
37
|
-
}, 8, ["title"])) :
|
|
42
|
+
}, 8, ["title"])) : h("", !0)]));
|
|
38
43
|
}
|
|
39
44
|
});
|
|
40
45
|
export {
|
|
41
|
-
|
|
46
|
+
B as default
|
|
42
47
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { getUtcTimestamp as m } from "@aplus-frontend/utils";
|
|
2
2
|
import n from "dayjs";
|
|
3
|
-
const i = (
|
|
4
|
-
if (!
|
|
3
|
+
const i = (r, e, o = !0) => {
|
|
4
|
+
if (!r)
|
|
5
5
|
return null;
|
|
6
|
-
let t =
|
|
7
|
-
return t = t.millisecond(0),
|
|
6
|
+
let t = r.clone();
|
|
7
|
+
return t = t.millisecond(o ? 0 : 999), e.indexOf("ss") === -1 && (t = t.second(o ? 0 : 59)), e.indexOf("mm") === -1 && (t = t.minute(o ? 0 : 59)), e.indexOf("HH") === -1 && (t = t.hour(o ? 0 : 23)), e.indexOf("DD") === -1 && (t = t.date(o ? 1 : 0), o || (t = t.month(t.month() + 1))), e.indexOf("MM") === -1 && (t = t.month(o ? 0 : 12)), t.valueOf();
|
|
8
8
|
};
|
|
9
|
-
function d(
|
|
10
|
-
return (
|
|
11
|
-
const f = o ? i(
|
|
12
|
-
return
|
|
9
|
+
function d(r) {
|
|
10
|
+
return (e, o, t = !0) => {
|
|
11
|
+
const f = o ? i(e, o, t) : e.valueOf();
|
|
12
|
+
return r ? m(n(f), r) : f;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
const l = (
|
|
15
|
+
const l = (r) => r && r.valueOf();
|
|
16
16
|
export {
|
|
17
17
|
i as formatDay,
|
|
18
18
|
d as formatDayWithTimezone,
|