@aplus-frontend/ui 7.12.5 → 7.13.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.
Files changed (244) hide show
  1. package/es/src/ag-grid/components/loading/index.vue.d.ts +3 -0
  2. package/es/src/ag-grid/components/loading/index.vue.mjs +4 -0
  3. package/es/src/ag-grid/components/loading/index.vue2.mjs +18 -0
  4. package/es/src/ag-grid/context.mjs +1 -1
  5. package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  6. package/es/src/ag-grid/editable/form-item.vue.mjs +30 -27
  7. package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
  8. package/es/src/ag-grid/editable/index.vue.mjs +10 -8
  9. package/es/src/ag-grid/editable/interface.d.ts +2 -1
  10. package/es/src/ag-grid/hooks/use-pinned-row.mjs +2 -2
  11. package/es/src/ag-grid/index.vue.d.ts +2 -4
  12. package/es/src/ag-grid/index.vue.mjs +209 -202
  13. package/es/src/ag-grid/interface.d.ts +4 -0
  14. package/es/src/ag-grid/style/index.mjs +8 -5
  15. package/es/src/ap-drawer/interface.d.ts +13 -2
  16. package/es/src/ap-drawer/utils/createDrawer.mjs +37 -32
  17. package/es/src/ap-field/select/index.vue.d.ts +1 -2
  18. package/es/src/ap-field/select/index.vue.mjs +126 -88
  19. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  20. package/es/src/ap-field/style/index.mjs +8 -6
  21. package/es/src/ap-field/style/select.d.ts +2 -0
  22. package/es/src/ap-field/style/select.mjs +43 -0
  23. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  24. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  25. package/es/src/ap-form/context.mjs +1 -1
  26. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  27. package/es/src/ap-form/item-group/helper.mjs +2 -2
  28. package/es/src/ap-form/items/number/index.vue.d.ts +4 -5
  29. package/es/src/ap-form/items/select/index.vue.d.ts +12 -16
  30. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  31. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  32. package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
  33. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  34. package/es/src/ap-form/provider/context.mjs +1 -1
  35. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  36. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  37. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  38. package/es/src/ap-grid/index.vue.d.ts +2 -4
  39. package/es/src/ap-grid/utils/table.mjs +2 -2
  40. package/es/src/ap-list/index.vue.d.ts +2 -4
  41. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  42. package/es/src/ap-pro-card/components/card/index.vue2.mjs +2 -2
  43. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  44. package/es/src/ap-table/ap-table.vue2.mjs +15 -16
  45. package/es/src/ap-table/components/setting/context.d.ts +17 -0
  46. package/es/src/ap-table/components/setting/context.mjs +18 -0
  47. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +1 -1
  48. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +217 -88
  49. package/es/src/ap-table/components/setting/sorter/context.mjs +1 -1
  50. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +49 -51
  51. package/es/src/ap-table/components/setting/template/edit-form.vue.d.ts +844 -0
  52. package/es/src/ap-table/components/setting/template/edit-form.vue.mjs +4 -0
  53. package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +74 -0
  54. package/es/src/ap-table/components/setting/template/index.vue.d.ts +11 -0
  55. package/es/src/ap-table/components/setting/template/index.vue.mjs +4 -0
  56. package/es/src/ap-table/components/setting/template/index.vue2.mjs +51 -0
  57. package/es/src/ap-table/components/setting/template/item.vue.d.ts +13 -0
  58. package/es/src/ap-table/components/setting/template/item.vue.mjs +4 -0
  59. package/es/src/ap-table/components/setting/template/item.vue2.mjs +77 -0
  60. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  61. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +26 -29
  62. package/es/src/ap-table/components/setting/utils.d.ts +1 -0
  63. package/es/src/ap-table/components/setting/utils.mjs +22 -15
  64. package/es/src/ap-table/constants.d.ts +13 -15
  65. package/es/src/ap-table/context.mjs +1 -1
  66. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -23
  67. package/es/src/ap-table/hooks/use-table-column-state.mjs +32 -120
  68. package/es/src/ap-table/hooks/use-table-template-storage.d.ts +49 -0
  69. package/es/src/ap-table/hooks/use-table-template-storage.mjs +150 -0
  70. package/es/src/ap-table/interface.d.ts +26 -3
  71. package/es/src/ap-table/style/index.d.ts +1 -0
  72. package/es/src/ap-table/style/index.mjs +2 -1
  73. package/es/src/ap-table/style/setting.d.ts +2 -0
  74. package/es/src/ap-table/style/setting.mjs +114 -19
  75. package/es/src/ap-table/utils.mjs +1 -1
  76. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +1 -1
  77. package/es/src/business/ag-grid-modal/style/index.mjs +7 -7
  78. package/es/src/business/ap-attachment/ApAttachment.mjs +96 -89
  79. package/es/src/business/ap-attachment/style/index.mjs +33 -16
  80. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +24 -22
  81. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +1 -1
  82. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +35 -31
  83. package/es/src/business/ap-batch-action-group/index.d.ts +6 -6
  84. package/es/src/business/ap-batch-action-group/interface.d.ts +1 -1
  85. package/es/src/business/ap-download/hooks/index.mjs +1 -1
  86. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  87. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +1 -3
  88. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  89. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  90. package/es/src/business/ap-keep-alive/hook.mjs +1 -1
  91. package/es/src/business/ap-keep-alive/utils.mjs +1 -1
  92. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  93. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  94. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  95. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  96. package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +19 -19
  97. package/es/src/business/ap-upload/components/Picture.vue2.mjs +34 -34
  98. package/es/src/business/ap-upload/style/single-file.mjs +2 -2
  99. package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +2 -2
  100. package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  101. package/es/src/business/ap-value-select-card/style/index.mjs +3 -2
  102. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -4
  103. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  104. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +21 -21
  105. package/es/src/business/ap-view/hooks/use-view-provide.mjs +1 -1
  106. package/es/src/business/ap-view/style/index.mjs +2 -2
  107. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  108. package/es/src/check-card/context.mjs +1 -1
  109. package/es/src/config-provider/constants.mjs +1 -1
  110. package/es/src/config-provider/hooks/use-locale.mjs +1 -1
  111. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  112. package/es/src/config-provider/hooks/use-namespace.mjs +1 -1
  113. package/es/src/config-provider/hooks/use-token.mjs +1 -1
  114. package/es/src/design-token/index.mjs +5 -5
  115. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  116. package/es/src/editable-table/index.vue.d.ts +2 -4
  117. package/es/src/editable-table/utils.mjs +1 -1
  118. package/es/src/locale/lang/en.mjs +15 -4
  119. package/es/src/locale/lang/zh-cn.mjs +18 -7
  120. package/es/src/scroll-view/index.vue.d.ts +5 -5
  121. package/es/src/tests/wrapper.d.ts +4 -4
  122. package/es/src/text/context.mjs +1 -1
  123. package/es/src/time-ago/useTimeAgo.mjs +26 -27
  124. package/es/src/utils/data-range-persets.d.ts +13 -1
  125. package/es/src/utils/data-range-persets.mjs +80 -60
  126. package/es/src/utils/index.d.ts +1 -0
  127. package/es/src/utils/index.mjs +56 -48
  128. package/es/src/utils/retry.d.ts +12 -0
  129. package/es/src/utils/retry.mjs +27 -0
  130. package/es/src/utils/slot.mjs +1 -1
  131. package/es/src/version.d.ts +1 -1
  132. package/es/src/version.mjs +1 -1
  133. package/lib/src/ag-grid/components/loading/index.vue.d.ts +3 -0
  134. package/lib/src/ag-grid/components/loading/index.vue.js +1 -0
  135. package/lib/src/ag-grid/components/loading/index.vue2.js +1 -0
  136. package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  137. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  138. package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
  139. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  140. package/lib/src/ag-grid/editable/interface.d.ts +2 -1
  141. package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
  142. package/lib/src/ag-grid/index.vue.d.ts +2 -4
  143. package/lib/src/ag-grid/index.vue.js +1 -1
  144. package/lib/src/ag-grid/interface.d.ts +4 -0
  145. package/lib/src/ag-grid/style/index.js +1 -1
  146. package/lib/src/ap-drawer/interface.d.ts +13 -2
  147. package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
  148. package/lib/src/ap-field/select/index.vue.d.ts +1 -2
  149. package/lib/src/ap-field/select/index.vue.js +1 -1
  150. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  151. package/lib/src/ap-field/style/index.js +1 -1
  152. package/lib/src/ap-field/style/select.d.ts +2 -0
  153. package/lib/src/ap-field/style/select.js +1 -0
  154. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  155. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  156. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  157. package/lib/src/ap-form/items/number/index.vue.d.ts +4 -5
  158. package/lib/src/ap-form/items/select/index.vue.d.ts +12 -16
  159. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  160. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  161. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
  162. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  163. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  164. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  165. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  166. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  167. package/lib/src/ap-grid/utils/table.js +1 -1
  168. package/lib/src/ap-list/index.vue.d.ts +2 -4
  169. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  170. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  171. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  172. package/lib/src/ap-table/components/setting/context.d.ts +17 -0
  173. package/lib/src/ap-table/components/setting/context.js +1 -0
  174. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +1 -1
  175. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  176. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  177. package/lib/src/ap-table/components/setting/template/edit-form.vue.d.ts +844 -0
  178. package/lib/src/ap-table/components/setting/template/edit-form.vue.js +1 -0
  179. package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -0
  180. package/lib/src/ap-table/components/setting/template/index.vue.d.ts +11 -0
  181. package/lib/src/ap-table/components/setting/template/index.vue.js +1 -0
  182. package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -0
  183. package/lib/src/ap-table/components/setting/template/item.vue.d.ts +13 -0
  184. package/lib/src/ap-table/components/setting/template/item.vue.js +1 -0
  185. package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -0
  186. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  187. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  188. package/lib/src/ap-table/components/setting/utils.d.ts +1 -0
  189. package/lib/src/ap-table/components/setting/utils.js +1 -1
  190. package/lib/src/ap-table/constants.d.ts +13 -15
  191. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -23
  192. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  193. package/lib/src/ap-table/hooks/use-table-template-storage.d.ts +49 -0
  194. package/lib/src/ap-table/hooks/use-table-template-storage.js +1 -0
  195. package/lib/src/ap-table/interface.d.ts +26 -3
  196. package/lib/src/ap-table/style/index.d.ts +1 -0
  197. package/lib/src/ap-table/style/index.js +1 -1
  198. package/lib/src/ap-table/style/setting.d.ts +2 -0
  199. package/lib/src/ap-table/style/setting.js +1 -1
  200. package/lib/src/business/ag-grid-modal/style/index.js +1 -1
  201. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  202. package/lib/src/business/ap-attachment/style/index.js +1 -1
  203. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  204. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +1 -1
  205. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  206. package/lib/src/business/ap-batch-action-group/index.d.ts +6 -6
  207. package/lib/src/business/ap-batch-action-group/interface.d.ts +1 -1
  208. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  209. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  210. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  211. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  212. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  213. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  214. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  215. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  216. package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
  217. package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -1
  218. package/lib/src/business/ap-upload/style/single-file.js +1 -1
  219. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
  220. package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  221. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  222. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -4
  223. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  224. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  225. package/lib/src/business/ap-view/style/index.js +1 -1
  226. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  227. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  228. package/lib/src/design-token/index.js +1 -1
  229. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  230. package/lib/src/editable-table/index.vue.d.ts +2 -4
  231. package/lib/src/locale/lang/en.js +1 -1
  232. package/lib/src/locale/lang/zh-cn.js +1 -1
  233. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  234. package/lib/src/tests/wrapper.d.ts +4 -4
  235. package/lib/src/time-ago/useTimeAgo.js +1 -1
  236. package/lib/src/utils/data-range-persets.d.ts +13 -1
  237. package/lib/src/utils/data-range-persets.js +1 -1
  238. package/lib/src/utils/index.d.ts +1 -0
  239. package/lib/src/utils/index.js +1 -1
  240. package/lib/src/utils/retry.d.ts +12 -0
  241. package/lib/src/utils/retry.js +1 -0
  242. package/lib/src/version.d.ts +1 -1
  243. package/lib/src/version.js +1 -1
  244. package/package.json +2 -2
@@ -1,13 +1,12 @@
1
1
  import { ViewListModel } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
4
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
10
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
10
  import { SizeType } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
@@ -111,7 +110,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
111
110
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
112
111
  readonly initialValues?: Recordable | undefined;
113
112
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
114
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
113
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
115
114
  readonly syncToUrlPriority?: boolean | undefined;
116
115
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
117
116
  $attrs: {
@@ -1,17 +1,17 @@
1
- import { defineComponent as T, ref as y, watch as $, createElementBlock as m, openBlock as c, normalizeClass as V, unref as e, createElementVNode as o, createCommentVNode as f, toDisplayString as r, createVNode as i, withModifiers as b, withCtx as v } from "vue";
2
- import { Space as C, Popconfirm as B } from "@aplus-frontend/antdv";
3
- import { ApField as F } from "../../../ap-field/index.mjs";
1
+ import { defineComponent as T, ref as y, watch as $, createElementBlock as c, openBlock as m, normalizeClass as V, unref as e, createElementVNode as o, createCommentVNode as f, toDisplayString as r, createVNode as i, withModifiers as L, withCtx as v } from "vue";
2
+ import { Space as C, Popconfirm as b } from "@aplus-frontend/antdv";
3
+ import { ApField as B } from "../../../ap-field/index.mjs";
4
4
  import "../../../ap-form/ap-form.vue.mjs";
5
5
  import "../../../config-provider/index.mjs";
6
- import { useToken as L } from "../../../config-provider/hooks/use-token.mjs";
6
+ import { useToken as F } from "../../../config-provider/hooks/use-token.mjs";
7
7
  import "../../ap-tag/index.mjs";
8
8
  import { useViewInject as M } from "../hooks/use-view-provide.mjs";
9
- import P from "../icons/line-delete.vue.mjs";
10
- import Y from "../style/index.mjs";
9
+ import Y from "../icons/line-delete.vue.mjs";
10
+ import j from "../style/index.mjs";
11
11
  import { SYSTEM_VIEW_KEY as h } from "../utils/enum.mjs";
12
- import { useNamespace as j } from "../../../config-provider/hooks/use-namespace.mjs";
13
- import { useLocale as A } from "../../../config-provider/hooks/use-locale.mjs";
14
- import O from "../../ap-tag/ap-tag.vue.mjs";
12
+ import { useNamespace as A } from "../../../config-provider/hooks/use-namespace.mjs";
13
+ import { useLocale as O } from "../../../config-provider/hooks/use-locale.mjs";
14
+ import P from "../../ap-tag/ap-tag.vue.mjs";
15
15
  import x from "../../../ap-form/ap-form.vue2.mjs";
16
16
  const U = { class: "menu-list-content-name" }, W = ["title"], q = {
17
17
  key: 0,
@@ -22,7 +22,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
22
22
  view: {}
23
23
  },
24
24
  setup(N) {
25
- const { b: s } = j("ap-view"), d = Y("ap-view"), { token: K } = L(), { t: n } = A(), t = N, {
25
+ const { b: s } = A("ap-view"), d = j("ap-view"), { token: K } = F(), { t: n } = O(), t = N, {
26
26
  currentViewKey: D,
27
27
  changeCurrentViewKey: S,
28
28
  viewListCRUD: p,
@@ -54,7 +54,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
54
54
  (u) => {
55
55
  u && (l.value = !1);
56
56
  }
57
- ), (u, a) => l.value === !1 ? (c(), m("div", {
57
+ ), (u, a) => l.value === !1 ? (m(), c("div", {
58
58
  key: 0,
59
59
  class: V({
60
60
  [e(s)()]: !0,
@@ -69,17 +69,17 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
69
69
  title: t.view?.viewName
70
70
  }, r(t.view?.viewName), 9, W)
71
71
  ]),
72
- t.view?.viewKey !== e(h) && t.view?.isDefault ? (c(), m("div", q, [
73
- i(e(O), {
72
+ t.view?.viewKey !== e(h) && t.view?.isDefault ? (m(), c("div", q, [
73
+ i(e(P), {
74
74
  text: e(n)("ap.apView.default"),
75
75
  size: "small",
76
- color: e(K).colorPrimary
76
+ color: e(K).colorLink
77
77
  }, null, 8, ["text", "color"])
78
78
  ])) : f("", !0),
79
- t.view?.viewKey !== e(h) ? (c(), m("div", {
79
+ t.view?.viewKey !== e(h) ? (m(), c("div", {
80
80
  key: 1,
81
81
  class: "menu-list-content-action",
82
- onClick: a[1] || (a[1] = b(() => {
82
+ onClick: a[1] || (a[1] = L(() => {
83
83
  }, ["stop"]))
84
84
  }, [
85
85
  i(e(C), { size: 8 }, {
@@ -88,19 +88,19 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
88
88
  class: "menu-list-content-action-text",
89
89
  onClick: a[0] || (a[0] = (R) => l.value = !0)
90
90
  }, r(e(n)("ap.apView.rename")), 1),
91
- t.view?.isDefault ? f("", !0) : (c(), m("div", {
91
+ t.view?.isDefault ? f("", !0) : (m(), c("div", {
92
92
  key: 0,
93
93
  class: "menu-list-content-action-text",
94
94
  onClick: E
95
95
  }, r(e(n)("ap.apView.setDefault")), 1)),
96
96
  o("div", G, [
97
- i(e(B), {
97
+ i(e(b), {
98
98
  title: e(n)("ap.apView.deleteTip"),
99
99
  "ok-text": e(n)("ap.apView.ok"),
100
100
  onConfirm: z
101
101
  }, {
102
102
  default: v(() => [
103
- i(P)
103
+ i(Y)
104
104
  ]),
105
105
  _: 1
106
106
  }, 8, ["title", "ok-text"])
@@ -109,7 +109,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
109
109
  _: 1
110
110
  })
111
111
  ])) : f("", !0)
112
- ], 2)) : (c(), m("div", {
112
+ ], 2)) : (m(), c("div", {
113
113
  key: 1,
114
114
  class: V([e(s)("menu-list-content"), e(s)("menu-list-content-edit"), e(d)])
115
115
  }, [
@@ -126,7 +126,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
126
126
  default: v(() => [
127
127
  i(x.FormItem, { name: "viewName" }, {
128
128
  default: v(() => [
129
- i(e(F).Text, { maxlength: 20 })
129
+ i(e(B).Text, { maxlength: 20 })
130
130
  ]),
131
131
  _: 1
132
132
  }),
@@ -1,5 +1,5 @@
1
1
  import { provide as t, inject as r } from "vue";
2
- const o = Symbol("provideKey"), n = (e) => {
2
+ const o = /* @__PURE__ */ Symbol("provideKey"), n = (e) => {
3
3
  t(o, e);
4
4
  }, c = () => r(o);
5
5
  export {
@@ -93,7 +93,7 @@ const i = (e) => {
93
93
  fontSize: e.fontSize,
94
94
  display: "flex",
95
95
  alignItems: "center",
96
- color: e.colorPrimary
96
+ color: e.colorLink
97
97
  },
98
98
  "&-delete": {
99
99
  cursor: "pointer",
@@ -131,7 +131,7 @@ const i = (e) => {
131
131
  },
132
132
  [`${t}-menu-list-content-active`]: {
133
133
  ".menu-list-content-name": {
134
- color: e.colorPrimary
134
+ color: e.colorLink
135
135
  }
136
136
  }
137
137
  }
@@ -46,10 +46,10 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
46
46
  readonly value?: string | number | undefined;
47
47
  readonly disabled?: boolean | undefined;
48
48
  readonly placeholder?: string | number | undefined;
49
+ readonly id?: string | undefined;
49
50
  readonly prefixCls?: string | undefined;
50
51
  readonly name?: string | undefined;
51
52
  readonly focused?: boolean | undefined;
52
- readonly id?: string | undefined;
53
53
  readonly readonly?: boolean | undefined;
54
54
  readonly autofocus?: boolean | undefined;
55
55
  readonly autocomplete?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { provide as c, inject as o, computed as n } from "vue";
2
- const e = Symbol("checkCardContextKey");
2
+ const e = /* @__PURE__ */ Symbol("checkCardContextKey");
3
3
  function C(t) {
4
4
  c(e, t);
5
5
  }
@@ -1,4 +1,4 @@
1
- const o = Symbol(), t = "aplus", n = "aplus";
1
+ const o = /* @__PURE__ */ Symbol(), t = "aplus", n = "aplus";
2
2
  export {
3
3
  t as DEFAULT_NAMESPACE,
4
4
  n as DEFAULT_UIMODE,
@@ -12,7 +12,7 @@ const u = (t) => (e, o) => f(e, o, r(t)), f = (t, e, o) => l(o, t, t).replace(
12
12
  locale: o,
13
13
  t: u(t)
14
14
  };
15
- }, x = Symbol("localeContextKey"), K = (t) => {
15
+ }, x = /* @__PURE__ */ Symbol("localeContextKey"), K = (t) => {
16
16
  const e = t || m(x, s());
17
17
  return p(c(() => e?.value || i));
18
18
  };
@@ -2,7 +2,11 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (
6
+ /**
7
+ * 块 一般是指组件名
8
+ */
9
+ block: string, namespaceOverrides?: Ref<string | undefined>) => {
6
10
  namespace: ComputedRef<string>;
7
11
  b: (blockSuffix?: string) => string;
8
12
  e: (element?: string) => string;
@@ -2,7 +2,7 @@ import { getCurrentInstance as N, inject as V, ref as v, computed as y, unref as
2
2
  const p = "aplus", B = "is-", c = (a, r, t, $, o) => {
3
3
  let u = `${a}-${r}`;
4
4
  return t && (u += `-${t}`), $ && (u += `__${$}`), o && (u += `--${o}`), u;
5
- }, C = Symbol("namespaceContextKey"), _ = (a) => {
5
+ }, C = /* @__PURE__ */ Symbol("namespaceContextKey"), _ = (a) => {
6
6
  const r = a || (N() ? V(C, v(p)) : v(p));
7
7
  return y(() => l(r) || p);
8
8
  }, w = (a, r) => {
@@ -1,5 +1,5 @@
1
1
  import { inject as o, ref as e } from "vue";
2
- const n = Symbol("designTokenContextKey"), r = () => o(n, {
2
+ const n = /* @__PURE__ */ Symbol("designTokenContextKey"), r = () => o(n, {
3
3
  token: e({}),
4
4
  rootCls: e()
5
5
  });
@@ -6,7 +6,9 @@ const o = {
6
6
  lineHeight: 1.5,
7
7
  lineHeightSM: 1.6,
8
8
  wireframe: !1,
9
- sizeUnit: 3
9
+ sizeUnit: 3,
10
+ controlHeight: 30,
11
+ controlInteractiveSize: 16
10
12
  }, e = {
11
13
  ...o,
12
14
  // 主色
@@ -39,8 +41,7 @@ const o = {
39
41
  colorBgSpotlight: "#000000cc",
40
42
  controlItemBgActive: "#F5F9FF",
41
43
  controlItemBgActiveHover: "#EAF2FF",
42
- colorBorderSecondary: "#E9EDF3",
43
- controlHeight: 30
44
+ colorBorderSecondary: "#E9EDF3"
44
45
  }, c = {
45
46
  ...o,
46
47
  // 主色
@@ -74,8 +75,7 @@ const o = {
74
75
  colorBgSpotlight: "#000000cc",
75
76
  controlItemBgActive: "#f3fbf7",
76
77
  controlItemBgActiveHover: "#e6f6ef",
77
- colorBorderSecondary: "#E9E9E9",
78
- controlHeight: 30
78
+ colorBorderSecondary: "#E9E9E9"
79
79
  };
80
80
  export {
81
81
  c as adminToken,
@@ -1,5 +1,5 @@
1
1
  import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
3
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
5
5
  expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
@@ -36,9 +36,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
36
36
  }) => void;
37
37
  };
38
38
  emit: {};
39
- }>) => VNode<RendererNode, RendererElement, {
40
- [key: string]: any;
41
- }> & {
39
+ }>) => VNode & {
42
40
  __ctx?: Awaited<typeof __VLS_setup>;
43
41
  };
44
42
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Recordable } from '../type';
2
2
  import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -39,9 +39,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
39
39
  }) => void;
40
40
  };
41
41
  emit: (event: "update:value", ...args: any[]) => void;
42
- }>) => VNode<RendererNode, RendererElement, {
43
- [key: string]: any;
44
- }> & {
42
+ }>) => VNode & {
45
43
  __ctx?: Awaited<typeof __VLS_setup>;
46
44
  };
47
45
  export default _default;
@@ -83,7 +83,7 @@ function re(e, t, r, i, f) {
83
83
  const n = i?.({
84
84
  title: e.title,
85
85
  column: e
86
- }), s = n?.filter((T) => T.type !== Symbol.for("v-cmt")) || [];
86
+ }), s = n?.filter((T) => T.type !== /* @__PURE__ */ Symbol.for("v-cmt")) || [];
87
87
  if (n && s.length > 0)
88
88
  return n;
89
89
  const d = k(e), m = w(e.title) ? {
@@ -14,7 +14,8 @@ const a = {
14
14
  redo: "Refresh",
15
15
  back: "Back",
16
16
  more: "More",
17
- all: "All"
17
+ all: "All",
18
+ save: "Save"
18
19
  },
19
20
  field: {
20
21
  startDateText: "Start date",
@@ -25,9 +26,12 @@ const a = {
25
26
  lastWeek: "Last week",
26
27
  thisMonth: "This month",
27
28
  lastMonth: "Last month",
29
+ thisQuarter: "This quarter",
30
+ lastQuarter: "Last quarter",
28
31
  thisYear: "This year",
29
32
  lastYear: "Last year",
30
- lastXDays: "Last {day} days"
33
+ lastXDays: "Last {day} days",
34
+ chooseOnly: "Select only"
31
35
  },
32
36
  apForm: {
33
37
  search: {
@@ -59,7 +63,13 @@ const a = {
59
63
  fixToLeft: "Fixed on the left",
60
64
  fixToRight: "Fixed on the right",
61
65
  unFixed: "Not fixed",
62
- delete: "Delete"
66
+ delete: "Delete",
67
+ saveAsTemplate: "Save as New Template",
68
+ saveAndApply: "Save and Apply",
69
+ modifyNotification: "The current template has been modified. You can save it as a new template.",
70
+ templateSetting: "Column Configuration Template",
71
+ templateName: "New Template Name",
72
+ templateNamePlaceholder: "Please enter a template name"
63
73
  },
64
74
  paragraphEllipsis: {
65
75
  copy: "Copy",
@@ -131,7 +141,8 @@ const a = {
131
141
  },
132
142
  apAttachment: {
133
143
  downloadall: "Download All",
134
- more: "More"
144
+ more: "More",
145
+ all: "All"
135
146
  },
136
147
  apSizeInput: {
137
148
  length: "Length",
@@ -14,20 +14,24 @@ const a = {
14
14
  redo: "刷新",
15
15
  back: "返回",
16
16
  more: "更多",
17
- all: "全部"
17
+ all: "全部",
18
+ save: "保存"
18
19
  },
19
20
  field: {
20
21
  startDateText: "开始日期",
21
22
  endDateText: "结束日期",
22
- today: "今天",
23
- yesterday: "昨天",
23
+ today: "今日",
24
+ yesterday: "昨日",
24
25
  thisWeek: "本周",
25
26
  lastWeek: "上周",
26
27
  thisMonth: "本月",
27
28
  lastMonth: "上月",
29
+ thisQuarter: "本季度",
30
+ lastQuarter: "上季度",
28
31
  thisYear: "今年",
29
32
  lastYear: "去年",
30
- lastXDays: "近{day}天"
33
+ lastXDays: "近{day}天",
34
+ chooseOnly: "仅选此项"
31
35
  },
32
36
  modal: {
33
37
  restore: "还原",
@@ -64,11 +68,17 @@ const a = {
64
68
  sizeSmall: "紧凑",
65
69
  sizeNormal: "正常",
66
70
  selectCount: "已选字段({count})",
67
- reset: "重置",
71
+ reset: "恢复默认",
68
72
  fixToLeft: "固定在左侧",
69
73
  fixToRight: "固定在右侧",
70
74
  unFixed: "不固定",
71
- delete: "删除"
75
+ delete: "删除",
76
+ saveAsTemplate: "保存为新模板",
77
+ saveAndApply: "保存并应用",
78
+ modifyNotification: "当前模板存在变更,可保存为新模板",
79
+ templateSetting: "列配置模板",
80
+ templateName: "新模板名称",
81
+ templateNamePlaceholder: "请输入模板名称"
72
82
  },
73
83
  paragraphEllipsis: {
74
84
  copy: "复制",
@@ -139,7 +149,8 @@ const a = {
139
149
  },
140
150
  apAttachment: {
141
151
  downloadall: "下载全部",
142
- more: "更多"
152
+ more: "更多",
153
+ all: "全部"
143
154
  },
144
155
  apSizeInput: {
145
156
  length: "长",
@@ -1,4 +1,4 @@
1
- import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
1
+ import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
2
2
  import { ScrollOptions, ScrollViewProps } from './interface';
3
3
  import { CreateComponentPublicInstanceWithMixins, Ref, ShallowRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
4
  declare function scroll(x?: number, y?: number): void;
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
106
  onScroll?: ((percent: number) => void) | undefined;
107
107
  disabled?: boolean | undefined;
108
108
  trackSpeed?: number | undefined;
109
- barColor?: ColorType;
110
- trackColor?: ColorType;
109
+ barColor?: import("csstype").Property.BackgroundColor | undefined;
110
+ trackColor?: import("csstype").Property.BackgroundColor | undefined;
111
111
  trackWidth?: number | undefined;
112
112
  showTrack?: boolean | undefined;
113
113
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
118
  onScroll?: ((percent: number) => void) | undefined;
119
119
  disabled?: boolean | undefined;
120
120
  trackSpeed?: number | undefined;
121
- barColor?: ColorType;
122
- trackColor?: ColorType;
121
+ barColor?: import("csstype").Property.BackgroundColor | undefined;
122
+ trackColor?: import("csstype").Property.BackgroundColor | undefined;
123
123
  trackWidth?: number | undefined;
124
124
  showTrack?: boolean | undefined;
125
125
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: ("admin" | "aplus") | undefined;
4
- lang?: ("en" | "zh-cn") | undefined;
3
+ uiMode?: "admin" | "aplus" | undefined;
4
+ lang?: "en" | "zh-cn" | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: ("admin" | "aplus") | undefined;
7
- lang?: ("en" | "zh-cn") | undefined;
6
+ uiMode?: "admin" | "aplus" | undefined;
7
+ lang?: "en" | "zh-cn" | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,5 @@
1
1
  import { provide as t, inject as r } from "vue";
2
- const o = Symbol("apTextGroupContextKey");
2
+ const o = /* @__PURE__ */ Symbol("apTextGroupContextKey");
3
3
  function p(e) {
4
4
  t(o, e);
5
5
  }
@@ -1,57 +1,56 @@
1
- import v from "dayjs";
2
- import { ref as M, watch as h, onBeforeUnmount as p } from "vue";
1
+ import m from "dayjs";
2
+ import { ref as v, watch as M, onBeforeUnmount as h } from "vue";
3
3
  function s(n, u) {
4
4
  const t = Math.abs(n - u), e = {
5
5
  diffMs: t,
6
6
  type: n < u ? "ago" : "late"
7
7
  };
8
- return t < 60 * 1e3 ? (e.unit = "s", e.count = Math.round(t / 1e3)) : t < 60 * 60 * 1e3 ? (e.unit = "m", e.count = Math.round(t / (60 * 1e3))) : t < 24 * 60 * 60 * 1e3 ? (e.unit = "h", e.count = Math.round(t / (60 * 60 * 1e3))) : t < 30 * 24 * 60 * 60 * 1e3 ? (e.unit = "d", e.count = Math.round(t / (24 * 60 * 60 * 1e3))) : t < 365 * 24 * 60 * 60 * 1e3 ? (e.unit = "M", e.count = Math.round(t / (30 * 24 * 60 * 60 * 1e3))) : (e.unit = "y", e.count = Math.round(t / 365 / (24 * 60 * 60 * 1e3))), e;
8
+ return t < 60 * 1e3 ? (e.unit = "s", e.count = Math.round(t / 1e3)) : t < 3600 * 1e3 ? (e.unit = "m", e.count = Math.round(t / (60 * 1e3))) : t < 1440 * 60 * 1e3 ? (e.unit = "h", e.count = Math.round(t / (3600 * 1e3))) : t < 720 * 60 * 60 * 1e3 ? (e.unit = "d", e.count = Math.round(t / (1440 * 60 * 1e3))) : t < 365 * 24 * 60 * 60 * 1e3 ? (e.unit = "M", e.count = Math.round(t / (720 * 60 * 60 * 1e3))) : (e.unit = "y", e.count = Math.round(t / 365 / (1440 * 60 * 1e3))), e;
9
9
  }
10
- function o(n) {
11
- return v(n).valueOf();
10
+ function i(n) {
11
+ return m(n).valueOf();
12
12
  }
13
- let g = 1;
14
- function b() {
15
- return g++;
13
+ let p = 1;
14
+ function g() {
15
+ return p++;
16
16
  }
17
- const i = /* @__PURE__ */ new Map();
17
+ const o = /* @__PURE__ */ new Map();
18
18
  let r, l;
19
19
  function w(n, u) {
20
- i.set(n, u), i.size && !l && (clearInterval(r), r = setInterval(() => {
20
+ o.set(n, u), o.size && !l && (clearInterval(r), r = setInterval(() => {
21
21
  l = !0;
22
22
  const t = Date.now();
23
- i.forEach((e) => {
23
+ o.forEach((e) => {
24
24
  e.interval && Math.abs(t - e.updated - e.interval) < 50 && (e.timeAgo.value = s(e.ts, t), e.updated = t);
25
25
  });
26
26
  }, 5e3));
27
27
  }
28
- function I(n) {
29
- i.delete(n), i.size || (clearInterval(r), l = !1);
28
+ function b(n) {
29
+ o.delete(n), o.size || (clearInterval(r), l = !1);
30
30
  }
31
- const T = (n, u, t) => {
32
- const e = b(), a = M(
33
- s(o(n.value), o(u))
31
+ const y = (n, u, t) => {
32
+ const e = g(), a = v(
33
+ s(i(n.value), i(u))
34
34
  ), f = {
35
- ts: o(n.value),
35
+ ts: i(n.value),
36
36
  timeAgo: a,
37
37
  interval: t.value,
38
38
  updated: Date.now()
39
39
  };
40
- return h(
40
+ return M(
41
41
  () => n.value,
42
- (c, m) => {
43
- console.log("run target", c, m);
44
- const d = o(c);
45
- f.ts = d, a.value = s(d, o(u));
42
+ (d) => {
43
+ const c = i(d);
44
+ f.ts = c, a.value = s(c, i(u));
46
45
  }
47
- ), w(e, f), p(() => {
48
- I(e);
46
+ ), w(e, f), h(() => {
47
+ b(e);
49
48
  }), a;
50
49
  };
51
50
  export {
52
- T as default,
53
- b as getId,
51
+ y as default,
52
+ g as getId,
54
53
  s as getTimeAgo,
55
54
  w as subscribe,
56
- I as unsubscribe
55
+ b as unsubscribe
57
56
  };
@@ -45,7 +45,19 @@ export declare const presetsGetThisMonth: (timezone?: Timezone, currentDate?: nu
45
45
  */
46
46
  export declare const presetsGetLastMonth: (timezone?: Timezone, currentDate?: number) => dayjs.Dayjs[];
47
47
  /**
48
- * 根据时区获取今年
48
+ * 根据时区获取本季度
49
+ * @param {Timezone} [timezone] - 时区
50
+ * @param {number} [currentDate] - 当前时间
51
+ */
52
+ export declare const presetsGetThisQuarter: (timezone?: Timezone, currentDate?: number) => dayjs.Dayjs[];
53
+ /**
54
+ * 根据时区获取上季度
55
+ * @param {Timezone} [timezone] - 时区
56
+ * @param {number} [currentDate] - 当前时间
57
+ */
58
+ export declare const presetsGetLastQuarter: (timezone?: Timezone, currentDate?: number) => dayjs.Dayjs[];
59
+ /**
60
+ * 根据时区获取本年
49
61
  * @param {Timezone} [timezone] - 时区
50
62
  * @param {number} [currentDate] - 当前时间
51
63
  */