mooho-base-admin-plus 2.8.1 → 2.8.2
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
|
@@ -20263,7 +20263,7 @@ function _sfc_render$15(r, a, o, s, l, u) {
|
|
|
20263
20263
|
column: withCtx(({ row: y, column: _, code: S }) => [
|
|
20264
20264
|
S == "name" ? (openBlock(), createElementBlock("div", {
|
|
20265
20265
|
key: 0,
|
|
20266
|
-
style: normalizeStyle$1({ "font-weight": y.hasChildren ? "bold" : ""
|
|
20266
|
+
style: normalizeStyle$1({ "font-weight": y.hasChildren ? "bold" : "" })
|
|
20267
20267
|
}, toDisplayString$2(r.showData(y, _)), 5)) : createCommentVNode("", !0)
|
|
20268
20268
|
]),
|
|
20269
20269
|
_: 1
|
|
@@ -40982,7 +40982,12 @@ const _sfc_main$n = {
|
|
|
40982
40982
|
}
|
|
40983
40983
|
if (this.tableView = s.dataView, this.tableView.columns = s.viewColumns, this.tableView.filterColumns = s.filterColumns, this.filterColumns = s.filterColumns, (this.tableView.commandButton || "").trim() ? this.commandButtons = JSON.parse(this.tableView.commandButton) : this.commandButtons = [], this.$emit("on-ready", this.tableView), this.columns = s.viewColumns.filter((l) => !(l.parentCode || "").trim()).map((l) => getColumns(s, l)), this.columns.forEach((l) => {
|
|
40984
40984
|
l.name = this.getNameI18n(l) + (l.isRequired ? ' <font color="red">*</font>' : ""), l.fixed = l.isFixed ? "left" : null;
|
|
40985
|
-
}), this.
|
|
40985
|
+
}), this.treeEnable && (this.columns.length > 0 ? (this.columns[0].tree = !0, this.columns[0].display = "inline-block") : this.columns.unshift({
|
|
40986
|
+
tree: !0,
|
|
40987
|
+
display: "inline",
|
|
40988
|
+
align: "left",
|
|
40989
|
+
width: 100
|
|
40990
|
+
})), this.tableView.snEnable && this.columns.unshift({
|
|
40986
40991
|
title: this.$t("Front_Label_Sn"),
|
|
40987
40992
|
slot: "sn",
|
|
40988
40993
|
align: "center",
|
|
@@ -41033,11 +41038,6 @@ const _sfc_main$n = {
|
|
|
41033
41038
|
type: "selection",
|
|
41034
41039
|
align: "center",
|
|
41035
41040
|
width: 60
|
|
41036
|
-
}), this.treeEnable && this.columns.unshift({
|
|
41037
|
-
tree: !0,
|
|
41038
|
-
display: "inline",
|
|
41039
|
-
align: "left",
|
|
41040
|
-
width: 100
|
|
41041
41041
|
}), this.tableView.size ? this.size = this.tableView.size : this.tableView.pageEnable && this.pageEnable ? this.size = Setting.layout.pageSize : this.size = 1e3, this.tableView.sorting) {
|
|
41042
41042
|
let l = JSON.parse(this.tableView.sorting), u = [];
|
|
41043
41043
|
for (let c in l)
|
|
@@ -41994,7 +41994,6 @@ function _sfc_render$n(r, a, o, s, l, u) {
|
|
|
41994
41994
|
size: "small",
|
|
41995
41995
|
stripe: "",
|
|
41996
41996
|
"row-key": "id",
|
|
41997
|
-
"indent-size": 18,
|
|
41998
41997
|
"update-show-children": o.treeEnable,
|
|
41999
41998
|
columns: l.columns,
|
|
42000
41999
|
data: l.data,
|
|
@@ -42562,7 +42561,7 @@ function _sfc_render$n(r, a, o, s, l, u) {
|
|
|
42562
42561
|
], 2)
|
|
42563
42562
|
], 2);
|
|
42564
42563
|
}
|
|
42565
|
-
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
42564
|
+
const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-b814884b"]]), __vite_glob_1_32 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42566
42565
|
__proto__: null,
|
|
42567
42566
|
default: viewTable
|
|
42568
42567
|
}, Symbol.toStringTag, { value: "Module" })), _sfc_main$m = {
|