lew-ui 2.0.7 → 2.0.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.
package/dist/index.mjs CHANGED
@@ -4034,7 +4034,7 @@ const cascaderProps = {
4034
4034
  description: "是否禁用"
4035
4035
  }
4036
4036
  };
4037
- const _withScopeId$4 = (n) => (pushScopeId("data-v-8429aedc"), n = n(), popScopeId(), n);
4037
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-01c600cf"), n = n(), popScopeId(), n);
4038
4038
  const _hoisted_1$y = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("path", {
4039
4039
  d: "M29.506 6.502 18.493 41.498",
4040
4040
  "data-v-5303b0ef": ""
@@ -4165,7 +4165,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4165
4165
  lewPopverRef.value.hide();
4166
4166
  };
4167
4167
  const clearHandle = () => {
4168
- cascaderValue.value = "";
4168
+ cascaderValue.value = void 0;
4169
4169
  state.tobelabels = [];
4170
4170
  state.activelabels = [];
4171
4171
  hide2();
@@ -4398,9 +4398,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4398
4398
  };
4399
4399
  }
4400
4400
  });
4401
- const LewCascader_vue_vue_type_style_index_0_scoped_8429aedc_lang = "";
4401
+ const LewCascader_vue_vue_type_style_index_0_scoped_01c600cf_lang = "";
4402
4402
  const LewCascader_vue_vue_type_style_index_1_lang = "";
4403
- const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-8429aedc"]]);
4403
+ const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-01c600cf"]]);
4404
4404
  const LewTreeSelect_vue_vue_type_style_index_0_scoped_0b77e357_lang = "";
4405
4405
  const LewTreeSelect_vue_vue_type_style_index_1_lang = "";
4406
4406
  const _sfc_main$D = {};
@@ -5018,7 +5018,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
5018
5018
  isFirst = false;
5019
5019
  };
5020
5020
  const clear = () => {
5021
- modelValue.value = "";
5021
+ modelValue.value = void 0;
5022
5022
  emit("clear");
5023
5023
  };
5024
5024
  const toFocus = () => {
@@ -5310,8 +5310,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
5310
5310
  };
5311
5311
  }
5312
5312
  });
5313
- const LewInput_vue_vue_type_style_index_0_scoped_2a3ff41e_lang = "";
5314
- const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-2a3ff41e"]]);
5313
+ const LewInput_vue_vue_type_style_index_0_scoped_9c487966_lang = "";
5314
+ const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-9c487966"]]);
5315
5315
  const textareaProps = {
5316
5316
  // 绑定值
5317
5317
  modelValue: {
@@ -5433,7 +5433,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5433
5433
  isFirst = false;
5434
5434
  };
5435
5435
  const clear = () => {
5436
- modelValue.value = "";
5436
+ modelValue.value = void 0;
5437
5437
  emit("clear");
5438
5438
  };
5439
5439
  const toFocus = () => {
@@ -5535,8 +5535,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5535
5535
  };
5536
5536
  }
5537
5537
  });
5538
- const LewTextarea_vue_vue_type_style_index_0_scoped_14e99df1_lang = "";
5539
- const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-14e99df1"]]);
5538
+ const LewTextarea_vue_vue_type_style_index_0_scoped_4acf6210_lang = "";
5539
+ const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4acf6210"]]);
5540
5540
  const inputTagProps = {
5541
5541
  // 绑定值
5542
5542
  modelValue: {
@@ -13917,6 +13917,11 @@ const selectProps = {
13917
13917
  default: "",
13918
13918
  description: "绑定值"
13919
13919
  },
13920
+ defaultValue: {
13921
+ type: [String, Number],
13922
+ default: "",
13923
+ description: "默认值,用于异步列表的情况,无法映射label和value,需要手动传入"
13924
+ },
13920
13925
  options: {
13921
13926
  type: Array,
13922
13927
  default: [],
@@ -13990,11 +13995,6 @@ const selectProps = {
13990
13995
  type: Boolean,
13991
13996
  default: () => true,
13992
13997
  description: "是否显示选中图标"
13993
- },
13994
- defaultValue: {
13995
- type: [String, Number],
13996
- default: "",
13997
- description: "默认值"
13998
13998
  }
13999
13999
  };
14000
14000
  const _hoisted_1$n = {
@@ -14068,7 +14068,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14068
14068
  state.loading = false;
14069
14069
  };
14070
14070
  const clearHandle = () => {
14071
- selectValue.value = "";
14071
+ selectValue.value = void 0;
14072
14072
  emit("clear");
14073
14073
  emit("change");
14074
14074
  };
@@ -14271,9 +14271,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14271
14271
  };
14272
14272
  }
14273
14273
  });
14274
- const LewSelect_vue_vue_type_style_index_0_scoped_f14338b1_lang = "";
14274
+ const LewSelect_vue_vue_type_style_index_0_scoped_cc433ae5_lang = "";
14275
14275
  const LewSelect_vue_vue_type_style_index_1_lang = "";
14276
- const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-f14338b1"]]);
14276
+ const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-cc433ae5"]]);
14277
14277
  const selectMultipleProps = {
14278
14278
  modelValue: {
14279
14279
  type: Array || void 0,
@@ -20374,8 +20374,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
20374
20374
  };
20375
20375
  }
20376
20376
  });
20377
- const LewModal_vue_vue_type_style_index_0_scoped_09ad643e_lang = "";
20378
- const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-09ad643e"]]);
20377
+ const LewModal_vue_vue_type_style_index_0_scoped_f524bc9f_lang = "";
20378
+ const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-f524bc9f"]]);
20379
20379
  const popokProps = {
20380
20380
  type: {
20381
20381
  type: String,