@wx-design/components 1.4.0 → 1.4.1

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/es/index.mjs CHANGED
@@ -45639,6 +45639,7 @@ const _J = /* @__PURE__ */ rt({
45639
45639
  disabledKey: { default: "disabled" },
45640
45640
  modelValue: {},
45641
45641
  labelInValue: { type: Boolean },
45642
+ modelValueKey: {},
45642
45643
  options: {},
45643
45644
  multiple: { type: Boolean },
45644
45645
  clearable: { type: Boolean, default: !0 },
@@ -45733,7 +45734,11 @@ const _J = /* @__PURE__ */ rt({
45733
45734
  }, x = N({
45734
45735
  get() {
45735
45736
  var j;
45736
- return r.labelInValue ? Array.isArray(r.modelValue) ? r.modelValue.map((L) => L[r.valueKey]) : (j = r.modelValue) == null ? void 0 : j[r.valueKey] : r.modelValue;
45737
+ if (r.labelInValue) {
45738
+ const L = r.modelValueKey || r.valueKey;
45739
+ return Array.isArray(r.modelValue) ? r.modelValue.map((_) => _[L]) : (j = r.modelValue) == null ? void 0 : j[L];
45740
+ }
45741
+ return r.modelValue;
45737
45742
  },
45738
45743
  set(j) {
45739
45744
  if (r.labelInValue)
@@ -45896,7 +45901,7 @@ const _J = /* @__PURE__ */ rt({
45896
45901
  ]), 1040, ["modelValue", "props", "options", "remote-method"]));
45897
45902
  }
45898
45903
  });
45899
- const Kv = /* @__PURE__ */ uw(_J, [["__scopeId", "data-v-994660f7"]]), HJ = /* @__PURE__ */ rt({
45904
+ const Kv = /* @__PURE__ */ uw(_J, [["__scopeId", "data-v-50a93e38"]]), HJ = /* @__PURE__ */ rt({
45900
45905
  __name: "index",
45901
45906
  props: {
45902
45907
  lang: {}