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.
package/lib/mali-ui-plus.umd.js
CHANGED
|
@@ -19005,7 +19005,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19005
19005
|
"default": function() { return /* binding */ entry_lib; }
|
|
19006
19006
|
});
|
|
19007
19007
|
|
|
19008
|
-
// 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
|
|
19008
|
+
// 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
|
|
19009
19009
|
|
|
19010
19010
|
// NAMESPACE OBJECT: ./node_modules/vxe-table/es/all.js
|
|
19011
19011
|
var all_namespaceObject = {};
|
|
@@ -70625,14 +70625,16 @@ VXETable.renderer.mixin({
|
|
|
70625
70625
|
column
|
|
70626
70626
|
} = params;
|
|
70627
70627
|
const {
|
|
70628
|
-
props,
|
|
70629
|
-
options
|
|
70628
|
+
props = {},
|
|
70629
|
+
options,
|
|
70630
|
+
optionProps
|
|
70630
70631
|
} = renderOpts;
|
|
70631
70632
|
const cellValue = row[column.field];
|
|
70632
70633
|
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)({
|
|
70633
70634
|
"modelValue": cellValue
|
|
70634
70635
|
}, props, {
|
|
70635
|
-
"options": options ||
|
|
70636
|
+
"options": options || props.options,
|
|
70637
|
+
"optionProps": optionProps || props.optionProps
|
|
70636
70638
|
}), null);
|
|
70637
70639
|
}
|
|
70638
70640
|
},
|
|
@@ -71150,14 +71152,16 @@ VXETable.renderer.mixin({
|
|
|
71150
71152
|
field
|
|
71151
71153
|
} = column;
|
|
71152
71154
|
const {
|
|
71153
|
-
props,
|
|
71155
|
+
props = {},
|
|
71154
71156
|
events,
|
|
71155
|
-
options
|
|
71157
|
+
options,
|
|
71158
|
+
optionProps
|
|
71156
71159
|
} = renderOpts;
|
|
71157
71160
|
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)({
|
|
71158
71161
|
"modelValue": xe_utils_default().get(row, field)
|
|
71159
71162
|
}, props, {
|
|
71160
|
-
"options": options ||
|
|
71163
|
+
"options": options || props.options,
|
|
71164
|
+
"optionProps": optionProps || props.optionProps,
|
|
71161
71165
|
"onUpdate:modelValue": val => {
|
|
71162
71166
|
xe_utils_default().set(row, field, val);
|
|
71163
71167
|
},
|
|
@@ -71179,7 +71183,6 @@ VXETable.renderer.mixin({
|
|
|
71179
71183
|
} = column;
|
|
71180
71184
|
const {
|
|
71181
71185
|
props = {},
|
|
71182
|
-
options,
|
|
71183
71186
|
optionProps = {}
|
|
71184
71187
|
} = renderOpts;
|
|
71185
71188
|
const {
|
|
@@ -71187,6 +71190,7 @@ VXETable.renderer.mixin({
|
|
|
71187
71190
|
} = props;
|
|
71188
71191
|
const labelProp = optionProps.label || 'label';
|
|
71189
71192
|
const valueProp = optionProps.value || 'value';
|
|
71193
|
+
const options = renderOpts.options || props.options;
|
|
71190
71194
|
const cellValue = xe_utils_default().get(row, field);
|
|
71191
71195
|
const selectlabel = xe_utils_default().map(multiple ? cellValue : [cellValue], value => {
|
|
71192
71196
|
const selectItem = xe_utils_default().find(options, item => item[valueProp] === value);
|
|
@@ -72199,7 +72203,7 @@ function index_config(options) {
|
|
|
72199
72203
|
return config_0;
|
|
72200
72204
|
}
|
|
72201
72205
|
const MaliUI = {
|
|
72202
|
-
version: "1.0.
|
|
72206
|
+
version: "1.0.20",
|
|
72203
72207
|
modal: index_esm.modal,
|
|
72204
72208
|
install: index_install,
|
|
72205
72209
|
config: index_config,
|