@qikdev/vue-ui 0.2.82 → 0.2.84
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 +11 -4
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +3 -3
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './style.css';
|
|
2
2
|
import { defineComponent as ki, ref as Kt, toRefs as oa, onMounted as ua, onBeforeUnmount as So, watch as xi, computed as ai, openBlock as o, createElementBlock as d, renderSlot as q, createCommentVNode as _, useSlots as Oo, reactive as kr, provide as Fr, resolveComponent as y, normalizeClass as P, Fragment as S, unref as jn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as b, withModifiers as W, createTextVNode as O, createElementVNode as w, h as li, resolveDynamicComponent as Ft, mergeProps as wi, toHandlers as da, withDirectives as K, vModelSelect as xt, pushScopeId as st, popScopeId as at, normalizeStyle as wt, Teleport as To, vModelText as pe, withKeys as ge, TransitionGroup as Eo, nextTick as ca, vModelDynamic as Rn, vShow as qi } from "vue";
|
|
3
3
|
import { EventDispatcher as Co } from "@qikdev/sdk";
|
|
4
|
-
const Vo = "0.2.
|
|
4
|
+
const Vo = "0.2.84", lr = {
|
|
5
5
|
STRIPE_NOT_LOADED: "Stripe v3 library is not loaded",
|
|
6
6
|
INSTANCE_NOT_DEFINED: "Instance object is not defined. Make sure you initialized Stripe before creating elements",
|
|
7
7
|
ELEMENTS_NOT_DEFINED: "Elements object is not defined. You can't create stripe element without it",
|
|
@@ -7952,6 +7952,7 @@ const P_ = {
|
|
|
7952
7952
|
data() {
|
|
7953
7953
|
return {
|
|
7954
7954
|
model: this.item,
|
|
7955
|
+
retries: 0,
|
|
7955
7956
|
cacheBuster: 0
|
|
7956
7957
|
};
|
|
7957
7958
|
},
|
|
@@ -7960,6 +7961,9 @@ const P_ = {
|
|
|
7960
7961
|
this.model = e;
|
|
7961
7962
|
}
|
|
7962
7963
|
},
|
|
7964
|
+
beforeMount() {
|
|
7965
|
+
this.$sdk.auth.ensureValidToken();
|
|
7966
|
+
},
|
|
7963
7967
|
mounted() {
|
|
7964
7968
|
this.$refs.img.addEventListener("error", this.imageLoadError);
|
|
7965
7969
|
},
|
|
@@ -7968,7 +7972,7 @@ const P_ = {
|
|
|
7968
7972
|
},
|
|
7969
7973
|
methods: {
|
|
7970
7974
|
imageLoadError: en(function(e) {
|
|
7971
|
-
this.cacheBuster
|
|
7975
|
+
this.retries < 3 && (this.cacheBuster++, this.retries++);
|
|
7972
7976
|
}, 100)
|
|
7973
7977
|
},
|
|
7974
7978
|
computed: {
|
|
@@ -8062,7 +8066,7 @@ function R_(e, t, n, i, s, r) {
|
|
|
8062
8066
|
}, null, 12, j_))
|
|
8063
8067
|
], 6);
|
|
8064
8068
|
}
|
|
8065
|
-
const B_ = /* @__PURE__ */ E(P_, [["render", R_], ["__scopeId", "data-v-
|
|
8069
|
+
const B_ = /* @__PURE__ */ E(P_, [["render", R_], ["__scopeId", "data-v-1e45450d"]]);
|
|
8066
8070
|
const z_ = {
|
|
8067
8071
|
props: {
|
|
8068
8072
|
item: {
|
|
@@ -8084,6 +8088,9 @@ const z_ = {
|
|
|
8084
8088
|
model: this.item
|
|
8085
8089
|
};
|
|
8086
8090
|
},
|
|
8091
|
+
beforeMount() {
|
|
8092
|
+
this.$sdk.auth.ensureValidToken();
|
|
8093
|
+
},
|
|
8087
8094
|
computed: {
|
|
8088
8095
|
mediaType() {
|
|
8089
8096
|
var e;
|
|
@@ -8194,7 +8201,7 @@ function W_(e, t, n, i, s, r) {
|
|
|
8194
8201
|
])
|
|
8195
8202
|
], 6);
|
|
8196
8203
|
}
|
|
8197
|
-
const K_ = /* @__PURE__ */ E(z_, [["render", W_], ["__scopeId", "data-v-
|
|
8204
|
+
const K_ = /* @__PURE__ */ E(z_, [["render", W_], ["__scopeId", "data-v-e032a513"]]);
|
|
8198
8205
|
const Z_ = {
|
|
8199
8206
|
props: {
|
|
8200
8207
|
value: {
|