form-custom-test 3.0.171 → 3.0.172

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
@@ -2012,7 +2012,8 @@ var enLocale_extension = {
2012
2012
  assetSelectAssetTypeValue: "Asset Type Value",
2013
2013
  assetTypeAssetTypeValue: "Asset Type",
2014
2014
  assetLimit: "Asset Limit",
2015
- assetType: "Asset Typee"
2015
+ assetType: "Asset Typee",
2016
+ subTableShowIndex: "Show Index"
2016
2017
  }
2017
2018
  }
2018
2019
  };
@@ -2072,7 +2073,8 @@ var zhLocale_extension = {
2072
2073
  equityTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
2073
2074
  assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
2074
2075
  assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",
2075
- assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236"
2076
+ assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236",
2077
+ subTableShowIndex: "\u662F\u5426\u663E\u793A\u5E8F\u53F7\u5217"
2076
2078
  }
2077
2079
  }
2078
2080
  };
@@ -26490,13 +26492,13 @@ function registerIcon(app) {
26490
26492
  if (typeof window !== "undefined") {
26491
26493
  let loadSvg = function() {
26492
26494
  var body = document.body;
26493
- var svgDom = document.getElementById("__svg__icons__dom__1779871140557__");
26495
+ var svgDom = document.getElementById("__svg__icons__dom__1779873406009__");
26494
26496
  if (!svgDom) {
26495
26497
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26496
26498
  svgDom.style.position = "absolute";
26497
26499
  svgDom.style.width = "0";
26498
26500
  svgDom.style.height = "0";
26499
- svgDom.id = "__svg__icons__dom__1779871140557__";
26501
+ svgDom.id = "__svg__icons__dom__1779873406009__";
26500
26502
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26501
26503
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26502
26504
  }
@@ -63794,11 +63796,12 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
63794
63796
  default: withCtx(({ row }) => [
63795
63797
  createElementVNode("div", _hoisted_1$3, [
63796
63798
  createElementVNode("div", _hoisted_2$3, [
63797
- createElementVNode("img", {
63799
+ row.fileName ? (openBlock(), createElementBlock("img", {
63800
+ key: 0,
63798
63801
  src: $options.getFileIcon(row.fileName),
63799
63802
  alt: "",
63800
63803
  style: { "width": "18px", "height": "18px", "margin-right": "8px" }
63801
- }, null, 8, _hoisted_3$2),
63804
+ }, null, 8, _hoisted_3$2)) : createCommentVNode("", true),
63802
63805
  createElementVNode("div", {
63803
63806
  class: "upload-file-name",
63804
63807
  title: row.fileName
@@ -63827,7 +63830,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
63827
63830
  _: 1
63828
63831
  }, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
63829
63832
  }
63830
- var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-4448f07d"]]);
63833
+ var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-4e95dfe2"]]);
63831
63834
  var index_vue_vue_type_style_index_0_lang$1 = "";
63832
63835
  const _sfc_main$4 = {
63833
63836
  name: "fixed-table-widget",
@@ -65147,6 +65150,7 @@ const loadExtension = function(app) {
65147
65150
  app.component(CustomTableCellItem.name, CustomTableCellItem);
65148
65151
  app.component(SubTableWidget.name, SubTableWidget);
65149
65152
  app.component(SubTableItem.name, SubTableItem);
65153
+ registerCPEditor(app, "sub-table-showIndex", "sub-table-showIndex-editor", createBooleanEditor("showIndex", "extension.setting.subTableShowIndex"));
65150
65154
  app.component("sub-table-columns-editor", SubTableColumnsEditor);
65151
65155
  registerCPEditor(app, "sub-table-columns", "sub-table-columns-editor", SubTableColumnsEditor);
65152
65156
  registerCPEditor(app, "select-tree-showCheckbox", "select-tree-showCheckbox-editor", createBooleanEditor("showCheckbox", "designer.setting.showCheckbox"));