mooho-base-admin-plus 0.4.58 → 0.4.59

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.
@@ -18430,7 +18430,7 @@ function convertMenu(source2) {
18430
18430
  path: reg.test(item.url) ? item.url : "/" + item.url.split("?")[0],
18431
18431
  code: item.url,
18432
18432
  title: item.name,
18433
- subtitle: item.subName,
18433
+ subTitle: item.subName,
18434
18434
  target: item.isNewWindow ? "_blank" : null,
18435
18435
  header: "home",
18436
18436
  custom: item.icon,
@@ -20938,11 +20938,6 @@ const _sfc_main$1l = {
20938
20938
  this.form.onDataChange();
20939
20939
  this.form.clearValidate();
20940
20940
  this.readonly = !this.task.activityInst.activity.isEditable;
20941
- if (this.form.formView) {
20942
- this.width = this.form.formView.width || "800";
20943
- this.name = this.form.formView.name;
20944
- this.description = this.form.formView.description;
20945
- }
20946
20941
  this.opened = true;
20947
20942
  });
20948
20943
  } else if (this.task.activityInst.activity.pageMode == "Form") {
@@ -20981,11 +20976,6 @@ const _sfc_main$1l = {
20981
20976
  this.form.onDataChange();
20982
20977
  this.form.clearValidate();
20983
20978
  this.readonly = !this.task.activityInst.activity.isEditable;
20984
- if (this.form.formView) {
20985
- this.width = this.form.formView.width || "800";
20986
- this.name = this.form.formView.name;
20987
- this.description = this.form.formView.description;
20988
- }
20989
20979
  this.opened = true;
20990
20980
  });
20991
20981
  } else if (applicationType2.pageMode == "Form") {
@@ -21015,6 +21005,11 @@ const _sfc_main$1l = {
21015
21005
  this.outcomes = res2.data;
21016
21006
  });
21017
21007
  },
21008
+ customComponentReady(formView2) {
21009
+ this.width = formView2.width || "800";
21010
+ this.name = formView2.name;
21011
+ this.description = formView2.description;
21012
+ },
21018
21013
  async action(outcome) {
21019
21014
  let isOK = await this.form.validate();
21020
21015
  if (!isOK) {
@@ -21245,8 +21240,9 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
21245
21240
  $data.isCustom ? (openBlock(), createBlock(resolveDynamicComponent($data.customComponent), {
21246
21241
  key: 1,
21247
21242
  ref: "customComponent",
21248
- readonly: $data.readonly
21249
- }, null, 8, ["readonly"])) : createCommentVNode("", true)
21243
+ readonly: $data.readonly,
21244
+ onOnReady: $options.customComponentReady
21245
+ }, null, 40, ["readonly", "onOnReady"])) : createCommentVNode("", true)
21250
21246
  ])
21251
21247
  ]),
21252
21248
  _: 3
@@ -48563,13 +48559,13 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
48563
48559
  key: 1,
48564
48560
  class: normalizeClass(["i-layout-menu-side-title-text", {
48565
48561
  "i-layout-menu-side-title-text-selected": $props.selected,
48566
- "i-layout-menu-side-title-text-with-subtitle": _ctx.layout.showI18n && !!(_ctx.$t("Permission_" + $props.menu.code + "_SubName") || "").trim() || !_ctx.layout.showI18n && !!($props.menu.subtitle || "").trim(),
48562
+ "i-layout-menu-side-title-text-with-subtitle": _ctx.layout.showI18n && !!(_ctx.$t("Permission_" + $props.menu.code + "_SubName") || "").trim() || !_ctx.layout.showI18n && !!($props.menu.subTitle || "").trim(),
48567
48563
  "i-layout-menu-side-title-text-with-icon": $options.withIcon
48568
48564
  }])
48569
48565
  }, [
48570
48566
  createTextVNode(toDisplayString$1(_ctx.layout.showI18n ? _ctx.$t("Permission_" + $props.menu.code) : $props.menu.title) + " ", 1),
48571
48567
  _ctx.layout.showI18n && !!(_ctx.$t("Permission_" + $props.menu.code + "_SubName") || "").trim() ? (openBlock(), createElementBlock("em", _hoisted_2$8, toDisplayString$1(_ctx.$t("Permission_" + $props.menu.code + "_SubName")), 1)) : createCommentVNode("", true),
48572
- !_ctx.layout.showI18n && !!($props.menu.subtitle || "").trim() ? (openBlock(), createElementBlock("em", _hoisted_3$6, toDisplayString$1($props.menu.subtitle), 1)) : createCommentVNode("", true)
48568
+ !_ctx.layout.showI18n && !!($props.menu.subTitle || "").trim() ? (openBlock(), createElementBlock("em", _hoisted_3$6, toDisplayString$1($props.menu.subTitle), 1)) : createCommentVNode("", true)
48573
48569
  ], 2)) : createCommentVNode("", true)
48574
48570
  ], 2);
48575
48571
  }