form-custom-test 3.0.171 → 3.0.173
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 +35 -26
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +8 -8
- package/dist/render.es.js +30 -21
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +4 -4
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -4124,7 +4124,8 @@ var enLocale_extension = {
|
|
|
4124
4124
|
assetSelectAssetTypeValue: "Asset Type Value",
|
|
4125
4125
|
assetTypeAssetTypeValue: "Asset Type",
|
|
4126
4126
|
assetLimit: "Asset Limit",
|
|
4127
|
-
assetType: "Asset Typee"
|
|
4127
|
+
assetType: "Asset Typee",
|
|
4128
|
+
subTableShowIndex: "Show Index"
|
|
4128
4129
|
}
|
|
4129
4130
|
}
|
|
4130
4131
|
};
|
|
@@ -4184,7 +4185,8 @@ var zhLocale_extension = {
|
|
|
4184
4185
|
equityTableClickRow: "\u662F\u5426\u70B9\u51FB\u884C",
|
|
4185
4186
|
assetSelectAssetTypeValue: "\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
4186
4187
|
assetTypeAssetTypeValue: "\u9ED8\u8BA4\u8D44\u4EA7\u7C7B\u578B\u503C",
|
|
4187
|
-
assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236"
|
|
4188
|
+
assetSelectAssetLimit: "\u8D44\u4EA7\u9009\u62E9\u9650\u5236",
|
|
4189
|
+
subTableShowIndex: "\u662F\u5426\u663E\u793A\u5E8F\u53F7\u5217"
|
|
4188
4190
|
}
|
|
4189
4191
|
}
|
|
4190
4192
|
};
|
|
@@ -4217,7 +4219,7 @@ var i18n$1 = {
|
|
|
4217
4219
|
}
|
|
4218
4220
|
}
|
|
4219
4221
|
};
|
|
4220
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
4222
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$b = "";
|
|
4221
4223
|
var _export_sfc$1 = (sfc, props) => {
|
|
4222
4224
|
const target = sfc.__vccOpts || sfc;
|
|
4223
4225
|
for (const [key, val] of props) {
|
|
@@ -4265,7 +4267,7 @@ function _sfc_render$3H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4265
4267
|
], 2);
|
|
4266
4268
|
}
|
|
4267
4269
|
var SvgIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$3H, [["render", _sfc_render$3H], ["__scopeId", "data-v-8002b89a"]]);
|
|
4268
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
4270
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$a = "";
|
|
4269
4271
|
const _sfc_main$3G = {
|
|
4270
4272
|
name: "FieldPanel",
|
|
4271
4273
|
mixins: [i18n$1],
|
|
@@ -27480,7 +27482,7 @@ var ContainerItems = {
|
|
|
27480
27482
|
}
|
|
27481
27483
|
}
|
|
27482
27484
|
};
|
|
27483
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
27485
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$9 = "";
|
|
27484
27486
|
const _sfc_main$2Y = {
|
|
27485
27487
|
name: "VFormRender",
|
|
27486
27488
|
componentName: "VFormRender",
|
|
@@ -52773,7 +52775,7 @@ const VARIANT_FORM_VERSION = "3.0.10";
|
|
|
52773
52775
|
const MOCK_CASE_URL = "https://ks3-cn-beijing.ksyuncs.com/vform-static/vcase/";
|
|
52774
52776
|
const ACE_BASE_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini";
|
|
52775
52777
|
const BEAUTIFIER_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/js-beautify/1.14.0/beautifier.min.js";
|
|
52776
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
52778
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$8 = "";
|
|
52777
52779
|
const _sfc_main$2X = {
|
|
52778
52780
|
name: "CodeEditor",
|
|
52779
52781
|
props: {
|
|
@@ -53900,7 +53902,7 @@ var FileSaver_min = { exports: {} };
|
|
|
53900
53902
|
f.saveAs = g.saveAs = g, module.exports = g;
|
|
53901
53903
|
});
|
|
53902
53904
|
})(FileSaver_min);
|
|
53903
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
53905
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
53904
53906
|
const _sfc_main$2W = {
|
|
53905
53907
|
name: "ToolbarPanel",
|
|
53906
53908
|
mixins: [i18n$1],
|
|
@@ -62406,7 +62408,7 @@ var WidgetProperties = {
|
|
|
62406
62408
|
ADVANCED_PROPERTIES: ADVANCED_PROPERTIES$1,
|
|
62407
62409
|
EVENT_PROPERTIES: EVENT_PROPERTIES$1
|
|
62408
62410
|
};
|
|
62409
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
62411
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
62410
62412
|
const { COMMON_PROPERTIES, ADVANCED_PROPERTIES, EVENT_PROPERTIES } = WidgetProperties;
|
|
62411
62413
|
const _sfc_main$z = {
|
|
62412
62414
|
name: "SettingPanel",
|
|
@@ -64071,7 +64073,7 @@ var ContainerWidgets = {
|
|
|
64071
64073
|
}
|
|
64072
64074
|
}
|
|
64073
64075
|
};
|
|
64074
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
64076
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
64075
64077
|
const _sfc_main$s = {
|
|
64076
64078
|
name: "VFormWidget",
|
|
64077
64079
|
componentName: "VFormWidget",
|
|
@@ -65102,7 +65104,7 @@ function createDesigner(vueInstance) {
|
|
|
65102
65104
|
}
|
|
65103
65105
|
};
|
|
65104
65106
|
}
|
|
65105
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
65107
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
65106
65108
|
const _sfc_main$r = {
|
|
65107
65109
|
name: "VFormDesigner",
|
|
65108
65110
|
componentName: "VFormDesigner",
|
|
@@ -69010,13 +69012,13 @@ function registerIcon(app) {
|
|
|
69010
69012
|
if (typeof window !== "undefined") {
|
|
69011
69013
|
let loadSvg = function() {
|
|
69012
69014
|
var body = document.body;
|
|
69013
|
-
var svgDom = document.getElementById("
|
|
69015
|
+
var svgDom = document.getElementById("__svg__icons__dom__1779963040297__");
|
|
69014
69016
|
if (!svgDom) {
|
|
69015
69017
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69016
69018
|
svgDom.style.position = "absolute";
|
|
69017
69019
|
svgDom.style.width = "0";
|
|
69018
69020
|
svgDom.style.height = "0";
|
|
69019
|
-
svgDom.id = "
|
|
69021
|
+
svgDom.id = "__svg__icons__dom__1779963040297__";
|
|
69020
69022
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69021
69023
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69022
69024
|
}
|
|
@@ -79701,7 +79703,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79701
79703
|
}, 8, ["modelValue", "onClose"]);
|
|
79702
79704
|
}
|
|
79703
79705
|
var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-5cca3952"]]);
|
|
79704
|
-
var index_vue_vue_type_style_index_0_lang$
|
|
79706
|
+
var index_vue_vue_type_style_index_0_lang$1 = "";
|
|
79705
79707
|
const _sfc_main$8 = {
|
|
79706
79708
|
name: "asset-select-widget",
|
|
79707
79709
|
componentName: "FieldWidget",
|
|
@@ -80227,7 +80229,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80227
80229
|
}, 8, ["modelValue", "onClose"]);
|
|
80228
80230
|
}
|
|
80229
80231
|
var DetailDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-3a7f7afa"]]);
|
|
80230
|
-
var index_vue_vue_type_style_index_0_lang
|
|
80232
|
+
var index_vue_vue_type_style_index_0_lang = "";
|
|
80231
80233
|
const _sfc_main$6 = {
|
|
80232
80234
|
name: "asset-table-widget",
|
|
80233
80235
|
componentName: "FieldWidget",
|
|
@@ -80501,7 +80503,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80501
80503
|
}, 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"]);
|
|
80502
80504
|
}
|
|
80503
80505
|
var AssetTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
80504
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
80506
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
80505
80507
|
const _sfc_main$5 = {
|
|
80506
80508
|
name: "resolution-table-widget",
|
|
80507
80509
|
componentName: "FieldWidget",
|
|
@@ -80715,7 +80717,10 @@ const _sfc_main$5 = {
|
|
|
80715
80717
|
}
|
|
80716
80718
|
}
|
|
80717
80719
|
};
|
|
80718
|
-
const _hoisted_1$3 = {
|
|
80720
|
+
const _hoisted_1$3 = {
|
|
80721
|
+
key: 0,
|
|
80722
|
+
class: "upload-file-list"
|
|
80723
|
+
};
|
|
80719
80724
|
const _hoisted_2$3 = { class: "left-wrap" };
|
|
80720
80725
|
const _hoisted_3$2 = ["src"];
|
|
80721
80726
|
const _hoisted_4$2 = ["title"];
|
|
@@ -80757,7 +80762,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80757
80762
|
default: withCtx(() => [
|
|
80758
80763
|
createVNode(_component_el_table_column, {
|
|
80759
80764
|
prop: "companyName",
|
|
80760
|
-
label: "\u516C\u53F8\u540D\u79F0"
|
|
80765
|
+
label: "\u516C\u53F8\u540D\u79F0",
|
|
80766
|
+
width: "240"
|
|
80761
80767
|
}),
|
|
80762
80768
|
createVNode(_component_el_table_column, {
|
|
80763
80769
|
prop: "label2",
|
|
@@ -80765,7 +80771,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80765
80771
|
align: "left"
|
|
80766
80772
|
}, {
|
|
80767
80773
|
default: withCtx(({ row }) => [
|
|
80768
|
-
|
|
80774
|
+
row.fileName ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
80769
80775
|
createElementVNode("div", _hoisted_2$3, [
|
|
80770
80776
|
createElementVNode("img", {
|
|
80771
80777
|
src: $options.getFileIcon(row.fileName),
|
|
@@ -80788,7 +80794,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80788
80794
|
class: "pr-8px color-primary cursor-pointer file-action-right"
|
|
80789
80795
|
}, " \u4E0B\u8F7D ", 8, _hoisted_7$2)
|
|
80790
80796
|
])
|
|
80791
|
-
])
|
|
80797
|
+
])) : createCommentVNode("", true)
|
|
80792
80798
|
]),
|
|
80793
80799
|
_: 1
|
|
80794
80800
|
})
|
|
@@ -80800,8 +80806,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80800
80806
|
_: 1
|
|
80801
80807
|
}, 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"]);
|
|
80802
80808
|
}
|
|
80803
|
-
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
80804
|
-
var
|
|
80809
|
+
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-1a1bbd38"]]);
|
|
80810
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
80805
80811
|
const _sfc_main$4 = {
|
|
80806
80812
|
name: "fixed-table-widget",
|
|
80807
80813
|
componentName: "FieldWidget",
|
|
@@ -81171,7 +81177,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81171
81177
|
}),
|
|
81172
81178
|
createVNode(_component_el_table_column, {
|
|
81173
81179
|
prop: "remark",
|
|
81174
|
-
label: "\u5907\u6CE8"
|
|
81180
|
+
label: "\u5907\u6CE8",
|
|
81181
|
+
width: "330"
|
|
81175
81182
|
})
|
|
81176
81183
|
]),
|
|
81177
81184
|
_: 1
|
|
@@ -81190,8 +81197,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81190
81197
|
_: 1
|
|
81191
81198
|
}, 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"]);
|
|
81192
81199
|
}
|
|
81193
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4]]);
|
|
81194
|
-
var
|
|
81200
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-efede3a6"]]);
|
|
81201
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
81195
81202
|
const _sfc_main$3 = {
|
|
81196
81203
|
name: "equity-table-widget",
|
|
81197
81204
|
componentName: "FieldWidget",
|
|
@@ -81576,7 +81583,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81576
81583
|
}),
|
|
81577
81584
|
createVNode(_component_el_table_column, {
|
|
81578
81585
|
prop: "remark",
|
|
81579
|
-
label: "\u5907\u6CE8"
|
|
81586
|
+
label: "\u5907\u6CE8",
|
|
81587
|
+
width: "330"
|
|
81580
81588
|
})
|
|
81581
81589
|
]),
|
|
81582
81590
|
_: 1
|
|
@@ -81595,7 +81603,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81595
81603
|
_: 1
|
|
81596
81604
|
}, 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"]);
|
|
81597
81605
|
}
|
|
81598
|
-
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3]]);
|
|
81606
|
+
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-2a519ee3"]]);
|
|
81599
81607
|
const AssetTypeEnum = {
|
|
81600
81608
|
"0": "equity",
|
|
81601
81609
|
"1": "house",
|
|
@@ -82132,6 +82140,7 @@ const loadExtension = function(app) {
|
|
|
82132
82140
|
addContainerWidgetSchema(subTableSchema);
|
|
82133
82141
|
app.component(SubTableWidget.name, SubTableWidget);
|
|
82134
82142
|
app.component(SubTableItem.name, SubTableItem);
|
|
82143
|
+
registerCPEditor(app, "sub-table-showIndex", "sub-table-showIndex-editor", createBooleanEditor("showIndex", "extension.setting.subTableShowIndex"));
|
|
82135
82144
|
app.component("sub-table-columns-editor", SubTableColumnsEditor);
|
|
82136
82145
|
registerCPEditor(app, "sub-table-columns", "sub-table-columns-editor", SubTableColumnsEditor);
|
|
82137
82146
|
registerCPEditor(app, "select-tree-showCheckbox", "select-tree-showCheckbox-editor", createBooleanEditor("showCheckbox", "designer.setting.showCheckbox"));
|