sprof 0.0.152 → 0.0.154

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/sprof.js CHANGED
@@ -125,7 +125,7 @@ class Ma {
125
125
  l(this, "length", 6);
126
126
  }
127
127
  validate(e) {
128
- return e === "" || !e ? (this.errors.push("Введите пароль"), this.errors) : (e.length < this.length && this.errors.push("Пароль недостаточной длины"), this.errors);
128
+ return e === "" || !e ? (this.errors.push("Введите пароль"), this.errors) : (e.length < this.length && this.errors.push("Пароль должен быть длиннее 6 символов"), this.errors);
129
129
  }
130
130
  }
131
131
  class cn extends Hi {
@@ -200,7 +200,7 @@ let Aa = class {
200
200
  }), Object.fromEntries(i);
201
201
  }
202
202
  Validate() {
203
- return [];
203
+ return this.GetFields().map((e) => e.Validate()).flat();
204
204
  }
205
205
  GetFields() {
206
206
  return this.GetCurSet().fields.filter((e) => !e.method || e.method === this.selectedMethod);
@@ -9283,7 +9283,7 @@ const qm = /* @__PURE__ */ $(Lm, [["render", Hm], ["__scopeId", "data-v-0ea9a95f
9283
9283
  ])
9284
9284
  ], 4));
9285
9285
  }
9286
- }), a1 = /* @__PURE__ */ $(o1, [["__scopeId", "data-v-befb9b45"]]), l1 = /* @__PURE__ */ A({
9286
+ }), a1 = /* @__PURE__ */ $(o1, [["__scopeId", "data-v-2a0612d8"]]), l1 = /* @__PURE__ */ A({
9287
9287
  __name: "PModal",
9288
9288
  props: {
9289
9289
  showCloseDialog: { type: Boolean, required: !1, default: !1 },