@aplus-frontend/ui 6.20.1 → 6.21.0
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 +159 -155
- package/es/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/es/src/ap-field/hooks/use-default-presets.mjs +18 -12
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/es/src/ap-pro-card/components/card/index.vue.mjs +4 -0
- package/es/src/ap-pro-card/components/card/index.vue2.mjs +226 -0
- package/es/src/ap-pro-card/index.d.ts +42 -0
- package/es/src/ap-pro-card/index.mjs +7 -0
- package/es/src/ap-pro-card/interface.d.ts +61 -0
- package/es/src/ap-pro-card/style/css.d.ts +0 -0
- package/es/src/ap-pro-card/style/css.js +1 -0
- package/es/src/ap-pro-card/style/index.d.ts +0 -0
- package/es/src/ap-pro-card/style/index.js +1 -0
- package/es/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/es/src/ap-pro-card/utils/css-var.mjs +29 -0
- package/es/src/business/ap-value-select-card/index.d.ts +8 -0
- package/es/src/business/ap-value-select-card/index.mjs +9 -0
- package/es/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/es/src/business/ap-value-select-card/index.vue.mjs +4 -0
- package/es/src/business/ap-value-select-card/index.vue2.mjs +186 -0
- package/es/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/es/src/business/ap-value-select-card/interface.mjs +1 -0
- package/es/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/css.js +1 -0
- package/es/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/es/src/business/ap-value-select-card/style/index.js +1 -0
- package/es/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/es/src/business/ap-value-select-card/utils.mjs +9 -0
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +15 -13
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +275 -271
- package/es/src/path-map.mjs +3 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-field/hooks/use-default-presets.d.ts +1 -0
- package/lib/src/ap-field/hooks/use-default-presets.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +25 -0
- package/lib/src/ap-pro-card/components/card/index.vue.js +1 -0
- package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -0
- package/lib/src/ap-pro-card/index.d.ts +42 -0
- package/lib/src/ap-pro-card/index.js +1 -0
- package/lib/src/ap-pro-card/interface.d.ts +61 -0
- package/lib/src/ap-pro-card/style/css.cjs +1 -0
- package/lib/src/ap-pro-card/style/css.d.ts +0 -0
- package/lib/src/ap-pro-card/style/index.cjs +1 -0
- package/lib/src/ap-pro-card/style/index.d.ts +0 -0
- package/lib/src/ap-pro-card/utils/css-var.d.ts +17 -0
- package/lib/src/ap-pro-card/utils/css-var.js +1 -0
- package/lib/src/business/ap-value-select-card/index.d.ts +8 -0
- package/lib/src/business/ap-value-select-card/index.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +48 -0
- package/lib/src/business/ap-value-select-card/index.vue.js +1 -0
- package/lib/src/business/ap-value-select-card/index.vue2.js +1 -0
- package/lib/src/business/ap-value-select-card/interface.d.ts +107 -0
- package/lib/src/business/ap-value-select-card/interface.js +1 -0
- package/lib/src/business/ap-value-select-card/style/css.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/css.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/style/index.cjs +1 -0
- package/lib/src/business/ap-value-select-card/style/index.d.ts +0 -0
- package/lib/src/business/ap-value-select-card/utils.d.ts +7 -0
- package/lib/src/business/ap-value-select-card/utils.js +1 -0
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- 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/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/ap-pro-card/index.css +259 -0
- package/theme/ap-pro-card/index.less +129 -0
- package/theme/ap-value-select-card/index.css +163 -0
- package/theme/ap-value-select-card/index.less +157 -0
- package/theme/index.css +330 -0
- package/theme/index.less +2 -0
package/es/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import p from "./src/version.mjs";
|
|
|
4
4
|
import "./src/hooks/index.mjs";
|
|
5
5
|
import { configProviderProps as A } from "./src/config-provider/config-provider-props.mjs";
|
|
6
6
|
import { DEFAULT_NAMESPACE as n, DEFAULT_UIMODE as c, configProviderContextKey as F } from "./src/config-provider/constants.mjs";
|
|
7
|
-
import { keysOf as T, provideGlobalConfig as b, useGlobalConfig as
|
|
7
|
+
import { keysOf as T, provideGlobalConfig as b, useGlobalConfig as C } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
8
8
|
import { buildLocaleContext as S, buildTranslator as D, localeContextKey as G, translate as h, useLocale as P } from "./src/config-provider/hooks/use-locale.mjs";
|
|
9
9
|
import { defaultNamespace as E, namespaceContextKey as L, useGetDerivedNamespace as M, useNamespace as N } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import { ConfigProvider as y, globalConfigCached as w } from "./src/config-provider/config-provider.mjs";
|
|
@@ -27,7 +27,7 @@ import { default as Ae } from "./src/ap-form/list/index.vue.mjs";
|
|
|
27
27
|
import { default as ne } from "./src/ap-form/search-form/index.vue.mjs";
|
|
28
28
|
import { default as Fe } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
29
29
|
import { default as Te } from "./src/ap-form/dependency/index.vue.mjs";
|
|
30
|
-
import { default as
|
|
30
|
+
import { default as Ce } from "./src/ap-form/set/index.vue.mjs";
|
|
31
31
|
import { default as Se } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
32
32
|
import { default as Ge } from "./src/ap-form/render/control.vue.mjs";
|
|
33
33
|
import { default as Pe } from "./src/ap-form/render/item.vue.mjs";
|
|
@@ -53,7 +53,7 @@ import { default as Ao } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
|
53
53
|
import { default as no } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
54
54
|
import { default as Fo } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
55
55
|
import { default as To } from "./src/ap-action/group/index.vue.mjs";
|
|
56
|
-
import { DictCode as
|
|
56
|
+
import { DictCode as Co, langMap as go } from "./src/work-order-modal/interfaces.mjs";
|
|
57
57
|
import { createWorkOrderModal as Do } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
58
58
|
import { default as ho } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
59
59
|
import { default as Ro } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
@@ -70,77 +70,79 @@ import { default as qo } from "./src/ap-button/ap-button.vue.mjs";
|
|
|
70
70
|
import { default as Qo } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
71
71
|
import { default as Yo } from "./src/ap-button/ap-confirm-button.vue.mjs";
|
|
72
72
|
import { ApDrawer as er } from "./src/ap-drawer/index.mjs";
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import { default as nt } from "./src/business/
|
|
105
|
-
import { default as Ft } from "./src/business/batch-input-group/
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import { default as Qt } from "./src/
|
|
122
|
-
import {
|
|
123
|
-
import { default as ep } from "./src/
|
|
124
|
-
import {
|
|
125
|
-
import { default as pp } from "./src/scroll-
|
|
126
|
-
import { default as fp } from "./src/
|
|
127
|
-
import { default as lp } from "./src/
|
|
128
|
-
import { default as dp } from "./src/
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import { default as bp } from "./src/ap-grid/
|
|
134
|
-
import { default as
|
|
135
|
-
import { default as Dp } from "./src/
|
|
136
|
-
import { default as hp } from "./src/
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
73
|
+
import { ApProCard as rr } from "./src/ap-pro-card/index.mjs";
|
|
74
|
+
import { ApTransformDataHelper as pr } from "./src/utils/ap-trans-data/index.mjs";
|
|
75
|
+
import { default as fr } from "./src/business/ap-table-modal/index.mjs";
|
|
76
|
+
import { useTableModal as lr } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
77
|
+
import { useTableSelectModal as dr } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
78
|
+
import { ApAttachment as ur } from "./src/business/ap-attachment/index.mjs";
|
|
79
|
+
import { ApBatchAction as ir } from "./src/business/ap-batch-action/index.mjs";
|
|
80
|
+
import { ApBatchActionGroup as cr } from "./src/business/ap-batch-action-group/index.mjs";
|
|
81
|
+
import { ApButtonGroup as Ir } from "./src/business/ap-button-group/index.mjs";
|
|
82
|
+
import { ApCard as br } from "./src/business/ap-card/index.mjs";
|
|
83
|
+
import { ApExpandAlert as gr } from "./src/business/ap-expand-alert/index.mjs";
|
|
84
|
+
import { ApExportGroupActionType as Dr } from "./src/business/ap-export-group/interface.mjs";
|
|
85
|
+
import { ApExportGroup as hr } from "./src/business/ap-export-group/index.mjs";
|
|
86
|
+
import { handleExportDownload as Rr } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
87
|
+
import { convertExportField as Lr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
88
|
+
import { ApImage as Nr } from "./src/business/ap-image/index.mjs";
|
|
89
|
+
import { ApInputRadio as yr } from "./src/business/ap-input-radio/index.mjs";
|
|
90
|
+
import { ApLabel as kr, ApLabelGroup as Br } from "./src/business/ap-label/index.mjs";
|
|
91
|
+
import { locales as Or } from "./src/business/ap-ladder/interface.mjs";
|
|
92
|
+
import { ApLadder as Vr } from "./src/business/ap-ladder/index.mjs";
|
|
93
|
+
import { ApSelectLayout as zr } from "./src/business/ap-select-layout/index.mjs";
|
|
94
|
+
import { ApStatus as $r, ApStatusGroup as jr } from "./src/business/ap-status/index.mjs";
|
|
95
|
+
import { ApTitle as qr } from "./src/business/ap-title/index.mjs";
|
|
96
|
+
import { usePageListApTable as Qr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
97
|
+
import { useTableRefresh as Yr } from "./src/business/hooks/useTableRefresh.mjs";
|
|
98
|
+
import { usePageListApGrid as et } from "./src/business/hooks/usePageListApGrid.mjs";
|
|
99
|
+
import { useGridRefresh as rt } from "./src/business/hooks/useGridRefresh.mjs";
|
|
100
|
+
import { computedRecords as pt, flattenColumns as at, formatDataIndex as ft, formatNumber as mt } from "./src/business/ap-summary/utils.mjs";
|
|
101
|
+
import { ApSummary as xt } from "./src/business/ap-summary/index.mjs";
|
|
102
|
+
import { ApNeedNameKeyDefault as st } from "./src/business/ap-appendix/interface.mjs";
|
|
103
|
+
import { ApAppendix as At } from "./src/business/ap-appendix/index.mjs";
|
|
104
|
+
import { default as nt } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
105
|
+
import { default as Ft } from "./src/business/batch-input-group/index.vue.mjs";
|
|
106
|
+
import { default as Tt } from "./src/business/batch-input-group/form-item.vue.mjs";
|
|
107
|
+
import { ApSizeInput as Ct } from "./src/business/ap-size-input/index.mjs";
|
|
108
|
+
import { ApProductInfo as St } from "./src/business/ap-product-info/index.mjs";
|
|
109
|
+
import { ApCopy as Gt } from "./src/business/ap-copy/index.mjs";
|
|
110
|
+
import { ApView as Pt } from "./src/business/ap-view/index.mjs";
|
|
111
|
+
import { ApRadioGroup as Et } from "./src/business/ap-radio-group/index.mjs";
|
|
112
|
+
import { ApKeepAliveProps as Mt, forceStopTags as Nt } from "./src/business/ap-keep-alive/interface.mjs";
|
|
113
|
+
import { ApKeepAlive as yt } from "./src/business/ap-keep-alive/index.mjs";
|
|
114
|
+
import { LruCacher as kt } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
|
|
115
|
+
import { useApKeepAliveInject as Kt } from "./src/business/ap-keep-alive/hook.mjs";
|
|
116
|
+
import { matches as Ut } from "./src/business/ap-keep-alive/utils.mjs";
|
|
117
|
+
import { ApDraggableGrid as _t } from "./src/business/ap-draggable-grid/index.mjs";
|
|
118
|
+
import { ApValueSelectCard as Wt } from "./src/business/ap-value-select-card/index.mjs";
|
|
119
|
+
import { useTablePaging as jt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
120
|
+
import { ApTable as qt } from "./src/ap-table/index.mjs";
|
|
121
|
+
import { default as Qt } from "./src/editable-table/index.vue.mjs";
|
|
122
|
+
import { default as Yt } from "./src/editable-table/form-item.vue.mjs";
|
|
123
|
+
import { default as ep } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
124
|
+
import { ensureRangeValue as rp } from "./src/scroll-bar/utils/index.mjs";
|
|
125
|
+
import { default as pp } from "./src/scroll-bar/index.vue.mjs";
|
|
126
|
+
import { default as fp } from "./src/scroll-bar/internal.vue.mjs";
|
|
127
|
+
import { default as lp } from "./src/scroll-view/index.vue.mjs";
|
|
128
|
+
import { default as dp } from "./src/portal/index.vue.mjs";
|
|
129
|
+
import { default as up } from "./src/full-screen/index.vue.mjs";
|
|
130
|
+
import { default as ip } from "./src/resize-observer/index.vue.mjs";
|
|
131
|
+
import { ROW_SELECTION_FIELD as cp } from "./src/ap-grid/constants.mjs";
|
|
132
|
+
import { toTreeArray as Ip } from "./src/ap-grid/utils/to-tree-array.mjs";
|
|
133
|
+
import { default as bp } from "./src/ap-grid/index.vue.mjs";
|
|
134
|
+
import { default as gp } from "./src/ap-grid/editable/index.vue.mjs";
|
|
135
|
+
import { default as Dp } from "./src/ap-grid/editable/form-item.vue.mjs";
|
|
136
|
+
import { default as hp } from "./src/text/index.vue.mjs";
|
|
137
|
+
import { default as Rp } from "./src/text/group.vue.mjs";
|
|
138
|
+
import { default as Lp } from "./src/mask/index.vue.mjs";
|
|
139
|
+
import { Splitter as Np } from "./src/splitter/index.mjs";
|
|
140
|
+
import { useMessage as yp } from "./src/hooks/useMessage.mjs";
|
|
141
|
+
import { useControllableValue as kp } from "./src/hooks/useControllableValue.mjs";
|
|
142
|
+
import { useManualRef as Kp } from "./src/hooks/useManualRef.mjs";
|
|
143
|
+
import { useThrottleRef as Up } from "./src/hooks/useThrottleRef.mjs";
|
|
144
|
+
import { useFullScreen as _p } from "./src/hooks/useFullScreen.mjs";
|
|
145
|
+
import { useResize as Wp } from "./src/hooks/useResize.mjs";
|
|
144
146
|
const a = console.log;
|
|
145
147
|
a(`APlus-UI version ${p}`);
|
|
146
148
|
const l = {
|
|
@@ -159,23 +161,23 @@ export {
|
|
|
159
161
|
Fo as ApActionItemDropdown,
|
|
160
162
|
Ao as ApActionItemModal,
|
|
161
163
|
no as ApActionItemPopconfirm,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
At as ApAppendix,
|
|
165
|
+
ur as ApAttachment,
|
|
166
|
+
ir as ApBatchAction,
|
|
167
|
+
cr as ApBatchActionGroup,
|
|
166
168
|
qo as ApButton,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
Ir as ApButtonGroup,
|
|
170
|
+
br as ApCard,
|
|
169
171
|
Yo as ApConfirmButton,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
+
Gt as ApCopy,
|
|
173
|
+
ep as ApDescriptions,
|
|
172
174
|
ko as ApDownLoadNeedNameKeyDefault,
|
|
173
175
|
Ko as ApDownload,
|
|
174
|
-
|
|
176
|
+
_t as ApDraggableGrid,
|
|
175
177
|
er as ApDrawer,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
gr as ApExpandAlert,
|
|
179
|
+
hr as ApExportGroup,
|
|
180
|
+
Dr as ApExportGroupActionType,
|
|
179
181
|
Me as ApField,
|
|
180
182
|
we as ApFieldCheckbox,
|
|
181
183
|
Be as ApFieldDate,
|
|
@@ -196,7 +198,7 @@ export {
|
|
|
196
198
|
Te as ApFormDependency,
|
|
197
199
|
Se as ApFormDrawerForm,
|
|
198
200
|
xe as ApFormItem,
|
|
199
|
-
|
|
201
|
+
Tt as ApFormItemBatchInput,
|
|
200
202
|
oe as ApFormItemCheckbox,
|
|
201
203
|
$ as ApFormItemDate,
|
|
202
204
|
H as ApFormItemDateRange,
|
|
@@ -214,103 +216,105 @@ export {
|
|
|
214
216
|
Fe as ApFormModalForm,
|
|
215
217
|
Ee as ApFormProvider,
|
|
216
218
|
ne as ApFormSearchForm,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
219
|
+
Ce as ApFormSet,
|
|
220
|
+
bp as ApGrid,
|
|
221
|
+
Nr as ApImage,
|
|
222
|
+
yr as ApInputRadio,
|
|
223
|
+
yt as ApKeepAlive,
|
|
224
|
+
Mt as ApKeepAliveProps,
|
|
225
|
+
kr as ApLabel,
|
|
226
|
+
Br as ApLabelGroup,
|
|
227
|
+
Vr as ApLadder,
|
|
226
228
|
jo as ApList,
|
|
227
229
|
Wo as ApModal,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
230
|
+
st as ApNeedNameKeyDefault,
|
|
231
|
+
rr as ApProCard,
|
|
232
|
+
St as ApProductInfo,
|
|
233
|
+
Et as ApRadioGroup,
|
|
234
|
+
zr as ApSelectLayout,
|
|
235
|
+
Ct as ApSizeInput,
|
|
236
|
+
$r as ApStatus,
|
|
237
|
+
jr as ApStatusGroup,
|
|
238
|
+
xt as ApSummary,
|
|
239
|
+
qt as ApTable,
|
|
240
|
+
fr as ApTableModal,
|
|
238
241
|
Ro as ApTag,
|
|
239
242
|
Lo as ApTagGroup,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
243
|
+
hp as ApText,
|
|
244
|
+
Rp as ApTextGroup,
|
|
245
|
+
qr as ApTitle,
|
|
246
|
+
pr as ApTransformDataHelper,
|
|
244
247
|
yo as ApUpload,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
+
nt as ApUploadSingle,
|
|
249
|
+
Wt as ApValueSelectCard,
|
|
250
|
+
Pt as ApView,
|
|
251
|
+
Ft as BatchInputGroup,
|
|
248
252
|
Uo as CheckCard,
|
|
249
253
|
_o as CheckCardGroup,
|
|
250
254
|
y as ConfigProvider,
|
|
251
255
|
n as DEFAULT_NAMESPACE,
|
|
252
256
|
c as DEFAULT_UIMODE,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
257
|
+
Co as DictCode,
|
|
258
|
+
gp as EditableGrid,
|
|
259
|
+
Dp as EditableGridFormItem,
|
|
260
|
+
Qt as EditableTable,
|
|
261
|
+
Yt as EditableTableFormItem,
|
|
262
|
+
up as FullScreen,
|
|
263
|
+
fp as InternalScrollBar,
|
|
264
|
+
kt as LruCacher,
|
|
265
|
+
Lp as Mask,
|
|
262
266
|
No as NeedNameKeyDefault,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
dp as Portal,
|
|
268
|
+
cp as ROW_SELECTION_FIELD,
|
|
269
|
+
ip as ResizeObserver,
|
|
270
|
+
pp as ScrollBar,
|
|
271
|
+
lp as ScrollView,
|
|
272
|
+
Np as Splitter,
|
|
269
273
|
ho as WorkOrderModal,
|
|
270
274
|
mo as adminToken,
|
|
271
275
|
lo as aplusToken,
|
|
272
276
|
S as buildLocaleContext,
|
|
273
277
|
D as buildTranslator,
|
|
274
|
-
|
|
278
|
+
pt as computedRecords,
|
|
275
279
|
F as configProviderContextKey,
|
|
276
280
|
A as configProviderProps,
|
|
277
|
-
|
|
281
|
+
Lr as convertExportField,
|
|
278
282
|
Do as createWorkOrderModal,
|
|
279
283
|
l as default,
|
|
280
284
|
E as defaultNamespace,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
285
|
+
rp as ensureRangeValue,
|
|
286
|
+
at as flattenColumns,
|
|
287
|
+
Nt as forceStopTags,
|
|
288
|
+
ft as formatDataIndex,
|
|
289
|
+
mt as formatNumber,
|
|
286
290
|
w as globalConfigCached,
|
|
287
|
-
|
|
288
|
-
|
|
291
|
+
Rr as handleExportDownload,
|
|
292
|
+
Ut as isNameMatches,
|
|
289
293
|
T as keysOf,
|
|
290
|
-
|
|
294
|
+
go as langMap,
|
|
291
295
|
G as localeContextKey,
|
|
292
|
-
|
|
296
|
+
Or as locales,
|
|
293
297
|
L as namespaceContextKey,
|
|
294
298
|
s as pathMap,
|
|
295
299
|
b as provideGlobalConfig,
|
|
296
|
-
|
|
300
|
+
Ip as toTreeArray,
|
|
297
301
|
h as translate,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
302
|
+
Kt as useApKeepAliveInject,
|
|
303
|
+
kp as useControllableValue,
|
|
304
|
+
_p as useFullScreen,
|
|
301
305
|
M as useGetDerivedNamespace,
|
|
302
|
-
|
|
303
|
-
|
|
306
|
+
C as useGlobalConfig,
|
|
307
|
+
rt as useGridRefresh,
|
|
304
308
|
P as useLocale,
|
|
305
|
-
|
|
306
|
-
|
|
309
|
+
Kp as useManualRef,
|
|
310
|
+
yp as useMessage,
|
|
307
311
|
N as useNamespace,
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
312
|
+
et as usePageListApGrid,
|
|
313
|
+
Qr as usePageListApTable,
|
|
314
|
+
Wp as useResize,
|
|
315
|
+
lr as useTableModal,
|
|
316
|
+
jt as useTablePaging,
|
|
317
|
+
Yr as useTableRefresh,
|
|
318
|
+
dr as useTableSelectModal,
|
|
319
|
+
Up as useThrottleRef
|
|
316
320
|
};
|
|
@@ -4,6 +4,7 @@ import { Dayjs } from 'dayjs';
|
|
|
4
4
|
import { ZoneAlias } from '@aplus-frontend/utils';
|
|
5
5
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
6
|
export declare const useDefaultPresets: (props: BasicApFieldProps<{
|
|
7
|
+
disabledDate?: (date: Dayjs) => boolean;
|
|
7
8
|
presets?: ApFieldDateRangeProps["presets"];
|
|
8
9
|
timezone?: Ref<ZoneAlias | undefined>;
|
|
9
10
|
}>) => {
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { ref as s, computed as
|
|
2
|
-
import { presetsDefault as
|
|
1
|
+
import { ref as s, computed as v } from "vue";
|
|
2
|
+
import { presetsDefault as D } from "../../utils/data-range-persets.mjs";
|
|
3
3
|
import m from "dayjs";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { useLocale as
|
|
6
|
-
const
|
|
7
|
-
const u = s(m().valueOf()), { t:
|
|
5
|
+
import { useLocale as d } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
|
+
const o = (e) => {
|
|
7
|
+
const u = s(m().valueOf()), { t: i } = d();
|
|
8
8
|
return {
|
|
9
|
-
presets:
|
|
10
|
-
var
|
|
11
|
-
return e.presets === !0 ?
|
|
12
|
-
|
|
9
|
+
presets: v(() => {
|
|
10
|
+
var l, n, r, f;
|
|
11
|
+
return e.presets === !0 ? (n = D(
|
|
12
|
+
(l = e == null ? void 0 : e.timezone) == null ? void 0 : l.value,
|
|
13
|
+
u.value,
|
|
14
|
+
i
|
|
15
|
+
)) == null ? void 0 : n.filter(({ value: t }) => t.every(
|
|
16
|
+
(a) => e.disabledDate ? !e.disabledDate(a) : !0
|
|
17
|
+
)) : (f = (r = e == null ? void 0 : e.presets) == null ? void 0 : r.map) == null ? void 0 : f.call(r, (t) => {
|
|
18
|
+
var a;
|
|
13
19
|
return {
|
|
14
|
-
label:
|
|
15
|
-
value: (
|
|
20
|
+
label: t.label,
|
|
21
|
+
value: (a = t == null ? void 0 : t.value) == null ? void 0 : a.filter((c) => c !== null)
|
|
16
22
|
};
|
|
17
23
|
});
|
|
18
24
|
}),
|
|
@@ -22,5 +28,5 @@ const j = (e) => {
|
|
|
22
28
|
};
|
|
23
29
|
};
|
|
24
30
|
export {
|
|
25
|
-
|
|
31
|
+
o as useDefaultPresets
|
|
26
32
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApProCardGutter, ApProCardProps, ApProCardSolts } from '../../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<ApProCardSolts> & ApProCardSolts;
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: DefineComponent<ApProCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApProCardProps> & Readonly<{}>, {
|
|
11
|
+
wrap: boolean;
|
|
12
|
+
boxShadow: boolean;
|
|
13
|
+
gutter: ApProCardGutter | ApProCardGutter[];
|
|
14
|
+
ghost: boolean;
|
|
15
|
+
bordered: boolean;
|
|
16
|
+
headerBordered: boolean;
|
|
17
|
+
hoverable: boolean;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|