hy-dispatch-ui-v3 0.1.6 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/README.md +47 -0
  2. package/dist/tailwind.css +349 -4
  3. package/es/components/appAudioPlayer/appAudioPlayer.vue.mjs +462 -0
  4. package/es/components/appAudioPlayer/index.mjs +6 -0
  5. package/es/components/appAudioPlayer/js/index.mjs +327 -0
  6. package/es/components/appAudioPlayer/style/appAudioPlayer.scss +319 -0
  7. package/es/components/appButton/style/appButton.scss +0 -1
  8. package/es/components/appConfigProvider/appConfigProvider.vue.mjs +22 -1
  9. package/es/components/appCutter/appCutter.vue.mjs +202 -129
  10. package/es/components/appDatePicker/appDatePicker.vue.mjs +1 -1
  11. package/es/components/appForm/appForm.vue.mjs +132 -209
  12. package/es/components/appForm/cpns/appFormItem.vue.mjs +312 -0
  13. package/es/components/appForm/cpns/arrayItem.vue.mjs +305 -0
  14. package/es/components/appForm/cpns/extraItem.vue.mjs +140 -0
  15. package/es/components/appForm/js/index.mjs +46 -24
  16. package/es/components/appForm/js/useAppForm.mjs +30 -6
  17. package/es/components/appForm/style/appForm.scss +53 -0
  18. package/es/components/appIcon/appIcon.vue.mjs +0 -1
  19. package/es/components/appIconBox/style/appIconBox.scss +0 -1
  20. package/es/components/appInput/appInput.vue.mjs +99 -0
  21. package/es/components/appInput/index.mjs +6 -0
  22. package/es/components/appMenu/appMenu.vue.mjs +129 -0
  23. package/es/components/appMenu/index.mjs +6 -0
  24. package/es/components/appMenu/style/appMenu.scss +145 -0
  25. package/es/components/appOrgCascader/appOrgCascader.vue.mjs +14 -10
  26. package/es/components/appSearch/appSearch.vue.mjs +55 -211
  27. package/es/components/appSearch/cpns/appSearchItem.vue.mjs +238 -0
  28. package/es/components/appSearch/js/index.mjs +20 -8
  29. package/es/components/appSearch/js/useAppSearch.mjs +10 -5
  30. package/es/components/appSearch/style/appSearch.scss +10 -0
  31. package/es/components/appTable/appTable.vue.mjs +312 -158
  32. package/es/components/appTable/cpns/columnSelect.vue.mjs +151 -156
  33. package/es/components/appTable/cpns/columnSelectItem.vue2.mjs +104 -110
  34. package/es/components/appTable/cpns/headerItem.vue.mjs +98 -0
  35. package/es/components/appTable/cpns/virtualTable.vue.mjs +560 -0
  36. package/es/components/appTable/js/index.mjs +46 -20
  37. package/es/components/appTable/js/search.mjs +1 -2
  38. package/es/components/appTable/js/useAppTable.mjs +58 -14
  39. package/es/components/appTable/style/appTable.scss +16 -0
  40. package/es/components/appTooltip/appTooltip.vue.mjs +24 -13
  41. package/es/components/appTree/appTree.vue.mjs +304 -0
  42. package/es/components/appTree/index.mjs +6 -0
  43. package/es/components/appTree/js/index.mjs +531 -0
  44. package/es/components/appUserAvatar/appUserAvatar.vue.mjs +9 -8
  45. package/es/components/appUserAvatar/style/appUserAvatar.scss +0 -1
  46. package/es/components/appVideoPlayer/appVideoPlayer.vue.mjs +645 -0
  47. package/es/components/appVideoPlayer/cpns/mediaLoading.vue.mjs +35 -0
  48. package/es/components/appVideoPlayer/index.mjs +6 -0
  49. package/es/components/appVideoPlayer/js/index.mjs +426 -0
  50. package/es/components/appVideoPlayer/style/appVideoPlayer.scss +275 -0
  51. package/es/components/appVideoPlayer/style/mediaLoading.scss +62 -0
  52. package/es/components/index.mjs +5 -0
  53. package/es/hooks/index.mjs +3 -0
  54. package/es/hooks/useApi.mjs +4 -4
  55. package/es/hooks/useAudioPlayerConfig.mjs +12 -0
  56. package/es/hooks/useGlobalConfig.mjs +18 -7
  57. package/es/hooks/useLocale.mjs +3 -11
  58. package/es/hooks/useMixins.mjs +1 -1
  59. package/es/hooks/usePermissionMap.mjs +12 -0
  60. package/es/hooks/useUserAvatarMap.mjs +2 -3
  61. package/es/hooks/useVideoPlayerConfig.mjs +12 -0
  62. package/es/index.mjs +13 -4
  63. package/es/locale/en.mjs +52 -3
  64. package/es/locale/zh_CN.mjs +48 -3
  65. package/es/make-installer.mjs +2 -0
  66. package/es/static/hy-svg-icons.js +462 -0
  67. package/es/static/index.js +2 -0
  68. package/es/static/protocolcheck.js +247 -0
  69. package/es/style/element/element.scss +9 -0
  70. package/es/style/element/index.scss +6 -3
  71. package/es/style/index.scss +11 -0
  72. package/es/style/theme.scss +73 -0
  73. package/es/utils/date.mjs +25 -1
  74. package/es/utils/file.mjs +5 -4
  75. package/es/utils/form.mjs +52 -0
  76. package/es/utils/handler.mjs +22 -2
  77. package/es/utils/index.mjs +5 -4
  78. package/es/utils/is.mjs +23 -2
  79. package/es/version.mjs +1 -1
  80. package/lib/components/appAudioPlayer/appAudioPlayer.vue.js +466 -0
  81. package/lib/components/appAudioPlayer/index.js +11 -0
  82. package/lib/components/appAudioPlayer/js/index.js +329 -0
  83. package/lib/components/appAudioPlayer/style/appAudioPlayer.scss +319 -0
  84. package/lib/components/appButton/style/appButton.scss +0 -1
  85. package/lib/components/appConfigProvider/appConfigProvider.vue.js +22 -1
  86. package/lib/components/appCutter/appCutter.vue.js +201 -128
  87. package/lib/components/appDatePicker/appDatePicker.vue.js +1 -1
  88. package/lib/components/appForm/appForm.vue.js +129 -206
  89. package/lib/components/appForm/cpns/appFormItem.vue.js +316 -0
  90. package/lib/components/appForm/cpns/arrayItem.vue.js +309 -0
  91. package/lib/components/appForm/cpns/extraItem.vue.js +144 -0
  92. package/lib/components/appForm/js/index.js +48 -23
  93. package/lib/components/appForm/js/useAppForm.js +30 -6
  94. package/lib/components/appForm/style/appForm.scss +53 -0
  95. package/lib/components/appIcon/appIcon.vue.js +0 -1
  96. package/lib/components/appIconBox/style/appIconBox.scss +0 -1
  97. package/lib/components/appInput/appInput.vue.js +103 -0
  98. package/lib/components/appInput/index.js +11 -0
  99. package/lib/components/appMenu/appMenu.vue.js +133 -0
  100. package/lib/components/appMenu/index.js +11 -0
  101. package/lib/components/appMenu/style/appMenu.scss +145 -0
  102. package/lib/components/appOrgCascader/appOrgCascader.vue.js +14 -10
  103. package/lib/components/appSearch/appSearch.vue.js +51 -207
  104. package/lib/components/appSearch/cpns/appSearchItem.vue.js +242 -0
  105. package/lib/components/appSearch/js/index.js +20 -7
  106. package/lib/components/appSearch/js/useAppSearch.js +10 -5
  107. package/lib/components/appSearch/style/appSearch.scss +10 -0
  108. package/lib/components/appTable/appTable.vue.js +319 -165
  109. package/lib/components/appTable/cpns/columnSelect.vue.js +151 -156
  110. package/lib/components/appTable/cpns/columnSelectItem.vue2.js +105 -111
  111. package/lib/components/appTable/cpns/headerItem.vue.js +102 -0
  112. package/lib/components/appTable/cpns/virtualTable.vue.js +564 -0
  113. package/lib/components/appTable/js/index.js +47 -19
  114. package/lib/components/appTable/js/search.js +1 -2
  115. package/lib/components/appTable/js/useAppTable.js +57 -13
  116. package/lib/components/appTable/style/appTable.scss +16 -0
  117. package/lib/components/appTooltip/appTooltip.vue.js +23 -12
  118. package/lib/components/appTree/appTree.vue.js +308 -0
  119. package/lib/components/appTree/index.js +11 -0
  120. package/lib/components/appTree/js/index.js +533 -0
  121. package/lib/components/appUserAvatar/appUserAvatar.vue.js +9 -8
  122. package/lib/components/appUserAvatar/style/appUserAvatar.scss +0 -1
  123. package/lib/components/appVideoPlayer/appVideoPlayer.vue.js +649 -0
  124. package/lib/components/appVideoPlayer/cpns/mediaLoading.vue.js +39 -0
  125. package/lib/components/appVideoPlayer/index.js +11 -0
  126. package/lib/components/appVideoPlayer/js/index.js +429 -0
  127. package/lib/components/appVideoPlayer/style/appVideoPlayer.scss +275 -0
  128. package/lib/components/appVideoPlayer/style/mediaLoading.scss +62 -0
  129. package/lib/components/index.js +42 -32
  130. package/lib/hooks/index.js +9 -0
  131. package/lib/hooks/useApi.js +4 -4
  132. package/lib/hooks/useAudioPlayerConfig.js +15 -0
  133. package/lib/hooks/useGlobalConfig.js +18 -7
  134. package/lib/hooks/useLocale.js +3 -11
  135. package/lib/hooks/useMixins.js +1 -1
  136. package/lib/hooks/usePermissionMap.js +15 -0
  137. package/lib/hooks/useUserAvatarMap.js +1 -2
  138. package/lib/hooks/useVideoPlayerConfig.js +15 -0
  139. package/lib/index.js +59 -33
  140. package/lib/locale/en.js +52 -3
  141. package/lib/locale/zh_CN.js +48 -3
  142. package/lib/make-installer.js +2 -0
  143. package/lib/static/hy-svg-icons.js +459 -8
  144. package/lib/static/index.js +5 -0
  145. package/lib/static/protocolcheck.js +249 -0
  146. package/lib/style/element/element.scss +9 -0
  147. package/lib/style/element/index.scss +6 -3
  148. package/lib/style/index.scss +11 -0
  149. package/lib/style/theme.scss +73 -0
  150. package/lib/utils/date.js +25 -0
  151. package/lib/utils/file.js +4 -4
  152. package/lib/utils/form.js +57 -0
  153. package/lib/utils/handler.js +22 -1
  154. package/lib/utils/index.js +8 -1
  155. package/lib/utils/is.js +23 -1
  156. package/lib/version.js +1 -1
  157. package/package.json +25 -9
  158. package/es/config/index.mjs +0 -1
  159. package/es/static/hy-svg-icons.mjs +0 -11
  160. package/lib/config/index.js +0 -2
@@ -1,13 +1,12 @@
1
- import { defineComponent, useTemplateRef, computed, nextTick, unref, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeStyle, createCommentVNode, createElementBlock, Fragment, renderList, renderSlot, toDisplayString, createVNode, createTextVNode } from 'vue';
2
- import { ElForm, ElFormItem, ElPopover, ElInput, ElSelect, ElRadioGroup, ElCheckboxGroup } from 'element-plus';
3
- import { AppIcon } from '../appIcon/index.mjs';
4
- import { AppDatePicker } from '../appDatePicker/index.mjs';
5
- import { AppOrgCascader } from '../appOrgCascader/index.mjs';
6
- import { columnShowHandler, columnItemStyle, isRequired, renderText, isDisabled } from './js/index.mjs';
1
+ import { defineComponent, useTemplateRef, computed, nextTick, unref, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeStyle, createCommentVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, createVNode, createSlots, renderSlot } from 'vue';
2
+ import { ElForm, ElDivider } from 'element-plus';
3
+ import _sfc_main$3 from './cpns/appFormItem.vue.mjs';
4
+ import _sfc_main$1 from './cpns/extraItem.vue.mjs';
5
+ import _sfc_main$2 from './cpns/arrayItem.vue.mjs';
6
+ import { columnItemStyle, columnShowHandler } from './js/index.mjs';
7
7
  import { resetAppFormValue } from './js/useAppForm.mjs';
8
8
  import { useLocale } from '../../hooks/useLocale.mjs';
9
9
  import { isArray, isNumber } from '../../utils/is.mjs';
10
- import { funRunHandler } from '../../utils/handler.mjs';
11
10
 
12
11
  import "./style/appForm.scss";
13
12
 
@@ -30,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
30
29
  },
31
30
  columnNum: {
32
31
  type: Number,
33
- default: 1
32
+ default: 2
34
33
  },
35
34
  readonly: {
36
35
  type: Boolean,
@@ -39,6 +38,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
39
38
  loading: {
40
39
  type: Boolean,
41
40
  default: false
41
+ },
42
+ size: {
43
+ type: String,
44
+ default: "default"
45
+ // 'large' | 'default' | 'small'
42
46
  }
43
47
  },
44
48
  setup(__props, { expose: __expose }) {
@@ -70,12 +74,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
70
74
  await nextTick();
71
75
  return unref(formTemplateRef).validateField(fields);
72
76
  },
73
- resetFields: (fields) => {
77
+ resetFields: async (fields) => {
74
78
  let columns = props.columns || [];
75
- if (fields && (fields == null ? void 0 : fields.length)) {
76
- columns = fields.map((key) => formColumnMap.get(key)).filter(Boolean);
79
+ if (fields && fields?.length) {
80
+ columns = fields.map((key) => formColumnMap.value.get(key)).filter(Boolean);
77
81
  }
78
82
  resetAppFormValue(columns, props.model);
83
+ unref(formTemplateRef).clearValidate(fields);
79
84
  },
80
85
  scrollToField: async (fields) => {
81
86
  await nextTick();
@@ -86,8 +91,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
86
91
  unref(formTemplateRef).clearValidate(fields);
87
92
  },
88
93
  fields: computed(() => {
89
- var _a;
90
- return ((_a = unref(formTemplateRef)) == null ? void 0 : _a.fields) || [];
94
+ return unref(formTemplateRef)?.fields || [];
91
95
  }),
92
96
  getField: async (fields) => {
93
97
  await nextTick();
@@ -104,7 +108,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
104
108
  ref: formTemplateRef,
105
109
  model: __props.model,
106
110
  rules: __props.rules,
107
- "label-position": "top"
111
+ "label-position": "top",
112
+ size: __props.size,
113
+ class: "px-2"
108
114
  }, _ctx.$attrs), {
109
115
  default: withCtx(() => [
110
116
  createElementVNode(
@@ -125,200 +131,117 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
125
131
  key: column.key
126
132
  },
127
133
  [
128
- unref(columnShowHandler)(props, column) ? (openBlock(), createBlock(unref(ElFormItem), {
129
- key: 0,
130
- rules: column.rules,
131
- prop: unref(isArray)(column.field) ? column.field[0] : column.field,
132
- style: normalizeStyle(unref(columnItemStyle)(props, column))
133
- }, {
134
- default: withCtx(() => {
135
- var _a;
136
- return [
137
- createCommentVNode(" \u8868\u5355\u9879label "),
138
- createElementVNode("div", { class: "w-full flex justify-between text-main" }, [
139
- createElementVNode("div", { class: "flex items-center" }, [
140
- renderSlot(_ctx.$slots, column.labelSlot, { column }, () => [
141
- createElementVNode(
142
- "span",
143
- { class: "text-main" },
144
- toDisplayString(column.label),
145
- 1
146
- /* TEXT */
147
- )
148
- ]),
149
- unref(isRequired)(props, column) ? (openBlock(), createElementBlock("span", {
150
- key: 0,
151
- class: "label-required"
152
- })) : createCommentVNode("v-if", true),
153
- column.help ? (openBlock(), createBlock(
154
- unref(ElPopover),
155
- {
156
- key: 1,
157
- placement: "bottom-start",
158
- "popper-class": "popover_echarts w-[200px]",
159
- trigger: "hover"
160
- },
161
- {
162
- reference: withCtx(() => [
163
- createElementVNode("div", { class: "flex items-center" }, [
164
- createVNode(unref(AppIcon), {
165
- "svg-name": "help",
166
- "class-name": "!w-3 !h-3 ml-1 svgBox"
167
- }),
168
- createTextVNode(
169
- " " + toDisplayString(unref(t)("hy.help")),
170
- 1
171
- /* TEXT */
172
- )
173
- ])
174
- ]),
175
- default: withCtx(() => [
176
- createElementVNode(
177
- "div",
178
- null,
179
- toDisplayString(unref(funRunHandler)(column.help)),
180
- 1
181
- /* TEXT */
182
- )
183
- ]),
184
- _: 2
185
- /* DYNAMIC */
186
- },
187
- 1024
188
- /* DYNAMIC_SLOTS */
189
- )) : createCommentVNode("v-if", true)
190
- ]),
191
- column.rightSlot && _ctx.$slots[column.rightSlot] ? (openBlock(), createElementBlock("div", {
192
- key: 0,
193
- class: "ml-2"
194
- }, [
195
- renderSlot(_ctx.$slots, column.rightSlot)
196
- ])) : createCommentVNode("v-if", true)
197
- ]),
198
- createCommentVNode(" \u8868\u5355\u7EC4\u4EF6 "),
199
- column.readonly || __props.readonly || !column.type && !column.slot ? (openBlock(), createElementBlock(
200
- "span",
201
- { key: 0 },
202
- toDisplayString(unref(renderText)(props, column, columnIndex)),
203
- 1
204
- /* TEXT */
205
- )) : (openBlock(), createElementBlock(
206
- Fragment,
207
- { key: 1 },
208
- [
209
- createCommentVNode(" \u81EA\u5B9A\u4E49\u5177\u540D\u63D2\u69FD "),
210
- column.slot && _ctx.$slots[column.slot] ? renderSlot(_ctx.$slots, column.slot, {
211
- key: 0,
212
- column
213
- }) : column.type === "input" ? (openBlock(), createElementBlock(
214
- Fragment,
215
- { key: 1 },
216
- [
217
- createCommentVNode(" \u8F93\u5165\u6846 "),
218
- createVNode(unref(ElInput), mergeProps({
219
- modelValue: __props.model[column.field],
220
- "onUpdate:modelValue": ($event) => __props.model[column.field] = $event
221
- }, { ref_for: true }, column.attrs, {
222
- disabled: unref(isDisabled)(props, column)
223
- }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
224
- ],
225
- 2112
226
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
227
- )) : column.type === "select" ? (openBlock(), createElementBlock(
228
- Fragment,
229
- { key: 2 },
230
- [
231
- createCommentVNode(" \u9009\u62E9\u6846 "),
232
- createVNode(unref(ElSelect), mergeProps({
233
- modelValue: __props.model[column.field],
234
- "onUpdate:modelValue": ($event) => __props.model[column.field] = $event
235
- }, { ref_for: true }, column.attrs, {
236
- disabled: unref(isDisabled)(props, column)
237
- }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
238
- ],
239
- 2112
240
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
241
- )) : column.type === "date-picker" ? (openBlock(), createElementBlock(
242
- Fragment,
243
- { key: 3 },
244
- [
245
- createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
246
- [
247
- "datetimerange",
248
- "daterange",
249
- "monthrange",
250
- "yearrange"
251
- ].includes((_a = column.attrs) == null ? void 0 : _a.type) && unref(isArray)(column.field) ? (openBlock(), createBlock(unref(AppDatePicker), mergeProps({
252
- key: 0,
253
- start: __props.model[column.field[0]],
254
- "onUpdate:start": ($event) => __props.model[column.field[0]] = $event,
255
- end: __props.model[column.field[1]],
256
- "onUpdate:end": ($event) => __props.model[column.field[1]] = $event,
257
- "is-range": true,
258
- style: { "width": "100%" }
259
- }, { ref_for: true }, column.attrs, {
260
- disabled: unref(isDisabled)(props, column)
261
- }), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (openBlock(), createBlock(unref(AppDatePicker), mergeProps({
262
- key: 1,
263
- modelValue: __props.model[column.field],
264
- "onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
265
- "is-range": false,
266
- style: { "width": "100%" }
267
- }, { ref_for: true }, column.attrs, {
268
- disabled: unref(isDisabled)(props, column)
269
- }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"]))
270
- ],
271
- 64
272
- /* STABLE_FRAGMENT */
273
- )) : column.type === "radio" ? (openBlock(), createElementBlock(
274
- Fragment,
275
- { key: 4 },
276
- [
277
- createCommentVNode(" \u5355\u9009 "),
278
- createVNode(unref(ElRadioGroup), mergeProps({
279
- modelValue: __props.model[column.field],
280
- "onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
281
- disabled: unref(isDisabled)(props, column)
282
- }, { ref_for: true }, column.attrs), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
283
- ],
284
- 2112
285
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
286
- )) : column.type === "checkbox" ? (openBlock(), createElementBlock(
287
- Fragment,
288
- { key: 5 },
289
- [
290
- createCommentVNode(" \u591A\u9009 "),
291
- createVNode(unref(ElCheckboxGroup), mergeProps({
292
- modelValue: __props.model[column.field],
293
- "onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
294
- disabled: unref(isDisabled)(props, column)
295
- }, { ref_for: true }, column.attrs), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
296
- ],
297
- 2112
298
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
299
- )) : column.type === "org-cascader" ? (openBlock(), createElementBlock(
300
- Fragment,
301
- { key: 6 },
302
- [
303
- createCommentVNode(" \u90E8\u95E8\u7EA7\u8054\u9009\u62E9\u6846 "),
304
- createVNode(unref(AppOrgCascader), mergeProps({
305
- modelValue: __props.model[column.field],
306
- "onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
307
- disabled: unref(isDisabled)(props, column)
308
- }, { ref_for: true }, column.attrs), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
309
- ],
310
- 2112
311
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
312
- )) : createCommentVNode("v-if", true)
313
- ],
314
- 64
315
- /* STABLE_FRAGMENT */
316
- ))
317
- ];
318
- }),
319
- _: 2
320
- /* DYNAMIC */
321
- }, 1032, ["rules", "prop", "style"])) : createCommentVNode("v-if", true)
134
+ createCommentVNode(" \u6807\u9898 "),
135
+ column.type === "title" ? (openBlock(), createElementBlock(
136
+ "div",
137
+ {
138
+ key: 0,
139
+ class: normalizeClass(["w-full flex items-center text-theme whitespace-nowrap relative mb-3 mt-1", [__props.size === "small" ? "text-xs" : "text-sm"]]),
140
+ style: normalizeStyle(unref(columnItemStyle)(props, column))
141
+ },
142
+ [
143
+ createElementVNode(
144
+ "span",
145
+ { class: "mr-2" },
146
+ toDisplayString(column.label),
147
+ 1
148
+ /* TEXT */
149
+ ),
150
+ createVNode(unref(ElDivider), {
151
+ "content-position": "left",
152
+ "border-style": "dashed",
153
+ class: "border-[rgba(var(--hy-theme),0.5)] my-0"
154
+ }),
155
+ createElementVNode("div", { class: "absolute top-1/2 -left-1.5 transform -translate-x-full -translate-y-1/2 w-0.5 h-3 bg-theme" })
156
+ ],
157
+ 6
158
+ /* CLASS, STYLE */
159
+ )) : column.type === "extra" && !_ctx.$slots[column.slot] ? (openBlock(), createElementBlock(
160
+ Fragment,
161
+ { key: 1 },
162
+ [
163
+ createCommentVNode(" \u8865\u5145\u4FE1\u606F\u8868\u5355 "),
164
+ unref(columnShowHandler)(props, column) ? (openBlock(), createBlock(_sfc_main$1, {
165
+ key: 0,
166
+ model: __props.model,
167
+ column,
168
+ columnNum: __props.columnNum,
169
+ loading: __props.loading,
170
+ readonly: __props.readonly,
171
+ style: normalizeStyle(unref(columnItemStyle)(props, column))
172
+ }, createSlots({
173
+ _: 2
174
+ /* DYNAMIC */
175
+ }, [
176
+ renderList(_ctx.$slots, (_, slotName) => {
177
+ return {
178
+ name: slotName,
179
+ fn: withCtx((scope) => [
180
+ renderSlot(_ctx.$slots, slotName, mergeProps({ ref_for: true }, scope))
181
+ ])
182
+ };
183
+ })
184
+ ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "style"])) : createCommentVNode("v-if", true)
185
+ ],
186
+ 64
187
+ /* STABLE_FRAGMENT */
188
+ )) : column.type === "array" && !_ctx.$slots[column.slot] ? (openBlock(), createElementBlock(
189
+ Fragment,
190
+ { key: 2 },
191
+ [
192
+ createCommentVNode(" \u8868\u5355\u6570\u7EC4 "),
193
+ unref(columnShowHandler)(props, column) ? (openBlock(), createBlock(_sfc_main$2, {
194
+ key: 0,
195
+ model: __props.model,
196
+ column,
197
+ columnNum: __props.columnNum,
198
+ loading: __props.loading,
199
+ readonly: __props.readonly,
200
+ size: __props.size,
201
+ style: normalizeStyle(unref(columnItemStyle)(props, column))
202
+ }, createSlots({
203
+ _: 2
204
+ /* DYNAMIC */
205
+ }, [
206
+ renderList(_ctx.$slots, (_, slotName) => {
207
+ return {
208
+ name: slotName,
209
+ fn: withCtx((scope) => [
210
+ renderSlot(_ctx.$slots, slotName, mergeProps({ ref_for: true }, scope))
211
+ ])
212
+ };
213
+ })
214
+ ]), 1032, ["model", "column", "columnNum", "loading", "readonly", "size", "style"])) : createCommentVNode("v-if", true)
215
+ ],
216
+ 64
217
+ /* STABLE_FRAGMENT */
218
+ )) : (openBlock(), createElementBlock(
219
+ Fragment,
220
+ { key: 3 },
221
+ [
222
+ createCommentVNode(" \u8868\u5355 "),
223
+ createVNode(_sfc_main$3, {
224
+ model: __props.model,
225
+ column,
226
+ loading: __props.loading,
227
+ readonly: __props.readonly
228
+ }, createSlots({
229
+ _: 2
230
+ /* DYNAMIC */
231
+ }, [
232
+ renderList(_ctx.$slots, (_, slotName) => {
233
+ return {
234
+ name: slotName,
235
+ fn: withCtx((scope) => [
236
+ renderSlot(_ctx.$slots, slotName, mergeProps({ ref_for: true }, scope))
237
+ ])
238
+ };
239
+ })
240
+ ]), 1032, ["model", "column", "loading", "readonly"])
241
+ ],
242
+ 64
243
+ /* STABLE_FRAGMENT */
244
+ ))
322
245
  ],
323
246
  64
324
247
  /* STABLE_FRAGMENT */
@@ -334,7 +257,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
334
257
  ]),
335
258
  _: 3
336
259
  /* FORWARDED */
337
- }, 16, ["model", "rules"]);
260
+ }, 16, ["model", "rules", "size"]);
338
261
  };
339
262
  }
340
263
  });