@qikdev/vue-ui 0.2.231 → 0.2.233

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 Fr, ref as en, toRefs as Dl, onMounted as Fl, onBeforeUnmount as Xa, watch as Ir, computed as pr, openBlock as a, createElementBlock as d, renderSlot as G, createCommentVNode as _, normalizeClass as A, useSlots as Qa, reactive as Ut, provide as ji, resolveComponent as y, Fragment as S, unref as Wn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as b, withDirectives as W, vShow as hi, createElementVNode as x, withModifiers as H, createTextVNode as O, h as yr, mergeProps as Ei, toHandlers as Mr, normalizeStyle as qe, resolveDynamicComponent as Ct, vModelSelect as mt, pushScopeId as Ke, popScopeId as Je, Teleport as eu, vModelText as oe, withKeys as ye, TransitionGroup as tu, nextTick as Il, vModelDynamic as Gn } from "vue";
3
3
  import { EventDispatcher as Ml } from "@qikdev/sdk";
4
- const nu = "0.2.231";
4
+ const nu = "0.2.233";
5
5
  class Rt extends Error {
6
6
  }
7
7
  class iu extends Rt {
@@ -7982,16 +7982,20 @@ const ug = {
7982
7982
  type: [Object, String]
7983
7983
  },
7984
7984
  cacheKey: {
7985
- type: String
7985
+ type: [String, Number]
7986
+ }
7987
+ },
7988
+ data() {
7989
+ return {
7990
+ stringID: this.$sdk.utils.id(this.id)
7991
+ };
7992
+ },
7993
+ watch: {
7994
+ id(e) {
7995
+ this.stringID = this.$sdk.utils.id(e);
7986
7996
  }
7987
7997
  },
7988
7998
  computed: {
7989
- stringID() {
7990
- return this.$sdk.utils.id(this.id);
7991
- },
7992
- type() {
7993
- return this.$sdk.utils.getTypeFromID(this.stringID);
7994
- },
7995
7999
  url() {
7996
8000
  const e = {};
7997
8001
  return this.cacheKey && (e.cacheKey = this.cacheKey), this.$sdk.api.generateEndpointURL(`/image/${this.stringID}`, e, { file: !0 });
@@ -22316,7 +22320,7 @@ function uE(e, t, n, r, s, i) {
22316
22320
  ])
22317
22321
  ]);
22318
22322
  }
22319
- const ts = /* @__PURE__ */ T(lE, [["render", uE], ["__scopeId", "data-v-f3d0fd3e"]]);
22323
+ const ts = /* @__PURE__ */ T(lE, [["render", uE], ["__scopeId", "data-v-82bfda58"]]);
22320
22324
  function dE(e) {
22321
22325
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
22322
22326
  let r;