@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.
Files changed (97) hide show
  1. package/es/index.mjs +84 -80
  2. package/es/src/ap-descriptions/help-message/index.vue2.mjs +17 -12
  3. package/es/src/ap-field/date/helper.mjs +9 -9
  4. package/es/src/ap-table/ap-table.vue2.mjs +206 -181
  5. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +62 -62
  6. package/es/src/ap-upload/apUpload.vue.d.ts +9 -0
  7. package/es/src/ap-upload/apUpload.vue.mjs +22 -18
  8. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +66 -66
  9. package/es/src/ap-upload/components/Picture.vue2.mjs +82 -82
  10. package/es/src/ap-upload/components/SingleFile.vue2.mjs +114 -114
  11. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +79 -67
  12. package/es/src/config-provider/config-provider.d.ts +3 -0
  13. package/es/src/config-provider/css-var.d.ts +3 -0
  14. package/es/src/config-provider/css-var.mjs +21 -14
  15. package/es/src/config-provider/index.d.ts +15 -0
  16. package/es/src/hooks/index.d.ts +1 -0
  17. package/es/src/hooks/index.mjs +6 -4
  18. package/es/src/hooks/useResize.d.ts +8 -0
  19. package/es/src/hooks/useResize.mjs +23 -0
  20. package/es/src/index.d.ts +1 -0
  21. package/es/src/index.mjs +212 -209
  22. package/es/src/path-map.mjs +2 -1
  23. package/es/src/resize-observer/index.d.ts +3 -0
  24. package/es/src/resize-observer/index.mjs +2 -0
  25. package/es/src/resize-observer/index.vue.d.ts +25 -0
  26. package/es/src/resize-observer/index.vue.mjs +45 -0
  27. package/es/src/resize-observer/index.vue2.mjs +4 -0
  28. package/es/src/resize-observer/interface.d.ts +27 -0
  29. package/es/src/resize-observer/interface.mjs +1 -0
  30. package/es/src/resize-observer/style/css.d.ts +1 -0
  31. package/es/src/resize-observer/style/css.js +1 -0
  32. package/es/src/resize-observer/style/index.d.ts +1 -0
  33. package/es/src/resize-observer/style/index.js +1 -0
  34. package/es/src/scroll-bar/index.vue.d.ts +1 -0
  35. package/es/src/scroll-bar/index.vue.mjs +31 -30
  36. package/es/src/scroll-bar/interface.d.ts +3 -1
  37. package/es/src/theme/antd-global-overwrite/admin/index.css +24 -2
  38. package/es/src/theme/antd-global-overwrite/admin/table.css +24 -2
  39. package/es/src/theme/antd-global-overwrite/aplus/index.css +24 -2
  40. package/es/src/theme/antd-global-overwrite/aplus/table.css +24 -2
  41. package/es/src/utils/index.d.ts +1 -0
  42. package/es/src/utils/index.mjs +40 -30
  43. package/lib/index.js +1 -1
  44. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  45. package/lib/src/ap-field/date/helper.js +1 -1
  46. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  47. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  48. package/lib/src/ap-upload/apUpload.vue.d.ts +9 -0
  49. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  50. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  51. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  52. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  53. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  54. package/lib/src/config-provider/config-provider.d.ts +3 -0
  55. package/lib/src/config-provider/css-var.d.ts +3 -0
  56. package/lib/src/config-provider/css-var.js +1 -1
  57. package/lib/src/config-provider/index.d.ts +15 -0
  58. package/lib/src/hooks/index.d.ts +1 -0
  59. package/lib/src/hooks/index.js +1 -1
  60. package/lib/src/hooks/useResize.d.ts +8 -0
  61. package/lib/src/hooks/useResize.js +1 -0
  62. package/lib/src/index.d.ts +1 -0
  63. package/lib/src/index.js +1 -1
  64. package/lib/src/path-map.js +1 -1
  65. package/lib/src/resize-observer/index.d.ts +3 -0
  66. package/lib/src/resize-observer/index.js +1 -0
  67. package/lib/src/resize-observer/index.vue.d.ts +25 -0
  68. package/lib/src/resize-observer/index.vue.js +1 -0
  69. package/lib/src/resize-observer/index.vue2.js +1 -0
  70. package/lib/src/resize-observer/interface.d.ts +27 -0
  71. package/lib/src/resize-observer/interface.js +1 -0
  72. package/lib/src/resize-observer/style/css.cjs +1 -0
  73. package/lib/src/resize-observer/style/css.d.ts +1 -0
  74. package/lib/src/resize-observer/style/index.cjs +1 -0
  75. package/lib/src/resize-observer/style/index.d.ts +1 -0
  76. package/lib/src/scroll-bar/index.vue.d.ts +1 -0
  77. package/lib/src/scroll-bar/index.vue.js +1 -1
  78. package/lib/src/scroll-bar/interface.d.ts +3 -1
  79. package/lib/src/theme/antd-global-overwrite/admin/index.css +24 -2
  80. package/lib/src/theme/antd-global-overwrite/admin/table.css +24 -2
  81. package/lib/src/theme/antd-global-overwrite/aplus/index.css +24 -2
  82. package/lib/src/theme/antd-global-overwrite/aplus/table.css +24 -2
  83. package/lib/src/utils/index.d.ts +1 -0
  84. package/lib/src/utils/index.js +1 -1
  85. package/package.json +3 -3
  86. package/theme/antd-global-overwrite/admin/index.css +24 -2
  87. package/theme/antd-global-overwrite/admin/table.css +24 -2
  88. package/theme/antd-global-overwrite/admin/table.less +8 -2
  89. package/theme/antd-global-overwrite/aplus/index.css +24 -2
  90. package/theme/antd-global-overwrite/aplus/table.css +24 -2
  91. package/theme/antd-global-overwrite/aplus/table.less +7 -2
  92. package/theme/ap-descriptions/ap-descriptions.css +3 -0
  93. package/theme/ap-descriptions/ap-descriptions.less +7 -0
  94. package/theme/ap-table/ap-table.css +8 -1
  95. package/theme/ap-table/ap-table.less +11 -9
  96. package/theme/ap-table-modal/index.css +8 -1
  97. 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 b, 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 M, useNamespace as E } from "./src/config-provider/hooks/use-namespace.mjs";
9
- import { ConfigProvider as N, globalConfigCached as R } from "./src/config-provider/config-provider.mjs";
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 v } from "./src/ap-form/items/text/index.mjs";
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 O } from "./src/ap-form/items/number/index.vue.mjs";
14
- import { default as W } from "./src/ap-form/items/date/index.vue.mjs";
15
- import { default as z } from "./src/ap-form/items/date-range/index.vue.mjs";
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 be } from "./src/ap-form/render/control.vue.mjs";
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 Me } from "./src/ap-field/text/index.mjs";
35
- import { default as Le } from "./src/ap-field/checkbox/index.vue.mjs";
36
- import { default as Re } from "./src/ap-field/date/index.vue.mjs";
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 ve } from "./src/ap-field/radio/index.vue.mjs";
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 Oe } from "./src/ap-field/text-area/index.vue.mjs";
41
- import { default as We } from "./src/ap-field/date-range/index.vue.mjs";
42
- import { default as ze } from "./src/ap-field/select/index.vue.mjs";
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 To } from "./src/work-order-modal/work-order-modal.vue.mjs";
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 Eo } from "./src/ap-upload/apUpload.vue.mjs";
61
- import { ApDownLoadNeedNameKeyDefault as No } from "./src/ap-download/interface.mjs";
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 ko } from "./src/check-card/index.mjs";
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 Uo } from "./src/ap-modal/index.mjs";
66
- import { default as Vo } from "./src/ap-list/index.vue.mjs";
67
- import { default as _o } from "./src/ap-button/ap-button.vue.mjs";
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 Tr } from "./src/business/ap-export-group/handleExportDownload.mjs";
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 Mr } from "./src/business/ap-label/index.mjs";
87
- import { locales as Lr } from "./src/business/ap-ladder/interface.mjs";
88
- import { ApLadder as Rr } from "./src/business/ap-ladder/index.mjs";
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 vr, ApStatusGroup as Br } from "./src/business/ap-status/index.mjs";
91
- import { ApTitle as Ur } from "./src/business/ap-title/index.mjs";
92
- import { usePageListApTable as Vr } from "./src/business/hooks/usePageListApTable.mjs";
93
- import { useTableRefresh as _r } from "./src/business/hooks/useTableRefresh.mjs";
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 bt } from "./src/editable-table/form-item.vue.mjs";
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 Mt } from "./src/scroll-bar/internal.vue.mjs";
111
- import { default as Lt } from "./src/scroll-view/index.vue.mjs";
112
- import { default as Rt } from "./src/portal/index.vue.mjs";
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 { useMessage as vt } from "./src/hooks/useMessage.mjs";
115
- import { useControllableValue as Kt } from "./src/hooks/useControllableValue.mjs";
116
- import { useManualRef as Ot } from "./src/hooks/useManualRef.mjs";
117
- import { useThrottleRef as Wt } from "./src/hooks/useThrottleRef.mjs";
118
- import { useFullScreen as zt } from "./src/hooks/useFullScreen.mjs";
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
- _o as ApButton,
141
+ Wo as ApButton,
140
142
  xr as ApButtonGroup,
141
143
  ur as ApCard,
142
144
  Ct as ApDescriptions,
143
- No as ApDownLoadNeedNameKeyDefault,
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
- Le as ApFieldCheckbox,
152
- Re as ApFieldDate,
153
- We as ApFieldDateRange,
153
+ Ee as ApFieldCheckbox,
154
+ Ne as ApFieldDate,
155
+ Ve as ApFieldDateRange,
154
156
  we as ApFieldNumber,
155
157
  $e as ApFieldPassword,
156
- ve as ApFieldRadio,
158
+ ke as ApFieldRadio,
157
159
  Ye as ApFieldRate,
158
160
  Qe as ApFieldSegmented,
159
- ze as ApFieldSelect,
161
+ _e as ApFieldSelect,
160
162
  qe as ApFieldSlider,
161
163
  Ke as ApFieldSwitch,
162
- Me as ApFieldText,
163
- Oe as ApFieldTextArea,
164
+ Re as ApFieldText,
165
+ Ue as ApFieldTextArea,
164
166
  re as ApForm,
165
- be as ApFormControlRender,
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
- W as ApFormItemDate,
172
- z as ApFormItemDateRange,
173
+ V as ApFormItemDate,
174
+ _ as ApFormItemDateRange,
173
175
  fe as ApFormItemGroup,
174
- O as ApFormItemNumber,
176
+ U as ApFormItemNumber,
175
177
  $ as ApFormItemRadio,
176
178
  Ce as ApFormItemRender,
177
179
  q as ApFormItemSelect,
178
180
  Q as ApFormItemSwitch,
179
- v as ApFormItemText,
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
- Mr as ApLabelGroup,
193
- Rr as ApLadder,
194
- Vo as ApList,
195
- Uo as ApModal,
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
- vr as ApStatus,
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
- Ur as ApTitle,
209
+ Or as ApTitle,
208
210
  Jo as ApTransformDataHelper,
209
- Eo as ApUpload,
211
+ Mo as ApUpload,
210
212
  ft as ApUploadSingle,
211
213
  lt as BatchInputGroup,
212
- ko as CheckCard,
214
+ vo as CheckCard,
213
215
  Bo as CheckCardGroup,
214
- N as ConfigProvider,
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
- bt as EditableTableFormItem,
221
+ Tt as EditableTableFormItem,
220
222
  wt as FullScreen,
221
- Mt as InternalScrollBar,
223
+ Rt as InternalScrollBar,
222
224
  Po as NeedNameKeyDefault,
223
- Rt as Portal,
225
+ Nt as Portal,
226
+ kt as ResizeObserver,
224
227
  Gt as ScrollBar,
225
- Lt as ScrollView,
226
- To as WorkOrderModal,
228
+ Et as ScrollView,
229
+ bo as WorkOrderModal,
227
230
  eo as adminToken,
228
231
  oo as aplusToken,
229
- b as buildLocaleContext,
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
- R as globalConfigCached,
243
- Tr as handleExportDownload,
245
+ N as globalConfigCached,
246
+ br as handleExportDownload,
244
247
  c as keysOf,
245
248
  io as langMap,
246
249
  C as localeContextKey,
247
- Lr as locales,
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
- Kt as useControllableValue,
253
- zt as useFullScreen,
254
- M as useGetDerivedNamespace,
255
+ Ut as useControllableValue,
256
+ $t as useFullScreen,
257
+ R as useGetDerivedNamespace,
255
258
  I as useGlobalConfig,
256
259
  g as useLocale,
257
- Ot as useManualRef,
258
- vt as useMessage,
259
- E as useNamespace,
260
- Vr as usePageListApTable,
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
- _r as useTableRefresh,
267
+ Wr as useTableRefresh,
264
268
  or as useTableSelectModal,
265
- Wt as useThrottleRef
269
+ _t as useThrottleRef
266
270
  };
@@ -1,20 +1,25 @@
1
- import { defineComponent as c, computed as r, createVNode as t, openBlock as o, createElementBlock as m, createBlock as l, resolveDynamicComponent as d, unref as n, withCtx as u, createCommentVNode as f } from "vue";
2
- import { QuestionCircleOutlined as h } from "@ant-design/icons-vue";
3
- import { TypographyText as _, Tooltip as b } from "@aplus-frontend/antdv";
4
- const y = {
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
- }, k = /* @__PURE__ */ c({
10
+ }, B = /* @__PURE__ */ r({
9
11
  __name: "index",
10
12
  props: {
11
13
  helpMessage: {},
12
14
  label: {}
13
15
  },
14
- setup(s) {
15
- const i = s, p = r(() => {
16
- const e = i.label;
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, a) => (o(), m("span", y, [(o(), l(d(p.value))), e.helpMessage ? (o(), l(n(b), {
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: u(() => [t(n(h), {
38
+ default: f(() => [t(s(b), {
34
39
  class: "ap-descriptions-item-content__help"
35
40
  })]),
36
41
  _: 1
37
- }, 8, ["title"])) : f("", !0)]));
42
+ }, 8, ["title"])) : h("", !0)]));
38
43
  }
39
44
  });
40
45
  export {
41
- k as default
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 = (e, r, o = !0) => {
4
- if (!e)
3
+ const i = (r, e, o = !0) => {
4
+ if (!r)
5
5
  return null;
6
- let t = e.clone();
7
- return t = t.millisecond(0), r.indexOf("ss") === -1 && (t = t.second(o ? 0 : 59)), r.indexOf("mm") === -1 && (t = t.minute(o ? 0 : 59)), r.indexOf("HH") === -1 && (t = t.hour(o ? 0 : 23)), r.indexOf("DD") === -1 && (t = t.date(o ? 1 : 0), o || (t = t.month(t.month() + 1))), r.indexOf("MM") === -1 && (t = t.month(o ? 0 : 12)), t.valueOf();
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(e) {
10
- return (r, o, t = !0) => {
11
- const f = o ? i(r, o, t) : r.valueOf();
12
- return e ? m(n(f), e) : f;
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 = (e) => e && e.valueOf();
15
+ const l = (r) => r && r.valueOf();
16
16
  export {
17
17
  i as formatDay,
18
18
  d as formatDayWithTimezone,