hy-dispatch-ui-v3 0.2.59 → 0.2.61
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/dist/tailwind.css +131 -6
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/api/index.mjs +137 -0
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +365 -0
- package/es/bussiness/hyAddDepartmentType/index.mjs +6 -0
- package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +31 -0
- package/es/bussiness/index.mjs +1 -1
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +1 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +45 -36
- package/es/components/hyDatePicker/datePicker.vue.mjs +2 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +106 -43
- package/es/components/hyForm/cpns/locationSelect.vue.mjs +358 -0
- package/es/components/hyForm/form.vue.mjs +83 -31
- package/es/components/hyForm/js/index.mjs +9 -2
- package/es/components/hyForm/js/useAppForm.mjs +6 -36
- package/es/components/hyMap/map.vue.mjs +3 -3
- package/es/components/hyMenu/menu.vue.mjs +38 -23
- package/es/components/hyMenu/style/menu.scss +3 -1
- package/es/components/hyOrgCascader/js/index.mjs +2 -2
- package/es/components/hyRadioGroup/index.mjs +6 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +123 -0
- package/es/components/hyRadioGroup/style/radioGroup.scss +0 -0
- package/es/components/hySearch/cpns/searchItem.vue.mjs +20 -13
- package/es/components/hySearch/js/useAppSearch.mjs +3 -33
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +9 -1
- package/es/components/hyTable/js/index.mjs +6 -3
- package/es/components/hyTable/js/search.mjs +1 -0
- package/es/components/hyTable/table.vue.mjs +11 -4
- package/es/components/hyTableForm/batchTableForm.vue.mjs +5 -2
- package/es/components/hyTableForm/tableForm.vue.mjs +6 -0
- package/es/components/hyTree/js/index.mjs +69 -53
- package/es/components/hyTree/tree.vue.mjs +36 -1
- package/es/components/hyVideoPlayer/js/index.mjs +0 -1
- package/es/components/index.mjs +1 -0
- package/es/hooks/useApi.mjs +2 -2
- package/es/hooks/useGlobalConfig.mjs +1 -1
- package/es/index.mjs +4 -1
- package/es/locale/en.mjs +17 -1
- package/es/locale/zh_CN.mjs +17 -1
- package/es/static/hy-svg-icons/hy-icon-ops-linear-shouqi.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-linear-zhankai.js +8 -0
- package/es/style/index.scss +53 -0
- package/es/style/theme.scss +0 -53
- package/es/utils/form.mjs +56 -7
- package/es/utils/handler.mjs +5 -0
- package/es/utils/index.mjs +2 -1
- package/es/utils/map/hook/bigMap.mjs +4 -0
- package/es/utils/map/hook/gaode.mjs +3 -0
- package/es/utils/map/hook/leafletjs.mjs +10 -10
- package/es/utils/map/index.mjs +27 -7
- package/es/utils/tree.mjs +1 -0
- package/es/version.mjs +1 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
- package/lib/api/index.js +147 -0
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +369 -0
- package/lib/bussiness/hyAddDepartmentType/index.js +11 -0
- package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +31 -0
- package/lib/bussiness/index.js +5 -0
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +44 -35
- package/lib/components/hyDatePicker/datePicker.vue.js +2 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +111 -48
- package/lib/components/hyForm/cpns/locationSelect.vue.js +362 -0
- package/lib/components/hyForm/form.vue.js +79 -27
- package/lib/components/hyForm/js/index.js +9 -1
- package/lib/components/hyForm/js/useAppForm.js +5 -35
- package/lib/components/hyMap/map.vue.js +3 -3
- package/lib/components/hyMenu/menu.vue.js +37 -22
- package/lib/components/hyMenu/style/menu.scss +3 -1
- package/lib/components/hyOrgCascader/js/index.js +2 -2
- package/lib/components/hyRadioGroup/index.js +11 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +127 -0
- package/lib/components/hyRadioGroup/style/radioGroup.scss +0 -0
- package/lib/components/hySearch/cpns/searchItem.vue.js +19 -12
- package/lib/components/hySearch/js/useAppSearch.js +2 -32
- package/lib/components/hyTable/cpns/virtualTable.vue.js +9 -1
- package/lib/components/hyTable/js/index.js +6 -3
- package/lib/components/hyTable/js/search.js +1 -0
- package/lib/components/hyTable/table.vue.js +43 -36
- package/lib/components/hyTableForm/batchTableForm.vue.js +5 -2
- package/lib/components/hyTableForm/tableForm.vue.js +6 -0
- package/lib/components/hyTree/js/index.js +69 -53
- package/lib/components/hyTree/tree.vue.js +36 -1
- package/lib/components/hyVideoPlayer/js/index.js +0 -1
- package/lib/components/index.js +14 -12
- package/lib/hooks/useApi.js +2 -2
- package/lib/index.js +61 -49
- package/lib/locale/en.js +17 -1
- package/lib/locale/zh_CN.js +17 -1
- package/lib/static/hy-svg-icons/hy-icon-ops-linear-shouqi.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-linear-zhankai.js +8 -0
- package/lib/style/index.scss +53 -0
- package/lib/style/theme.scss +0 -53
- package/lib/utils/form.js +57 -5
- package/lib/utils/handler.js +5 -0
- package/lib/utils/index.js +8 -0
- package/lib/utils/map/hook/bigMap.js +4 -0
- package/lib/utils/map/hook/gaode.js +3 -0
- package/lib/utils/map/hook/leafletjs.js +10 -10
- package/lib/utils/map/index.js +26 -6
- package/lib/utils/tree.js +10 -0
- package/lib/version.js +1 -1
- package/package.json +2 -2
|
@@ -4,15 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var elementPlus = require('element-plus');
|
|
7
|
-
var iconsVue = require('@element-plus/icons-vue');
|
|
8
7
|
var index = require('../js/index.js');
|
|
8
|
+
var useLocale = require('../../../hooks/useLocale.js');
|
|
9
9
|
var is = require('../../../utils/is.js');
|
|
10
10
|
var form = require('../../../utils/form.js');
|
|
11
11
|
var index$1 = require('../../hyTooltip/index.js');
|
|
12
|
-
var index$2 = require('../../
|
|
13
|
-
var index$3 = require('../../
|
|
14
|
-
var index$4 = require('../../
|
|
15
|
-
var index$5 = require('../../
|
|
12
|
+
var index$2 = require('../../hyIcon/index.js');
|
|
13
|
+
var index$3 = require('../../hyInput/index.js');
|
|
14
|
+
var index$4 = require('../../hyDatePicker/index.js');
|
|
15
|
+
var index$5 = require('../../hyTimePicker/index.js');
|
|
16
|
+
var index$6 = require('../../hyRadioGroup/index.js');
|
|
17
|
+
var index$7 = require('../../hyOrgCascader/index.js');
|
|
16
18
|
|
|
17
19
|
const _sfc_main = {
|
|
18
20
|
__name: "formItem",
|
|
@@ -57,6 +59,7 @@ const _sfc_main = {
|
|
|
57
59
|
}
|
|
58
60
|
},
|
|
59
61
|
setup(__props) {
|
|
62
|
+
const { t } = useLocale.useLocale();
|
|
60
63
|
const props = __props;
|
|
61
64
|
const formItemRef = vue.useTemplateRef("formItemRef");
|
|
62
65
|
const columnProp = vue.computed(() => {
|
|
@@ -86,6 +89,13 @@ const _sfc_main = {
|
|
|
86
89
|
form.setValueByProp(props.model, prop, val);
|
|
87
90
|
}
|
|
88
91
|
});
|
|
92
|
+
const columnAttrs = vue.computed(() => {
|
|
93
|
+
return {
|
|
94
|
+
...props.column.attrs,
|
|
95
|
+
label: form.columnLabelHandler(props.column, props.model),
|
|
96
|
+
placeholder: form.columnPlaceholderHandler(props.column, props.model)
|
|
97
|
+
};
|
|
98
|
+
});
|
|
89
99
|
function getColumnRuleHandler(column, model) {
|
|
90
100
|
if (!index.isRequired(props, column) && formItemRef.value) {
|
|
91
101
|
formItemRef.value.clearValidate();
|
|
@@ -98,10 +108,19 @@ const _sfc_main = {
|
|
|
98
108
|
onChange(props.column, props.model);
|
|
99
109
|
}
|
|
100
110
|
return (_ctx, _cache) => {
|
|
101
|
-
return vue.unref(index.
|
|
111
|
+
return !vue.unref(index.columnVisibleHandler)(props, __props.column) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
102
112
|
key: 0,
|
|
113
|
+
id: __props.column.id,
|
|
114
|
+
style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, __props.column)),
|
|
115
|
+
class: vue.normalizeClass(["hy-el-form-item", [
|
|
116
|
+
__props.size === "large" ? "hy-el-form-item--large" : __props.size === "small" ? "hy-el-form-item--small" : "hy-el-form-item--default",
|
|
117
|
+
__props.size === "large" ? "min-h-[72px]" : __props.size === "small" ? "min-h-[56px]" : "min-h-[64px]"
|
|
118
|
+
]])
|
|
119
|
+
}, null, 14, ["id"])) : vue.unref(index.columnShowHandler)(props, __props.column) ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElFormItem), {
|
|
120
|
+
key: 1,
|
|
103
121
|
ref_key: "formItemRef",
|
|
104
122
|
ref: formItemRef,
|
|
123
|
+
id: __props.column.id,
|
|
105
124
|
prop: columnProp.value,
|
|
106
125
|
rules: getColumnRuleHandler(__props.column, props.model),
|
|
107
126
|
style: vue.normalizeStyle(vue.unref(index.columnItemStyle)(props, __props.column))
|
|
@@ -118,7 +137,7 @@ const _sfc_main = {
|
|
|
118
137
|
vue.createElementVNode(
|
|
119
138
|
"span",
|
|
120
139
|
{ class: "text-main" },
|
|
121
|
-
vue.toDisplayString(__props.column.
|
|
140
|
+
vue.toDisplayString(vue.unref(form.columnLabelHandler)(__props.column, props.model) || "\xA0"),
|
|
122
141
|
1
|
|
123
142
|
/* TEXT */
|
|
124
143
|
)
|
|
@@ -127,32 +146,43 @@ const _sfc_main = {
|
|
|
127
146
|
key: 0,
|
|
128
147
|
class: "label-required"
|
|
129
148
|
})) : vue.createCommentVNode("v-if", true),
|
|
130
|
-
vue.unref(index.columnHelpHandler)(props, __props.column) ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
149
|
+
vue.unref(index.columnHelpHandler)(props, __props.column) || __props.column.tooltipContentSlot ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.HyTooltip), {
|
|
131
150
|
key: 1,
|
|
132
151
|
"is-always": "",
|
|
133
|
-
overLine: 1
|
|
134
|
-
content: vue.unref(index.columnHelpHandler)(props, __props.column)
|
|
152
|
+
overLine: 1
|
|
135
153
|
}, {
|
|
154
|
+
content: vue.withCtx(() => [
|
|
155
|
+
!__props.column.tooltipContentSlot ? (vue.openBlock(), vue.createElementBlock(
|
|
156
|
+
"span",
|
|
157
|
+
{ key: 0 },
|
|
158
|
+
vue.toDisplayString(vue.unref(index.columnHelpHandler)(props, __props.column)),
|
|
159
|
+
1
|
|
160
|
+
/* TEXT */
|
|
161
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
162
|
+
vue.renderSlot(_ctx.$slots, __props.column.tooltipContentSlot)
|
|
163
|
+
]),
|
|
136
164
|
default: vue.withCtx(() => [
|
|
137
|
-
vue.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
165
|
+
vue.createElementVNode("span", { class: "text-xs text-theme ml-2" }, [
|
|
166
|
+
vue.createVNode(vue.unref(index$2.HyIcon), {
|
|
167
|
+
"svg-name": "dispatch-share-v3-base-help",
|
|
168
|
+
class: "!w-3 !h-3 mr-1"
|
|
169
|
+
}),
|
|
170
|
+
vue.createElementVNode(
|
|
171
|
+
"span",
|
|
172
|
+
null,
|
|
173
|
+
vue.toDisplayString(vue.unref(t)("hy.help")),
|
|
174
|
+
1
|
|
175
|
+
/* TEXT */
|
|
176
|
+
)
|
|
177
|
+
])
|
|
148
178
|
]),
|
|
149
|
-
_:
|
|
150
|
-
/*
|
|
151
|
-
}
|
|
179
|
+
_: 3
|
|
180
|
+
/* FORWARDED */
|
|
181
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
152
182
|
]),
|
|
153
183
|
__props.column.rightSlot && _ctx.$slots[__props.column.rightSlot] ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
154
184
|
key: 0,
|
|
155
|
-
class: "ml-2"
|
|
185
|
+
class: "ml-2 flex items-center"
|
|
156
186
|
}, [
|
|
157
187
|
vue.renderSlot(_ctx.$slots, __props.column.rightSlot, {
|
|
158
188
|
column: __props.column,
|
|
@@ -207,10 +237,10 @@ const _sfc_main = {
|
|
|
207
237
|
{ key: 1 },
|
|
208
238
|
[
|
|
209
239
|
vue.createCommentVNode(" \u8F93\u5165\u6846 "),
|
|
210
|
-
vue.createVNode(vue.unref(index$
|
|
240
|
+
vue.createVNode(vue.unref(index$3.HyInput), vue.mergeProps({
|
|
211
241
|
modelValue: bindValue.value,
|
|
212
242
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
213
|
-
},
|
|
243
|
+
}, columnAttrs.value, {
|
|
214
244
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
215
245
|
onChange: onChangeHandler
|
|
216
246
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
@@ -225,7 +255,7 @@ const _sfc_main = {
|
|
|
225
255
|
vue.createVNode(vue.unref(elementPlus.ElSelect), vue.mergeProps({
|
|
226
256
|
modelValue: bindValue.value,
|
|
227
257
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
228
|
-
},
|
|
258
|
+
}, columnAttrs.value, {
|
|
229
259
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
230
260
|
options: vue.unref(index.optionsHandler)(props, __props.column),
|
|
231
261
|
onChange: onChangeHandler
|
|
@@ -239,8 +269,8 @@ const _sfc_main = {
|
|
|
239
269
|
[
|
|
240
270
|
vue.createCommentVNode(" \u65E5\u671F\u9009\u62E9\u6846 "),
|
|
241
271
|
["datetimerange", "daterange", "monthrange", "yearrange"].includes(
|
|
242
|
-
|
|
243
|
-
) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
272
|
+
columnAttrs.value?.type
|
|
273
|
+
) && vue.unref(is.isArray)(__props.column.field) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyDatePicker), vue.mergeProps({
|
|
244
274
|
key: 0,
|
|
245
275
|
start: bindValue.value,
|
|
246
276
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -249,17 +279,17 @@ const _sfc_main = {
|
|
|
249
279
|
"is-range": true,
|
|
250
280
|
style: { "width": "100%" },
|
|
251
281
|
teleported: true
|
|
252
|
-
},
|
|
282
|
+
}, columnAttrs.value, {
|
|
253
283
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
254
284
|
onChange: onChangeHandler
|
|
255
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
285
|
+
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyDatePicker), vue.mergeProps({
|
|
256
286
|
key: 1,
|
|
257
287
|
modelValue: bindValue.value,
|
|
258
288
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
259
289
|
"is-range": false,
|
|
260
290
|
style: { "width": "100%" },
|
|
261
291
|
teleported: true
|
|
262
|
-
},
|
|
292
|
+
}, columnAttrs.value, {
|
|
263
293
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
264
294
|
onChange: onChangeHandler
|
|
265
295
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"]))
|
|
@@ -271,7 +301,7 @@ const _sfc_main = {
|
|
|
271
301
|
{ key: 4 },
|
|
272
302
|
[
|
|
273
303
|
vue.createCommentVNode(" \u65F6\u95F4\u9009\u62E9\u6846 "),
|
|
274
|
-
|
|
304
|
+
columnAttrs.value.isRange ? (vue.openBlock(), vue.createBlock(vue.unref(index$5.HyTimePicker), vue.mergeProps({
|
|
275
305
|
key: 0,
|
|
276
306
|
start: bindValue.value,
|
|
277
307
|
"onUpdate:start": ($event) => bindValue.value = $event,
|
|
@@ -280,17 +310,17 @@ const _sfc_main = {
|
|
|
280
310
|
"is-range": true,
|
|
281
311
|
style: { "width": "100%" },
|
|
282
312
|
teleported: true
|
|
283
|
-
},
|
|
313
|
+
}, columnAttrs.value, {
|
|
284
314
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
285
315
|
onChange: onChangeHandler
|
|
286
|
-
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
316
|
+
}), null, 16, ["start", "onUpdate:start", "end", "onUpdate:end", "disabled"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$5.HyTimePicker), vue.mergeProps({
|
|
287
317
|
key: 1,
|
|
288
318
|
modelValue: bindValue.value,
|
|
289
319
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
290
320
|
"is-range": false,
|
|
291
321
|
style: { "width": "100%" },
|
|
292
322
|
teleported: true
|
|
293
|
-
},
|
|
323
|
+
}, columnAttrs.value, {
|
|
294
324
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
295
325
|
onChange: onChangeHandler
|
|
296
326
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"]))
|
|
@@ -305,7 +335,7 @@ const _sfc_main = {
|
|
|
305
335
|
vue.createVNode(vue.unref(elementPlus.ElRadioGroup), vue.mergeProps({
|
|
306
336
|
modelValue: bindValue.value,
|
|
307
337
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
308
|
-
},
|
|
338
|
+
}, columnAttrs.value, {
|
|
309
339
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
310
340
|
options: vue.unref(index.optionsHandler)(props, __props.column),
|
|
311
341
|
onChange: onChangeHandler
|
|
@@ -313,15 +343,32 @@ const _sfc_main = {
|
|
|
313
343
|
],
|
|
314
344
|
2112
|
|
315
345
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
316
|
-
)) : __props.column.type === "
|
|
346
|
+
)) : __props.column.type === "radio-group" ? (vue.openBlock(), vue.createElementBlock(
|
|
317
347
|
vue.Fragment,
|
|
318
348
|
{ key: 6 },
|
|
349
|
+
[
|
|
350
|
+
vue.createCommentVNode(" \u5355\u9009\u6309\u94AE "),
|
|
351
|
+
vue.createVNode(vue.unref(index$6.HyRadioGroup), vue.mergeProps({
|
|
352
|
+
modelValue: bindValue.value,
|
|
353
|
+
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
354
|
+
}, columnAttrs.value, {
|
|
355
|
+
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
356
|
+
options: vue.unref(index.optionsHandler)(props, __props.column),
|
|
357
|
+
size: __props.size,
|
|
358
|
+
onChange: onChangeHandler
|
|
359
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options", "size"])
|
|
360
|
+
],
|
|
361
|
+
2112
|
|
362
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
363
|
+
)) : __props.column.type === "checkbox" ? (vue.openBlock(), vue.createElementBlock(
|
|
364
|
+
vue.Fragment,
|
|
365
|
+
{ key: 7 },
|
|
319
366
|
[
|
|
320
367
|
vue.createCommentVNode(" \u591A\u9009 "),
|
|
321
368
|
vue.createVNode(vue.unref(elementPlus.ElCheckboxGroup), vue.mergeProps({
|
|
322
369
|
modelValue: bindValue.value,
|
|
323
370
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
324
|
-
},
|
|
371
|
+
}, columnAttrs.value, {
|
|
325
372
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
326
373
|
options: vue.unref(index.optionsHandler)(props, __props.column),
|
|
327
374
|
onChange: onChangeHandler
|
|
@@ -331,7 +378,7 @@ const _sfc_main = {
|
|
|
331
378
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
332
379
|
)) : __props.column.type === "switch" ? (vue.openBlock(), vue.createElementBlock(
|
|
333
380
|
vue.Fragment,
|
|
334
|
-
{ key:
|
|
381
|
+
{ key: 8 },
|
|
335
382
|
[
|
|
336
383
|
vue.createCommentVNode(" \u5F00\u5173 "),
|
|
337
384
|
vue.createVNode(vue.unref(elementPlus.ElSwitch), vue.mergeProps({
|
|
@@ -340,7 +387,7 @@ const _sfc_main = {
|
|
|
340
387
|
"inline-prompt": "",
|
|
341
388
|
width: "80",
|
|
342
389
|
style: { "--hy-el-switch-on-color": "#5ab95f", "--hy-el-switch-off-color": "rgba(var(--hy-background), 1)" }
|
|
343
|
-
},
|
|
390
|
+
}, columnAttrs.value, {
|
|
344
391
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
345
392
|
onChange: onChangeHandler
|
|
346
393
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
@@ -349,13 +396,13 @@ const _sfc_main = {
|
|
|
349
396
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
350
397
|
)) : __props.column.type === "input-number" ? (vue.openBlock(), vue.createElementBlock(
|
|
351
398
|
vue.Fragment,
|
|
352
|
-
{ key:
|
|
399
|
+
{ key: 9 },
|
|
353
400
|
[
|
|
354
401
|
vue.createCommentVNode(" \u6570\u5B57\u8F93\u5165\u6846 "),
|
|
355
402
|
vue.createVNode(vue.unref(elementPlus.ElInputNumber), vue.mergeProps({
|
|
356
403
|
modelValue: bindValue.value,
|
|
357
404
|
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
358
|
-
},
|
|
405
|
+
}, columnAttrs.value, {
|
|
359
406
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
360
407
|
onChange: onChangeHandler
|
|
361
408
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
@@ -364,20 +411,36 @@ const _sfc_main = {
|
|
|
364
411
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
365
412
|
)) : __props.column.type === "org-cascader" ? (vue.openBlock(), vue.createElementBlock(
|
|
366
413
|
vue.Fragment,
|
|
367
|
-
{ key:
|
|
414
|
+
{ key: 10 },
|
|
368
415
|
[
|
|
369
416
|
vue.createCommentVNode(" \u90E8\u95E8\u7EA7\u8054\u9009\u62E9\u6846 "),
|
|
370
|
-
vue.createVNode(vue.unref(index$
|
|
417
|
+
vue.createVNode(vue.unref(index$7.HyOrgCascader), vue.mergeProps({
|
|
371
418
|
modelValue: bindValue.value,
|
|
372
419
|
"onUpdate:modelValue": ($event) => bindValue.value = $event,
|
|
373
420
|
class: "w-full"
|
|
374
|
-
},
|
|
421
|
+
}, columnAttrs.value, {
|
|
375
422
|
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
376
423
|
onChange: onChangeHandler
|
|
377
424
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
378
425
|
],
|
|
379
426
|
2112
|
|
380
427
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
428
|
+
)) : __props.column.type === "cascader" ? (vue.openBlock(), vue.createElementBlock(
|
|
429
|
+
vue.Fragment,
|
|
430
|
+
{ key: 11 },
|
|
431
|
+
[
|
|
432
|
+
vue.createCommentVNode(" \u7EA7\u8054\u9009\u62E9\u6846 "),
|
|
433
|
+
vue.createVNode(vue.unref(elementPlus.ElCascader), vue.mergeProps({
|
|
434
|
+
modelValue: bindValue.value,
|
|
435
|
+
"onUpdate:modelValue": ($event) => bindValue.value = $event
|
|
436
|
+
}, columnAttrs.value, {
|
|
437
|
+
disabled: vue.unref(index.isDisabled)(props, __props.column),
|
|
438
|
+
options: vue.unref(index.optionsHandler)(props, __props.column),
|
|
439
|
+
onChange: onChangeHandler
|
|
440
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "options"])
|
|
441
|
+
],
|
|
442
|
+
2112
|
|
443
|
+
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
381
444
|
)) : vue.createCommentVNode("v-if", true)
|
|
382
445
|
],
|
|
383
446
|
64
|
|
@@ -386,7 +449,7 @@ const _sfc_main = {
|
|
|
386
449
|
]),
|
|
387
450
|
_: 3
|
|
388
451
|
/* FORWARDED */
|
|
389
|
-
}, 8, ["prop", "rules", "style"])) : vue.createCommentVNode("v-if", true);
|
|
452
|
+
}, 8, ["id", "prop", "rules", "style"])) : vue.createCommentVNode("v-if", true);
|
|
390
453
|
};
|
|
391
454
|
}
|
|
392
455
|
};
|