form-custom-test 3.0.95 → 3.0.96
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 +25 -4
- package/dist/designer.umd.js +101 -101
- package/dist/render.es.js +21 -3
- package/dist/render.umd.js +69 -69
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -3048,6 +3048,9 @@ var enLocale = {
|
|
|
3048
3048
|
isPositiveIntegerZeroValidator: "0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",
|
|
3049
3049
|
maxLen10Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
|
|
3050
3050
|
maxLen12Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
|
|
3051
|
+
latitude: "\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
|
|
3052
|
+
sixFigures: "\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",
|
|
3053
|
+
percentage: "0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
|
|
3051
3054
|
rowspanNotConsistentForMergeEntireRow: "Cells in this row don't have the same rowspan, operation failed.",
|
|
3052
3055
|
colspanNotConsistentForMergeEntireColumn: "Cells in this column don't have the same colspan, operation failed.",
|
|
3053
3056
|
rowspanNotConsistentForDeleteEntireRow: "Cells in this row don't have the same rowspan, operation failed.",
|
|
@@ -3371,6 +3374,9 @@ var zhLocale = {
|
|
|
3371
3374
|
isPositiveIntegerZeroValidator: "0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",
|
|
3372
3375
|
maxLen10Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
|
|
3373
3376
|
maxLen12Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
|
|
3377
|
+
latitude: "\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
|
|
3378
|
+
sixFigures: "\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",
|
|
3379
|
+
percentage: "0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
|
|
3374
3380
|
rowspanNotConsistentForMergeEntireRow: "\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u884C.",
|
|
3375
3381
|
colspanNotConsistentForMergeEntireColumn: "\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u5217.",
|
|
3376
3382
|
rowspanNotConsistentForDeleteEntireRow: "\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u884C.",
|
|
@@ -4656,7 +4662,10 @@ const getRegExp = function(validatorName2) {
|
|
|
4656
4662
|
isPositiveIntegerLength: "/^([1-9]\\d{0,3})$/",
|
|
4657
4663
|
isPositiveIntegerZero: "/^0$|^([1-9]\\d{0,3})$/",
|
|
4658
4664
|
maxLen10Decimals2: "/^\\d{1,10}(\\.\\d{1,2})?$/",
|
|
4659
|
-
maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/"
|
|
4665
|
+
maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/",
|
|
4666
|
+
latitude: "/^-?(?:90(?:.0{0,4})?|[1-8]?d(?:.d{0,4})?|0(?:.d{0,4})?)$/",
|
|
4667
|
+
sixFigures: "/^d{1,6}(.d{1,6})?$/",
|
|
4668
|
+
percentage: "/^(?:100(?:.0{0,4})?|[1-9]?d(?:.d{0,4})?|0(?:.d{0,4})?)$/"
|
|
4660
4669
|
};
|
|
4661
4670
|
return commonRegExp[validatorName2];
|
|
4662
4671
|
};
|
|
@@ -4720,6 +4729,15 @@ const FormValidators = {
|
|
|
4720
4729
|
maxLen12Decimals2(rule2, value2, callback2) {
|
|
4721
4730
|
validateFn("maxLen12Decimals2", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57");
|
|
4722
4731
|
},
|
|
4732
|
+
latitude(rule2, value2, callback2) {
|
|
4733
|
+
validateFn("latitude", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u5165\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D\u7684\u6570\u5B57");
|
|
4734
|
+
},
|
|
4735
|
+
sixFigures(rule2, value2, callback2) {
|
|
4736
|
+
validateFn("sixFigures", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u5165\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57");
|
|
4737
|
+
},
|
|
4738
|
+
percentage(rule2, value2, callback2) {
|
|
4739
|
+
validateFn("percentage", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u51650-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D");
|
|
4740
|
+
},
|
|
4723
4741
|
regExp(rule, value, callback) {
|
|
4724
4742
|
if (isNull(value) || value.length <= 0) {
|
|
4725
4743
|
callback();
|
|
@@ -57219,7 +57237,10 @@ const _sfc_main$1O = {
|
|
|
57219
57237
|
{ value: "isPositiveIntegerLength", label: this.i18nt("designer.hint.isPositiveIntegerLengthValidator") },
|
|
57220
57238
|
{ value: "isPositiveIntegerZero", label: this.i18nt("designer.hint.isPositiveIntegerZeroValidator") },
|
|
57221
57239
|
{ value: "maxLen10Decimals2", label: this.i18nt("designer.hint.maxLen10Decimals2Validator") },
|
|
57222
|
-
{ value: "maxLen12Decimals2", label: this.i18nt("designer.hint.maxLen12Decimals2Validator") }
|
|
57240
|
+
{ value: "maxLen12Decimals2", label: this.i18nt("designer.hint.maxLen12Decimals2Validator") },
|
|
57241
|
+
{ value: "latitude", label: this.i18nt("designer.hint.latitude") },
|
|
57242
|
+
{ value: "sixFigures", label: this.i18nt("designer.hint.sixFigures") },
|
|
57243
|
+
{ value: "percentage", label: this.i18nt("designer.hint.percentage") }
|
|
57223
57244
|
]
|
|
57224
57245
|
};
|
|
57225
57246
|
}
|
|
@@ -68250,13 +68271,13 @@ function registerIcon(app) {
|
|
|
68250
68271
|
if (typeof window !== "undefined") {
|
|
68251
68272
|
let loadSvg = function() {
|
|
68252
68273
|
var body = document.body;
|
|
68253
|
-
var svgDom = document.getElementById("
|
|
68274
|
+
var svgDom = document.getElementById("__svg__icons__dom__1776990892806__");
|
|
68254
68275
|
if (!svgDom) {
|
|
68255
68276
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68256
68277
|
svgDom.style.position = "absolute";
|
|
68257
68278
|
svgDom.style.width = "0";
|
|
68258
68279
|
svgDom.style.height = "0";
|
|
68259
|
-
svgDom.id = "
|
|
68280
|
+
svgDom.id = "__svg__icons__dom__1776990892806__";
|
|
68260
68281
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68261
68282
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68262
68283
|
}
|