@qikdev/vue-ui 0.2.385 → 0.2.386
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 +14 -5
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +2 -2
- package/dist/lib.umd.js.map +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './vue-ui.css';
|
|
2
2
|
import { defineComponent as Ha, ref as mt, toRefs as Kd, onMounted as Ga, onBeforeUnmount as dm, watch as Pr, computed as pn, createElementBlock as f, openBlock as o, createCommentVNode as _, renderSlot as W, normalizeClass as N, useSlots as cm, reactive as Qt, provide as Yr, resolveComponent as y, createVNode as c, Fragment as O, createBlock as b, unref as ct, withCtx as m, renderList as L, toDisplayString as k, createTextVNode as C, withDirectives as Z, vShow as Gn, withModifiers as H, createElementVNode as x, h as Oa, mergeProps as at, toHandlers as pt, normalizeStyle as Pe, resolveDirective as Zd, resolveDynamicComponent as xt, vModelSelect as bt, pushScopeId as qe, popScopeId as je, getCurrentScope as fm, onScopeDispose as mm, getCurrentInstance as hm, Teleport as Yd, Transition as pm, vModelText as ce, withKeys as Se, TransitionGroup as ym, nextTick as Xd, vModelDynamic as sr, normalizeProps as gm } from "vue";
|
|
3
3
|
import { EventDispatcher as Qd } from "@qikdev/sdk";
|
|
4
|
-
const _m = "0.2.
|
|
4
|
+
const _m = "0.2.386";
|
|
5
5
|
class tn extends Error {
|
|
6
6
|
}
|
|
7
7
|
class vm extends tn {
|
|
@@ -28922,7 +28922,10 @@ const ZD = /* @__PURE__ */ D(FD, [["render", KD], ["__scopeId", "data-v-558310f6
|
|
|
28922
28922
|
}
|
|
28923
28923
|
},
|
|
28924
28924
|
async created() {
|
|
28925
|
-
|
|
28925
|
+
const e = this;
|
|
28926
|
+
e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/").then(function() {
|
|
28927
|
+
e.initialised = !0, e.state = Fd;
|
|
28928
|
+
});
|
|
28926
28929
|
},
|
|
28927
28930
|
computed: {
|
|
28928
28931
|
allSetup() {
|
|
@@ -29013,6 +29016,12 @@ const ZD = /* @__PURE__ */ D(FD, [["render", KD], ["__scopeId", "data-v-558310f6
|
|
|
29013
29016
|
};
|
|
29014
29017
|
},
|
|
29015
29018
|
watch: {
|
|
29019
|
+
stripeKey(e) {
|
|
29020
|
+
console.log("PMF: stripe key initialised", e);
|
|
29021
|
+
},
|
|
29022
|
+
initialised(e) {
|
|
29023
|
+
console.log("PMF initialised", e);
|
|
29024
|
+
},
|
|
29016
29025
|
allSetup(e, t) {
|
|
29017
29026
|
!t && e && (this.resetForm(), this.$nextTick(() => {
|
|
29018
29027
|
this.setupCardErrorHandling();
|
|
@@ -29092,7 +29101,7 @@ const ZD = /* @__PURE__ */ D(FD, [["render", KD], ["__scopeId", "data-v-558310f6
|
|
|
29092
29101
|
this.resetForm(), this.$emit("close");
|
|
29093
29102
|
}
|
|
29094
29103
|
}
|
|
29095
|
-
}, _l = (e) => (qe("data-v-
|
|
29104
|
+
}, _l = (e) => (qe("data-v-e3ee591f"), e = e(), je(), e), nM = {
|
|
29096
29105
|
key: 0,
|
|
29097
29106
|
class: "payment-method"
|
|
29098
29107
|
}, rM = { class: "payment-method-form" }, iM = /* @__PURE__ */ _l(() => /* @__PURE__ */ x("h3", null, "Add Payment Method", -1)), sM = {
|
|
@@ -29204,7 +29213,7 @@ function pM(e, t, n, i, s, r) {
|
|
|
29204
29213
|
])
|
|
29205
29214
|
])) : (o(), f("div", hM, "Initialising secure payment form..."));
|
|
29206
29215
|
}
|
|
29207
|
-
const yM = /* @__PURE__ */ D(tM, [["render", pM], ["__scopeId", "data-v-
|
|
29216
|
+
const yM = /* @__PURE__ */ D(tM, [["render", pM], ["__scopeId", "data-v-e3ee591f"]]), gM = {
|
|
29208
29217
|
name: "UxFieldWrapper",
|
|
29209
29218
|
props: {
|
|
29210
29219
|
title: {
|
|
@@ -29242,7 +29251,7 @@ function bM(e, t, n, i, s, r) {
|
|
|
29242
29251
|
W(e.$slots, "default", {}, void 0, !0)
|
|
29243
29252
|
], 2);
|
|
29244
29253
|
}
|
|
29245
|
-
const kM = /* @__PURE__ */ D(gM, [["render", bM], ["__scopeId", "data-v-
|
|
29254
|
+
const kM = /* @__PURE__ */ D(gM, [["render", bM], ["__scopeId", "data-v-980de6f6"]]);
|
|
29246
29255
|
function wM(e) {
|
|
29247
29256
|
const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
|
|
29248
29257
|
let i;
|