@qikdev/vue-ui 0.2.239 → 0.2.241

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 Mr, ref as en, toRefs as Il, onMounted as Ml, onBeforeUnmount as eu, watch as $r, computed as _r, openBlock as a, createElementBlock as d, renderSlot as G, createCommentVNode as _, normalizeClass as A, useSlots as tu, reactive as Ut, provide as Bi, resolveComponent as y, Fragment as S, unref as Gn, createBlock as k, withCtx as h, createVNode as f, renderList as M, toDisplayString as b, withDirectives as W, vShow as pi, createElementVNode as x, withModifiers as q, createTextVNode as V, h as gr, mergeProps as Di, toHandlers as Ar, normalizeStyle as He, resolveDynamicComponent as Ct, vModelSelect as mt, pushScopeId as Ze, popScopeId as Je, Teleport as $l, vModelText as oe, withKeys as ye, TransitionGroup as nu, nextTick as Al, vModelDynamic as Yn } from "vue";
3
3
  import { EventDispatcher as Ll } from "@qikdev/sdk";
4
- const iu = "0.2.239";
4
+ const iu = "0.2.241";
5
5
  class Rt extends Error {
6
6
  }
7
7
  class ru extends Rt {
@@ -8239,7 +8239,7 @@ const Og = {
8239
8239
  if (this.href)
8240
8240
  return this.href;
8241
8241
  if (this.nuxtMode)
8242
- return this.$sdk.app.createHref(this.to);
8242
+ return this.to ? this.$sdk.app.createHref(this.to) : void 0;
8243
8243
  if (this.to && this.$router && this.$router.resolve) {
8244
8244
  const e = this.$router;
8245
8245
  this.$route;
@@ -8280,7 +8280,7 @@ function Tg(e, t, n, r, s, i) {
8280
8280
  _: 3
8281
8281
  }, 8, ["onClick", "to", "href", "target", "class"]);
8282
8282
  }
8283
- const Cg = /* @__PURE__ */ T(Og, [["render", Tg], ["__scopeId", "data-v-02cdf658"]]);
8283
+ const Cg = /* @__PURE__ */ T(Og, [["render", Tg], ["__scopeId", "data-v-7a924ee2"]]);
8284
8284
  const Eg = {
8285
8285
  props: {
8286
8286
  icon: {
@@ -25109,7 +25109,7 @@ function mF(e, t, n, r, s, i) {
25109
25109
  ], 4)
25110
25110
  ]);
25111
25111
  }
25112
- const hF = /* @__PURE__ */ T(cF, [["render", mF], ["__scopeId", "data-v-9d972047"]]);
25112
+ const hF = /* @__PURE__ */ T(cF, [["render", mF], ["__scopeId", "data-v-90c28992"]]);
25113
25113
  const pF = {
25114
25114
  mixins: [hn],
25115
25115
  computed: {
@@ -26158,7 +26158,7 @@ const aI = `qik vue ui ${iu}`, Fl = {
26158
26158
  var n;
26159
26159
  console.log(aI), t.date = Ie, t.global = t.global || Ut({}), (n = t.global) != null && n.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Ut({})), t.modals = Ut([]), t.modal = function(r) {
26160
26160
  return new Promise(function(s, i) {
26161
- r.id = t.modals.length, r.resolve = s, r.reject = i, t.modals.splice(r.id, 0, r);
26161
+ r.id = String(t.modals.length), r.resolve = s, r.reject = i, t.modals.splice(r.id, 0, r);
26162
26162
  });
26163
26163
  }, t.prompt = function(r, s) {
26164
26164
  return s = s || {}, s.model = s.model || {}, s.fields = r, t.modal({
@@ -26201,7 +26201,7 @@ const aI = `qik vue ui ${iu}`, Fl = {
26201
26201
  });
26202
26202
  }, t.closeModal = function(r) {
26203
26203
  var s = t.modals.find(function(l) {
26204
- return l.id == r;
26204
+ return String(l.id) == String(r);
26205
26205
  }), i = t.modals.indexOf(s);
26206
26206
  t.modals.splice(i, 1);
26207
26207
  };