@qikdev/vue-ui 0.2.77 → 0.2.80

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.79", 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",
@@ -9216,7 +9216,7 @@ function Rg(e, t, n, i, s, r) {
9216
9216
  })
9217
9217
  ]);
9218
9218
  }
9219
- const Sl = /* @__PURE__ */ E(jg, [["render", Rg], ["__scopeId", "data-v-805b5945"]]);
9219
+ const Sl = /* @__PURE__ */ E(jg, [["render", Rg], ["__scopeId", "data-v-f1a20da8"]]);
9220
9220
  /**!
9221
9221
  * Sortable 1.14.0
9222
9222
  * @author RubaXa <trash@rubaxa.org>
@@ -11098,6 +11098,7 @@ function Bv(e, t, n, i, s, r) {
11098
11098
  actions: h(() => [
11099
11099
  e.$actions ? (o(), k(l, {
11100
11100
  key: 0,
11101
+ size: "sm",
11101
11102
  icon: "",
11102
11103
  onClick: t[0] || (t[0] = W((T) => e.$actions.open([e.model]), ["stop", "prevent"]))
11103
11104
  }, {
@@ -11108,6 +11109,7 @@ function Bv(e, t, n, i, s, r) {
11108
11109
  })) : _("", !0),
11109
11110
  r.canEdit(v) ? (o(), k(l, {
11110
11111
  key: 1,
11112
+ size: "sm",
11111
11113
  icon: "",
11112
11114
  onClick: W((T) => r.edit(v), ["stop", "prevent"])
11113
11115
  }, {
@@ -11117,6 +11119,7 @@ function Bv(e, t, n, i, s, r) {
11117
11119
  _: 2
11118
11120
  }, 1032, ["onClick"])) : _("", !0),
11119
11121
  m(l, {
11122
+ size: "sm",
11120
11123
  icon: "",
11121
11124
  onClick: W((T) => e.remove(v), ["stop", "prevent"])
11122
11125
  }, {
@@ -11136,6 +11139,7 @@ function Bv(e, t, n, i, s, r) {
11136
11139
  actions: h(() => [
11137
11140
  e.$actions ? (o(), k(l, {
11138
11141
  key: 0,
11142
+ size: "sm",
11139
11143
  icon: "",
11140
11144
  onClick: t[2] || (t[2] = W((v) => e.$actions.open([e.model]), ["stop", "prevent"]))
11141
11145
  }, {
@@ -11146,6 +11150,7 @@ function Bv(e, t, n, i, s, r) {
11146
11150
  })) : _("", !0),
11147
11151
  r.canEdit(e.model) ? (o(), k(l, {
11148
11152
  key: 1,
11153
+ size: "sm",
11149
11154
  icon: "",
11150
11155
  onClick: t[3] || (t[3] = W((v) => r.edit(e.model), ["stop", "prevent"]))
11151
11156
  }, {
@@ -11155,6 +11160,7 @@ function Bv(e, t, n, i, s, r) {
11155
11160
  _: 1
11156
11161
  })) : _("", !0),
11157
11162
  m(l, {
11163
+ size: "sm",
11158
11164
  icon: "",
11159
11165
  onClick: W(r.clear, ["stop", "prevent"])
11160
11166
  }, {
@@ -11211,7 +11217,7 @@ function Bv(e, t, n, i, s, r) {
11211
11217
  })) : _("", !0)
11212
11218
  ], 64);
11213
11219
  }
11214
- const Gl = /* @__PURE__ */ E(Lv, [["render", Bv], ["__scopeId", "data-v-00c33b8b"]]);
11220
+ const Gl = /* @__PURE__ */ E(Lv, [["render", Bv], ["__scopeId", "data-v-c0d116a5"]]);
11215
11221
  function zv(e) {
11216
11222
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
11217
11223
  }
@@ -17357,10 +17363,11 @@ const C2 = {
17357
17363
  isDirtyBeforeInput: !1
17358
17364
  };
17359
17365
  },
17360
- inject: ["parentFormElement", "directFormElement", "additionalContext"],
17366
+ inject: ["parentFormElement", "directParentModel", "directFormElement", "additionalContext"],
17361
17367
  provide() {
17362
17368
  return {
17363
- fieldPath: this.fieldPath
17369
+ fieldPath: this.fieldPath,
17370
+ directParentModel: this.model
17364
17371
  };
17365
17372
  },
17366
17373
  created() {
@@ -17538,15 +17545,18 @@ const C2 = {
17538
17545
  return this.field.expressions;
17539
17546
  },
17540
17547
  expressionsContext() {
17541
- var n;
17542
- var e = ((n = this.additionalContext) == null ? void 0 : n.value) || {};
17548
+ var s;
17549
+ const e = this;
17550
+ var t = ((s = e.additionalContext) == null ? void 0 : s.value) || {};
17551
+ const n = e.directParentModel;
17543
17552
  return {
17544
- this: this.model,
17545
- self: this.model,
17546
- model: this.model,
17547
- data: this.parentModel || this.model,
17553
+ this: e.model,
17554
+ self: e.model,
17555
+ model: e.model,
17556
+ data: e.parentModel || e.model,
17557
+ parent: n,
17548
17558
  additional: {
17549
- ...e
17559
+ ...t
17550
17560
  }
17551
17561
  };
17552
17562
  },
@@ -17931,7 +17941,7 @@ function A2(e, t, n, i, s, r) {
17931
17941
  r.error && s.validateResults.message ? (o(), d("div", V2, b(s.validateResults.message), 1)) : _("", !0)
17932
17942
  ], 34)) : _("", !0);
17933
17943
  }
17934
- const Ui = /* @__PURE__ */ E(C2, [["render", A2], ["__scopeId", "data-v-3e17089a"]]);
17944
+ const Ui = /* @__PURE__ */ E(C2, [["render", A2], ["__scopeId", "data-v-9e40f6a3"]]);
17935
17945
  function M2(e, t, n, i) {
17936
17946
  var s = -1, r = e == null ? 0 : e.length;
17937
17947
  for (i && r && (n = e[++s]); ++s < r; )
@@ -18399,7 +18409,7 @@ function zO(e, t, n, i, s, r) {
18399
18409
  ], !0)
18400
18410
  ], 2);
18401
18411
  }
18402
- const ho = /* @__PURE__ */ E(BO, [["render", zO], ["__scopeId", "data-v-3e8fe3c2"]]);
18412
+ const ho = /* @__PURE__ */ E(BO, [["render", zO], ["__scopeId", "data-v-3ad123e3"]]);
18403
18413
  const ri = "form.ready", HO = "form.processing", ra = "form.complete", ia = "form.error", qO = "form.intent", GO = {
18404
18414
  methods: {
18405
18415
  formStateUpdated(e) {
@@ -20325,7 +20335,7 @@ const LT = {
20325
20335
  actualOptions: this.options
20326
20336
  };
20327
20337
  }
20328
- }, _o = (e) => (st("data-v-b5412074"), e = e(), at(), e), PT = { class: "footer" }, UT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1)), jT = { key: 0 }, RT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1));
20338
+ }, _o = (e) => (st("data-v-4f6cf2cc"), e = e(), at(), e), PT = { class: "footer" }, UT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1)), jT = { key: 0 }, RT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1));
20329
20339
  function BT(e, t, n, i, s, r) {
20330
20340
  const a = y("ux-icon"), l = y("ux-panel-body"), u = y("ux-panel"), c = y("flex-column"), f = y("ux-button"), p = y("ux-list-item"), g = y("ux-list"), v = y("ux-menu"), x = y("native-table"), T = y("pager"), A = y("flex-footer"), G = y("flex-row"), Q = y("search"), re = y("ux-field"), le = y("filter-builder"), oe = y("flex-body"), B = y("spinner");
20331
20341
  return r.actualDefinition ? (o(), k(c, {
@@ -20534,7 +20544,7 @@ function BT(e, t, n, i, s, r) {
20534
20544
  _: 3
20535
20545
  })) : _("", !0);
20536
20546
  }
20537
- const zT = /* @__PURE__ */ E(LT, [["render", BT], ["__scopeId", "data-v-b5412074"]]), Ln = {
20547
+ const zT = /* @__PURE__ */ E(LT, [["render", BT], ["__scopeId", "data-v-4f6cf2cc"]]), Ln = {
20538
20548
  props: {
20539
20549
  options: {
20540
20550
  type: Object,