mali-ui-plus 1.1.71 → 1.1.72
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.71",
|
|
63217
63237
|
install: index_install,
|
|
63218
63238
|
config: index_config,
|
|
63219
63239
|
renderer: {
|
package/lib/mali-ui-plus.umd.js
CHANGED
|
@@ -56328,7 +56328,7 @@ const _hoisted_15 = {
|
|
|
56328
56328
|
},
|
|
56329
56329
|
autoUpformCollapse: {
|
|
56330
56330
|
type: Boolean,
|
|
56331
|
-
default: () => config_0.grid.autoUpformCollapse
|
|
56331
|
+
default: () => config_0.grid ? config_0.grid.autoUpformCollapse : false
|
|
56332
56332
|
},
|
|
56333
56333
|
upformConfig: Object,
|
|
56334
56334
|
upformItems: {
|
|
@@ -56341,7 +56341,7 @@ const _hoisted_15 = {
|
|
|
56341
56341
|
},
|
|
56342
56342
|
autoRightformCollapse: {
|
|
56343
56343
|
type: Boolean,
|
|
56344
|
-
default: () => config_0.grid.autoRightformCollapse
|
|
56344
|
+
default: () => config_0.grid ? config_0.grid.autoRightformCollapse : false
|
|
56345
56345
|
},
|
|
56346
56346
|
rightformConfig: Object,
|
|
56347
56347
|
rightformItems: {
|
|
@@ -56422,7 +56422,7 @@ const _hoisted_15 = {
|
|
|
56422
56422
|
default: () => config_0.size
|
|
56423
56423
|
}
|
|
56424
56424
|
},
|
|
56425
|
-
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"],
|
|
56425
|
+
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"],
|
|
56426
56426
|
setup(__props, {
|
|
56427
56427
|
expose,
|
|
56428
56428
|
emit
|
|
@@ -56546,7 +56546,7 @@ const _hoisted_15 = {
|
|
|
56546
56546
|
});
|
|
56547
56547
|
const columnOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
56548
56548
|
return {
|
|
56549
|
-
minWidth:
|
|
56549
|
+
minWidth: 60,
|
|
56550
56550
|
resizable: true,
|
|
56551
56551
|
headerExportMethod({
|
|
56552
56552
|
column
|
|
@@ -56924,6 +56924,11 @@ const _hoisted_15 = {
|
|
|
56924
56924
|
reload();
|
|
56925
56925
|
});
|
|
56926
56926
|
};
|
|
56927
|
+
const collapseRightformEvent = () => {
|
|
56928
|
+
emit('rightform-collapse', {});
|
|
56929
|
+
setTimeout(updateLayoutStyle, 200);
|
|
56930
|
+
setTimeout(updateLayoutStyle, 400);
|
|
56931
|
+
};
|
|
56927
56932
|
const submitUpform = () => {
|
|
56928
56933
|
const {
|
|
56929
56934
|
upformData
|
|
@@ -56962,6 +56967,19 @@ const _hoisted_15 = {
|
|
|
56962
56967
|
reload();
|
|
56963
56968
|
});
|
|
56964
56969
|
};
|
|
56970
|
+
const collapseUpformEvent = () => {
|
|
56971
|
+
emit('upform-collapse', {});
|
|
56972
|
+
setTimeout(updateLayoutStyle, 200);
|
|
56973
|
+
setTimeout(updateLayoutStyle, 400);
|
|
56974
|
+
};
|
|
56975
|
+
const updateLayoutStyle = () => {
|
|
56976
|
+
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
56977
|
+
const $grid = xGrid.value;
|
|
56978
|
+
if ($grid) {
|
|
56979
|
+
$grid.recalculate(true);
|
|
56980
|
+
}
|
|
56981
|
+
});
|
|
56982
|
+
};
|
|
56965
56983
|
const updateRadioStatus = () => {
|
|
56966
56984
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
56967
56985
|
const $grid = xGrid.value;
|
|
@@ -57216,7 +57234,8 @@ const _hoisted_15 = {
|
|
|
57216
57234
|
items: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(upformItemList),
|
|
57217
57235
|
data: __props.upformData,
|
|
57218
57236
|
onSubmit: _cache[0] || (_cache[0] = $event => submitUpform()),
|
|
57219
|
-
onReset: _cache[1] || (_cache[1] = $event => resetUpform())
|
|
57237
|
+
onReset: _cache[1] || (_cache[1] = $event => resetUpform()),
|
|
57238
|
+
onCollapse: collapseUpformEvent
|
|
57220
57239
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
57221
57240
|
_: 2
|
|
57222
57241
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, (handle, name) => {
|
|
@@ -57233,7 +57252,8 @@ const _hoisted_15 = {
|
|
|
57233
57252
|
items: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.unref)(rightformItemList),
|
|
57234
57253
|
data: __props.rightformData,
|
|
57235
57254
|
onSubmit: _cache[2] || (_cache[2] = $event => submitRightform()),
|
|
57236
|
-
onReset: _cache[3] || (_cache[3] = $event => resetRightform())
|
|
57255
|
+
onReset: _cache[3] || (_cache[3] = $event => resetRightform()),
|
|
57256
|
+
onCollapse: collapseRightformEvent
|
|
57237
57257
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createSlots)({
|
|
57238
57258
|
_: 2
|
|
57239
57259
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(_ctx.$slots, (handle, name) => {
|
|
@@ -63223,7 +63243,7 @@ function index_config(options) {
|
|
|
63223
63243
|
return config_0;
|
|
63224
63244
|
}
|
|
63225
63245
|
const MaliUI = {
|
|
63226
|
-
version: "1.1.
|
|
63246
|
+
version: "1.1.71",
|
|
63227
63247
|
install: index_install,
|
|
63228
63248
|
config: index_config,
|
|
63229
63249
|
renderer: {
|