@dazhicheng/ui 1.5.266 → 1.6.1

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 (182) hide show
  1. package/dist/components/tt-api-component/index.js +4 -3
  2. package/dist/components/tt-api-component/index.vue2.js +4 -3
  3. package/dist/components/tt-area/TtArea.vue.js +1 -1
  4. package/dist/components/tt-area/TtArea.vue3.js +8 -7
  5. package/dist/components/tt-button/index.js +5 -4
  6. package/dist/components/tt-button/index.vue2.js +4 -3
  7. package/dist/components/tt-checkbox/index.js +4 -3
  8. package/dist/components/tt-checkbox/index.vue.js +4 -3
  9. package/dist/components/tt-drawer/index.js +4 -3
  10. package/dist/components/tt-drawer/src/RenderDrawer.vue.js +4 -3
  11. package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +8 -7
  12. package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
  13. package/dist/components/tt-drawer/src/components/DrawerHeader.vue2.js +3 -2
  14. package/dist/components/tt-drawer/src/hooks/useResizable.js +2 -2
  15. package/dist/components/tt-drawer/src/props.js +3 -2
  16. package/dist/components/tt-drawer/src/utils/drawer-api.js +4 -2
  17. package/dist/components/tt-empty/index.js +9 -8
  18. package/dist/components/tt-form/index.js +10 -9
  19. package/dist/components/tt-form/src/components/ExpandableArrow.vue2.js +3 -2
  20. package/dist/components/tt-form/src/components/FormActions.vue2.js +4 -2
  21. package/dist/components/tt-form/src/form/FormDescription.vue.js +3 -2
  22. package/dist/components/tt-form/src/form/FormItem.vue.js +6 -5
  23. package/dist/components/tt-form/src/form/FormLabel.vue.js +8 -7
  24. package/dist/components/tt-form/src/form/RenderContent.vue.js +4 -3
  25. package/dist/components/tt-form/src/form-render/FormField.vue2.js +30 -28
  26. package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +4 -2
  27. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +3 -3
  28. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.js +1 -0
  29. package/dist/components/tt-form/src/form-render/array-register/utils.js +6 -4
  30. package/dist/components/tt-form/src/form-render/dependencies.js +19 -18
  31. package/dist/components/tt-form/src/form-render/form.vue2.js +4 -2
  32. package/dist/components/tt-form/src/form-render/helper.js +15 -14
  33. package/dist/components/tt-form/src/form-render/rootWrapperClass.js +3 -2
  34. package/dist/components/tt-form/src/formApi.js +3 -2
  35. package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +4 -3
  36. package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +2 -0
  37. package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +4 -2
  38. package/dist/components/tt-form/src/group-form/groupFormApi.js +4 -3
  39. package/dist/components/tt-form/src/hooks/useForwardPriorityValues.js +3 -2
  40. package/dist/components/tt-form/src/hooks/useSelectCollapse.js +28 -27
  41. package/dist/components/tt-form/src/index.vue2.js +3 -2
  42. package/dist/components/tt-form/src/useFormContext.js +11 -10
  43. package/dist/components/tt-form-item-error-tooltip/index.js +5 -4
  44. package/dist/components/tt-form-item-error-tooltip/index.vue.js +4 -3
  45. package/dist/components/tt-icon/index.js +6 -5
  46. package/dist/components/tt-icon/index.vue.js +2 -2
  47. package/dist/components/tt-image/index.js +6 -5
  48. package/dist/components/tt-image/src/components/ImageViewer.js +7 -6
  49. package/dist/components/tt-loading/index.js +4 -3
  50. package/dist/components/tt-loading/src/directive.js +24 -23
  51. package/dist/components/tt-loading/src/loading.vue.js +2 -2
  52. package/dist/components/tt-log/index.js +4 -3
  53. package/dist/components/tt-log/index.vue.js +3 -2
  54. package/dist/components/tt-modal/index.js +3 -2
  55. package/dist/components/tt-modal/src/RenderModal.vue.js +3 -2
  56. package/dist/components/tt-modal/src/components/ModalFooter.vue2.js +3 -2
  57. package/dist/components/tt-modal/src/components/ModalHeader.vue2.js +3 -2
  58. package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +15 -14
  59. package/dist/components/tt-modal/src/props.js +3 -2
  60. package/dist/components/tt-modal/src/utils/modal-api.js +4 -2
  61. package/dist/components/tt-modal-form/index.vue.js +4 -3
  62. package/dist/components/tt-nav-anchor/index.js +4 -3
  63. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +15 -14
  64. package/dist/components/tt-panel-select/index.js +4 -3
  65. package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +2 -2
  66. package/dist/components/tt-panel-select/src/hooks/usePanelData.js +95 -87
  67. package/dist/components/tt-panel-select/src/index.vue.js +4 -2
  68. package/dist/components/tt-radio-group/index.js +4 -3
  69. package/dist/components/tt-radio-group/index.vue.js +7 -6
  70. package/dist/components/tt-select/index.js +4 -3
  71. package/dist/components/tt-select/src/Select.vue.d.ts +12 -12
  72. package/dist/components/tt-select/src/Select.vue.js +4 -3
  73. package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +116 -7
  74. package/dist/components/tt-select/src/components/SelectTable.vue.js +3 -2
  75. package/dist/components/tt-select/src/components/Table.vue.d.ts +8 -8
  76. package/dist/components/tt-select/src/components/Table.vue.js +3 -2
  77. package/dist/components/tt-select/src/hooks/useDataSource.js +4 -3
  78. package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +7 -1
  79. package/dist/components/tt-select/src/hooks/useSelect.js +3 -2
  80. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  81. package/dist/components/tt-select/src/hooks/useSelectTableEvent.js +28 -27
  82. package/dist/components/tt-select/src/props.d.ts +2 -2
  83. package/dist/components/tt-table/index.d.ts +526 -361
  84. package/dist/components/tt-table/index.js +7 -5
  85. package/dist/components/tt-table/src/Table.vue.d.ts +308 -218
  86. package/dist/components/tt-table/src/Table.vue.js +406 -618
  87. package/dist/components/tt-table/src/TableForm.vue.d.ts +384 -19
  88. package/dist/components/tt-table/src/TableForm.vue.js +219 -229
  89. package/dist/components/tt-table/src/components/TableAction.vue.js +110 -131
  90. package/dist/components/tt-table/src/components/TableButtons.js +30 -29
  91. package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +88 -84
  92. package/dist/components/tt-table/src/components/TableToolbarTools.vue.d.ts +80 -0
  93. package/dist/components/tt-table/src/components/{TableToobalTools.vue.js → TableToolbarTools.vue.js} +34 -35
  94. package/dist/components/tt-table/src/components/TableToolbarTools.vue2.js +4 -0
  95. package/dist/components/tt-table/src/emits.d.ts +10 -1
  96. package/dist/components/tt-table/src/emits.js +2 -1
  97. package/dist/components/tt-table/src/hooks/useColumnPersistence.d.ts +19 -0
  98. package/dist/components/tt-table/src/hooks/useColumnPersistence.js +64 -0
  99. package/dist/components/tt-table/src/hooks/useColumns.d.ts +505 -21
  100. package/dist/components/tt-table/src/hooks/useColumns.js +101 -245
  101. package/dist/components/tt-table/src/hooks/useGridProps.d.ts +36 -0
  102. package/dist/components/tt-table/src/hooks/useGridProps.js +121 -0
  103. package/dist/components/tt-table/src/hooks/useKeyboardNav.d.ts +11 -0
  104. package/dist/components/tt-table/src/hooks/useKeyboardNav.js +98 -0
  105. package/dist/components/tt-table/src/hooks/usePagination.d.ts +14 -8
  106. package/dist/components/tt-table/src/hooks/usePagination.js +30 -33
  107. package/dist/components/tt-table/src/hooks/useQuery.d.ts +41 -0
  108. package/dist/components/tt-table/src/hooks/useQuery.js +148 -0
  109. package/dist/components/tt-table/src/hooks/useRowIdentity.d.ts +22 -0
  110. package/dist/components/tt-table/src/hooks/useRowIdentity.js +97 -0
  111. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +24 -12
  112. package/dist/components/tt-table/src/hooks/useRowSelection.js +95 -70
  113. package/dist/components/tt-table/src/hooks/{useLeftRightSlot.d.ts → useSideSlot.d.ts} +25 -17
  114. package/dist/components/tt-table/src/hooks/useSideSlot.js +78 -0
  115. package/dist/components/tt-table/src/hooks/useSyncProps.d.ts +12 -0
  116. package/dist/components/tt-table/src/hooks/useSyncProps.js +56 -0
  117. package/dist/components/tt-table/src/hooks/useTableData.d.ts +71 -0
  118. package/dist/components/tt-table/src/hooks/useTableData.js +308 -0
  119. package/dist/components/tt-table/src/hooks/useTableFooter.d.ts +15 -0
  120. package/dist/components/tt-table/src/hooks/useTableFooter.js +47 -0
  121. package/dist/components/tt-table/src/hooks/useTableForm.d.ts +10 -5
  122. package/dist/components/tt-table/src/hooks/useTableForm.js +56 -48
  123. package/dist/components/tt-table/src/hooks/useTableMethods.d.ts +165 -0
  124. package/dist/components/tt-table/src/hooks/useTableMethods.js +183 -0
  125. package/dist/components/tt-table/src/hooks/useTableRender.d.ts +57 -55
  126. package/dist/components/tt-table/src/props.d.ts +326 -153
  127. package/dist/components/tt-table/src/props.js +125 -271
  128. package/dist/components/tt-table/src/table-defaults.d.ts +25 -0
  129. package/dist/components/tt-table/src/table-defaults.js +71 -0
  130. package/dist/components/tt-table/src/table-mutation-events.d.ts +43 -0
  131. package/dist/components/tt-table/src/table-mutation-events.js +71 -0
  132. package/dist/components/tt-table/src/types/table.d.ts +223 -88
  133. package/dist/components/tt-table/src/types/tableAction.d.ts +23 -0
  134. package/dist/components/tt-table/src/types/tableForm.d.ts +15 -26
  135. package/dist/components/tt-table/src/utils/action-tab-index.d.ts +2 -0
  136. package/dist/components/tt-table/src/utils/action-tab-index.js +51 -0
  137. package/dist/components/tt-table/src/utils/context.js +26 -12
  138. package/dist/components/tt-table/src/utils/table-api.d.ts +136 -58
  139. package/dist/components/tt-table/src/utils/table-api.js +200 -165
  140. package/dist/components/tt-table/src/utils/table-form-api.d.ts +11 -11
  141. package/dist/components/tt-table/src/utils/table-form-api.js +35 -23
  142. package/dist/components/tt-text/index.js +4 -3
  143. package/dist/components/tt-upload/index.js +6 -5
  144. package/dist/components/tt-upload/src/TtUpload.vue.js +4 -3
  145. package/dist/components/types.d.ts +0 -20
  146. package/dist/directives/disabled-tip/index.js +9 -8
  147. package/dist/hooks/useFormSchemasLink.js +4 -3
  148. package/dist/hooks/useFormat.d.ts +35 -71
  149. package/dist/hooks/useFormat.js +28 -39
  150. package/dist/hooks/usePanelSelectSchemas.js +4 -3
  151. package/dist/hooks/useScreenshotOss.js +16 -15
  152. package/dist/hooks/useSetup.js +0 -3
  153. package/dist/packages/hooks/src/useDebounce.js +6 -5
  154. package/dist/packages/hooks/src/useElementScreenshot.js +4 -3
  155. package/dist/packages/hooks/src/usePriorityValue.js +5 -4
  156. package/dist/packages/utils/src/format.js +48 -0
  157. package/dist/packages/utils/src/is.js +20 -18
  158. package/dist/packages/utils/src/tool.js +76 -149
  159. package/dist/plugins/default/renderCellContent.js +4 -3
  160. package/dist/plugins/vxeTable/switchStatus.js +14 -13
  161. package/dist/style.css +1 -1
  162. package/package.json +3 -3
  163. package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +0 -576
  164. package/dist/components/tt-table/src/components/TableToobalTools.vue2.js +0 -4
  165. package/dist/components/tt-table/src/enum.d.ts +0 -2
  166. package/dist/components/tt-table/src/hooks/useCellArea.d.ts +0 -15
  167. package/dist/components/tt-table/src/hooks/useCellArea.js +0 -15
  168. package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +0 -20
  169. package/dist/components/tt-table/src/hooks/useCustomColumns.js +0 -65
  170. package/dist/components/tt-table/src/hooks/useDataSource.d.ts +0 -29
  171. package/dist/components/tt-table/src/hooks/useDataSource.js +0 -232
  172. package/dist/components/tt-table/src/hooks/useLeftRightSlot.js +0 -64
  173. package/dist/components/tt-table/src/hooks/useTable.d.ts +0 -7
  174. package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +0 -101
  175. package/dist/components/tt-table/src/hooks/useTableEvent.js +0 -197
  176. package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +0 -10
  177. package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +0 -15
  178. package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +0 -11
  179. package/dist/components/tt-table/src/hooks/useTableSlot.js +0 -17
  180. package/dist/components/tt-table/src/utils/filters.d.ts +0 -109
  181. package/dist/components/tt-table/src/utils/vxeTable.d.ts +0 -28
  182. package/dist/packages/utils/src/check.js +0 -10
@@ -1,9 +1,10 @@
1
- import { defineComponent as d, ref as i, computed as g, watch as x, unref as e, onMounted as w, nextTick as v, withDirectives as S, createElementBlock as _, openBlock as k, normalizeClass as y, normalizeStyle as B, renderSlot as C } from "vue";
1
+ import { defineComponent as d, ref as i, computed as g, watch as x, unref as r, onMounted as w, nextTick as v, withDirectives as S, createElementBlock as _, openBlock as k, normalizeClass as y, normalizeStyle as B, renderSlot as C } from "vue";
2
2
  import "../../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
3
3
  import { useDesign as H } from "../../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { vLoading as T } from "element-plus";
6
6
  import "dayjs";
7
+ import "numeral";
7
8
  import "xe-utils";
8
9
  import "dayjs/plugin/utc";
9
10
  import "dayjs/plugin/timezone";
@@ -16,27 +17,27 @@ import "lodash-es";
16
17
  import { useIsScroll as $ } from "../../../../packages/hooks/src/useIsScroll.js";
17
18
  import "vue-router";
18
19
  import { basicProps as b } from "../props.js";
19
- const U = /* @__PURE__ */ d({
20
+ const V = /* @__PURE__ */ d({
20
21
  name: "TtWrapper",
21
22
  __name: "ModalWrapper",
22
23
  props: b,
23
24
  emits: ["is-scroll"],
24
25
  setup(p, { expose: m, emit: s }) {
25
- const r = p, n = s, l = i(window.innerHeight * 0.7), { prefixCls: a } = H("modal-wrapper"), o = i(), c = g(() => ({
26
+ const t = p, n = s, l = i(window.innerHeight * 0.7), { prefixCls: a } = H("modal-wrapper"), o = i(), c = g(() => ({
26
27
  // minHeight: `${props.minHeight}px`,
27
- maxHeight: r.isBottom ? "calc(100vh - 60px - 44px - 33px)" : `${r.height || l.value}px`,
28
- height: r.height > 0 ? `${r.height}px !important` : "auto"
28
+ maxHeight: t.isBottom ? "calc(100vh - 60px - 44px - 33px)" : `${t.height || l.value}px`,
29
+ height: t.height > 0 ? `${t.height}px !important` : "auto"
29
30
  // overflow: 'auto',
30
31
  // padding: '12px 16px',
31
32
  }));
32
33
  function f() {
33
- e(o) && e(o).scrollTo(0, 1e6);
34
+ r(o) && r(o).scrollTo(0, 1e6);
34
35
  }
35
36
  const { hasScrollbar: h, update: u } = $();
36
37
  return x(
37
- () => e(h),
38
- (t) => {
39
- n("is-scroll", t);
38
+ () => r(h),
39
+ (e) => {
40
+ n("is-scroll", e);
40
41
  }
41
42
  ), w(() => {
42
43
  v(() => {
@@ -45,18 +46,18 @@ const U = /* @__PURE__ */ d({
45
46
  }), m({
46
47
  onScrollBottom: f,
47
48
  elm: o
48
- }), (t, z) => S((k(), _("div", {
49
+ }), (e, z) => S((k(), _("div", {
49
50
  ref_key: "wrapperRef",
50
51
  ref: o,
51
52
  style: B(c.value),
52
- class: y([e(a)])
53
+ class: y([r(a)])
53
54
  }, [
54
- C(t.$slots, "default")
55
+ C(e.$slots, "default")
55
56
  ], 6)), [
56
- [e(T), t.loading]
57
+ [r(T), e.loading]
57
58
  ]);
58
59
  }
59
60
  });
60
61
  export {
61
- U as default
62
+ V as default
62
63
  };
@@ -3,6 +3,7 @@ import "axios";
3
3
  import "element-plus";
4
4
  import "dayjs";
5
5
  import "vue";
6
+ import "numeral";
6
7
  import "xe-utils";
7
8
  import "dayjs/plugin/utc";
8
9
  import "dayjs/plugin/timezone";
@@ -39,7 +40,7 @@ const o = {
39
40
  fullscreen: { type: Boolean, default: !1 },
40
41
  /** 是否允许自定义大小 */
41
42
  resizer: { type: Boolean, default: !1 }
42
- }, h = Object.assign({}, o, {
43
+ }, S = Object.assign({}, o, {
43
44
  /** 弹窗的loading */
44
45
  loading: { type: Boolean, default: !1 },
45
46
  /** 弹窗的loading提示 */
@@ -84,6 +85,6 @@ const o = {
84
85
  }
85
86
  });
86
87
  export {
87
- h as basicProps,
88
+ S as basicProps,
88
89
  o as modalProps
89
90
  };
@@ -5,6 +5,8 @@ import "axios";
5
5
  import "element-plus";
6
6
  import { isElement as S, isFunction as n } from "../../../../packages/utils/src/is.js";
7
7
  import { computed as w } from "vue";
8
+ import "dayjs";
9
+ import "numeral";
8
10
  import { bindMethods as C } from "../../../../packages/utils/src/tool.js";
9
11
  import { mergeWithArrayOverride as m } from "../../../../packages/utils/src/merge.js";
10
12
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -16,7 +18,7 @@ import "lodash-es";
16
18
  import { Store as k } from "@tanstack/vue-store";
17
19
  import { useDebounceFn as y } from "@vueuse/core";
18
20
  import { GlobalConfig as D } from "../../../../hooks/useSetup.js";
19
- class U {
21
+ class _ {
20
22
  /** 构造函数,初始化弹窗的API接口和状态 */
21
23
  constructor(t = {}) {
22
24
  /** 共享数据对象,用于在组件间传递数据 */
@@ -206,5 +208,5 @@ class U {
206
208
  }
207
209
  }
208
210
  export {
209
- U as ModalApi
211
+ _ as ModalApi
210
212
  };
@@ -2,8 +2,9 @@ import { defineComponent as H, useSlots as J, ref as K, computed as C, toValue a
2
2
  import "axios";
3
3
  import { ElCheckbox as Z, ElMessage as O } from "element-plus";
4
4
  import { isFunction as m } from "../../packages/utils/src/is.js";
5
- import "xe-utils";
6
5
  import "dayjs";
6
+ import "numeral";
7
+ import "xe-utils";
7
8
  import "dayjs/plugin/utc";
8
9
  import "dayjs/plugin/timezone";
9
10
  import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -30,7 +31,7 @@ import { useGroupForm as te } from "../tt-form/src/group-form/useGroupForm.js";
30
31
  import "../tt-modal/index.js";
31
32
  import { useModalFormSlot as ie } from "./hooks/useModalFormSlot.js";
32
33
  import { useModalRender as ne } from "../tt-modal/src/hooks/useModalRender.js";
33
- const Re = /* @__PURE__ */ H({
34
+ const _e = /* @__PURE__ */ H({
34
35
  name: "TtModalForm",
35
36
  __name: "index",
36
37
  props: {
@@ -200,5 +201,5 @@ const Re = /* @__PURE__ */ H({
200
201
  }
201
202
  });
202
203
  export {
203
- Re as default
204
+ _e as default
204
205
  };
@@ -3,6 +3,7 @@ import "element-plus";
3
3
  import "dayjs";
4
4
  import "vue";
5
5
  import { withInstall as t } from "../../packages/utils/src/install.js";
6
+ import "numeral";
6
7
  import "xe-utils";
7
8
  import "dayjs/plugin/utc";
8
9
  import "dayjs/plugin/timezone";
@@ -14,8 +15,8 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs
14
15
  import "lodash-es";
15
16
  import o from "./src/TtNavAnchor.vue.js";
16
17
  /* empty css */
17
- const w = t(o);
18
+ const x = t(o);
18
19
  export {
19
- w as TtNavAnchor,
20
- w as default
20
+ x as TtNavAnchor,
21
+ x as default
21
22
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as de, ref as c, computed as m, watch as _, useTemplateRef as O, onActivated as ce, onDeactivated as fe, onBeforeUnmount as pe, watchPostEffect as ve, createElementBlock as f, openBlock as s, Fragment as Y, createElementVNode as r, createBlock as me, normalizeClass as l, unref as t, Teleport as _e, createCommentVNode as P, normalizeStyle as he, createVNode as M, withCtx as U, createTextVNode as ge, toDisplayString as j, renderList as ye, renderSlot as we, isVNode as Te, h as $e } from "vue";
1
+ import { defineComponent as de, ref as c, computed as v, watch as _, useTemplateRef as O, onActivated as ce, onDeactivated as fe, onBeforeUnmount as pe, watchPostEffect as me, createElementBlock as f, openBlock as s, Fragment as Y, createElementVNode as r, createBlock as ve, normalizeClass as l, unref as t, Teleport as _e, createCommentVNode as P, normalizeStyle as he, createVNode as M, withCtx as U, createTextVNode as ge, toDisplayString as j, renderList as ye, renderSlot as we, isVNode as Te, h as $e } from "vue";
2
2
  import xe from "../../../assets/svg/drag.svg.js";
3
3
  import { TtIcon as be } from "../../tt-icon/index.js";
4
4
  import { TtText as Ce } from "../../tt-text/index.js";
@@ -7,8 +7,9 @@ import { useDesign as Me } from "../../../packages/hooks/src/useDesign.js";
7
7
  import "axios";
8
8
  import { useZIndex as ke, ElScrollbar as Re } from "element-plus";
9
9
  import { isString as Ne, isFunction as G, isNullOrUnDef as Ve, isArray as Ae, isObject as Ee } from "../../../packages/utils/src/is.js";
10
- import "xe-utils";
11
10
  import "dayjs";
11
+ import "numeral";
12
+ import "xe-utils";
12
13
  import "dayjs/plugin/utc";
13
14
  import "dayjs/plugin/timezone";
14
15
  import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -20,7 +21,7 @@ import "lodash-es";
20
21
  import "vue-router";
21
22
  import { useElementSize as Ie, useDraggable as Se } from "@vueuse/core";
22
23
  import { TT_NAV_ANCHOR_DRAG_VISIBLE_SIZE_PX as k, TT_NAV_ANCHOR_ROOT_WIDTH_PX as h } from "./constants.js";
23
- const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */ de({
24
+ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], rt = /* @__PURE__ */ de({
24
25
  name: "TtNavAnchor",
25
26
  __name: "TtNavAnchor",
26
27
  props: {
@@ -47,7 +48,7 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
47
48
  const { title: n } = e.row;
48
49
  return K(G(n) ? n(e.row) : n);
49
50
  }
50
- const g = c(i.modelValue || ((L = i.items[0]) == null ? void 0 : L.key) || ""), y = m(() => i.collapseMode), B = m(() => !!y.value), u = c(!1);
51
+ const g = c(i.modelValue || ((L = i.items[0]) == null ? void 0 : L.key) || ""), y = v(() => i.collapseMode), B = v(() => !!y.value), u = c(!1);
51
52
  let p;
52
53
  _(
53
54
  () => i.modelValue,
@@ -77,7 +78,7 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
77
78
  }
78
79
  y.value === "click" && (!u.value || (n = N.value) != null && n.contains(e.target)) && (u.value = !u.value);
79
80
  }
80
- const v = O("navRef"), N = O("headerRef"), V = O("sourceRef"), w = c(!0), A = c(i.teleportTo || null), { height: W } = Ie(v);
81
+ const m = O("navRef"), N = O("headerRef"), V = O("sourceRef"), w = c(!0), A = c(i.teleportTo || null), { height: W } = Ie(m);
81
82
  function T(e, n) {
82
83
  return e == null ? n : typeof e == "number" ? e : parseInt(e, 10) || n;
83
84
  }
@@ -98,7 +99,7 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
98
99
  style: ne,
99
100
  isDragging: ae,
100
101
  position: x
101
- } = Se(v, {
102
+ } = Se(m, {
102
103
  handle: N,
103
104
  initialValue: S(0),
104
105
  preventDefault: !0,
@@ -106,9 +107,9 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
106
107
  E.value = !0, I = { ...x.value }, $ = !1, H();
107
108
  },
108
109
  onMove(e) {
109
- if (typeof window > "u" || !v.value) return;
110
+ if (typeof window > "u" || !m.value) return;
110
111
  (Math.abs(e.x - I.x) > 3 || Math.abs(e.y - I.y) > 3) && ($ = !0);
111
- const n = v.value.getBoundingClientRect(), a = Math.min(0, k - n.width), d = Math.max(0, document.documentElement.clientWidth - k), C = Math.min(0, k - n.height), ue = Math.max(0, document.documentElement.clientHeight - k);
112
+ const n = m.value.getBoundingClientRect(), a = Math.min(0, k - n.width), d = Math.max(0, document.documentElement.clientWidth - k), C = Math.min(0, k - n.height), ue = Math.max(0, document.documentElement.clientHeight - k);
112
113
  x.value = {
113
114
  x: Math.max(a, Math.min(e.x, d)),
114
115
  y: Math.max(C, Math.min(e.y, ue))
@@ -120,13 +121,13 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
120
121
  }), _([() => i.left, () => i.right, () => i.top, () => i.bottom], () => {
121
122
  E.value = !1, x.value = S(W.value);
122
123
  });
123
- const ie = m(() => {
124
+ const ie = v(() => {
124
125
  const e = { "--tt-nav-anchor-root-width": `${h}px`, zIndex: D.value };
125
126
  if (i.position === "static")
126
127
  return { "--tt-nav-anchor-root-width": `${h}px` };
127
128
  const n = ne.value;
128
129
  return typeof n == "string" ? `${n};--tt-nav-anchor-root-width:${h}px;z-index:${D.value}` : [n, e];
129
- }), le = m(() => i.position === "static" || !!A.value), re = m(() => w.value && le.value);
130
+ }), le = v(() => i.position === "static" || !!A.value), re = v(() => w.value && le.value);
130
131
  function se() {
131
132
  if (i.teleportTo) return i.teleportTo;
132
133
  if (typeof window > "u" || !window.__MICRO_APP_ENVIRONMENT__) return "body";
@@ -152,7 +153,7 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
152
153
  () => {
153
154
  b();
154
155
  }
155
- ), ve(() => {
156
+ ), me(() => {
156
157
  w.value && b();
157
158
  }), (e, n) => (s(), f(Y, null, [
158
159
  r("span", {
@@ -161,14 +162,14 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
161
162
  class: l(`${t(o)}__source`),
162
163
  "aria-hidden": "true"
163
164
  }, null, 2),
164
- (s(), me(_e, {
165
+ (s(), ve(_e, {
165
166
  to: A.value || "body",
166
167
  disabled: e.position === "static"
167
168
  }, [
168
169
  re.value ? (s(), f("div", {
169
170
  key: 0,
170
171
  ref_key: "navRef",
171
- ref: v,
172
+ ref: m,
172
173
  class: l([
173
174
  t(o),
174
175
  { [`${t(o)}--dragging`]: t(ae) },
@@ -279,5 +280,5 @@ const De = ["tabindex"], He = ["onClick"], Oe = ["title"], lt = /* @__PURE__ */
279
280
  }
280
281
  });
281
282
  export {
282
- lt as default
283
+ rt as default
283
284
  };
@@ -3,6 +3,7 @@ import "element-plus";
3
3
  import "dayjs";
4
4
  import "vue";
5
5
  import { withInstall as t } from "../../packages/utils/src/install.js";
6
+ import "numeral";
6
7
  import "xe-utils";
7
8
  import "dayjs/plugin/utc";
8
9
  import "dayjs/plugin/timezone";
@@ -13,8 +14,8 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb
13
14
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
14
15
  import "lodash-es";
15
16
  import o from "./src/index.vue.js";
16
- const w = t(o);
17
+ const x = t(o);
17
18
  export {
18
- w as TtPanelSelect,
19
- w as default
19
+ x as TtPanelSelect,
20
+ x as default
20
21
  };
@@ -157,7 +157,7 @@ declare const _default: import('vue').DefineComponent<PanelMiddleProps, {
157
157
  };
158
158
  $forceUpdate: () => void;
159
159
  $nextTick: typeof nextTick;
160
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (... /** @type { [typeof __VLS_components.TtText, typeof __VLS_components.TtText, ] } */args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
160
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
161
161
  } & Readonly<{
162
162
  type: import('element-plus').InputType;
163
163
  disabled: boolean;
@@ -307,7 +307,7 @@ declare const _default: import('vue').DefineComponent<PanelMiddleProps, {
307
307
  };
308
308
  $forceUpdate: () => void;
309
309
  $nextTick: typeof nextTick;
310
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (... /** @type { [typeof __VLS_components.TtText, typeof __VLS_components.TtText, ] } */args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
310
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
311
311
  } & Readonly<{
312
312
  tabindex: number | string;
313
313
  height: number | string;
@@ -1,9 +1,10 @@
1
1
  import "axios";
2
2
  import "element-plus";
3
- import { isFunction as w } from "../../../../packages/utils/src/is.js";
4
- import { computed as d, ref as T, unref as Z, nextTick as ee } from "vue";
5
- import "xe-utils";
3
+ import { isFunction as y } from "../../../../packages/utils/src/is.js";
4
+ import { computed as p, ref as w, toRaw as te, unref as re, nextTick as ne } from "vue";
6
5
  import "dayjs";
6
+ import "numeral";
7
+ import "xe-utils";
7
8
  import "dayjs/plugin/utc";
8
9
  import "dayjs/plugin/timezone";
9
10
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -11,10 +12,10 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/ae
11
12
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
12
13
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
13
14
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
14
- import { get as a, omit as te, cloneDeep as re } from "lodash-es";
15
- import { pinyin as ne } from "pinyin-pro";
16
- function Fe(l) {
17
- const A = d(() => {
15
+ import { get as o, cloneDeep as ie, omit as le } from "lodash-es";
16
+ import { pinyin as ae } from "pinyin-pro";
17
+ function Ae(l) {
18
+ const T = p(() => {
18
19
  const e = l.treeConfig || {};
19
20
  return {
20
21
  transform: e.transform,
@@ -25,74 +26,81 @@ function Fe(l) {
25
26
  parentField: e.parentField ?? "pid",
26
27
  rootParentValue: e.rootParentValue ?? null
27
28
  };
28
- }), F = T(!1), C = T([]), P = T(!1), M = T(!1), S = d(() => w(l.api) ? C.value : l.options || []), N = d(() => K(S.value)), x = d(() => !V() && l.showPinyinMode ? $(G.value) : D(N.value)), O = d(() => q(N.value)), B = d(() => O.value.filter((e) => {
29
+ }), b = w(!1), A = w([]), C = w(!1), P = w(!1), M = p(() => te(y(l.api) ? A.value : l.options || [])), S = p(() => R(M.value)), x = p(() => !k() && l.showPinyinMode ? $(O.value) : L(S.value)), N = p(() => q(S.value)), B = p(() => N.value.filter((e) => {
29
30
  var t;
30
31
  return (t = e.children) == null ? void 0 : t.length;
31
- })), G = d(() => O.value.filter((e) => e.children === void 0));
32
- async function L() {
33
- if (!(!l.api || !w(l.api))) {
34
- if (F.value) {
35
- P.value = !0;
32
+ })), O = p(() => N.value.filter((e) => e.children === void 0));
33
+ async function G() {
34
+ if (!(!l.api || !y(l.api))) {
35
+ if (b.value) {
36
+ C.value = !0;
36
37
  return;
37
38
  }
38
- C.value = [];
39
+ A.value = [];
39
40
  try {
40
- F.value = !0;
41
- let e = Z(l.params);
42
- l.beforeFetch && w(l.beforeFetch) && (e = await l.beforeFetch(re(e)) || e);
41
+ b.value = !0;
42
+ let e = re(l.params);
43
+ l.beforeFetch && y(l.beforeFetch) && (e = await l.beforeFetch(ie(e)) || e);
43
44
  let t = await l.api(e);
44
- l.afterFetch && w(l.afterFetch) && (t = await l.afterFetch(t) || t), M.value = !0, C.value = Array.isArray(t) ? t : a(t, l.resultField || "") || [];
45
+ l.afterFetch && y(l.afterFetch) && (t = await l.afterFetch(t) || t), P.value = !0, A.value = Array.isArray(t) ? t : o(t, l.resultField || "") || [];
45
46
  } catch {
46
- M.value = !1;
47
+ P.value = !1;
47
48
  } finally {
48
- F.value = !1, P.value && (P.value = !1, await ee(), L());
49
+ b.value = !1, C.value && (C.value = !1, await ne(), G());
49
50
  }
50
51
  }
51
52
  }
52
- function K(e) {
53
- const { childrenField: t, transform: r, valueField: n, labelField: i, disabledField: o, parentField: s } = A.value, u = e.some((m) => Array.isArray(a(m, t))), h = e.some((m) => {
54
- const g = a(m, t);
55
- return Array.isArray(g) && g.length > 0;
56
- }), v = u || h ? e : r ? U(e) : e;
57
- function p(m, g = 0, b) {
58
- return m.map((c) => {
59
- const W = a(c, n), I = a(c, t), X = Array.isArray(I), Y = [i, n, o, t].filter(
60
- (y) => !!y
61
- ), f = {
62
- ...te(c, Y),
63
- label: String(a(c, i) ?? ""),
64
- value: W,
65
- disabled: !!a(c, o),
66
- pid: (b == null ? void 0 : b.value) ?? a(c, s),
67
- level: g,
53
+ function R(e) {
54
+ const { childrenField: t, transform: r, valueField: n, labelField: i, disabledField: s, parentField: u } = T.value, f = e.some((a) => Array.isArray(o(a, t))), m = e.some((a) => {
55
+ const d = o(a, t);
56
+ return Array.isArray(d) && d.length > 0;
57
+ }), F = f || m ? e : r ? U(e) : e, g = [i, n, s, t].filter(
58
+ (a) => !!a
59
+ ), X = g.some((a) => a.includes("."));
60
+ function Y(a) {
61
+ if (X) return le(a, g);
62
+ const d = {};
63
+ for (const c in a)
64
+ g.includes(c) || (d[c] = a[c]);
65
+ return d;
66
+ }
67
+ function _(a, d = 0, c) {
68
+ return a.map((h) => {
69
+ const Z = o(h, n), z = o(h, t), ee = Array.isArray(z), v = {
70
+ ...Y(h),
71
+ label: String(o(h, i) ?? ""),
72
+ value: Z,
73
+ disabled: !!o(h, s),
74
+ pid: (c == null ? void 0 : c.value) ?? o(h, u),
75
+ level: d,
68
76
  path: [],
69
- raw: c
77
+ raw: h
70
78
  };
71
- if (f.path = b ? [...b.path, f] : [f], X) {
72
- const y = I;
73
- f.children = y.length ? p(y, g + 1, f) : [];
79
+ if (v.path = c ? [...c.path, v] : [v], ee) {
80
+ const I = z;
81
+ v.children = I.length ? _(I, d + 1, v) : [];
74
82
  } else
75
- f.children = void 0;
76
- return f;
83
+ v.children = void 0;
84
+ return v;
77
85
  });
78
86
  }
79
- return p(v);
87
+ return _(F);
80
88
  }
81
89
  function U(e) {
82
- const t = /* @__PURE__ */ new Map(), r = [], { childrenField: n, valueField: i, parentField: o, rootParentValue: s } = A.value;
83
- return e.forEach((u) => {
84
- const h = a(u, i);
85
- t.set(h, { ...u });
86
- }), t.forEach((u) => {
87
- const h = a(u, o), v = h === s ? void 0 : t.get(h);
88
- if (v) {
89
- const p = a(v, n) || [];
90
- p.push(u), v[n] = p;
90
+ const t = /* @__PURE__ */ new Map(), r = [], { childrenField: n, valueField: i, parentField: s, rootParentValue: u } = T.value;
91
+ return e.forEach((f) => {
92
+ const m = o(f, i);
93
+ t.set(m, { ...f });
94
+ }), t.forEach((f) => {
95
+ const m = o(f, s), F = m === u ? void 0 : t.get(m);
96
+ if (F) {
97
+ const g = o(F, n) || [];
98
+ g.push(f), F[n] = g;
91
99
  } else
92
- r.push(u);
100
+ r.push(f);
93
101
  }), r;
94
102
  }
95
- function D(e) {
103
+ function L(e) {
96
104
  return e.filter((t) => {
97
105
  var r;
98
106
  return (r = t.children) == null ? void 0 : r.length;
@@ -103,12 +111,12 @@ function Fe(l) {
103
111
  children: (r = t.children) != null && r.some((n) => {
104
112
  var i;
105
113
  return (i = n.children) == null ? void 0 : i.length;
106
- }) ? D(t.children) : void 0
114
+ }) ? L(t.children) : void 0
107
115
  };
108
116
  });
109
117
  }
110
118
  function $(e) {
111
- return k(e).map((r) => {
119
+ return K(e).map((r) => {
112
120
  const n = {
113
121
  label: String(r.label),
114
122
  value: r.value,
@@ -130,32 +138,32 @@ function Fe(l) {
130
138
  }
131
139
  return t;
132
140
  }
133
- function E(e, t) {
141
+ function D(e, t) {
134
142
  const r = t.trim().toLowerCase();
135
143
  return r ? e.filter((n) => n.label.toLowerCase().includes(r)) : e;
136
144
  }
137
- function R(e, t) {
138
- const r = E(e, t);
139
- return l.showOriginMode ? H(r) : l.showPinyinMode ? k(r) : V() ? j(r) : _(r);
145
+ function j(e, t) {
146
+ const r = D(e, t);
147
+ return l.showOriginMode ? J(r) : l.showPinyinMode ? K(r) : k() ? H(r) : E(r);
140
148
  }
141
- function V() {
142
- const { childrenField: e, transform: t } = A.value, r = S.value.some((o) => Array.isArray(a(o, e))), n = S.value.some((o) => {
143
- const s = a(o, e);
144
- return Array.isArray(s) && !!s.length;
149
+ function k() {
150
+ const { childrenField: e, transform: t } = T.value, r = M.value.some((s) => Array.isArray(o(s, e))), n = M.value.some((s) => {
151
+ const u = o(s, e);
152
+ return Array.isArray(u) && !!u.length;
145
153
  });
146
154
  return t || !t && (r || n);
147
155
  }
148
- function _(e) {
156
+ function E(e) {
149
157
  const t = /* @__PURE__ */ new Map();
150
158
  return e.forEach((r) => {
151
- const n = r.path.at(-2), i = (n == null ? void 0 : n.value) ?? r.value, o = (n == null ? void 0 : n.label) ?? r.label, s = t.get(i) || { value: i, label: o, options: [] };
152
- s.options.push(r), t.set(i, s);
159
+ const n = r.path.at(-2), i = (n == null ? void 0 : n.value) ?? r.value, s = (n == null ? void 0 : n.label) ?? r.label, u = t.get(i) || { value: i, label: s, options: [] };
160
+ u.options.push(r), t.set(i, u);
153
161
  }), Array.from(t.values());
154
162
  }
155
- function j(e) {
156
- return _(e);
157
- }
158
163
  function H(e) {
164
+ return E(e);
165
+ }
166
+ function J(e) {
159
167
  return e.length ? [
160
168
  {
161
169
  value: "__origin__",
@@ -164,38 +172,38 @@ function Fe(l) {
164
172
  }
165
173
  ] : [];
166
174
  }
167
- function k(e) {
175
+ function K(e) {
168
176
  const t = /* @__PURE__ */ new Map();
169
177
  return e.forEach((r) => {
170
- const n = J(r.label), i = t.get(n) || { value: n, label: n.toUpperCase(), options: [] };
178
+ const n = Q(r.label), i = t.get(n) || { value: n, label: n.toUpperCase(), options: [] };
171
179
  i.options.push(r), t.set(n, i);
172
180
  }), Array.from(t.values()).sort((r, n) => String(r.value).localeCompare(String(n.value)));
173
181
  }
174
- const z = /* @__PURE__ */ new Map();
175
- function J(e) {
176
- const t = z.get(e);
182
+ const V = /* @__PURE__ */ new Map();
183
+ function Q(e) {
184
+ const t = V.get(e);
177
185
  if (t !== void 0) return t;
178
- const r = Q(e);
179
- return z.set(e, r), r;
186
+ const r = W(e);
187
+ return V.set(e, r), r;
180
188
  }
181
- function Q(e) {
189
+ function W(e) {
182
190
  const t = String(e || "").trim(), r = t.charAt(0).toLowerCase();
183
191
  if (/^[a-z]$/.test(r)) return r;
184
- const i = String(ne(t, { pattern: "initial" })).replace(/\s+/g, "").charAt(0).toLowerCase();
192
+ const i = String(ae(t, { pattern: "initial" })).replace(/\s+/g, "").charAt(0).toLowerCase();
185
193
  return /^[a-z]$/.test(i) ? i : "#";
186
194
  }
187
195
  return {
188
- loading: F,
189
- fetchApi: L,
190
- treeOptions: N,
196
+ loading: b,
197
+ fetchApi: G,
198
+ treeOptions: S,
191
199
  navTreeOptions: x,
192
200
  navNodes: B,
193
- leafNodes: G,
194
- filterNodes: E,
195
- buildOptionGroups: R,
196
- isFirstLoaded: M
201
+ leafNodes: O,
202
+ filterNodes: D,
203
+ buildOptionGroups: j,
204
+ isFirstLoaded: P
197
205
  };
198
206
  }
199
207
  export {
200
- Fe as usePanelSelectData
208
+ Ae as usePanelSelectData
201
209
  };
@@ -4,6 +4,7 @@ import { useDesign as Ye } from "../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { ElSelect as Ze, vLoading as el } from "element-plus";
6
6
  import "dayjs";
7
+ import "numeral";
7
8
  import "xe-utils";
8
9
  import "dayjs/plugin/utc";
9
10
  import "dayjs/plugin/timezone";
@@ -23,7 +24,7 @@ import rl from "./components/PanelRight.vue.js";
23
24
  import { usePanelSelectData as il } from "./hooks/usePanelData.js";
24
25
  import { usePanelSelectSelection as sl } from "./hooks/usePanelSelection.js";
25
26
  /* empty css */
26
- const p = 4, Ll = /* @__PURE__ */ ze({
27
+ const p = 4, El = /* @__PURE__ */ ze({
27
28
  name: "TtPanelSelect",
28
29
  __name: "index",
29
30
  props: /* @__PURE__ */ K({
@@ -333,6 +334,7 @@ const p = 4, Ll = /* @__PURE__ */ ze({
333
334
  multiple: e.multiple,
334
335
  filterable: !1,
335
336
  placeholder: e.placeholder,
337
+ persistent: !1,
336
338
  "fallback-placements": ["bottom-start", "bottom-end", "bottom", "top-start", "top-end", "top", "right", "left"],
337
339
  disabled: e.disabled,
338
340
  "popper-class": `${r(c)}__popper vxe-table--ignore-clear`,
@@ -406,5 +408,5 @@ const p = 4, Ll = /* @__PURE__ */ ze({
406
408
  }
407
409
  });
408
410
  export {
409
- Ll as default
411
+ El as default
410
412
  };
@@ -3,6 +3,7 @@ import "element-plus";
3
3
  import "dayjs";
4
4
  import "vue";
5
5
  import { withInstall as o } from "../../packages/utils/src/install.js";
6
+ import "numeral";
6
7
  import "xe-utils";
7
8
  import "dayjs/plugin/utc";
8
9
  import "dayjs/plugin/timezone";
@@ -13,8 +14,8 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb
13
14
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
14
15
  import "lodash-es";
15
16
  import t from "./index.vue.js";
16
- const w = o(t);
17
+ const x = o(t);
17
18
  export {
18
- w as TtRadioGroup,
19
- w as default
19
+ x as TtRadioGroup,
20
+ x as default
20
21
  };