UNPKG

@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) 737 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAlertBehaviourViewItems = void 0; const AdaptableContext_1 = require("../../../View/AdaptableContext"); const AlertBehaviourWizardSection_1 = require("../../../View/Alert/Wizard/AlertBehaviourWizardSection"); const BehaviourView = (props) => { const adaptable = (0, AdaptableContext_1.useAdaptable)(); return (0, AlertBehaviourWizardSection_1.renderAlertBehaviourSummary)(props.data, adaptable.api, true); }; const getAlertBehaviourViewItems = (api) => { return { name: api.internalApi.getCorrectEnglishVariant('Behaviour'), view: BehaviourView, }; }; exports.getAlertBehaviourViewItems = getAlertBehaviourViewItems;