@wx-design/components 2.0.0-alpha.8 → 2.0.0-alpha.9

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.
@@ -43,6 +43,7 @@ declare const __VLS_component: import('vue').DefineComponent<SabSelectProps, {
43
43
  valueKey: string;
44
44
  disabledKey: string;
45
45
  filterable: boolean;
46
+ disabledInnerRemote: boolean;
46
47
  selectType: "v1" | "v2";
47
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
48
49
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
package/es/index.mjs CHANGED
@@ -46589,6 +46589,7 @@ const doe = /* @__PURE__ */ Ao({
46589
46589
  clearable: { type: Boolean, default: !0 },
46590
46590
  filterable: { type: Boolean, default: !0 },
46591
46591
  enableLoadmore: { type: Boolean },
46592
+ disabledInnerRemote: { type: Boolean, default: !1 },
46592
46593
  revalidateWhenFocus: { type: Boolean },
46593
46594
  selectType: { default: "v2" },
46594
46595
  autoSelectFirstOption: { type: Boolean },
@@ -46622,7 +46623,7 @@ const doe = /* @__PURE__ */ Ao({
46622
46623
  ), d = He(!1), v = He(""), h = He(!1), g = dp(
46623
46624
  async (N = "", _ = u.current) => {
46624
46625
  var W;
46625
- if (v.value != N && (_ = 1), !!r.remoteMethod && !(_ != 1 && (h.value || _ === u.current))) {
46626
+ if (v.value != N && (_ = 1), !(!r.remoteMethod || r.disabledInnerRemote) && !(_ != 1 && (h.value || _ === u.current))) {
46626
46627
  u.current = _, v.value = N;
46627
46628
  try {
46628
46629
  d.value = !0;
@@ -46834,7 +46835,7 @@ const doe = /* @__PURE__ */ Ao({
46834
46835
  ]), 1040, ["modelValue", "props", "options", "remote-method"]));
46835
46836
  }
46836
46837
  });
46837
- const aC = /* @__PURE__ */ mT(doe, [["__scopeId", "data-v-3abcecf1"]]), woe = /* @__PURE__ */ Ao({
46838
+ const aC = /* @__PURE__ */ mT(doe, [["__scopeId", "data-v-bcfb25e6"]]), woe = /* @__PURE__ */ Ao({
46838
46839
  __name: "index",
46839
46840
  props: {
46840
46841
  lang: {}