cleek 2.6.82 → 2.6.83

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/cleek.es.js CHANGED
@@ -89912,7 +89912,9 @@ const _sfc_main$7 = defineComponent$2({
89912
89912
  modelValue: {},
89913
89913
  prop: {},
89914
89914
  reduceValueProp: {},
89915
+ reduceValueMethod: {},
89915
89916
  reduceNameProp: {},
89917
+ reduceNameMethod: {},
89916
89918
  autofocus: { type: Boolean },
89917
89919
  notReduce: { type: Boolean },
89918
89920
  notReduceValue: { type: Boolean },
@@ -90084,6 +90086,8 @@ const _sfc_main$7 = defineComponent$2({
90084
90086
  return props.reduceValueFunction(option);
90085
90087
  if (props.notReduceValue || props.notReduce)
90086
90088
  return option;
90089
+ if (props.reduceValueMethod)
90090
+ return option[props.reduceValueMethod]();
90087
90091
  return option[props.reduceValueProp || defaultReduceValueProp];
90088
90092
  }
90089
90093
  function getOptionName(option) {
@@ -90091,6 +90095,8 @@ const _sfc_main$7 = defineComponent$2({
90091
90095
  return props.reduceNameFunction(option);
90092
90096
  if (props.notReduce)
90093
90097
  return option;
90098
+ if (props.reduceNameMethod)
90099
+ return option[props.reduceNameMethod]();
90094
90100
  const reduceNameProp = props.reduceNameProp || defaultReduceNameProp;
90095
90101
  return option[props.prop || reduceNameProp];
90096
90102
  }
@@ -90166,7 +90172,7 @@ const _sfc_main$7 = defineComponent$2({
90166
90172
  };
90167
90173
  }
90168
90174
  });
90169
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-794689d4"]]);
90175
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-3aca9814"]]);
90170
90176
  var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
90171
90177
  const _hoisted_1$6 = {
90172
90178
  key: 0,