mali-ui-plus 1.1.71 → 1.1.73
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.
|
@@ -56318,7 +56318,7 @@ const _hoisted_15 = {
|
|
|
56318
56318
|
},
|
|
56319
56319
|
autoUpformCollapse: {
|
|
56320
56320
|
type: Boolean,
|
|
56321
|
-
default: () => config_0.grid.autoUpformCollapse
|
|
56321
|
+
default: () => config_0.grid ? config_0.grid.autoUpformCollapse : false
|
|
56322
56322
|
},
|
|
56323
56323
|
upformConfig: Object,
|
|
56324
56324
|
upformItems: {
|
|
@@ -56331,7 +56331,7 @@ const _hoisted_15 = {
|
|
|
56331
56331
|
},
|
|
56332
56332
|
autoRightformCollapse: {
|
|
56333
56333
|
type: Boolean,
|
|
56334
|
-
default: () => config_0.grid.autoRightformCollapse
|
|
56334
|
+
default: () => config_0.grid ? config_0.grid.autoRightformCollapse : false
|
|
56335
56335
|
},
|
|
56336
56336
|
rightformConfig: Object,
|
|
56337
56337
|
rightformItems: {
|
|
@@ -56412,7 +56412,7 @@ const _hoisted_15 = {
|
|
|
56412
56412
|
default: () => config_0.size
|
|
56413
56413
|
}
|
|
56414
56414
|
},
|
|
56415
|
-
emits: ["load-card", "load-list", "update:data", "page-change", "update:currPage", "update:pageSize", "rightform-submit", "rightform-reset", "upform-submit", "upform-reset", "radio-change", "checkbox-change", "checkbox-all", "cell-click", "cell-dblclick", "sort-change", "menu-click", "edit-actived", "edit-closed", "scroll", "custom"],
|
|
56415
|
+
emits: ["load-card", "load-list", "update:data", "page-change", "update:currPage", "update:pageSize", "rightform-submit", "rightform-reset", "rightform-collapse", "upform-submit", "upform-reset", "upform-collapse", "radio-change", "checkbox-change", "checkbox-all", "cell-click", "cell-dblclick", "sort-change", "menu-click", "edit-actived", "edit-closed", "scroll", "custom"],
|
|
56416
56416
|
setup(__props, {
|
|
56417
56417
|
expose,
|
|
56418
56418
|
emit
|
|
@@ -56536,7 +56536,7 @@ const _hoisted_15 = {
|
|
|
56536
56536
|
});
|
|
56537
56537
|
const columnOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
56538
56538
|
return {
|
|
56539
|
-
minWidth:
|
|
56539
|
+
minWidth: 60,
|
|
56540
56540
|
resizable: true,
|
|
56541
56541
|
headerExportMethod({
|
|
56542
56542
|
column
|
|
@@ -56914,6 +56914,11 @@ const _hoisted_15 = {
|
|
|
56914
56914
|
reload();
|
|
56915
56915
|
});
|
|
56916
56916
|
};
|
|
56917
|
+
const collapseRightformEvent = () => {
|
|
56918
|
+
emit('rightform-collapse', {});
|
|
56919
|
+
setTimeout(updateLayoutStyle, 200);
|
|
56920
|
+
setTimeout(updateLayoutStyle, 400);
|
|
56921
|
+
};
|
|
56917
56922
|
const submitUpform = () => {
|
|
56918
56923
|
const {
|
|
56919
56924
|
upformData
|
|
@@ -56952,6 +56957,19 @@ const _hoisted_15 = {
|
|
|
56952
56957
|
reload();
|
|
56953
56958
|
});
|
|
56954
56959
|
};
|
|
56960
|
+
const collapseUpformEvent = () => {
|
|
56961
|
+
emit('upform-collapse', {});
|
|
56962
|
+
setTimeout(updateLayoutStyle, 200);
|
|
56963
|
+
setTimeout(updateLayoutStyle, 400);
|
|
56964
|
+
};
|
|
56965
|
+
const updateLayoutStyle = () => {
|
|
56966
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
56967
|
+
const $grid = xGrid.value;
|
|
56968
|
+
if ($grid) {
|
|
56969
|
+
$grid.recalculate(true);
|
|
56970
|
+
}
|
|
56971
|
+
});
|
|
56972
|
+
};
|
|
56955
56973
|
const updateRadioStatus = () => {
|
|
56956
56974
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
56957
56975
|
const $grid = xGrid.value;
|
|
@@ -57206,7 +57224,8 @@ const _hoisted_15 = {
|
|
|
57206
57224
|
items: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(upformItemList),
|
|
57207
57225
|
data: __props.upformData,
|
|
57208
57226
|
onSubmit: _cache[0] || (_cache[0] = $event => submitUpform()),
|
|
57209
|
-
onReset: _cache[1] || (_cache[1] = $event => resetUpform())
|
|
57227
|
+
onReset: _cache[1] || (_cache[1] = $event => resetUpform()),
|
|
57228
|
+
onCollapse: collapseUpformEvent
|
|
57210
57229
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
57211
57230
|
_: 2
|
|
57212
57231
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, (handle, name) => {
|
|
@@ -57223,7 +57242,8 @@ const _hoisted_15 = {
|
|
|
57223
57242
|
items: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(rightformItemList),
|
|
57224
57243
|
data: __props.rightformData,
|
|
57225
57244
|
onSubmit: _cache[2] || (_cache[2] = $event => submitRightform()),
|
|
57226
|
-
onReset: _cache[3] || (_cache[3] = $event => resetRightform())
|
|
57245
|
+
onReset: _cache[3] || (_cache[3] = $event => resetRightform()),
|
|
57246
|
+
onCollapse: collapseRightformEvent
|
|
57227
57247
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
57228
57248
|
_: 2
|
|
57229
57249
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, (handle, name) => {
|
|
@@ -63213,7 +63233,7 @@ function index_config(options) {
|
|
|
63213
63233
|
return config_0;
|
|
63214
63234
|
}
|
|
63215
63235
|
const MaliUI = {
|
|
63216
|
-
version: "1.1.
|
|
63236
|
+
version: "1.1.72",
|
|
63217
63237
|
install: index_install,
|
|
63218
63238
|
config: index_config,
|
|
63219
63239
|
renderer: {
|