@qikdev/vue-ui 0.2.288 → 0.2.290

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.umd.js CHANGED
@@ -7,7 +7,7 @@
7
7
  t((V["@qikdev/vue-ui"] = {}), V.Vue, V.sdk));
8
8
  })(this, function (V, t, $r) {
9
9
  "use strict";
10
- const sc = "0.2.288";
10
+ const sc = "0.2.290";
11
11
  class ct extends Error {}
12
12
  class cc extends ct {
13
13
  constructor(n) {
@@ -7191,6 +7191,9 @@
7191
7191
  return e.$sdk.api.generateEndpointURL(`/smartlist/${n}/select`);
7192
7192
  }
7193
7193
  },
7194
+ hasAuthenticationToken() {
7195
+ return this.$sdk.auth.getCurrentToken();
7196
+ },
7194
7197
  hasAsyncOptions() {
7195
7198
  var e;
7196
7199
  if (this.asyncOptionsURL) return !0;
@@ -7199,7 +7202,7 @@
7199
7202
  return !1;
7200
7203
  switch (this.field.widget) {
7201
7204
  case "select":
7202
- if (this.user) return !0;
7205
+ if (this.hasAuthenticationToken) return !0;
7203
7206
  break;
7204
7207
  default:
7205
7208
  return !1;
@@ -7410,7 +7413,7 @@
7410
7413
  r = e.$sdk.utils.id((o == null ? void 0 : o._id) || o);
7411
7414
  return { title: l, value: i, _id: r };
7412
7415
  });
7413
- } else if (e.user) {
7416
+ } else if (e.hasAuthenticationToken) {
7414
7417
  const n = e.field.referenceType,
7415
7418
  o = {
7416
7419
  filter: e.field.lockFilter,