mali-ui-plus 1.0.149 → 1.0.151
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.common.js +11 -5
- package/lib/mali-ui-plus.umd.js +11 -5
- package/lib/mali-ui-plus.umd.min.js +19 -19
- package/package.json +1 -1
|
@@ -29261,6 +29261,8 @@ function getResetValue(value, resetValue) {
|
|
|
29261
29261
|
var fields = [];
|
|
29262
29262
|
if (!xe_utils_default().isArray(fieldOrItem)) {
|
|
29263
29263
|
fields = [fieldOrItem];
|
|
29264
|
+
} else {
|
|
29265
|
+
fields = fieldOrItem;
|
|
29264
29266
|
}
|
|
29265
29267
|
return beginValidate(fields.map(function (field) {
|
|
29266
29268
|
return handleFieldOrItem($xeform, field);
|
|
@@ -69470,9 +69472,10 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69470
69472
|
checked: [],
|
|
69471
69473
|
halfChecked: []
|
|
69472
69474
|
};
|
|
69473
|
-
const selectRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]);
|
|
69475
|
+
const selectRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.checkRowKeys || []);
|
|
69474
69476
|
const checkedRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]);
|
|
69475
69477
|
const expandRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]);
|
|
69478
|
+
const selectTreeRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.selectedRowKeys || []);
|
|
69476
69479
|
const nodeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
69477
69480
|
const nodeOpts = props.nodeProps || {};
|
|
69478
69481
|
return {
|
|
@@ -69705,7 +69708,7 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69705
69708
|
setCheckboxRowKeys(props.checkRowKeys);
|
|
69706
69709
|
});
|
|
69707
69710
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.expandedRowKeys, value => {
|
|
69708
|
-
expandRowKeys.value = value;
|
|
69711
|
+
expandRowKeys.value = value || [];
|
|
69709
69712
|
});
|
|
69710
69713
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.data, () => {
|
|
69711
69714
|
if (props.expandAll) {
|
|
@@ -69714,6 +69717,9 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69714
69717
|
});
|
|
69715
69718
|
}
|
|
69716
69719
|
});
|
|
69720
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.selectedRowKeys, value => {
|
|
69721
|
+
selectTreeRowKeys.value = value || [];
|
|
69722
|
+
});
|
|
69717
69723
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
69718
69724
|
if (props.expandAll) {
|
|
69719
69725
|
setAllTreeExpand(true);
|
|
@@ -69768,7 +69774,7 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69768
69774
|
data
|
|
69769
69775
|
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "title", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({
|
|
69770
69776
|
row: data
|
|
69771
|
-
})))]),
|
|
69777
|
+
})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(data[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(nodeOpts).label]), 1)])]),
|
|
69772
69778
|
_: 3
|
|
69773
69779
|
}, 8, ["show-checkbox", "node-key", "props", "highlight-current", "default-expanded-keys", "data"])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_tree, {
|
|
69774
69780
|
key: 2,
|
|
@@ -69789,7 +69795,7 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69789
69795
|
data
|
|
69790
69796
|
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "title", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({
|
|
69791
69797
|
row: data
|
|
69792
|
-
})))]),
|
|
69798
|
+
})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(data[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(nodeOpts).label]), 1)])]),
|
|
69793
69799
|
_: 3
|
|
69794
69800
|
}, 8, ["show-checkbox", "node-key", "props", "highlight-current", "default-expanded-keys", "data"]))]);
|
|
69795
69801
|
};
|
|
@@ -76597,7 +76603,7 @@ function index_config(options) {
|
|
|
76597
76603
|
return config_0;
|
|
76598
76604
|
}
|
|
76599
76605
|
const MaliUI = {
|
|
76600
|
-
version: "1.0.
|
|
76606
|
+
version: "1.0.150",
|
|
76601
76607
|
install: index_install,
|
|
76602
76608
|
config: index_config,
|
|
76603
76609
|
renderer: index_esm.renderer,
|
package/lib/mali-ui-plus.umd.js
CHANGED
|
@@ -29271,6 +29271,8 @@ function getResetValue(value, resetValue) {
|
|
|
29271
29271
|
var fields = [];
|
|
29272
29272
|
if (!xe_utils_default().isArray(fieldOrItem)) {
|
|
29273
29273
|
fields = [fieldOrItem];
|
|
29274
|
+
} else {
|
|
29275
|
+
fields = fieldOrItem;
|
|
29274
29276
|
}
|
|
29275
29277
|
return beginValidate(fields.map(function (field) {
|
|
29276
29278
|
return handleFieldOrItem($xeform, field);
|
|
@@ -69480,9 +69482,10 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69480
69482
|
checked: [],
|
|
69481
69483
|
halfChecked: []
|
|
69482
69484
|
};
|
|
69483
|
-
const selectRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]);
|
|
69485
|
+
const selectRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.checkRowKeys || []);
|
|
69484
69486
|
const checkedRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]);
|
|
69485
69487
|
const expandRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]);
|
|
69488
|
+
const selectTreeRowKeys = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(props.selectedRowKeys || []);
|
|
69486
69489
|
const nodeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
69487
69490
|
const nodeOpts = props.nodeProps || {};
|
|
69488
69491
|
return {
|
|
@@ -69715,7 +69718,7 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69715
69718
|
setCheckboxRowKeys(props.checkRowKeys);
|
|
69716
69719
|
});
|
|
69717
69720
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.expandedRowKeys, value => {
|
|
69718
|
-
expandRowKeys.value = value;
|
|
69721
|
+
expandRowKeys.value = value || [];
|
|
69719
69722
|
});
|
|
69720
69723
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.data, () => {
|
|
69721
69724
|
if (props.expandAll) {
|
|
@@ -69724,6 +69727,9 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69724
69727
|
});
|
|
69725
69728
|
}
|
|
69726
69729
|
});
|
|
69730
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.selectedRowKeys, value => {
|
|
69731
|
+
selectTreeRowKeys.value = value || [];
|
|
69732
|
+
});
|
|
69727
69733
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
69728
69734
|
if (props.expandAll) {
|
|
69729
69735
|
setAllTreeExpand(true);
|
|
@@ -69778,7 +69784,7 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69778
69784
|
data
|
|
69779
69785
|
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "title", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({
|
|
69780
69786
|
row: data
|
|
69781
|
-
})))]),
|
|
69787
|
+
})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(data[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(nodeOpts).label]), 1)])]),
|
|
69782
69788
|
_: 3
|
|
69783
69789
|
}, 8, ["show-checkbox", "node-key", "props", "highlight-current", "default-expanded-keys", "data"])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_el_tree, {
|
|
69784
69790
|
key: 2,
|
|
@@ -69799,7 +69805,7 @@ const MlTreevue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
|
69799
69805
|
data
|
|
69800
69806
|
}) => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderSlot)(_ctx.$slots, "title", (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.guardReactiveProps)({
|
|
69801
69807
|
row: data
|
|
69802
|
-
})))]),
|
|
69808
|
+
})), () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(data[(0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(nodeOpts).label]), 1)])]),
|
|
69803
69809
|
_: 3
|
|
69804
69810
|
}, 8, ["show-checkbox", "node-key", "props", "highlight-current", "default-expanded-keys", "data"]))]);
|
|
69805
69811
|
};
|
|
@@ -76607,7 +76613,7 @@ function index_config(options) {
|
|
|
76607
76613
|
return config_0;
|
|
76608
76614
|
}
|
|
76609
76615
|
const MaliUI = {
|
|
76610
|
-
version: "1.0.
|
|
76616
|
+
version: "1.0.150",
|
|
76611
76617
|
install: index_install,
|
|
76612
76618
|
config: index_config,
|
|
76613
76619
|
renderer: index_esm.renderer,
|