mali-ui-plus 1.0.19 → 1.0.21

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.
@@ -18995,7 +18995,7 @@ __webpack_require__.d(__webpack_exports__, {
18995
18995
  "default": function() { return /* binding */ entry_lib; }
18996
18996
  });
18997
18997
 
18998
- // UNUSED EXPORTS: MaliUI, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCard, MlCascader, MlCheckbox, MlCheckboxGroup, MlCol, MlDatePicker, MlDateTimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRow, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, modal
18998
+ // UNUSED EXPORTS: MaliUI, MlAmountInput, MlAmountText, MlApprovalType, MlButton, MlCard, MlCascader, MlCheckbox, MlCheckboxGroup, MlCol, MlDatePicker, MlDateTimePicker, MlDictType, MlDrawer, MlEditor, MlForm, MlGrid, MlIcon, MlInput, MlInvoiceType, MlModal, MlNumberInput, MlPager, MlPopover, MlQuarterPicker, MlRadio, MlRadioButton, MlRadioGroup, MlRow, MlSelect, MlSwitch, MlTabPane, MlTable, MlTabs, MlText, MlTextarea, MlTooltip, MlTree, MlUpload, MlWeekPicker, components, modal
18999
18999
 
19000
19000
  // NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
19001
19001
  var all_namespaceObject = {};
@@ -70615,14 +70615,16 @@ VXETable.renderer.mixin({
70615
70615
  column
70616
70616
  } = params;
70617
70617
  const {
70618
- props,
70619
- options
70618
+ props = {},
70619
+ options,
70620
+ optionProps
70620
70621
  } = renderOpts;
70621
70622
  const cellValue = row[column.field];
70622
70623
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("ml-dict-type"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
70623
70624
  "modelValue": cellValue
70624
70625
  }, props, {
70625
- "options": options || (props ? props.options : [])
70626
+ "options": options || props.options,
70627
+ "optionProps": optionProps || props.optionProps
70626
70628
  }), null);
70627
70629
  }
70628
70630
  },
@@ -71140,14 +71142,16 @@ VXETable.renderer.mixin({
71140
71142
  field
71141
71143
  } = column;
71142
71144
  const {
71143
- props,
71145
+ props = {},
71144
71146
  events,
71145
- options
71147
+ options,
71148
+ optionProps
71146
71149
  } = renderOpts;
71147
71150
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("ml-select"), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.mergeProps)({
71148
71151
  "modelValue": xe_utils_default().get(row, field)
71149
71152
  }, props, {
71150
- "options": options || (props ? props.options : []),
71153
+ "options": options || props.options,
71154
+ "optionProps": optionProps || props.optionProps,
71151
71155
  "onUpdate:modelValue": val => {
71152
71156
  xe_utils_default().set(row, field, val);
71153
71157
  },
@@ -71169,7 +71173,6 @@ VXETable.renderer.mixin({
71169
71173
  } = column;
71170
71174
  const {
71171
71175
  props = {},
71172
- options,
71173
71176
  optionProps = {}
71174
71177
  } = renderOpts;
71175
71178
  const {
@@ -71177,6 +71180,7 @@ VXETable.renderer.mixin({
71177
71180
  } = props;
71178
71181
  const labelProp = optionProps.label || 'label';
71179
71182
  const valueProp = optionProps.value || 'value';
71183
+ const options = renderOpts.options || props.options;
71180
71184
  const cellValue = xe_utils_default().get(row, field);
71181
71185
  const selectlabel = xe_utils_default().map(multiple ? cellValue : [cellValue], value => {
71182
71186
  const selectItem = xe_utils_default().find(options, item => item[valueProp] === value);
@@ -72189,7 +72193,7 @@ function index_config(options) {
72189
72193
  return config_0;
72190
72194
  }
72191
72195
  const MaliUI = {
72192
- version: "1.0.18",
72196
+ version: "1.0.20",
72193
72197
  modal: index_esm.modal,
72194
72198
  install: index_install,
72195
72199
  config: index_config,