form-custom-test 3.0.196 → 3.0.198
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 +74 -17
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +74 -17
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +4 -4
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -3125,11 +3125,11 @@ const getRegExp = function(validatorName2) {
|
|
|
3125
3125
|
maxLen12Decimals6: "/^\\d{1,12}(\\.\\d{1,6})?$/",
|
|
3126
3126
|
isPositiveIntegerLength: "/^([1-9]\\d{0,3})$/",
|
|
3127
3127
|
isPositiveIntegerZero: "/^0$|^([1-9]\\d{0,3})$/",
|
|
3128
|
-
maxLen10Decimals2: "
|
|
3128
|
+
maxLen10Decimals2: "/^(0|[1-9]\\d{0,9})(\\.\\d{1,2})?$/",
|
|
3129
3129
|
maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/",
|
|
3130
3130
|
latitude: "/^-?(?:90(?:\\.0{1,6})?|[1-8]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/",
|
|
3131
3131
|
sixFigures: "/^(0|[1-9]\\d{0,5})(\\.\\d{1,6})?$/",
|
|
3132
|
-
percentage: "/^(?:100(?:\\.0{
|
|
3132
|
+
percentage: "/^(?:100(?:\\.0{1,4})?|[1-9]?\\d(?:\\.\\d{1,4})?|0(?:\\.\\d{1,4})?)$/",
|
|
3133
3133
|
longitude: "/^-?(?:180(?:\\.0{1,6})?|1[0-7]\\d(?:\\.\\d{1,6})?|[1-9]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/"
|
|
3134
3134
|
};
|
|
3135
3135
|
return commonRegExp[validatorName2];
|
|
@@ -26517,13 +26517,13 @@ function registerIcon(app) {
|
|
|
26517
26517
|
if (typeof window !== "undefined") {
|
|
26518
26518
|
let loadSvg = function() {
|
|
26519
26519
|
var body = document.body;
|
|
26520
|
-
var svgDom = document.getElementById("
|
|
26520
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780640202835__");
|
|
26521
26521
|
if (!svgDom) {
|
|
26522
26522
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26523
26523
|
svgDom.style.position = "absolute";
|
|
26524
26524
|
svgDom.style.width = "0";
|
|
26525
26525
|
svgDom.style.height = "0";
|
|
26526
|
-
svgDom.id = "
|
|
26526
|
+
svgDom.id = "__svg__icons__dom__1780640202835__";
|
|
26527
26527
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26528
26528
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26529
26529
|
}
|
|
@@ -36797,7 +36797,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36797
36797
|
disabled: $props.widget.options.disabled,
|
|
36798
36798
|
maxlength: $options.getColMaxLength(col),
|
|
36799
36799
|
"show-word-limit": !!col.showWordLimit && !!col.maxLength,
|
|
36800
|
-
onChange: ($event) => $options.handleInputChange(col)
|
|
36800
|
+
onChange: ($event) => $options.handleInputChange(col),
|
|
36801
|
+
clearable: ""
|
|
36801
36802
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "maxlength", "show-word-limit", "onChange"])) : col.type === "number" ? (openBlock(), createBlock(_component_el_input_number, {
|
|
36802
36803
|
key: 1,
|
|
36803
36804
|
modelValue: $data.dialogFormData[col.prop],
|
|
@@ -36805,7 +36806,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36805
36806
|
placeholder: col.placeholder || `\u8BF7\u8F93\u5165${col.label}`,
|
|
36806
36807
|
disabled: $props.widget.options.disabled,
|
|
36807
36808
|
style: { "width": "100%" },
|
|
36808
|
-
onChange: ($event) => $options.handleInputChange(col)
|
|
36809
|
+
onChange: ($event) => $options.handleInputChange(col),
|
|
36810
|
+
clearable: ""
|
|
36809
36811
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "date" ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
36810
36812
|
key: 2,
|
|
36811
36813
|
modelValue: $data.dialogFormData[col.prop],
|
|
@@ -36815,7 +36817,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36815
36817
|
disabled: $props.widget.options.disabled,
|
|
36816
36818
|
style: { "width": "100%" },
|
|
36817
36819
|
"value-format": "YYYY-MM-DD",
|
|
36818
|
-
onChange: ($event) => $options.handleInputChange(col)
|
|
36820
|
+
onChange: ($event) => $options.handleInputChange(col),
|
|
36821
|
+
clearable: ""
|
|
36819
36822
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "datetime" ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
36820
36823
|
key: 3,
|
|
36821
36824
|
modelValue: $data.dialogFormData[col.prop],
|
|
@@ -36823,6 +36826,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36823
36826
|
type: "datetime",
|
|
36824
36827
|
placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
|
|
36825
36828
|
disabled: $props.widget.options.disabled,
|
|
36829
|
+
clearable: "",
|
|
36826
36830
|
style: { "width": "100%" },
|
|
36827
36831
|
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
36828
36832
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : col.type === "month" ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
@@ -36834,12 +36838,14 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36834
36838
|
disabled: $props.widget.options.disabled,
|
|
36835
36839
|
style: { "width": "100%" },
|
|
36836
36840
|
"value-format": "YYYY-MM",
|
|
36841
|
+
clearable: "",
|
|
36837
36842
|
onChange: ($event) => $options.handleInputChange(col)
|
|
36838
36843
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "select" ? (openBlock(), createBlock(_component_el_select, {
|
|
36839
36844
|
modelValue: $data.dialogFormData[col.prop],
|
|
36840
36845
|
"onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
|
|
36841
36846
|
placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
|
|
36842
36847
|
disabled: $props.widget.options.disabled,
|
|
36848
|
+
clearable: "",
|
|
36843
36849
|
style: { "width": "100%" },
|
|
36844
36850
|
ref_for: true,
|
|
36845
36851
|
ref: (el) => $options.handleSelectMounted(el, col),
|
|
@@ -36865,6 +36871,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36865
36871
|
rows: col.rows || 3,
|
|
36866
36872
|
maxlength: $options.getColMaxLength(col),
|
|
36867
36873
|
"show-word-limit": !!col.showWordLimit && !!col.maxLength,
|
|
36874
|
+
clearable: "",
|
|
36868
36875
|
onChange: ($event) => $options.handleInputChange(col)
|
|
36869
36876
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "maxlength", "show-word-limit", "onChange"])) : createCommentVNode("", true)
|
|
36870
36877
|
]),
|
|
@@ -36884,7 +36891,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36884
36891
|
_: 1
|
|
36885
36892
|
}, 8, ["widget"]);
|
|
36886
36893
|
}
|
|
36887
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-
|
|
36894
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-0b6beffd"]]);
|
|
36888
36895
|
var ace$2 = { exports: {} };
|
|
36889
36896
|
(function(module, exports) {
|
|
36890
36897
|
(function() {
|
|
@@ -63915,7 +63922,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
63915
63922
|
_: 1
|
|
63916
63923
|
}, 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"]);
|
|
63917
63924
|
}
|
|
63918
|
-
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
63925
|
+
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-0386b766"]]);
|
|
63919
63926
|
class DictManager {
|
|
63920
63927
|
constructor() {
|
|
63921
63928
|
this.dictCache = {};
|
|
@@ -64296,7 +64303,27 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64296
64303
|
width: "100"
|
|
64297
64304
|
}, {
|
|
64298
64305
|
default: withCtx(({ row }) => [
|
|
64299
|
-
createTextVNode(toDisplayString(row.completedInvestment), 1)
|
|
64306
|
+
createTextVNode(toDisplayString(row.completedInvestment || 0), 1)
|
|
64307
|
+
]),
|
|
64308
|
+
_: 1
|
|
64309
|
+
}),
|
|
64310
|
+
createVNode(_component_el_table_column, {
|
|
64311
|
+
prop: "currentYearPlannedInvestment",
|
|
64312
|
+
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",
|
|
64313
|
+
width: "111"
|
|
64314
|
+
}, {
|
|
64315
|
+
default: withCtx(({ row }) => [
|
|
64316
|
+
createTextVNode(toDisplayString(row.currentYearPlannedInvestment || 0), 1)
|
|
64317
|
+
]),
|
|
64318
|
+
_: 1
|
|
64319
|
+
}),
|
|
64320
|
+
createVNode(_component_el_table_column, {
|
|
64321
|
+
prop: "enterpriseTotalPlannedInvestment",
|
|
64322
|
+
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",
|
|
64323
|
+
width: "130"
|
|
64324
|
+
}, {
|
|
64325
|
+
default: withCtx(({ row }) => [
|
|
64326
|
+
createTextVNode(toDisplayString(row.enterpriseTotalPlannedInvestment || 0), 1)
|
|
64300
64327
|
]),
|
|
64301
64328
|
_: 1
|
|
64302
64329
|
}),
|
|
@@ -64331,6 +64358,16 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64331
64358
|
]),
|
|
64332
64359
|
_: 1
|
|
64333
64360
|
}),
|
|
64361
|
+
createVNode(_component_el_table_column, {
|
|
64362
|
+
prop: "remark",
|
|
64363
|
+
label: "\u5907\u6CE8",
|
|
64364
|
+
width: "330"
|
|
64365
|
+
}, {
|
|
64366
|
+
default: withCtx(({ row }) => [
|
|
64367
|
+
createTextVNode(toDisplayString(row.remark || "-"), 1)
|
|
64368
|
+
]),
|
|
64369
|
+
_: 1
|
|
64370
|
+
}),
|
|
64334
64371
|
createVNode(_component_el_table_column, {
|
|
64335
64372
|
prop: "remark",
|
|
64336
64373
|
label: "\u5907\u6CE8",
|
|
@@ -64353,7 +64390,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64353
64390
|
_: 1
|
|
64354
64391
|
}, 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"]);
|
|
64355
64392
|
}
|
|
64356
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
64393
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-070d9902"]]);
|
|
64357
64394
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
64358
64395
|
const _sfc_main$3 = {
|
|
64359
64396
|
name: "equity-table-widget",
|
|
@@ -64616,17 +64653,17 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64616
64653
|
default: withCtx(({ row }) => {
|
|
64617
64654
|
var _a, _b;
|
|
64618
64655
|
return [
|
|
64619
|
-
((_b = (_a = $props.field) == null ? void 0 : _a.options) == null ? void 0 : _b.clickRow) ? (openBlock(), createBlock(_component_el_text, {
|
|
64656
|
+
((_b = (_a = $props.field) == null ? void 0 : _a.options) == null ? void 0 : _b.clickRow) && row.projectName ? (openBlock(), createBlock(_component_el_text, {
|
|
64620
64657
|
key: 0,
|
|
64621
64658
|
class: "click-text",
|
|
64622
64659
|
type: "primary",
|
|
64623
64660
|
onClick: ($event) => $options.handleRow(row)
|
|
64624
64661
|
}, {
|
|
64625
64662
|
default: withCtx(() => [
|
|
64626
|
-
createTextVNode(toDisplayString(row.projectName), 1)
|
|
64663
|
+
createTextVNode(toDisplayString(row.projectName || "-"), 1)
|
|
64627
64664
|
]),
|
|
64628
64665
|
_: 2
|
|
64629
|
-
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(row.projectName), 1))
|
|
64666
|
+
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(row.projectName || "-"), 1))
|
|
64630
64667
|
];
|
|
64631
64668
|
}),
|
|
64632
64669
|
_: 1
|
|
@@ -64635,6 +64672,11 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64635
64672
|
prop: "registeredCapital",
|
|
64636
64673
|
label: "\u6CE8\u518C\u8D44\u672C(\u4E07\u5143)",
|
|
64637
64674
|
width: "90"
|
|
64675
|
+
}, {
|
|
64676
|
+
default: withCtx(({ row }) => [
|
|
64677
|
+
createTextVNode(toDisplayString(row.registeredCapital || 0), 1)
|
|
64678
|
+
]),
|
|
64679
|
+
_: 1
|
|
64638
64680
|
}),
|
|
64639
64681
|
createVNode(_component_el_table_column, {
|
|
64640
64682
|
prop: "subscribedCapital",
|
|
@@ -64642,7 +64684,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64642
64684
|
width: "100"
|
|
64643
64685
|
}, {
|
|
64644
64686
|
default: withCtx(({ row }) => [
|
|
64645
|
-
createTextVNode(toDisplayString(row.subscribedCapital), 1)
|
|
64687
|
+
createTextVNode(toDisplayString(row.subscribedCapital || 0), 1)
|
|
64646
64688
|
]),
|
|
64647
64689
|
_: 1
|
|
64648
64690
|
}),
|
|
@@ -64652,7 +64694,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64652
64694
|
width: "100"
|
|
64653
64695
|
}, {
|
|
64654
64696
|
default: withCtx(({ row }) => [
|
|
64655
|
-
createTextVNode(toDisplayString(row.completedInvestment), 1)
|
|
64697
|
+
createTextVNode(toDisplayString(row.completedInvestment || 0), 1)
|
|
64656
64698
|
]),
|
|
64657
64699
|
_: 1
|
|
64658
64700
|
}),
|
|
@@ -64660,11 +64702,21 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64660
64702
|
prop: "currentYearPlannedInvestment",
|
|
64661
64703
|
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",
|
|
64662
64704
|
width: "111"
|
|
64705
|
+
}, {
|
|
64706
|
+
default: withCtx(({ row }) => [
|
|
64707
|
+
createTextVNode(toDisplayString(row.currentYearPlannedInvestment || 0), 1)
|
|
64708
|
+
]),
|
|
64709
|
+
_: 1
|
|
64663
64710
|
}),
|
|
64664
64711
|
createVNode(_component_el_table_column, {
|
|
64665
64712
|
prop: "enterpriseTotalPlannedInvestment",
|
|
64666
64713
|
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",
|
|
64667
64714
|
width: "130"
|
|
64715
|
+
}, {
|
|
64716
|
+
default: withCtx(({ row }) => [
|
|
64717
|
+
createTextVNode(toDisplayString(row.enterpriseTotalPlannedInvestment || 0), 1)
|
|
64718
|
+
]),
|
|
64719
|
+
_: 1
|
|
64668
64720
|
}),
|
|
64669
64721
|
createVNode(_component_el_table_column, {
|
|
64670
64722
|
prop: "label9",
|
|
@@ -64695,6 +64747,11 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64695
64747
|
prop: "remark",
|
|
64696
64748
|
label: "\u5907\u6CE8",
|
|
64697
64749
|
width: "330"
|
|
64750
|
+
}, {
|
|
64751
|
+
default: withCtx(({ row }) => [
|
|
64752
|
+
createTextVNode(toDisplayString(row.remark || "-"), 1)
|
|
64753
|
+
]),
|
|
64754
|
+
_: 1
|
|
64698
64755
|
})
|
|
64699
64756
|
]),
|
|
64700
64757
|
_: 1
|
|
@@ -64713,7 +64770,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64713
64770
|
_: 1
|
|
64714
64771
|
}, 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"]);
|
|
64715
64772
|
}
|
|
64716
|
-
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
64773
|
+
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-3486e3fe"]]);
|
|
64717
64774
|
const AssetTypeEnum = {
|
|
64718
64775
|
"0": "equity",
|
|
64719
64776
|
"1": "house",
|