@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
17 lines (16 loc) • 811 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SystemStatusInternalApi = void 0;
const tslib_1 = require("tslib");
const ApiBase_1 = require("../Implementation/ApiBase");
const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/InternalRedux"));
class SystemStatusInternalApi extends ApiBase_1.ApiBase {
addSystemStatusMessageInfo(systemStatusMessageInfo) {
const maxMessagesInStore = this.getNotificationsOptions().maxSystemMessagesInStore;
this.dispatchAction(InternalRedux.SystemStatusMessageInfoAdd(systemStatusMessageInfo, maxMessagesInStore));
}
getSystemStatusMessageInfos() {
return this.getAdaptableState().Internal.SystemStatusMessages;
}
}
exports.SystemStatusInternalApi = SystemStatusInternalApi;