@dazhicheng/ui 1.6.0 → 1.6.2

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 (125) 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.vue3.js +8 -7
  4. package/dist/components/tt-button/index.js +5 -4
  5. package/dist/components/tt-button/index.vue2.js +4 -3
  6. package/dist/components/tt-checkbox/index.js +4 -3
  7. package/dist/components/tt-checkbox/index.vue.js +4 -3
  8. package/dist/components/tt-drawer/index.js +4 -3
  9. package/dist/components/tt-drawer/src/RenderDrawer.vue.js +4 -3
  10. package/dist/components/tt-drawer/src/components/DrawerFooter.vue.js +8 -7
  11. package/dist/components/tt-drawer/src/components/DrawerHeader.vue2.js +3 -2
  12. package/dist/components/tt-drawer/src/props.js +3 -2
  13. package/dist/components/tt-drawer/src/utils/drawer-api.js +4 -2
  14. package/dist/components/tt-empty/index.js +9 -8
  15. package/dist/components/tt-form/index.js +10 -9
  16. package/dist/components/tt-form/src/components/ExpandableArrow.vue2.js +3 -2
  17. package/dist/components/tt-form/src/components/FormActions.vue2.js +4 -2
  18. package/dist/components/tt-form/src/form/FormDescription.vue.js +3 -2
  19. package/dist/components/tt-form/src/form/FormItem.vue.js +6 -5
  20. package/dist/components/tt-form/src/form/FormLabel.vue.js +8 -7
  21. package/dist/components/tt-form/src/form/RenderContent.vue.js +4 -3
  22. package/dist/components/tt-form/src/form-render/FormField.vue2.js +30 -28
  23. package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +4 -2
  24. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.js +1 -0
  25. package/dist/components/tt-form/src/form-render/array-register/utils.js +6 -4
  26. package/dist/components/tt-form/src/form-render/dependencies.js +19 -18
  27. package/dist/components/tt-form/src/form-render/form.vue2.js +4 -2
  28. package/dist/components/tt-form/src/form-render/helper.js +15 -14
  29. package/dist/components/tt-form/src/form-render/rootWrapperClass.js +3 -2
  30. package/dist/components/tt-form/src/formApi.js +3 -2
  31. package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +4 -3
  32. package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +2 -0
  33. package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +4 -2
  34. package/dist/components/tt-form/src/group-form/groupFormApi.js +4 -3
  35. package/dist/components/tt-form/src/hooks/useForwardPriorityValues.js +3 -2
  36. package/dist/components/tt-form/src/hooks/useSelectCollapse.js +28 -27
  37. package/dist/components/tt-form/src/index.vue2.js +3 -2
  38. package/dist/components/tt-form/src/useFormContext.js +11 -10
  39. package/dist/components/tt-form-item-error-tooltip/index.js +5 -4
  40. package/dist/components/tt-form-item-error-tooltip/index.vue.js +4 -3
  41. package/dist/components/tt-icon/index.js +6 -5
  42. package/dist/components/tt-image/index.js +6 -5
  43. package/dist/components/tt-image/src/components/ImageViewer.js +7 -6
  44. package/dist/components/tt-loading/index.js +4 -3
  45. package/dist/components/tt-loading/src/directive.js +24 -23
  46. package/dist/components/tt-log/index.js +4 -3
  47. package/dist/components/tt-log/index.vue.js +3 -2
  48. package/dist/components/tt-modal/index.js +3 -2
  49. package/dist/components/tt-modal/src/RenderModal.vue.js +3 -2
  50. package/dist/components/tt-modal/src/components/ModalFooter.vue2.js +3 -2
  51. package/dist/components/tt-modal/src/components/ModalHeader.vue2.js +3 -2
  52. package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +15 -14
  53. package/dist/components/tt-modal/src/props.js +3 -2
  54. package/dist/components/tt-modal/src/utils/modal-api.js +4 -2
  55. package/dist/components/tt-modal-form/index.vue.js +4 -3
  56. package/dist/components/tt-nav-anchor/index.js +4 -3
  57. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +15 -14
  58. package/dist/components/tt-panel-select/index.js +4 -3
  59. package/dist/components/tt-panel-select/src/hooks/usePanelData.js +4 -3
  60. package/dist/components/tt-panel-select/src/index.vue.js +3 -2
  61. package/dist/components/tt-radio-group/index.js +4 -3
  62. package/dist/components/tt-radio-group/index.vue.js +7 -6
  63. package/dist/components/tt-select/index.js +4 -3
  64. package/dist/components/tt-select/src/Select.vue.d.ts +8 -8
  65. package/dist/components/tt-select/src/Select.vue.js +4 -3
  66. package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +116 -7
  67. package/dist/components/tt-select/src/components/SelectTable.vue.js +3 -2
  68. package/dist/components/tt-select/src/components/Table.vue.d.ts +4 -4
  69. package/dist/components/tt-select/src/components/Table.vue.js +3 -2
  70. package/dist/components/tt-select/src/hooks/useDataSource.js +4 -3
  71. package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +7 -1
  72. package/dist/components/tt-select/src/hooks/useSelect.js +3 -2
  73. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  74. package/dist/components/tt-select/src/hooks/useSelectTableEvent.js +28 -27
  75. package/dist/components/tt-select/src/props.d.ts +2 -2
  76. package/dist/components/tt-table/index.d.ts +6 -6
  77. package/dist/components/tt-table/index.js +1 -1
  78. package/dist/components/tt-table/src/Table.vue.d.ts +4 -4
  79. package/dist/components/tt-table/src/Table.vue.js +178 -175
  80. package/dist/components/tt-table/src/TableForm.vue.d.ts +6 -6
  81. package/dist/components/tt-table/src/TableForm.vue.js +2 -2
  82. package/dist/components/tt-table/src/components/TableAction.vue.js +19 -17
  83. package/dist/components/tt-table/src/components/TableButtons.js +10 -9
  84. package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +4 -3
  85. package/dist/components/tt-table/src/components/TableToolbarTools.vue.js +18 -17
  86. package/dist/components/tt-table/src/emits.d.ts +10 -1
  87. package/dist/components/tt-table/src/hooks/useColumnPersistence.js +17 -16
  88. package/dist/components/tt-table/src/hooks/useColumns.js +4 -3
  89. package/dist/components/tt-table/src/hooks/useKeyboardNav.js +34 -33
  90. package/dist/components/tt-table/src/hooks/usePagination.js +12 -11
  91. package/dist/components/tt-table/src/hooks/useQuery.js +6 -5
  92. package/dist/components/tt-table/src/hooks/useRowIdentity.d.ts +1 -0
  93. package/dist/components/tt-table/src/hooks/useRowIdentity.js +68 -54
  94. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +5 -7
  95. package/dist/components/tt-table/src/hooks/useRowSelection.js +70 -68
  96. package/dist/components/tt-table/src/hooks/useSideSlot.js +4 -3
  97. package/dist/components/tt-table/src/hooks/useSyncProps.js +4 -3
  98. package/dist/components/tt-table/src/hooks/useTableData.js +6 -5
  99. package/dist/components/tt-table/src/hooks/useTableFooter.js +9 -8
  100. package/dist/components/tt-table/src/hooks/useTableForm.js +4 -3
  101. package/dist/components/tt-table/src/hooks/useTableRender.d.ts +37 -4
  102. package/dist/components/tt-table/src/props.d.ts +12 -6
  103. package/dist/components/tt-table/src/props.js +14 -7
  104. package/dist/components/tt-table/src/table-mutation-events.js +10 -9
  105. package/dist/components/tt-table/src/types/table.d.ts +16 -0
  106. package/dist/components/tt-table/src/utils/action-tab-index.js +15 -14
  107. package/dist/components/tt-table/src/utils/context.js +5 -4
  108. package/dist/components/tt-table/src/utils/table-api.js +4 -2
  109. package/dist/components/tt-table/src/utils/table-form-api.js +22 -20
  110. package/dist/components/tt-text/index.js +4 -3
  111. package/dist/components/tt-upload/index.js +6 -5
  112. package/dist/components/tt-upload/src/TtUpload.vue.js +4 -3
  113. package/dist/directives/disabled-tip/index.js +9 -8
  114. package/dist/hooks/useFormSchemasLink.js +4 -3
  115. package/dist/hooks/useFormat.d.ts +35 -71
  116. package/dist/hooks/useFormat.js +28 -39
  117. package/dist/hooks/usePanelSelectSchemas.js +4 -3
  118. package/dist/hooks/useScreenshotOss.js +16 -15
  119. package/dist/packages/hooks/src/useDebounce.js +5 -4
  120. package/dist/packages/hooks/src/useElementScreenshot.js +4 -3
  121. package/dist/packages/hooks/src/usePriorityValue.js +5 -4
  122. package/dist/packages/utils/src/format.js +48 -0
  123. package/dist/plugins/default/renderCellContent.js +4 -3
  124. package/dist/plugins/vxeTable/switchStatus.js +14 -13
  125. package/package.json +3 -3
@@ -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 h = o(t);
17
+ const w = o(t);
17
18
  export {
18
- h as TtApiComponent,
19
- h as default
19
+ w as TtApiComponent,
20
+ w as default
20
21
  };
@@ -5,8 +5,9 @@ import "../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/no
5
5
  import { useDesign as pe } from "../../packages/hooks/src/useDesign.js";
6
6
  import "axios";
7
7
  import { isFunction as h } from "../../packages/utils/src/is.js";
8
- import "xe-utils";
9
8
  import "dayjs";
9
+ import "numeral";
10
+ import "xe-utils";
10
11
  import "dayjs/plugin/utc";
11
12
  import "dayjs/plugin/timezone";
12
13
  import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -17,7 +18,7 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs
17
18
  import { isEqual as ce, get as y, cloneDeep as L } from "lodash-es";
18
19
  import "vue-router";
19
20
  import { objectOmit as _ } from "@vueuse/core";
20
- const Ee = /* @__PURE__ */ H({
21
+ const $e = /* @__PURE__ */ H({
21
22
  name: "ApiComponent",
22
23
  inheritAttrs: !1,
23
24
  __name: "index",
@@ -207,5 +208,5 @@ const Ee = /* @__PURE__ */ H({
207
208
  }
208
209
  });
209
210
  export {
210
- Ee as default
211
+ $e as default
211
212
  };
@@ -1,7 +1,8 @@
1
- import { defineComponent as m, ref as i, computed as a, createElementBlock as u, openBlock as d, createElementVNode as e, withDirectives as l, vModelText as r, toDisplayString as v } from "vue";
1
+ import { defineComponent as m, ref as i, computed as a, createElementBlock as u, openBlock as d, createElementVNode as e, withDirectives as r, vModelText as l, toDisplayString as v } from "vue";
2
2
  import "axios";
3
3
  import "element-plus";
4
4
  import "dayjs";
5
+ import "numeral";
5
6
  import "xe-utils";
6
7
  import "dayjs/plugin/utc";
7
8
  import "dayjs/plugin/timezone";
@@ -11,29 +12,29 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8
11
12
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
12
13
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
13
14
  import "lodash-es";
14
- const c = { class: "tt-area" }, f = { class: "num" }, x = { class: "num" }, y = { class: "sum" }, N = { "data-testid": "result" }, q = /* @__PURE__ */ m({
15
+ const c = { class: "tt-area" }, f = { class: "num" }, x = { class: "num" }, y = { class: "sum" }, N = { "data-testid": "result" }, z = /* @__PURE__ */ m({
15
16
  __name: "TtArea",
16
17
  setup(V) {
17
18
  const o = i(1), s = i(2), p = a(() => _(+o.value, +s.value));
18
19
  return (b, t) => (d(), u("div", c, [
19
20
  e("div", f, [
20
21
  t[2] || (t[2] = e("span", null, "Number 1", -1)),
21
- l(e("input", {
22
+ r(e("input", {
22
23
  "onUpdate:modelValue": t[0] || (t[0] = (n) => o.value = n),
23
24
  "data-testid": "n1",
24
25
  type: "text"
25
26
  }, null, 512), [
26
- [r, o.value]
27
+ [l, o.value]
27
28
  ])
28
29
  ]),
29
30
  e("div", x, [
30
31
  t[3] || (t[3] = e("span", null, "Number 2", -1)),
31
- l(e("input", {
32
+ r(e("input", {
32
33
  "onUpdate:modelValue": t[1] || (t[1] = (n) => s.value = n),
33
34
  "data-testid": "n2",
34
35
  type: "text"
35
36
  }, null, 512), [
36
- [r, s.value]
37
+ [l, s.value]
37
38
  ])
38
39
  ]),
39
40
  e("div", y, [
@@ -43,5 +44,5 @@ const c = { class: "tt-area" }, f = { class: "num" }, x = { class: "num" }, y =
43
44
  }
44
45
  });
45
46
  export {
46
- q as default
47
+ z as default
47
48
  };
@@ -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,9 +15,9 @@ 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 "./index.vue.js";
16
17
  import r from "./components/AddButton.vue.js";
17
- const w = t(o), x = t(r);
18
+ const x = t(o), A = t(r);
18
19
  export {
19
- x as TtAddButton,
20
- w as TtButton,
21
- w as default
20
+ A as TtAddButton,
21
+ x as TtButton,
22
+ x as default
22
23
  };
@@ -8,8 +8,9 @@ import "../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/no
8
8
  import { useDesign as w } from "../../packages/hooks/src/useDesign.js";
9
9
  import "axios";
10
10
  import { isArray as z, isObject as A } from "../../packages/utils/src/is.js";
11
- import "xe-utils";
12
11
  import "dayjs";
12
+ import "numeral";
13
+ import "xe-utils";
13
14
  import "dayjs/plugin/utc";
14
15
  import "dayjs/plugin/timezone";
15
16
  import "../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -18,7 +19,7 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8
18
19
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
19
20
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
20
21
  import "vue-router";
21
- const eo = /* @__PURE__ */ b({
22
+ const to = /* @__PURE__ */ b({
22
23
  name: "TtButton",
23
24
  __name: "index",
24
25
  props: {
@@ -76,5 +77,5 @@ const eo = /* @__PURE__ */ b({
76
77
  }
77
78
  });
78
79
  export {
79
- eo as default
80
+ to as default
80
81
  };
@@ -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 "./index.vue.js";
16
- const d = t(o);
17
+ const k = t(o);
17
18
  export {
18
- d as TtCheckbox,
19
- d as default
19
+ k as TtCheckbox,
20
+ k as default
20
21
  };
@@ -2,8 +2,9 @@ import { defineComponent as v, useAttrs as V, computed as d, ref as u, watch as
2
2
  import "axios";
3
3
  import { useFormItem as P, ElCheckbox as A } from "element-plus";
4
4
  import { isArray as N, isObject as _ } 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";
@@ -13,7 +14,7 @@ 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 { omit as z } from "lodash-es";
15
16
  import D from "../../directives/disabled-tip/index.js";
16
- const Y = /* @__PURE__ */ v({
17
+ const Z = /* @__PURE__ */ v({
17
18
  name: "TtCheckbox",
18
19
  inheritAttrs: !1,
19
20
  __name: "index",
@@ -83,5 +84,5 @@ const Y = /* @__PURE__ */ v({
83
84
  }
84
85
  });
85
86
  export {
86
- Y as default
87
+ Z as default
87
88
  };
@@ -3,6 +3,7 @@ import "element-plus";
3
3
  import "dayjs";
4
4
  import "vue";
5
5
  import { withInstall as r } 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";
@@ -17,8 +18,8 @@ import t from "./src/RenderDrawer.vue.js";
17
18
  import "@tanstack/vue-store";
18
19
  import "vue-router";
19
20
  import "@vueuse/core";
20
- const R = r(t);
21
+ const b = r(t);
21
22
  export {
22
- R as RenderDrawer,
23
- R as default
23
+ b as RenderDrawer,
24
+ b as default
24
25
  };
@@ -5,8 +5,9 @@ import { usePriorityValues as ge, getPriorityValues as ke } from "../../../packa
5
5
  import "axios";
6
6
  import { drawerProps as O, ElDrawer as we } from "element-plus";
7
7
  import { isNumber as Ce } from "../../../packages/utils/src/is.js";
8
- import "xe-utils";
9
8
  import "dayjs";
9
+ import "numeral";
10
+ import "xe-utils";
10
11
  import "dayjs/plugin/utc";
11
12
  import "dayjs/plugin/timezone";
12
13
  import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -26,7 +27,7 @@ import { basicProps as Be } from "./props.js";
26
27
  import { DrawerApi as Se } from "./utils/drawer-api.js";
27
28
  import { pushModal as Ve, removeModal as x } from "../../tt-modal/src/utils/modal-stack.js";
28
29
  import { vTtLoading as De } from "../../tt-loading/src/directive.js";
29
- const ro = /* @__PURE__ */ Z({
30
+ const so = /* @__PURE__ */ Z({
30
31
  name: "TtDrawer",
31
32
  __name: "RenderDrawer",
32
33
  props: {
@@ -170,5 +171,5 @@ const ro = /* @__PURE__ */ Z({
170
171
  }
171
172
  });
172
173
  export {
173
- ro as default
174
+ so as default
174
175
  };
@@ -1,9 +1,10 @@
1
- import { defineComponent as v, inject as I, computed as e, toValue as D, createElementBlock as a, openBlock as o, normalizeStyle as P, normalizeClass as S, unref as n, renderSlot as r, Fragment as V, createBlock as l, createCommentVNode as m, withModifiers as p, withCtx as d, createTextVNode as c, toDisplayString as f, mergeProps as b } from "vue";
1
+ import { defineComponent as v, inject as I, computed as e, toValue as D, createElementBlock as a, openBlock as o, normalizeStyle as P, normalizeClass as S, unref as n, renderSlot as r, Fragment as V, createBlock as m, createCommentVNode as l, withModifiers as p, withCtx as d, createTextVNode as c, toDisplayString as f, mergeProps as b } 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 j } from "../../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import "element-plus";
6
6
  import "dayjs";
7
+ import "numeral";
7
8
  import { generateTestId as u } from "../../../../packages/utils/src/testid-helper.js";
8
9
  import "xe-utils";
9
10
  import "dayjs/plugin/utc";
@@ -17,7 +18,7 @@ import "lodash-es";
17
18
  import "vue-router";
18
19
  import { TtButton as k } from "../../../tt-button/index.js";
19
20
  import { footerProps as x } from "../props.js";
20
- const tt = /* @__PURE__ */ v({
21
+ const et = /* @__PURE__ */ v({
21
22
  name: "DrawerFooter",
22
23
  __name: "DrawerFooter",
23
24
  props: x,
@@ -37,7 +38,7 @@ const tt = /* @__PURE__ */ v({
37
38
  }, [
38
39
  t.$slots.footer ? r(t.$slots, "footer", { key: 1 }) : (o(), a(V, { key: 0 }, [
39
40
  r(t.$slots, "insertFooter"),
40
- t.showCancelBtn ? (o(), l(n(k), {
41
+ t.showCancelBtn ? (o(), m(n(k), {
41
42
  key: 0,
42
43
  "data-testid": y.value,
43
44
  onClick: p($, ["stop"])
@@ -46,9 +47,9 @@ const tt = /* @__PURE__ */ v({
46
47
  c(f(t.cancelText), 1)
47
48
  ]),
48
49
  _: 1
49
- }, 8, ["data-testid"])) : m("", !0),
50
+ }, 8, ["data-testid"])) : l("", !0),
50
51
  r(t.$slots, "centerFooter"),
51
- t.showOkBtn ? (o(), l(n(k), b({
52
+ t.showOkBtn ? (o(), m(n(k), b({
52
53
  key: 1,
53
54
  loading: t.confirmLoading
54
55
  }, T.value, {
@@ -59,12 +60,12 @@ const tt = /* @__PURE__ */ v({
59
60
  c(f(t.okText), 1)
60
61
  ]),
61
62
  _: 1
62
- }, 16, ["loading", "data-testid", "onClick"])) : m("", !0),
63
+ }, 16, ["loading", "data-testid", "onClick"])) : l("", !0),
63
64
  r(t.$slots, "appendFooter")
64
65
  ], 64))
65
66
  ], 6));
66
67
  }
67
68
  });
68
69
  export {
69
- tt as default
70
+ et as default
70
71
  };
@@ -4,6 +4,7 @@ import { useDesign as c } from "../../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import "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";
@@ -14,7 +15,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mo
14
15
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
15
16
  import "lodash-es";
16
17
  import "vue-router";
17
- const N = /* @__PURE__ */ o({
18
+ const S = /* @__PURE__ */ o({
18
19
  name: "DrawerHeader",
19
20
  __name: "DrawerHeader",
20
21
  props: {
@@ -31,5 +32,5 @@ const N = /* @__PURE__ */ o({
31
32
  }
32
33
  });
33
34
  export {
34
- N as default
35
+ S as default
35
36
  };
@@ -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";
@@ -48,7 +49,7 @@ const e = {
48
49
  },
49
50
  height: o.string.def("56px"),
50
51
  size: o.string.def("30%")
51
- }, C = {
52
+ }, k = {
52
53
  /** class */
53
54
  class: o.string.def(""),
54
55
  /** 标题 */
@@ -81,6 +82,6 @@ const e = {
81
82
  ...e
82
83
  };
83
84
  export {
84
- C as basicProps,
85
+ k as basicProps,
85
86
  e as footerProps
86
87
  };
@@ -5,6 +5,8 @@ import "axios";
5
5
  import { ElMessageBox as D } from "element-plus";
6
6
  import { isElement as S, isFunction as u } from "../../../../packages/utils/src/is.js";
7
7
  import { computed as b } from "vue";
8
+ import "dayjs";
9
+ import "numeral";
8
10
  import { bindMethods as v } from "../../../../packages/utils/src/tool.js";
9
11
  import { mergeWithArrayOverride as d } 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 { GlobalConfig as y } from "../../../../hooks/useSetup.js";
17
19
  import { Store as k } from "@tanstack/vue-store";
18
20
  import { useDebounceFn as x } from "@vueuse/core";
19
- class W {
21
+ class j {
20
22
  /** 构造函数,初始化抽屉的API接口和状态 */
21
23
  constructor(t = {}) {
22
24
  /** el-drawer 实例的引用 */
@@ -196,5 +198,5 @@ class W {
196
198
  }
197
199
  }
198
200
  export {
199
- W as DrawerApi
201
+ j as DrawerApi
200
202
  };
@@ -3,6 +3,7 @@ import "axios";
3
3
  import { emptyProps as u, ElEmpty as y, ElImage as E } from "element-plus";
4
4
  import "dayjs";
5
5
  import { withInstall as d } 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,7 +14,7 @@ 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 { omit as l } from "lodash-es";
15
16
  import I from "../../assets/img/empty_images/no_data.png.js";
16
- const q = d(/* @__PURE__ */ n({
17
+ const v = d(/* @__PURE__ */ n({
17
18
  name: "TtEmpty",
18
19
  props: u,
19
20
  slots: Object,
@@ -21,16 +22,16 @@ const q = d(/* @__PURE__ */ n({
21
22
  expose: p,
22
23
  slots: m
23
24
  }) {
24
- const a = l(m, ["image"]), e = g(), r = t.image || m.image;
25
+ const a = l(m, ["image"]), r = g(), e = t.image || m.image;
25
26
  return p({
26
- elemptyRef: e
27
+ elemptyRef: r
27
28
  }), () => i(y, f(t, {
28
- image: r ? t.image : "",
29
- ref: e
29
+ image: e ? t.image : "",
30
+ ref: r
30
31
  }), {
31
32
  image: () => {
32
33
  var o;
33
- return r ? (o = m.image) == null ? void 0 : o.call(m) : c(m, "image", {}, () => [i(E, {
34
+ return e ? (o = m.image) == null ? void 0 : o.call(m) : c(m, "image", {}, () => [i(E, {
34
35
  src: I
35
36
  }, null)]);
36
37
  },
@@ -39,6 +40,6 @@ const q = d(/* @__PURE__ */ n({
39
40
  }
40
41
  }));
41
42
  export {
42
- q as TtEmpty,
43
- q as default
43
+ v as TtEmpty,
44
+ v as default
44
45
  };
@@ -2,8 +2,9 @@ import "axios";
2
2
  import "element-plus";
3
3
  import { isEmpty as o } from "../../packages/utils/src/is.js";
4
4
  import "vue";
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";
@@ -13,12 +14,12 @@ 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 { setupForm as i } from "./src/config.js";
16
- import { COMPONENT_MAP as $ } from "./src/config.js";
17
+ import { COMPONENT_MAP as v } from "./src/config.js";
17
18
  import { globalShareState as p } from "./src/shared/global-state.js";
18
19
  import "@tanstack/vue-store";
19
20
  import "es-toolkit/compat";
20
21
  import "vee-validate";
21
- import * as E from "zod";
22
+ import * as O from "zod";
22
23
  import "./src/shared/zod-defaults.js";
23
24
  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";
24
25
  import "vue-router";
@@ -39,7 +40,7 @@ import "./src/form-render/FormFieldContact.js";
39
40
  import "../tt-nav-anchor/index.js";
40
41
  /* empty css */
41
42
  /* empty css */
42
- function W(t, m) {
43
+ function X(t, m) {
43
44
  i({
44
45
  config: {
45
46
  // vue组件库默认都是 modelValue
@@ -57,12 +58,12 @@ function W(t, m) {
57
58
  }
58
59
  });
59
60
  }
60
- function X(t) {
61
+ function Y(t) {
61
62
  p.setComponents({ ...t });
62
63
  }
63
64
  export {
64
- $ as COMPONENT_MAP,
65
- X as addComponent,
66
- W as setConfig,
67
- E as z
65
+ v as COMPONENT_MAP,
66
+ Y as addComponent,
67
+ X as setConfig,
68
+ O as z
68
69
  };
@@ -2,6 +2,7 @@ import { defineComponent as n, mergeModels as m, useModel as p, createBlock as d
2
2
  import "axios";
3
3
  import "element-plus";
4
4
  import "dayjs";
5
+ import "numeral";
5
6
  import { clnm as v } from "../../../../packages/utils/src/tool.js";
6
7
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
7
8
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
@@ -13,7 +14,7 @@ import w from "../../../../assets/svg/arrowLineDown.svg.js";
13
14
  import _ from "../../../../assets/svg/arrowUp.svg.js";
14
15
  import { TtIcon as b } from "../../../tt-icon/index.js";
15
16
  import { TtButton as V } from "../../../tt-button/index.js";
16
- const h = { class: "ml-1 flex items-center cursor-pointer" }, B = { class: "tt-expandable-arrow__icon flex h-[20px] w-[20px] items-center justify-center rounded-full" }, q = /* @__PURE__ */ n({
17
+ const h = { class: "ml-1 flex items-center cursor-pointer" }, B = { class: "tt-expandable-arrow__icon flex h-[20px] w-[20px] items-center justify-center rounded-full" }, F = /* @__PURE__ */ n({
17
18
  __name: "ExpandableArrow",
18
19
  props: /* @__PURE__ */ m({
19
20
  class: {}
@@ -49,5 +50,5 @@ const h = { class: "ml-1 flex items-center cursor-pointer" }, B = { class: "tt-e
49
50
  }
50
51
  });
51
52
  export {
52
- q as default
53
+ F as default
53
54
  };
@@ -2,6 +2,8 @@ import { defineComponent as O, useModel as _, useAttrs as E, computed as d, unre
2
2
  import "axios";
3
3
  import "element-plus";
4
4
  import { isFunction as U } from "../../../../packages/utils/src/is.js";
5
+ import "dayjs";
6
+ import "numeral";
5
7
  import { triggerWindowResize as q, clnm as G } from "../../../../packages/utils/src/tool.js";
6
8
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
7
9
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
@@ -16,7 +18,7 @@ import "vue-router";
16
18
  import K from "./ExpandableArrow.vue2.js";
17
19
  /* empty css */
18
20
  import { injectFormProps as Q } from "../useFormContext.js";
19
- const ve = /* @__PURE__ */ O({
21
+ const he = /* @__PURE__ */ O({
20
22
  __name: "FormActions",
21
23
  props: {
22
24
  modelValue: { default: !1, type: Boolean },
@@ -184,5 +186,5 @@ const ve = /* @__PURE__ */ O({
184
186
  }
185
187
  });
186
188
  export {
187
- ve as default
189
+ he as default
188
190
  };
@@ -2,6 +2,7 @@ import { defineComponent as m, createElementBlock as i, openBlock as s, normaliz
2
2
  import "axios";
3
3
  import "element-plus";
4
4
  import "dayjs";
5
+ import "numeral";
5
6
  import { clnm as l } from "../../../../packages/utils/src/tool.js";
6
7
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
7
8
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
@@ -10,7 +11,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mo
10
11
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
11
12
  import "lodash-es";
12
13
  import { useFormField as a } from "./useFormField.js";
13
- const d = ["id"], E = /* @__PURE__ */ m({
14
+ const d = ["id"], I = /* @__PURE__ */ m({
14
15
  __name: "FormDescription",
15
16
  props: {
16
17
  class: {}
@@ -26,5 +27,5 @@ const d = ["id"], E = /* @__PURE__ */ m({
26
27
  }
27
28
  });
28
29
  export {
29
- E as default
30
+ I as default
30
31
  };
@@ -1,7 +1,8 @@
1
- import { defineComponent as m, useId as p, provide as s, createElementBlock as i, openBlock as n, normalizeClass as c, unref as l, renderSlot as a } from "vue";
1
+ import { defineComponent as e, useId as p, provide as i, createElementBlock as s, openBlock as n, normalizeClass as c, unref as l, renderSlot as a } from "vue";
2
2
  import "axios";
3
3
  import "element-plus";
4
4
  import "dayjs";
5
+ import "numeral";
5
6
  import { clnm as d } from "../../../../packages/utils/src/tool.js";
6
7
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
7
8
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
@@ -10,20 +11,20 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mo
10
11
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
11
12
  import "lodash-es";
12
13
  import { FORM_ITEM_INJECTION_KEY as f } from "./injectionKeys.js";
13
- const h = /* @__PURE__ */ m({
14
+ const x = /* @__PURE__ */ e({
14
15
  __name: "FormItem",
15
16
  props: {
16
17
  class: {}
17
18
  },
18
19
  setup(o) {
19
20
  const r = o, t = p();
20
- return s(f, t), (e, _) => (n(), i("div", {
21
+ return i(f, t), (m, _) => (n(), s("div", {
21
22
  class: c(l(d)(r.class))
22
23
  }, [
23
- a(e.$slots, "default")
24
+ a(m.$slots, "default")
24
25
  ], 2));
25
26
  }
26
27
  });
27
28
  export {
28
- h as default
29
+ x as default
29
30
  };
@@ -1,28 +1,29 @@
1
- import { defineComponent as e, createElementBlock as m, openBlock as p, normalizeClass as s, unref as l, renderSlot as n } from "vue";
1
+ import { defineComponent as e, createElementBlock as m, openBlock as p, normalizeClass as s, unref as l, renderSlot as i } from "vue";
2
2
  import "axios";
3
3
  import "element-plus";
4
4
  import "dayjs";
5
- import { clnm as a } from "../../../../packages/utils/src/tool.js";
5
+ import "numeral";
6
+ import { clnm as n } from "../../../../packages/utils/src/tool.js";
6
7
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
7
8
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
8
9
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
9
10
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
10
11
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
11
12
  import "lodash-es";
12
- const z = /* @__PURE__ */ e({
13
+ const E = /* @__PURE__ */ e({
13
14
  __name: "FormLabel",
14
15
  props: {
15
16
  class: {}
16
17
  },
17
18
  setup(o) {
18
19
  const r = o;
19
- return (t, i) => (p(), m("label", {
20
- class: s(l(a)(r.class))
20
+ return (t, a) => (p(), m("label", {
21
+ class: s(l(n)(r.class))
21
22
  }, [
22
- n(t.$slots, "default")
23
+ i(t.$slots, "default")
23
24
  ], 2));
24
25
  }
25
26
  });
26
27
  export {
27
- z as default
28
+ E as default
28
29
  };
@@ -2,8 +2,9 @@ import "axios";
2
2
  import "element-plus";
3
3
  import { isObject as c, isFunction as o } from "../../../../packages/utils/src/is.js";
4
4
  import { defineComponent as u, unref as f, h as p } from "vue";
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";
@@ -14,7 +15,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pa
14
15
  import "lodash-es";
15
16
  import { useFormValues as s } from "vee-validate";
16
17
  import { injectFormProps as l } from "../useFormContext.js";
17
- const S = u({
18
+ const k = u({
18
19
  name: "RenderContent",
19
20
  inheritAttrs: !1,
20
21
  props: {
@@ -39,5 +40,5 @@ const S = u({
39
40
  }
40
41
  });
41
42
  export {
42
- S as default
43
+ k as default
43
44
  };