hy-dispatch-ui-v3 0.1.6 → 0.2.0
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.
- package/README.md +47 -0
- package/dist/tailwind.css +349 -4
- package/es/components/appAudioPlayer/appAudioPlayer.vue.mjs +462 -0
- package/es/components/appAudioPlayer/index.mjs +6 -0
- package/es/components/appAudioPlayer/js/index.mjs +327 -0
- package/es/components/appAudioPlayer/style/appAudioPlayer.scss +319 -0
- package/es/components/appButton/style/appButton.scss +0 -1
- package/es/components/appConfigProvider/appConfigProvider.vue.mjs +22 -1
- package/es/components/appCutter/appCutter.vue.mjs +202 -129
- package/es/components/appDatePicker/appDatePicker.vue.mjs +1 -1
- package/es/components/appForm/appForm.vue.mjs +132 -209
- package/es/components/appForm/cpns/appFormItem.vue.mjs +312 -0
- package/es/components/appForm/cpns/arrayItem.vue.mjs +305 -0
- package/es/components/appForm/cpns/extraItem.vue.mjs +140 -0
- package/es/components/appForm/js/index.mjs +46 -24
- package/es/components/appForm/js/useAppForm.mjs +30 -6
- package/es/components/appForm/style/appForm.scss +53 -0
- package/es/components/appIcon/appIcon.vue.mjs +2 -1
- package/es/components/appIconBox/style/appIconBox.scss +0 -1
- package/es/components/appInput/appInput.vue.mjs +99 -0
- package/es/components/appInput/index.mjs +6 -0
- package/es/components/appMenu/appMenu.vue.mjs +129 -0
- package/es/components/appMenu/index.mjs +6 -0
- package/es/components/appMenu/style/appMenu.scss +145 -0
- package/es/components/appOrgCascader/appOrgCascader.vue.mjs +14 -10
- package/es/components/appSearch/appSearch.vue.mjs +55 -211
- package/es/components/appSearch/cpns/appSearchItem.vue.mjs +238 -0
- package/es/components/appSearch/js/index.mjs +20 -8
- package/es/components/appSearch/js/useAppSearch.mjs +10 -5
- package/es/components/appSearch/style/appSearch.scss +10 -0
- package/es/components/appTable/appTable.vue.mjs +312 -158
- package/es/components/appTable/cpns/columnSelect.vue.mjs +151 -156
- package/es/components/appTable/cpns/columnSelectItem.vue2.mjs +104 -110
- package/es/components/appTable/cpns/headerItem.vue.mjs +98 -0
- package/es/components/appTable/cpns/virtualTable.vue.mjs +560 -0
- package/es/components/appTable/js/index.mjs +46 -20
- package/es/components/appTable/js/search.mjs +1 -2
- package/es/components/appTable/js/useAppTable.mjs +58 -14
- package/es/components/appTable/style/appTable.scss +16 -0
- package/es/components/appTooltip/appTooltip.vue.mjs +24 -13
- package/es/components/appTree/appTree.vue.mjs +304 -0
- package/es/components/appTree/index.mjs +6 -0
- package/es/components/appTree/js/index.mjs +531 -0
- package/es/components/appUserAvatar/appUserAvatar.vue.mjs +9 -8
- package/es/components/appUserAvatar/style/appUserAvatar.scss +0 -1
- package/es/components/appVideoPlayer/appVideoPlayer.vue.mjs +647 -0
- package/es/components/appVideoPlayer/cpns/mediaLoading.vue.mjs +35 -0
- package/es/components/appVideoPlayer/index.mjs +6 -0
- package/es/components/appVideoPlayer/js/index.mjs +426 -0
- package/es/components/appVideoPlayer/style/appVideoPlayer.scss +275 -0
- package/es/components/appVideoPlayer/style/mediaLoading.scss +62 -0
- package/es/components/index.mjs +5 -0
- package/es/hooks/index.mjs +3 -0
- package/es/hooks/useApi.mjs +4 -4
- package/es/hooks/useAudioPlayerConfig.mjs +12 -0
- package/es/hooks/useGlobalConfig.mjs +18 -7
- package/es/hooks/useLocale.mjs +3 -11
- package/es/hooks/useMixins.mjs +1 -1
- package/es/hooks/usePermissionMap.mjs +12 -0
- package/es/hooks/useUserAvatarMap.mjs +2 -3
- package/es/hooks/useVideoPlayerConfig.mjs +12 -0
- package/es/index.mjs +14 -4
- package/es/locale/en.mjs +52 -3
- package/es/locale/zh_CN.mjs +48 -3
- package/es/make-installer.mjs +2 -0
- package/es/static/hy-svg-icons.js +462 -0
- package/es/static/protocolcheck.js +247 -0
- package/es/style/element/element.scss +9 -0
- package/es/style/element/index.scss +6 -3
- package/es/style/index.scss +11 -0
- package/es/style/theme.scss +73 -0
- package/es/utils/date.mjs +25 -1
- package/es/utils/file.mjs +5 -4
- package/es/utils/form.mjs +52 -0
- package/es/utils/handler.mjs +22 -2
- package/es/utils/index.mjs +6 -4
- package/es/utils/is.mjs +23 -2
- package/es/utils/loadScript.mjs +33 -0
- package/es/version.mjs +1 -1
- package/lib/components/appAudioPlayer/appAudioPlayer.vue.js +466 -0
- package/lib/components/appAudioPlayer/index.js +11 -0
- package/lib/components/appAudioPlayer/js/index.js +329 -0
- package/lib/components/appAudioPlayer/style/appAudioPlayer.scss +319 -0
- package/lib/components/appButton/style/appButton.scss +0 -1
- package/lib/components/appConfigProvider/appConfigProvider.vue.js +22 -1
- package/lib/components/appCutter/appCutter.vue.js +201 -128
- package/lib/components/appDatePicker/appDatePicker.vue.js +1 -1
- package/lib/components/appForm/appForm.vue.js +129 -206
- package/lib/components/appForm/cpns/appFormItem.vue.js +316 -0
- package/lib/components/appForm/cpns/arrayItem.vue.js +309 -0
- package/lib/components/appForm/cpns/extraItem.vue.js +144 -0
- package/lib/components/appForm/js/index.js +48 -23
- package/lib/components/appForm/js/useAppForm.js +30 -6
- package/lib/components/appForm/style/appForm.scss +53 -0
- package/lib/components/appIcon/appIcon.vue.js +2 -1
- package/lib/components/appIconBox/style/appIconBox.scss +0 -1
- package/lib/components/appInput/appInput.vue.js +103 -0
- package/lib/components/appInput/index.js +11 -0
- package/lib/components/appMenu/appMenu.vue.js +133 -0
- package/lib/components/appMenu/index.js +11 -0
- package/lib/components/appMenu/style/appMenu.scss +145 -0
- package/lib/components/appOrgCascader/appOrgCascader.vue.js +14 -10
- package/lib/components/appSearch/appSearch.vue.js +51 -207
- package/lib/components/appSearch/cpns/appSearchItem.vue.js +242 -0
- package/lib/components/appSearch/js/index.js +20 -7
- package/lib/components/appSearch/js/useAppSearch.js +10 -5
- package/lib/components/appSearch/style/appSearch.scss +10 -0
- package/lib/components/appTable/appTable.vue.js +319 -165
- package/lib/components/appTable/cpns/columnSelect.vue.js +151 -156
- package/lib/components/appTable/cpns/columnSelectItem.vue2.js +105 -111
- package/lib/components/appTable/cpns/headerItem.vue.js +102 -0
- package/lib/components/appTable/cpns/virtualTable.vue.js +564 -0
- package/lib/components/appTable/js/index.js +47 -19
- package/lib/components/appTable/js/search.js +1 -2
- package/lib/components/appTable/js/useAppTable.js +57 -13
- package/lib/components/appTable/style/appTable.scss +16 -0
- package/lib/components/appTooltip/appTooltip.vue.js +23 -12
- package/lib/components/appTree/appTree.vue.js +308 -0
- package/lib/components/appTree/index.js +11 -0
- package/lib/components/appTree/js/index.js +533 -0
- package/lib/components/appUserAvatar/appUserAvatar.vue.js +9 -8
- package/lib/components/appUserAvatar/style/appUserAvatar.scss +0 -1
- package/lib/components/appVideoPlayer/appVideoPlayer.vue.js +651 -0
- package/lib/components/appVideoPlayer/cpns/mediaLoading.vue.js +39 -0
- package/lib/components/appVideoPlayer/index.js +11 -0
- package/lib/components/appVideoPlayer/js/index.js +429 -0
- package/lib/components/appVideoPlayer/style/appVideoPlayer.scss +275 -0
- package/lib/components/appVideoPlayer/style/mediaLoading.scss +62 -0
- package/lib/components/index.js +42 -32
- package/lib/hooks/index.js +9 -0
- package/lib/hooks/useApi.js +4 -4
- package/lib/hooks/useAudioPlayerConfig.js +15 -0
- package/lib/hooks/useGlobalConfig.js +18 -7
- package/lib/hooks/useLocale.js +3 -11
- package/lib/hooks/useMixins.js +1 -1
- package/lib/hooks/usePermissionMap.js +15 -0
- package/lib/hooks/useUserAvatarMap.js +1 -2
- package/lib/hooks/useVideoPlayerConfig.js +15 -0
- package/lib/index.js +62 -33
- package/lib/locale/en.js +52 -3
- package/lib/locale/zh_CN.js +48 -3
- package/lib/make-installer.js +2 -0
- package/lib/static/hy-svg-icons.js +459 -8
- package/lib/static/protocolcheck.js +249 -0
- package/lib/style/element/element.scss +9 -0
- package/lib/style/element/index.scss +6 -3
- package/lib/style/index.scss +11 -0
- package/lib/style/theme.scss +73 -0
- package/lib/utils/date.js +25 -0
- package/lib/utils/file.js +4 -4
- package/lib/utils/form.js +57 -0
- package/lib/utils/handler.js +22 -1
- package/lib/utils/index.js +11 -1
- package/lib/utils/is.js +23 -1
- package/lib/utils/loadScript.js +37 -0
- package/lib/version.js +1 -1
- package/package.json +12 -10
- package/es/config/index.mjs +0 -1
- package/es/static/hy-svg-icons.mjs +0 -11
- package/lib/config/index.js +0 -2
|
@@ -4,14 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
7
|
+
var appFormItem = require('./cpns/appFormItem.vue.js');
|
|
8
|
+
var extraItem = require('./cpns/extraItem.vue.js');
|
|
9
|
+
var arrayItem = require('./cpns/arrayItem.vue.js');
|
|
10
10
|
var index = require('./js/index.js');
|
|
11
11
|
var useAppForm = require('./js/useAppForm.js');
|
|
12
12
|
var useLocale = require('../../hooks/useLocale.js');
|
|
13
13
|
var is = require('../../utils/is.js');
|
|
14
|
-
var handler = require('../../utils/handler.js');
|
|
15
14
|
|
|
16
15
|
import "./style/appForm.scss";
|
|
17
16
|
|
|
@@ -34,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
34
33
|
},
|
|
35
34
|
columnNum: {
|
|
36
35
|
type: Number,
|
|
37
|
-
default:
|
|
36
|
+
default: 2
|
|
38
37
|
},
|
|
39
38
|
readonly: {
|
|
40
39
|
type: Boolean,
|
|
@@ -43,6 +42,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
43
42
|
loading: {
|
|
44
43
|
type: Boolean,
|
|
45
44
|
default: false
|
|
45
|
+
},
|
|
46
|
+
size: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "default"
|
|
49
|
+
// 'large' | 'default' | 'small'
|
|
46
50
|
}
|
|
47
51
|
},
|
|
48
52
|
setup(__props, { expose: __expose }) {
|
|
@@ -74,12 +78,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
74
78
|
await vue.nextTick();
|
|
75
79
|
return vue.unref(formTemplateRef).validateField(fields);
|
|
76
80
|
},
|
|
77
|
-
resetFields: (fields) => {
|
|
81
|
+
resetFields: async (fields) => {
|
|
78
82
|
let columns = props.columns || [];
|
|
79
|
-
if (fields &&
|
|
80
|
-
columns = fields.map((key) => formColumnMap.get(key)).filter(Boolean);
|
|
83
|
+
if (fields && fields?.length) {
|
|
84
|
+
columns = fields.map((key) => formColumnMap.value.get(key)).filter(Boolean);
|
|
81
85
|
}
|
|
82
86
|
useAppForm.resetAppFormValue(columns, props.model);
|
|
87
|
+
vue.unref(formTemplateRef).clearValidate(fields);
|
|
83
88
|
},
|
|
84
89
|
scrollToField: async (fields) => {
|
|
85
90
|
await vue.nextTick();
|
|
@@ -90,8 +95,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
90
95
|
vue.unref(formTemplateRef).clearValidate(fields);
|
|
91
96
|
},
|
|
92
97
|
fields: vue.computed(() => {
|
|
93
|
-
|
|
94
|
-
return ((_a = vue.unref(formTemplateRef)) == null ? void 0 : _a.fields) || [];
|
|
98
|
+
return vue.unref(formTemplateRef)?.fields || [];
|
|
95
99
|
}),
|
|
96
100
|
getField: async (fields) => {
|
|
97
101
|
await vue.nextTick();
|
|
@@ -108,7 +112,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
108
112
|
ref: formTemplateRef,
|
|
109
113
|
model: __props.model,
|
|
110
114
|
rules: __props.rules,
|
|
111
|
-
"label-position": "top"
|
|
115
|
+
"label-position": "top",
|
|
116
|
+
size: __props.size,
|
|
117
|
+
class: "px-2"
|
|
112
118
|
}, _ctx.$attrs), {
|
|
113
119
|
default: vue.withCtx(() => [
|
|
114
120
|
vue.createElementVNode(
|
|
@@ -129,200 +135,117 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
129
135
|
key: column.key
|
|
130
136
|
},
|
|
131
137
|
[
|
|
132
|
-
vue.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
2112
|
|
244
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
245
|
-
)) : column.type === "date-picker" ? (vue.openBlock(), vue.createElementBlock(
|
|
246
|
-
vue.Fragment,
|
|
247
|
-
{ key: 3 },
|
|
248
|
-
[
|
|
249
|
-
vue.createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
|
|
250
|
-
[
|
|
251
|
-
"datetimerange",
|
|
252
|
-
"daterange",
|
|
253
|
-
"monthrange",
|
|
254
|
-
"yearrange"
|
|
255
|
-
].includes((_a = column.attrs) == null ? void 0 : _a.type) && vue.unref(is.isArray)(column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.AppDatePicker), vue.mergeProps({
|
|
256
|
-
key: 0,
|
|
257
|
-
start: __props.model[column.field[0]],
|
|
258
|
-
"onUpdate:start": ($event) => __props.model[column.field[0]] = $event,
|
|
259
|
-
end: __props.model[column.field[1]],
|
|
260
|
-
"onUpdate:end": ($event) => __props.model[column.field[1]] = $event,
|
|
261
|
-
"is-range": true,
|
|
262
|
-
style: { "width": "100%" }
|
|
263
|
-
}, { ref_for: true }, column.attrs, {
|
|
264
|
-
disabled: vue.unref(index.isDisabled)(props, column)
|
|
265
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.AppDatePicker), vue.mergeProps({
|
|
266
|
-
key: 1,
|
|
267
|
-
modelValue: __props.model[column.field],
|
|
268
|
-
"onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
|
|
269
|
-
"is-range": false,
|
|
270
|
-
style: { "width": "100%" }
|
|
271
|
-
}, { ref_for: true }, column.attrs, {
|
|
272
|
-
disabled: vue.unref(index.isDisabled)(props, column)
|
|
273
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"]))
|
|
274
|
-
],
|
|
275
|
-
64
|
|
276
|
-
/* STABLE_FRAGMENT */
|
|
277
|
-
)) : column.type === "radio" ? (vue.openBlock(), vue.createElementBlock(
|
|
278
|
-
vue.Fragment,
|
|
279
|
-
{ key: 4 },
|
|
280
|
-
[
|
|
281
|
-
vue.createCommentVNode(" \u5355\u9009 "),
|
|
282
|
-
vue.createVNode(vue.unref(elementPlus.ElRadioGroup), vue.mergeProps({
|
|
283
|
-
modelValue: __props.model[column.field],
|
|
284
|
-
"onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
|
|
285
|
-
disabled: vue.unref(index.isDisabled)(props, column)
|
|
286
|
-
}, { ref_for: true }, column.attrs), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
287
|
-
],
|
|
288
|
-
2112
|
|
289
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
290
|
-
)) : column.type === "checkbox" ? (vue.openBlock(), vue.createElementBlock(
|
|
291
|
-
vue.Fragment,
|
|
292
|
-
{ key: 5 },
|
|
293
|
-
[
|
|
294
|
-
vue.createCommentVNode(" \u591A\u9009 "),
|
|
295
|
-
vue.createVNode(vue.unref(elementPlus.ElCheckboxGroup), vue.mergeProps({
|
|
296
|
-
modelValue: __props.model[column.field],
|
|
297
|
-
"onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
|
|
298
|
-
disabled: vue.unref(index.isDisabled)(props, column)
|
|
299
|
-
}, { ref_for: true }, column.attrs), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
300
|
-
],
|
|
301
|
-
2112
|
|
302
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
303
|
-
)) : column.type === "org-cascader" ? (vue.openBlock(), vue.createElementBlock(
|
|
304
|
-
vue.Fragment,
|
|
305
|
-
{ key: 6 },
|
|
306
|
-
[
|
|
307
|
-
vue.createCommentVNode(" \u90E8\u95E8\u7EA7\u8054\u9009\u62E9\u6846 "),
|
|
308
|
-
vue.createVNode(vue.unref(index$3.AppOrgCascader), vue.mergeProps({
|
|
309
|
-
modelValue: __props.model[column.field],
|
|
310
|
-
"onUpdate:modelValue": ($event) => __props.model[column.field] = $event,
|
|
311
|
-
disabled: vue.unref(index.isDisabled)(props, column)
|
|
312
|
-
}, { ref_for: true }, column.attrs), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
313
|
-
],
|
|
314
|
-
2112
|
|
315
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
316
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
317
|
-
],
|
|
318
|
-
64
|
|
319
|
-
/* STABLE_FRAGMENT */
|
|
320
|
-
))
|
|
321
|
-
];
|
|
322
|
-
}),
|
|
323
|
-
_: 2
|
|
324
|
-
/* DYNAMIC */
|
|
325
|
-
}, 1032, ["rules", "prop", "style"])) : vue.createCommentVNode("v-if", true)
|
|
138
|
+
vue.createCommentVNode(" \u6807\u9898 "),
|
|
139
|
+
column.type === "title" ? (vue.openBlock(), vue.createElementBlock(
|
|
140
|
+
"div",
|
|
141
|
+
{
|
|
142
|
+
key: 0,
|
|
143
|
+
class: vue.normalizeClass(["w-full flex items-center text-theme whitespace-nowrap relative mb-3 mt-1", [__props.size === "small" ? "text-xs" : "text-sm"]]),
|
|
144
|
+
style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
|
|
145
|
+
},
|
|
146
|
+
[
|
|
147
|
+
vue.createElementVNode(
|
|
148
|
+
"span",
|
|
149
|
+
{ class: "mr-2" },
|
|
150
|
+
vue.toDisplayString(column.label),
|
|
151
|
+
1
|
|
152
|
+
/* TEXT */
|
|
153
|
+
),
|
|
154
|
+
vue.createVNode(vue.unref(elementPlus.ElDivider), {
|
|
155
|
+
"content-position": "left",
|
|
156
|
+
"border-style": "dashed",
|
|
157
|
+
class: "border-[rgba(var(--hy-theme),0.5)] my-0"
|
|
158
|
+
}),
|
|
159
|
+
vue.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" })
|
|
160
|
+
],
|
|
161
|
+
6
|
|
162
|
+
/* CLASS, STYLE */
|
|
163
|
+
)) : column.type === "extra" && !_ctx.$slots[column.slot] ? (vue.openBlock(), vue.createElementBlock(
|
|
164
|
+
vue.Fragment,
|
|
165
|
+
{ key: 1 },
|
|
166
|
+
[
|
|
167
|
+
vue.createCommentVNode(" \u8865\u5145\u4FE1\u606F\u8868\u5355 "),
|
|
168
|
+
vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(extraItem.default, {
|
|
169
|
+
key: 0,
|
|
170
|
+
model: __props.model,
|
|
171
|
+
column,
|
|
172
|
+
columnNum: __props.columnNum,
|
|
173
|
+
loading: __props.loading,
|
|
174
|
+
readonly: __props.readonly,
|
|
175
|
+
style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
|
|
176
|
+
}, vue.createSlots({
|
|
177
|
+
_: 2
|
|
178
|
+
/* DYNAMIC */
|
|
179
|
+
}, [
|
|
180
|
+
vue.renderList(_ctx.$slots, (_, slotName) => {
|
|
181
|
+
return {
|
|
182
|
+
name: slotName,
|
|
183
|
+
fn: vue.withCtx((scope) => [
|
|
184
|
+
vue.renderSlot(_ctx.$slots, slotName, vue.mergeProps({ ref_for: true }, scope))
|
|
185
|
+
])
|
|
186
|
+
};
|
|
187
|
+
})
|
|
188
|
+
]), 1032, ["model", "column", "columnNum", "loading", "readonly", "style"])) : vue.createCommentVNode("v-if", true)
|
|
189
|
+
],
|
|
190
|
+
64
|
|
191
|
+
/* STABLE_FRAGMENT */
|
|
192
|
+
)) : column.type === "array" && !_ctx.$slots[column.slot] ? (vue.openBlock(), vue.createElementBlock(
|
|
193
|
+
vue.Fragment,
|
|
194
|
+
{ key: 2 },
|
|
195
|
+
[
|
|
196
|
+
vue.createCommentVNode(" \u8868\u5355\u6570\u7EC4 "),
|
|
197
|
+
vue.unref(index.columnShowHandler)(props, column) ? (vue.openBlock(), vue.createBlock(arrayItem.default, {
|
|
198
|
+
key: 0,
|
|
199
|
+
model: __props.model,
|
|
200
|
+
column,
|
|
201
|
+
columnNum: __props.columnNum,
|
|
202
|
+
loading: __props.loading,
|
|
203
|
+
readonly: __props.readonly,
|
|
204
|
+
size: __props.size,
|
|
205
|
+
style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, column))
|
|
206
|
+
}, vue.createSlots({
|
|
207
|
+
_: 2
|
|
208
|
+
/* DYNAMIC */
|
|
209
|
+
}, [
|
|
210
|
+
vue.renderList(_ctx.$slots, (_, slotName) => {
|
|
211
|
+
return {
|
|
212
|
+
name: slotName,
|
|
213
|
+
fn: vue.withCtx((scope) => [
|
|
214
|
+
vue.renderSlot(_ctx.$slots, slotName, vue.mergeProps({ ref_for: true }, scope))
|
|
215
|
+
])
|
|
216
|
+
};
|
|
217
|
+
})
|
|
218
|
+
]), 1032, ["model", "column", "columnNum", "loading", "readonly", "size", "style"])) : vue.createCommentVNode("v-if", true)
|
|
219
|
+
],
|
|
220
|
+
64
|
|
221
|
+
/* STABLE_FRAGMENT */
|
|
222
|
+
)) : (vue.openBlock(), vue.createElementBlock(
|
|
223
|
+
vue.Fragment,
|
|
224
|
+
{ key: 3 },
|
|
225
|
+
[
|
|
226
|
+
vue.createCommentVNode(" \u8868\u5355 "),
|
|
227
|
+
vue.createVNode(appFormItem.default, {
|
|
228
|
+
model: __props.model,
|
|
229
|
+
column,
|
|
230
|
+
loading: __props.loading,
|
|
231
|
+
readonly: __props.readonly
|
|
232
|
+
}, vue.createSlots({
|
|
233
|
+
_: 2
|
|
234
|
+
/* DYNAMIC */
|
|
235
|
+
}, [
|
|
236
|
+
vue.renderList(_ctx.$slots, (_, slotName) => {
|
|
237
|
+
return {
|
|
238
|
+
name: slotName,
|
|
239
|
+
fn: vue.withCtx((scope) => [
|
|
240
|
+
vue.renderSlot(_ctx.$slots, slotName, vue.mergeProps({ ref_for: true }, scope))
|
|
241
|
+
])
|
|
242
|
+
};
|
|
243
|
+
})
|
|
244
|
+
]), 1032, ["model", "column", "loading", "readonly"])
|
|
245
|
+
],
|
|
246
|
+
64
|
|
247
|
+
/* STABLE_FRAGMENT */
|
|
248
|
+
))
|
|
326
249
|
],
|
|
327
250
|
64
|
|
328
251
|
/* STABLE_FRAGMENT */
|
|
@@ -338,7 +261,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
338
261
|
]),
|
|
339
262
|
_: 3
|
|
340
263
|
/* FORWARDED */
|
|
341
|
-
}, 16, ["model", "rules"]);
|
|
264
|
+
}, 16, ["model", "rules", "size"]);
|
|
342
265
|
};
|
|
343
266
|
}
|
|
344
267
|
});
|