@qikdev/vue-ui 0.3.7 → 0.3.8
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 +92 -88
- 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
|
@@ -4,7 +4,7 @@ var Ph = (e, t, n) => t in e ? Lh(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
4
4
|
var ie = (e, t, n) => Ph(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
5
|
import { reactive as Ht, defineComponent as Fl, ref as vt, toRefs as of, onMounted as Al, onBeforeUnmount as Rh, watch as cr, computed as Fn, createElementBlock as m, openBlock as o, createCommentVNode as _, renderSlot as H, normalizeClass as L, useSlots as Uh, provide as Mr, resolveComponent as y, createVNode as c, Fragment as D, createBlock as k, unref as gt, withCtx as f, renderList as A, toDisplayString as b, createTextVNode as O, withDirectives as X, vShow as ci, withModifiers as B, createElementVNode as T, h as dl, mergeProps as mt, toHandlers as kt, normalizeStyle as Ge, resolveDirective as uf, resolveDynamicComponent as Mt, vModelSelect as Dt, pushScopeId as je, popScopeId as qe, getCurrentScope as jh, onScopeDispose as qh, getCurrentInstance as Bh, Teleport as df, Transition as zh, withKeys as we, vModelText as be, TransitionGroup as Wh, nextTick as cf, vModelDynamic as Sn, normalizeProps as Hh } from "vue";
|
|
6
6
|
import { EventDispatcher as ff } from "@qikdev/sdk";
|
|
7
|
-
const Gh = "0.3.
|
|
7
|
+
const Gh = "0.3.8";
|
|
8
8
|
class yn extends Error {
|
|
9
9
|
}
|
|
10
10
|
class Yh extends yn {
|
|
@@ -6287,60 +6287,61 @@ const X_ = /* @__PURE__ */ M(J_, [["render", Z_], ["__scopeId", "data-v-677f555b
|
|
|
6287
6287
|
imageSource() {
|
|
6288
6288
|
var n;
|
|
6289
6289
|
const e = this.source;
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6290
|
+
if (e)
|
|
6291
|
+
switch ((n = e == null ? void 0 : e.meta) == null ? void 0 : n.type) {
|
|
6292
|
+
case "video":
|
|
6293
|
+
case "image":
|
|
6294
|
+
case "event":
|
|
6295
|
+
case "persona":
|
|
6296
|
+
case "profile":
|
|
6297
|
+
case "audio":
|
|
6298
|
+
case "file":
|
|
6299
|
+
return this.source;
|
|
6300
|
+
default: {
|
|
6301
|
+
const r = this.$sdk.utils.id(this.source);
|
|
6302
|
+
if (!r)
|
|
6303
|
+
return;
|
|
6304
|
+
var t = r.slice(8, 10);
|
|
6305
|
+
switch (t) {
|
|
6306
|
+
case "69":
|
|
6307
|
+
return {
|
|
6308
|
+
_id: r,
|
|
6309
|
+
meta: {
|
|
6310
|
+
type: "image"
|
|
6311
|
+
}
|
|
6312
|
+
};
|
|
6313
|
+
case "76":
|
|
6314
|
+
return {
|
|
6315
|
+
_id: r,
|
|
6316
|
+
meta: {
|
|
6317
|
+
type: "video"
|
|
6318
|
+
}
|
|
6319
|
+
};
|
|
6320
|
+
case "24":
|
|
6321
|
+
return {
|
|
6322
|
+
_id: r,
|
|
6323
|
+
meta: {
|
|
6324
|
+
type: "persona"
|
|
6325
|
+
}
|
|
6326
|
+
};
|
|
6327
|
+
case "70":
|
|
6328
|
+
return {
|
|
6329
|
+
_id: r,
|
|
6330
|
+
meta: {
|
|
6331
|
+
type: "profile"
|
|
6332
|
+
}
|
|
6333
|
+
};
|
|
6334
|
+
case "71":
|
|
6335
|
+
return {
|
|
6336
|
+
_id: r,
|
|
6337
|
+
meta: {
|
|
6338
|
+
type: "checkin"
|
|
6339
|
+
}
|
|
6340
|
+
};
|
|
6341
|
+
}
|
|
6342
|
+
return r;
|
|
6340
6343
|
}
|
|
6341
|
-
return r;
|
|
6342
6344
|
}
|
|
6343
|
-
}
|
|
6344
6345
|
},
|
|
6345
6346
|
type() {
|
|
6346
6347
|
var e, t;
|
|
@@ -6356,40 +6357,42 @@ const X_ = /* @__PURE__ */ M(J_, [["render", Z_], ["__scopeId", "data-v-677f555b
|
|
|
6356
6357
|
function tv(e, t, n, r, s, i) {
|
|
6357
6358
|
const a = y("ux-image"), l = y("ux-icon");
|
|
6358
6359
|
return o(), m("td", ev, [
|
|
6359
|
-
i.
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6360
|
+
i.imageSource ? (o(), m(D, { key: 0 }, [
|
|
6361
|
+
i.type == "image" || i.type == "video" ? (o(), m("div", {
|
|
6362
|
+
key: 0,
|
|
6363
|
+
onClick: t[0] || (t[0] = B((u) => i.clicked(e.value), ["stop", "prevent"])),
|
|
6364
|
+
class: "image-wrapper"
|
|
6365
|
+
}, [
|
|
6366
|
+
c(a, {
|
|
6367
|
+
lazy: "",
|
|
6368
|
+
item: i.imageSource,
|
|
6369
|
+
type: i.type,
|
|
6370
|
+
width: 100,
|
|
6371
|
+
height: 100
|
|
6372
|
+
}, null, 8, ["item", "type"])
|
|
6373
|
+
])) : i.type === "audio" ? (o(), k(l, {
|
|
6374
|
+
key: 1,
|
|
6375
|
+
icon: "fa-music"
|
|
6376
|
+
})) : i.type === "file" ? (o(), k(l, {
|
|
6377
|
+
key: 2,
|
|
6378
|
+
icon: "fa-file"
|
|
6379
|
+
})) : (o(), m("div", {
|
|
6380
|
+
key: 3,
|
|
6381
|
+
onClick: t[1] || (t[1] = B((u) => i.clicked(e.value), ["stop", "prevent"])),
|
|
6382
|
+
class: "image-wrapper"
|
|
6383
|
+
}, [
|
|
6384
|
+
c(a, {
|
|
6385
|
+
lazy: "",
|
|
6386
|
+
item: i.imageSource,
|
|
6387
|
+
type: i.type,
|
|
6388
|
+
width: 100,
|
|
6389
|
+
height: 100
|
|
6390
|
+
}, null, 8, ["item", "type"])
|
|
6391
|
+
]))
|
|
6392
|
+
], 64)) : _("", !0)
|
|
6390
6393
|
]);
|
|
6391
6394
|
}
|
|
6392
|
-
const nv = /* @__PURE__ */ M(Q_, [["render", tv], ["__scopeId", "data-v-
|
|
6395
|
+
const nv = /* @__PURE__ */ M(Q_, [["render", tv], ["__scopeId", "data-v-0d557d14"]]), iv = {
|
|
6393
6396
|
mixins: [Te],
|
|
6394
6397
|
computed: {
|
|
6395
6398
|
string() {
|
|
@@ -31735,7 +31738,7 @@ const Oh = /* @__PURE__ */ M(LA, [["render", PA], ["__scopeId", "data-v-e6afec75
|
|
|
31735
31738
|
return ((e = this.form) == null ? void 0 : e.fields) || [];
|
|
31736
31739
|
}
|
|
31737
31740
|
}
|
|
31738
|
-
}, Dh = (e) => (je("data-v-
|
|
31741
|
+
}, Dh = (e) => (je("data-v-cca37188"), e = e(), qe(), e), qA = /* @__PURE__ */ Dh(() => /* @__PURE__ */ T("h3", null, "An error occurred", -1)), BA = { key: 0 }, zA = { key: 1 }, WA = { key: 2 }, HA = { class: "intent-submit" }, GA = {
|
|
31739
31742
|
key: 0,
|
|
31740
31743
|
class: "multistep-form"
|
|
31741
31744
|
}, YA = { class: "multistep-form-sections" }, JA = { class: "multistep-fields" }, KA = { class: "multistep-controls" }, ZA = ["tooltip"], XA = ["tooltip"], QA = { class: "multistep-progress" }, eN = {
|
|
@@ -31814,13 +31817,14 @@ function iN(e, t, n, r, s, i) {
|
|
|
31814
31817
|
T("div", HA, [
|
|
31815
31818
|
c(l, {
|
|
31816
31819
|
color: "primary",
|
|
31820
|
+
loading: s.processing,
|
|
31817
31821
|
onClick: i.confirmIntention
|
|
31818
31822
|
}, {
|
|
31819
31823
|
default: f(() => [
|
|
31820
31824
|
O(" Confirm Payment ")
|
|
31821
31825
|
]),
|
|
31822
31826
|
_: 1
|
|
31823
|
-
}, 8, ["onClick"])
|
|
31827
|
+
}, 8, ["loading", "onClick"])
|
|
31824
31828
|
])
|
|
31825
31829
|
], 64)) : _("", !0)
|
|
31826
31830
|
], 64)) : (o(), m(D, { key: 3 }, [
|
|
@@ -31964,7 +31968,7 @@ function iN(e, t, n, r, s, i) {
|
|
|
31964
31968
|
], 64))
|
|
31965
31969
|
], 2);
|
|
31966
31970
|
}
|
|
31967
|
-
const rN = /* @__PURE__ */ M(jA, [["render", iN], ["__scopeId", "data-v-
|
|
31971
|
+
const rN = /* @__PURE__ */ M(jA, [["render", iN], ["__scopeId", "data-v-cca37188"]]), sN = "init", zc = "ready", aN = "processing", lN = "success", oN = "error", uN = {
|
|
31968
31972
|
name: "PaymentMethodForm",
|
|
31969
31973
|
components: {
|
|
31970
31974
|
StripeElements: fm,
|