@qikdev/vue-ui 0.2.126 → 0.2.128

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 Vi, ref as Zt, toRefs as _a, onMounted as ga, onBeforeUnmount as Uo, watch as Ci, computed as di, openBlock as o, createElementBlock as d, renderSlot as B, createCommentVNode as _, useSlots as jo, reactive as Sr, provide as $r, resolveComponent as y, normalizeClass as U, Fragment as w, unref as Bn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as v, withDirectives as W, vShow as ci, createElementVNode as x, withModifiers as K, createTextVNode as S, h as fi, resolveDynamicComponent as Ot, mergeProps as Ei, toHandlers as va, vModelSelect as Tt, pushScopeId as tt, popScopeId as nt, normalizeStyle as ut, Teleport as Ro, vModelText as se, withKeys as ge, TransitionGroup as Bo, nextTick as ba, vModelDynamic as zn } from "vue";
3
3
  import { EventDispatcher as zo } from "@qikdev/sdk";
4
- const Ho = "0.2.126";
4
+ const Ho = "0.2.128";
5
5
  class Lt extends Error {
6
6
  }
7
7
  class qo extends Lt {
@@ -7637,7 +7637,7 @@ function H_(e, t, n, i, s, r) {
7637
7637
  _: 3
7638
7638
  }, 8, ["active", "loading", "to", "href", "target", "style", "class", "disabled"]);
7639
7639
  }
7640
- const q_ = /* @__PURE__ */ V(B_, [["render", H_], ["__scopeId", "data-v-66b9c2a8"]]);
7640
+ const q_ = /* @__PURE__ */ V(B_, [["render", H_], ["__scopeId", "data-v-d743951c"]]);
7641
7641
  const G_ = {
7642
7642
  props: {
7643
7643
  value: {
@@ -8287,14 +8287,14 @@ const dg = {
8287
8287
  params() {
8288
8288
  var t, n, i;
8289
8289
  var e = {};
8290
- if (e.access_token = this.$sdk.auth.getCurrentToken(), e.cb = this.cacheBuster, this.imageWidth && (e.w = this.imageWidth ? this.imageWidth : null), this.imageHeight && (e.h = this.imageHeight ? this.imageHeight : null), this.auto && !e.w && !e.h) {
8290
+ if (e.access_token = this.$sdk.auth.getCurrentToken(), e.cb = this.cacheBuster, this.imageWidth && (e.w = this.imageWidth ? this.imageWidth : null), this.imageHeight && (e.h = this.imageHeight ? this.imageHeight : null), this.upscale && (e.u = !0), this.auto && !e.w && !e.h) {
8291
8291
  const s = (i = (n = (t = this.$sdk.app) == null ? void 0 : t.device) == null ? void 0 : n.screen) == null ? void 0 : i.width;
8292
8292
  if (s) {
8293
8293
  const l = ug(s, [320, 768, 1200, 1800, 2e3]) * 1.5;
8294
- e.w = l;
8294
+ e.w = l, e.u = !1;
8295
8295
  }
8296
8296
  }
8297
- return this.crop ? e.c = !0 : this.contain || (e.c = this.imageWidth && this.imageHeight), this.quality && (e.q = parseInt(this.quality)), this.upscale && (e.u = !0), this.format && (e.f = this.format), e;
8297
+ return this.crop ? e.c = !0 : this.contain || (e.c = this.imageWidth && this.imageHeight), this.quality && (e.q = parseInt(this.quality)), this.format && (e.f = this.format), e;
8298
8298
  },
8299
8299
  src() {
8300
8300
  const e = "image";
@@ -8308,7 +8308,7 @@ const dg = {
8308
8308
  },
8309
8309
  imageStyle() {
8310
8310
  var e = {};
8311
- return !this.crop && !this.cover && (e["object-fit"] = "contain"), this.inline ? e.maxWidth = "100%" : (e.width = "100%", e.height = "100%", e.top = "0", e.left = "0", e.position = "absolute"), e;
8311
+ return this.crop || (e["object-fit"] = "contain"), this.cover && (e["object-fit"] = "cover"), this.inline ? e.maxWidth = "100%" : (e.width = "100%", e.height = "100%", e.top = "0", e.left = "0", e.position = "absolute"), e;
8312
8312
  },
8313
8313
  dimensionWidth() {
8314
8314
  return this.imageWidth && this.imageHeight ? this.imageWidth : this.modelWidth;
@@ -8344,7 +8344,7 @@ function mg(e, t, n, i, s, r) {
8344
8344
  }, null, 12, fg))
8345
8345
  ], 6);
8346
8346
  }
8347
- const hg = /* @__PURE__ */ V(dg, [["render", mg], ["__scopeId", "data-v-1ff1c9de"]]);
8347
+ const hg = /* @__PURE__ */ V(dg, [["render", mg], ["__scopeId", "data-v-f8473979"]]);
8348
8348
  const pg = {
8349
8349
  props: {
8350
8350
  item: {