form-custom-test 3.0.95 → 3.0.97

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.
@@ -3048,6 +3048,10 @@ 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\u516D\u4F4D",
3052
+ longitude: "\u8D1F180\u5230180\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u516D\u4F4D",
3053
+ sixFigures: "\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",
3054
+ percentage: "0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
3051
3055
  rowspanNotConsistentForMergeEntireRow: "Cells in this row don't have the same rowspan, operation failed.",
3052
3056
  colspanNotConsistentForMergeEntireColumn: "Cells in this column don't have the same colspan, operation failed.",
3053
3057
  rowspanNotConsistentForDeleteEntireRow: "Cells in this row don't have the same rowspan, operation failed.",
@@ -3371,6 +3375,10 @@ var zhLocale = {
3371
3375
  isPositiveIntegerZeroValidator: "0\u62161-4\u4F4D\u7684\u6B63\u6574\u6570",
3372
3376
  maxLen10Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A10\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
3373
3377
  maxLen12Decimals2Validator: "\u6574\u6570\u90E8\u5206\u6700\u591A12\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A2\u4F4D\u7684\u6570\u5B57",
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",
3380
+ sixFigures: "\u6574\u6570\u90E8\u5206\u6700\u591A6\u4F4D\uFF0C\u5C0F\u6570\u90E8\u5206\u6700\u591A6\u4F4D\u7684\u6570\u5B57",
3381
+ percentage: "0-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D",
3374
3382
  rowspanNotConsistentForMergeEntireRow: "\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u884C.",
3375
3383
  colspanNotConsistentForMergeEntireColumn: "\u5B58\u5728\u5217\u5BBD\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u65E0\u6CD5\u5408\u5E76\u6574\u5217.",
3376
3384
  rowspanNotConsistentForDeleteEntireRow: "\u5B58\u5728\u884C\u9AD8\u4E0D\u4E00\u81F4\u7684\u5355\u5143\u683C, \u4E0D\u53EF\u5220\u9664\u6574\u884C.",
@@ -4656,7 +4664,11 @@ const getRegExp = function(validatorName2) {
4656
4664
  isPositiveIntegerLength: "/^([1-9]\\d{0,3})$/",
4657
4665
  isPositiveIntegerZero: "/^0$|^([1-9]\\d{0,3})$/",
4658
4666
  maxLen10Decimals2: "/^\\d{1,10}(\\.\\d{1,2})?$/",
4659
- maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/"
4667
+ maxLen12Decimals2: "/^\\d{1,12}(\\.\\d{1,2})?$/",
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})?)$/"
4660
4672
  };
4661
4673
  return commonRegExp[validatorName2];
4662
4674
  };
@@ -4720,6 +4732,18 @@ const FormValidators = {
4720
4732
  maxLen12Decimals2(rule2, value2, callback2) {
4721
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");
4722
4734
  },
4735
+ latitude(rule2, value2, callback2) {
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");
4740
+ },
4741
+ sixFigures(rule2, value2, callback2) {
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");
4743
+ },
4744
+ percentage(rule2, value2, callback2) {
4745
+ validateFn("percentage", rule2, value2, callback2, rule2.label + "\u8BF7\u8F93\u51650-100\u7684\u6570\u5B57\uFF0C\u5C0F\u6570\u70B9\u540E\u6700\u591A\u56DB\u4F4D");
4746
+ },
4723
4747
  regExp(rule, value, callback) {
4724
4748
  if (isNull(value) || value.length <= 0) {
4725
4749
  callback();
@@ -57219,7 +57243,11 @@ const _sfc_main$1O = {
57219
57243
  { value: "isPositiveIntegerLength", label: this.i18nt("designer.hint.isPositiveIntegerLengthValidator") },
57220
57244
  { value: "isPositiveIntegerZero", label: this.i18nt("designer.hint.isPositiveIntegerZeroValidator") },
57221
57245
  { value: "maxLen10Decimals2", label: this.i18nt("designer.hint.maxLen10Decimals2Validator") },
57222
- { value: "maxLen12Decimals2", label: this.i18nt("designer.hint.maxLen12Decimals2Validator") }
57246
+ { value: "maxLen12Decimals2", label: this.i18nt("designer.hint.maxLen12Decimals2Validator") },
57247
+ { value: "latitude", label: this.i18nt("designer.hint.latitude") },
57248
+ { value: "longitude", label: this.i18nt("designer.hint.longitude") },
57249
+ { value: "sixFigures", label: this.i18nt("designer.hint.sixFigures") },
57250
+ { value: "percentage", label: this.i18nt("designer.hint.percentage") }
57223
57251
  ]
57224
57252
  };
57225
57253
  }
@@ -68250,13 +68278,13 @@ function registerIcon(app) {
68250
68278
  if (typeof window !== "undefined") {
68251
68279
  let loadSvg = function() {
68252
68280
  var body = document.body;
68253
- var svgDom = document.getElementById("__svg__icons__dom__1776905188143__");
68281
+ var svgDom = document.getElementById("__svg__icons__dom__1777000612310__");
68254
68282
  if (!svgDom) {
68255
68283
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
68256
68284
  svgDom.style.position = "absolute";
68257
68285
  svgDom.style.width = "0";
68258
68286
  svgDom.style.height = "0";
68259
- svgDom.id = "__svg__icons__dom__1776905188143__";
68287
+ svgDom.id = "__svg__icons__dom__1777000612310__";
68260
68288
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
68261
68289
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
68262
68290
  }