shared-ritm 1.3.87 → 1.3.89

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.
@@ -12607,7 +12607,7 @@ const qk = Ue({
12607
12607
  }
12608
12608
  function h(v) {
12609
12609
  const y = n.fields.find((w) => w.key === v);
12610
- i.value[v] = (y == null ? void 0 : y.type) === "select" ? [] : "", Ct(() => {
12610
+ i.value[v] = (y == null ? void 0 : y.type) === "select" ? y.simple ? null : [] : "", Ct(() => {
12611
12611
  var w;
12612
12612
  (w = a.value) == null || w.validate();
12613
12613
  });
@@ -12703,8 +12703,8 @@ const qk = Ue({
12703
12703
  options: s.value[w.key] || w.options,
12704
12704
  rules: w.rules,
12705
12705
  placeholder: e.mode === "view" ? "" : w.placeholder,
12706
- multiple: !0,
12707
- "show-chip": !0,
12706
+ multiple: !w.simple,
12707
+ "show-chip": !w.simple,
12708
12708
  "is-disabled": e.mode === "view",
12709
12709
  loading: w.loading,
12710
12710
  label: w.label,
@@ -12713,6 +12713,7 @@ const qk = Ue({
12713
12713
  "option-label": "label",
12714
12714
  "option-value": "value",
12715
12715
  "chip-color": "#e9eff9",
12716
+ simple: w.simple,
12716
12717
  "onUpdate:search": (g) => {
12717
12718
  var x;
12718
12719
  return (x = w.onSearch) == null ? void 0 : x.call(w, g);
@@ -12727,7 +12728,7 @@ const qk = Ue({
12727
12728
  return (g = a.value.value) == null ? void 0 : g.validate();
12728
12729
  });
12729
12730
  }
12730
- }, null, 8, ["modelValue", "onUpdate:modelValue", "data-test", "options", "rules", "placeholder", "is-disabled", "loading", "label", "is-show-required", "onUpdate:search", "onUpdate:scroll", "onClear"])) : We("", !0)
12731
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "data-test", "options", "rules", "placeholder", "multiple", "show-chip", "is-disabled", "loading", "label", "is-show-required", "simple", "onUpdate:search", "onUpdate:scroll", "onClear"])) : We("", !0)
12731
12732
  ]);
12732
12733
  }), 128))
12733
12734
  ]),
@@ -12782,7 +12783,7 @@ const qk = Ue({
12782
12783
  _: 1
12783
12784
  }, 8, ["model-value"]));
12784
12785
  }
12785
- }), JD = /* @__PURE__ */ De(s_, [["__scopeId", "data-v-b25beb9b"]]), Mh = Ue({
12786
+ }), JD = /* @__PURE__ */ De(s_, [["__scopeId", "data-v-ed06c39a"]]), Mh = Ue({
12786
12787
  name: "QTd",
12787
12788
  props: {
12788
12789
  props: Object,