sprof 0.0.97 → 0.0.99

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
@@ -6004,16 +6004,14 @@ const pd = /* @__PURE__ */ P(hd, [["render", gd], ["__scopeId", "data-v-0ea9a95f
6004
6004
  emits: ["submit"],
6005
6005
  setup(t, { emit: e }) {
6006
6006
  const i = M.Auth.Form, n = z(!1), s = e, r = de(() => i.GetButtons()), o = async (l) => {
6007
- await M.Auth.Form.Block(async () => {
6008
- if (!l.submit)
6009
- return i.SetStatus(l.GetStatus());
6010
- const a = i.Validate();
6011
- if (a.length > 0) {
6012
- M.UI.Notify.Error(a.join(", "));
6013
- return;
6014
- }
6015
- s("submit");
6016
- });
6007
+ if (console.log(l), !l.submit)
6008
+ return i.SetStatus(l.GetStatus());
6009
+ const a = i.Validate();
6010
+ if (a.length > 0) {
6011
+ M.UI.Notify.Error(a.join(", "));
6012
+ return;
6013
+ }
6014
+ s("submit");
6017
6015
  };
6018
6016
  return On(() => {
6019
6017
  i.Reset();
@@ -6052,7 +6050,7 @@ const pd = /* @__PURE__ */ P(hd, [["render", gd], ["__scopeId", "data-v-0ea9a95f
6052
6050
  ], 4);
6053
6051
  };
6054
6052
  }
6055
- }), Od = /* @__PURE__ */ P(zd, [["__scopeId", "data-v-238616ff"]]), Ld = /* @__PURE__ */ $({
6053
+ }), Od = /* @__PURE__ */ P(zd, [["__scopeId", "data-v-cab1e7ef"]]), Ld = /* @__PURE__ */ $({
6056
6054
  __name: "PModal",
6057
6055
  props: {
6058
6056
  showCloseDialog: { type: Boolean, required: !1, default: !1 },
@@ -7906,7 +7904,7 @@ class If {
7906
7904
  const e = this.GetCurSet().buttons;
7907
7905
  return e.forEach((i) => {
7908
7906
  i.submit = !1;
7909
- }), e.length > 0 && (e[0].submit = !0), e;
7907
+ }), e[0].submit = !0, e;
7910
7908
  }
7911
7909
  GetSuccessMessage() {
7912
7910
  return this.GetCurSet().successMessage;