@qikdev/vue-ui 0.2.232 → 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.232";
4
+ const nu = "0.2.233";
5
5
  class Rt extends Error {
6
6
  }
7
7
  class iu extends Rt {
@@ -7985,13 +7985,17 @@ const ug = {
7985
7985
  type: [String, Number]
7986
7986
  }
7987
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);
7996
+ }
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 });