form-custom-test 3.0.170 → 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/designer.es.js +21 -15
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +19 -15
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +55 -55
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -3934,6 +3934,7 @@ const fixedTableSchema = {
|
|
|
3934
3934
|
validation: "",
|
|
3935
3935
|
validationHint: "",
|
|
3936
3936
|
hidden: false,
|
|
3937
|
+
disabled: true,
|
|
3937
3938
|
typeJson: {},
|
|
3938
3939
|
clickRow: true,
|
|
3939
3940
|
customClass: "",
|
|
@@ -3956,6 +3957,7 @@ const equityTableSchema = {
|
|
|
3956
3957
|
requiredHint: "",
|
|
3957
3958
|
validation: "",
|
|
3958
3959
|
validationHint: "",
|
|
3960
|
+
disabled: true,
|
|
3959
3961
|
hidden: false,
|
|
3960
3962
|
typeJson: {},
|
|
3961
3963
|
clickRow: true,
|
|
@@ -4114,15 +4116,16 @@ var enLocale_extension = {
|
|
|
4114
4116
|
assetSelectButtonText: "Button Text",
|
|
4115
4117
|
assetSelectTypeJson: "Asset Type Json",
|
|
4116
4118
|
assetTableTypeJson: "Asset Table Type Json",
|
|
4117
|
-
|
|
4119
|
+
fixedTableTypeJson: "Fixed Table Type Json",
|
|
4118
4120
|
assetTableClickRow: "Click Row",
|
|
4119
|
-
|
|
4121
|
+
fixedTableClickRow: "Click Row",
|
|
4120
4122
|
equityTableTypeJson: "Equity Table Type Json",
|
|
4121
4123
|
equityTableClickRow: "Click Row",
|
|
4122
4124
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
4123
4125
|
assetTypeAssetTypeValue: "Asset Type",
|
|
4124
4126
|
assetLimit: "Asset Limit",
|
|
4125
|
-
assetType: "Asset Typee"
|
|
4127
|
+
assetType: "Asset Typee",
|
|
4128
|
+
subTableShowIndex: "Show Index"
|
|
4126
4129
|
}
|
|
4127
4130
|
}
|
|
4128
4131
|
};
|
|
@@ -4175,14 +4178,15 @@ var zhLocale_extension = {
|
|
|
4175
4178
|
assetSelectButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
4176
4179
|
assetSelectTypeJson: "\u8D44\u4EA7\u7C7B\u578BJson",
|
|
4177
4180
|
assetTableTypeJson: "\u8D44\u4EA7\u8868\u683C\u7C7B\u578BJson",
|
|
4178
|
-
|
|
4181
|
+
fixedTableTypeJson: "\u8D44\u4EA7\u6295\u8D44\u8868\u683CJson",
|
|
4179
4182
|
assetTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
|
|
4180
|
-
|
|
4183
|
+
fixedTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
|
|
4181
4184
|
equityTableTypeJson: "\u8D44\u4EA7\u6295\u8D44\u8868\u683CJson",
|
|
4182
4185
|
equityTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
|
|
4183
4186
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
4184
4187
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
4185
|
-
assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236"
|
|
4188
|
+
assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236",
|
|
4189
|
+
subTableShowIndex: "\u662F\u5426\u663E\u793A\u5E8F\u53F7\u5217"
|
|
4186
4190
|
}
|
|
4187
4191
|
}
|
|
4188
4192
|
};
|
|
@@ -69008,13 +69012,13 @@ function registerIcon(app) {
|
|
|
69008
69012
|
if (typeof window !== "undefined") {
|
|
69009
69013
|
let loadSvg = function() {
|
|
69010
69014
|
var body = document.body;
|
|
69011
|
-
var svgDom = document.getElementById("
|
|
69015
|
+
var svgDom = document.getElementById("__svg__icons__dom__1779873397432__");
|
|
69012
69016
|
if (!svgDom) {
|
|
69013
69017
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69014
69018
|
svgDom.style.position = "absolute";
|
|
69015
69019
|
svgDom.style.width = "0";
|
|
69016
69020
|
svgDom.style.height = "0";
|
|
69017
|
-
svgDom.id = "
|
|
69021
|
+
svgDom.id = "__svg__icons__dom__1779873397432__";
|
|
69018
69022
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69019
69023
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69020
69024
|
}
|
|
@@ -80603,7 +80607,7 @@ const _sfc_main$5 = {
|
|
|
80603
80607
|
return new URL({ "../../assets/image/fileType/7z.png": __glob_6_0, "../../assets/image/fileType/bmp.png": __glob_6_1, "../../assets/image/fileType/default.png": __glob_6_2, "../../assets/image/fileType/doc.png": __glob_6_3, "../../assets/image/fileType/docx.png": __glob_6_4, "../../assets/image/fileType/dot.png": __glob_6_5, "../../assets/image/fileType/et.png": __glob_6_6, "../../assets/image/fileType/ett.png": __glob_6_7, "../../assets/image/fileType/jpeg.png": __glob_6_8, "../../assets/image/fileType/jpg.png": __glob_6_9, "../../assets/image/fileType/mp3.png": __glob_6_10, "../../assets/image/fileType/mp4.png": __glob_6_11, "../../assets/image/fileType/ofd.png": __glob_6_12, "../../assets/image/fileType/pdf.png": __glob_6_13, "../../assets/image/fileType/png.png": __glob_6_14, "../../assets/image/fileType/ppt.png": __glob_6_15, "../../assets/image/fileType/pptx.png": __glob_6_16, "../../assets/image/fileType/rar.png": __glob_6_17, "../../assets/image/fileType/tar.png": __glob_6_18, "../../assets/image/fileType/txt.png": __glob_6_19, "../../assets/image/fileType/wav.png": __glob_6_20, "../../assets/image/fileType/wps.png": __glob_6_21, "../../assets/image/fileType/wpt.png": __glob_6_22, "../../assets/image/fileType/xls.png": __glob_6_23, "../../assets/image/fileType/xlsx.png": __glob_6_24, "../../assets/image/fileType/xlt.png": __glob_6_25, "../../assets/image/fileType/zip.png": __glob_6_26 }[`../../assets/image/fileType/${ext}.png`], self.location);
|
|
80604
80608
|
},
|
|
80605
80609
|
isZip(fileName) {
|
|
80606
|
-
const ext = fileName.substring(fileName.lastIndexOf(".") + 1).toLowerCase();
|
|
80610
|
+
const ext = fileName == null ? void 0 : fileName.substring((fileName == null ? void 0 : fileName.lastIndexOf(".")) + 1).toLowerCase();
|
|
80607
80611
|
return ext === "zip" || ext === "rar" || ext === "7z" || ext === "tar";
|
|
80608
80612
|
},
|
|
80609
80613
|
async handlePreview(file) {
|
|
@@ -80765,11 +80769,12 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80765
80769
|
default: withCtx(({ row }) => [
|
|
80766
80770
|
createElementVNode("div", _hoisted_1$3, [
|
|
80767
80771
|
createElementVNode("div", _hoisted_2$3, [
|
|
80768
|
-
|
|
80772
|
+
row.fileName ? (openBlock(), createElementBlock("img", {
|
|
80773
|
+
key: 0,
|
|
80769
80774
|
src: $options.getFileIcon(row.fileName),
|
|
80770
80775
|
alt: "",
|
|
80771
80776
|
style: { "width": "18px", "height": "18px", "margin-right": "8px" }
|
|
80772
|
-
}, null, 8, _hoisted_3$2),
|
|
80777
|
+
}, null, 8, _hoisted_3$2)) : createCommentVNode("", true),
|
|
80773
80778
|
createElementVNode("div", {
|
|
80774
80779
|
class: "upload-file-name",
|
|
80775
80780
|
title: row.fileName
|
|
@@ -80798,7 +80803,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80798
80803
|
_: 1
|
|
80799
80804
|
}, 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"]);
|
|
80800
80805
|
}
|
|
80801
|
-
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
80806
|
+
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-4e95dfe2"]]);
|
|
80802
80807
|
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
80803
80808
|
const _sfc_main$4 = {
|
|
80804
80809
|
name: "fixed-table-widget",
|
|
@@ -82130,6 +82135,7 @@ const loadExtension = function(app) {
|
|
|
82130
82135
|
addContainerWidgetSchema(subTableSchema);
|
|
82131
82136
|
app.component(SubTableWidget.name, SubTableWidget);
|
|
82132
82137
|
app.component(SubTableItem.name, SubTableItem);
|
|
82138
|
+
registerCPEditor(app, "sub-table-showIndex", "sub-table-showIndex-editor", createBooleanEditor("showIndex", "extension.setting.subTableShowIndex"));
|
|
82133
82139
|
app.component("sub-table-columns-editor", SubTableColumnsEditor);
|
|
82134
82140
|
registerCPEditor(app, "sub-table-columns", "sub-table-columns-editor", SubTableColumnsEditor);
|
|
82135
82141
|
registerCPEditor(app, "select-tree-showCheckbox", "select-tree-showCheckbox-editor", createBooleanEditor("showCheckbox", "designer.setting.showCheckbox"));
|
|
@@ -82158,9 +82164,9 @@ const loadExtension = function(app) {
|
|
|
82158
82164
|
registerEPEditor(app, "asset-table-onOpen", "asset-table-onOpen-editor", createEventHandlerEditor("onOpen", ["rowData"]));
|
|
82159
82165
|
addCustomWidgetSchema(fixedTableSchema);
|
|
82160
82166
|
app.component(FixedTableWidget.name, FixedTableWidget);
|
|
82161
|
-
registerCPEditor(app, "
|
|
82162
|
-
registerCPEditor(app, "
|
|
82163
|
-
registerEPEditor(app, "
|
|
82167
|
+
registerCPEditor(app, "fixed-table-typeJson", "fixed-table-typeJson-editor", createInputTextEditor("typeJson", "extension.setting.fixedTableTypeJson"));
|
|
82168
|
+
registerCPEditor(app, "fixed-table-clickRow", "fixed-table-clickRow-editor", createBooleanEditor("clickRow", "extension.setting.fixedTableClickRow"));
|
|
82169
|
+
registerEPEditor(app, "fixed-table-onOpen", "fixed-table-onOpen-editor", createEventHandlerEditor("onOpen", ["rowData"]));
|
|
82164
82170
|
addCustomWidgetSchema(equityTableSchema);
|
|
82165
82171
|
app.component(EquityTableSchema.name, EquityTableSchema);
|
|
82166
82172
|
registerCPEditor(app, "equity-table-typeJson", "equity-table-typeJson-editor", createInputTextEditor("typeJson", "extension.setting.equityTableTypeJson"));
|