keli-ui 0.2.2 → 0.2.3

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/keli-ui.js CHANGED
@@ -42965,10 +42965,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
42965
42965
  const _component_el_select = resolveComponent("el-select");
42966
42966
  return openBlock(), createBlock(_component_el_select, mergeProps({
42967
42967
  modelValue: valueRef.value,
42968
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
42969
- multiple: (_a = __props.detail) == null ? void 0 : _a.multiple,
42970
- placeholder: __props.detail.placeholder
42968
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event)
42971
42969
  }, __props.detail.componentParams ? __props.detail.componentParams : {}, {
42970
+ multiple: (_a = __props.detail) == null ? void 0 : _a.multiple,
42971
+ placeholder: __props.detail.placeholder,
42972
+ "value-key": __props.detail.componentParams.keyField,
42972
42973
  clearable: "",
42973
42974
  onChange: handleChange
42974
42975
  }), {
@@ -43032,7 +43033,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
43032
43033
  ];
43033
43034
  }),
43034
43035
  _: 1
43035
- }, 16, ["modelValue", "multiple", "placeholder"]);
43036
+ }, 16, ["modelValue", "multiple", "placeholder", "value-key"]);
43036
43037
  };
43037
43038
  }
43038
43039
  });
@@ -43096,11 +43097,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
43096
43097
  const _directive_loading = resolveDirective("loading");
43097
43098
  return withDirectives((openBlock(), createBlock(_component_el_select, mergeProps({
43098
43099
  modelValue: valueRef.value,
43099
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
43100
- multiple: __props.detail.multiple
43100
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event)
43101
43101
  }, __props.detail.componentParams ? __props.detail.componentParams : {}, {
43102
+ multiple: __props.detail.multiple,
43102
43103
  loading: unref(loading),
43103
43104
  placeholder: (_a = __props.detail) == null ? void 0 : _a.placeholder,
43105
+ "value-key": __props.detail.componentParams.keyField,
43104
43106
  onChange: unref(handleChange),
43105
43107
  onFocus: unref(getOptions)
43106
43108
  }), {
@@ -43161,7 +43163,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
43161
43163
  }), 128))
43162
43164
  ]),
43163
43165
  _: 1
43164
- }, 16, ["modelValue", "multiple", "loading", "placeholder", "onChange", "onFocus"])), [
43166
+ }, 16, ["modelValue", "multiple", "loading", "placeholder", "value-key", "onChange", "onFocus"])), [
43165
43167
  [_directive_loading, unref(loading)]
43166
43168
  ]);
43167
43169
  };