@aplus-frontend/ui 7.7.1 → 7.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/es/index.mjs +62 -60
  2. package/es/src/ag-grid/index.vue.mjs +52 -51
  3. package/es/src/ag-grid/style/index.mjs +7 -7
  4. package/es/src/ap-form/style/item.mjs +12 -6
  5. package/es/src/ap-modal/style/index.mjs +2 -2
  6. package/es/src/ap-table/style/ellipsis.mjs +7 -7
  7. package/es/src/ap-table/style/setting.mjs +1 -1
  8. package/es/src/business/ap-descriptions/index.d.ts +1 -0
  9. package/es/src/business/ap-descriptions/index.mjs +4 -0
  10. package/es/src/business/ap-label/style/index.mjs +5 -5
  11. package/es/src/business/ap-select-layout/style/index.mjs +1 -1
  12. package/es/src/business/ap-tag/style/index.mjs +4 -4
  13. package/es/src/business/ap-upload/style/single-file.mjs +1 -1
  14. package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +14 -14
  15. package/es/src/business/ap-value-select-card/style/index.mjs +1 -1
  16. package/es/src/editable-table/style/index.mjs +5 -5
  17. package/es/src/index.mjs +46 -44
  18. package/es/src/style/index.mjs +2 -2
  19. package/es/src/utils/cssinjs/TokenUtil.d.ts +1 -1
  20. package/es/src/utils/cssinjs/TokenUtil.mjs +2 -2
  21. package/es/src/version.d.ts +1 -1
  22. package/es/src/version.mjs +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/src/ag-grid/index.vue.js +1 -1
  25. package/lib/src/ag-grid/style/index.js +1 -1
  26. package/lib/src/ap-form/style/item.js +1 -1
  27. package/lib/src/ap-modal/style/index.js +1 -1
  28. package/lib/src/ap-table/style/ellipsis.js +1 -1
  29. package/lib/src/ap-table/style/setting.js +1 -1
  30. package/lib/src/business/ap-descriptions/index.d.ts +1 -0
  31. package/lib/src/business/ap-descriptions/index.js +1 -1
  32. package/lib/src/business/ap-label/style/index.js +1 -1
  33. package/lib/src/business/ap-select-layout/style/index.js +1 -1
  34. package/lib/src/business/ap-tag/style/index.js +1 -1
  35. package/lib/src/business/ap-upload/style/single-file.js +1 -1
  36. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
  37. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  38. package/lib/src/editable-table/style/index.js +1 -1
  39. package/lib/src/index.js +1 -1
  40. package/lib/src/style/index.js +1 -1
  41. package/lib/src/utils/cssinjs/TokenUtil.d.ts +1 -1
  42. package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
  43. package/lib/src/version.d.ts +1 -1
  44. package/lib/src/version.js +1 -1
  45. package/package.json +3 -3
package/es/index.mjs CHANGED
@@ -120,36 +120,37 @@ import { NeedNameKeyDefault as Wt } from "./src/business/ap-upload/apUploadTypes
120
120
  import { default as Jt } from "./src/business/ap-upload/apUpload.vue.mjs";
121
121
  import { ApDownLoadNeedNameKeyDefault as Xt } from "./src/business/ap-download/interface.mjs";
122
122
  import { default as Zt } from "./src/business/ap-download/ap-download.vue.mjs";
123
- import { default as op } from "./src/business/ap-descriptions/ap-descriptions.vue.mjs";
124
- import { useTablePaging as tp } from "./src/ap-table/hooks/use-table-paging.mjs";
125
- import { ApTable as ap } from "./src/ap-table/index.mjs";
126
- import { default as mp } from "./src/editable-table/index.vue.mjs";
127
- import { default as xp } from "./src/editable-table/form-item.vue.mjs";
128
- import { ensureRangeValue as sp } from "./src/scroll-bar/utils/index.mjs";
129
- import { default as Ap } from "./src/scroll-bar/index.vue.mjs";
130
- import { default as np } from "./src/scroll-bar/internal.vue.mjs";
131
- import { default as Fp } from "./src/scroll-view/index.vue.mjs";
132
- import { default as Ip } from "./src/portal/index.vue.mjs";
133
- import { default as Sp } from "./src/full-screen/index.vue.mjs";
134
- import { default as Cp } from "./src/resize-observer/index.vue.mjs";
135
- import { ROW_SELECTION_FIELD as Dp } from "./src/ap-grid/constants.mjs";
136
- import { toTreeArray as Ep } from "./src/ap-grid/utils/to-tree-array.mjs";
137
- import { default as Lp } from "./src/ap-grid/index.vue.mjs";
138
- import { default as Np } from "./src/ap-grid/editable/index.vue.mjs";
139
- import { default as Mp } from "./src/ap-grid/editable/form-item.vue.mjs";
140
- import { default as wp } from "./src/text/index.vue.mjs";
141
- import { default as Kp } from "./src/text/group.vue.mjs";
142
- import { default as Up } from "./src/mask/index.vue.mjs";
143
- import { Splitter as Vp } from "./src/splitter/index.mjs";
144
- import { default as _p } from "./src/ag-grid/index.vue.mjs";
145
- import { default as $p } from "./src/ag-grid/editable/index.vue.mjs";
146
- import { default as Wp } from "./src/ag-grid/editable/form-item.vue.mjs";
147
- import { useMessage as Jp } from "./src/hooks/useMessage.mjs";
148
- import { useControllableValue as Xp } from "./src/hooks/useControllableValue.mjs";
149
- import { useManualRef as Zp } from "./src/hooks/useManualRef.mjs";
150
- import { useThrottleRef as oa } from "./src/hooks/useThrottleRef.mjs";
151
- import { useFullScreen as ta } from "./src/hooks/useFullScreen.mjs";
152
- import { useResize as aa } from "./src/hooks/useResize.mjs";
123
+ import { formatString as op } from "./src/business/ap-descriptions/formatter/utils.mjs";
124
+ import { default as tp } from "./src/business/ap-descriptions/ap-descriptions.vue.mjs";
125
+ import { useTablePaging as ap } from "./src/ap-table/hooks/use-table-paging.mjs";
126
+ import { ApTable as mp } from "./src/ap-table/index.mjs";
127
+ import { default as xp } from "./src/editable-table/index.vue.mjs";
128
+ import { default as sp } from "./src/editable-table/form-item.vue.mjs";
129
+ import { ensureRangeValue as Ap } from "./src/scroll-bar/utils/index.mjs";
130
+ import { default as np } from "./src/scroll-bar/index.vue.mjs";
131
+ import { default as Fp } from "./src/scroll-bar/internal.vue.mjs";
132
+ import { default as Ip } from "./src/scroll-view/index.vue.mjs";
133
+ import { default as Sp } from "./src/portal/index.vue.mjs";
134
+ import { default as Cp } from "./src/full-screen/index.vue.mjs";
135
+ import { default as Dp } from "./src/resize-observer/index.vue.mjs";
136
+ import { ROW_SELECTION_FIELD as Ep } from "./src/ap-grid/constants.mjs";
137
+ import { toTreeArray as Lp } from "./src/ap-grid/utils/to-tree-array.mjs";
138
+ import { default as Np } from "./src/ap-grid/index.vue.mjs";
139
+ import { default as Mp } from "./src/ap-grid/editable/index.vue.mjs";
140
+ import { default as wp } from "./src/ap-grid/editable/form-item.vue.mjs";
141
+ import { default as Kp } from "./src/text/index.vue.mjs";
142
+ import { default as Up } from "./src/text/group.vue.mjs";
143
+ import { default as Vp } from "./src/mask/index.vue.mjs";
144
+ import { Splitter as _p } from "./src/splitter/index.mjs";
145
+ import { default as $p } from "./src/ag-grid/index.vue.mjs";
146
+ import { default as Wp } from "./src/ag-grid/editable/index.vue.mjs";
147
+ import { default as Jp } from "./src/ag-grid/editable/form-item.vue.mjs";
148
+ import { useMessage as Xp } from "./src/hooks/useMessage.mjs";
149
+ import { useControllableValue as Zp } from "./src/hooks/useControllableValue.mjs";
150
+ import { useManualRef as oa } from "./src/hooks/useManualRef.mjs";
151
+ import { useThrottleRef as ta } from "./src/hooks/useThrottleRef.mjs";
152
+ import { useFullScreen as aa } from "./src/hooks/useFullScreen.mjs";
153
+ import { useResize as ma } from "./src/hooks/useResize.mjs";
153
154
  const a = console.log;
154
155
  a(`UI version: ${p}`);
155
156
  const l = {
@@ -162,7 +163,7 @@ const l = {
162
163
  };
163
164
  export {
164
165
  w as APConfigProvider,
165
- _p as AgGrid,
166
+ $p as AgGrid,
166
167
  Ro as ApActionButton,
167
168
  go as ApActionGroup,
168
169
  xo as ApActionItem,
@@ -178,7 +179,7 @@ export {
178
179
  sr as ApCard,
179
180
  vo as ApConfirmButton,
180
181
  ct as ApCopy,
181
- op as ApDescriptions,
182
+ tp as ApDescriptions,
182
183
  Xt as ApDownLoadNeedNameKeyDefault,
183
184
  Zt as ApDownload,
184
185
  Mt as ApDraggableGrid,
@@ -227,7 +228,7 @@ export {
227
228
  Ee as ApFormProvider,
228
229
  Ae as ApFormSearchForm,
229
230
  Ie as ApFormSet,
230
- Lp as ApGrid,
231
+ Np as ApGrid,
231
232
  Cr as ApImage,
232
233
  Dr as ApInputRadio,
233
234
  Dt as ApKeepAlive,
@@ -248,12 +249,12 @@ export {
248
249
  Br as ApStatus,
249
250
  Kr as ApStatusGroup,
250
251
  Yr as ApSummary,
251
- ap as ApTable,
252
+ mp as ApTable,
252
253
  Xo as ApTableModal,
253
254
  _t as ApTag,
254
255
  $t as ApTagGroup,
255
- wp as ApText,
256
- Kp as ApTextGroup,
256
+ Kp as ApText,
257
+ Up as ApTextGroup,
257
258
  Ur as ApTitle,
258
259
  Jo as ApTransformDataHelper,
259
260
  Jt as ApUpload,
@@ -266,26 +267,26 @@ export {
266
267
  v as ConfigProvider,
267
268
  A as DEFAULT_NAMESPACE,
268
269
  i as DEFAULT_UIMODE,
269
- $p as EditableAgGrid,
270
- Wp as EditableAgGridFormItem,
271
- Np as EditableGrid,
272
- Mp as EditableGridFormItem,
273
- mp as EditableTable,
274
- xp as EditableTableFormItem,
275
- Sp as FullScreen,
270
+ Wp as EditableAgGrid,
271
+ Jp as EditableAgGridFormItem,
272
+ Mp as EditableGrid,
273
+ wp as EditableGridFormItem,
274
+ xp as EditableTable,
275
+ sp as EditableTableFormItem,
276
+ Cp as FullScreen,
276
277
  Wo as Highlight,
277
- np as InternalScrollBar,
278
+ Fp as InternalScrollBar,
278
279
  Uo as LoadingBar,
279
280
  Et as LruCacher,
280
- Up as Mask,
281
+ Vp as Mask,
281
282
  Wt as NeedNameKeyDefault,
282
- Ip as Portal,
283
- Dp as ROW_SELECTION_FIELD,
283
+ Sp as Portal,
284
+ Ep as ROW_SELECTION_FIELD,
284
285
  Vo as Render,
285
- Cp as ResizeObserver,
286
- Ap as ScrollBar,
287
- Fp as ScrollView,
288
- Vp as Splitter,
286
+ Dp as ResizeObserver,
287
+ np as ScrollBar,
288
+ Ip as ScrollView,
289
+ _p as Splitter,
289
290
  _o as TimeAgo,
290
291
  fo as adminToken,
291
292
  mo as aplusToken,
@@ -297,11 +298,12 @@ export {
297
298
  Sr as convertExportField,
298
299
  l as default,
299
300
  E as defaultNamespace,
300
- sp as ensureRangeValue,
301
+ Ap as ensureRangeValue,
301
302
  qr as flattenColumns,
302
303
  Ct as forceStopTags,
303
304
  Jr as formatDataIndex,
304
305
  Qr as formatNumber,
306
+ op as formatString,
305
307
  M as globalConfigCached,
306
308
  Ir as handleExportDownload,
307
309
  Nt as isNameMatches,
@@ -310,26 +312,26 @@ export {
310
312
  Rr as locales,
311
313
  P as namespaceContextKey,
312
314
  g as provideGlobalConfig,
313
- Ep as toTreeArray,
315
+ Lp as toTreeArray,
314
316
  G as translate,
315
317
  Kt as useAgGridModal,
316
318
  Ut as useAgGridSelectModal,
317
319
  Lt as useApKeepAliveInject,
318
- Xp as useControllableValue,
319
- ta as useFullScreen,
320
+ Zp as useControllableValue,
321
+ aa as useFullScreen,
320
322
  L as useGetDerivedNamespace,
321
323
  I as useGlobalConfig,
322
324
  D as useLocale,
323
- Zp as useManualRef,
324
- Jp as useMessage,
325
+ oa as useManualRef,
326
+ Xp as useMessage,
325
327
  R as useNamespace,
326
328
  $r as usePageListAgGrid,
327
329
  _r as usePageListApGrid,
328
330
  Vr as usePageListApTable,
329
- aa as useResize,
331
+ ma as useResize,
330
332
  Zo as useTableModal,
331
- tp as useTablePaging,
333
+ ap as useTablePaging,
332
334
  or as useTableSelectModal,
333
- oa as useThrottleRef,
335
+ ta as useThrottleRef,
334
336
  $o as useTimeAgo
335
337
  };
@@ -1,38 +1,38 @@
1
1
  import { defineComponent as po, useSlots as fo, ref as M, toRef as F, unref as t, computed as n, nextTick as z, watch as G, createElementBlock as O, openBlock as h, normalizeStyle as L, normalizeClass as f, createCommentVNode as se, createElementVNode as B, createVNode as ie, mergeProps as W, createSlots as go, withCtx as ue, Fragment as wo, renderList as So, createBlock as H, resolveDynamicComponent as Co, renderSlot as de, withDirectives as ho, vShow as yo } from "vue";
2
2
  import { AgGridVue as Ro } from "ag-grid-vue3";
3
- import { ModuleRegistry as vo, ValidationModule as bo, ColumnAutoSizeModule as Mo, PinnedRowModule as Fo, RowAutoHeightModule as Bo, RowStyleModule as ko, CellSpanModule as xo, CellStyleModule as Io, TooltipModule as Ao, RowSelectionModule as No, LocaleModule as To, ValueCacheModule as Do, GridStateModule as Eo, ColumnApiModule as Po, RowApiModule as Ko, CellApiModule as Vo, RenderApiModule as zo, EventApiModule as Go, ClientSideRowModelApiModule as Oo, ClientSideRowModelModule as Lo } from "ag-grid-community";
4
- import { mergeProps as Wo } from "./utils.mjs";
5
- import { Spin as Ho, Pagination as Uo } from "@aplus-frontend/antdv";
3
+ import { ModuleRegistry as vo, ValidationModule as bo, ColumnAutoSizeModule as Mo, PinnedRowModule as Fo, RowAutoHeightModule as Bo, RowStyleModule as ko, CellSpanModule as xo, CellStyleModule as Io, TooltipModule as Ao, RowSelectionModule as No, LocaleModule as To, ValueCacheModule as Do, GridStateModule as Eo, ColumnApiModule as Po, RowApiModule as Ko, CellApiModule as Vo, RenderApiModule as zo, EventApiModule as Go, ScrollApiModule as Oo, ClientSideRowModelApiModule as Lo, ClientSideRowModelModule as Wo } from "ag-grid-community";
4
+ import { mergeProps as Ho } from "./utils.mjs";
5
+ import { Spin as Uo, Pagination as _o } from "@aplus-frontend/antdv";
6
6
  import { isUndefined as k, isFunction as N } from "lodash-unified";
7
7
  import "../config-provider/index.mjs";
8
- import { ApForm as _o } from "../ap-form/index.mjs";
9
- import { recursionApColumns as jo } from "../ap-table/utils.mjs";
10
- import { useTablePaging as $o } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
- import qo from "./hooks/use-row-selection.mjs";
12
- import { useProvideSorter as Jo } from "./context.mjs";
13
- import { useProvideApTable as Qo } from "../ap-table/context.mjs";
14
- import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as Xo, sizeMap as Yo } from "../ap-grid/constants.mjs";
15
- import { useToken as Zo } from "@aplus-frontend/antdv/es/theme/internal";
16
- import { useTheme as et } from "./theme.mjs";
17
- import { useColumns as ot } from "./hooks/use-columns.mjs";
18
- import { useColumnsDef as tt } from "./hooks/use-columns-def.mjs";
8
+ import { ApForm as jo } from "../ap-form/index.mjs";
9
+ import { recursionApColumns as $o } from "../ap-table/utils.mjs";
10
+ import { useTablePaging as qo } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
+ import Jo from "./hooks/use-row-selection.mjs";
12
+ import { useProvideSorter as Qo } from "./context.mjs";
13
+ import { useProvideApTable as Xo } from "../ap-table/context.mjs";
14
+ import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as Yo, sizeMap as Zo } from "../ap-grid/constants.mjs";
15
+ import { useToken as et } from "@aplus-frontend/antdv/es/theme/internal";
16
+ import { useTheme as ot } from "./theme.mjs";
17
+ import { useColumns as tt } from "./hooks/use-columns.mjs";
18
+ import { useColumnsDef as rt } from "./hooks/use-columns-def.mjs";
19
19
  import "../utils/index.mjs";
20
- import { getValidVNodeList as rt } from "../utils/slot.mjs";
21
- import { useSearchForm as lt } from "./hooks/use-search-form.mjs";
20
+ import { getValidVNodeList as lt } from "../utils/slot.mjs";
21
+ import { useSearchForm as at } from "./hooks/use-search-form.mjs";
22
22
  import "./components/empty/index.vue.mjs";
23
- import at from "./hooks/use-virtual-config.mjs";
24
- import { usePinnedRow as nt } from "./hooks/use-pinned-row.mjs";
25
- import st from "./hooks/use-selection-col-def.mjs";
23
+ import nt from "./hooks/use-virtual-config.mjs";
24
+ import { usePinnedRow as st } from "./hooks/use-pinned-row.mjs";
25
+ import it from "./hooks/use-selection-col-def.mjs";
26
26
  import "./components/row/index.vue.mjs";
27
- import it from "./style/index.mjs";
28
- import { AG_GRID_LOCALE_EN as ut, AG_GRID_LOCALE_CN as dt } from "@ag-grid-community/locale";
29
- import { useNamespace as ct } from "../config-provider/hooks/use-namespace.mjs";
30
- import { useLocale as mt } from "../config-provider/hooks/use-locale.mjs";
31
- import { useGlobalConfig as pt } from "../config-provider/hooks/use-global-config.mjs";
32
- import { isDef as ft } from "../utils/is.mjs";
33
- import gt from "./components/row/index.vue2.mjs";
34
- import wt from "./components/empty/index.vue2.mjs";
35
- const Xt = /* @__PURE__ */ po({
27
+ import ut from "./style/index.mjs";
28
+ import { AG_GRID_LOCALE_EN as dt, AG_GRID_LOCALE_CN as ct } from "@ag-grid-community/locale";
29
+ import { useNamespace as mt } from "../config-provider/hooks/use-namespace.mjs";
30
+ import { useLocale as pt } from "../config-provider/hooks/use-locale.mjs";
31
+ import { useGlobalConfig as ft } from "../config-provider/hooks/use-global-config.mjs";
32
+ import { isDef as gt } from "../utils/is.mjs";
33
+ import wt from "./components/row/index.vue2.mjs";
34
+ import St from "./components/empty/index.vue2.mjs";
35
+ const Yt = /* @__PURE__ */ po({
36
36
  name: "AgGrid",
37
37
  __name: "index",
38
38
  props: {
@@ -109,8 +109,8 @@ const Xt = /* @__PURE__ */ po({
109
109
  },
110
110
  setup(me, { expose: pe }) {
111
111
  const fe = {
112
- "zh-cn": dt,
113
- en: ut
112
+ "zh-cn": ct,
113
+ en: dt
114
114
  };
115
115
  vo.registerModules([
116
116
  bo,
@@ -131,18 +131,19 @@ const Xt = /* @__PURE__ */ po({
131
131
  zo,
132
132
  Go,
133
133
  Oo,
134
- Lo
134
+ Lo,
135
+ Wo
135
136
  ]);
136
- const o = me, U = fo(), { e: x, b: d, be: ge } = ct("ag-grid"), { lang: _ } = mt(), we = it("ag-grid"), y = M(o.size), Se = et(
137
+ const o = me, U = fo(), { e: x, b: d, be: ge } = mt("ag-grid"), { lang: _ } = pt(), we = ut("ag-grid"), y = M(o.size), Se = ot(
137
138
  y,
138
139
  F(o, "rowHeight"),
139
140
  F(o, "theme")
140
- ), Ce = at(F(o, "virtual")), { rowPinnedGridConfig: j, getRowPinnedCellClass: he } = nt(
141
+ ), Ce = nt(F(o, "virtual")), { rowPinnedGridConfig: j, getRowPinnedCellClass: he } = st(
141
142
  F(o, "summary")
142
- ), ye = pt("apGrid"), s = M(), [, Re] = Zo();
143
+ ), ye = ft("apGrid"), s = M(), [, Re] = et();
143
144
  let R = !!o.dataSource;
144
- const $ = lt(o), { shownColumns: g, columns: q, columnKeys: ve, getTargetColumnByKey: be } = ot(o), { defaultColDef: Me, columnDefs: Fe, gridWrapperRef: Be } = tt(q, o, he), I = M({});
145
- Jo({
145
+ const $ = at(o), { shownColumns: g, columns: q, columnKeys: ve, getTargetColumnByKey: be } = tt(o), { defaultColDef: Me, columnDefs: Fe, gridWrapperRef: Be } = rt(q, o, he), I = M({});
146
+ Qo({
146
147
  sorter: I,
147
148
  setSorter(e) {
148
149
  I.value = e;
@@ -169,7 +170,7 @@ const Xt = /* @__PURE__ */ po({
169
170
  order: m ? ke[m] : null
170
171
  });
171
172
  }
172
- const Ie = n(() => jo(t(g), (e) => {
173
+ const Ie = n(() => $o(t(g), (e) => {
173
174
  if (e.sorter === !0)
174
175
  return e.field ?? e.dataIndex ?? e.key;
175
176
  }).filter(Boolean)), Ae = () => {
@@ -179,7 +180,7 @@ const Xt = /* @__PURE__ */ po({
179
180
  return;
180
181
  const r = e.getColumnState()?.map((l) => ({ ...l, sort: null }));
181
182
  e.applyColumnState({ state: r });
182
- }, T = M(!0), Ne = n(() => ft(o.manual) ? o.manual : rt(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
183
+ }, T = M(!0), Ne = n(() => gt(o.manual) ? o.manual : lt(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
183
184
  formRef: w,
184
185
  submit: D,
185
186
  reset: E,
@@ -191,7 +192,7 @@ const Xt = /* @__PURE__ */ po({
191
192
  getPaging: Te,
192
193
  setPaging: De,
193
194
  setDataSource: Ee
194
- } = $o({
195
+ } = qo({
195
196
  async request(e) {
196
197
  if (R = !1, C.value && !C.value.preserveSelectedRowKeys && k(o.dataSource) && !T.value && V(), T.value && (T.value = !1), !k(o.dataSource)) {
197
198
  const l = e.pageSize * (e.current - 1);
@@ -222,7 +223,7 @@ const Xt = /* @__PURE__ */ po({
222
223
  ...ce,
223
224
  ...e
224
225
  };
225
- }), Pe = st(o, g), Ke = n(
226
+ }), Pe = it(o, g), Ke = n(
226
227
  () => k(o.dataSource) ? S.records : o.dataSource
227
228
  ), {
228
229
  select: Ve,
@@ -233,7 +234,7 @@ const Xt = /* @__PURE__ */ po({
233
234
  selectMultiByKeys: Le,
234
235
  selectMulti: We,
235
236
  unSelectMulti: He
236
- } = qo({
237
+ } = Jo({
237
238
  ...C.value,
238
239
  dataSource: Ke,
239
240
  rowKey: o.rowKey
@@ -289,7 +290,7 @@ const Xt = /* @__PURE__ */ po({
289
290
  const e = o.customRow;
290
291
  return e ? {
291
292
  isFullWidthRow: e.isCustomRow,
292
- fullWidthCellRenderer: gt,
293
+ fullWidthCellRenderer: wt,
293
294
  fullWidthCellRendererParams: {
294
295
  render: e.render
295
296
  }
@@ -351,15 +352,15 @@ const Xt = /* @__PURE__ */ po({
351
352
  applyOrder: !0
352
353
  });
353
354
  }
354
- Qo({
355
+ Xo({
355
356
  columns: n(() => g.value),
356
357
  columnsBackup: n(() => q.value),
357
- size: n(() => Yo[y.value]),
358
+ size: n(() => Zo[y.value]),
358
359
  updateColumns(e) {
359
360
  g.value = e, o.onShownColumnsChange?.(e), Ye(e);
360
361
  },
361
362
  updateSize(e) {
362
- y.value = Xo[e];
363
+ y.value = Yo[e];
363
364
  },
364
365
  renderConfig: n(() => ({
365
366
  className: ge("table-header", "title"),
@@ -473,7 +474,7 @@ const Xt = /* @__PURE__ */ po({
473
474
  class: f(e.card ? t(x)("search-wrapper") : null),
474
475
  style: L(e.searchFormWrapperStyle)
475
476
  }, [
476
- ie(t(_o).SearchForm, W(e.searchForm || {}, {
477
+ ie(t(jo).SearchForm, W(e.searchForm || {}, {
477
478
  ref_key: "formRef",
478
479
  ref: w,
479
480
  "custom-reset": "",
@@ -517,7 +518,7 @@ const Xt = /* @__PURE__ */ po({
517
518
  class: f(t(d)("grid-wrapper"))
518
519
  }, [
519
520
  (h(), H(t(Ro), W(
520
- t(Wo)(t(Ce), t(j), Je.value),
521
+ t(Ho)(t(Ce), t(j), Je.value),
521
522
  {
522
523
  key: t(_),
523
524
  "get-row-class": co,
@@ -535,7 +536,7 @@ const Xt = /* @__PURE__ */ po({
535
536
  "enable-browser-tooltips": e.browserTooltips,
536
537
  "tooltip-interaction": "",
537
538
  "row-class-rules": e.rowClassRules,
538
- "no-rows-overlay-component": wt,
539
+ "no-rows-overlay-component": St,
539
540
  "suppress-cell-focus": "",
540
541
  "enable-cell-span": "",
541
542
  "dom-layout": e.autoHeight ? "autoHeight" : "normal",
@@ -552,7 +553,7 @@ const Xt = /* @__PURE__ */ po({
552
553
  ho(B("div", {
553
554
  class: f(t(x)("table-loading-wrapper"))
554
555
  }, [
555
- ie(t(Ho), { delay: 300 })
556
+ ie(t(Uo), { delay: 300 })
556
557
  ], 2), [
557
558
  [yo, Ze.value]
558
559
  ])
@@ -560,7 +561,7 @@ const Xt = /* @__PURE__ */ po({
560
561
  B("div", {
561
562
  class: f(t(d)("pagination-wrapper"))
562
563
  }, [
563
- e.pagination !== !1 ? (h(), H(t(Uo), W({
564
+ e.pagination !== !1 ? (h(), H(t(_o), W({
564
565
  key: 0,
565
566
  class: t(d)("pagination")
566
567
  }, t(J).pagination, { onChange: to }), null, 16, ["class"])) : se("", !0)
@@ -570,5 +571,5 @@ const Xt = /* @__PURE__ */ po({
570
571
  }
571
572
  });
572
573
  export {
573
- Xt as default
574
+ Yt as default
574
575
  };
@@ -1,5 +1,5 @@
1
- import { genSettingTriggerBtnStyle as l } from "../../ap-table/style/index.mjs";
2
- import { multiRows as a, resetScrollbar as d } from "../../style/index.mjs";
1
+ import { genSettingTriggerBtnStyle as a } from "../../ap-table/style/index.mjs";
2
+ import { multiRows as l, resetScrollbar as d } from "../../style/index.mjs";
3
3
  import { genComponentStyleHook as r } from "../../utils/cssinjs/index.mjs";
4
4
  const t = {
5
5
  agGridSearchFormWrapperMarginBlockEnd: 10,
@@ -84,14 +84,14 @@ const t = {
84
84
  },
85
85
  [`${e}-table-header`]: {
86
86
  "&__title": {
87
- ...a(i),
87
+ ...l(i),
88
88
  fontWeight: 700,
89
89
  "&--single": {
90
90
  flex: "unset"
91
91
  }
92
92
  }
93
93
  },
94
- ...l(i),
94
+ ...a(i),
95
95
  [`${e}__cell--left`]: {
96
96
  textAlign: "left"
97
97
  },
@@ -104,8 +104,8 @@ const t = {
104
104
  [`${e}__cell--multiline`]: {
105
105
  ".ag-cell-value": {
106
106
  display: "-webkit-box",
107
- "-webkit-box-orient": "vertical",
108
- "-webkit-line-clamp": i.agGridLineClamp,
107
+ WebkitBoxOrient: "vertical",
108
+ WebkitLineClamp: i.agGridLineClamp,
109
109
  wordBreak: "break-all"
110
110
  }
111
111
  },
@@ -143,7 +143,7 @@ const t = {
143
143
  },
144
144
  ".ag-unselectable": {
145
145
  userSelect: "text",
146
- "-webkit-user-select": "text"
146
+ WebkitUserSelect: "text"
147
147
  },
148
148
  ".ag-checkbox.ag-labeled[disabled] .ag-input-field-input[disabled]": {
149
149
  cursor: "not-allowed"
@@ -1,8 +1,8 @@
1
- import { genComponentStyleHook as a } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as e } from "../../utils/cssinjs/index.mjs";
2
2
  const i = (n) => {
3
- const { componentCls: t, namespace: e } = n;
3
+ const { componentCls: a, namespace: t } = n;
4
4
  return {
5
- [t]: {
5
+ [a]: {
6
6
  // bordered
7
7
  "&--bordered": {
8
8
  boxSizing: "border-box",
@@ -12,7 +12,7 @@ const i = (n) => {
12
12
  ".ant-input-affix-wrapper": {
13
13
  padding: 0
14
14
  },
15
- [`&:has(.${e}-batch-input-group):has(.ant-select)`]: {
15
+ [`&:has(.${t}-batch-input-group):has(.ant-select)`]: {
16
16
  ".ant-input-affix-wrapper": {
17
17
  paddingInlineEnd: n.space
18
18
  }
@@ -23,6 +23,12 @@ const i = (n) => {
23
23
  paddingInlineStart: 0
24
24
  }
25
25
  },
26
+ [`&:has(div.${t}-batch-input-group .ant-input)`]: {
27
+ paddingInlineEnd: n.space,
28
+ ".ant-input": {
29
+ paddingInlineStart: 0
30
+ }
31
+ },
26
32
  ".ant-picker": {
27
33
  padding: 0
28
34
  },
@@ -84,7 +90,7 @@ const i = (n) => {
84
90
  borderColor: n.activeColorBase,
85
91
  boxShadow: "0 0 0 2px rgba(5, 155, 255, 0.1)"
86
92
  },
87
- [`.${e}-batch-input-group-popover-input__popover`]: {
93
+ [`.${t}-batch-input-group-popover-input__popover`]: {
88
94
  width: "calc(100% + 12px)"
89
95
  }
90
96
  },
@@ -125,7 +131,7 @@ const i = (n) => {
125
131
  }
126
132
  }
127
133
  };
128
- }, o = a("ApForm", (n) => [i(n)]);
134
+ }, o = e("ApForm", (n) => [i(n)]);
129
135
  export {
130
136
  o as default,
131
137
  i as genApFormItemStyle
@@ -4,8 +4,8 @@ const t = (o) => {
4
4
  return {
5
5
  [e]: {
6
6
  [`${e}-body-wrapper`]: {
7
- "scrollbar-width": "none",
8
- "-ms-overflow-style": "none",
7
+ scrollbarWidth: "none",
8
+ msOverflowStyle: "none",
9
9
  "&::-webkit-scrollbar": {
10
10
  display: "none"
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { genComponentStyleHook as i } from "../../utils/cssinjs/index.mjs";
2
- const o = (e) => {
2
+ const r = (e) => {
3
3
  const { componentCls: l } = e;
4
4
  return {
5
5
  [l]: {
@@ -11,9 +11,9 @@ const o = (e) => {
11
11
  minWidth: 0,
12
12
  overflow: "hidden",
13
13
  display: "-webkit-box",
14
- "-webkit-box-orient": "vertical",
14
+ WebkitBoxOrient: "vertical",
15
+ WebkitLineClamp: "var(--ap-table-paragraph-ellipsis-rows)",
15
16
  textOverflow: "ellipsis",
16
- "-webkit-line-clamp": "var(--ap-table-paragraph-ellipsis-rows)",
17
17
  lineClamp: "var(--ap-table-paragraph-ellipsis-rows)",
18
18
  wordBreak: "break-all",
19
19
  "& > *": {
@@ -28,10 +28,10 @@ const o = (e) => {
28
28
  }
29
29
  }
30
30
  };
31
- }, a = i("ApTable.Ellipsis", (e) => [
32
- o(e)
31
+ }, o = i("ApTable.Ellipsis", (e) => [
32
+ r(e)
33
33
  ]);
34
34
  export {
35
- a as default,
36
- o as genTableEllipsisCellStyle
35
+ o as default,
36
+ r as genTableEllipsisCellStyle
37
37
  };
@@ -96,7 +96,7 @@ const o = (e) => {
96
96
  justifyContent: "space-between",
97
97
  alignItems: "center",
98
98
  "&:hover": {
99
- backgroundColor: e.calc(e.colorPrimary).colorOpacity(8),
99
+ backgroundColor: e.calc(e.colorPrimary).colorMix(8),
100
100
  borderRadius: e.borderRadiusSM,
101
101
  cursor: "pointer",
102
102
  [`${i}-right`]: {
@@ -1,3 +1,4 @@
1
1
  import { default as ApDescriptions } from './ap-descriptions.vue';
2
2
  export * from './interface';
3
+ export { formatString } from './formatter/utils';
3
4
  export { ApDescriptions };
@@ -1,2 +1,6 @@
1
1
  import "./ap-descriptions.vue2.mjs";
2
2
  import "./interface.mjs";
3
+ import { formatString as i } from "./formatter/utils.mjs";
4
+ export {
5
+ i as formatString
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { genComponentStyleHook as t } from "../../../utils/cssinjs/index.mjs";
2
- const c = (o) => {
2
+ const n = (o) => {
3
3
  const {
4
4
  componentCls: e,
5
5
  apLabelColorCustomGreen: l,
@@ -30,24 +30,24 @@ const c = (o) => {
30
30
  ".ant-tag-green": {
31
31
  color: l,
32
32
  borderColor: l,
33
- background: o.calc(l).colorOpacity(6)
33
+ background: o.calc(l).colorMix(6)
34
34
  },
35
35
  ".ant-tag-red": {
36
36
  color: a,
37
37
  borderColor: a,
38
- backgroundColor: o.calc(a).colorOpacity(6)
38
+ backgroundColor: o.calc(a).colorMix(6)
39
39
  },
40
40
  ".ant-tag-blue": {
41
41
  color: r,
42
42
  borderColor: r,
43
- backgroundColor: o.calc(r).colorOpacity(6)
43
+ backgroundColor: o.calc(r).colorMix(6)
44
44
  }
45
45
  }
46
46
  }
47
47
  };
48
48
  }, i = t(
49
49
  "ApLabel",
50
- (o) => [c(o)],
50
+ (o) => [n(o)],
51
51
  {
52
52
  apLabelColorCustomGreen: "#34b77c",
53
53
  apLabelColorCustomRed: "#FF4D4F",
@@ -76,7 +76,7 @@ const a = (i) => {
76
76
  background: i.colorBg3
77
77
  },
78
78
  "&.active": {
79
- backgroundColor: i.calc(i.colorPrimary).colorOpacity(10),
79
+ backgroundColor: i.calc(i.colorPrimary).colorMix(10),
80
80
  color: i.colorPrimary,
81
81
  fontWeight: "bold",
82
82
  "& > .ant-typography": {