@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 "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
  };
@@ -2,8 +2,9 @@ import "axios";
2
2
  import "element-plus";
3
3
  import { isFunction as y } from "../../../../packages/utils/src/is.js";
4
4
  import { computed as p, ref as w, toRaw as te, unref as re, nextTick as ne } 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";
@@ -13,7 +14,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mo
13
14
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
14
15
  import { get as o, cloneDeep as ie, omit as le } from "lodash-es";
15
16
  import { pinyin as ae } from "pinyin-pro";
16
- function Te(l) {
17
+ function Ae(l) {
17
18
  const T = p(() => {
18
19
  const e = l.treeConfig || {};
19
20
  return {
@@ -204,5 +205,5 @@ function Te(l) {
204
205
  };
205
206
  }
206
207
  export {
207
- Te as usePanelSelectData
208
+ Ae as usePanelSelectData
208
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({
@@ -407,5 +408,5 @@ const p = 4, Ll = /* @__PURE__ */ ze({
407
408
  }
408
409
  });
409
410
  export {
410
- Ll as default
411
+ El as default
411
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
  };
@@ -1,9 +1,10 @@
1
- import { defineComponent as V, mergeModels as d, useModel as y, useAttrs as B, computed as k, ref as c, watch as x, createBlock as L, openBlock as w, unref as p, mergeProps as E, withCtx as M, renderSlot as P } from "vue";
1
+ import { defineComponent as V, mergeModels as d, useModel as y, useAttrs as B, computed as k, ref as p, watch as x, createBlock as L, openBlock as w, unref as c, mergeProps as E, withCtx as M, renderSlot as P } 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 A } from "../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { useFormItem as D, ElRadioGroup as F } 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";
@@ -14,7 +15,7 @@ import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb
14
15
  import "../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
15
16
  import { omit as m } from "lodash-es";
16
17
  import "vue-router";
17
- const Q = /* @__PURE__ */ V({
18
+ const W = /* @__PURE__ */ V({
18
19
  name: "TtRadioGroup",
19
20
  inheritAttrs: !1,
20
21
  __name: "index",
@@ -41,7 +42,7 @@ const Q = /* @__PURE__ */ V({
41
42
  const a = n, l = y(n, "modelValue"), s = f, g = B(), { prefixCls: v } = A("radio-group"), h = k(() => ({
42
43
  ...m(a, ["clearable", "beforeChange", "modelValue"]),
43
44
  ...m(g, ["onUpdate:modelValue", "onChange", "class"])
44
- })), r = c(l.value), { formItem: i } = D(), u = c(!1);
45
+ })), r = p(l.value), { formItem: i } = D(), u = p(!1);
45
46
  async function C(e) {
46
47
  const o = l.value;
47
48
  let t = !0;
@@ -59,10 +60,10 @@ const Q = /* @__PURE__ */ V({
59
60
  })), u.value = !0;
60
61
  },
61
62
  { immediate: !0 }
62
- ), (e, o) => (w(), L(p(F), E(h.value, {
63
+ ), (e, o) => (w(), L(c(F), E(h.value, {
63
64
  modelValue: r.value,
64
65
  "onUpdate:modelValue": o[0] || (o[0] = (t) => r.value = t),
65
- class: [p(v), e.$attrs.class],
66
+ class: [c(v), e.$attrs.class],
66
67
  "validate-event": !1,
67
68
  onClickCapture: b,
68
69
  onChange: C
@@ -75,5 +76,5 @@ const Q = /* @__PURE__ */ V({
75
76
  }
76
77
  });
77
78
  export {
78
- Q as default
79
+ W as default
79
80
  };
@@ -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/Select.vue.js";
16
17
  /* empty css */
17
- const x = t(o);
18
+ const I = t(o);
18
19
  export {
19
- x as TtSelect,
20
- x as default
20
+ I as TtSelect,
21
+ I as default
21
22
  };
@@ -101,7 +101,7 @@ declare function __VLS_template(): {
101
101
  };
102
102
  list: {
103
103
  type: import('vue').PropType<Record<string, any>[]>;
104
- default: () => never[];
104
+ default: () => Record<string, any>[];
105
105
  };
106
106
  loading: {
107
107
  type: BooleanConstructor;
@@ -125,7 +125,7 @@ declare function __VLS_template(): {
125
125
  };
126
126
  selectValue: {
127
127
  type: import('vue').PropType<TtSelectModelValueType>;
128
- default: () => never[];
128
+ default: () => TtSelectModelValueType;
129
129
  };
130
130
  selectWidth: {
131
131
  type: NumberConstructor;
@@ -261,7 +261,7 @@ declare function __VLS_template(): {
261
261
  };
262
262
  list: {
263
263
  type: import('vue').PropType<Record<string, any>[]>;
264
- default: () => never[];
264
+ default: () => Record<string, any>[];
265
265
  };
266
266
  loading: {
267
267
  type: BooleanConstructor;
@@ -285,7 +285,7 @@ declare function __VLS_template(): {
285
285
  };
286
286
  selectValue: {
287
287
  type: import('vue').PropType<TtSelectModelValueType>;
288
- default: () => never[];
288
+ default: () => TtSelectModelValueType;
289
289
  };
290
290
  selectWidth: {
291
291
  type: NumberConstructor;
@@ -596,7 +596,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
596
596
  };
597
597
  list: {
598
598
  type: import('vue').PropType<Record<string, any>[]>;
599
- default: () => never[];
599
+ default: () => Record<string, any>[];
600
600
  };
601
601
  loading: {
602
602
  type: BooleanConstructor;
@@ -620,7 +620,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
620
620
  };
621
621
  selectValue: {
622
622
  type: import('vue').PropType<TtSelectModelValueType>;
623
- default: () => never[];
623
+ default: () => TtSelectModelValueType;
624
624
  };
625
625
  selectWidth: {
626
626
  type: NumberConstructor;
@@ -756,7 +756,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
756
756
  };
757
757
  list: {
758
758
  type: import('vue').PropType<Record<string, any>[]>;
759
- default: () => never[];
759
+ default: () => Record<string, any>[];
760
760
  };
761
761
  loading: {
762
762
  type: BooleanConstructor;
@@ -780,7 +780,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
780
780
  };
781
781
  selectValue: {
782
782
  type: import('vue').PropType<TtSelectModelValueType>;
783
- default: () => never[];
783
+ default: () => TtSelectModelValueType;
784
784
  };
785
785
  selectWidth: {
786
786
  type: NumberConstructor;
@@ -6,8 +6,9 @@ import { useDesign as Ze } from "../../../packages/hooks/src/useDesign.js";
6
6
  import "axios";
7
7
  import { ElIcon as et, ElSelect as tt } from "element-plus";
8
8
  import { isArray as ne, isObject as ot, isEmpty as lt } from "../../../packages/utils/src/is.js";
9
- import "xe-utils";
10
9
  import "dayjs";
10
+ import "numeral";
11
+ import "xe-utils";
11
12
  import "dayjs/plugin/utc";
12
13
  import "dayjs/plugin/timezone";
13
14
  import "../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
@@ -29,7 +30,7 @@ import { usePagination as ft } from "./hooks/usePagination.js";
29
30
  import { useSelect as gt } from "./hooks/useSelect.js";
30
31
  import { useSelectTableEvent as vt } from "./hooks/useSelectTableEvent.js";
31
32
  import { selectProps as bt, configDefault as ht } from "./props.js";
32
- const Pt = ["title"], Xt = /* @__PURE__ */ Ne({
33
+ const Pt = ["title"], Yt = /* @__PURE__ */ Ne({
33
34
  name: "TtSelect",
34
35
  inheritAttrs: !1,
35
36
  __name: "Select",
@@ -323,5 +324,5 @@ const Pt = ["title"], Xt = /* @__PURE__ */ Ne({
323
324
  }
324
325
  });
325
326
  export {
326
- Xt as default
327
+ Yt as default
327
328
  };
@@ -1,11 +1,48 @@
1
- import { VxeGridProps } from 'vxe-table';
1
+ import { VxeGridEventProps, VxeGridProps } from 'vxe-table';
2
2
  /** 获取实例 */
3
3
  declare function getGridInstance(): import('vxe-table').VxeGridInstance | undefined;
4
4
  declare function __VLS_template(): {
5
5
  attrs: Partial<{}>;
6
- slots: Partial<Record<string, (_: any) => any>>;
6
+ slots: Partial<Record<string, (_: {
7
+ [key: string]: any;
8
+ $table: import('vxe-table').VxeTableConstructor<any>;
9
+ $grid: import('vxe-table').VxeGridConstructor<any> | null | undefined;
10
+ $gantt: import('vxe-pc-ui').VxeGanttConstructor<any> | null | undefined;
11
+ rowid: string;
12
+ row: any;
13
+ rowIndex: number;
14
+ $rowIndex: number;
15
+ _rowIndex: number;
16
+ column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
17
+ columnIndex: number;
18
+ $columnIndex: number;
19
+ _columnIndex: number;
20
+ option: import("vxe-table").VxeColumnPropTypes.FilterItem;
21
+ type: string;
22
+ fixed: import("vxe-table").VxeColumnPropTypes.Fixed;
23
+ checked: boolean;
24
+ indeterminate: boolean;
25
+ seq: string | number;
26
+ level: number;
27
+ isEdit: boolean;
28
+ isHidden: boolean;
29
+ field: string;
30
+ item: any;
31
+ data: any;
32
+ tooltipContent: string;
33
+ groupContent: string;
34
+ groupField: string;
35
+ childCount: number;
36
+ groupValues: number;
37
+ aggValue: number;
38
+ visibleData: any[];
39
+ items: any[];
40
+ }) => any>>;
7
41
  refs: {
8
- gridRef: any;
42
+ gridRef: (import('vxe-table').VxeGridMethods<any> & {
43
+ $props: VxeGridProps<any> & VxeGridEventProps<any>;
44
+ $slots: import('vxe-table').VxeGridSlots<any>;
45
+ }) | null;
9
46
  };
10
47
  rootEl: HTMLDivElement;
11
48
  };
@@ -21,7 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
21
58
  };
22
59
  list: {
23
60
  type: import('vue').PropType<Record<string, any>[]>;
24
- default: () => never[];
61
+ default: () => Record<string, any>[];
25
62
  };
26
63
  loading: {
27
64
  type: BooleanConstructor;
@@ -45,7 +82,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
45
82
  };
46
83
  selectValue: {
47
84
  type: import('vue').PropType<import('../types').TtSelectModelValueType>;
48
- default: () => never[];
85
+ default: () => import('../types').TtSelectModelValueType;
49
86
  };
50
87
  selectWidth: {
51
88
  type: NumberConstructor;
@@ -81,7 +118,76 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
81
118
  };
82
119
  }>, {
83
120
  getGridInstance: typeof getGridInstance;
84
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
121
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
122
+ configProps: {
123
+ type: import('vue').PropType<import('../props').TtSelectProps["configProps"]>;
124
+ default: () => {};
125
+ };
126
+ grid: {
127
+ type: import('vue').PropType<import('../props').TtSelectProps["gridProps"]>;
128
+ default: () => {};
129
+ };
130
+ list: {
131
+ type: import('vue').PropType<Record<string, any>[]>;
132
+ default: () => Record<string, any>[];
133
+ };
134
+ loading: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
138
+ showPager: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ pagination: {
143
+ type: import('vue').PropType<VxeGridProps["pagerConfig"]>;
144
+ default: () => {};
145
+ };
146
+ multiple: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ disableFn: {
151
+ type: import('vue').PropType<import('../types').TtSelectConfigProps["disableFn"]>;
152
+ default: null;
153
+ };
154
+ selectValue: {
155
+ type: import('vue').PropType<import('../types').TtSelectModelValueType>;
156
+ default: () => import('../types').TtSelectModelValueType;
157
+ };
158
+ selectWidth: {
159
+ type: NumberConstructor;
160
+ default: number;
161
+ };
162
+ deleteField: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ setPagination: {
167
+ type: import('vue').PropType<(pagination: VxeGridProps["pagerConfig"]) => void>;
168
+ default: null;
169
+ };
170
+ getPagination: {
171
+ type: import('vue').PropType<() => VxeGridProps["pagerConfig"]>;
172
+ default: null;
173
+ };
174
+ reload: {
175
+ type: import('vue').PropType<(bool?: boolean) => Promise<void>>;
176
+ default: null;
177
+ };
178
+ hasNextPage: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ };
182
+ showCheckbox: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ multipleLimit: {
187
+ type: NumberConstructor;
188
+ default: number;
189
+ };
190
+ }>> & Readonly<{}>, {
85
191
  grid: import('../props').TtSelectGridProps;
86
192
  list: Record<string, any>[];
87
193
  reload: (bool?: boolean) => Promise<void>;
@@ -100,7 +206,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
100
206
  hasNextPage: boolean;
101
207
  showCheckbox: boolean;
102
208
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
103
- gridRef: any;
209
+ gridRef: (import('vxe-table').VxeGridMethods<any> & {
210
+ $props: VxeGridProps<any> & VxeGridEventProps<any>;
211
+ $slots: import('vxe-table').VxeGridSlots<any>;
212
+ }) | null;
104
213
  }, HTMLDivElement>;
105
214
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
106
215
  export default _default;
@@ -4,6 +4,7 @@ import { useDesign as j } from "../../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { vLoading as B } from "element-plus";
6
6
  import "dayjs";
7
+ import "numeral";
7
8
  import L from "xe-utils";
8
9
  import "dayjs/plugin/utc";
9
10
  import "dayjs/plugin/timezone";
@@ -20,7 +21,7 @@ import { tableEmits as c } from "vxe-table/es/table/src/emits";
20
21
  import { GRID_MIN_HEIGHT as A, GRID_MAX_HEIGHT as U } from "../const.js";
21
22
  import { useGrid as Y } from "../hooks/useGrid.js";
22
23
  import { selectTableProps as $ } from "../props.js";
23
- const q = { class: "flex flex-col items-center justify-center" }, he = /* @__PURE__ */ C({
24
+ const q = { class: "flex flex-col items-center justify-center" }, ve = /* @__PURE__ */ C({
24
25
  __name: "SelectTable",
25
26
  props: $,
26
27
  emits: c,
@@ -94,5 +95,5 @@ const q = { class: "flex flex-col items-center justify-center" }, he = /* @__PUR
94
95
  }
95
96
  });
96
97
  export {
97
- he as default
98
+ ve as default
98
99
  };