@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.es.js +17 -8
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +14 -8
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +27 -27
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
vModelDynamic as Zn,
|
|
48
48
|
} from "vue";
|
|
49
49
|
import { EventDispatcher as jl } from "@qikdev/sdk";
|
|
50
|
-
const fu = "0.2.
|
|
50
|
+
const fu = "0.2.300";
|
|
51
51
|
class qt extends Error {}
|
|
52
52
|
class mu extends qt {
|
|
53
53
|
constructor(t) {
|
|
@@ -7304,7 +7304,7 @@ function Uy(e, t, n, r, s, i) {
|
|
|
7304
7304
|
}
|
|
7305
7305
|
const Ks = /* @__PURE__ */ O(Ny, [
|
|
7306
7306
|
["render", Uy],
|
|
7307
|
-
["__scopeId", "data-v-
|
|
7307
|
+
["__scopeId", "data-v-b180904a"],
|
|
7308
7308
|
]);
|
|
7309
7309
|
const Py = {
|
|
7310
7310
|
mixins: [Ce],
|
|
@@ -35236,7 +35236,7 @@ const gr = "form.ready",
|
|
|
35236
35236
|
(this.movedBackwards = !0),
|
|
35237
35237
|
this.currentPage--,
|
|
35238
35238
|
this.$nextTick(function () {
|
|
35239
|
-
this.movedBackwards = !1;
|
|
35239
|
+
(this.movedBackwards = !1), this.checkPageValidity();
|
|
35240
35240
|
});
|
|
35241
35241
|
},
|
|
35242
35242
|
},
|
|
@@ -35275,6 +35275,10 @@ const gr = "form.ready",
|
|
|
35275
35275
|
type: Boolean,
|
|
35276
35276
|
default: !1,
|
|
35277
35277
|
},
|
|
35278
|
+
preview: {
|
|
35279
|
+
type: Boolean,
|
|
35280
|
+
default: !1,
|
|
35281
|
+
},
|
|
35278
35282
|
autoadvance: {
|
|
35279
35283
|
type: Boolean,
|
|
35280
35284
|
default: !1,
|
|
@@ -35286,8 +35290,13 @@ const gr = "form.ready",
|
|
|
35286
35290
|
},
|
|
35287
35291
|
watch: {
|
|
35288
35292
|
currentPage(e) {
|
|
35289
|
-
const
|
|
35290
|
-
|
|
35293
|
+
const t = this.$refs.form[e],
|
|
35294
|
+
n = t.getCurrentFormState();
|
|
35295
|
+
(this.formState = n),
|
|
35296
|
+
console.log("SCROLL INTO VIEW"),
|
|
35297
|
+
this.$nextTick(function () {
|
|
35298
|
+
t.$el.scrollIntoView({ smooth: !0 });
|
|
35299
|
+
});
|
|
35291
35300
|
},
|
|
35292
35301
|
canAdvance(e) {
|
|
35293
35302
|
if (!this.movedBackwards && e && this.autoadvance) {
|
|
@@ -35459,7 +35468,7 @@ const gr = "form.ready",
|
|
|
35459
35468
|
: void 0;
|
|
35460
35469
|
},
|
|
35461
35470
|
buttonDisabled() {
|
|
35462
|
-
return this.noGatewaySelectedButPaymentIsRequired
|
|
35471
|
+
return this.preview || this.noGatewaySelectedButPaymentIsRequired
|
|
35463
35472
|
? !0
|
|
35464
35473
|
: this.submitAttempted && this.invalid;
|
|
35465
35474
|
},
|
|
@@ -35482,7 +35491,7 @@ const gr = "form.ready",
|
|
|
35482
35491
|
},
|
|
35483
35492
|
},
|
|
35484
35493
|
},
|
|
35485
|
-
yE = (e) => (Je("data-v-
|
|
35494
|
+
yE = (e) => (Je("data-v-adb18264"), (e = e()), Xe(), e),
|
|
35486
35495
|
gE = /* @__PURE__ */ yE(() =>
|
|
35487
35496
|
/* @__PURE__ */ x("h3", null, "An error occurred", -1),
|
|
35488
35497
|
),
|
|
@@ -35993,7 +36002,7 @@ function EE(e, t, n, r, s, i) {
|
|
|
35993
36002
|
}
|
|
35994
36003
|
const Il = /* @__PURE__ */ O(pE, [
|
|
35995
36004
|
["render", EE],
|
|
35996
|
-
["__scopeId", "data-v-
|
|
36005
|
+
["__scopeId", "data-v-adb18264"],
|
|
35997
36006
|
]);
|
|
35998
36007
|
function ME(e) {
|
|
35999
36008
|
const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g,
|