@qikdev/vue-ui 0.2.298 → 0.2.300

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/lib.umd.js CHANGED
@@ -7,7 +7,7 @@
7
7
  t((V["@qikdev/vue-ui"] = {}), V.Vue, V.sdk));
8
8
  })(this, function (V, t, $r) {
9
9
  "use strict";
10
- const sc = "0.2.298";
10
+ const sc = "0.2.300";
11
11
  class dt extends Error {}
12
12
  class cc extends dt {
13
13
  constructor(n) {
@@ -5404,7 +5404,7 @@
5404
5404
  }
5405
5405
  const Ri = g(yy, [
5406
5406
  ["render", gy],
5407
- ["__scopeId", "data-v-897e69cd"],
5407
+ ["__scopeId", "data-v-b180904a"],
5408
5408
  ]),
5409
5409
  WF = "",
5410
5410
  ky = {
@@ -31796,7 +31796,7 @@
31796
31796
  (this.movedBackwards = !0),
31797
31797
  this.currentPage--,
31798
31798
  this.$nextTick(function () {
31799
- this.movedBackwards = !1;
31799
+ (this.movedBackwards = !1), this.checkPageValidity();
31800
31800
  });
31801
31801
  },
31802
31802
  },
@@ -31820,13 +31820,19 @@
31820
31820
  formRequest: { type: String },
31821
31821
  form: { type: Object, required: !0 },
31822
31822
  multistep: { type: Boolean, default: !1 },
31823
+ preview: { type: Boolean, default: !1 },
31823
31824
  autoadvance: { type: Boolean, default: !1 },
31824
31825
  sandbox: { type: Boolean, default: !1 },
31825
31826
  },
31826
31827
  watch: {
31827
31828
  currentPage(e) {
31828
- const o = this.$refs.form[e].getCurrentFormState();
31829
- (this.formState = o), console.log(" updated form state", o, e);
31829
+ const n = this.$refs.form[e],
31830
+ o = n.getCurrentFormState();
31831
+ (this.formState = o),
31832
+ console.log("SCROLL INTO VIEW"),
31833
+ this.$nextTick(function () {
31834
+ n.$el.scrollIntoView({ smooth: !0 });
31835
+ });
31830
31836
  },
31831
31837
  canAdvance(e) {
31832
31838
  if (!this.movedBackwards && e && this.autoadvance) {
@@ -31990,7 +31996,7 @@
31990
31996
  : void 0;
31991
31997
  },
31992
31998
  buttonDisabled() {
31993
- return this.noGatewaySelectedButPaymentIsRequired
31999
+ return this.preview || this.noGatewaySelectedButPaymentIsRequired
31994
32000
  ? !0
31995
32001
  : this.submitAttempted && this.invalid;
31996
32002
  },
@@ -32014,7 +32020,7 @@
32014
32020
  },
32015
32021
  },
32016
32022
  ED = ((e) => (
32017
- t.pushScopeId("data-v-478e89d4"), (e = e()), t.popScopeId(), e
32023
+ t.pushScopeId("data-v-adb18264"), (e = e()), t.popScopeId(), e
32018
32024
  ))(() => t.createElementVNode("h3", null, "An error occurred", -1)),
32019
32025
  SD = { key: 0 },
32020
32026
  TD = { key: 1 },
@@ -32553,7 +32559,7 @@
32553
32559
  }
32554
32560
  const Sr = g(ND, [
32555
32561
  ["render", jD],
32556
- ["__scopeId", "data-v-478e89d4"],
32562
+ ["__scopeId", "data-v-adb18264"],
32557
32563
  ]);
32558
32564
  function RD(e) {
32559
32565
  const n = /<\/?([a-zA-Z0-9]+)[^>]*>/g,