mooho-base-admin-plus 2.4.4 → 2.4.6
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/history.md
CHANGED
|
@@ -42631,15 +42631,15 @@ const _sfc_main$q = {
|
|
|
42631
42631
|
default: true
|
|
42632
42632
|
},
|
|
42633
42633
|
editEnable: {
|
|
42634
|
-
type: Boolean,
|
|
42634
|
+
type: [Boolean, Function],
|
|
42635
42635
|
default: true
|
|
42636
42636
|
},
|
|
42637
42637
|
showEnable: {
|
|
42638
|
-
type: Boolean,
|
|
42638
|
+
type: [Boolean, Function],
|
|
42639
42639
|
default: true
|
|
42640
42640
|
},
|
|
42641
42641
|
removeEnable: {
|
|
42642
|
-
type: Boolean,
|
|
42642
|
+
type: [Boolean, Function],
|
|
42643
42643
|
default: true
|
|
42644
42644
|
},
|
|
42645
42645
|
draggable: {
|
|
@@ -44565,24 +44565,26 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44565
44565
|
])
|
|
44566
44566
|
], 8, _hoisted_7$3);
|
|
44567
44567
|
}), 128)) : createCommentVNode("v-if", true)
|
|
44568
|
-
], 64)) : column.controlType === "Image" ? (openBlock(), createElementBlock(
|
|
44569
|
-
|
|
44570
|
-
|
|
44571
|
-
|
|
44572
|
-
|
|
44573
|
-
|
|
44574
|
-
|
|
44575
|
-
|
|
44576
|
-
|
|
44577
|
-
|
|
44578
|
-
|
|
44579
|
-
|
|
44580
|
-
|
|
44581
|
-
|
|
44582
|
-
|
|
44583
|
-
|
|
44584
|
-
|
|
44585
|
-
|
|
44568
|
+
], 64)) : column.controlType === "Image" ? (openBlock(), createElementBlock(Fragment, { key: 19 }, [
|
|
44569
|
+
_ctx.parseData(row, column.code) ? (openBlock(), createElementBlock("div", {
|
|
44570
|
+
key: 0,
|
|
44571
|
+
class: "image-group",
|
|
44572
|
+
style: normalizeStyle$1({ "justify-content": column.align ? column.align.toLowerCase() : "center" })
|
|
44573
|
+
}, [
|
|
44574
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.parseData(row, column.code).split(","), (item, index3) => {
|
|
44575
|
+
return openBlock(), createElementBlock("div", {
|
|
44576
|
+
class: "image",
|
|
44577
|
+
key: index3
|
|
44578
|
+
}, [
|
|
44579
|
+
item ? (openBlock(), createElementBlock("img", {
|
|
44580
|
+
key: 0,
|
|
44581
|
+
onClick: ($event) => $options.previewImage(item),
|
|
44582
|
+
src: _ctx.getImgUrl(item)
|
|
44583
|
+
}, null, 8, _hoisted_9$2)) : createCommentVNode("v-if", true)
|
|
44584
|
+
]);
|
|
44585
|
+
}), 128))
|
|
44586
|
+
], 4)) : createCommentVNode("v-if", true)
|
|
44587
|
+
], 64)) : column.controlType === "Slider" ? (openBlock(), createElementBlock(Fragment, { key: 20 }, [
|
|
44586
44588
|
createVNode$1(_component_Slider, {
|
|
44587
44589
|
"model-value": _ctx.parseData($options.rowData(row, index2), column.code),
|
|
44588
44590
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
@@ -44621,7 +44623,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44621
44623
|
row: $options.rowData(row, index2),
|
|
44622
44624
|
index: index2
|
|
44623
44625
|
}, void 0, true),
|
|
44624
|
-
$options.judge($data.tableView.editEnable, $data.tableView.editEnableJson, $options.rowData(row, index2)) && $props.editEnable && !$props.readonly ? (openBlock(), createBlock(_component_Button, {
|
|
44626
|
+
$options.judge($data.tableView.editEnable, $data.tableView.editEnableJson, $options.rowData(row, index2)) && (typeof $props.editEnable === "function" ? $props.editEnable(row) : $props.editEnable) && !$props.readonly ? (openBlock(), createBlock(_component_Button, {
|
|
44625
44627
|
key: 0,
|
|
44626
44628
|
size: "small",
|
|
44627
44629
|
title: _ctx.$t("Front_Btn_Edit"),
|
|
@@ -44629,7 +44631,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44629
44631
|
"custom-icon": "fa fa-edit",
|
|
44630
44632
|
onClick: ($event) => $options.edit($options.rowData(row, index2), index2)
|
|
44631
44633
|
}, null, 8, ["title", "onClick"])) : createCommentVNode("v-if", true),
|
|
44632
|
-
$options.judge($data.tableView.showEnable, $data.tableView.showEnableJson, $options.rowData(row, index2)) && $props.showEnable ? (openBlock(), createBlock(_component_Button, {
|
|
44634
|
+
$options.judge($data.tableView.showEnable, $data.tableView.showEnableJson, $options.rowData(row, index2)) && (typeof $props.showEnable === "function" ? $props.showEnable(row) : $props.showEnable) ? (openBlock(), createBlock(_component_Button, {
|
|
44633
44635
|
key: 1,
|
|
44634
44636
|
size: "small",
|
|
44635
44637
|
title: _ctx.$t("Front_Btn_Detail"),
|
|
@@ -44637,7 +44639,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44637
44639
|
"custom-icon": "fa fa-file-alt",
|
|
44638
44640
|
onClick: ($event) => $options.show($options.rowData(row, index2), index2)
|
|
44639
44641
|
}, null, 8, ["title", "onClick"])) : createCommentVNode("v-if", true),
|
|
44640
|
-
$options.judge($data.tableView.removeEnable, $data.tableView.removeEnableJson, $options.rowData(row, index2)) && $props.removeEnable && !$props.readonly ? (openBlock(), createBlock(_component_Button, {
|
|
44642
|
+
$options.judge($data.tableView.removeEnable, $data.tableView.removeEnableJson, $options.rowData(row, index2)) && (typeof $props.removeEnable === "function" ? $props.removeEnable(row) : $props.removeEnable) && !$props.readonly ? (openBlock(), createBlock(_component_Button, {
|
|
44641
44643
|
key: 2,
|
|
44642
44644
|
size: "small",
|
|
44643
44645
|
title: _ctx.$t("Front_Btn_Remove"),
|