@web-utils/form-ui 1.0.0-beta77 → 1.0.0-beta79

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 (225) hide show
  1. package/address-input/index.d.ts +52 -0
  2. package/affix/index.d.ts +30 -0
  3. package/awesome-button/index.d.ts +60 -0
  4. package/capsule-tab/index.d.ts +30 -0
  5. package/card/index.d.ts +41 -0
  6. package/chunks/{Dhdoa4M6.mjs → 22GsbC-1.mjs} +1 -1
  7. package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
  8. package/chunks/{l5bfIjYm.mjs → B8NokGUg.mjs} +4715 -5034
  9. package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
  10. package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
  11. package/chunks/{D5_ezGUV2.mjs → BVUClQOx.mjs} +2 -2
  12. package/chunks/{Dpzw7Rtp.mjs → BWTQ3qdg.mjs} +1 -1
  13. package/chunks/{uDwSrV7X2.mjs → Bo8lYN4n2.mjs} +2 -2
  14. package/chunks/{D6qJXu04.mjs → Bs926z902.mjs} +48 -49
  15. package/chunks/{BVsvRLea2.mjs → Bu1M7um22.mjs} +2 -2
  16. package/chunks/{CeEYChF4.mjs → Bvn6wnku.mjs} +2 -2
  17. package/chunks/{CyQmVphZ.mjs → C-zPVdz-.mjs} +35 -35
  18. package/chunks/{BZRmdKBG.mjs → CDalOJtl2.mjs} +65 -66
  19. package/chunks/{lPQBM7xc2.mjs → CGmbnjKL.mjs} +2 -2
  20. package/chunks/{kAaQhLJs2.mjs → COA3tHyu2.mjs} +1 -1
  21. package/chunks/{CVM0lwn22.mjs → CONqKD47.mjs} +2 -2
  22. package/chunks/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
  23. package/chunks/{BK6DiJfX2.mjs → ChP-pNSi2.mjs} +3 -3
  24. package/chunks/{DMDsZeqv.mjs → CiMBKxeJ.mjs} +1 -1
  25. package/chunks/{Dgwcljur.mjs → CkLpOk7H.mjs} +1 -1
  26. package/chunks/{CI-pH-gR2.mjs → Co0M4G3P.mjs} +1 -1
  27. package/chunks/{DS4Iw8Y42.mjs → D6mInNk02.mjs} +80 -78
  28. package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
  29. package/chunks/{Bq9KMIsC.mjs → DMSbDBCP.mjs} +143 -143
  30. package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
  31. package/chunks/{DFa2J7ul.mjs → D_q3C3v4.mjs} +130 -130
  32. package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
  33. package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
  34. package/chunks/{Bh2SlzOo.mjs → DgH_4qOn2.mjs} +3 -0
  35. package/chunks/{CeI6Qrij.mjs → DhqOVe4S.mjs} +100 -99
  36. package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
  37. package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
  38. package/chunks/{JjnlFlI02.mjs → Dz_TTgwF2.mjs} +92 -90
  39. package/chunks/{C3pzNRoU2.mjs → T2V8nxIu.mjs} +363 -362
  40. package/chunks/{BLBHnUme2.mjs → Zdhb_SRi2.mjs} +1 -1
  41. package/chunks/{BvlU_Z6D2.mjs → eX0Esdvw2.mjs} +1 -1
  42. package/chunks/{CoPlnbwi2.mjs → hBvPGqka.mjs} +2 -2
  43. package/chunks/{BkoWiWEW.mjs → mqi8hesW2.mjs} +190 -191
  44. package/chunks/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
  45. package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
  46. package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
  47. package/chunks/{C0gLPKS8.mjs → tqW2DSco.mjs} +48 -47
  48. package/code-mirror-editor/index.d.ts +50 -0
  49. package/confirm-button/index.d.ts +122 -0
  50. package/confirmable/index.d.ts +93 -0
  51. package/context-menu/index.d.ts +183 -0
  52. package/count-up/index.d.ts +70 -0
  53. package/custom-scrollbar/index.d.ts +49 -0
  54. package/data-box/index.d.ts +30 -0
  55. package/data-card/index.d.ts +20 -0
  56. package/data-card-text/index.d.ts +21 -0
  57. package/data-display/index.d.ts +20 -0
  58. package/data-icons/index.d.ts +21 -0
  59. package/data-imgtext/index.d.ts +18 -0
  60. package/data-operatext/index.d.ts +17 -0
  61. package/data-panel/index.d.ts +19 -0
  62. package/data-pay/index.d.ts +19 -0
  63. package/data-price/index.d.ts +17 -0
  64. package/data-progress/index.d.ts +19 -0
  65. package/data-rotate/index.d.ts +21 -0
  66. package/data-table-picker/index.d.ts +61 -0
  67. package/data-table-picker/index.mjs +16 -15
  68. package/data-tabs/index.d.ts +21 -0
  69. package/dict-render/index.d.ts +28 -0
  70. package/e-charts/index.d.ts +79 -0
  71. package/easy-popup/index.d.ts +114 -0
  72. package/editable-progress/index.d.ts +68 -0
  73. package/editable-tree/index.d.ts +281 -0
  74. package/editable-tree/index.mjs +111 -110
  75. package/element-dialog/index.d.ts +376 -0
  76. package/element-resize-observer/index.d.ts +8 -0
  77. package/empty-view/index.d.ts +29 -0
  78. package/error-view/index.d.ts +25 -0
  79. package/flex-box/index.d.ts +44 -0
  80. package/flex-column/index.d.ts +41 -0
  81. package/flex-item/index.d.ts +77 -0
  82. package/flex-row/index.d.ts +41 -0
  83. package/flex-scroll-area/index.d.ts +22 -0
  84. package/flex-scroller/index.d.ts +26 -0
  85. package/flow-designer/index.d.ts +286 -0
  86. package/flow-designer/index.mjs +1 -1
  87. package/flow-designer/style.css +1 -1
  88. package/flow-viewer/index.d.ts +62 -0
  89. package/form-advice/index.d.ts +9 -0
  90. package/form-button/index.d.ts +123 -0
  91. package/form-card/index.d.ts +14 -0
  92. package/form-cascader/index.d.ts +478 -0
  93. package/form-cascader/index.mjs +1 -1
  94. package/form-cell/index.d.ts +25 -0
  95. package/form-checkbox/index.d.ts +314 -0
  96. package/form-checkbox/index.mjs +1 -1
  97. package/form-checkbox-group/index.d.ts +373 -0
  98. package/form-checkbox-group/index.mjs +1 -1
  99. package/form-date-picker/index.d.ts +480 -0
  100. package/form-date-picker/index.mjs +1 -1
  101. package/form-holder/index.d.ts +162 -0
  102. package/form-holder/index.mjs +1 -1
  103. package/form-image/index.d.ts +220 -0
  104. package/form-image/index.mjs +1 -1
  105. package/form-input/index.d.ts +378 -0
  106. package/form-input/index.mjs +1 -1
  107. package/form-input-cron-expression/index.d.ts +223 -0
  108. package/form-input-cron-expression/index.mjs +1 -1
  109. package/form-input-email/index.d.ts +376 -0
  110. package/form-input-email/index.mjs +1 -1
  111. package/form-input-id-card/index.d.ts +376 -0
  112. package/form-input-id-card/index.mjs +1 -1
  113. package/form-input-number/index.d.ts +329 -0
  114. package/form-input-number/index.mjs +1 -1
  115. package/form-input-phone-number/index.d.ts +376 -0
  116. package/form-input-phone-number/index.mjs +1 -1
  117. package/form-input-tag/index.d.ts +270 -0
  118. package/form-input-tag/index.mjs +1 -1
  119. package/form-input-time/index.d.ts +441 -0
  120. package/form-input-time/index.mjs +1 -1
  121. package/form-item-config-provider/index.d.ts +40 -0
  122. package/form-item-group/index.d.ts +92 -0
  123. package/form-item-group/index.mjs +1 -1
  124. package/form-item-x/index.d.ts +190 -0
  125. package/form-item-x/index.mjs +1 -1
  126. package/form-radio-group/index.d.ts +374 -0
  127. package/form-radio-group/index.mjs +1 -1
  128. package/form-rate/index.d.ts +325 -0
  129. package/form-rate/index.mjs +1 -1
  130. package/form-red-table/index.d.ts +21 -0
  131. package/form-row/index.d.ts +11 -0
  132. package/form-row/index.mjs +1 -1
  133. package/form-select/index.d.ts +606 -0
  134. package/form-select/index.mjs +1 -1
  135. package/form-slider/index.d.ts +352 -0
  136. package/form-slider/index.mjs +1 -1
  137. package/form-switch/index.d.ts +343 -0
  138. package/form-switch/index.mjs +1 -1
  139. package/form-table/index.d.ts +287 -0
  140. package/form-table/index.mjs +1 -1
  141. package/form-table-plus/index.d.ts +266 -0
  142. package/form-table-plus/index.mjs +1 -1
  143. package/form-text/index.d.ts +235 -0
  144. package/form-text/index.mjs +1 -1
  145. package/form-textarea/index.d.ts +351 -0
  146. package/form-textarea/index.mjs +1 -1
  147. package/form-time-select/index.d.ts +325 -0
  148. package/form-time-select/index.mjs +1 -1
  149. package/form-tree-select/index.d.ts +715 -0
  150. package/form-tree-select/index.mjs +1 -1
  151. package/form-tree-select-multiple/index.d.ts +717 -0
  152. package/form-tree-select-multiple/index.mjs +1 -1
  153. package/form-view/index.d.ts +226 -0
  154. package/form-view/index.mjs +2 -2
  155. package/guide-steps/index.d.ts +31 -0
  156. package/helper/input.mjs +1 -1
  157. package/highlight-j-s/index.d.ts +18 -0
  158. package/iframe-window/index.d.ts +9 -0
  159. package/image-cropper/index.d.ts +365 -0
  160. package/image-preview/index.d.ts +61 -0
  161. package/image-viewer/index.d.ts +25 -0
  162. package/index.css +1 -1
  163. package/index.d.ts +119 -119
  164. package/index.mjs +121 -121
  165. package/input-number-range/index.d.ts +41 -0
  166. package/keyboard/index.d.ts +64 -0
  167. package/keyboard/index.mjs +1 -1
  168. package/loading-view/index.d.ts +65 -0
  169. package/name-avatar/index.d.ts +62 -0
  170. package/nav-bar/index.d.ts +21 -0
  171. package/package.json +1 -1
  172. package/page/index.d.ts +21 -0
  173. package/page-header/index.d.ts +27 -0
  174. package/page-index/index.d.ts +82 -0
  175. package/page-index-top/index.d.ts +38 -0
  176. package/page-skeleton/index.d.ts +30 -0
  177. package/page-skeleton-new/index.d.ts +34 -0
  178. package/pageable-table/index.d.ts +400 -0
  179. package/photo-swipe/index.d.ts +18 -0
  180. package/photo-swipe/index.mjs +1 -1
  181. package/props/date.d.ts +1 -4
  182. package/props/date.mjs +18 -5
  183. package/sign-panel/index.d.ts +85 -0
  184. package/skeleton-panel/index.d.ts +27 -0
  185. package/split-pane/index.d.ts +106 -0
  186. package/split-pane/index.mjs +1 -1
  187. package/stateful/index.d.ts +92 -0
  188. package/sub-table/index.d.ts +109 -0
  189. package/sub-table/index.mjs +1 -1
  190. package/sub-table-plus/index.d.ts +109 -0
  191. package/sub-table-plus/index.mjs +1 -1
  192. package/swiper/index.d.ts +27 -0
  193. package/table-column/index.d.ts +163 -0
  194. package/table-column-def/index.d.ts +97 -0
  195. package/table-view/index.d.ts +346 -0
  196. package/table-view/index.mjs +92 -90
  197. package/tag-render/index.d.ts +48 -0
  198. package/text-ellipsis/index.d.ts +111 -0
  199. package/toolbar/index.d.ts +129 -0
  200. package/toolbar/index.mjs +1 -1
  201. package/toolbar-button/index.d.ts +189 -0
  202. package/vue-cron/index.d.ts +191 -0
  203. package/vue-cron/index.mjs +1 -1
  204. package/vue-qr-code/index.d.ts +47 -0
  205. package/vue-tags-input/index.d.ts +373 -0
  206. package/vue-tree-select/index.d.ts +1489 -0
  207. package/vue-tree-select/index.mjs +1 -1
  208. package/vue-video-player/index.d.ts +117 -0
  209. package/watermark/index.d.ts +97 -0
  210. package/watermark/index.mjs +1 -1
  211. package/web-types.json +1 -1
  212. package/x-input-tag/index.d.ts +2 -0
  213. package/year-calendar/index.d.ts +99 -0
  214. package/year-calendar/index.mjs +1 -1
  215. package/chunks/CjjJimnU.mjs +0 -20
  216. /package/chunks/{tJ_t87kJ.mjs → 6dNVtIN32.mjs} +0 -0
  217. /package/chunks/{CJ7Ai-mH2.mjs → B1luuf_A2.mjs} +0 -0
  218. /package/chunks/{B1jgu0ci.mjs → BAG_R87k2.mjs} +0 -0
  219. /package/chunks/{gNfZhMJk2.mjs → BM5LdxU72.mjs} +0 -0
  220. /package/chunks/{CZeL7oiY2.mjs → BhHMGhJ8.mjs} +0 -0
  221. /package/chunks/{z6tpYT0z.mjs → BwL9Xz1F.mjs} +0 -0
  222. /package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
  223. /package/chunks/{b_78-Wov2.mjs → FZqu01np2.mjs} +0 -0
  224. /package/chunks/{hPAfGilD.mjs → KOJEsarR2.mjs} +0 -0
  225. /package/chunks/{3UWcbJcG.mjs → PEU1JRcN2.mjs} +0 -0
@@ -2,22 +2,24 @@ import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { t } from "./Cb7kjZa-.mjs";
3
3
  import { t as n } from "./mnqSaATq.mjs";
4
4
  import { t as r } from "./tzjUpVIj.mjs";
5
- import { n as i } from "./Dgwcljur.mjs";
6
- import { t as a } from "./ohCkWdwS.mjs";
7
- import { t as o } from "./Dpzw7Rtp.mjs";
8
- import { t as s } from "./CeEYChF4.mjs";
9
- import { t as c } from "./DMDsZeqv.mjs";
10
- import { t as l } from "./BTNnujZA2.mjs";
11
- import { t as u } from "./D5_ezGUV2.mjs";
12
- import { t as d } from "./BaB0bq4I2.mjs";
5
+ import { n as i } from "./CkLpOk7H.mjs";
6
+ import { t as a } from "./tSaeUhnr.mjs";
7
+ import { t as o } from "./BWTQ3qdg.mjs";
8
+ import { t as s } from "./Bvn6wnku.mjs";
9
+ import { t as c } from "./CiMBKxeJ.mjs";
10
+ import { t as l } from "./CTYReSXN.mjs";
11
+ import { t as u } from "./BVUClQOx.mjs";
12
+ import { t as d } from "./DxeRdYI82.mjs";
13
13
  import f from "../table-column-def/index.mjs";
14
- import { t as p } from "./uDwSrV7X2.mjs";
15
- import { formContextKey as m, formItemContextKey as h } from "element-plus/es";
16
- import { Fragment as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, mergeProps as w, openBlock as T, renderList as E, renderSlot as D, resolveComponent as O, toDisplayString as k, withCtx as A, withModifiers as j } from "vue";
17
- import { findTreeChildren as M, isFunction as N } from "@web-utils/core";
18
- import { cloneDeep as P } from "@web-utils/integrations/lodash";
14
+ import { t as p } from "./Bo8lYN4n2.mjs";
15
+ import { ElMessage as m, formContextKey as h, formItemContextKey as g } from "element-plus/es";
16
+ import "element-plus/es/components/base/style/css";
17
+ import { Fragment as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as S, createTextVNode as C, createVNode as w, mergeProps as T, openBlock as E, renderList as D, renderSlot as O, resolveComponent as k, toDisplayString as A, withCtx as j, withModifiers as M } from "vue";
18
+ import { findTreeChildren as N, isFunction as P } from "@web-utils/core";
19
+ import "element-plus/es/components/message/style/css";
20
+ import { cloneDeep as F } from "@web-utils/integrations/lodash";
19
21
  //#region src/components/table/sub-table.ts
20
- var F = {
22
+ var I = {
21
23
  modelValue: Array,
22
24
  columns: Array,
23
25
  allowEmpty: Boolean,
@@ -51,7 +53,7 @@ var F = {
51
53
  selectionWidth: String,
52
54
  fetchApi: Function,
53
55
  delApi: Function
54
- }, I = {
56
+ }, L = {
55
57
  name: "SubTable",
56
58
  emits: {
57
59
  ...i,
@@ -59,15 +61,15 @@ var F = {
59
61
  },
60
62
  inject: {
61
63
  elForm: {
62
- from: m,
64
+ from: h,
63
65
  default: ""
64
66
  },
65
67
  elFormItem: {
66
- from: h,
68
+ from: g,
67
69
  default: ""
68
70
  }
69
71
  },
70
- props: { ...F },
72
+ props: { ...I },
71
73
  data() {
72
74
  return {
73
75
  rows: [],
@@ -109,7 +111,7 @@ var F = {
109
111
  },
110
112
  methods: {
111
113
  getCellType(e, t) {
112
- return N(t.getType) ? t.getType(e, t) : t.type;
114
+ return P(t.getType) ? t.getType(e, t) : t.type;
113
115
  },
114
116
  getInputAttr(e, t, n) {
115
117
  var r;
@@ -134,7 +136,7 @@ var F = {
134
136
  } catch {}
135
137
  },
136
138
  add(e, t) {
137
- let n = P(this.rowProps);
139
+ let n = F(this.rowProps);
138
140
  this.rows.splice(t + 1, 0, n);
139
141
  },
140
142
  addRow() {
@@ -142,17 +144,17 @@ var F = {
142
144
  },
143
145
  async delRow() {
144
146
  if (!this.selectedRows.length) {
145
- this.$message.warning("请选择要删除的记录!");
147
+ m.warning("请选择要删除的记录!");
146
148
  return;
147
149
  }
148
150
  try {
149
151
  if (this.delApi) try {
150
152
  await this.delApi(this.selectedRows.map((e) => e.id).join(",")), this.refresh();
151
153
  } catch {
152
- this.$message.error("删除失败!");
154
+ m.error("删除失败!");
153
155
  }
154
156
  else this.$emit("update:modelValue", this.rows.filter((e) => !this.selectedRows.includes(e)));
155
- this.$message.success("删除成功!");
157
+ m.success("删除成功!");
156
158
  } catch {}
157
159
  },
158
160
  refresh() {
@@ -165,26 +167,26 @@ var F = {
165
167
  if (r) return r.name;
166
168
  }
167
169
  if (n.type === "cascader" && (i = n.attrs) != null && i.options) {
168
- let [r] = M(n.attrs.options, (r) => r[n.attrs.valueKey || "value"] === e[t.property]);
170
+ let [r] = N(n.attrs.options, (r) => r[n.attrs.valueKey || "value"] === e[t.property]);
169
171
  if (r) return r[n.attrs.valueKey || "label"];
170
172
  }
171
173
  return e[t.property];
172
174
  }
173
175
  }
174
- }, L = {
176
+ }, R = {
175
177
  key: 0,
176
178
  class: "table-header"
177
- }, R = {
179
+ }, z = {
178
180
  key: 0,
179
181
  style: { color: "#f56c6c" }
180
- }, z = ["onClick"];
181
- function B(e, i, m, h, M, N) {
182
- let P = n, F = o, I = u, B = O("FormInputUser"), V = O("FormInputDepartment"), H = d, U = c, W = a, G = s, K = l, q = p, J = r, Y = f, X = t;
183
- return T(), _(X, w({
182
+ }, B = ["onClick"];
183
+ function V(e, i, m, h, g, N) {
184
+ let P = n, F = o, I = u, L = k("FormInputUser"), V = k("FormInputDepartment"), H = d, U = c, W = a, G = s, K = l, q = p, J = r, Y = f, X = t;
185
+ return E(), v(X, T({
184
186
  ref: "table",
185
187
  class: "sub-table",
186
188
  "auto-height": "",
187
- data: M.rows,
189
+ data: g.rows,
188
190
  api: e.fetchApi,
189
191
  "show-summary": e.showSummary,
190
192
  "selection-width": e.selectionWidth
@@ -193,9 +195,9 @@ function B(e, i, m, h, M, N) {
193
195
  selection: N.enabled,
194
196
  "row-db-click": e.rowDbClick,
195
197
  onSelectionChange: N.onSelectionChange
196
- }), x({
197
- default: A(() => [
198
- D(e.$slots, "columns", { columns: e.columns }, () => [(T(!0), y(g, null, E(N.filteredColumns, (t) => (T(), _(Y, {
198
+ }), S({
199
+ default: j(() => [
200
+ O(e.$slots, "columns", { columns: e.columns }, () => [(E(!0), b(_, null, D(N.filteredColumns, (t) => (E(), v(Y, {
199
201
  key: t.prop,
200
202
  label: t.label,
201
203
  width: t.width,
@@ -206,34 +208,34 @@ function B(e, i, m, h, M, N) {
206
208
  options: t.options,
207
209
  "show-overflow-tooltip": !N.available && t.showOverflowTooltip
208
210
  }, {
209
- header: A(() => [!e.disabled && t.required ? (T(), y("span", R, "*")) : v("v-if", !0), S(" " + k(t.label), 1)]),
210
- default: A(({ row: n, column: r, $index: i }) => [
211
- v("tag 插槽"),
212
- D(e.$slots, "tag", {
211
+ header: j(() => [!e.disabled && t.required ? (E(), b("span", z, "*")) : y("v-if", !0), C(" " + A(t.label), 1)]),
212
+ default: j(({ row: n, column: r, $index: i }) => [
213
+ y("tag 插槽"),
214
+ O(e.$slots, "tag", {
213
215
  row: n,
214
216
  column: r,
215
217
  index: i
216
218
  }),
217
- v("列默认插槽,名字和 prop 保持一致"),
218
- D(e.$slots, t.prop, {
219
+ y("列默认插槽,名字和 prop 保持一致"),
220
+ O(e.$slots, t.prop, {
219
221
  row: n,
220
222
  column: r,
221
223
  index: i
222
224
  }, () => {
223
225
  var e;
224
- return [N.available ? (T(), y(g, { key: 0 }, [N.getCellType(n, t) === "input" ? (T(), _(F, w({
226
+ return [N.available ? (E(), b(_, { key: 0 }, [N.getCellType(n, t) === "input" ? (E(), v(F, T({
225
227
  key: 0,
226
228
  ref_for: !0
227
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "inputPhoneNumber" ? (T(), _(I, w({
229
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "inputPhoneNumber" ? (E(), v(I, T({
228
230
  key: 1,
229
231
  ref_for: !0
230
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "user" ? (T(), y(g, { key: 2 }, [t.single ? (T(), _(B, w({
232
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "user" ? (E(), b(_, { key: 2 }, [t.single ? (E(), v(L, T({
231
233
  key: 0,
232
234
  ref_for: !0
233
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (T(), _(B, w({
235
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (E(), v(L, T({
234
236
  key: 1,
235
237
  ref_for: !0
236
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "department" ? (T(), y(g, { key: 3 }, [t.single ? (T(), _(V, w({
238
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "department" ? (E(), b(_, { key: 3 }, [t.single ? (E(), v(V, T({
237
239
  key: 0,
238
240
  ref_for: !0
239
241
  }, N.getInputAttr(n, t, i), {
@@ -244,16 +246,16 @@ function B(e, i, m, h, M, N) {
244
246
  "name",
245
247
  "onUpdate:name",
246
248
  "onUpdate:modelValue"
247
- ])) : (T(), _(V, w({
249
+ ])) : (E(), v(V, T({
248
250
  key: 1,
249
251
  ref_for: !0
250
252
  }, N.getInputAttr(n, t, i), {
251
253
  disabled: N.isInputDisabled(n, t),
252
254
  "onUpdate:modelValue": (e) => N.onInput(n, e, t)
253
- }), null, 16, ["disabled", "onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "select" ? (T(), _(H, w({
255
+ }), null, 16, ["disabled", "onUpdate:modelValue"]))], 64)) : N.getCellType(n, t) === "select" ? (E(), v(H, T({
254
256
  key: 4,
255
257
  ref_for: !0
256
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "datePicker" ? (T(), _(U, w({
258
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "datePicker" ? (E(), v(U, T({
257
259
  key: 5,
258
260
  ref_for: !0
259
261
  }, N.getInputAttr(n, t, i), {
@@ -268,19 +270,19 @@ function B(e, i, m, h, M, N) {
268
270
  "end",
269
271
  "onUpdate:end",
270
272
  "onUpdate:modelValue"
271
- ])) : N.getCellType(n, t) === "cascader" ? (T(), _(W, w({
273
+ ])) : N.getCellType(n, t) === "cascader" ? (E(), v(W, T({
272
274
  key: 6,
273
275
  ref_for: !0
274
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "checkbox" ? (T(), _(G, w({
276
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "checkbox" ? (E(), v(G, T({
275
277
  key: 7,
276
278
  ref_for: !0
277
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "number" ? (T(), _(K, w({
279
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "number" ? (E(), v(K, T({
278
280
  key: 8,
279
281
  ref_for: !0
280
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "textarea" ? (T(), _(q, w({
282
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : N.getCellType(n, t) === "textarea" ? (E(), v(q, T({
281
283
  key: 9,
282
284
  ref_for: !0
283
- }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (T(), y(g, { key: 10 }, [S(k(N.getVal(n, r, t)), 1)], 64))], 64)) : t.dicType || (e = t.options) != null && e.length ? (T(), _(J, {
285
+ }, N.getInputAttr(n, t, i), { "onUpdate:modelValue": (e) => N.onInput(n, e, t) }), null, 16, ["onUpdate:modelValue"])) : (E(), b(_, { key: 10 }, [C(A(N.getVal(n, r, t)), 1)], 64))], 64)) : t.dicType || (e = t.options) != null && e.length ? (E(), v(J, {
284
286
  key: 1,
285
287
  "dict-type": t.dicType,
286
288
  "id-as-value": t.idAsValue,
@@ -295,7 +297,7 @@ function B(e, i, m, h, M, N) {
295
297
  "column",
296
298
  "row",
297
299
  "options"
298
- ])) : (T(), y(g, { key: 2 }, [S(k(N.getVal(n, r, t)), 1)], 64))];
300
+ ])) : (E(), b(_, { key: 2 }, [C(A(N.getVal(n, r, t)), 1)], 64))];
299
301
  })
300
302
  ]),
301
303
  _: 2
@@ -309,13 +311,13 @@ function B(e, i, m, h, M, N) {
309
311
  "options",
310
312
  "show-overflow-tooltip"
311
313
  ]))), 128))]),
312
- v(" 自定义操作列 "),
313
- D(e.$slots, "handle", {
314
+ y(" 自定义操作列 "),
315
+ O(e.$slots, "handle", {
314
316
  add: N.add,
315
317
  remove: N.remove
316
318
  }),
317
- v(" 操作列 "),
318
- (!e.modelValue || e.modelValue.length < e.limit) && !e.disabled && N.enabled && e.editable && e.handleColumn ? (T(), _(Y, {
319
+ y(" 操作列 "),
320
+ (!e.modelValue || e.modelValue.length < e.limit) && !e.disabled && N.enabled && e.editable && e.handleColumn ? (E(), v(Y, {
319
321
  key: 0,
320
322
  label: "操作",
321
323
  fixed: "right",
@@ -323,11 +325,11 @@ function B(e, i, m, h, M, N) {
323
325
  align: "center",
324
326
  prop: "menu"
325
327
  }, {
326
- header: A(({ column: t, $index: n }) => [D(e.$slots, "handle-column-header", {
328
+ header: j(({ column: t, $index: n }) => [O(e.$slots, "handle-column-header", {
327
329
  column: t,
328
330
  index: n
329
- }, () => [S(k(t.label), 1)])]),
330
- default: A(({ row: t, $index: n }) => [e.showHandleColumnAddButton && e.modelValue.length < e.maxLimit ? (T(), y("i", {
331
+ }, () => [C(A(t.label), 1)])]),
332
+ default: j(({ row: t, $index: n }) => [e.showHandleColumnAddButton && e.modelValue.length < e.maxLimit ? (E(), b("i", {
331
333
  key: 0,
332
334
  class: "el-icon-circle-plus sub-table-handle-button table-button-add",
333
335
  style: {
@@ -336,8 +338,8 @@ function B(e, i, m, h, M, N) {
336
338
  cursor: "pointer"
337
339
  },
338
340
  title: "添加",
339
- onClick: j((e) => N.add(t, n), ["stop"])
340
- }, null, 8, z)) : v("v-if", !0), e.modelValue && e.modelValue.length > 1 || e.allowEmpty ? (T(), _(P, {
341
+ onClick: M((e) => N.add(t, n), ["stop"])
342
+ }, null, 8, B)) : y("v-if", !0), e.modelValue && e.modelValue.length > 1 || e.allowEmpty ? (E(), v(P, {
341
343
  key: 1,
342
344
  class: "el-icon-error sub-table-handle-button table-button-remove",
343
345
  style: {
@@ -348,27 +350,27 @@ function B(e, i, m, h, M, N) {
348
350
  confirm: "",
349
351
  text: "",
350
352
  message: "您确定要删除该行吗?",
351
- onClick: j((e) => N.remove(t, n), ["stop"])
352
- }, null, 8, ["onClick"])) : v("v-if", !0)]),
353
+ onClick: M((e) => N.remove(t, n), ["stop"])
354
+ }, null, 8, ["onClick"])) : y("v-if", !0)]),
353
355
  _: 3
354
- })) : v("v-if", !0)
356
+ })) : y("v-if", !0)
355
357
  ]),
356
358
  _: 2
357
359
  }, [e.editable ? void 0 : {
358
360
  name: "toolbar",
359
- fn: A(() => [N.enabled || e.fetchApi ? (T(), y("div", L, [D(e.$slots, "toolbar", {
361
+ fn: j(() => [N.enabled || e.fetchApi ? (E(), b("div", R, [O(e.$slots, "toolbar", {
360
362
  addRow: N.addRow,
361
363
  delRow: N.delRow,
362
364
  refresh: N.refresh
363
- }, () => [N.enabled ? (T(), y(g, { key: 0 }, [C(P, {
365
+ }, () => [N.enabled ? (E(), b(_, { key: 0 }, [w(P, {
364
366
  class: "table-header-button add",
365
367
  icon: "el-icon-circle-plus",
366
368
  type: "text",
367
369
  onClick: N.addRow
368
370
  }, {
369
- default: A(() => [...i[1] || (i[1] = [S(" 添加 ", -1)])]),
371
+ default: j(() => [...i[1] || (i[1] = [C(" 添加 ", -1)])]),
370
372
  _: 1
371
- }, 8, ["onClick"]), C(P, {
373
+ }, 8, ["onClick"]), w(P, {
372
374
  class: "table-header-button remove",
373
375
  confirm: "",
374
376
  message: "您确定要删除选中的记录吗?",
@@ -376,9 +378,9 @@ function B(e, i, m, h, M, N) {
376
378
  text: "",
377
379
  onClick: N.delRow
378
380
  }, {
379
- default: A(() => [...i[2] || (i[2] = [S(" 删除 ", -1)])]),
381
+ default: j(() => [...i[2] || (i[2] = [C(" 删除 ", -1)])]),
380
382
  _: 1
381
- }, 8, ["onClick"])], 64)) : v("v-if", !0), e.fetchApi ? (T(), _(P, {
383
+ }, 8, ["onClick"])], 64)) : y("v-if", !0), e.fetchApi ? (E(), v(P, {
382
384
  key: 1,
383
385
  class: "table-header-button refresh",
384
386
  icon: "el-icon-refresh-left",
@@ -386,20 +388,20 @@ function B(e, i, m, h, M, N) {
386
388
  disabled: !1,
387
389
  onClick: N.refresh
388
390
  }, {
389
- default: A(() => [...i[3] || (i[3] = [S(" 刷新 ", -1)])]),
391
+ default: j(() => [...i[3] || (i[3] = [C(" 刷新 ", -1)])]),
390
392
  _: 1
391
- }, 8, ["onClick"])) : v("v-if", !0)])])) : v("v-if", !0)]),
393
+ }, 8, ["onClick"])) : y("v-if", !0)])])) : y("v-if", !0)]),
392
394
  key: "0"
393
395
  }, e.allowEmpty && !e.disabled && e.showEmptyAddButton ? {
394
396
  name: "empty",
395
- fn: A(() => [b("i", {
397
+ fn: j(() => [x("i", {
396
398
  class: "el-icon-circle-plus sub-table-handle-button table-button-add",
397
399
  style: {
398
400
  "font-size": "20px",
399
401
  cursor: "pointer"
400
402
  },
401
403
  title: "添加",
402
- onClick: i[0] || (i[0] = j((e) => N.add(null, 0), ["stop"]))
404
+ onClick: i[0] || (i[0] = M((e) => N.add(null, 0), ["stop"]))
403
405
  })]),
404
406
  key: "1"
405
407
  } : void 0]), 1040, [
@@ -412,6 +414,6 @@ function B(e, i, m, h, M, N) {
412
414
  "onSelectionChange"
413
415
  ]);
414
416
  }
415
- var V = /* @__PURE__ */ e(I, [["render", B]]);
417
+ var H = /* @__PURE__ */ e(L, [["render", V]]);
416
418
  //#endregion
417
- export { F as n, V as t };
419
+ export { I as n, H as t };
@@ -1,5 +1,5 @@
1
- import { n as e, o as t } from "./Dgwcljur.mjs";
2
- import { t as n } from "./b_78-Wov2.mjs";
1
+ import { n as e, o as t } from "./CkLpOk7H.mjs";
2
+ import { t as n } from "./FZqu01np2.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/tree-select.mjs";
4
4
  import { createVNode as a, mergeProps as o } from "vue";
5
5
  //#endregion