@qikdev/vue-ui 0.2.283 → 0.2.285

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.283";
10
+ const sc = "0.2.285";
11
11
  class ct extends Error {}
12
12
  class cc extends ct {
13
13
  constructor(n) {
@@ -7181,6 +7181,10 @@
7181
7181
  asyncOptionsURL() {
7182
7182
  const e = this;
7183
7183
  if (e.field.asyncOptions) return e.field.asyncOptions;
7184
+ if (e.field.dynamicOptions) {
7185
+ const n = e.$sdk.utils.id(e.field.dynamicOptions);
7186
+ return e.$sdk.api.generateEndpointURL(`/smartlist/${n}`);
7187
+ }
7184
7188
  },
7185
7189
  hasAsyncOptions() {
7186
7190
  var e;
@@ -7632,6 +7636,9 @@
7632
7636
  },
7633
7637
  },
7634
7638
  computed: {
7639
+ noneTitle() {
7640
+ return this.field.placeholder || "None";
7641
+ },
7635
7642
  usePills() {
7636
7643
  return this.field.pills || this.pills;
7637
7644
  },
@@ -7656,7 +7663,7 @@
7656
7663
  o = this.model;
7657
7664
  return o || o === !1 || o === 0
7658
7665
  ? this.getLabel(this.optionLookup[this.model])
7659
- : n || this.placeholder || this.title || "Click to select";
7666
+ : n || this.noneTitle || this.title || "Click to select";
7660
7667
  },
7661
7668
  grouped() {
7662
7669
  const e = this,
@@ -7714,7 +7721,7 @@
7714
7721
  },
7715
7722
  },
7716
7723
  Og = (e) => (
7717
- t.pushScopeId("data-v-818cbef3"), (e = e()), t.popScopeId(), e
7724
+ t.pushScopeId("data-v-efa84717"), (e = e()), t.popScopeId(), e
7718
7725
  ),
7719
7726
  Fg = { key: 0, class: "ux-field-title" },
7720
7727
  Mg = { key: 0, class: "ux-required-marker" },
@@ -8014,7 +8021,12 @@
8014
8021
  [
8015
8022
  r.showNoneOption
8016
8023
  ? (t.openBlock(),
8017
- t.createElementBlock("option", Gg, "None"))
8024
+ t.createElementBlock(
8025
+ "option",
8026
+ Gg,
8027
+ t.toDisplayString(r.noneTitle),
8028
+ 1,
8029
+ ))
8018
8030
  : t.createCommentVNode("", !0),
8019
8031
  r.grouped
8020
8032
  ? (t.openBlock(!0),
@@ -8092,7 +8104,7 @@
8092
8104
  }
8093
8105
  const Pe = g(Dg, [
8094
8106
  ["render", Jg],
8095
- ["__scopeId", "data-v-818cbef3"],
8107
+ ["__scopeId", "data-v-efa84717"],
8096
8108
  ]),
8097
8109
  qF = "",
8098
8110
  Xg = {