@qikdev/vue-ui 0.2.77 → 0.2.78

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 './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.77", lr = {
4
+ const Vo = "0.2.78", 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",
@@ -17357,10 +17357,11 @@ const C2 = {
17357
17357
  isDirtyBeforeInput: !1
17358
17358
  };
17359
17359
  },
17360
- inject: ["parentFormElement", "directFormElement", "additionalContext"],
17360
+ inject: ["parentFormElement", "directParentModel", "directFormElement", "additionalContext"],
17361
17361
  provide() {
17362
17362
  return {
17363
- fieldPath: this.fieldPath
17363
+ fieldPath: this.fieldPath,
17364
+ directParentModel: this.model
17364
17365
  };
17365
17366
  },
17366
17367
  created() {
@@ -17538,15 +17539,18 @@ const C2 = {
17538
17539
  return this.field.expressions;
17539
17540
  },
17540
17541
  expressionsContext() {
17541
- var n;
17542
- var e = ((n = this.additionalContext) == null ? void 0 : n.value) || {};
17542
+ var s;
17543
+ const e = this;
17544
+ var t = ((s = e.additionalContext) == null ? void 0 : s.value) || {};
17545
+ const n = e.directParentModel;
17543
17546
  return {
17544
- this: this.model,
17545
- self: this.model,
17546
- model: this.model,
17547
- data: this.parentModel || this.model,
17547
+ this: e.model,
17548
+ self: e.model,
17549
+ model: e.model,
17550
+ data: e.parentModel || e.model,
17551
+ parent: n,
17548
17552
  additional: {
17549
- ...e
17553
+ ...t
17550
17554
  }
17551
17555
  };
17552
17556
  },
@@ -17931,7 +17935,7 @@ function A2(e, t, n, i, s, r) {
17931
17935
  r.error && s.validateResults.message ? (o(), d("div", V2, b(s.validateResults.message), 1)) : _("", !0)
17932
17936
  ], 34)) : _("", !0);
17933
17937
  }
17934
- const Ui = /* @__PURE__ */ E(C2, [["render", A2], ["__scopeId", "data-v-3e17089a"]]);
17938
+ const Ui = /* @__PURE__ */ E(C2, [["render", A2], ["__scopeId", "data-v-9e40f6a3"]]);
17935
17939
  function M2(e, t, n, i) {
17936
17940
  var s = -1, r = e == null ? 0 : e.length;
17937
17941
  for (i && r && (n = e[++s]); ++s < r; )
@@ -18399,7 +18403,7 @@ function zO(e, t, n, i, s, r) {
18399
18403
  ], !0)
18400
18404
  ], 2);
18401
18405
  }
18402
- const ho = /* @__PURE__ */ E(BO, [["render", zO], ["__scopeId", "data-v-3e8fe3c2"]]);
18406
+ const ho = /* @__PURE__ */ E(BO, [["render", zO], ["__scopeId", "data-v-3ad123e3"]]);
18403
18407
  const ri = "form.ready", HO = "form.processing", ra = "form.complete", ia = "form.error", qO = "form.intent", GO = {
18404
18408
  methods: {
18405
18409
  formStateUpdated(e) {