@sysvale/cuida 3.1.0 → 3.3.0

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.
@@ -25504,6 +25504,10 @@ const F4 = [
25504
25504
  feedbackIcon: {
25505
25505
  type: String,
25506
25506
  default: "check-outline"
25507
+ },
25508
+ variant: {
25509
+ type: String,
25510
+ default: "white"
25507
25511
  }
25508
25512
  },
25509
25513
  data() {
@@ -25519,7 +25523,8 @@ const F4 = [
25519
25523
  return `cds-icon-button--${this.size}`;
25520
25524
  },
25521
25525
  computedModifiers() {
25522
- return `${this.disabled ? "cds-icon-button--disabled" : ""} ${this.predefinedSize}`;
25526
+ const t = this.disabled ? "cds-icon-button--disabled" : "", e = `cds-icon-button__container--${this.variant}`;
25527
+ return `${t} ${this.predefinedSize} ${e}`;
25523
25528
  }
25524
25529
  },
25525
25530
  watch: {
@@ -25558,7 +25563,7 @@ function Kie(t, e, n, i, s, r) {
25558
25563
  }, 8, ["text"])
25559
25564
  ]);
25560
25565
  }
25561
- const Zie = /* @__PURE__ */ _e(qie, [["render", Kie], ["__scopeId", "data-v-97670025"]]);
25566
+ const Zie = /* @__PURE__ */ _e(qie, [["render", Kie], ["__scopeId", "data-v-1e718423"]]);
25562
25567
  var af = { exports: {} };
25563
25568
  (function(t, e) {
25564
25569
  var n = 200, i = "__lodash_hash_undefined__", s = 1, r = 2, a = 9007199254740991, l = "[object Arguments]", c = "[object Array]", d = "[object AsyncFunction]", h = "[object Boolean]", p = "[object Date]", g = "[object Error]", v = "[object Function]", y = "[object GeneratorFunction]", S = "[object Map]", x = "[object Number]", O = "[object Null]", $ = "[object Object]", F = "[object Promise]", C = "[object Proxy]", E = "[object RegExp]", V = "[object Set]", N = "[object String]", H = "[object Symbol]", Z = "[object Undefined]", oe = "[object WeakMap]", ue = "[object ArrayBuffer]", J = "[object DataView]", de = "[object Float32Array]", ke = "[object Float64Array]", re = "[object Int8Array]", xe = "[object Int16Array]", Se = "[object Int32Array]", Te = "[object Uint8Array]", $e = "[object Uint8ClampedArray]", Y = "[object Uint16Array]", Ce = "[object Uint32Array]", ve = /[\\^$.*+?()[\]{}|]/g, Ne = /^\[object .+?Constructor\]$/, Fe = /^(?:0|[1-9]\d*)$/, Me = {};
@@ -29257,6 +29262,11 @@ const Wae = {
29257
29262
  type: String,
29258
29263
  default: "value",
29259
29264
  required: !1
29265
+ },
29266
+ returnValue: {
29267
+ type: Boolean,
29268
+ default: !1,
29269
+ required: !1
29260
29270
  }
29261
29271
  },
29262
29272
  data() {
@@ -29285,7 +29295,7 @@ const Wae = {
29285
29295
  watch: {
29286
29296
  modelValue: {
29287
29297
  handler(t, e) {
29288
- t !== e && (this.localValue = t);
29298
+ t !== e && (t instanceof Object ? this.localValue = t : this.localValue = { id: t, value: t });
29289
29299
  },
29290
29300
  immediate: !0
29291
29301
  },
@@ -29305,7 +29315,7 @@ const Wae = {
29305
29315
  handler(t) {
29306
29316
  this.localOptions.filter(
29307
29317
  (n) => JSON.stringify(n) === JSON.stringify(t)
29308
- ).length !== 0 && this.$emit("update:modelValue", t);
29318
+ ).length !== 0 && (this.returnValue ? this.$emit("update:modelValue", t[this.optionsField]) : this.$emit("update:modelValue", t));
29309
29319
  },
29310
29320
  deep: !0
29311
29321
  }
@@ -29367,7 +29377,7 @@ const Wae = {
29367
29377
  this.getLiInDOM(this.currentPos).classList.remove("highlight");
29368
29378
  }
29369
29379
  }
29370
- }, Yae = (t) => (Vc("data-v-c80f4297"), t = t(), Fc(), t), jae = {
29380
+ }, Yae = (t) => (Vc("data-v-8cdaaf89"), t = t(), Fc(), t), jae = {
29371
29381
  ref: "cds-select",
29372
29382
  class: "select"
29373
29383
  }, Uae = { class: "select__label" }, qae = {
@@ -29464,7 +29474,7 @@ function noe(t, e, n, i, s, r) {
29464
29474
  r.errorState && !n.disabled ? (w(), T("div", toe, te(n.errorMessage), 1)) : Q("", !0)
29465
29475
  ], 512);
29466
29476
  }
29467
- const ioe = /* @__PURE__ */ _e(Wae, [["render", noe], ["__scopeId", "data-v-c80f4297"]]);
29477
+ const ioe = /* @__PURE__ */ _e(Wae, [["render", noe], ["__scopeId", "data-v-8cdaaf89"]]);
29468
29478
  const soe = {
29469
29479
  components: {
29470
29480
  CdsIcon: nn,