@web-utils/form-ui 1.0.0-beta50 → 1.0.0-beta52

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 (124) hide show
  1. package/chunks/{eae6huQB.mjs → B1k8ydde.mjs} +2 -2
  2. package/chunks/{B1IPSTA6.mjs → B75qfA0z.mjs} +2 -2
  3. package/chunks/{pIzhYsBe.mjs → BAw6wxW1.mjs} +2 -2
  4. package/chunks/{hzaYr6Ud2.mjs → BQyL45PF2.mjs} +1 -1
  5. package/chunks/{B9gA65rt2.mjs → BSU2FqMP2.mjs} +2 -2
  6. package/chunks/{Cln3RBAD.mjs → BWh6u1O0.mjs} +1 -1
  7. package/chunks/{DA7oGHSX.mjs → BXVB-H8_.mjs} +2 -2
  8. package/chunks/B_RAcbs_.mjs +108 -0
  9. package/chunks/{BtcjAHE6.mjs → BshE3RnA.mjs} +2 -2
  10. package/chunks/{CuAoMR3n.mjs → C6hLXCPk.mjs} +5 -16
  11. package/chunks/{vXQf89tS.mjs → C7G-cAoI.mjs} +1 -1
  12. package/chunks/{CAd1zK9Q.mjs → CBFbSsTJ.mjs} +2 -2
  13. package/chunks/CGDnQr1c.mjs +67 -0
  14. package/chunks/CGHcOyNC2.mjs +87 -0
  15. package/chunks/{ByHz4mmh.mjs → CVKPpQdS.mjs} +2 -2
  16. package/chunks/{BUGCiCnl.mjs → CXsoKP22.mjs} +4 -1
  17. package/chunks/CjRZ71IY2.mjs +512 -0
  18. package/chunks/CkjtCuMs.mjs +416 -0
  19. package/chunks/{D0Zg2CV0.mjs → CtHmTtVP.mjs} +3 -3
  20. package/chunks/{V2p-PCpL.mjs → CzHaJsnD.mjs} +3 -3
  21. package/chunks/{Dkd5BC98.mjs → D2MB3CnR.mjs} +2 -6
  22. package/chunks/{D_qiRmiE.mjs → D3mFJzGr.mjs} +32 -26
  23. package/chunks/{BbSPWDDZ.mjs → DLgFBI_X.mjs} +2 -2
  24. package/chunks/{BfxDxIg0.mjs → DVbw6xIr.mjs} +2 -2
  25. package/chunks/{kflKDW4T2.mjs → DZJ-ShZA2.mjs} +38 -39
  26. package/chunks/{CqoVAnxC2.mjs → DcFllKOf2.mjs} +2 -6
  27. package/chunks/DhVmHzB7.mjs +653 -0
  28. package/chunks/{6yfBZFOB.mjs → DitpKWMd.mjs} +4 -3
  29. package/chunks/{bFbPPcdq.mjs → DkXlFWjs.mjs} +2 -2
  30. package/chunks/{CxTg0r4n.mjs → Dt3lfDnL.mjs} +1 -1
  31. package/chunks/{BA2KEptL.mjs → GMFHxPJq.mjs} +2 -6
  32. package/chunks/{BqWvBF14.mjs → JKFepPeL.mjs} +2 -2
  33. package/chunks/{CJdkjadi.mjs → KuAMIZnG.mjs} +1 -1
  34. package/chunks/{BBERmTup.mjs → XoImEoke.mjs} +19 -4
  35. package/chunks/{wXeqV-_7.mjs → eBESsR-G.mjs} +2 -2
  36. package/chunks/{CabldOLo.mjs → v-O82KSn.mjs} +4 -3
  37. package/confirm-button/index.d.ts +9 -2
  38. package/confirm-button/index.mjs +1 -1
  39. package/confirmable/index.d.ts +9 -2
  40. package/confirmable/index.mjs +1 -1
  41. package/constants/index.d.ts +1 -0
  42. package/constants/index.mjs +2 -2
  43. package/editable-tree/index.mjs +1 -1
  44. package/element-dialog/index.d.ts +2 -2
  45. package/form-button/index.d.ts +9 -2
  46. package/form-cascader/index.d.ts +16 -10
  47. package/form-cascader/index.mjs +1 -1
  48. package/form-checkbox/index.d.ts +8 -2
  49. package/form-checkbox/index.mjs +1 -1
  50. package/form-checkbox-group/index.d.ts +8 -2
  51. package/form-checkbox-group/index.mjs +1 -1
  52. package/form-date-picker/index.d.ts +8 -2
  53. package/form-date-picker/index.mjs +1 -1
  54. package/form-image/index.d.ts +8 -2
  55. package/form-image/index.mjs +1 -1
  56. package/form-input/index.d.ts +8 -2
  57. package/form-input/index.mjs +1 -1
  58. package/form-input-cron-expression/index.d.ts +8 -2
  59. package/form-input-cron-expression/index.mjs +1 -1
  60. package/form-input-email/index.d.ts +8 -2
  61. package/form-input-email/index.mjs +1 -1
  62. package/form-input-id-card/index.d.ts +8 -2
  63. package/form-input-id-card/index.mjs +1 -1
  64. package/form-input-number/index.d.ts +8 -2
  65. package/form-input-number/index.mjs +1 -1
  66. package/form-input-phone-number/index.d.ts +8 -2
  67. package/form-input-phone-number/index.mjs +1 -1
  68. package/form-input-tag/index.d.ts +8 -2
  69. package/form-input-tag/index.mjs +1 -1
  70. package/form-input-time/index.d.ts +16 -10
  71. package/form-input-time/index.mjs +1 -1
  72. package/form-item-group/index.mjs +1 -1
  73. package/form-item-x/index.d.ts +8 -2
  74. package/form-item-x/index.mjs +1 -1
  75. package/form-radio-group/index.d.ts +8 -2
  76. package/form-radio-group/index.mjs +1 -1
  77. package/form-rate/index.d.ts +8 -2
  78. package/form-rate/index.mjs +1 -1
  79. package/form-select/index.d.ts +8 -2
  80. package/form-select/index.mjs +1 -1
  81. package/form-slider/index.d.ts +8 -2
  82. package/form-slider/index.mjs +1 -1
  83. package/form-switch/index.d.ts +8 -2
  84. package/form-switch/index.mjs +1 -1
  85. package/form-table/index.d.ts +43 -25
  86. package/form-table/index.mjs +1 -1
  87. package/form-table-plus/index.d.ts +8 -8
  88. package/form-table-plus/index.mjs +1 -1
  89. package/form-text/index.d.ts +8 -2
  90. package/form-text/index.mjs +1 -1
  91. package/form-textarea/index.d.ts +12 -12
  92. package/form-textarea/index.mjs +1 -1
  93. package/form-time-select/index.d.ts +16 -10
  94. package/form-time-select/index.mjs +1 -1
  95. package/helper/sub-table-plus.d.ts +38 -0
  96. package/helper/sub-table-plus.mjs +4 -0
  97. package/index.css +1 -1
  98. package/index.mjs +33 -33
  99. package/package.json +1 -1
  100. package/pageable-table/index.d.ts +13 -11
  101. package/pageable-table/index.mjs +1 -1
  102. package/pageable-table/style.css +1 -1
  103. package/sub-table/index.d.ts +36 -30
  104. package/sub-table/index.mjs +2 -472
  105. package/sub-table-plus/index.d.ts +15 -3
  106. package/sub-table-plus/index.mjs +1 -1
  107. package/table-column/index.d.ts +8 -5
  108. package/table-column/index.mjs +1 -1
  109. package/table-column-def/index.d.ts +14 -12
  110. package/table-column-def/index.mjs +1 -1
  111. package/table-view/index.d.ts +6 -1
  112. package/table-view/index.mjs +121 -110
  113. package/toolbar/index.mjs +1 -1
  114. package/toolbar-button/index.d.ts +2 -2
  115. package/toolbar-button/index.mjs +1 -1
  116. package/vue-cron/index.mjs +1 -1
  117. package/web-types.json +1 -1
  118. package/x-input-tag/index.mjs +1 -1
  119. package/chunks/B-zqRAXo.mjs +0 -69
  120. package/chunks/BsZgAJX_2.mjs +0 -81
  121. package/chunks/cqIZWDHo.mjs +0 -614
  122. package/chunks/gCeDFHo1.mjs +0 -32
  123. package/chunks/hlha6Bhc.mjs +0 -107
  124. package/chunks/zwXzk9ff2.mjs +0 -568
@@ -1,5 +1,5 @@
1
- import { n as e } from "./D_qiRmiE.mjs";
2
- import { n as t, t as n } from "./CabldOLo.mjs";
1
+ import { n as e } from "./D3mFJzGr.mjs";
2
+ import { n as t, t as n } from "./v-O82KSn.mjs";
3
3
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
4
4
  //#region src/components/form/FormInputEmail.vue?vue&type=script&lang.jsx
5
5
  function s(e) {
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D_qiRmiE.mjs";
2
- import { n } from "./CJdkjadi.mjs";
1
+ import { i as e, n as t } from "./D3mFJzGr.mjs";
2
+ import { n } from "./KuAMIZnG.mjs";
3
3
  import { computed as r, createVNode as i, mergeProps as a } from "vue";
4
4
  import { ElDatePicker as o } from "element-plus/es";
5
5
  import { toDate as s } from "@web-utils/integrations/dayjs";
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D_qiRmiE.mjs";
2
- import { n } from "./CJdkjadi.mjs";
1
+ import { i as e, n as t } from "./D3mFJzGr.mjs";
2
+ import { n } from "./KuAMIZnG.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElSlider as o } from "element-plus/es";
5
5
  //#region src/components/form/props/slide.ts
@@ -1,7 +1,7 @@
1
1
  import { s as e } from "./DcTVYqeJ.mjs";
2
2
  import { goBack as t, hasAuthority as n } from "../api/index.mjs";
3
3
  import { toolbarContextKey as r } from "../constants/index.mjs";
4
- import { t as i } from "./CxTg0r4n.mjs";
4
+ import { t as i } from "./Dt3lfDnL.mjs";
5
5
  import { NOOP as a, capitalize as o } from "@web-utils/core";
6
6
  import { Comment as s, createVNode as c } from "vue";
7
7
  //#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
@@ -1,6 +1,6 @@
1
1
  import { f as e } from "./DcTVYqeJ.mjs";
2
- import { o as t, r as n } from "./D_qiRmiE.mjs";
3
- import { n as r } from "./CJdkjadi.mjs";
2
+ import { o as t, r as n } from "./D3mFJzGr.mjs";
3
+ import { n as r } from "./KuAMIZnG.mjs";
4
4
  import { createVNode as i, mergeProps as a } from "vue";
5
5
  import { ElText as o } from "element-plus/es";
6
6
  //#region src/components/form/props/text.ts
@@ -1,5 +1,5 @@
1
1
  import { d as e, t } from "./DcTVYqeJ.mjs";
2
- import { t as n } from "./CxTg0r4n.mjs";
2
+ import { t as n } from "./Dt3lfDnL.mjs";
3
3
  import { t as r } from "./CkOD-_VV.mjs";
4
4
  import { computePosition as i, delay as a, fastClone as o, findTreeChildren as s, hasOwn as c, isFunction as l, isNotEmpty as u, isPlainObject as d, isUndefined as f, isVerticalScrollbarVisible as p, patch as m, scrollbarWidth as h } from "@web-utils/core";
5
5
  import { Fragment as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, mergeProps as C, normalizeClass as w, normalizeStyle as T, openBlock as E, renderSlot as D, toDisplayString as O, toHandlers as k, vShow as A, withCtx as j, withDirectives as M, withModifiers as N } from "vue";
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D_qiRmiE.mjs";
2
- import { n } from "./CJdkjadi.mjs";
1
+ import { i as e, n as t } from "./D3mFJzGr.mjs";
2
+ import { n } from "./KuAMIZnG.mjs";
3
3
  import { useDictionary as r } from "../hook/useDictionary.mjs";
4
4
  import { computed as i, createVNode as a, isVNode as o, mergeProps as s, useModel as c } from "vue";
5
5
  import { ElRadio as l, ElRadioButton as u, ElRadioGroup as d } from "element-plus/es";
@@ -0,0 +1,108 @@
1
+ import { formItemGroupContextKey as e, formViewContextKey as t } from "../constants/index.mjs";
2
+ import n from "../empty-view/index.mjs";
3
+ import { Fragment as r, computed as i, createTextVNode as a, createVNode as o, h as s, inject as c, isVNode as l, onBeforeUnmount as u, onMounted as d, provide as f, reactive as p, ref as m, toRef as h, useTemplateRef as g, vShow as _, watchEffect as v, withDirectives as y } from "vue";
4
+ import { ElCol as b, ElCollapseTransition as x } from "element-plus";
5
+ import { ElRow as S } from "element-plus/es";
6
+ //#region src/components/form/FormItemGroup.vue?vue&type=script&lang.jsx
7
+ function C(e) {
8
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !l(e);
9
+ }
10
+ //#endregion
11
+ //#region src/components/form/FormItemGroup.vue
12
+ var w = {
13
+ name: "FormItemGroup",
14
+ props: {
15
+ blockTitle: String,
16
+ tips: String,
17
+ active: Boolean,
18
+ enabled: {
19
+ type: Boolean,
20
+ default: void 0
21
+ },
22
+ disabled: {
23
+ type: Boolean,
24
+ default: void 0
25
+ },
26
+ tag: {
27
+ type: String,
28
+ default: "ElCol"
29
+ },
30
+ span: {
31
+ type: Number,
32
+ default: 24
33
+ },
34
+ block: {
35
+ type: Boolean,
36
+ default: !0
37
+ },
38
+ wrapRow: {
39
+ type: Boolean,
40
+ default: !0
41
+ },
42
+ gutter: {
43
+ type: Number,
44
+ default: 20
45
+ },
46
+ collapse: Boolean,
47
+ showTitle: {
48
+ type: Boolean,
49
+ default: !0
50
+ },
51
+ notDispatch: Boolean
52
+ },
53
+ setup(l, { expose: w, slots: T }) {
54
+ let E = c(t, null), D = g("root"), O = m(!0), k = h(() => l.enabled), A = h(() => l.disabled), j = i(() => l.enabled === !0 ? !1 : l.disabled === !0), M = i(() => l.tag === "ElCol"), N = () => O.value = !O.value, P = () => {
55
+ O.value = !0;
56
+ };
57
+ v(() => {
58
+ O.value = !l.collapse;
59
+ });
60
+ let F = {
61
+ $el: h(() => M.value ? D.value.$el : D.value),
62
+ enabled: k,
63
+ disabled: A,
64
+ open: P,
65
+ expand: O,
66
+ blockTitle: h(() => l.blockTitle)
67
+ }, I = p(F);
68
+ return f(e, I), d(() => {
69
+ l.notDispatch || E == null || E.addGroup(I);
70
+ }), u(() => {
71
+ l.notDispatch || E == null || E.removeGroup(I);
72
+ }), w(F), () => {
73
+ let e = () => {
74
+ var e;
75
+ return o(r, null, [y(o("div", {
76
+ class: "form-item-group-title",
77
+ onClick: N
78
+ }, [o("span", {
79
+ class: "flex-item",
80
+ style: "flex: 1"
81
+ }, [
82
+ T.title ? T.title() : l.blockTitle,
83
+ T.tips || l.tips ? o("span", { style: "color: #ff0000; font-size: 14px" }, [
84
+ a("("),
85
+ T.tips ? T.tips() : l.tips,
86
+ a(")")
87
+ ]) : null,
88
+ (e = T["title-right"]) == null ? void 0 : e.call(T)
89
+ ]), o("i", { class: O.value ? "el-icon-arrow-down" : "el-icon-arrow-right" }, null)]), [[_, l.showTitle]]), o(x, null, { default: () => {
90
+ let e;
91
+ return T.default ? l.wrapRow ? y(o(S, { gutter: l.gutter }, C(e = T.default()) ? e : { default: () => [e] }), [[_, O.value]]) : y(o("div", null, [T.default()]), [[_, O.value]]) : y(o(n, {
92
+ "font-size": "14px",
93
+ "empty-tips": "暂无信息"
94
+ }, null), [[_, O.value]]);
95
+ } })]);
96
+ }, t = {
97
+ ref: "root",
98
+ class: ["form-item-group", {
99
+ "default-active": l.active,
100
+ "is-disabled": j.value
101
+ }]
102
+ };
103
+ return M.value && (t.span = l.block ? 24 : l.span), s(M.value ? b : "div", t, M.value ? e : e());
104
+ };
105
+ }
106
+ };
107
+ //#endregion
108
+ export { w as t };
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D_qiRmiE.mjs";
2
- import { n } from "./CJdkjadi.mjs";
1
+ import { i as e, n as t } from "./D3mFJzGr.mjs";
2
+ import { n } from "./KuAMIZnG.mjs";
3
3
  import { useDictionary as r } from "../hook/useDictionary.mjs";
4
4
  import { isNumber as i, isPlainObject as a, isString as o } from "@web-utils/core";
5
5
  import { computed as s, createVNode as c, mergeProps as l, ref as u, watchEffect as d } from "vue";
@@ -1,6 +1,6 @@
1
- import { n as e } from "./D_qiRmiE.mjs";
2
- import { n as t, t as n } from "./CJdkjadi.mjs";
3
- import { t as r } from "./CabldOLo.mjs";
1
+ import { n as e } from "./D3mFJzGr.mjs";
2
+ import { n as t, t as n } from "./KuAMIZnG.mjs";
3
+ import { t as r } from "./v-O82KSn.mjs";
4
4
  import { createVNode as i, isVNode as a, mergeProps as o, useModel as s } from "vue";
5
5
  //#region src/components/form/props/textarea.ts
6
6
  var c = {
@@ -78,25 +78,14 @@ function l(e) {
78
78
  var u = {
79
79
  name: "FormTextarea",
80
80
  inheritAttrs: !1,
81
- props: {
82
- ...c,
83
- maxlength: {
84
- type: [String, Number],
85
- default: 800
86
- },
87
- block: {
88
- type: Boolean,
89
- default: !0
90
- }
91
- },
81
+ props: { ...c },
92
82
  emits: { ...e },
93
83
  setup(e, { slots: t, attrs: n }) {
94
84
  let a = s(e, "modelValue");
95
85
  return () => i(r, o(e, n, {
96
- maxlength: e.maxlength,
97
- block: e.block,
98
86
  modelValue: a.value,
99
87
  "onUpdate:modelValue": (e) => a.value = e,
88
+ block: e.block === void 0 ? !0 : e.block,
100
89
  type: "textarea"
101
90
  }), l(t) ? t : { default: () => [t] });
102
91
  }
@@ -1,4 +1,4 @@
1
- import { t as e } from "./CxTg0r4n.mjs";
1
+ import { t as e } from "./Dt3lfDnL.mjs";
2
2
  import { t } from "./CkOD-_VV.mjs";
3
3
  import { copy as n } from "@web-utils/core";
4
4
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, openBlock as u, renderList as d, toDisplayString as f, withCtx as p } from "vue";
@@ -1,5 +1,5 @@
1
- import { n as e } from "./D_qiRmiE.mjs";
2
- import { n as t, t as n } from "./CabldOLo.mjs";
1
+ import { n as e } from "./D3mFJzGr.mjs";
2
+ import { n as t, t as n } from "./v-O82KSn.mjs";
3
3
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
4
4
  //#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
5
5
  function s(e) {
@@ -0,0 +1,67 @@
1
+ import { a as e, f as t } from "./DcTVYqeJ.mjs";
2
+ import { t as n } from "./DOZRzqlo.mjs";
3
+ import { cellClickHandlerContextKey as r } from "../constants/index.mjs";
4
+ import { n as i, t as a } from "./XoImEoke.mjs";
5
+ import { createVNode as o, inject as s, mergeProps as c } from "vue";
6
+ import { ElTableColumn as l } from "element-plus/es";
7
+ //#region src/components/table/TableColumn.vue?vue&type=script&lang.jsx
8
+ var u = {
9
+ selection: !0,
10
+ "single-selection": !0,
11
+ index: !0,
12
+ expand: !0
13
+ }, d = (e, t, n, r, i) => {
14
+ e == null || e(t, n, r, i);
15
+ }, f = (e) => {
16
+ let t = e.target;
17
+ for (; t && t.tagName.toUpperCase() !== "HTML";) {
18
+ if (t.tagName.toUpperCase() === "TD") return t;
19
+ t = t.parentNode;
20
+ }
21
+ return null;
22
+ }, p = () => {}, m = (t) => !e(t).length, h = {
23
+ name: "TableColumn",
24
+ props: { ...a },
25
+ setup(e, { slots: a, attrs: h }) {
26
+ let g = s(r, null), _ = t(e, i);
27
+ return () => {
28
+ let t, r = u[e.type];
29
+ if (!r) {
30
+ let r = e.clickable || h.onClick || e.cellClick;
31
+ (r || e.dictType || e.options) && (t = (t) => {
32
+ var i;
33
+ let { row: s, column: c } = t, l = r ? (t) => {
34
+ let n = f(t);
35
+ if (h.onClick || e.cellClick) {
36
+ var r, i;
37
+ (r = h.onClick) == null || r.call(h, s, c, s, c, n, t), (i = e.cellClick) == null || i.call(e, s, c, s, c, n, t);
38
+ } else d(g, s, c, n, t);
39
+ } : p, u = a == null || (i = a.default) == null ? void 0 : i.call(a, t);
40
+ return m(u) && (u = null), (e.dictType || e.options) && !u ? o(n, {
41
+ class: { "is-clickable": r },
42
+ onClick: l,
43
+ row: s,
44
+ column: c,
45
+ dictType: e.dictType,
46
+ treeDict: e.treeDict,
47
+ idAsValue: e.idAsValue,
48
+ labelAsValue: e.labelAsValue,
49
+ options: e.options
50
+ }, null) : r ? o("span", {
51
+ class: "is-clickable",
52
+ onClick: l
53
+ }, [u || (s == null ? void 0 : s[c == null ? void 0 : c.property])]) : u;
54
+ });
55
+ }
56
+ return o(l, c(_.value, {
57
+ key: e.filterable,
58
+ showOverflowTooltip: r ? !1 : e.showOverflowTooltip
59
+ }), {
60
+ ...a,
61
+ default: t || a.default
62
+ });
63
+ };
64
+ }
65
+ };
66
+ //#endregion
67
+ export { h as t };
@@ -0,0 +1,87 @@
1
+ import { i as e, n as t } from "./D3mFJzGr.mjs";
2
+ import { n, t as r } from "./KuAMIZnG.mjs";
3
+ import { n as i, t as a } from "./CkjtCuMs.mjs";
4
+ import { createVNode as o, mergeProps as s, ref as c, useModel as l } from "vue";
5
+ //#region src/components/table/form-table.ts
6
+ var u = {
7
+ ...n,
8
+ ...r,
9
+ ...i
10
+ }, d = {
11
+ modelValue: !0,
12
+ block: !0
13
+ }, f = (e) => n[e] === void 0 && d[e] !== !0, p = {
14
+ name: "FormTable",
15
+ props: { ...u },
16
+ emits: {
17
+ ...t,
18
+ "add-row": null
19
+ },
20
+ setup(t, { emit: n, attrs: r, slots: i }) {
21
+ let u = l(t, "modelValue"), d = c([]), p = (e) => {
22
+ d.value = e;
23
+ }, { render: m, placeholder: h, disabled: g, listeners: _, inputProps: v } = e(t, {
24
+ emit: n,
25
+ slots: i,
26
+ attrs: r,
27
+ predicate: f,
28
+ block: t.block === void 0 ? !0 : t.block
29
+ });
30
+ return () => {
31
+ var e;
32
+ let n = {};
33
+ for (let r = 0; r < (((e = t.columns) == null ? void 0 : e.length) ?? 0); r++) {
34
+ let e = t.columns[r];
35
+ n[e.prop] = (t, n, r) => {
36
+ var a;
37
+ return (a = i[e.prop]) == null ? void 0 : a.call(i, t, n, r);
38
+ };
39
+ }
40
+ return m({ vNodes: o(a, s(_.value, v.value, {
41
+ disabled: g.value,
42
+ modelValue: u.value,
43
+ "onUpdate:modelValue": (e) => u.value = e,
44
+ placeholder: h.value,
45
+ onSelectionChange: p
46
+ }), {
47
+ ...n,
48
+ columns: ({ columns: e }) => {
49
+ var t;
50
+ return (t = i.columns) == null ? void 0 : t.call(i, { columns: e });
51
+ },
52
+ handle: ({ add: e, remove: t }) => {
53
+ var n;
54
+ return (n = i.handle) == null ? void 0 : n.call(i, {
55
+ add: e,
56
+ remove: t
57
+ });
58
+ },
59
+ tag: ({ column: e, row: t, $index: n }) => {
60
+ var r;
61
+ return (r = i.tag) == null ? void 0 : r.call(i, {
62
+ column: e,
63
+ row: t,
64
+ $index: n
65
+ });
66
+ },
67
+ "handle-column-header": ({ column: e, $index: t }) => {
68
+ var n;
69
+ return (n = i["handle-column-header"]) == null ? void 0 : n.call(i, {
70
+ column: e,
71
+ index: t
72
+ });
73
+ },
74
+ toolbar: ({ addRow: e, delRow: t, refresh: n }) => {
75
+ var r;
76
+ return (r = i.toolbar) == null ? void 0 : r.call(i, {
77
+ addRow: e,
78
+ delRow: t,
79
+ refresh: n
80
+ });
81
+ }
82
+ }) });
83
+ };
84
+ }
85
+ };
86
+ //#endregion
87
+ export { p as t };
@@ -1,5 +1,5 @@
1
- import { i as e, n as t } from "./D_qiRmiE.mjs";
2
- import { n } from "./CJdkjadi.mjs";
1
+ import { i as e, n as t } from "./D3mFJzGr.mjs";
2
+ import { n } from "./KuAMIZnG.mjs";
3
3
  import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
4
  import { ElRate as o } from "element-plus/es";
5
5
  //#region src/components/form/props/rate.ts
@@ -55,7 +55,10 @@ var s = t({
55
55
  type: String,
56
56
  default: "warning"
57
57
  },
58
- confirmTitle: String,
58
+ confirmTitle: {
59
+ type: String,
60
+ default: "系统提示"
61
+ },
59
62
  loadable: Boolean,
60
63
  loadingText: {
61
64
  type: String,