form-custom-test 3.0.96 → 3.0.98
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 +15 -8
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +14 -8
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -3048,7 +3048,8 @@ 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\
|
|
3051
|
+
latitude: "\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",
|
|
3052
|
+
longitude: "\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",
|
|
3052
3053
|
sixFigures: "\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",
|
|
3053
3054
|
percentage: "0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
|
|
3054
3055
|
rowspanNotConsistentForMergeEntireRow: "Cells in this row don't have the same rowspan, operation failed.",
|
|
@@ -3374,7 +3375,8 @@ var zhLocale = {
|
|
|
3374
3375
|
isPositiveIntegerZeroValidator: "0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",
|
|
3375
3376
|
maxLen10Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
|
|
3376
3377
|
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\
|
|
3378
|
+
latitude: "\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",
|
|
3379
|
+
longitude: "\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",
|
|
3378
3380
|
sixFigures: "\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",
|
|
3379
3381
|
percentage: "0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
|
|
3380
3382
|
rowspanNotConsistentForMergeEntireRow: "\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u884C.",
|
|
@@ -4663,9 +4665,10 @@ const getRegExp = function(validatorName2) {
|
|
|
4663
4665
|
isPositiveIntegerZero: "/^0$|^([1-9]\\d{0,3})$/",
|
|
4664
4666
|
maxLen10Decimals2: "/^\\d{1,10}(\\.\\d{1,2})?$/",
|
|
4665
4667
|
maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/",
|
|
4666
|
-
latitude: "/^-?(?:90(
|
|
4667
|
-
sixFigures: "
|
|
4668
|
-
percentage: "/^(?:100(
|
|
4668
|
+
latitude: "/^-?(?:90(?:\\.0{1,6})?|[1-8]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/",
|
|
4669
|
+
sixFigures: "/^\\d{1,6}(\\.\\d{1,6})?$/",
|
|
4670
|
+
percentage: "/^(?:100(?:\\.0{0,4})?|[1-9]?\\d(?:\\.\\d{0,4})?|0(?:\\.\\d{0,4})?)$/",
|
|
4671
|
+
longitude: "/^-?(?:180(?:\\.0{1,6})?|1[0-7]\\d(?:\\.\\d{1,6})?|[1-9]?\\d(?:\\.\\d{1,6})?|0(?:\\.\\d{1,6})?)$/"
|
|
4669
4672
|
};
|
|
4670
4673
|
return commonRegExp[validatorName2];
|
|
4671
4674
|
};
|
|
@@ -4730,7 +4733,10 @@ const FormValidators = {
|
|
|
4730
4733
|
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");
|
|
4731
4734
|
},
|
|
4732
4735
|
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\
|
|
4736
|
+
validateFn("latitude", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u5165\u8D1F90\u523090\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D\u7684\u6570\u5B57");
|
|
4737
|
+
},
|
|
4738
|
+
longitude(rule2, value2, callback2) {
|
|
4739
|
+
validateFn("longitude", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u5165\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D\u7684\u6570\u5B57");
|
|
4734
4740
|
},
|
|
4735
4741
|
sixFigures(rule2, value2, callback2) {
|
|
4736
4742
|
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");
|
|
@@ -57239,6 +57245,7 @@ const _sfc_main$1O = {
|
|
|
57239
57245
|
{ value: "maxLen10Decimals2", label: this.i18nt("designer.hint.maxLen10Decimals2Validator") },
|
|
57240
57246
|
{ value: "maxLen12Decimals2", label: this.i18nt("designer.hint.maxLen12Decimals2Validator") },
|
|
57241
57247
|
{ value: "latitude", label: this.i18nt("designer.hint.latitude") },
|
|
57248
|
+
{ value: "longitude", label: this.i18nt("designer.hint.longitude") },
|
|
57242
57249
|
{ value: "sixFigures", label: this.i18nt("designer.hint.sixFigures") },
|
|
57243
57250
|
{ value: "percentage", label: this.i18nt("designer.hint.percentage") }
|
|
57244
57251
|
]
|
|
@@ -68271,13 +68278,13 @@ function registerIcon(app) {
|
|
|
68271
68278
|
if (typeof window !== "undefined") {
|
|
68272
68279
|
let loadSvg = function() {
|
|
68273
68280
|
var body = document.body;
|
|
68274
|
-
var svgDom = document.getElementById("
|
|
68281
|
+
var svgDom = document.getElementById("__svg__icons__dom__1777010204777__");
|
|
68275
68282
|
if (!svgDom) {
|
|
68276
68283
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68277
68284
|
svgDom.style.position = "absolute";
|
|
68278
68285
|
svgDom.style.width = "0";
|
|
68279
68286
|
svgDom.style.height = "0";
|
|
68280
|
-
svgDom.id = "
|
|
68287
|
+
svgDom.id = "__svg__icons__dom__1777010204777__";
|
|
68281
68288
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68282
68289
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68283
68290
|
}
|