mooho-base-admin-plus 0.4.33 → 0.4.36

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.
@@ -1,4 +1,4 @@
1
- import require$$0$1, { watch, reactive, shallowRef, unref, computed, nextTick, defineComponent, inject, h, provide, ref, openBlock, createElementBlock, createElementVNode, normalizeStyle as normalizeStyle$1, toDisplayString as toDisplayString$1, withDirectives, vModelText, pushScopeId, popScopeId, resolveComponent, resolveDirective, createVNode as createVNode$1, withCtx, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, renderSlot, mergeProps, resolveDynamicComponent, withModifiers, normalizeProps, guardReactiveProps, vShow, Transition, normalizeClass, KeepAlive } from "vue";
1
+ import require$$0$1, { watch, reactive, shallowRef, unref, computed, nextTick, defineComponent, inject, h, provide, ref, openBlock, createElementBlock, createElementVNode, normalizeStyle as normalizeStyle$1, toDisplayString as toDisplayString$1, withDirectives, vModelText, pushScopeId, popScopeId, resolveComponent, resolveDirective, createVNode as createVNode$1, withCtx, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, renderSlot, mergeProps, markRaw, resolveDynamicComponent, withModifiers, normalizeProps, guardReactiveProps, vShow, Transition, normalizeClass, KeepAlive } from "vue";
2
2
  import ViewUIPlus from "view-ui-plus";
3
3
  function getDevtoolsGlobalHook() {
4
4
  return getTarget$1().__VUE_DEVTOOLS_GLOBAL_HOOK__;
@@ -20923,7 +20923,7 @@ const _sfc_main$1k = {
20923
20923
  this.$router.push({ path: this.task.activityInst.activity.routerPath, query: { taskID: row.id } });
20924
20924
  return;
20925
20925
  } else if (this.task.activityInst.activity.pageMode == "Component") {
20926
- this.customComponent = this.$pages[this.task.activityInst.activity.templateUrl];
20926
+ this.customComponent = markRaw(this.$pages[this.task.activityInst.activity.templateUrl]);
20927
20927
  this.isCustom = true;
20928
20928
  setTimeout(async () => {
20929
20929
  if (applicationType2.isCustom) {
@@ -20966,7 +20966,7 @@ const _sfc_main$1k = {
20966
20966
  this.$router.push({ path: applicationType2.routerPath, query: { taskID: row.id } });
20967
20967
  return;
20968
20968
  } else if (applicationType2.pageMode == "Component") {
20969
- this.customComponent = this.$pages[applicationType2.templateUrl];
20969
+ this.customComponent = markRaw(this.$pages[applicationType2.templateUrl]);
20970
20970
  this.isCustom = true;
20971
20971
  setTimeout(async () => {
20972
20972
  if (applicationType2.isCustom) {
@@ -32617,6 +32617,9 @@ const _sfc_main$w = {
32617
32617
  },
32618
32618
  getFullData() {
32619
32619
  let data2 = this.copy(this.data);
32620
+ if (!data2) {
32621
+ return null;
32622
+ }
32620
32623
  data2.tableData = [];
32621
32624
  for (let column of this.columns) {
32622
32625
  if (column.controlType == "Table" && !column.isReadonly && column.isShow) {
@@ -37410,7 +37413,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
37410
37413
  ]);
37411
37414
  }
37412
37415
  var tableFilter = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
37413
- var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-1037ea86]{display:flex}.image-group .image[data-v-1037ea86]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-1037ea86]{width:75px;height:75px}\n")();
37416
+ var viewTable_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-group[data-v-d7ce4e9c]{display:flex}.image-group .image[data-v-d7ce4e9c]{border:solid 1px #ccc;width:75px;height:75px;margin:2px 1px;cursor:pointer}.image-group .image img[data-v-d7ce4e9c]{width:75px;height:75px}\n")();
37414
37417
  var getColumns = (view, item) => {
37415
37418
  let children = view.viewColumns.filter((i2) => {
37416
37419
  return i2.parentCode == item.code;
@@ -38945,7 +38948,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
38945
38948
  "model-value": _ctx.parseData($options.rowData(row, index2), column.code),
38946
38949
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
38947
38950
  readonly: $options.isReadonly($options.rowData(row, index2), column),
38948
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
38951
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
38949
38952
  maxlength: column.maxLength,
38950
38953
  pattern: column.pattern,
38951
38954
  placeholder: column.description,
@@ -38958,7 +38961,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
38958
38961
  "model-value": _ctx.parseData($options.rowData(row, index2), column.code),
38959
38962
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
38960
38963
  readonly: $options.isReadonly($options.rowData(row, index2), column),
38961
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
38964
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
38962
38965
  rows: column.controlHeight / 20,
38963
38966
  maxlength: column.maxLength,
38964
38967
  placeholder: column.description
@@ -38970,7 +38973,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
38970
38973
  "model-value": _ctx.parseData($options.rowData(row, index2), column.code),
38971
38974
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
38972
38975
  readonly: $options.isReadonly($options.rowData(row, index2), column),
38973
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
38976
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
38974
38977
  placeholder: column.description,
38975
38978
  onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column),
38976
38979
  onOnBlur: ($event) => $options.onBlur($options.rowData(row, index2), column)
@@ -38981,7 +38984,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
38981
38984
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
38982
38985
  disabled: $options.isReadonly($options.rowData(row, index2), column),
38983
38986
  clearable: "",
38984
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
38987
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
38985
38988
  placeholder: column.description,
38986
38989
  transfer: true,
38987
38990
  onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
@@ -39008,7 +39011,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39008
39011
  disabled: $options.isReadonly($options.rowData(row, index2), column),
39009
39012
  multiple: true,
39010
39013
  clearable: "",
39011
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39014
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39012
39015
  placeholder: column.description,
39013
39016
  transfer: true,
39014
39017
  onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
@@ -39035,7 +39038,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39035
39038
  disabled: $options.isReadonly($options.rowData(row, index2), column),
39036
39039
  clearable: "",
39037
39040
  filterable: "",
39038
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39041
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39039
39042
  placeholder: column.description,
39040
39043
  transfer: true,
39041
39044
  onOnChange: (selected) => $options.onSelectDataChange($options.rowData(row, index2), column, selected)
@@ -39087,7 +39090,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39087
39090
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
39088
39091
  readonly: $options.isReadonly($options.rowData(row, index2), column),
39089
39092
  placeholder: column.description,
39090
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39093
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39091
39094
  transfer: true,
39092
39095
  onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
39093
39096
  }, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "DateRange" ? (openBlock(), createBlock(_component_DatePicker, {
@@ -39098,7 +39101,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39098
39101
  "onUpdate:modelValue": ($event) => _ctx.setArrayData($options.rowData(row, index2), column.code, $event),
39099
39102
  readonly: $options.isReadonly($options.rowData(row, index2), column),
39100
39103
  placeholder: column.description,
39101
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39104
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39102
39105
  transfer: true,
39103
39106
  onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
39104
39107
  }, null, 8, ["type", "model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Time" ? (openBlock(), createBlock(_component_TimePicker, {
@@ -39109,7 +39112,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39109
39112
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
39110
39113
  readonly: $options.isReadonly($options.rowData(row, index2), column),
39111
39114
  placeholder: column.description,
39112
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39115
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39113
39116
  transfer: true,
39114
39117
  onOnChange: ($event) => $options.onDataChange($options.rowData(row, index2), column)
39115
39118
  }, null, 8, ["model-value", "onUpdate:modelValue", "readonly", "placeholder", "style", "onOnChange"])) : column.controlType === "Check" ? (openBlock(), createBlock(_component_Checkbox, {
@@ -39200,7 +39203,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39200
39203
  "model-value": _ctx.parseData($options.rowData(row, index2), column.code),
39201
39204
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
39202
39205
  "show-input": "",
39203
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39206
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39204
39207
  max: column.MaxValue,
39205
39208
  min: column.MinValue
39206
39209
  }, null, 8, ["model-value", "onUpdate:modelValue", "style", "max", "min"]),
@@ -39209,7 +39212,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39209
39212
  "model-value": _ctx.parseData($options.rowData(row, index2), column.code),
39210
39213
  "onUpdate:modelValue": ($event) => _ctx.setData($options.rowData(row, index2), column.code, $event),
39211
39214
  "show-input": "",
39212
- style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 36 + "px" }),
39215
+ style: normalizeStyle$1({ width: column.controlWidth == null ? null : column.controlWidth - 0 + "px" }),
39213
39216
  max: column.maxValue,
39214
39217
  min: column.minValue
39215
39218
  }, null, 8, ["model-value", "onUpdate:modelValue", "style", "max", "min"])) : createCommentVNode("", true),
@@ -39408,7 +39411,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
39408
39411
  ], 2)
39409
39412
  ], 2);
39410
39413
  }
39411
- var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-1037ea86"]]);
39414
+ var ViewTable = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q], ["__scopeId", "data-v-d7ce4e9c"]]);
39412
39415
  const _sfc_main$p = {
39413
39416
  mixins: [mixinPage],
39414
39417
  components: { columnSelect, columnEdit },