mooho-base-admin-plus 0.4.35 → 0.4.37
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.
|
@@ -37413,7 +37413,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37413
37413
|
]);
|
|
37414
37414
|
}
|
|
37415
37415
|
var tableFilter = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
|
|
37416
|
-
var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-
|
|
37416
|
+
var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-7ee25836]{display:flex}.image-group .image[data-v-7ee25836]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-7ee25836]{width:75px;height:75px}\n")();
|
|
37417
37417
|
var getColumns = (view, item) => {
|
|
37418
37418
|
let children = view.viewColumns.filter((i2) => {
|
|
37419
37419
|
return i2.parentCode == item.code;
|
|
@@ -38948,7 +38948,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38948
38948
|
"model-value": _ctx.parseData($options.rowData(row, index2), column.code),
|
|
38949
38949
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
38950
38950
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
38951
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
38951
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
38952
38952
|
maxlength: column.maxLength,
|
|
38953
38953
|
pattern: column.pattern,
|
|
38954
38954
|
placeholder: column.description,
|
|
@@ -38961,7 +38961,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38961
38961
|
"model-value": _ctx.parseData($options.rowData(row, index2), column.code),
|
|
38962
38962
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
38963
38963
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
38964
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
38964
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
38965
38965
|
rows: column.controlHeight / 20,
|
|
38966
38966
|
maxlength: column.maxLength,
|
|
38967
38967
|
placeholder: column.description
|
|
@@ -38973,7 +38973,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38973
38973
|
"model-value": _ctx.parseData($options.rowData(row, index2), column.code),
|
|
38974
38974
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
38975
38975
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
38976
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
38976
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
38977
38977
|
placeholder: column.description,
|
|
38978
38978
|
onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column),
|
|
38979
38979
|
onOnBlur: ($event) => $options.onBlur($options.rowData(row, index2), column)
|
|
@@ -38984,7 +38984,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38984
38984
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
38985
38985
|
disabled: $options.isReadonly($options.rowData(row, index2), column),
|
|
38986
38986
|
clearable: "",
|
|
38987
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
38987
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
38988
38988
|
placeholder: column.description,
|
|
38989
38989
|
transfer: true,
|
|
38990
38990
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
@@ -39011,7 +39011,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39011
39011
|
disabled: $options.isReadonly($options.rowData(row, index2), column),
|
|
39012
39012
|
multiple: true,
|
|
39013
39013
|
clearable: "",
|
|
39014
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39014
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39015
39015
|
placeholder: column.description,
|
|
39016
39016
|
transfer: true,
|
|
39017
39017
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
@@ -39038,7 +39038,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39038
39038
|
disabled: $options.isReadonly($options.rowData(row, index2), column),
|
|
39039
39039
|
clearable: "",
|
|
39040
39040
|
filterable: "",
|
|
39041
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39041
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39042
39042
|
placeholder: column.description,
|
|
39043
39043
|
transfer: true,
|
|
39044
39044
|
onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
|
|
@@ -39090,7 +39090,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39090
39090
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
39091
39091
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
39092
39092
|
placeholder: column.description,
|
|
39093
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39093
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39094
39094
|
transfer: true,
|
|
39095
39095
|
onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
|
|
39096
39096
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "DateRange" ? (openBlock(), createBlock(_component_DatePicker, {
|
|
@@ -39101,7 +39101,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39101
39101
|
"onUpdate:modelValue": ($event) => _ctx.setArrayData($options.rowData(row, index2), column.code, $event),
|
|
39102
39102
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
39103
39103
|
placeholder: column.description,
|
|
39104
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39104
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39105
39105
|
transfer: true,
|
|
39106
39106
|
onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
|
|
39107
39107
|
}, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
|
|
@@ -39112,7 +39112,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39112
39112
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
39113
39113
|
readonly: $options.isReadonly($options.rowData(row, index2), column),
|
|
39114
39114
|
placeholder: column.description,
|
|
39115
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39115
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39116
39116
|
transfer: true,
|
|
39117
39117
|
onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
|
|
39118
39118
|
}, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Check" ? (openBlock(), createBlock(_component_Checkbox, {
|
|
@@ -39203,7 +39203,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39203
39203
|
"model-value": _ctx.parseData($options.rowData(row, index2), column.code),
|
|
39204
39204
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
39205
39205
|
"show-input": "",
|
|
39206
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39206
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39207
39207
|
max: column.MaxValue,
|
|
39208
39208
|
min: column.MinValue
|
|
39209
39209
|
}, null, 8, ["model-value", "onUpdate:modelValue", "style", "max", "min"]),
|
|
@@ -39212,7 +39212,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39212
39212
|
"model-value": _ctx.parseData($options.rowData(row, index2), column.code),
|
|
39213
39213
|
"onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
|
|
39214
39214
|
"show-input": "",
|
|
39215
|
-
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth -
|
|
39215
|
+
style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - ($data.tableView.borderEnable ? 0 : 8) + "px" }),
|
|
39216
39216
|
max: column.maxValue,
|
|
39217
39217
|
min: column.minValue
|
|
39218
39218
|
}, null, 8, ["model-value", "onUpdate:modelValue", "style", "max", "min"])) : createCommentVNode("", true),
|
|
@@ -39411,7 +39411,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
39411
39411
|
], 2)
|
|
39412
39412
|
], 2);
|
|
39413
39413
|
}
|
|
39414
|
-
var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-
|
|
39414
|
+
var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-7ee25836"]]);
|
|
39415
39415
|
const _sfc_main$p = {
|
|
39416
39416
|
mixins: [mixinPage],
|
|
39417
39417
|
components: { columnSelect, columnEdit },
|