@adaptabletools/adaptable 10.0.4-canary.1 → 10.0.4-canary.5
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/LICENSE.md +2 -2
- package/README.md +1 -1
- package/agGrid.d.ts +2 -2
- package/base.css +387 -87
- package/bundle.cjs.js +353 -0
- package/index.css +454 -94
- package/package.json +5 -8
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -15
- package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
- package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
- package/src/AdaptableOptions/DashboardOptions.d.ts +2 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -3
- package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
- package/src/AdaptableOptions/EditOptions.d.ts +4 -5
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +8 -8
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +12 -12
- package/src/AdaptableOptions/NotificationsOptions.d.ts +12 -3
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +75 -0
- package/src/{Api/Events/FlashingAlertFired.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +32 -3
- package/src/Api/AdaptableApi.d.ts +14 -12
- package/src/Api/AlertApi.d.ts +4 -79
- package/src/Api/ColumnApi.d.ts +10 -5
- package/src/Api/DataChangeHistoryApi.d.ts +4 -0
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/AdaptableReady.d.ts +3 -2
- package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
- package/src/{PredefinedConfig/Common/AdaptableFlashingAlert.js → Api/Events/FlashingCellDisplayed.js} +0 -0
- package/src/Api/Events/GridDataChanged.d.ts +3 -1
- package/src/Api/FlashingCellApi.d.ts +78 -0
- package/src/Api/FlashingCellApi.js +2 -0
- package/src/Api/GridApi.d.ts +38 -15
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
- package/src/Api/Implementation/AlertApiImpl.js +40 -107
- package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -3
- package/src/Api/Implementation/ColumnApiImpl.js +16 -14
- package/src/Api/Implementation/ConfigApiImpl.js +0 -29
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
- package/src/Api/Implementation/FilterApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +20 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +96 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +15 -10
- package/src/Api/Implementation/GridApiImpl.js +42 -21
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
- package/src/Api/Implementation/InternalApiImpl.js +7 -6
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +27 -0
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +11 -11
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.js +4 -4
- package/src/Api/InternalApi.d.ts +5 -5
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/PluginsApi.d.ts +1 -7
- package/src/Api/SmartEditApi.d.ts +4 -4
- package/src/Api/TeamSharingApi.d.ts +1 -1
- package/src/Api/ThemeApi.d.ts +2 -2
- package/src/Api/UserInterfaceApi.d.ts +3 -3
- package/src/PredefinedConfig/AdaptableState.d.ts +4 -10
- package/src/PredefinedConfig/AlertState.d.ts +14 -55
- package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +7 -3
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -0
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptableScope.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
- package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +41 -18
- package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
- package/src/PredefinedConfig/Common/Schedule.js +0 -14
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +6 -5
- package/src/PredefinedConfig/Common/Types.js +9 -7
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +2 -2
- package/src/PredefinedConfig/DashboardState.d.ts +3 -2
- package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FilterState.d.ts +2 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +70 -0
- package/src/PredefinedConfig/FlashingCellState.js +2 -0
- package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +3 -3
- package/src/PredefinedConfig/LayoutState.d.ts +2 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -39
- package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
- package/src/PredefinedConfig/ScheduleState.d.ts +2 -6
- package/src/PredefinedConfig/ShortcutState.d.ts +6 -2
- package/src/PredefinedConfig/SystemState.d.ts +17 -4
- package/src/PredefinedConfig/ThemeState.d.ts +5 -1
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
- package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
- package/src/Redux/ActionsReducers/DashboardRedux.js +3 -2
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
- package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/GridRedux.js +2 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -13
- package/src/Redux/ActionsReducers/SystemRedux.js +94 -40
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +2 -1
- package/src/Redux/DeadRedux.d.ts +4 -8
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
- package/src/Redux/Store/AdaptableStore.d.ts +3 -3
- package/src/Redux/Store/AdaptableStore.js +91 -51
- package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
- package/src/Strategy/AlertModule.d.ts +16 -7
- package/src/Strategy/AlertModule.js +40 -216
- package/src/Strategy/BulkUpdateModule.d.ts +2 -2
- package/src/Strategy/BulkUpdateModule.js +4 -4
- package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
- package/src/Strategy/CalculatedColumnModule.js +29 -0
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
- package/src/Strategy/ConditionalStyleModule.js +28 -0
- package/src/Strategy/CustomSortModule.d.ts +12 -1
- package/src/Strategy/CustomSortModule.js +26 -0
- package/src/Strategy/DashboardModule.d.ts +2 -3
- package/src/Strategy/DashboardModule.js +1 -7
- package/src/Strategy/DataChangeHistoryModule.js +3 -3
- package/src/Strategy/DataSourceModule.d.ts +9 -1
- package/src/Strategy/DataSourceModule.js +28 -0
- package/src/Strategy/ExportModule.d.ts +14 -2
- package/src/Strategy/ExportModule.js +43 -0
- package/src/Strategy/FilterModule.d.ts +10 -3
- package/src/Strategy/FilterModule.js +27 -0
- package/src/Strategy/FlashingCellModule.d.ts +33 -0
- package/src/Strategy/FlashingCellModule.js +219 -0
- package/src/Strategy/FormatColumnModule.d.ts +11 -1
- package/src/Strategy/FormatColumnModule.js +36 -1
- package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
- package/src/Strategy/FreeTextColumnModule.js +45 -0
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/GridInfoModule.js +58 -36
- package/src/Strategy/Interface/IModule.d.ts +72 -2
- package/src/Strategy/LayoutModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +21 -8
- package/src/Strategy/PlusMinusModule.d.ts +11 -0
- package/src/Strategy/PlusMinusModule.js +34 -0
- package/src/Strategy/QueryModule.d.ts +20 -0
- package/src/Strategy/QueryModule.js +27 -0
- package/src/Strategy/ScheduleModule.d.ts +17 -1
- package/src/Strategy/ScheduleModule.js +148 -2
- package/src/Strategy/SetingsPanelModule.d.ts +10 -0
- package/src/Strategy/SetingsPanelModule.js +24 -0
- package/src/Strategy/ShortcutModule.d.ts +11 -0
- package/src/Strategy/ShortcutModule.js +22 -0
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +3 -4
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/ToolPanelModule.js +1 -1
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +8 -0
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +15 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.d.ts +4 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +19 -0
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +9 -0
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +9 -0
- package/src/Strategy/Utilities/getExportColumnsViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +22 -0
- package/src/Strategy/Utilities/getExportRowsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getExportRowsViewItems.js +26 -0
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getExpressionViewItems.js +9 -0
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +9 -0
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +10 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -0
- package/src/Strategy/Utilities/getRuleViewItems.d.ts +6 -0
- package/src/Strategy/Utilities/getRuleViewItems.js +15 -0
- package/src/Strategy/Utilities/getScopeViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getScopeViewItems.js +20 -0
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +15 -0
- package/src/Strategy/Utilities/getStyleViewItems.d.ts +2 -0
- package/src/Strategy/Utilities/getStyleViewItems.js +15 -0
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +8 -6
- package/src/Utilities/Constants/ModuleConstants.js +9 -7
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +19 -11
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +6 -0
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
- package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
- package/src/Utilities/Helpers/PreviewHelper.js +2 -2
- package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
- package/src/Utilities/Helpers/StyleHelper.js +4 -1
- package/src/Utilities/Interface/Preview.d.ts +2 -1
- package/src/Utilities/MenuItem.d.ts +1 -1
- package/src/Utilities/MenuItem.js +2 -2
- package/src/Utilities/ObjectFactory.d.ts +7 -8
- package/src/Utilities/ObjectFactory.js +24 -31
- package/src/Utilities/Services/AlertService.d.ts +3 -3
- package/src/Utilities/Services/AlertService.js +11 -17
- package/src/Utilities/Services/EntitlementService.d.ts +1 -0
- package/src/Utilities/Services/EntitlementService.js +8 -0
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -7
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +1 -0
- package/src/Utilities/Services/LicenseService.js +16 -2
- package/src/Utilities/Services/ModuleService.js +6 -6
- package/src/Utilities/Services/TeamSharingService.js +3 -4
- package/src/Utilities/Services/ValidationService.js +1 -1
- package/src/View/AdaptableView.js +3 -3
- package/src/View/AdaptableViewFactory.d.ts +2 -1
- package/src/View/AdaptableViewFactory.js +2 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +16 -16
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
- package/src/View/AdaptableWizardView/index.js +1 -1
- package/src/View/Alert/AlertEmptyView.d.ts +5 -0
- package/src/View/Alert/AlertEmptyView.js +16 -0
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -6
- package/src/View/Alert/Wizard/AlertWizard.js +17 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +4 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +5 -4
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
- package/src/View/Alert/Wizard/isValidAlertRules.d.ts +2 -3
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +2 -0
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +17 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -16
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +18 -2
- package/src/View/CellSummary/CellSummaryPopup.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +2 -2
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
- package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
- package/src/View/Components/AdaptableObjectList/index.js +5 -0
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +3 -2
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
- package/src/View/Components/Buttons/ButtonEdit.js +4 -6
- package/src/View/Components/Buttons/ButtonShare.js +3 -2
- package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
- package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
- package/src/View/Components/ExternalRenderer.d.ts +14 -0
- package/src/View/Components/ExternalRenderer.js +32 -0
- package/src/View/Components/FilterForm/FilterForm.js +9 -8
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +7 -7
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -2
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
- package/src/View/Components/Panels/PanelWithImage.js +2 -2
- package/src/View/Components/Popups/AdaptableChart.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +119 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +15 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +35 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +9 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +67 -0
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.d.ts +6 -0
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +13 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +63 -0
- package/src/View/Components/Popups/{PopupContext.d.ts → AdaptablePopup/PopupContext.d.ts} +0 -0
- package/src/View/Components/Popups/{PopupContext.js → AdaptablePopup/PopupContext.js} +0 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +10 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +22 -0
- package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +7 -0
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +29 -0
- package/src/View/Components/Popups/AdaptablePopup/Utilities.d.ts +15 -0
- package/src/View/Components/Popups/AdaptablePopup/Utilities.js +28 -0
- package/src/View/Components/Popups/AdaptablePopup/index.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/index.js +5 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +22 -9
- package/src/View/Components/Popups/AdaptableToaster.js +6 -6
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -4
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -3
- package/src/View/Components/ValueSelector/index.js +4 -4
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +19 -5
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +4 -5
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
- package/src/View/Dashboard/Dashboard.d.ts +0 -1
- package/src/View/Dashboard/Dashboard.js +20 -67
- package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
- package/src/View/Dashboard/DashboardPopup.js +30 -8
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +8 -8
- package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
- package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
- package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
- package/src/View/Export/ExportViewPanel.js +6 -6
- package/src/View/Export/ReportExportDropdown.d.ts +5 -0
- package/src/View/Export/ReportExportDropdown.js +37 -0
- package/src/View/Export/Wizard/NewReportWizard.js +15 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
- package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
- package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts → FlashingCell/Wizard/FlashingCellDurationWizardSection.d.ts} +4 -4
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js → FlashingCell/Wizard/FlashingCellDurationWizardSection.js} +6 -6
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.d.ts → FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts} +3 -3
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.js → FlashingCell/Wizard/FlashingCellRulesWizardSection.js} +10 -10
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.d.ts → FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts} +1 -2
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.js → FlashingCell/Wizard/FlashingCellScopeWizardSection.js} +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +15 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.js → FlashingCell/Wizard/FlashingCellStyleWizardSection.js} +17 -16
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +6 -0
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +99 -0
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.d.ts +3 -0
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +30 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +18 -14
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +17 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -0
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -7
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +18 -5
- package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -2
- package/src/View/GridInfo/GridInfoPopup.d.ts +2 -1
- package/src/View/GridInfo/GridInfoPopup.js +21 -16
- package/src/View/GridInfo/GridOptionsComponent.js +2 -2
- package/src/View/Layout/LayoutPopup.js +4 -6
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
- package/src/View/License/LicenseWatermark.js +4 -0
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
- package/src/View/Query/QueryViewPanel.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryWizard.js +14 -2
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
- package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
- package/src/View/SmartEdit/SmartEditPopup.js +3 -3
- package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
- package/src/View/StateManagement/StateManagementPopup.js +23 -115
- package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
- package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
- package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/components/ClearButton.js +9 -0
- package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/components/ExportDropdown.js +43 -0
- package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/components/LoadButton.js +38 -0
- package/src/View/StateManagement/handleExportState.d.ts +1 -0
- package/src/View/StateManagement/handleExportState.js +22 -0
- package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
- package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
- package/src/View/Theme/ThemePopup.js +5 -7
- package/src/View/Theme/ThemeViewPanel.js +1 -1
- package/src/View/UIHelper.d.ts +3 -1
- package/src/View/UIHelper.js +35 -16
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +5 -0
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -0
- package/src/View/Wizard/OnePageAdaptableWizard.js +10 -2
- package/src/agGrid/Adaptable.d.ts +24 -15
- package/src/agGrid/Adaptable.js +293 -132
- package/src/agGrid/agGridHelper.d.ts +5 -4
- package/src/agGrid/agGridHelper.js +26 -15
- package/src/agGrid/agGridMenuHelper.d.ts +15 -13
- package/src/agGrid/agGridMenuHelper.js +53 -45
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
- package/src/components/ApplicationIcon.d.ts +5 -0
- package/src/components/ApplicationIcon.js +13 -0
- package/src/components/Dashboard/DashboardManager.js +1 -1
- package/src/components/Datepicker/Caption.d.ts +1 -1
- package/src/components/Datepicker/Caption.js +1 -4
- package/src/components/Datepicker/CaptionLabel.d.ts +1 -1
- package/src/components/Datepicker/CaptionLabel.js +1 -4
- package/src/components/Datepicker/DatepickerContext.d.ts +2 -2
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +10 -9
- package/src/components/Dialog/index.d.ts +4 -1
- package/src/components/Dialog/index.js +10 -3
- package/src/components/DropdownButton/index.d.ts +1 -0
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/EllipsisContainer/index.js +1 -1
- package/src/components/EmptyContent/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +3 -3
- package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
- package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/PopupWithFooter.js +2 -7
- package/src/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/src/components/StylePreview.d.ts +8 -0
- package/src/components/StylePreview.js +11 -0
- package/src/components/Tag/Tag.d.ts +3 -0
- package/src/components/Tag/Tag.js +11 -0
- package/src/components/Tag/index.d.ts +1 -0
- package/src/components/Tag/index.js +5 -0
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/ToggleButton/index.d.ts +1 -0
- package/src/components/ToggleButton/index.js +8 -4
- package/src/components/WindowModal/WindowModal.d.ts +23 -0
- package/src/components/WindowModal/WindowModal.js +87 -0
- package/src/components/WindowModal/index.d.ts +1 -0
- package/src/components/WindowModal/index.js +4 -0
- package/src/components/icons/index.js +6 -0
- package/src/components/icons/menu.d.ts +3 -0
- package/src/components/icons/menu.js +7 -0
- package/src/components/icons/state-management.js +1 -1
- package/src/components/icons/tool-panel.d.ts +3 -0
- package/src/components/icons/tool-panel.js +7 -0
- package/src/components/icons/upload.d.ts +3 -0
- package/src/components/icons/upload.js +8 -0
- package/src/components/utils/useDraggable.d.ts +3 -1
- package/src/components/utils/useDraggable.js +14 -2
- package/src/metamodel/adaptable.metamodel.d.ts +112 -78
- package/src/metamodel/adaptable.metamodel.js +477 -458
- package/src/types.d.ts +10 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
- package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
- package/src/PredefinedConfig/DeprecatedState.js +0 -5
- package/src/View/Alert/AlertPopup.d.ts +0 -42
- package/src/View/Alert/AlertPopup.js +0 -205
- package/src/View/Alert/FlashingAlertEntityRow.d.ts +0 -7
- package/src/View/Alert/FlashingAlertEntityRow.js +0 -22
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.d.ts +0 -10
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.d.ts +0 -6
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.js +0 -89
- package/src/View/CalculatedColumn/CalculatedColumnEntityRow.d.ts +0 -9
- package/src/View/CalculatedColumn/CalculatedColumnEntityRow.js +0 -28
- package/src/View/CalculatedColumn/CalculatedColumnPopup.d.ts +0 -25
- package/src/View/CalculatedColumn/CalculatedColumnPopup.js +0 -117
- package/src/View/Components/Buttons/SuspendToggleButton.js +0 -17
- package/src/View/Components/Popups/AdaptablePopup.d.ts +0 -23
- package/src/View/Components/Popups/AdaptablePopup.js +0 -59
- package/src/View/ConditionalStyle/ConditionalStyleEntityRow.d.ts +0 -5
- package/src/View/ConditionalStyle/ConditionalStyleEntityRow.js +0 -26
- package/src/View/ConditionalStyle/ConditionalStylePopup.d.ts +0 -30
- package/src/View/ConditionalStyle/ConditionalStylePopup.js +0 -144
- package/src/View/CustomSort/CustomSortEntityRow.d.ts +0 -10
- package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
- package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
- package/src/View/CustomSort/CustomSortPopup.js +0 -138
- package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
- package/src/View/DataSource/DataSourceEntityRow.js +0 -29
- package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
- package/src/View/DataSource/DataSourcePopup.js +0 -97
- package/src/View/Export/ExportPopup.d.ts +0 -34
- package/src/View/Export/ExportPopup.js +0 -139
- package/src/View/Export/ReportEntityRow.d.ts +0 -10
- package/src/View/Export/ReportEntityRow.js +0 -49
- package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
- package/src/View/Export/Wizard/ReportWizard.js +0 -50
- package/src/View/Filter/FilterEntityRow.d.ts +0 -12
- package/src/View/Filter/FilterEntityRow.js +0 -20
- package/src/View/Filter/FilterPopup.d.ts +0 -20
- package/src/View/Filter/FilterPopup.js +0 -50
- package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
- package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
- package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
- package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
- package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
- package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
- package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
- package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
- package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
- package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
- package/src/View/Query/NamedQueryEntityRow.js +0 -21
- package/src/View/Query/QueryPopup.d.ts +0 -28
- package/src/View/Query/QueryPopup.js +0 -114
- package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
- package/src/View/Schedule/ScheduleEntityRow.js +0 -58
- package/src/View/Schedule/SchedulePopup.d.ts +0 -58
- package/src/View/Schedule/SchedulePopup.js +0 -317
- package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
- package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
- package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
- package/src/View/Shortcut/ShortcutPopup.js +0 -121
- package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.d.ts +0 -88
- package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/ButtonProps.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/CaptionProps.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabelProps.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/DayProps.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDay.d.ts +0 -51
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDayFocus.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/index.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContentProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/DropdownProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdown.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdownProps.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/Navigation.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/NavigationProps.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Root/Root.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Root/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/Row.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/RowProps.d.ts +0 -11
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/Table.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideEndDays.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideStartDays.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getWeeks.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/WeekNumber.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/YearsDropdown.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/index.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/ContextProvider.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContext.d.ts +0 -78
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContextValue.d.ts +0 -20
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerProvider.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/defaultClassNames.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatCaption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatDay.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatMonthCaption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekNumber.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekdayName.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatYearCaption.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/index.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/index.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelDay.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelMonthDropdown.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelNext.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelPrevious.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekNumber.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekday.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelYearDropdown.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/useDayPicker.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseFromToProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseModifierProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContext.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContextValue.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusProvider.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/useFocus.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContext.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationProvider.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigation.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigationState.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getDisplayMonths.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/useSelectMultiple.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/useSelectRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/utils/addToRange.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContextValue.d.ts +0 -11
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/useSelectSingle.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/index.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInput.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputDayPickerProps.d.ts +0 -14
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputFieldProps.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputOptions.d.ts +0 -35
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/useInput.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/utils/isValidDate.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/UseModifiers.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/useModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/getModifierStatus.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isDateInRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isMatch.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/types/CaptionLayout.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/ClassNames.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/Components.d.ts +0 -33
- package/src/bundle-dependencies/bundles/react-day-picker/types/CustomModifiers.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateAfter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateBefore.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateFormatter.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateInterval.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateRange.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayClickEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayFocusEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayKeyboardEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayLabelFormatter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayMouseEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayOfWeekMatcher.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerBase.d.ts +0 -239
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerMultiple.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerRange.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerSingle.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerUncontrolled.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayTouchEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/Formatters.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/types/InternalModifier.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/Labels.d.ts +0 -17
- package/src/bundle-dependencies/bundles/react-day-picker/types/Matcher.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/Modifier.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierClassNames.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStatus.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStyles.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/Modifiers.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/MonthChangeEventHandler.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/NavButtonLabelFormatter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectMultipleEventHandler.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectRangeEventHandler.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectSingleEventHandler.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/types/StyledComponentProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/StyledElement.d.ts +0 -76
- package/src/bundle-dependencies/bundles/react-day-picker/types/Styles.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberClickEventHandler.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberFormatter.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberLabelFormatter.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekdayLabelFormatter.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/index.d.ts +0 -54
- package/src/bundle-dependencies/bundles/react-day-picker/types/isArrayOfDates.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateAfterType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateBeforeType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateInterval.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateType.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayOfWeekType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerMultiple.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerRange.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerSingle.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerUncontrolled.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -55
- package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
- package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -55
- package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/hooks/toastContainerReducer.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useKeeper.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/test/components/CloseButton.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/ProgressBar.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/Toast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/ToastContainer.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/core/eventManager.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/core/toast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/helpers.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/collapseToast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/cssTransition.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/propValidator.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -240
- package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -20
- package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -42
- package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -10
- package/src/components/OverlayTrigger/useVendorClassName.d.ts +0 -2
- package/src/components/Toastify/index.d.ts +0 -3
- package/src/components/Toastify/index.js +0 -10
|
@@ -14,9 +14,9 @@ const react_1 = require("react");
|
|
|
14
14
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
15
15
|
const AdaptableInput_1 = tslib_1.__importDefault(require("../../Components/AdaptableInput"));
|
|
16
16
|
const CheckBox_1 = require("../../../components/CheckBox");
|
|
17
|
-
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
18
17
|
const FormatHelper_1 = require("../../../Utilities/Helpers/FormatHelper");
|
|
19
18
|
const DateHelper_1 = require("../../../Utilities/Helpers/DateHelper");
|
|
19
|
+
const Tag_1 = require("../../../components/Tag");
|
|
20
20
|
const options = [
|
|
21
21
|
{ value: Enums_1.DataType.Number, label: Enums_1.DataType.Number },
|
|
22
22
|
{ value: Enums_1.DataType.String, label: Enums_1.DataType.String },
|
|
@@ -28,19 +28,19 @@ exports.renderFreeTextColumnSummary = (data) => {
|
|
|
28
28
|
return (React.createElement(rebass_1.Box, { fontSize: 2 },
|
|
29
29
|
React.createElement(rebass_1.Box, null,
|
|
30
30
|
"Column Identifier: ",
|
|
31
|
-
React.createElement(
|
|
31
|
+
React.createElement(Tag_1.Tag, null, data.ColumnId)),
|
|
32
32
|
data.FriendlyName ? (React.createElement(rebass_1.Box, { mt: 3 },
|
|
33
33
|
"Column Name: ",
|
|
34
|
-
React.createElement(
|
|
34
|
+
React.createElement(Tag_1.Tag, null, (_a = data.FriendlyName) !== null && _a !== void 0 ? _a : data.ColumnId))) : null,
|
|
35
35
|
React.createElement(rebass_1.Box, { mt: 3 },
|
|
36
36
|
"Data Type: ",
|
|
37
|
-
React.createElement(
|
|
37
|
+
React.createElement(Tag_1.Tag, null, data.DataType)),
|
|
38
38
|
data.DefaultValue !== undefined ? (React.createElement(rebass_1.Box, { mt: 3 },
|
|
39
39
|
"Default Value: ",
|
|
40
|
-
React.createElement(
|
|
40
|
+
React.createElement(Tag_1.Tag, null, data.DefaultValue))) : null,
|
|
41
41
|
data.TextEditor !== undefined ? (React.createElement(rebass_1.Box, { mt: 3 },
|
|
42
42
|
"Editor Type: ",
|
|
43
|
-
React.createElement(
|
|
43
|
+
React.createElement(Tag_1.Tag, null, data.TextEditor))) : null));
|
|
44
44
|
};
|
|
45
45
|
exports.isValidFreeTextColumn = (data, api) => {
|
|
46
46
|
const columns = api.columnApi.getColumns();
|
|
@@ -62,7 +62,7 @@ exports.FreeTextColumnSettingsWizardSection = (props) => {
|
|
|
62
62
|
const Pattern = api.internalApi.getAdaptableOptions().userInterfaceOptions.dateInputOptions
|
|
63
63
|
.dateFormat;
|
|
64
64
|
const [ColumnNameFocused, setColumnNameFocused] = react_1.useState(false);
|
|
65
|
-
const inEdit =
|
|
65
|
+
const inEdit = props.isEdit;
|
|
66
66
|
const validCheck = exports.isValidFreeTextColumn(data, api);
|
|
67
67
|
const ErrorMessage = validCheck === true ? null : validCheck;
|
|
68
68
|
const handleColumnIdChange = (event) => {
|
|
@@ -5,23 +5,36 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const rebass_1 = require("rebass");
|
|
8
|
-
const AdaptableContext_1 = require("../../AdaptableContext");
|
|
9
8
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
10
9
|
const Helper_1 = require("../../../Utilities/Helpers/Helper");
|
|
11
10
|
const FreeTextColumnSettingsWizardSection_1 = require("./FreeTextColumnSettingsWizardSection");
|
|
11
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
12
|
+
const FreeTextColumnRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/FreeTextColumnRedux"));
|
|
13
|
+
const react_redux_1 = require("react-redux");
|
|
12
14
|
exports.FreeTextColumnWizard = (props) => {
|
|
13
|
-
const { api } = AdaptableContext_1.useAdaptable();
|
|
14
15
|
const [freeTextColumn, setFreeTextColumn] = react_1.useState(() => {
|
|
15
|
-
const freeTextColumn =
|
|
16
|
+
const freeTextColumn = props.data
|
|
17
|
+
? Helper_1.cloneObject(props.data)
|
|
18
|
+
: ObjectFactory_1.default.CreateEmptyFreeTextColumn(false);
|
|
16
19
|
return freeTextColumn;
|
|
17
20
|
});
|
|
18
|
-
|
|
21
|
+
const dispatch = react_redux_1.useDispatch();
|
|
22
|
+
const handleFinish = () => {
|
|
23
|
+
if (props.data) {
|
|
24
|
+
dispatch(FreeTextColumnRedux.FreeTextColumnEdit(freeTextColumn));
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
dispatch(FreeTextColumnRedux.FreeTextColumnAdd(freeTextColumn));
|
|
28
|
+
}
|
|
29
|
+
props.onFinishWizard(freeTextColumn);
|
|
30
|
+
};
|
|
31
|
+
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: freeTextColumn, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
|
|
19
32
|
{
|
|
20
33
|
title: 'Settings',
|
|
21
34
|
details: 'Configure the Free Text Column',
|
|
22
35
|
render: () => {
|
|
23
36
|
return (React.createElement(rebass_1.Box, { padding: 2 },
|
|
24
|
-
React.createElement(FreeTextColumnSettingsWizardSection_1.FreeTextColumnSettingsWizardSection, { onChange: setFreeTextColumn })));
|
|
37
|
+
React.createElement(FreeTextColumnSettingsWizardSection_1.FreeTextColumnSettingsWizardSection, { isEdit: Boolean(props.data), onChange: setFreeTextColumn })));
|
|
25
38
|
},
|
|
26
39
|
},
|
|
27
40
|
'-',
|
|
@@ -70,7 +70,7 @@ exports.AdaptableOptionsComponent = (props) => {
|
|
|
70
70
|
return (React.createElement(AdaptableObjectCollection_1.AdaptableObjectCollection, { colItems: getAdaptableOptionsColItems(), items: gridInfoOptionComponents }));
|
|
71
71
|
};
|
|
72
72
|
const [gridInfoOptions, setGridInfoOptions] = react_1.useState();
|
|
73
|
-
const [gridInfoContainerComponents, setGridInfoContainerComponents
|
|
73
|
+
const [gridInfoContainerComponents, setGridInfoContainerComponents] = react_1.useState();
|
|
74
74
|
react_1.useEffect(() => {
|
|
75
75
|
const gridInfoOptions = api.internalApi.getMetamodelService().getGridInfoOptions();
|
|
76
76
|
const gridInfoContainerComponentMap = new Map();
|
|
@@ -81,7 +81,7 @@ exports.AdaptableOptionsComponent = (props) => {
|
|
|
81
81
|
setGridInfoOptions(gridInfoOptions);
|
|
82
82
|
}, []);
|
|
83
83
|
const [expandedComponentContainer, setExpandedComponentContainer] = react_1.useState('');
|
|
84
|
-
return (React.createElement(rebass_1.Box, {
|
|
84
|
+
return (React.createElement(rebass_1.Box, { className: "ab-AdaptableOptions", padding: 2, "data-name": "gridInfo-adaptableOptions-content" }, gridInfoOptions &&
|
|
85
85
|
Array.from(gridInfoOptions.entries()).map(([containerName, container]) => (React.createElement(OptionContainerComponent, { key: containerName, name: containerName, label: container.containerLabel, viewMode: containerName === expandedComponentContainer ? 'expanded' : 'collapsed', onViewModeChange: (newViewMode) => setExpandedComponentContainer(newViewMode === 'expanded' ? containerName : '') }, gridInfoContainerComponents.get(containerName))))));
|
|
86
86
|
};
|
|
87
87
|
const OptionContainerComponent = (props) => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
|
|
3
3
|
import { AdaptableColumn } from '../../types';
|
|
4
|
+
import { GridInfoSection } from '../../AdaptableOptions/UserInterfaceOptions';
|
|
4
5
|
interface GridInfoPopupProps extends ModuleViewPopupProps<any> {
|
|
5
6
|
}
|
|
6
7
|
export interface AdaptableGridInfoState {
|
|
7
|
-
ActiveTab:
|
|
8
|
+
ActiveTab: GridInfoSection;
|
|
8
9
|
CurrentColumn: AdaptableColumn | undefined;
|
|
9
10
|
IsBaseOptionsMinimised: boolean;
|
|
10
11
|
IsContainerOptionsMinimised: boolean;
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const AdaptableObjectRow_1 = require("../Components/AdaptableObjectRow");
|
|
7
7
|
const rebass_1 = require("rebass");
|
|
8
|
-
const
|
|
8
|
+
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
9
9
|
const Radio_1 = tslib_1.__importDefault(require("../../components/Radio"));
|
|
10
10
|
const AdaptableObjectCollection_1 = require("../Components/AdaptableObjectCollection");
|
|
11
11
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
|
|
@@ -13,12 +13,20 @@ const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper
|
|
|
13
13
|
const AdaptablePopover_1 = require("../AdaptablePopover");
|
|
14
14
|
const version_1 = tslib_1.__importDefault(require("../../../version"));
|
|
15
15
|
const ColumnInfoComponent_1 = require("./ColumnInfoComponent");
|
|
16
|
-
const GridOptionsComponent_1 = require("./GridOptionsComponent");
|
|
17
16
|
const AdaptableOptionsComponent_1 = require("./AdaptableOptionsComponent");
|
|
18
17
|
exports.GridInfoPopup = (props) => {
|
|
19
18
|
var _a, _b, _c;
|
|
19
|
+
const entitlementService = props.api.internalApi.getEntitlementService();
|
|
20
|
+
const showGridSummary = entitlementService.isGridInfoSectionVisible('GridSummary');
|
|
21
|
+
const showAdaptableOptions = entitlementService.isGridInfoSectionVisible('AdaptableOptions');
|
|
22
|
+
const showColumnInfo = entitlementService.isGridInfoSectionVisible('ColumnInfo');
|
|
20
23
|
const [state, setState] = React.useState({
|
|
21
|
-
ActiveTab: ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.column) ? '
|
|
24
|
+
ActiveTab: ((_a = props.popupParams) === null || _a === void 0 ? void 0 : _a.column) ? 'ColumnInfo'
|
|
25
|
+
: showGridSummary
|
|
26
|
+
? 'GridSummary'
|
|
27
|
+
: showAdaptableOptions
|
|
28
|
+
? 'AdaptableOptions'
|
|
29
|
+
: 'ColumnInfo',
|
|
22
30
|
CurrentColumn: (_c = (_b = props.popupParams) === null || _b === void 0 ? void 0 : _b.column) !== null && _c !== void 0 ? _c : undefined,
|
|
23
31
|
IsBaseOptionsMinimised: true,
|
|
24
32
|
IsContainerOptionsMinimised: true,
|
|
@@ -83,17 +91,14 @@ exports.GridInfoPopup = (props) => {
|
|
|
83
91
|
let gridSummaries = CreateGridSummaries(propValueColItems).map((x, index) => {
|
|
84
92
|
return React.createElement(AdaptableObjectRow_1.AdaptableObjectRow, { key: index, colItems: x });
|
|
85
93
|
});
|
|
86
|
-
return (React.createElement(
|
|
87
|
-
React.createElement(
|
|
88
|
-
React.createElement(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
state.ActiveTab == 'Column' && (React.createElement("div", null,
|
|
97
|
-
React.createElement(ColumnInfoComponent_1.ColumnInfoComponent, { api: props.api, teamSharingActivated: props.teamSharingActivated, column: state.CurrentColumn })))),
|
|
98
|
-
React.createElement(rebass_1.Flex, { alignItems: "center", flexDirection: "row", padding: 2, backgroundColor: "defaultbackground" })));
|
|
94
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: 'Grid Info', glyphicon: 'info-sign' },
|
|
95
|
+
React.createElement(rebass_1.Flex, { marginBottom: 2, padding: 3 },
|
|
96
|
+
showGridSummary && (React.createElement(Radio_1.default, { "data-name": "radioButton-GridSummary", marginRight: 3, value: "GridSummary", checked: state.ActiveTab == 'GridSummary', onChange: (_, e) => onShowGridSummaryChanged('GridSummary') }, "Grid Summary")),
|
|
97
|
+
showAdaptableOptions && (React.createElement(Radio_1.default, { "data-name": "radioButton-AdaptableOptions", marginRight: 3, value: "AdaptableOptions", checked: state.ActiveTab == 'AdaptableOptions', onChange: (_, e) => onShowGridSummaryChanged('AdaptableOptions') }, "Adaptable Options")),
|
|
98
|
+
showColumnInfo && (React.createElement(Radio_1.default, { "data-name": "radioButton-Column", value: "Column", checked: state.ActiveTab == 'ColumnInfo', onChange: (_, e) => onShowGridSummaryChanged('ColumnInfo') }, "Column Info"))),
|
|
99
|
+
state.ActiveTab == 'GridSummary' && (React.createElement(rebass_1.Box, { margin: 2 },
|
|
100
|
+
React.createElement(AdaptableObjectCollection_1.AdaptableObjectCollection, { colItems: propValueColItems, items: gridSummaries }))),
|
|
101
|
+
state.ActiveTab == 'AdaptableOptions' && React.createElement(AdaptableOptionsComponent_1.AdaptableOptionsComponent, { api: props.api }),
|
|
102
|
+
state.ActiveTab == 'ColumnInfo' && (React.createElement("div", null,
|
|
103
|
+
React.createElement(ColumnInfoComponent_1.ColumnInfoComponent, { api: props.api, teamSharingActivated: props.teamSharingActivated, column: state.CurrentColumn })))));
|
|
99
104
|
};
|
|
@@ -9,7 +9,7 @@ const CheckBox_1 = require("../../components/CheckBox");
|
|
|
9
9
|
class GridOptionsComponent extends React.Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
12
|
-
const gridOptions = props.api.internalApi.
|
|
12
|
+
const gridOptions = props.api.internalApi.getAgGridInstance();
|
|
13
13
|
this.state = {
|
|
14
14
|
testString: 'Hello world',
|
|
15
15
|
showTotalFooter: gridOptions.groupIncludeTotalFooter,
|
|
@@ -17,7 +17,7 @@ class GridOptionsComponent extends React.Component {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (React.createElement(Panel_1.default, { header: "Grid Options", margin: 2, "data-name": "grid-options-component" },
|
|
20
|
+
return (React.createElement(Panel_1.default, { className: "ab-GridOptions", header: "Grid Options", margin: 2, "data-name": "grid-options-component" },
|
|
21
21
|
React.createElement(rebass_1.Flex, { flexDirection: "row", alignItems: "center", marginBottom: 2 },
|
|
22
22
|
React.createElement(CheckBox_1.CheckBox, { onChange: (checked) => this.onTotalFooterChanged(checked), checked: this.state.showTotalFooter }, "Show Total Footer")),
|
|
23
23
|
React.createElement(rebass_1.Flex, { flexDirection: "row", alignItems: "center", marginBottom: 2 },
|
|
@@ -4,7 +4,7 @@ exports.LayoutPopup = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
|
-
const
|
|
7
|
+
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
8
8
|
const LayoutRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/LayoutRedux"));
|
|
9
9
|
const TeamSharingRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/TeamSharingRedux"));
|
|
10
10
|
const LayoutWizard_1 = require("./Wizard/LayoutWizard");
|
|
@@ -18,7 +18,6 @@ const EditableConfigEntityState_1 = require("../Components/SharedProps/EditableC
|
|
|
18
18
|
const UIHelper_1 = require("../UIHelper");
|
|
19
19
|
const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions");
|
|
20
20
|
const EmptyContent_1 = tslib_1.__importDefault(require("../../components/EmptyContent"));
|
|
21
|
-
const rebass_1 = require("rebass");
|
|
22
21
|
const uuid_1 = require("../../components/utils/uuid");
|
|
23
22
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
24
23
|
class LayoutPopupComponent extends React.Component {
|
|
@@ -78,10 +77,9 @@ class LayoutPopupComponent extends React.Component {
|
|
|
78
77
|
fill: 'var(--ab-color-text-on-add)',
|
|
79
78
|
background: 'var(--ab-color-action-add)',
|
|
80
79
|
} }));
|
|
81
|
-
return (React.createElement(
|
|
82
|
-
React.createElement(
|
|
83
|
-
|
|
84
|
-
this.state.editedAdaptableObject != null && (React.createElement(LayoutWizard_1.LayoutWizard, { moduleInfo: this.props.moduleInfo, editedAdaptableObject: this.state.editedAdaptableObject, configEntities: this.props.Layouts, modalContainer: this.props.modalContainer, ColumnSorts: this.props.api.gridApi.getColumnSorts(), api: this.props.api, wizardStartIndex: this.state.wizardStartIndex, onCloseWizard: () => this.onCloseWizard(), onFinishWizard: () => this.onFinishWizard(), canFinishWizard: () => this.canFinishWizard() })))));
|
|
80
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed(), button: newSearchButton, glyphicon: this.props.moduleInfo.Glyph },
|
|
81
|
+
layoutRows.length > 0 ? (React.createElement(AdaptableObjectCollection_1.AdaptableObjectCollection, { colItems: colItems, items: layoutRows })) : (React.createElement(EmptyContent_1.default, null, "Click 'New' to start creating layouts.")),
|
|
82
|
+
this.state.editedAdaptableObject != null && (React.createElement(LayoutWizard_1.LayoutWizard, { moduleInfo: this.props.moduleInfo, editedAdaptableObject: this.state.editedAdaptableObject, configEntities: this.props.Layouts, modalContainer: this.props.modalContainer, ColumnSorts: this.props.api.gridApi.getColumnSorts(), api: this.props.api, wizardStartIndex: this.state.wizardStartIndex, onCloseWizard: () => this.onCloseWizard(), onFinishWizard: () => this.onFinishWizard(), canFinishWizard: () => this.canFinishWizard() }))));
|
|
85
83
|
}
|
|
86
84
|
onNew() {
|
|
87
85
|
this.setState({
|
|
@@ -30,8 +30,8 @@ class LayoutViewPanelComponent extends React.Component {
|
|
|
30
30
|
});
|
|
31
31
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
32
32
|
return (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__Layout__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
|
|
33
|
-
React.createElement(rebass_1.Flex,
|
|
34
|
-
React.createElement(DropdownButton_1.default, { marginRight: 2, columns: ['label'], style: {
|
|
33
|
+
React.createElement(rebass_1.Flex, { flex: 1 },
|
|
34
|
+
React.createElement(DropdownButton_1.default, { marginRight: 2, columns: ['label'], style: { width: '100%', fontSize: 'small' }, className: `ab-${elementType}__Layout__select`, items: availableLayoutOptions, disabled: availableLayoutOptions.length == 0 }, layoutEntity ? layoutEntity.Name : null)),
|
|
35
35
|
React.createElement(rebass_1.Flex, { flexDirection: "row", className: join_1.default(this.props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Layout__wrap`) },
|
|
36
36
|
isManualSaveLayout && (React.createElement(ButtonSave_1.ButtonSave, { className: `ab-${elementType}__Layout__save`, onClick: () => this.onSaveLayout(), tooltip: "Save Changes to Current Layout", disabled: !this.props.CanSave, accessLevel: accessLevel })),
|
|
37
37
|
React.createElement(ButtonEdit_1.ButtonEdit, { onClick: () => this.props.onEditLayout(this.props.moduleInfo.Popup), tooltip: "Edit Layout", className: `ab-${elementType}__Layout__edit`, accessLevel: accessLevel }),
|
|
@@ -71,8 +71,10 @@ exports.ColumnList = (props) => {
|
|
|
71
71
|
return (React.createElement(react_beautiful_dnd_1.Draggable, { key: `${c.columnId}-column`, draggableId: c.columnId, index: index }, (provided, snapshot) => {
|
|
72
72
|
const style = props.getItemStyle(c, snapshot, provided.draggableProps.style);
|
|
73
73
|
style.padding = 0;
|
|
74
|
+
// required in case of non-string values returned by `headerValueGetter`
|
|
75
|
+
const columnFriendlyName = typeof c.friendlyName === 'string' ? c.friendlyName : `${c.friendlyName}`;
|
|
74
76
|
if (search &&
|
|
75
|
-
|
|
77
|
+
columnFriendlyName.toLowerCase().indexOf(search.toLowerCase()) == -1) {
|
|
76
78
|
style.display = 'none';
|
|
77
79
|
}
|
|
78
80
|
return (React.createElement("div", Object.assign({ ref: provided.innerRef }, provided.draggableProps, provided.dragHandleProps, { className: "ab-LayoutEditor__ColumnList__column", style: style }), renderColumn(c)));
|
|
@@ -245,6 +245,9 @@ exports.LayoutEditor = React.memo((props) => {
|
|
|
245
245
|
const onPivotColumnsChange = react_1.useCallback((PivotColumns) => {
|
|
246
246
|
setLayout(Object.assign(Object.assign({}, layout), { PivotColumns }));
|
|
247
247
|
}, [layout]);
|
|
248
|
+
const showGridInfoLink = props.api.internalApi
|
|
249
|
+
.getEntitlementService()
|
|
250
|
+
.isGridInfoSectionVisible('ColumnInfo');
|
|
248
251
|
return (React.createElement(react_beautiful_dnd_1.DragDropContext, { onDragEnd: onDragEnd, onDragStart: onDragStart },
|
|
249
252
|
React.createElement(rebass_1.Box, { className: "ab-LayoutEditor" },
|
|
250
253
|
React.createElement(ListPanel, { header: React.createElement(rebass_1.Flex, { width: "100%", flexDirection: "row", justifyContent: "space-between", alignItems: "center" },
|
|
@@ -273,12 +276,12 @@ exports.LayoutEditor = React.memo((props) => {
|
|
|
273
276
|
React.createElement(icons_1.Icon, { name: "drag", size: 30 })),
|
|
274
277
|
initialHeader,
|
|
275
278
|
' ',
|
|
276
|
-
React.createElement(ButtonInfo_1.ButtonInfo, { marginLeft: 1, style: { color: 'var(--ab-color-text-on-secondary)' }, onClick: () => {
|
|
279
|
+
showGridInfoLink && (React.createElement(ButtonInfo_1.ButtonInfo, { marginLeft: 1, style: { color: 'var(--ab-color-text-on-secondary)' }, onClick: () => {
|
|
277
280
|
props.api.internalApi.showPopupScreen('GridInfo', 'GridInfoPopup', {
|
|
278
281
|
column: c,
|
|
279
282
|
source: 'ContextMenu',
|
|
280
283
|
});
|
|
281
|
-
} }),
|
|
284
|
+
} })),
|
|
282
285
|
c.columnGroup && c.columnGroup.groupCount > 1 ? (React.createElement(rebass_1.Box, { ml: 2, padding: 1, style: {
|
|
283
286
|
borderRadius: 'var(--ab__border-radius)',
|
|
284
287
|
background: 'var(--ab-color-defaultbackground)',
|
|
@@ -12,6 +12,8 @@ const style = {
|
|
|
12
12
|
margin: '5px',
|
|
13
13
|
fontSize: '14px',
|
|
14
14
|
alignItems: 'center',
|
|
15
|
+
color: 'var(--ab-color-text-on-defaultbackground)',
|
|
16
|
+
background: 'var(--ab-color-defaultbackground)',
|
|
15
17
|
};
|
|
16
18
|
const isStyleValid = (element) => {
|
|
17
19
|
const notAllowedProperties = [
|
|
@@ -46,6 +48,8 @@ exports.LicenseWatermark = (props) => {
|
|
|
46
48
|
ref.current.style.fontWeight = `${style.fontWeight}`;
|
|
47
49
|
ref.current.style.margin = style.margin;
|
|
48
50
|
ref.current.style.fontSize = style.fontSize;
|
|
51
|
+
ref.current.style.color = style.color;
|
|
52
|
+
ref.current.style.background = style.background;
|
|
49
53
|
ref.current.style.display = 'flex';
|
|
50
54
|
ref.current.style.position = 'static';
|
|
51
55
|
ref.current.style.opacity = '1';
|
|
@@ -8,18 +8,18 @@ const Input_1 = tslib_1.__importDefault(require("../../../components/Input"));
|
|
|
8
8
|
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
9
9
|
const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
|
|
10
10
|
const Tabs_1 = require("../../../components/Tabs");
|
|
11
|
-
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
12
11
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
13
12
|
const PlusMinusRuleWizardSection_1 = require("./PlusMinusRuleWizardSection");
|
|
14
13
|
const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
|
|
15
14
|
const OnePageAdaptableWizard_2 = require("../../../View/Wizard/OnePageAdaptableWizard");
|
|
15
|
+
const Tag_1 = require("../../../components/Tag");
|
|
16
16
|
exports.PlusMinusSettingsSummary = (props) => {
|
|
17
17
|
var _a;
|
|
18
18
|
const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
19
19
|
return (React.createElement(React.Fragment, null,
|
|
20
20
|
React.createElement(OnePageAdaptableWizard_2.SummaryText, null,
|
|
21
21
|
"Nudge Value ",
|
|
22
|
-
React.createElement(
|
|
22
|
+
React.createElement(Tag_1.Tag, null, (_a = data.NudgeValue) !== null && _a !== void 0 ? _a : 'Not selected')),
|
|
23
23
|
props.hasCondition && React.createElement(PlusMinusRuleWizardSection_1.PlusMinusRuleSummary, null)));
|
|
24
24
|
};
|
|
25
25
|
exports.isSettingsValid = (hasCondition) => (data, api, context) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableOnePageWizardProps } from '../../../View/Wizard/Interface/IAdaptableWizard';
|
|
3
3
|
import { PlusMinusNudge } from '../../../PredefinedConfig/PlusMinusState';
|
|
4
|
-
interface PlusMinusWizardProps extends AdaptableOnePageWizardProps<PlusMinusNudge> {
|
|
4
|
+
export interface PlusMinusWizardProps extends AdaptableOnePageWizardProps<PlusMinusNudge> {
|
|
5
5
|
}
|
|
6
6
|
export declare const PlusMinusWizard: React.FunctionComponent<PlusMinusWizardProps>;
|
|
7
|
-
export {};
|
|
@@ -8,14 +8,18 @@ const OnePageAdaptableWizard_1 = require("../../../View/Wizard/OnePageAdaptableW
|
|
|
8
8
|
const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
|
|
9
9
|
const PlusMinusScopeWizardSection_1 = require("./PlusMinusScopeWizardSection");
|
|
10
10
|
const PlusMinusSettingsWizardSection_1 = require("./PlusMinusSettingsWizardSection");
|
|
11
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
12
|
+
const react_redux_1 = require("react-redux");
|
|
13
|
+
const PlusMinusRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/PlusMinusRedux"));
|
|
11
14
|
exports.PlusMinusWizard = (props) => {
|
|
12
15
|
const [plusMinus, setPlusMinus] = React.useState(() => {
|
|
13
|
-
var _a, _b, _c;
|
|
14
|
-
return Object.assign(Object.assign({}, props.data), { Scope: (_a = props.data.Scope) !== null &&
|
|
16
|
+
var _a, _b, _c, _d;
|
|
17
|
+
return Object.assign(Object.assign({}, (props.data ? props.data : ObjectFactory_1.default.CreateEmptyPlusMinusNudge())), { Scope: (_b = (_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a.Scope) !== null && _b !== void 0 ? _b : { All: true }, NudgeValue: (_d = (_c = props === null || props === void 0 ? void 0 : props.data) === null || _c === void 0 ? void 0 : _c.NudgeValue) !== null && _d !== void 0 ? _d : 20 });
|
|
15
18
|
});
|
|
16
19
|
const [hasCondition, setHasCondition] = React.useState(() => {
|
|
20
|
+
var _a;
|
|
17
21
|
// true if on edit and it has a condition
|
|
18
|
-
return Boolean(props.data.Rule);
|
|
22
|
+
return Boolean((_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a.Rule);
|
|
19
23
|
});
|
|
20
24
|
React.useEffect(() => {
|
|
21
25
|
var _a;
|
|
@@ -28,7 +32,17 @@ exports.PlusMinusWizard = (props) => {
|
|
|
28
32
|
}
|
|
29
33
|
setPlusMinus(preparedData);
|
|
30
34
|
}, [hasCondition]);
|
|
31
|
-
|
|
35
|
+
const dispatch = react_redux_1.useDispatch();
|
|
36
|
+
const handleFinish = () => {
|
|
37
|
+
if (props.data) {
|
|
38
|
+
dispatch(PlusMinusRedux.PlusMinusNudgeEdit(plusMinus));
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
dispatch(PlusMinusRedux.PlusMinusNudgeAdd(plusMinus));
|
|
42
|
+
}
|
|
43
|
+
props.onFinishWizard(plusMinus);
|
|
44
|
+
};
|
|
45
|
+
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: plusMinus, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
|
|
32
46
|
{
|
|
33
47
|
title: 'Target',
|
|
34
48
|
isValid: NewScopeComponent_1.isScopeValid,
|
|
@@ -88,7 +88,7 @@ class QueryViewPanelComponent extends React.Component {
|
|
|
88
88
|
} }),
|
|
89
89
|
isExpressionValid ? (React.createElement(ButtonPlay_1.ButtonPlay, { onClick: () => this.runQuery(), tooltip: '', accessLevel: 'Full', variant: "text", tone: "neutral", disabled: this.state.expression == '' || this.state.expression == this.props.CurrentQuery, marginRight: 1 })) : (React.createElement(ButtonInvalid_1.ButtonInvalid, { variant: "text", tone: "neutral", tooltip: "Invalid Query", marginRight: 1 })),
|
|
90
90
|
' ',
|
|
91
|
-
this.props.CurrentQuery !== '' && (React.createElement(ButtonClear_1.ButtonClear, { onClick: () => this.props.onRunQuery(''), tooltip: "Clear Query", accessLevel: 'Full' })))) : (React.createElement(Input_1.default, { type: "text", placeholder: "Query", spellCheck: false, value: this.state.expression, onChange: (x) => this.setState({ expression: x.target.value }), style: { width: '100%'
|
|
91
|
+
this.props.CurrentQuery !== '' && (React.createElement(ButtonClear_1.ButtonClear, { onClick: () => this.props.onRunQuery(''), tooltip: "Clear Query", accessLevel: 'Full' })))) : (React.createElement(Input_1.default, { type: "text", placeholder: "Query", spellCheck: false, value: this.state.expression, onChange: (x) => this.setState({ expression: x.target.value }), style: { width: '100%' } }));
|
|
92
92
|
};
|
|
93
93
|
const queryModuleAccessLevel = this.props.api.internalApi
|
|
94
94
|
.getEntitlementService()
|
|
@@ -5,11 +5,11 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const rebass_1 = require("rebass");
|
|
8
|
-
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
9
8
|
const ExpressionEditor_1 = require("../../../components/ExpressionEditor");
|
|
10
9
|
const AdaptableContext_1 = require("../../AdaptableContext");
|
|
11
10
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
12
11
|
const ModuleConstants_1 = require("../../../Utilities/Constants/ModuleConstants");
|
|
12
|
+
const Tag_1 = require("../../../components/Tag");
|
|
13
13
|
exports.isValidNamedQueryExpression = (data, api) => {
|
|
14
14
|
if (!data.BooleanExpression) {
|
|
15
15
|
return 'Query is empty';
|
|
@@ -23,7 +23,7 @@ exports.isValidNamedQueryExpression = (data, api) => {
|
|
|
23
23
|
exports.renderNamedQueryExpressionSummary = (data) => {
|
|
24
24
|
return (React.createElement(rebass_1.Text, { fontSize: 2 },
|
|
25
25
|
"Expression: ",
|
|
26
|
-
React.createElement(
|
|
26
|
+
React.createElement(Tag_1.Tag, null, data.BooleanExpression)));
|
|
27
27
|
};
|
|
28
28
|
exports.NamedQueryExpressionWizardSection = (props) => {
|
|
29
29
|
const { api } = AdaptableContext_1.useAdaptable();
|
|
@@ -8,8 +8,8 @@ const WizardPanel_1 = tslib_1.__importDefault(require("../../../components/Wizar
|
|
|
8
8
|
const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
|
|
9
9
|
const ErrorBox_1 = tslib_1.__importDefault(require("../../../components/ErrorBox"));
|
|
10
10
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
11
|
-
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
12
11
|
const AdaptableInput_1 = tslib_1.__importDefault(require("../../Components/AdaptableInput"));
|
|
12
|
+
const Tag_1 = require("../../../components/Tag");
|
|
13
13
|
exports.isValidNamedQuerySettings = (data, api) => {
|
|
14
14
|
const validationResult = api.queryApi.isValidNamedQueryName(data);
|
|
15
15
|
const ErrorMessage = !validationResult.valid ? validationResult.message : null;
|
|
@@ -21,7 +21,7 @@ exports.isValidNamedQuerySettings = (data, api) => {
|
|
|
21
21
|
exports.renderNamedQuerySettingsSummary = (data) => {
|
|
22
22
|
return (React.createElement(rebass_1.Text, { fontSize: 2 },
|
|
23
23
|
"Name: ",
|
|
24
|
-
React.createElement(
|
|
24
|
+
React.createElement(Tag_1.Tag, null, data.Name)));
|
|
25
25
|
};
|
|
26
26
|
exports.NamedQuerySettingsWizardSection = (props) => {
|
|
27
27
|
const { data, api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
@@ -9,11 +9,23 @@ const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
|
9
9
|
const NamedQuerySettingsWizardSection_1 = require("./NamedQuerySettingsWizardSection");
|
|
10
10
|
const Helper_1 = require("../../../Utilities/Helpers/Helper");
|
|
11
11
|
const NamedQueryExpressionWizardSection_1 = require("./NamedQueryExpressionWizardSection");
|
|
12
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
13
|
+
const react_redux_1 = require("react-redux");
|
|
14
|
+
const QueryRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/QueryRedux"));
|
|
12
15
|
function NamedQueryWizard(props) {
|
|
13
16
|
const [namedQuery, setNamedQuery] = react_1.useState(() => {
|
|
14
|
-
return
|
|
17
|
+
return props.data
|
|
18
|
+
? Helper_1.cloneObject(props.data)
|
|
19
|
+
: ObjectFactory_1.default.CreateEmptyNamedQuery();
|
|
15
20
|
});
|
|
16
|
-
|
|
21
|
+
const dispatch = react_redux_1.useDispatch();
|
|
22
|
+
if (props.data) {
|
|
23
|
+
dispatch(QueryRedux.NamedQueryEdit);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
dispatch(QueryRedux.NamedQueryAdd);
|
|
27
|
+
}
|
|
28
|
+
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, onFinish: props.onFinishWizard, sections: [
|
|
17
29
|
{
|
|
18
30
|
title: 'Expression',
|
|
19
31
|
details: 'Specify the query expression',
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const react_redux_1 = require("react-redux");
|
|
8
8
|
const QuickSearchRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QuickSearchRedux"));
|
|
9
|
-
const
|
|
9
|
+
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
10
10
|
const Panel_1 = tslib_1.__importDefault(require("../../components/Panel"));
|
|
11
11
|
const FormLayout_1 = tslib_1.__importStar(require("../../components/FormLayout"));
|
|
12
12
|
const AdaptableFormControlTextClear_1 = require("../Components/Forms/AdaptableFormControlTextClear");
|
|
@@ -30,7 +30,7 @@ const QuickSearchPopupComponent = (props) => {
|
|
|
30
30
|
setState(Object.assign(Object.assign({}, state), { RunQueryAfterQuickSearch: checked }));
|
|
31
31
|
props.api.internalApi.getAdaptableOptions().searchOptions.filterResultsAfterQuickSearch = checked;
|
|
32
32
|
};
|
|
33
|
-
return (React.createElement(
|
|
33
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: props.moduleInfo.FriendlyName, glyphicon: props.moduleInfo.Glyph, infoLink: props.moduleInfo.HelpPage, infoLinkDisabled: !props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
34
34
|
React.createElement(Panel_1.default, { header: props.moduleInfo.FriendlyName + ' Text', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 3, marginLeft: 2, marginRight: 2 },
|
|
35
35
|
' ',
|
|
36
36
|
React.createElement(FormLayout_1.default, null,
|
|
@@ -4,12 +4,11 @@ exports.useQuickSearchDebounced = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const debounce_1 = tslib_1.__importDefault(require("lodash-es/debounce"));
|
|
7
|
+
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
7
8
|
exports.useQuickSearchDebounced = (props) => {
|
|
8
9
|
var _a;
|
|
9
10
|
const [searchText, setSearchText] = react_1.useState((_a = props.QuickSearchText) !== null && _a !== void 0 ? _a : '');
|
|
10
|
-
const debouncedRunQuickSearch = react_1.useMemo(() => debounce_1.default(props.onRunQuickSearch,
|
|
11
|
-
props.onRunQuickSearch,
|
|
12
|
-
]);
|
|
11
|
+
const debouncedRunQuickSearch = react_1.useMemo(() => debounce_1.default(props.onRunQuickSearch, GeneralConstants_1.QUICK_SEARCH_DEBOUNCE_TIME), [props.onRunQuickSearch]);
|
|
13
12
|
react_1.useEffect(() => {
|
|
14
13
|
setSearchText(props.QuickSearchText);
|
|
15
14
|
}, [props.QuickSearchText]);
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ScheduleScheduleSummary = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const
|
|
6
|
+
const Tag_1 = require("../../../components/Tag");
|
|
7
7
|
const UIHelper_1 = require("../../UIHelper");
|
|
8
8
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
9
9
|
exports.ScheduleScheduleSummary = () => {
|
|
10
10
|
const { data } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
11
11
|
return (React.createElement(OnePageAdaptableWizard_1.SummaryText, null,
|
|
12
12
|
"Schedule: ",
|
|
13
|
-
React.createElement(
|
|
13
|
+
React.createElement(Tag_1.Tag, null, UIHelper_1.UIHelper.getScheduleDescription(data.Schedule))));
|
|
14
14
|
};
|
|
@@ -8,7 +8,6 @@ const CheckBox_1 = require("../../../components/CheckBox");
|
|
|
8
8
|
const FormLayout_1 = tslib_1.__importStar(require("../../../components/FormLayout"));
|
|
9
9
|
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
10
10
|
const Tabs_1 = require("../../../components/Tabs");
|
|
11
|
-
const Schedule_1 = require("../../../PredefinedConfig/Common/Schedule");
|
|
12
11
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("../../../Utilities/Extensions/ArrayExtensions"));
|
|
13
12
|
const AdaptableInput_1 = tslib_1.__importDefault(require("../../Components/AdaptableInput"));
|
|
14
13
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
@@ -31,31 +30,31 @@ exports.isScheduleValid = (schedule, isOneOff) => {
|
|
|
31
30
|
const daysMap = [
|
|
32
31
|
{
|
|
33
32
|
label: 'Monday',
|
|
34
|
-
value:
|
|
33
|
+
value: 'Monday',
|
|
35
34
|
},
|
|
36
35
|
{
|
|
37
36
|
label: 'Tuesday',
|
|
38
|
-
value:
|
|
37
|
+
value: 'Tuesday',
|
|
39
38
|
},
|
|
40
39
|
{
|
|
41
40
|
label: 'Wednesday',
|
|
42
|
-
value:
|
|
41
|
+
value: 'Wednesday',
|
|
43
42
|
},
|
|
44
43
|
{
|
|
45
44
|
label: 'Thursday',
|
|
46
|
-
value:
|
|
45
|
+
value: 'Thursday',
|
|
47
46
|
},
|
|
48
47
|
{
|
|
49
48
|
label: 'Friday',
|
|
50
|
-
value:
|
|
49
|
+
value: 'Friday',
|
|
51
50
|
},
|
|
52
51
|
{
|
|
53
52
|
label: 'Saturday',
|
|
54
|
-
value:
|
|
53
|
+
value: 'Saturday',
|
|
55
54
|
},
|
|
56
55
|
{
|
|
57
56
|
label: 'Sunday',
|
|
58
|
-
value:
|
|
57
|
+
value: 'Sunday',
|
|
59
58
|
},
|
|
60
59
|
];
|
|
61
60
|
exports.ScheduleScheduleWizard = (props) => {
|
|
@@ -20,5 +20,5 @@ exports.ScheduleSettingsOpenFin = (props) => {
|
|
|
20
20
|
React.createElement(Tabs_1.Tabs.Content, null,
|
|
21
21
|
React.createElement(FormLayout_1.default, null,
|
|
22
22
|
React.createElement(FormLayout_1.FormRow, { label: "Select Report" },
|
|
23
|
-
React.createElement(DropdownButton_1.default, { style: { width: 300 }, disabled: props.allReports.length == 0, items: reportOptions }, ((_b = (_a = props === null || props === void 0 ? void 0 : props.openFin) === null || _a === void 0 ? void 0 : _a.OpenFinReport) === null || _b === void 0 ? void 0 : _b.ReportName) || 'Select Report')))))));
|
|
23
|
+
React.createElement(DropdownButton_1.default, { columns: ['label'], style: { width: 300 }, disabled: props.allReports.length == 0, items: reportOptions }, ((_b = (_a = props === null || props === void 0 ? void 0 : props.openFin) === null || _a === void 0 ? void 0 : _a.OpenFinReport) === null || _b === void 0 ? void 0 : _b.ReportName) || 'Select Report')))))));
|
|
24
24
|
};
|