@visactor/vtable 1.22.4-alpha.7 → 1.22.4-alpha.8
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/cjs/ListTable.js +2 -2
- package/cjs/ListTable.js.map +1 -1
- package/cjs/core/BaseTable.js +1 -1
- package/cjs/core/BaseTable.js.map +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/plugins/plugin-manager.d.ts +2 -1
- package/cjs/plugins/plugin-manager.js +6 -3
- package/cjs/plugins/plugin-manager.js.map +1 -1
- package/cjs/vrender.js.map +1 -1
- package/dist/vtable.js +12 -9
- package/dist/vtable.min.js +1 -1
- package/es/ListTable.js +2 -2
- package/es/ListTable.js.map +1 -1
- package/es/core/BaseTable.js +1 -1
- package/es/core/BaseTable.js.map +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/plugins/plugin-manager.d.ts +2 -1
- package/es/plugins/plugin-manager.js +6 -3
- package/es/plugins/plugin-manager.js.map +1 -1
- package/es/vrender.js.map +1 -1
- package/package.json +4 -4
package/cjs/ListTable.js
CHANGED
|
@@ -314,7 +314,7 @@ class ListTable extends core_1.BaseTable {
|
|
|
314
314
|
}) {
|
|
315
315
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
316
316
|
const internalProps = this.internalProps;
|
|
317
|
-
if (this.pluginManager.
|
|
317
|
+
if (this.pluginManager.removeOrAddPlugins(options.plugins), super.updateOption(options, updateConfig),
|
|
318
318
|
internalProps.frozenColDragHeaderMode = null !== (_b = null === (_a = options.dragOrder) || void 0 === _a ? void 0 : _a.frozenColDragHeaderMode) && void 0 !== _b ? _b : options.frozenColDragHeaderMode,
|
|
319
319
|
this.pagination = options.pagination, internalProps.sortState = options.sortState,
|
|
320
320
|
internalProps.dataConfig = this.internalProps.groupBy ? (0, group_helper_1.getGroupByDataConfig)(this.internalProps.groupBy, options.addRecordRule) : {
|
|
@@ -342,7 +342,7 @@ class ListTable extends core_1.BaseTable {
|
|
|
342
342
|
const EmptyTip = factory_1.Factory.getComponent("emptyTip");
|
|
343
343
|
this.internalProps.emptyTip = new EmptyTip(this.options.emptyTip, this), null === (_j = this.internalProps.emptyTip) || void 0 === _j || _j.resetVisible();
|
|
344
344
|
}
|
|
345
|
-
return setTimeout((() => {
|
|
345
|
+
return this.pluginManager.updatePlugins(), setTimeout((() => {
|
|
346
346
|
this.fireListeners(TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE.UPDATED, null);
|
|
347
347
|
}), 0), new Promise((resolve => {
|
|
348
348
|
setTimeout(resolve, 0);
|