@qikdev/vue-ui 0.2.385 → 0.2.387

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 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.385";
4
+ const _m = "0.2.387";
5
5
  class tn extends Error {
6
6
  }
7
7
  class vm extends tn {
@@ -10060,6 +10060,9 @@ const J1 = /* @__PURE__ */ D(z1, [["render", G1], ["__scopeId", "data-v-ba449734
10060
10060
  type: Boolean,
10061
10061
  default: !0
10062
10062
  },
10063
+ controlslist: {
10064
+ type: String
10065
+ },
10063
10066
  autoplay: {
10064
10067
  type: Boolean,
10065
10068
  default: !1
@@ -10208,7 +10211,7 @@ const J1 = /* @__PURE__ */ D(z1, [["render", G1], ["__scopeId", "data-v-ba449734
10208
10211
  return this.padHeight && (e.height = 0, e.paddingBottom = this.padHeight, e.overflow = "hidden", e.position = "relative"), e;
10209
10212
  }
10210
10213
  }
10211
- }, Z1 = ["poster", "playsinline", "muted", "loop", "autoplay", "width", "height", "controls"], Y1 = ["src", "type"], X1 = ["width", "height", "src", "title"];
10214
+ }, Z1 = ["poster", "playsinline", "muted", "loop", "autoplay", "width", "height", "controls", "controlslist"], Y1 = ["src", "type"], X1 = ["width", "height", "src", "title"];
10212
10215
  function Q1(e, t, n, i, s, r) {
10213
10216
  return o(), f("div", {
10214
10217
  class: N(["ux-video", r.className])
@@ -10226,7 +10229,8 @@ function Q1(e, t, n, i, s, r) {
10226
10229
  autoplay: n.autoplay,
10227
10230
  width: r.actualWidth,
10228
10231
  height: r.actualHeight,
10229
- controls: n.controls
10232
+ controls: n.controls,
10233
+ controlslist: n.controlslist
10230
10234
  }, [
10231
10235
  x("source", {
10232
10236
  src: r.src,
@@ -10252,7 +10256,7 @@ function Q1(e, t, n, i, s, r) {
10252
10256
  ], 4)) : _("", !0)
10253
10257
  ], 2);
10254
10258
  }
10255
- const eb = /* @__PURE__ */ D(K1, [["render", Q1], ["__scopeId", "data-v-bd3b7f00"]]), tb = {
10259
+ const eb = /* @__PURE__ */ D(K1, [["render", Q1], ["__scopeId", "data-v-8f908e0a"]]), tb = {
10256
10260
  props: {
10257
10261
  value: {
10258
10262
  type: Number
@@ -23352,6 +23356,9 @@ const pO = /* @__PURE__ */ D(YC, [["render", hO], ["__scopeId", "data-v-a94917d9
23352
23356
  computed: {
23353
23357
  syntax() {
23354
23358
  return this.field ? this.field.syntax : "json";
23359
+ },
23360
+ tokens() {
23361
+ return this.field ? this.field.tokens : [];
23355
23362
  }
23356
23363
  },
23357
23364
  mixins: [re],
@@ -23441,15 +23448,16 @@ function xO(e, t, n, i, s, r) {
23441
23448
  ])) : (o(), f("div", wO, [
23442
23449
  c(a, {
23443
23450
  lang: r.syntax,
23451
+ tokens: r.tokens,
23444
23452
  class: "ux-code-editor ux-field-focus ux-text-area-single",
23445
23453
  onFocus: e.touch,
23446
23454
  modelValue: e.model,
23447
23455
  "onUpdate:modelValue": t[1] || (t[1] = (p) => e.model = p)
23448
- }, null, 8, ["lang", "onFocus", "modelValue"])
23456
+ }, null, 8, ["lang", "tokens", "onFocus", "modelValue"])
23449
23457
  ]))
23450
23458
  ], 32);
23451
23459
  }
23452
- const SO = /* @__PURE__ */ D(yO, [["render", xO], ["__scopeId", "data-v-c5c2a96b"]]), TO = {
23460
+ const SO = /* @__PURE__ */ D(yO, [["render", xO], ["__scopeId", "data-v-ecb1b9f8"]]), TO = {
23453
23461
  emits: ["deselect"],
23454
23462
  components: {
23455
23463
  Search: an,
@@ -28922,7 +28930,10 @@ const ZD = /* @__PURE__ */ D(FD, [["render", KD], ["__scopeId", "data-v-558310f6
28922
28930
  }
28923
28931
  },
28924
28932
  async created() {
28925
- await this.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/"), this.initialised = !0, this.state = Fd;
28933
+ const e = this;
28934
+ e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/").then(function() {
28935
+ e.initialised = !0, e.state = Fd;
28936
+ });
28926
28937
  },
28927
28938
  computed: {
28928
28939
  allSetup() {
@@ -29013,6 +29024,12 @@ const ZD = /* @__PURE__ */ D(FD, [["render", KD], ["__scopeId", "data-v-558310f6
29013
29024
  };
29014
29025
  },
29015
29026
  watch: {
29027
+ stripeKey(e) {
29028
+ console.log("PMF: stripe key initialised", e);
29029
+ },
29030
+ initialised(e) {
29031
+ console.log("PMF initialised", e);
29032
+ },
29016
29033
  allSetup(e, t) {
29017
29034
  !t && e && (this.resetForm(), this.$nextTick(() => {
29018
29035
  this.setupCardErrorHandling();
@@ -29092,7 +29109,7 @@ const ZD = /* @__PURE__ */ D(FD, [["render", KD], ["__scopeId", "data-v-558310f6
29092
29109
  this.resetForm(), this.$emit("close");
29093
29110
  }
29094
29111
  }
29095
- }, _l = (e) => (qe("data-v-0d31e7bf"), e = e(), je(), e), nM = {
29112
+ }, _l = (e) => (qe("data-v-e3ee591f"), e = e(), je(), e), nM = {
29096
29113
  key: 0,
29097
29114
  class: "payment-method"
29098
29115
  }, rM = { class: "payment-method-form" }, iM = /* @__PURE__ */ _l(() => /* @__PURE__ */ x("h3", null, "Add Payment Method", -1)), sM = {
@@ -29204,7 +29221,7 @@ function pM(e, t, n, i, s, r) {
29204
29221
  ])
29205
29222
  ])) : (o(), f("div", hM, "Initialising secure payment form..."));
29206
29223
  }
29207
- const yM = /* @__PURE__ */ D(tM, [["render", pM], ["__scopeId", "data-v-0d31e7bf"]]), gM = {
29224
+ const yM = /* @__PURE__ */ D(tM, [["render", pM], ["__scopeId", "data-v-e3ee591f"]]), gM = {
29208
29225
  name: "UxFieldWrapper",
29209
29226
  props: {
29210
29227
  title: {
@@ -29242,7 +29259,7 @@ function bM(e, t, n, i, s, r) {
29242
29259
  W(e.$slots, "default", {}, void 0, !0)
29243
29260
  ], 2);
29244
29261
  }
29245
- const kM = /* @__PURE__ */ D(gM, [["render", bM], ["__scopeId", "data-v-45c2e9e5"]]);
29262
+ const kM = /* @__PURE__ */ D(gM, [["render", bM], ["__scopeId", "data-v-980de6f6"]]);
29246
29263
  function wM(e) {
29247
29264
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
29248
29265
  let i;