form-custom-test 3.0.235 → 3.0.236

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/dist/render.es.js CHANGED
@@ -26648,13 +26648,13 @@ function registerIcon(app) {
26648
26648
  if (typeof window !== "undefined") {
26649
26649
  let loadSvg = function() {
26650
26650
  var body = document.body;
26651
- var svgDom = document.getElementById("__svg__icons__dom__1784189603868__");
26651
+ var svgDom = document.getElementById("__svg__icons__dom__1784190046832__");
26652
26652
  if (!svgDom) {
26653
26653
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26654
26654
  svgDom.style.position = "absolute";
26655
26655
  svgDom.style.width = "0";
26656
26656
  svgDom.style.height = "0";
26657
- svgDom.id = "__svg__icons__dom__1784189603868__";
26657
+ svgDom.id = "__svg__icons__dom__1784190046832__";
26658
26658
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26659
26659
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26660
26660
  }
@@ -36979,7 +36979,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
36979
36979
  modelValue: $data.dialogFormData[col.prop],
36980
36980
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
36981
36981
  placeholder: col.placeholder || `\u8BF7\u8F93\u5165${col.label}`,
36982
- disabled: $props.widget.options.disabled,
36982
+ disabled: !col.editable,
36983
36983
  maxlength: $options.getColMaxLength(col),
36984
36984
  "show-word-limit": !!col.showWordLimit && !!col.maxLength,
36985
36985
  onChange: ($event) => $options.handleInputChange(col),
@@ -36989,7 +36989,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
36989
36989
  modelValue: $data.dialogFormData[col.prop],
36990
36990
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
36991
36991
  placeholder: col.placeholder || `\u8BF7\u8F93\u5165${col.label}`,
36992
- disabled: $props.widget.options.disabled,
36992
+ disabled: !col.editable,
36993
36993
  style: { "width": "100%" },
36994
36994
  onChange: ($event) => $options.handleInputChange(col),
36995
36995
  clearable: ""
@@ -36999,43 +36999,43 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
36999
36999
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
37000
37000
  type: "date",
37001
37001
  placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
37002
- disabled: $props.widget.options.disabled,
37003
37002
  style: { "width": "100%" },
37004
37003
  "value-format": "YYYY-MM-DD",
37005
37004
  onChange: ($event) => $options.handleInputChange(col),
37006
- clearable: ""
37007
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "datetime" ? (openBlock(), createBlock(_component_el_date_picker, {
37005
+ clearable: "",
37006
+ disabled: !col.editable
37007
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "disabled"])) : col.type === "datetime" ? (openBlock(), createBlock(_component_el_date_picker, {
37008
37008
  key: 3,
37009
37009
  modelValue: $data.dialogFormData[col.prop],
37010
37010
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
37011
37011
  type: "datetime",
37012
37012
  placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
37013
- disabled: $props.widget.options.disabled,
37014
37013
  clearable: "",
37015
37014
  style: { "width": "100%" },
37016
- "value-format": "YYYY-MM-DD HH:mm:ss"
37015
+ "value-format": "YYYY-MM-DD HH:mm:ss",
37016
+ disabled: !col.editable
37017
37017
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : col.type === "month" ? (openBlock(), createBlock(_component_el_date_picker, {
37018
37018
  key: 4,
37019
37019
  modelValue: $data.dialogFormData[col.prop],
37020
37020
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
37021
37021
  type: "month",
37022
37022
  placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
37023
- disabled: $props.widget.options.disabled,
37024
37023
  style: { "width": "100%" },
37025
37024
  "value-format": "YYYY-MM",
37026
37025
  clearable: "",
37027
- onChange: ($event) => $options.handleInputChange(col)
37028
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "select" ? (openBlock(), createBlock(_component_el_select, {
37026
+ onChange: ($event) => $options.handleInputChange(col),
37027
+ disabled: !col.editable
37028
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "disabled"])) : col.type === "select" ? (openBlock(), createBlock(_component_el_select, {
37029
37029
  modelValue: $data.dialogFormData[col.prop],
37030
37030
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
37031
37031
  placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
37032
- disabled: $props.widget.options.disabled,
37033
37032
  clearable: "",
37034
37033
  style: { "width": "100%" },
37035
37034
  ref_for: true,
37036
37035
  ref: (el) => $options.handleSelectMounted(el, col),
37037
37036
  onChange: ($event) => $options.handleInputChange(col),
37038
- key: `select-${col.prop}-${$data.dialogFormData._columnOptions ? Object.keys($data.dialogFormData._columnOptions).length : 0}`
37037
+ key: `select-${col.prop}-${$data.dialogFormData._columnOptions ? Object.keys($data.dialogFormData._columnOptions).length : 0}`,
37038
+ disabled: !col.editable
37039
37039
  }, {
37040
37040
  default: withCtx(() => [
37041
37041
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.getColumnOptions(col), (option, optIdx) => {
@@ -37047,18 +37047,18 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
37047
37047
  }), 128))
37048
37048
  ]),
37049
37049
  _: 2
37050
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "textarea" ? (openBlock(), createBlock(_component_el_textarea, {
37050
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "disabled"])) : col.type === "textarea" ? (openBlock(), createBlock(_component_el_textarea, {
37051
37051
  key: 6,
37052
37052
  modelValue: $data.dialogFormData[col.prop],
37053
37053
  "onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
37054
37054
  placeholder: col.placeholder || `\u8BF7\u8F93\u5165${col.label}`,
37055
- disabled: $props.widget.options.disabled,
37056
37055
  rows: col.rows || 3,
37057
37056
  maxlength: $options.getColMaxLength(col),
37058
37057
  "show-word-limit": !!col.showWordLimit && !!col.maxLength,
37059
37058
  clearable: "",
37060
- onChange: ($event) => $options.handleInputChange(col)
37061
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "maxlength", "show-word-limit", "onChange"])) : createCommentVNode("", true)
37059
+ onChange: ($event) => $options.handleInputChange(col),
37060
+ disabled: !col.editable
37061
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "rows", "maxlength", "show-word-limit", "onChange", "disabled"])) : createCommentVNode("", true)
37062
37062
  ]),
37063
37063
  _: 2
37064
37064
  }, 1032, ["label", "prop", "required"]);
@@ -37076,7 +37076,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
37076
37076
  _: 1
37077
37077
  }, 8, ["widget"]);
37078
37078
  }
37079
- var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-758078c3"]]);
37079
+ var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-1498af31"]]);
37080
37080
  var ace$2 = { exports: {} };
37081
37081
  (function(module, exports) {
37082
37082
  (function() {