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/designer.es.js
CHANGED
|
@@ -4953,11 +4953,11 @@ const getRegExp = function(validatorName2) {
|
|
|
4953
4953
|
maxLen12Decimals6: "/^\\d{1,12}(\\.\\d{1,6})?$/",
|
|
4954
4954
|
isPositiveIntegerLength: "/^([1-9]\\d{0,3})$/",
|
|
4955
4955
|
isPositiveIntegerZero: "/^0$|^([1-9]\\d{0,3})$/",
|
|
4956
|
-
maxLen10Decimals2: "
|
|
4956
|
+
maxLen10Decimals2: "/^(0|[1-9]\\d{0,9})(\\.\\d{1,2})?$/",
|
|
4957
4957
|
maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/",
|
|
4958
4958
|
latitude: "/^-?(?:90(?:\\.0{1,6})?|[1-8]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/",
|
|
4959
4959
|
sixFigures: "/^(0|[1-9]\\d{0,5})(\\.\\d{1,6})?$/",
|
|
4960
|
-
percentage: "/^(?:100(?:\\.0{
|
|
4960
|
+
percentage: "/^(?:100(?:\\.0{1,4})?|[1-9]?\\d(?:\\.\\d{1,4})?|0(?:\\.\\d{1,4})?)$/",
|
|
4961
4961
|
longitude: "/^-?(?:180(?:\\.0{1,6})?|1[0-7]\\d(?:\\.\\d{1,6})?|[1-9]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/"
|
|
4962
4962
|
};
|
|
4963
4963
|
return commonRegExp[validatorName2];
|
|
@@ -69045,13 +69045,13 @@ function registerIcon(app) {
|
|
|
69045
69045
|
if (typeof window !== "undefined") {
|
|
69046
69046
|
let loadSvg = function() {
|
|
69047
69047
|
var body = document.body;
|
|
69048
|
-
var svgDom = document.getElementById("
|
|
69048
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780640193562__");
|
|
69049
69049
|
if (!svgDom) {
|
|
69050
69050
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69051
69051
|
svgDom.style.position = "absolute";
|
|
69052
69052
|
svgDom.style.width = "0";
|
|
69053
69053
|
svgDom.style.height = "0";
|
|
69054
|
-
svgDom.id = "
|
|
69054
|
+
svgDom.id = "__svg__icons__dom__1780640193562__";
|
|
69055
69055
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69056
69056
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69057
69057
|
}
|
|
@@ -78325,7 +78325,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78325
78325
|
disabled: $props.widget.options.disabled,
|
|
78326
78326
|
maxlength: $options.getColMaxLength(col),
|
|
78327
78327
|
"show-word-limit": !!col.showWordLimit && !!col.maxLength,
|
|
78328
|
-
onChange: ($event) => $options.handleInputChange(col)
|
|
78328
|
+
onChange: ($event) => $options.handleInputChange(col),
|
|
78329
|
+
clearable: ""
|
|
78329
78330
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "maxlength", "show-word-limit", "onChange"])) : col.type === "number" ? (openBlock(), createBlock(_component_el_input_number, {
|
|
78330
78331
|
key: 1,
|
|
78331
78332
|
modelValue: $data.dialogFormData[col.prop],
|
|
@@ -78333,7 +78334,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78333
78334
|
placeholder: col.placeholder || `\u8BF7\u8F93\u5165${col.label}`,
|
|
78334
78335
|
disabled: $props.widget.options.disabled,
|
|
78335
78336
|
style: { "width": "100%" },
|
|
78336
|
-
onChange: ($event) => $options.handleInputChange(col)
|
|
78337
|
+
onChange: ($event) => $options.handleInputChange(col),
|
|
78338
|
+
clearable: ""
|
|
78337
78339
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "date" ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
78338
78340
|
key: 2,
|
|
78339
78341
|
modelValue: $data.dialogFormData[col.prop],
|
|
@@ -78343,7 +78345,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78343
78345
|
disabled: $props.widget.options.disabled,
|
|
78344
78346
|
style: { "width": "100%" },
|
|
78345
78347
|
"value-format": "YYYY-MM-DD",
|
|
78346
|
-
onChange: ($event) => $options.handleInputChange(col)
|
|
78348
|
+
onChange: ($event) => $options.handleInputChange(col),
|
|
78349
|
+
clearable: ""
|
|
78347
78350
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "datetime" ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
78348
78351
|
key: 3,
|
|
78349
78352
|
modelValue: $data.dialogFormData[col.prop],
|
|
@@ -78351,6 +78354,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78351
78354
|
type: "datetime",
|
|
78352
78355
|
placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
|
|
78353
78356
|
disabled: $props.widget.options.disabled,
|
|
78357
|
+
clearable: "",
|
|
78354
78358
|
style: { "width": "100%" },
|
|
78355
78359
|
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
78356
78360
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : col.type === "month" ? (openBlock(), createBlock(_component_el_date_picker, {
|
|
@@ -78362,12 +78366,14 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78362
78366
|
disabled: $props.widget.options.disabled,
|
|
78363
78367
|
style: { "width": "100%" },
|
|
78364
78368
|
"value-format": "YYYY-MM",
|
|
78369
|
+
clearable: "",
|
|
78365
78370
|
onChange: ($event) => $options.handleInputChange(col)
|
|
78366
78371
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "onChange"])) : col.type === "select" ? (openBlock(), createBlock(_component_el_select, {
|
|
78367
78372
|
modelValue: $data.dialogFormData[col.prop],
|
|
78368
78373
|
"onUpdate:modelValue": ($event) => $data.dialogFormData[col.prop] = $event,
|
|
78369
78374
|
placeholder: col.placeholder || `\u8BF7\u9009\u62E9${col.label}`,
|
|
78370
78375
|
disabled: $props.widget.options.disabled,
|
|
78376
|
+
clearable: "",
|
|
78371
78377
|
style: { "width": "100%" },
|
|
78372
78378
|
ref_for: true,
|
|
78373
78379
|
ref: (el) => $options.handleSelectMounted(el, col),
|
|
@@ -78393,6 +78399,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78393
78399
|
rows: col.rows || 3,
|
|
78394
78400
|
maxlength: $options.getColMaxLength(col),
|
|
78395
78401
|
"show-word-limit": !!col.showWordLimit && !!col.maxLength,
|
|
78402
|
+
clearable: "",
|
|
78396
78403
|
onChange: ($event) => $options.handleInputChange(col)
|
|
78397
78404
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "maxlength", "show-word-limit", "onChange"])) : createCommentVNode("", true)
|
|
78398
78405
|
]),
|
|
@@ -78412,7 +78419,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78412
78419
|
_: 1
|
|
78413
78420
|
}, 8, ["widget"]);
|
|
78414
78421
|
}
|
|
78415
|
-
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-
|
|
78422
|
+
var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-0b6beffd"]]);
|
|
78416
78423
|
var subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
78417
78424
|
const _sfc_main$b = {
|
|
78418
78425
|
name: "sub-table-columns-editor",
|
|
@@ -80896,7 +80903,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80896
80903
|
_: 1
|
|
80897
80904
|
}, 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"]);
|
|
80898
80905
|
}
|
|
80899
|
-
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
80906
|
+
var ResolutionTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-0386b766"]]);
|
|
80900
80907
|
class DictManager {
|
|
80901
80908
|
constructor() {
|
|
80902
80909
|
this.dictCache = {};
|
|
@@ -81277,7 +81284,27 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81277
81284
|
width: "100"
|
|
81278
81285
|
}, {
|
|
81279
81286
|
default: withCtx(({ row }) => [
|
|
81280
|
-
createTextVNode(toDisplayString(row.completedInvestment), 1)
|
|
81287
|
+
createTextVNode(toDisplayString(row.completedInvestment || 0), 1)
|
|
81288
|
+
]),
|
|
81289
|
+
_: 1
|
|
81290
|
+
}),
|
|
81291
|
+
createVNode(_component_el_table_column, {
|
|
81292
|
+
prop: "currentYearPlannedInvestment",
|
|
81293
|
+
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",
|
|
81294
|
+
width: "111"
|
|
81295
|
+
}, {
|
|
81296
|
+
default: withCtx(({ row }) => [
|
|
81297
|
+
createTextVNode(toDisplayString(row.currentYearPlannedInvestment || 0), 1)
|
|
81298
|
+
]),
|
|
81299
|
+
_: 1
|
|
81300
|
+
}),
|
|
81301
|
+
createVNode(_component_el_table_column, {
|
|
81302
|
+
prop: "enterpriseTotalPlannedInvestment",
|
|
81303
|
+
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",
|
|
81304
|
+
width: "130"
|
|
81305
|
+
}, {
|
|
81306
|
+
default: withCtx(({ row }) => [
|
|
81307
|
+
createTextVNode(toDisplayString(row.enterpriseTotalPlannedInvestment || 0), 1)
|
|
81281
81308
|
]),
|
|
81282
81309
|
_: 1
|
|
81283
81310
|
}),
|
|
@@ -81312,6 +81339,16 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81312
81339
|
]),
|
|
81313
81340
|
_: 1
|
|
81314
81341
|
}),
|
|
81342
|
+
createVNode(_component_el_table_column, {
|
|
81343
|
+
prop: "remark",
|
|
81344
|
+
label: "\u5907\u6CE8",
|
|
81345
|
+
width: "330"
|
|
81346
|
+
}, {
|
|
81347
|
+
default: withCtx(({ row }) => [
|
|
81348
|
+
createTextVNode(toDisplayString(row.remark || "-"), 1)
|
|
81349
|
+
]),
|
|
81350
|
+
_: 1
|
|
81351
|
+
}),
|
|
81315
81352
|
createVNode(_component_el_table_column, {
|
|
81316
81353
|
prop: "remark",
|
|
81317
81354
|
label: "\u5907\u6CE8",
|
|
@@ -81334,7 +81371,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81334
81371
|
_: 1
|
|
81335
81372
|
}, 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"]);
|
|
81336
81373
|
}
|
|
81337
|
-
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
81374
|
+
var FixedTableWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-070d9902"]]);
|
|
81338
81375
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
81339
81376
|
const _sfc_main$3 = {
|
|
81340
81377
|
name: "equity-table-widget",
|
|
@@ -81597,17 +81634,17 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81597
81634
|
default: withCtx(({ row }) => {
|
|
81598
81635
|
var _a2, _b2;
|
|
81599
81636
|
return [
|
|
81600
|
-
((_b2 = (_a2 = $props.field) == null ? void 0 : _a2.options) == null ? void 0 : _b2.clickRow) ? (openBlock(), createBlock(_component_el_text, {
|
|
81637
|
+
((_b2 = (_a2 = $props.field) == null ? void 0 : _a2.options) == null ? void 0 : _b2.clickRow) && row.projectName ? (openBlock(), createBlock(_component_el_text, {
|
|
81601
81638
|
key: 0,
|
|
81602
81639
|
class: "click-text",
|
|
81603
81640
|
type: "primary",
|
|
81604
81641
|
onClick: ($event) => $options.handleRow(row)
|
|
81605
81642
|
}, {
|
|
81606
81643
|
default: withCtx(() => [
|
|
81607
|
-
createTextVNode(toDisplayString(row.projectName), 1)
|
|
81644
|
+
createTextVNode(toDisplayString(row.projectName || "-"), 1)
|
|
81608
81645
|
]),
|
|
81609
81646
|
_: 2
|
|
81610
|
-
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(row.projectName), 1))
|
|
81647
|
+
}, 1032, ["onClick"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(row.projectName || "-"), 1))
|
|
81611
81648
|
];
|
|
81612
81649
|
}),
|
|
81613
81650
|
_: 1
|
|
@@ -81616,6 +81653,11 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81616
81653
|
prop: "registeredCapital",
|
|
81617
81654
|
label: "\u6CE8\u518C\u8D44\u672C(\u4E07\u5143)",
|
|
81618
81655
|
width: "90"
|
|
81656
|
+
}, {
|
|
81657
|
+
default: withCtx(({ row }) => [
|
|
81658
|
+
createTextVNode(toDisplayString(row.registeredCapital || 0), 1)
|
|
81659
|
+
]),
|
|
81660
|
+
_: 1
|
|
81619
81661
|
}),
|
|
81620
81662
|
createVNode(_component_el_table_column, {
|
|
81621
81663
|
prop: "subscribedCapital",
|
|
@@ -81623,7 +81665,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81623
81665
|
width: "100"
|
|
81624
81666
|
}, {
|
|
81625
81667
|
default: withCtx(({ row }) => [
|
|
81626
|
-
createTextVNode(toDisplayString(row.subscribedCapital), 1)
|
|
81668
|
+
createTextVNode(toDisplayString(row.subscribedCapital || 0), 1)
|
|
81627
81669
|
]),
|
|
81628
81670
|
_: 1
|
|
81629
81671
|
}),
|
|
@@ -81633,7 +81675,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81633
81675
|
width: "100"
|
|
81634
81676
|
}, {
|
|
81635
81677
|
default: withCtx(({ row }) => [
|
|
81636
|
-
createTextVNode(toDisplayString(row.completedInvestment), 1)
|
|
81678
|
+
createTextVNode(toDisplayString(row.completedInvestment || 0), 1)
|
|
81637
81679
|
]),
|
|
81638
81680
|
_: 1
|
|
81639
81681
|
}),
|
|
@@ -81641,11 +81683,21 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81641
81683
|
prop: "currentYearPlannedInvestment",
|
|
81642
81684
|
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",
|
|
81643
81685
|
width: "111"
|
|
81686
|
+
}, {
|
|
81687
|
+
default: withCtx(({ row }) => [
|
|
81688
|
+
createTextVNode(toDisplayString(row.currentYearPlannedInvestment || 0), 1)
|
|
81689
|
+
]),
|
|
81690
|
+
_: 1
|
|
81644
81691
|
}),
|
|
81645
81692
|
createVNode(_component_el_table_column, {
|
|
81646
81693
|
prop: "enterpriseTotalPlannedInvestment",
|
|
81647
81694
|
label: "\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",
|
|
81648
81695
|
width: "130"
|
|
81696
|
+
}, {
|
|
81697
|
+
default: withCtx(({ row }) => [
|
|
81698
|
+
createTextVNode(toDisplayString(row.enterpriseTotalPlannedInvestment || 0), 1)
|
|
81699
|
+
]),
|
|
81700
|
+
_: 1
|
|
81649
81701
|
}),
|
|
81650
81702
|
createVNode(_component_el_table_column, {
|
|
81651
81703
|
prop: "label9",
|
|
@@ -81676,6 +81728,11 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81676
81728
|
prop: "remark",
|
|
81677
81729
|
label: "\u5907\u6CE8",
|
|
81678
81730
|
width: "330"
|
|
81731
|
+
}, {
|
|
81732
|
+
default: withCtx(({ row }) => [
|
|
81733
|
+
createTextVNode(toDisplayString(row.remark || "-"), 1)
|
|
81734
|
+
]),
|
|
81735
|
+
_: 1
|
|
81679
81736
|
})
|
|
81680
81737
|
]),
|
|
81681
81738
|
_: 1
|
|
@@ -81694,7 +81751,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81694
81751
|
_: 1
|
|
81695
81752
|
}, 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"]);
|
|
81696
81753
|
}
|
|
81697
|
-
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
81754
|
+
var EquityTableSchema = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-3486e3fe"]]);
|
|
81698
81755
|
const AssetTypeEnum = {
|
|
81699
81756
|
"0": "equity",
|
|
81700
81757
|
"1": "house",
|