@adaptabletools/adaptable 12.2.2 → 14.0.0-canary.0
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/base.css +2 -2
- package/bundle.cjs.js +419 -143
- package/index.css +2 -2
- package/package.json +3 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +3 -2
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
- package/src/AdaptableOptions/ActionOptions.d.ts +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +1 -5
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -1
- package/src/AdaptableOptions/ColumnOptions.d.ts +1 -1
- package/src/AdaptableOptions/EntitlementOptions.d.ts +15 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
- package/src/Api/ChartingApi.d.ts +1 -1
- package/src/Api/ColumnApi.d.ts +1 -1
- package/src/Api/Events/ActionRowSubmitted.d.ts +1 -1
- package/src/Api/Events/AdaptableReady.d.ts +1 -1
- package/src/Api/Events/GridDataChanged.d.ts +1 -1
- package/src/Api/ExportApi.d.ts +5 -1
- package/src/Api/FilterApi.d.ts +1 -1
- package/src/Api/FinanceApi.d.ts +1 -1
- package/src/Api/FormatColumnApi.d.ts +1 -1
- package/src/Api/FreeTextColumnApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +4 -3
- package/src/Api/Implementation/ActionApiImpl.js +5 -5
- package/src/Api/Implementation/AlertApiImpl.js +9 -9
- package/src/Api/Implementation/ApiBase.js +3 -3
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CellSummaryApiImpl.js +5 -2
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ChartingApiImpl.js +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +2 -2
- package/src/Api/Implementation/DashboardApiImpl.js +2 -2
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -5
- package/src/Api/Implementation/ExportApiImpl.js +2 -2
- package/src/Api/Implementation/FilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FilterApiImpl.js +6 -6
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +3 -3
- package/src/Api/Implementation/GridApiImpl.js +12 -12
- package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
- package/src/Api/Implementation/InternalApiImpl.js +5 -5
- package/src/Api/Implementation/LayoutApiImpl.js +12 -12
- package/src/Api/Implementation/PredicateApiImpl.js +3 -3
- package/src/Api/Implementation/QueryApiImpl.js +6 -6
- package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -5
- package/src/Api/Implementation/ScopeApiImpl.js +3 -3
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
- package/src/Api/Implementation/SystemStatusApiImpl.js +9 -9
- package/src/Api/Implementation/TeamSharingApiImpl.js +10 -10
- package/src/Api/InternalApi.d.ts +1 -1
- package/src/Api/StatusBarApi.d.ts +1 -1
- package/src/PredefinedConfig/ChartingState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +17 -17
- package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridCell.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridRow.d.ts +1 -1
- package/src/PredefinedConfig/Uuid.js +1 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +2 -2
- package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +2 -2
- package/src/Redux/ActionsReducers/CustomSortRedux.js +2 -2
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +2 -2
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +2 -2
- package/src/Redux/ActionsReducers/GridRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +2 -2
- package/src/Redux/ActionsReducers/ScheduleRedux.js +10 -10
- package/src/Redux/ActionsReducers/ShortcutRedux.js +2 -2
- package/src/Redux/ActionsReducers/SystemRedux.js +2 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +8 -8
- package/src/Redux/Store/AdaptableReduxMerger.js +9 -9
- package/src/Redux/Store/AdaptableStore.js +23 -23
- package/src/Strategy/AlertModule.js +6 -6
- package/src/Strategy/CalculatedColumnModule.js +4 -4
- package/src/Strategy/ConditionalStyleModule.js +8 -8
- package/src/Strategy/CustomSortModule.js +3 -3
- package/src/Strategy/DashboardModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/DataSetModule.js +2 -2
- package/src/Strategy/ExportModule.js +4 -4
- package/src/Strategy/FilterModule.js +1 -1
- package/src/Strategy/FlashingCellModule.js +7 -7
- package/src/Strategy/FormatColumnModule.js +8 -8
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/LayoutModule.js +2 -2
- package/src/Strategy/PlusMinusModule.js +3 -3
- package/src/Strategy/QueryModule.js +1 -1
- package/src/Strategy/ScheduleModule.js +2 -2
- package/src/Strategy/ShortcutModule.js +3 -3
- package/src/Strategy/StatusBarModule.d.ts +1 -1
- package/src/Strategy/TeamSharingModule.js +6 -6
- package/src/Strategy/ToolPanelModule.js +4 -4
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +2 -2
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
- package/src/Utilities/Constants/GeneralConstants.js +2 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +35 -35
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +18 -18
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +10 -10
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +48 -48
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +19 -19
- package/src/Utilities/Extensions/StringExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
- package/src/Utilities/Helpers/DateHelper.js +9 -9
- package/src/Utilities/Helpers/FormatHelper.js +2 -2
- package/src/Utilities/Helpers/Helper.js +3 -9
- package/src/Utilities/Helpers/LoggingHelper.js +1 -1
- package/src/Utilities/Helpers/StyleHelper.js +1 -1
- package/src/Utilities/Interface/Preview.d.ts +1 -1
- package/src/Utilities/ObjectFactory.d.ts +1 -1
- package/src/Utilities/ObjectFactory.js +30 -30
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
- package/src/Utilities/Services/AlertService.js +3 -3
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +3 -3
- package/src/Utilities/Services/DataService.js +1 -1
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +1 -1
- package/src/Utilities/Services/LicenseService.js +1 -1
- package/src/Utilities/Services/MetamodelService.js +3 -3
- package/src/Utilities/Services/QueryLanguageService.d.ts +1 -1
- package/src/Utilities/Services/QueryLanguageService.js +2 -2
- package/src/Utilities/Services/ReportService.d.ts +1 -1
- package/src/Utilities/Services/ReportService.js +7 -7
- package/src/Utilities/Services/RowEditService.d.ts +1 -1
- package/src/Utilities/Services/TeamSharingService.js +1 -1
- package/src/Utilities/license/decode.js +1 -1
- package/src/View/AdaptableView.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +10 -10
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +1 -1
- package/src/View/AdaptableWizardView/Wizard.js +6 -6
- package/src/View/AdaptableWizardView/helper.d.ts +1 -1
- package/src/View/AdaptableWizardView/helper.js +1 -1
- package/src/View/Alert/ActiveAlertsPanel.js +2 -2
- package/src/View/Alert/AlertEmptyView.js +1 -1
- package/src/View/Alert/AlertEntityRow.js +1 -1
- package/src/View/Alert/AlertStatusSubPanel.js +3 -3
- package/src/View/Alert/AlertViewPanel.js +2 -2
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -5
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +2 -2
- package/src/View/Alert/Wizard/AlertWizard.js +4 -4
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +2 -2
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +4 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +5 -5
- package/src/View/CellSummary/CellSummaryPopup.js +1 -1
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/ColorPicker.js +2 -2
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.js +4 -4
- package/src/View/Components/AdaptableInput/index.js +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -4
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -4
- package/src/View/Components/AdaptableObjectRow/index.js +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +1 -1
- package/src/View/Components/ColumnSelector/index.js +1 -1
- package/src/View/Components/EntityRulesEditor/index.js +3 -3
- package/src/View/Components/ExpressionWizard.js +1 -1
- package/src/View/Components/ExternalRenderer.js +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +7 -7
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
- package/src/View/Components/FilterForm/QuickFilterForm.js +13 -13
- package/src/View/Components/ListBox/DualListBoxEditor.js +10 -10
- package/src/View/Components/ModuleValueSelector/index.js +6 -6
- package/src/View/Components/NewScopeComponent.js +3 -3
- package/src/View/Components/Panels/PanelToolPanel/index.js +1 -1
- package/src/View/Components/Panels/PanelWithImage.js +1 -1
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +8 -8
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +4 -4
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
- package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +1 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +5 -5
- package/src/View/Components/Popups/Utilities.js +5 -5
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +6 -6
- package/src/View/Components/RangesComponent.js +2 -2
- package/src/View/Components/Selectors/ColumnValueSelector.js +2 -2
- package/src/View/Components/TagValueSelector/index.js +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +6 -6
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +6 -6
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +6 -4
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +1 -1
- package/src/View/Components/ValueSelector/index.js +7 -7
- package/src/View/Components/WizardSummaryRow.js +1 -1
- package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +3 -3
- package/src/View/CustomSort/CustomSortSummary.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +9 -9
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
- package/src/View/Dashboard/CustomDashboardButton.js +2 -2
- package/src/View/Dashboard/CustomToolbarWrapper.js +7 -7
- package/src/View/Dashboard/Dashboard.js +4 -4
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/Dashboard/DashboardViewPanel.js +1 -1
- package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +7 -9
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -7
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +9 -9
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
- package/src/View/DataSet/DataSetSelector.js +1 -1
- package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.js +1 -1
- package/src/View/Export/ExportSelector.js +1 -1
- package/src/View/Export/ExportViewPanel.d.ts +2 -1
- package/src/View/Export/ExportViewPanel.js +14 -5
- package/src/View/Export/ReportExportDropdown.js +3 -3
- package/src/View/Export/Wizard/NewReportWizard.js +4 -4
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +2 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -2
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +3 -3
- package/src/View/Filter/ActiveFiltersPanel.js +1 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +2 -2
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.js +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +3 -3
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +7 -7
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +5 -5
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -5
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +6 -6
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -5
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +4 -4
- package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -2
- package/src/View/GridInfo/AdaptableOptionsComponent.js +4 -4
- package/src/View/Layout/EditCurrentLayoutButton.js +1 -1
- package/src/View/Layout/LayoutCloneButton.js +1 -1
- package/src/View/Layout/LayoutRadioSelector.js +1 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/SaveLayoutButton.js +3 -3
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +5 -5
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +7 -7
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +8 -8
- package/src/View/Layout/Wizard/sections/FilterSection.js +5 -5
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +5 -5
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +5 -5
- package/src/View/Layout/Wizard/sections/SettingsSection.js +2 -2
- package/src/View/Layout/Wizard/sections/SortSection.js +6 -6
- package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +3 -3
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +3 -3
- package/src/View/Query/EditCurrentQueryButton.js +1 -1
- package/src/View/Query/ExpandedQueryPopup.js +3 -3
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/Query/QueryViewPanel.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +3 -3
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryWizard.js +3 -3
- package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +3 -3
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.js +2 -2
- package/src/View/QuickSearch/useQuickSearchDebounced.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +4 -4
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
- package/src/View/StateManagement/StateManagementViewPanel.js +1 -1
- package/src/View/StateManagement/components/ExportDropdown.js +2 -2
- package/src/View/StateManagement/components/LoadButton.js +1 -1
- package/src/View/StateManagement/handleExportState.js +1 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +5 -5
- package/src/View/StatusBar/StatusBarPopup.js +2 -2
- package/src/View/SystemStatus/SystemStatusEntityRow.js +1 -1
- package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -2
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.js +2 -2
- package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
- package/src/View/TeamSharing/SharedEntityObjectView.js +2 -2
- package/src/View/TeamSharing/TeamSharingApplyButton.js +1 -1
- package/src/View/Theme/ThemePopup.js +1 -1
- package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
- package/src/View/Theme/ThemeViewPanel.js +2 -2
- package/src/View/Wizard/AdaptableWizard.js +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +5 -5
- package/src/View/Wizard/OnePageWizards.js +14 -12
- package/src/View/Wizard/useKeyboardNavigation.js +1 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +3 -3
- package/src/agGrid/Adaptable.d.ts +19 -11
- package/src/agGrid/Adaptable.js +157 -160
- package/src/agGrid/CheckboxRenderer.d.ts +1 -1
- package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
- package/src/agGrid/FilterWrapper.js +1 -1
- package/src/agGrid/FloatingFilterWrapper.js +1 -1
- package/src/agGrid/GroupCellRenderer.d.ts +1 -1
- package/src/agGrid/GroupCellRenderer.js +2 -2
- package/src/agGrid/PercentBarRenderer.js +1 -1
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +12 -13
- package/src/agGrid/agGridMenuHelper.d.ts +1 -1
- package/src/agGrid/agGridMenuHelper.js +5 -5
- package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
- package/src/agGrid/createAgStatusPanelComponent.js +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +3 -3
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/index.js +5 -5
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +4 -4
- package/src/agGrid/weightedAverage.d.ts +1 -1
- package/src/agGrid/weightedAverage.js +3 -3
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +1 -1
- package/src/components/AdaptableIconComponent/index.js +14 -17
- package/src/components/CheckBox/index.js +3 -3
- package/src/components/CodeBlock/index.js +1 -1
- package/src/components/Dashboard/Dashboard.js +8 -8
- package/src/components/Dashboard/DashboardToolbar.js +1 -1
- package/src/components/Datepicker/Caption.js +7 -7
- package/src/components/Datepicker/CaptionLabel.js +4 -4
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +10 -10
- package/src/components/Dialog/index.js +9 -9
- package/src/components/Dialog/useIsOpen.js +1 -1
- package/src/components/Dropdown/index.js +6 -6
- package/src/components/DropdownButton/index.js +7 -7
- package/src/components/DropdownButton/renderItem.js +1 -1
- package/src/components/DropdownButton/useExpanded.js +4 -4
- package/src/components/EllipsisContainer/index.js +8 -8
- package/src/components/EmptyContent/index.js +1 -1
- package/src/components/ErrorBox/index.js +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +20 -7
- package/src/components/ExpressionEditor/EditorButton.js +1 -1
- package/src/components/ExpressionEditor/EditorContext.js +2 -2
- package/src/components/ExpressionEditor/EditorInput.js +2 -2
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +9 -9
- package/src/components/ExpressionEditor/NamedQueryContext.js +2 -2
- package/src/components/ExpressionEditor/index.js +8 -8
- package/src/components/FieldWrap/index.js +1 -1
- package/src/components/FileDroppable/index.js +4 -4
- package/src/components/FormLayout/index.js +4 -4
- package/src/components/HelpBlock/index.js +1 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/Input/index.js +1 -1
- package/src/components/List/GridList/index.js +1 -1
- package/src/components/List/ListGroup/index.js +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.js +2 -2
- package/src/components/Modal/Backdrop.js +5 -5
- package/src/components/Modal/index.js +5 -5
- package/src/components/NotifyResize/index.js +1 -1
- package/src/components/OverlayTrigger/Overlay.js +15 -15
- package/src/components/OverlayTrigger/getOverlayStyle.js +1 -1
- package/src/components/OverlayTrigger/index.js +24 -24
- package/src/components/OverlayTrigger/useAgGridClassName.js +2 -2
- package/src/components/Panel/index.js +3 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.js +5 -5
- package/src/components/Radio/index.js +3 -3
- package/src/components/ResizeObserver/index.js +10 -10
- package/src/components/SelectableList/index.js +4 -4
- package/src/components/SimpleButton/index.js +3 -3
- package/src/components/StylePreview.js +1 -1
- package/src/components/Table/index.js +1 -1
- package/src/components/Tabs/index.js +6 -7
- package/src/components/Tag/Tag.js +1 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/Textarea/index.js +1 -1
- package/src/components/ToggleButton/index.js +1 -1
- package/src/components/WindowModal/WindowModal.js +4 -4
- package/src/components/WindowModal/useStacking.js +1 -1
- package/src/components/WizardPanel/index.js +1 -1
- package/src/components/icons/DefaultIcon.js +2 -2
- package/src/components/icons/index.js +1 -1
- package/src/components/utils/batchUpdate.js +1 -1
- package/src/components/utils/useAutoFocus.js +2 -2
- package/src/components/utils/useContainerScrollObserver/index.js +7 -7
- package/src/components/utils/useDraggable.js +5 -5
- package/src/components/utils/useLatest.js +2 -2
- package/src/components/utils/usePrevious.js +2 -2
- package/src/components/utils/usePropState.js +1 -1
- package/src/components/utils/useProperty.js +2 -2
- package/src/components/utils/useRerender.js +2 -2
- package/src/components/utils/useSelectionRange.js +3 -3
- package/src/components/utils/uuid.js +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +18 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/index.js +1 -1
- package/src/types.d.ts +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,12 +6,12 @@ const GeneralConstants_1 = require("./Constants/GeneralConstants");
|
|
|
6
6
|
const Uuid_1 = require("../PredefinedConfig/Uuid");
|
|
7
7
|
const Toastify_1 = require("../components/Toastify");
|
|
8
8
|
function CreateEmptyCustomSort() {
|
|
9
|
-
return { Uuid: Uuid_1.createUuid(), ColumnId: GeneralConstants_1.EMPTY_STRING, SortedValues: [] };
|
|
9
|
+
return { Uuid: (0, Uuid_1.createUuid)(), ColumnId: GeneralConstants_1.EMPTY_STRING, SortedValues: [] };
|
|
10
10
|
}
|
|
11
11
|
exports.CreateEmptyCustomSort = CreateEmptyCustomSort;
|
|
12
12
|
function CreateEmptyCalculatedColumn() {
|
|
13
13
|
return {
|
|
14
|
-
Uuid: Uuid_1.createUuid(),
|
|
14
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
15
15
|
ColumnId: GeneralConstants_1.EMPTY_STRING,
|
|
16
16
|
Query: {
|
|
17
17
|
ScalarExpression: GeneralConstants_1.EMPTY_STRING,
|
|
@@ -33,7 +33,7 @@ function CreateEmptyCalculatedColumn() {
|
|
|
33
33
|
exports.CreateEmptyCalculatedColumn = CreateEmptyCalculatedColumn;
|
|
34
34
|
function CreateEmptyNamedQuery(expression) {
|
|
35
35
|
return {
|
|
36
|
-
Uuid: Uuid_1.createUuid(),
|
|
36
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
37
37
|
Name: GeneralConstants_1.EMPTY_STRING,
|
|
38
38
|
BooleanExpression: expression || GeneralConstants_1.EMPTY_STRING,
|
|
39
39
|
};
|
|
@@ -41,7 +41,7 @@ function CreateEmptyNamedQuery(expression) {
|
|
|
41
41
|
exports.CreateEmptyNamedQuery = CreateEmptyNamedQuery;
|
|
42
42
|
function CreateEmptyPlusMinusNudge() {
|
|
43
43
|
return {
|
|
44
|
-
Uuid: Uuid_1.createUuid(),
|
|
44
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
45
45
|
Scope: undefined,
|
|
46
46
|
Rule: undefined,
|
|
47
47
|
NudgeValue: GeneralConstants_1.PLUS_MINUS_DEFAULT_NUDGE_VALUE,
|
|
@@ -51,7 +51,7 @@ exports.CreateEmptyPlusMinusNudge = CreateEmptyPlusMinusNudge;
|
|
|
51
51
|
function CreateGenericAlert(alertHeader, alertMessage, alertDefinition) {
|
|
52
52
|
return {
|
|
53
53
|
alertType: 'generic',
|
|
54
|
-
Uuid: Uuid_1.createUuid(),
|
|
54
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
55
55
|
header: alertHeader,
|
|
56
56
|
message: alertMessage,
|
|
57
57
|
alertDefinition: alertDefinition,
|
|
@@ -61,7 +61,7 @@ exports.CreateGenericAlert = CreateGenericAlert;
|
|
|
61
61
|
function CreateCellChangedAlert(alertHeader, alertMessage, alertDefinition, cellDataChangedInfo) {
|
|
62
62
|
return {
|
|
63
63
|
alertType: 'cellChanged',
|
|
64
|
-
Uuid: Uuid_1.createUuid(),
|
|
64
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
65
65
|
header: alertHeader,
|
|
66
66
|
message: alertMessage,
|
|
67
67
|
alertDefinition,
|
|
@@ -72,7 +72,7 @@ exports.CreateCellChangedAlert = CreateCellChangedAlert;
|
|
|
72
72
|
function CreateRowChangedAlert(alertHeader, alertMessage, alertDefinition, gridDataChange) {
|
|
73
73
|
return {
|
|
74
74
|
alertType: 'rowChanged',
|
|
75
|
-
Uuid: Uuid_1.createUuid(),
|
|
75
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
76
76
|
header: alertHeader,
|
|
77
77
|
message: alertMessage,
|
|
78
78
|
alertDefinition,
|
|
@@ -82,7 +82,7 @@ function CreateRowChangedAlert(alertHeader, alertMessage, alertDefinition, gridD
|
|
|
82
82
|
exports.CreateRowChangedAlert = CreateRowChangedAlert;
|
|
83
83
|
function CreateEmptyAlertDefinition() {
|
|
84
84
|
return {
|
|
85
|
-
Uuid: Uuid_1.createUuid(),
|
|
85
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
86
86
|
Scope: { All: true },
|
|
87
87
|
Rule: {
|
|
88
88
|
Predicate: undefined,
|
|
@@ -94,7 +94,7 @@ function CreateEmptyAlertDefinition() {
|
|
|
94
94
|
exports.CreateEmptyAlertDefinition = CreateEmptyAlertDefinition;
|
|
95
95
|
function CreateEmptyFlashingCellDefinition() {
|
|
96
96
|
return {
|
|
97
|
-
Uuid: Uuid_1.createUuid(),
|
|
97
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
98
98
|
Scope: { ColumnIds: [] },
|
|
99
99
|
Rule: {
|
|
100
100
|
Predicate: {
|
|
@@ -109,7 +109,7 @@ function CreateInternalAlertDefinitionForMessages(messageType, alertProperties)
|
|
|
109
109
|
DisplayNotification: GeneralConstants_1.ALERT_DEFAULT_SHOW_POPUP,
|
|
110
110
|
};
|
|
111
111
|
return {
|
|
112
|
-
Uuid: Uuid_1.createUuid(),
|
|
112
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
113
113
|
Scope: undefined,
|
|
114
114
|
Rule: {
|
|
115
115
|
Predicate: undefined,
|
|
@@ -121,7 +121,7 @@ function CreateInternalAlertDefinitionForMessages(messageType, alertProperties)
|
|
|
121
121
|
exports.CreateInternalAlertDefinitionForMessages = CreateInternalAlertDefinitionForMessages;
|
|
122
122
|
function CreateEmptyReport() {
|
|
123
123
|
return {
|
|
124
|
-
Uuid: Uuid_1.createUuid(),
|
|
124
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
125
125
|
Name: GeneralConstants_1.EMPTY_STRING,
|
|
126
126
|
Scope: undefined,
|
|
127
127
|
ReportColumnScope: 'AllColumns',
|
|
@@ -132,7 +132,7 @@ function CreateEmptyReport() {
|
|
|
132
132
|
exports.CreateEmptyReport = CreateEmptyReport;
|
|
133
133
|
function CreateCustomReport(reportName) {
|
|
134
134
|
return {
|
|
135
|
-
Uuid: Uuid_1.createUuid(),
|
|
135
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
136
136
|
Name: reportName,
|
|
137
137
|
Scope: undefined,
|
|
138
138
|
ReportColumnScope: 'AllColumns',
|
|
@@ -143,7 +143,7 @@ function CreateCustomReport(reportName) {
|
|
|
143
143
|
exports.CreateCustomReport = CreateCustomReport;
|
|
144
144
|
function CreateEmptyBaseSchedule(scheduleType) {
|
|
145
145
|
return {
|
|
146
|
-
Uuid: Uuid_1.createUuid(),
|
|
146
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
147
147
|
ScheduleType: scheduleType,
|
|
148
148
|
Schedule: CreateEmptySchedule(),
|
|
149
149
|
};
|
|
@@ -151,7 +151,7 @@ function CreateEmptyBaseSchedule(scheduleType) {
|
|
|
151
151
|
exports.CreateEmptyBaseSchedule = CreateEmptyBaseSchedule;
|
|
152
152
|
function CreateEmptyReminderSchedule() {
|
|
153
153
|
return {
|
|
154
|
-
Uuid: Uuid_1.createUuid(),
|
|
154
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
155
155
|
ScheduleType: Enums_1.ScheduleType.Reminder,
|
|
156
156
|
Schedule: CreateEmptySchedule(),
|
|
157
157
|
Header: GeneralConstants_1.EMPTY_STRING,
|
|
@@ -164,7 +164,7 @@ function CreateEmptyReminderSchedule() {
|
|
|
164
164
|
exports.CreateEmptyReminderSchedule = CreateEmptyReminderSchedule;
|
|
165
165
|
function CreateEmptyReportSchedule() {
|
|
166
166
|
return {
|
|
167
|
-
Uuid: Uuid_1.createUuid(),
|
|
167
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
168
168
|
ScheduleType: Enums_1.ScheduleType.Report,
|
|
169
169
|
Schedule: CreateEmptySchedule(),
|
|
170
170
|
ReportName: GeneralConstants_1.EMPTY_STRING,
|
|
@@ -174,7 +174,7 @@ function CreateEmptyReportSchedule() {
|
|
|
174
174
|
exports.CreateEmptyReportSchedule = CreateEmptyReportSchedule;
|
|
175
175
|
function CreateEmptyIPushPullReport() {
|
|
176
176
|
return {
|
|
177
|
-
Uuid: Uuid_1.createUuid(),
|
|
177
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
178
178
|
ReportName: GeneralConstants_1.EMPTY_STRING,
|
|
179
179
|
Folder: GeneralConstants_1.EMPTY_STRING,
|
|
180
180
|
Page: GeneralConstants_1.EMPTY_STRING,
|
|
@@ -183,21 +183,21 @@ function CreateEmptyIPushPullReport() {
|
|
|
183
183
|
exports.CreateEmptyIPushPullReport = CreateEmptyIPushPullReport;
|
|
184
184
|
function CreateEmptyGlue42Report() {
|
|
185
185
|
return {
|
|
186
|
-
Uuid: Uuid_1.createUuid(),
|
|
186
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
187
187
|
ReportName: GeneralConstants_1.EMPTY_STRING,
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
190
|
exports.CreateEmptyGlue42Report = CreateEmptyGlue42Report;
|
|
191
191
|
function CreateEmptyOpenFinReport() {
|
|
192
192
|
return {
|
|
193
|
-
Uuid: Uuid_1.createUuid(),
|
|
193
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
194
194
|
ReportName: GeneralConstants_1.EMPTY_STRING,
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
exports.CreateEmptyOpenFinReport = CreateEmptyOpenFinReport;
|
|
198
198
|
function CreateEmptyIPushPullSchedule() {
|
|
199
199
|
return {
|
|
200
|
-
Uuid: Uuid_1.createUuid(),
|
|
200
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
201
201
|
ScheduleType: Enums_1.ScheduleType.ipushpull,
|
|
202
202
|
Schedule: CreateEmptySchedule(),
|
|
203
203
|
IPushPullReport: CreateEmptyIPushPullReport(),
|
|
@@ -207,7 +207,7 @@ function CreateEmptyIPushPullSchedule() {
|
|
|
207
207
|
exports.CreateEmptyIPushPullSchedule = CreateEmptyIPushPullSchedule;
|
|
208
208
|
function CreateEmptyGlue42Schedule() {
|
|
209
209
|
return {
|
|
210
|
-
Uuid: Uuid_1.createUuid(),
|
|
210
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
211
211
|
ScheduleType: Enums_1.ScheduleType.Glue42,
|
|
212
212
|
Schedule: CreateEmptySchedule(),
|
|
213
213
|
Glue42Report: CreateEmptyGlue42Report(),
|
|
@@ -217,7 +217,7 @@ function CreateEmptyGlue42Schedule() {
|
|
|
217
217
|
exports.CreateEmptyGlue42Schedule = CreateEmptyGlue42Schedule;
|
|
218
218
|
function CreateEmptyOpenFinSchedule() {
|
|
219
219
|
return {
|
|
220
|
-
Uuid: Uuid_1.createUuid(),
|
|
220
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
221
221
|
ScheduleType: Enums_1.ScheduleType.OpenFin,
|
|
222
222
|
Schedule: CreateEmptySchedule(),
|
|
223
223
|
OpenFinReport: CreateEmptyOpenFinReport(),
|
|
@@ -227,7 +227,7 @@ function CreateEmptyOpenFinSchedule() {
|
|
|
227
227
|
exports.CreateEmptyOpenFinSchedule = CreateEmptyOpenFinSchedule;
|
|
228
228
|
function CreateIPushPullSchedule(iPushPullReport) {
|
|
229
229
|
return {
|
|
230
|
-
Uuid: Uuid_1.createUuid(),
|
|
230
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
231
231
|
ScheduleType: Enums_1.ScheduleType.ipushpull,
|
|
232
232
|
Schedule: CreateEmptySchedule(),
|
|
233
233
|
IPushPullReport: iPushPullReport,
|
|
@@ -237,7 +237,7 @@ function CreateIPushPullSchedule(iPushPullReport) {
|
|
|
237
237
|
exports.CreateIPushPullSchedule = CreateIPushPullSchedule;
|
|
238
238
|
function CreateGlue42Schedule(glue42Report) {
|
|
239
239
|
return {
|
|
240
|
-
Uuid: Uuid_1.createUuid(),
|
|
240
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
241
241
|
ScheduleType: Enums_1.ScheduleType.Glue42,
|
|
242
242
|
Schedule: CreateEmptySchedule(),
|
|
243
243
|
Glue42Report: glue42Report,
|
|
@@ -247,7 +247,7 @@ function CreateGlue42Schedule(glue42Report) {
|
|
|
247
247
|
exports.CreateGlue42Schedule = CreateGlue42Schedule;
|
|
248
248
|
function CreateReportSchedule(reportName) {
|
|
249
249
|
return {
|
|
250
|
-
Uuid: Uuid_1.createUuid(),
|
|
250
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
251
251
|
ScheduleType: Enums_1.ScheduleType.Report,
|
|
252
252
|
Schedule: CreateEmptySchedule(),
|
|
253
253
|
ReportName: reportName,
|
|
@@ -257,7 +257,7 @@ function CreateReportSchedule(reportName) {
|
|
|
257
257
|
exports.CreateReportSchedule = CreateReportSchedule;
|
|
258
258
|
function CreateEmptySchedule() {
|
|
259
259
|
return {
|
|
260
|
-
Uuid: Uuid_1.createUuid(),
|
|
260
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
261
261
|
OneOffDate: undefined,
|
|
262
262
|
DaysOfWeek: [],
|
|
263
263
|
Hour: 0,
|
|
@@ -267,7 +267,7 @@ function CreateEmptySchedule() {
|
|
|
267
267
|
exports.CreateEmptySchedule = CreateEmptySchedule;
|
|
268
268
|
function CreateEmptyShortcut() {
|
|
269
269
|
return {
|
|
270
|
-
Uuid: Uuid_1.createUuid(),
|
|
270
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
271
271
|
Scope: undefined,
|
|
272
272
|
ShortcutKey: GeneralConstants_1.EMPTY_STRING,
|
|
273
273
|
ShortcutValue: undefined,
|
|
@@ -277,7 +277,7 @@ function CreateEmptyShortcut() {
|
|
|
277
277
|
exports.CreateEmptyShortcut = CreateEmptyShortcut;
|
|
278
278
|
function CreateEmptyConditionalStyle() {
|
|
279
279
|
return {
|
|
280
|
-
Uuid: Uuid_1.createUuid(),
|
|
280
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
281
281
|
Scope: undefined,
|
|
282
282
|
Rule: undefined,
|
|
283
283
|
Style: CreateEmptyStyle(),
|
|
@@ -297,7 +297,7 @@ function CreateEmptyFormatColumn() {
|
|
|
297
297
|
exports.CreateEmptyFormatColumn = CreateEmptyFormatColumn;
|
|
298
298
|
function CreateEmptyFreeTextColumn() {
|
|
299
299
|
return {
|
|
300
|
-
Uuid: Uuid_1.createUuid(),
|
|
300
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
301
301
|
ColumnId: GeneralConstants_1.EMPTY_STRING,
|
|
302
302
|
DefaultValue: GeneralConstants_1.EMPTY_STRING,
|
|
303
303
|
FreeTextStoredValues: [],
|
|
@@ -317,7 +317,7 @@ function CreateEmptyFreeTextColumn() {
|
|
|
317
317
|
}
|
|
318
318
|
exports.CreateEmptyFreeTextColumn = CreateEmptyFreeTextColumn;
|
|
319
319
|
function CreateEmptyLayout(layout, adaptableColumns) {
|
|
320
|
-
return Object.assign(Object.assign({}, layout), { Uuid: Uuid_1.createUuid(), Columns: layout.Columns || [], ColumnSorts: layout.ColumnSorts || [], ColumnFilters: layout.ColumnFilters || [],
|
|
320
|
+
return Object.assign(Object.assign({}, layout), { Uuid: (0, Uuid_1.createUuid)(), Columns: layout.Columns || [], ColumnSorts: layout.ColumnSorts || [], ColumnFilters: layout.ColumnFilters || [],
|
|
321
321
|
// ColumnFlexMap: layout.ColumnFlexMap || {},
|
|
322
322
|
ColumnWidthMap: layout.ColumnWidthMap || {}, RowGroupedColumns: layout.RowGroupedColumns ||
|
|
323
323
|
(adaptableColumns ? adaptableColumns.filter((c) => c.isGrouped).map((c) => c.columnId) : []) });
|
|
@@ -337,7 +337,7 @@ function CreateEmptyStyle() {
|
|
|
337
337
|
exports.CreateEmptyStyle = CreateEmptyStyle;
|
|
338
338
|
function CreateSystemStatusMessageInfo(message, type, furtherInfo) {
|
|
339
339
|
return {
|
|
340
|
-
Uuid: Uuid_1.createUuid(),
|
|
340
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
341
341
|
statusMessage: message,
|
|
342
342
|
statusFurtherInformation: furtherInfo,
|
|
343
343
|
statusType: type,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AggregatedScalarExpressionEvaluation } from '../ExpressionFunctions/aggregatedScalarExpressionFunctions';
|
|
2
2
|
import { AdaptableApi } from '../../Api/AdaptableApi';
|
|
3
3
|
import { AdaptableModule as ModuleConstants } from '../../PredefinedConfig/Common/Types';
|
|
4
|
-
import { RowNode } from '@ag-grid-community/
|
|
4
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
5
5
|
import { XOR } from '../Extensions/TypeExtensions';
|
|
6
6
|
export declare class AggregatedScalarLiveValue {
|
|
7
7
|
private source;
|
|
@@ -97,7 +97,7 @@ class AggregatedScalarLiveValue {
|
|
|
97
97
|
return 0;
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
|
-
return scalarAggregationHelper_1.aggregate(expressionEvaluation.aggregationParams, aggregatedRowNodes);
|
|
100
|
+
return (0, scalarAggregationHelper_1.aggregate)(expressionEvaluation.aggregationParams, aggregatedRowNodes);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
exports.AggregatedScalarLiveValue = AggregatedScalarLiveValue;
|
|
@@ -30,12 +30,12 @@ class AlertService {
|
|
|
30
30
|
}
|
|
31
31
|
const isValidExpression = this.adaptableApi.queryLanguageApi.isValidObservableExpression(alertDefinition.Rule.ObservableExpression, ModuleConstants_1.AlertModuleId, `Invalid Alert rule with observable expression `);
|
|
32
32
|
if (!isValidExpression) {
|
|
33
|
-
LoggingHelper_1.LogAdaptableWarning(`Could NOT create reactive alert due to invalid Rule definition!`, alertDefinition.Rule);
|
|
33
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Could NOT create reactive alert due to invalid Rule definition!`, alertDefinition.Rule);
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
const reactiveExpressionObservable = this.evaluateReactiveExpression(alertDefinition.Rule);
|
|
37
|
-
const reactiveAlertSubscription = rxjs_1.combineLatest([
|
|
38
|
-
rxjs_1.of(alertDefinition),
|
|
37
|
+
const reactiveAlertSubscription = (0, rxjs_1.combineLatest)([
|
|
38
|
+
(0, rxjs_1.of)(alertDefinition),
|
|
39
39
|
reactiveExpressionObservable,
|
|
40
40
|
]).subscribe(([alertDefinition, dataChangeLogEntry]) => {
|
|
41
41
|
const reactiveAlertInfo = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ICalculatedColumnExpressionService } from './Interface/ICalculatedColumnExpressionService';
|
|
2
|
-
import { RowNode } from '@ag-grid-community/
|
|
2
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
3
3
|
import { AdaptableCalculatedColumnQuery, CalculatedColumn } from '../../PredefinedConfig/CalculatedColumnState';
|
|
4
4
|
import { AdaptableApi } from '../../../types';
|
|
5
5
|
export declare class CalculatedColumnExpressionService implements ICalculatedColumnExpressionService {
|
|
@@ -71,7 +71,7 @@ class CalculatedColumnExpressionService {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
catch (e) {
|
|
74
|
-
LoggingHelper_1.LogAdaptableWarning(`Invalid CalculatedColumn expression ${this.adaptableApi.queryLanguageApi.getAdaptableQueryExpression(calculatedColumnQuery)} :: ${e}`);
|
|
74
|
+
(0, LoggingHelper_1.LogAdaptableWarning)(`Invalid CalculatedColumn expression ${this.adaptableApi.queryLanguageApi.getAdaptableQueryExpression(calculatedColumnQuery)} :: ${e}`);
|
|
75
75
|
return 'Number';
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -117,7 +117,7 @@ class CalculatedColumnExpressionService {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
catch (error) {
|
|
120
|
-
LoggingHelper_1.LogAdaptableError(`Invalid CalculatedColumn expression ${(_d = (_c = calculatedColumn === null || calculatedColumn === void 0 ? void 0 : calculatedColumn.Query) === null || _c === void 0 ? void 0 : _c.ScalarExpression) !== null && _d !== void 0 ? _d : (_e = calculatedColumn === null || calculatedColumn === void 0 ? void 0 : calculatedColumn.Query) === null || _e === void 0 ? void 0 : _e.AggregatedScalarExpression} :: ${error}`);
|
|
120
|
+
(0, LoggingHelper_1.LogAdaptableError)(`Invalid CalculatedColumn expression ${(_d = (_c = calculatedColumn === null || calculatedColumn === void 0 ? void 0 : calculatedColumn.Query) === null || _c === void 0 ? void 0 : _c.ScalarExpression) !== null && _d !== void 0 ? _d : (_e = calculatedColumn === null || calculatedColumn === void 0 ? void 0 : calculatedColumn.Query) === null || _e === void 0 ? void 0 : _e.AggregatedScalarExpression} :: ${error}`);
|
|
121
121
|
return null;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -133,7 +133,7 @@ class CalculatedColumnExpressionService {
|
|
|
133
133
|
this.aggregatedScalarLiveValuesMap.set(calculatedColumn.Uuid, aggregatedScalarLiveValue);
|
|
134
134
|
}
|
|
135
135
|
catch (e) {
|
|
136
|
-
LoggingHelper_1.LogAdaptableError(`Creating CalculatedColumn ('${(_c = calculatedColumn.Query) === null || _c === void 0 ? void 0 : _c.AggregatedScalarExpression}') failed!\n${e.message}`);
|
|
136
|
+
(0, LoggingHelper_1.LogAdaptableError)(`Creating CalculatedColumn ('${(_c = calculatedColumn.Query) === null || _c === void 0 ? void 0 : _c.AggregatedScalarExpression}') failed!\n${e.message}`);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -50,7 +50,7 @@ class DataService {
|
|
|
50
50
|
// why 2 and not 3 or 1? no good reason, only seems like a reasonable waiting time :)
|
|
51
51
|
const UNDO_WAIT = 2000;
|
|
52
52
|
const timeoutId = setTimeout(() => {
|
|
53
|
-
LoggingHelper_1.LogAdaptableInfo(`Undo change was NOT handled, this should NOT happen: PK(${change.primaryKeyValue}) Col(${change.column}) RevertedValue(${change.newValue}) NewValue(${change.oldValue})`);
|
|
53
|
+
(0, LoggingHelper_1.LogAdaptableInfo)(`Undo change was NOT handled, this should NOT happen: PK(${change.primaryKeyValue}) Col(${change.column}) RevertedValue(${change.newValue}) NewValue(${change.oldValue})`);
|
|
54
54
|
this.extractUndoChange(change);
|
|
55
55
|
}, UNDO_WAIT);
|
|
56
56
|
this.undoChangeTimers.set(undoChangeKey, timeoutId);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAdaptableService } from './IAdaptableService';
|
|
2
|
-
import { RowNode } from '@ag-grid-community/
|
|
2
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
3
3
|
import { AdaptableCalculatedColumnQuery, CalculatedColumn } from '../../../PredefinedConfig/CalculatedColumnState';
|
|
4
4
|
export interface ICalculatedColumnExpressionService extends IAdaptableService {
|
|
5
5
|
isCalculatedColumnQueryValid(calculatedColumnQuery: AdaptableCalculatedColumnQuery): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { IAdaptableService } from './IAdaptableService';
|
|
3
|
-
import { RowNode } from '@ag-grid-community/
|
|
3
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
4
4
|
import { CellDataChangedInfo } from '../../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
5
5
|
import { AdaptableModule } from '../../../PredefinedConfig/Common/Types';
|
|
6
6
|
import { ScalarAggregationParameter } from '../../ExpressionFunctions/aggregatedScalarExpressionFunctions';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Report, ReportData, SystemReportName } from '../../../PredefinedConfig/ExportState';
|
|
2
2
|
import { AdaptableColumn } from '../../../PredefinedConfig/Common/AdaptableColumn';
|
|
3
3
|
import { IAdaptableService } from './IAdaptableService';
|
|
4
|
-
import { RowNode } from '@ag-grid-community/
|
|
4
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
5
5
|
import { SystemExportDestination } from '../../../types';
|
|
6
6
|
export interface IReportService extends IAdaptableService {
|
|
7
7
|
CreateSystemReport(systemReportName: SystemReportName): Report;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RowNode } from '@ag-grid-community/
|
|
1
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
2
2
|
import { IAdaptableService } from './IAdaptableService';
|
|
3
3
|
import { AdaptableForm } from '../../../PredefinedConfig/Common/AdaptableForm';
|
|
4
4
|
import { CreateActionRowContext, EditActionRowContext } from '../../../AdaptableOptions/ActionOptions';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LicenseService=exports.LicenseValidityType=void 0;const e=require("tslib"),a=require("../../Redux/ActionsReducers/SystemRedux"),t=require("../../Redux/ActionsReducers/PopupRedux"),s=e.__importDefault(require("../ObjectFactory")),o=require("../Helpers/LoggingHelper"),i=e.__importDefault(require("lodash/clamp")),n=require("../Constants/DocumentationLinkConstants"),r=require("../license/decode"),c="sales@adaptabletools.com",l=10,d=864e5;var p;!function(e){e.INVALID_LICENSE="INVALID_LICENSE",e.NO_LICENSE="NO_LICENSE",e.NON_PRODUCTION_VALID="NON_PRODUCTION_VALID",e.NON_PRODUCTION_EXPIRED_IN_SCOPE="NON_PRODUCTION_EXPIRED_IN_SCOPE",e.NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE="NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE",e.COMMERCIAL_VALID="COMMERCIAL_VALID",e.COMMERCIAL_EXPIRED_IN_SCOPE="COMMERCIAL_EXPIRED_IN_SCOPE",e.COMMERCIAL_EXPIRED_OUT_OF_SCOPE="COMMERCIAL_EXPIRED_OUT_OF_SCOPE"}(p=exports.LicenseValidityType||(exports.LicenseValidityType={}));const E=/(https):\/\/\d+\-\d+\-\d+\-(sandpack\.codesandbox\.io)/g,I=/(https):\/\/\S+(\.csb\.app)/g,_=/(https):\/\/\S+(\.adaptabletools\.com)/g,O="undefined"!=typeof window?window.location.origin:"",h=()=>{const[e,a,t]=Array.from(E.exec(O)||[]);return"https"===a&&"sandpack.codesandbox.io"===t},u=()=>{const[e,a,t]=Array.from(I.exec(O)||[]);return"https"===a&&".csb.app"===t},L=()=>{const[e,a,t]=Array.from(_.exec(O)||[]);return"https"===a&&".adaptabletools.com"===t};class A{constructor(e,a,t){this.adaptable=e,this.adaptable=e;let s=null;if(a)try{s=r.decode(a)}catch(e){s=e}h()||u()||L()||this.handleLicenseValidation(s,this.getValidityType(s,t))}getValidityType(e,a){if(!e)return p.NO_LICENSE;if(e instanceof Error)return p.INVALID_LICENSE;const t=new Date(a.publishedAt),s=new Date(e.end),o=s<new Date,i=e.trial;let n=null;return n=o?s>t?i?p.NON_PRODUCTION_EXPIRED_IN_SCOPE:p.COMMERCIAL_EXPIRED_IN_SCOPE:i?p.NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE:p.COMMERCIAL_EXPIRED_OUT_OF_SCOPE:i?p.NON_PRODUCTION_VALID:p.COMMERCIAL_VALID,n}handleLicenseValidation(e,a){var t;const s=new Date;s.setHours(0,0,0,0);let r=0;e instanceof Error||!(null==e?void 0:e.end)||(r=Math.floor(((null===(t=null==e?void 0:e.end)||void 0===t?void 0:t.getTime())-s.getTime())/864e5),r=i.default(r,0,1/0));const l=(e,a=n.LicenseDocsLink,t=c,s=r)=>e.replace("[LINK]",a).replace("[EMAIL]",t).replace("[DAYS]",`${s}`);switch(a){case"NO_LICENSE":case"NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE":o.ConsoleLogByMessageType(l("This instance of AdapTable does not have a license, and some functionality has therefore been removed. In order to use a fully-featured version of AdapTable, please contact [EMAIL]. You can learn more about the different AdapTable license options at [LINK]."),"Error"),this.showNotification("No AdapTable License found."),this.showWatermark("This instance of AdapTable does not have a license, and some functionality has therefore been removed."),this.disableStatePersistence();break;case"INVALID_LICENSE":o.ConsoleLogByMessageType(l("This instance of AdapTable seems to use a corrupted License, and some functionality has therefore been removed. In order to use a fully-featured version of AdapTable, please contact [EMAIL]. You can learn more about the different AdapTable license options at [LINK]."),"Error"),this.showNotification("Corrupted AdapTable License found."),this.showWatermark("This instance of AdapTable has a corrupted License, and some functionality has therefore been removed."),this.disableStatePersistence();break;case"NON_PRODUCTION_VALID":o.ConsoleLogByMessageType(l("This AdapTable trial license expires in [DAYS] days. Please contact [EMAIL] to upgrade to a commercial version of AdapTable. You can learn more about the different AdapTable license options at [LINK]."),"Info");break;case"NON_PRODUCTION_EXPIRED_IN_SCOPE":o.ConsoleLogByMessageType(l("This AdapTable trial license has now expired. Please contact [EMAIL] to upgrade to a commercial version of AdapTable. You can learn more about the different AdapTable license options at [LINK]."),"Warning"),this.showWatermark("AdapTable License has expired");break;case"COMMERCIAL_VALID":r<=10&&o.ConsoleLogByMessageType(l("This AdapTable license expires in [DAYS] days. Please contact [EMAIL] to renew (giving you access to Support and Updates)"),"Info");break;case"COMMERCIAL_EXPIRED_IN_SCOPE":o.ConsoleLogByMessageType(l("This AdapTable license has expired. Please contact [EMAIL] if you wish to renew (giving you access to Support and Updates)"),"Warning");break;case"COMMERCIAL_EXPIRED_OUT_OF_SCOPE":o.ConsoleLogByMessageType(l("This AdapTable license has expired. Adaptable version was published after the license expired. Please contact [EMAIL] if you wish to renew your license."),"Error"),this.showNotification("Adaptable License has expired"),this.showWatermark("Adaptable License has expired")}}showNotification(e){this.adaptable.api.internalApi.dispatchReduxAction(t.PopupShowAlert({alertType:"generic",header:"License Error",message:e,alertDefinition:s.default.CreateInternalAlertDefinitionForMessages("Error")}))}showWatermark(e){this.adaptable.api.internalApi.dispatchReduxAction(a.SystemLicenseShowWatermark(e))}disableStatePersistence(){this.adaptable.api.internalApi.dispatchReduxAction(a.SystemLicenseDisablePersistence())}destroy(){}}exports.LicenseService=A;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LicenseService=exports.LicenseValidityType=void 0;const e=require("tslib"),a=require("../../Redux/ActionsReducers/SystemRedux"),t=require("../../Redux/ActionsReducers/PopupRedux"),s=e.__importDefault(require("../ObjectFactory")),o=require("../Helpers/LoggingHelper"),i=e.__importDefault(require("lodash/clamp")),n=require("../Constants/DocumentationLinkConstants"),r=require("../license/decode"),c="sales@adaptabletools.com",l=10,d=864e5;var p;!function(e){e.INVALID_LICENSE="INVALID_LICENSE",e.NO_LICENSE="NO_LICENSE",e.NON_PRODUCTION_VALID="NON_PRODUCTION_VALID",e.NON_PRODUCTION_EXPIRED_IN_SCOPE="NON_PRODUCTION_EXPIRED_IN_SCOPE",e.NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE="NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE",e.COMMERCIAL_VALID="COMMERCIAL_VALID",e.COMMERCIAL_EXPIRED_IN_SCOPE="COMMERCIAL_EXPIRED_IN_SCOPE",e.COMMERCIAL_EXPIRED_OUT_OF_SCOPE="COMMERCIAL_EXPIRED_OUT_OF_SCOPE"}(p=exports.LicenseValidityType||(exports.LicenseValidityType={}));const E=/(https):\/\/\d+\-\d+\-\d+\-(sandpack\.codesandbox\.io)/g,I=/(https):\/\/\S+(\.csb\.app)/g,_=/(https):\/\/\S+(\.adaptabletools\.com)/g,O="undefined"!=typeof window?window.location.origin:"",h=()=>{const[e,a,t]=Array.from(E.exec(O)||[]);return"https"===a&&"sandpack.codesandbox.io"===t},u=()=>{const[e,a,t]=Array.from(I.exec(O)||[]);return"https"===a&&".csb.app"===t},L=()=>{const[e,a,t]=Array.from(_.exec(O)||[]);return"https"===a&&".adaptabletools.com"===t};class A{constructor(e,a,t){this.adaptable=e,this.adaptable=e;let s=null;if(a)try{s=(0,r.decode)(a)}catch(e){s=e}h()||u()||L()||this.handleLicenseValidation(s,this.getValidityType(s,t))}getValidityType(e,a){if(!e)return p.NO_LICENSE;if(e instanceof Error)return p.INVALID_LICENSE;const t=new Date(a.publishedAt),s=new Date(e.end),o=s<new Date,i=e.trial;let n=null;return n=o?s>t?i?p.NON_PRODUCTION_EXPIRED_IN_SCOPE:p.COMMERCIAL_EXPIRED_IN_SCOPE:i?p.NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE:p.COMMERCIAL_EXPIRED_OUT_OF_SCOPE:i?p.NON_PRODUCTION_VALID:p.COMMERCIAL_VALID,n}handleLicenseValidation(e,a){var t;const s=new Date;s.setHours(0,0,0,0);let r=0;e instanceof Error||!(null==e?void 0:e.end)||(r=Math.floor(((null===(t=null==e?void 0:e.end)||void 0===t?void 0:t.getTime())-s.getTime())/864e5),r=(0,i.default)(r,0,1/0));const l=(e,a=n.LicenseDocsLink,t=c,s=r)=>e.replace("[LINK]",a).replace("[EMAIL]",t).replace("[DAYS]",`${s}`);switch(a){case"NO_LICENSE":case"NON_PRODUCTION_EXPIRED_OUT_OF_SCOPE":(0,o.ConsoleLogByMessageType)(l("This instance of AdapTable does not have a license, and some functionality has therefore been removed. In order to use a fully-featured version of AdapTable, please contact [EMAIL]. You can learn more about the different AdapTable license options at [LINK]."),"Error"),this.showNotification("No AdapTable License found."),this.showWatermark("This instance of AdapTable does not have a license, and some functionality has therefore been removed."),this.disableStatePersistence();break;case"INVALID_LICENSE":(0,o.ConsoleLogByMessageType)(l("This instance of AdapTable seems to use a corrupted License, and some functionality has therefore been removed. In order to use a fully-featured version of AdapTable, please contact [EMAIL]. You can learn more about the different AdapTable license options at [LINK]."),"Error"),this.showNotification("Corrupted AdapTable License found."),this.showWatermark("This instance of AdapTable has a corrupted License, and some functionality has therefore been removed."),this.disableStatePersistence();break;case"NON_PRODUCTION_VALID":(0,o.ConsoleLogByMessageType)(l("This AdapTable trial license expires in [DAYS] days. Please contact [EMAIL] to upgrade to a commercial version of AdapTable. You can learn more about the different AdapTable license options at [LINK]."),"Info");break;case"NON_PRODUCTION_EXPIRED_IN_SCOPE":(0,o.ConsoleLogByMessageType)(l("This AdapTable trial license has now expired. Please contact [EMAIL] to upgrade to a commercial version of AdapTable. You can learn more about the different AdapTable license options at [LINK]."),"Warning"),this.showWatermark("AdapTable License has expired");break;case"COMMERCIAL_VALID":r<=10&&(0,o.ConsoleLogByMessageType)(l("This AdapTable license expires in [DAYS] days. Please contact [EMAIL] to renew (giving you access to Support and Updates)"),"Info");break;case"COMMERCIAL_EXPIRED_IN_SCOPE":(0,o.ConsoleLogByMessageType)(l("This AdapTable license has expired. Please contact [EMAIL] if you wish to renew (giving you access to Support and Updates)"),"Warning");break;case"COMMERCIAL_EXPIRED_OUT_OF_SCOPE":(0,o.ConsoleLogByMessageType)(l("This AdapTable license has expired. Adaptable version was published after the license expired. Please contact [EMAIL] if you wish to renew your license."),"Error"),this.showNotification("Adaptable License has expired"),this.showWatermark("Adaptable License has expired")}}showNotification(e){this.adaptable.api.internalApi.dispatchReduxAction((0,t.PopupShowAlert)({alertType:"generic",header:"License Error",message:e,alertDefinition:s.default.CreateInternalAlertDefinitionForMessages("Error")}))}showWatermark(e){this.adaptable.api.internalApi.dispatchReduxAction((0,a.SystemLicenseShowWatermark)(e))}disableStatePersistence(){this.adaptable.api.internalApi.dispatchReduxAction((0,a.SystemLicenseDisablePersistence)())}destroy(){}}exports.LicenseService=A;
|
|
@@ -33,17 +33,17 @@ class MetamodelService {
|
|
|
33
33
|
}
|
|
34
34
|
validateAdaptableOptionsValues() {
|
|
35
35
|
var _a;
|
|
36
|
-
LoggingHelper_1.LogAdaptableInfo('Validating Adaptable Options...');
|
|
36
|
+
(0, LoggingHelper_1.LogAdaptableInfo)('Validating Adaptable Options...');
|
|
37
37
|
const adaptableOptionsValues = this.getAdaptableOptions();
|
|
38
38
|
const adaptableOptionsMetamodel = this.getAdaptableOptionsMetamodel();
|
|
39
39
|
const adaptableOptionsDefaultValues = this.getAdaptableOptionsDefaultValues();
|
|
40
40
|
if ((_a = adaptableOptionsValues.adaptableId) === null || _a === void 0 ? void 0 : _a.includes('.')) {
|
|
41
|
-
LoggingHelper_1.ConsoleLogWarning("The 'AdaptableOptions.adaptableId' property should NOT include a '.' character. We strongly recommend to remove it to avoid unexpected AdapTable behavior.");
|
|
41
|
+
(0, LoggingHelper_1.ConsoleLogWarning)("The 'AdaptableOptions.adaptableId' property should NOT include a '.' character. We strongly recommend to remove it to avoid unexpected AdapTable behavior.");
|
|
42
42
|
}
|
|
43
43
|
const validationErrors = [];
|
|
44
44
|
this.validateOptionsObject(validationErrors, 'AdaptableOptions', adaptableOptionsValues, adaptableOptionsMetamodel, adaptableOptionsDefaultValues);
|
|
45
45
|
if (validationErrors.length) {
|
|
46
|
-
LoggingHelper_1.LogAdaptableWarning([
|
|
46
|
+
(0, LoggingHelper_1.LogAdaptableWarning)([
|
|
47
47
|
'AdaptableOptions validation errors:',
|
|
48
48
|
'\n',
|
|
49
49
|
...validationErrors,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IQueryLanguageService } from './Interface/IQueryLanguageService';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
4
|
-
import { RowNode } from '@ag-grid-community/
|
|
4
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
5
5
|
import { AdaptableModule } from '../../PredefinedConfig/Common/Types';
|
|
6
6
|
import { ModuleExpressionFunctions } from '../../AdaptableOptions/AdaptableQLOptions';
|
|
7
7
|
import { ScalarAggregationParameter } from '../ExpressionFunctions/aggregatedScalarExpressionFunctions';
|
|
@@ -139,7 +139,7 @@ class QueryLanguageService {
|
|
|
139
139
|
}
|
|
140
140
|
try {
|
|
141
141
|
const observableExpression = this.evaluateObservableExpression(expression, module);
|
|
142
|
-
if (!rxjs_1.isObservable(observableExpression)) {
|
|
142
|
+
if (!(0, rxjs_1.isObservable)(observableExpression)) {
|
|
143
143
|
const result = {
|
|
144
144
|
isValid: false,
|
|
145
145
|
errorMessage: `provided observable expression does not evaluate to an Observable`,
|
|
@@ -271,7 +271,7 @@ class QueryLanguageService {
|
|
|
271
271
|
getModuleExpressionFunctions(module) {
|
|
272
272
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
273
273
|
if (!module) {
|
|
274
|
-
LoggingHelper_1.LogAdaptableInfo(`QueryLanguageService.getModuleExpressionFunctions() was called with an undefined 'module' param, this should never happen`);
|
|
274
|
+
(0, LoggingHelper_1.LogAdaptableInfo)(`QueryLanguageService.getModuleExpressionFunctions() was called with an undefined 'module' param, this should never happen`);
|
|
275
275
|
return {
|
|
276
276
|
booleanFunctions: this.adaptableApi.internalApi.getAdaptableOptions().adaptableQLOptions.expressionOptions
|
|
277
277
|
.defaultBooleanFunctions,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
2
2
|
import { Report, ReportData, SystemReportName } from '../../PredefinedConfig/ExportState';
|
|
3
3
|
import { IReportService } from './Interface/IReportService';
|
|
4
|
-
import { RowNode } from '@ag-grid-community/
|
|
4
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
5
5
|
import { SystemExportDestination } from '../../AdaptableOptions/ExportOptions';
|
|
6
6
|
import { AdaptableApi } from '../../../types';
|
|
7
7
|
export declare class ReportService implements IReportService {
|
|
@@ -19,7 +19,7 @@ class ReportService {
|
|
|
19
19
|
switch (systemReportName) {
|
|
20
20
|
case GeneralConstants_1.VISUAL_DATA_REPORT:
|
|
21
21
|
return {
|
|
22
|
-
Uuid: Uuid_1.createUuid(),
|
|
22
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
23
23
|
Name: GeneralConstants_1.VISUAL_DATA_REPORT,
|
|
24
24
|
ReportColumnScope: 'VisibleColumns',
|
|
25
25
|
ReportRowScope: 'VisibleRows',
|
|
@@ -28,7 +28,7 @@ class ReportService {
|
|
|
28
28
|
};
|
|
29
29
|
case GeneralConstants_1.ALL_DATA_REPORT:
|
|
30
30
|
return {
|
|
31
|
-
Uuid: Uuid_1.createUuid(),
|
|
31
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
32
32
|
Name: GeneralConstants_1.ALL_DATA_REPORT,
|
|
33
33
|
ReportColumnScope: 'AllColumns',
|
|
34
34
|
ReportRowScope: 'AllRows',
|
|
@@ -37,7 +37,7 @@ class ReportService {
|
|
|
37
37
|
};
|
|
38
38
|
case GeneralConstants_1.CURRENT_DATA_REPORT:
|
|
39
39
|
return {
|
|
40
|
-
Uuid: Uuid_1.createUuid(),
|
|
40
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
41
41
|
Name: GeneralConstants_1.CURRENT_DATA_REPORT,
|
|
42
42
|
ReportColumnScope: 'VisibleColumns',
|
|
43
43
|
ReportRowScope: 'VisibleRows',
|
|
@@ -46,7 +46,7 @@ class ReportService {
|
|
|
46
46
|
};
|
|
47
47
|
case GeneralConstants_1.SELECTED_CELLS_REPORT:
|
|
48
48
|
return {
|
|
49
|
-
Uuid: Uuid_1.createUuid(),
|
|
49
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
50
50
|
Name: GeneralConstants_1.SELECTED_CELLS_REPORT,
|
|
51
51
|
ReportColumnScope: 'SelectedColumns',
|
|
52
52
|
ReportRowScope: 'SelectedCellRows',
|
|
@@ -55,7 +55,7 @@ class ReportService {
|
|
|
55
55
|
};
|
|
56
56
|
case GeneralConstants_1.SELECTED_ROWS_REPORT:
|
|
57
57
|
return {
|
|
58
|
-
Uuid: Uuid_1.createUuid(),
|
|
58
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
59
59
|
Name: GeneralConstants_1.SELECTED_ROWS_REPORT,
|
|
60
60
|
ReportColumnScope: 'VisibleColumns',
|
|
61
61
|
ReportRowScope: 'SelectedRows',
|
|
@@ -242,7 +242,7 @@ class ReportService {
|
|
|
242
242
|
case 'SelectedCellRows':
|
|
243
243
|
const selectedCellInfo = this.adaptableApi.gridApi.getSelectedCellInfo();
|
|
244
244
|
const { gridCells: GridCells } = selectedCellInfo;
|
|
245
|
-
let selectedCellsByPrimaryKey = groupBy_1.default(GridCells, 'primaryKeyValue');
|
|
245
|
+
let selectedCellsByPrimaryKey = (0, groupBy_1.default)(GridCells, 'primaryKeyValue');
|
|
246
246
|
// we iterate over all visibleRowNodes to preserve the current order
|
|
247
247
|
this.adaptableApi.internalApi.forAllVisibleRowNodesDo((rowNode) => {
|
|
248
248
|
const rowPrimaryKeyValue = this.adaptableApi.gridApi.getPrimaryKeyValueForRowNode(rowNode);
|
|
@@ -321,7 +321,7 @@ class ReportService {
|
|
|
321
321
|
getReportFileName(reportName) {
|
|
322
322
|
let fileName = StringExtensions_1.default.ReplaceEmptySpacesWithUnderscore(reportName);
|
|
323
323
|
if (this.adaptableApi.internalApi.getAdaptableOptions().exportOptions.appendFileTimestamp) {
|
|
324
|
-
fileName = `${fileName}_${FormatHelper_1.DateFormatter(new Date(), {
|
|
324
|
+
fileName = `${fileName}_${(0, FormatHelper_1.DateFormatter)(new Date(), {
|
|
325
325
|
Pattern: 'yyyyMMdd_HHmmss',
|
|
326
326
|
})}`;
|
|
327
327
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRowEditService } from './Interface/IRowEditService';
|
|
2
|
-
import { RowNode } from '@ag-grid-community/
|
|
2
|
+
import { RowNode } from '@ag-grid-community/core';
|
|
3
3
|
import { AdaptableApi } from '../../Api/AdaptableApi';
|
|
4
4
|
import { AdaptableForm } from '../../PredefinedConfig/Common/AdaptableForm';
|
|
5
5
|
import { CreateActionRowContext, EditActionRowContext } from '../../AdaptableOptions/ActionOptions';
|
|
@@ -131,7 +131,7 @@ class TeamSharingService {
|
|
|
131
131
|
createSharedEntity(adaptableObject, module, configuration, sharingUserName, sharingTimestamp, createdSharedEntities) {
|
|
132
132
|
// create main shared entity
|
|
133
133
|
const mainSharedEntity = {
|
|
134
|
-
Uuid: Uuid_1.createUuid(),
|
|
134
|
+
Uuid: (0, Uuid_1.createUuid)(),
|
|
135
135
|
Entity: adaptableObject,
|
|
136
136
|
EntityDependencyIds: [],
|
|
137
137
|
Module: module,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.decode=exports.fieldsToLicenseDetails=void 0;const e=require("./hashing"),t=()=>new Error("Invalid License"),r=e=>{var r;const o=e.reduce(((e,t)=>(e.set(t.name,t.value),e)),new Map),s={count:o.get("DeveloperCount")?Number(o.get("DeveloperCount")):0,start:new Date(o.get("StartDate")),end:new Date(o.get("EndDate")),owner:o.get("Owner"),timestamp:o.get("TS")?Number(o.get("TS")):0,trial:"true"===o.get("Trial"),ref:null!==(r=o.get("Ref"))&&void 0!==r?r:""};if(!(s.start&&s.end&&s.owner&&"boolean"==typeof s.trial&&s.ref))throw t();return s};exports.fieldsToLicenseDetails=r;const o=r=>{let o="",s=r.split("|").map((e=>{let[t,r]=e.split("=");return"C"===t&&(o=r),{name:t,value:r}}));if(!o)throw t();const n=o.split(",").reverse(),a=n.pop();n.forEach(((r,o)=>{const n=s[o];if(e.compute_string(n.value)!==r)throw t()}));const i=[...s];i.pop();const l=i.map((e=>`${e.name}=${e.value}`)).join("|");if(e.compute_string(l)!==a)throw t();return s=s.map((e=>Object.assign(Object.assign({},e),{value:decodeURI(e.value)}))),exports.fieldsToLicenseDetails(s)};exports.decode=o;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.decode=exports.fieldsToLicenseDetails=void 0;const e=require("./hashing"),t=()=>new Error("Invalid License"),r=e=>{var r;const o=e.reduce(((e,t)=>(e.set(t.name,t.value),e)),new Map),s={count:o.get("DeveloperCount")?Number(o.get("DeveloperCount")):0,start:new Date(o.get("StartDate")),end:new Date(o.get("EndDate")),owner:o.get("Owner"),timestamp:o.get("TS")?Number(o.get("TS")):0,trial:"true"===o.get("Trial"),ref:null!==(r=o.get("Ref"))&&void 0!==r?r:""};if(!(s.start&&s.end&&s.owner&&"boolean"==typeof s.trial&&s.ref))throw t();return s};exports.fieldsToLicenseDetails=r;const o=r=>{let o="",s=r.split("|").map((e=>{let[t,r]=e.split("=");return"C"===t&&(o=r),{name:t,value:r}}));if(!o)throw t();const n=o.split(",").reverse(),a=n.pop();n.forEach(((r,o)=>{const n=s[o];if((0,e.compute_string)(n.value)!==r)throw t()}));const i=[...s];i.pop();const l=i.map((e=>`${e.name}=${e.value}`)).join("|");if((0,e.compute_string)(l)!==a)throw t();return s=s.map((e=>Object.assign(Object.assign({},e),{value:decodeURI(e.value)}))),(0,exports.fieldsToLicenseDetails)(s)};exports.decode=o;
|
|
@@ -58,6 +58,6 @@ function mapDispatchToProps(dispatch) {
|
|
|
58
58
|
onClearPopupParams: () => dispatch(PopupRedux.PopupClearParam()),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
let AdaptableWrapper = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(AdaptableView);
|
|
62
|
-
const AdaptableApp = ({ Adaptable }) => renderWithAdaptableContext_1.renderWithAdaptableContext(React.createElement(AdaptableWrapper, { Adaptable: Adaptable }), Adaptable);
|
|
61
|
+
let AdaptableWrapper = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(AdaptableView);
|
|
62
|
+
const AdaptableApp = ({ Adaptable }) => (0, renderWithAdaptableContext_1.renderWithAdaptableContext)(React.createElement(AdaptableWrapper, { Adaptable: Adaptable }), Adaptable);
|
|
63
63
|
exports.AdaptableApp = AdaptableApp;
|