@adaptabletools/adaptable-cjs 23.0.0-canary.7 → 23.0.0-canary.9
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/index.css +98 -17
- package/package.json +1 -1
- package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.js +2 -3
- package/src/AdaptableState/Common/Enums.d.ts +0 -12
- package/src/AdaptableState/Common/Enums.js +1 -16
- package/src/{Utilities → AdaptableState/Common}/MenuItem.d.ts +4 -4
- package/src/{Utilities → AdaptableState/Common}/MenuItem.js +1 -1
- package/src/AdaptableState/StyledColumnState.d.ts +8 -850
- package/src/AdaptableState/StyledColumnState.js +0 -10
- package/src/AdaptableState/StyledColumns/BadgeStyle.d.ts +143 -0
- package/src/AdaptableState/StyledColumns/BadgeStyle.js +12 -0
- package/src/AdaptableState/StyledColumns/BulletChartStyle.d.ts +147 -0
- package/src/AdaptableState/StyledColumns/BulletChartStyle.js +2 -0
- package/src/AdaptableState/StyledColumns/Common/BarStyleProperties.d.ts +84 -0
- package/src/AdaptableState/StyledColumns/Common/BarStyleProperties.js +6 -0
- package/src/AdaptableState/StyledColumns/Common/CellTextOptions.d.ts +13 -0
- package/src/AdaptableState/StyledColumns/Common/CellTextOptions.js +7 -0
- package/src/AdaptableState/StyledColumns/Common/NumericStyledColumn.d.ts +79 -0
- package/src/AdaptableState/StyledColumns/Common/NumericStyledColumn.js +10 -0
- package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +48 -0
- package/src/AdaptableState/StyledColumns/GradientStyle.js +2 -0
- package/src/AdaptableState/StyledColumns/IconStyle.d.ts +158 -0
- package/src/AdaptableState/StyledColumns/IconStyle.js +2 -0
- package/src/AdaptableState/StyledColumns/PercentBarStyle.d.ts +32 -0
- package/src/AdaptableState/StyledColumns/PercentBarStyle.js +2 -0
- package/src/AdaptableState/StyledColumns/RangeBarStyle.d.ts +155 -0
- package/src/AdaptableState/StyledColumns/RangeBarStyle.js +2 -0
- package/src/AdaptableState/StyledColumns/RatingStyle.d.ts +111 -0
- package/src/AdaptableState/StyledColumns/RatingStyle.js +2 -0
- package/src/AdaptableState/StyledColumns/SparklineStyle.d.ts +21 -0
- package/src/AdaptableState/StyledColumns/SparklineStyle.js +2 -0
- package/src/Api/ColumnScopeApi.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.js +5 -5
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ExportApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutHelpers.js +2 -3
- package/src/Api/Implementation/QuickSearchApiImpl.js +4 -4
- package/src/Api/Implementation/ThemeApiImpl.js +2 -2
- package/src/Api/Internal/ActionColumnInternalApi.js +2 -2
- package/src/Api/Internal/AlertInternalApi.js +1 -1
- package/src/Api/Internal/ChartingInternalApi.js +2 -2
- package/src/Api/Internal/ColumnInternalApi.js +2 -2
- package/src/Api/Internal/EventInternalApi.js +3 -4
- package/src/Api/Internal/ExportInternalApi.js +2 -2
- package/src/Api/Internal/FormatColumnInternalApi.js +4 -4
- package/src/Api/Internal/GridInternalApi.js +1 -1
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +3 -1
- package/src/Api/Internal/StyledColumnInternalApi.js +6 -6
- package/src/Redux/ActionsReducers/ExportRedux.js +1 -1
- package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +2 -3
- package/src/Redux/Store/AdaptableReduxMerger.js +7 -9
- package/src/Redux/Store/AdaptableStore.js +5 -5
- package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
- package/src/Strategy/AdaptableModuleBase.js +1 -1
- package/src/Strategy/AlertModule.d.ts +1 -1
- package/src/Strategy/AlertModule.js +2 -2
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/CalculatedColumnModule.d.ts +2 -2
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/ChartingModule.d.ts +1 -1
- package/src/Strategy/ChartingModule.js +4 -4
- package/src/Strategy/ColumnInfoModule.d.ts +2 -2
- package/src/Strategy/CommentModule.d.ts +1 -1
- package/src/Strategy/CustomSortModule.d.ts +1 -1
- package/src/Strategy/ExportModule.js +2 -2
- package/src/Strategy/FlashingCellModule.d.ts +1 -1
- package/src/Strategy/FreeTextColumnModule.d.ts +1 -1
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +2 -2
- package/src/Strategy/NoteModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.js +8 -8
- package/src/Strategy/SettingsPanelModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.d.ts +1 -1
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/TeamSharingModule.js +4 -4
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +2 -3
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -2
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +2 -3
- package/src/Utilities/Extensions/ArrayExtensions.d.ts +32 -0
- package/src/Utilities/Extensions/ArrayExtensions.js +54 -1
- package/src/Utilities/Extensions/NumberExtensions.d.ts +21 -0
- package/src/Utilities/Extensions/NumberExtensions.js +78 -0
- package/src/Utilities/Extensions/ObjectExtensions.d.ts +44 -0
- package/src/Utilities/Extensions/ObjectExtensions.js +277 -0
- package/src/Utilities/Extensions/StringExtensions.d.ts +26 -0
- package/src/Utilities/Extensions/StringExtensions.js +49 -3
- package/src/Utilities/Helpers/AdaptableHelper.js +7 -7
- package/src/Utilities/Helpers/{alertFormHelper.js → AlertHelper.js} +1 -1
- package/src/Utilities/Helpers/DateHelper.js +2 -2
- package/src/Utilities/Helpers/{FormatHelper.js → DisplayFormatHelper.js} +5 -5
- package/src/Utilities/Helpers/Helper.d.ts +0 -6
- package/src/Utilities/Helpers/Helper.js +0 -38
- package/src/Utilities/Helpers/{QuickSearchStyleHelper.js → QuickSearchHelper.js} +2 -3
- package/src/Utilities/Helpers/{ScheduleHelper.d.ts → Scheduling/ScheduleHelper.d.ts} +1 -1
- package/src/Utilities/Helpers/{ScheduleHelper.js → Scheduling/ScheduleHelper.js} +1 -1
- package/src/Utilities/Helpers/{ScheduleJobManager.d.ts → Scheduling/ScheduleJobManager.d.ts} +1 -1
- package/src/Utilities/Helpers/{ScheduleJobRunner.d.ts → Scheduling/ScheduleJobRunner.d.ts} +1 -1
- package/src/Utilities/Helpers/{ScheduledAlertHelper.d.ts → Scheduling/ScheduledAlertHelper.d.ts} +1 -1
- package/src/Utilities/Helpers/{ScheduledAlertHelper.js → Scheduling/ScheduledAlertHelper.js} +4 -4
- package/src/Utilities/Helpers/{ScheduledJobsMiddlewareHelper.d.ts → Scheduling/ScheduledJobsMiddlewareHelper.d.ts} +1 -1
- package/src/Utilities/Helpers/{ScheduledJobsMiddlewareHelper.js → Scheduling/ScheduledJobsMiddlewareHelper.js} +1 -1
- package/src/Utilities/Helpers/{ScheduledReportHelper.d.ts → Scheduling/ScheduledReportHelper.d.ts} +1 -1
- package/src/Utilities/Helpers/{ScheduledReportHelper.js → Scheduling/ScheduledReportHelper.js} +1 -1
- package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +5 -0
- package/src/Utilities/{Defaults/DefaultSettingsPanel.js → Helpers/SettingsPanelHelper.js} +16 -1
- package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.d.ts +63 -0
- package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.js +334 -0
- package/src/Utilities/Helpers/{StyledColumnGradientHelper.d.ts → StyledColumns/GradientStyleHelper.d.ts} +4 -2
- package/src/Utilities/Helpers/{StyledColumnGradientHelper.js → StyledColumns/GradientStyleHelper.js} +9 -9
- package/src/Utilities/Helpers/{IconStylePresets.d.ts → StyledColumns/IconStyleHelper.d.ts} +6 -1
- package/src/Utilities/Helpers/{IconStylePresets.js → StyledColumns/IconStyleHelper.js} +16 -0
- package/src/Utilities/Helpers/{percentBarPreviewHelper.d.ts → StyledColumns/PercentBarStyleHelper.d.ts} +2 -1
- package/src/Utilities/Helpers/{percentBarPreviewHelper.js → StyledColumns/PercentBarStyleHelper.js} +11 -17
- package/src/Utilities/Helpers/{SparklineOptionsHelper.js → StyledColumns/SparklineStyleHelper.js} +1 -1
- package/src/Utilities/Helpers/StyledColumns/StyledColumnHelper.d.ts +52 -0
- package/src/Utilities/Helpers/StyledColumns/StyledColumnHelper.js +124 -0
- package/src/Utilities/Helpers/TimingHelper.d.ts +34 -0
- package/src/Utilities/{utils/debounce.js → Helpers/TimingHelper.js} +25 -9
- package/src/Utilities/ObjectFactory.js +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +2 -0
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +118 -2
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/RowSummaryService.d.ts +1 -1
- package/src/Utilities/Services/RowSummaryService.js +6 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -2
- package/src/View/Alert/Utilities/getAlertType.js +1 -1
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +1 -1
- package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +159 -126
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +4 -4
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertScheduledWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertWizard.js +10 -2
- package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +2 -2
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +2 -2
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +2 -2
- package/src/View/Comments/CommentsEditor.js +2 -2
- package/src/View/Comments/CommentsPopup.js +2 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +3 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +3 -2
- package/src/View/Components/AdaptableObjectList/objectListActionButtonStyles.d.ts +2 -0
- package/src/View/Components/AdaptableObjectList/objectListActionButtonStyles.js +6 -0
- package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +1 -0
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +8 -8
- package/src/View/Components/ColumnFilter/ColumnFilter.js +14 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +2 -2
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +2 -2
- package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +2 -2
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -2
- package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -2
- package/src/View/Components/Popups/Utilities.js +5 -5
- package/src/View/Components/RangesComponent.d.ts +4 -3
- package/src/View/Components/RangesComponent.js +5 -9
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -3
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -3
- package/src/View/Dashboard/CustomDashboardButton.js +2 -3
- package/src/View/Dashboard/Dashboard.js +2 -2
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +2 -2
- package/src/View/DataChangeHistory/DataChangeHistoryTable.js +2 -2
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -2
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +2 -2
- package/src/View/Export/ExportSchedulesTab.js +3 -4
- package/src/View/Filter/FilterViewPanel.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +13 -13
- package/src/View/FormatColumn/Wizard/FormatColumnPreview.js +4 -4
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +2 -2
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +128 -102
- package/src/View/Note/NoteEditor.js +2 -2
- package/src/View/Note/NotePopup.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +7 -7
- package/src/View/QuickSearch/QuickSearchPopup.js +4 -4
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +2 -2
- package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +36 -30
- package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.d.ts +1 -3
- package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +79 -68
- package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +8 -8
- package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +42 -15
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +92 -52
- package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +14 -14
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.js +37 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextPreview.d.ts +23 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextPreview.js +62 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BulletRangesSummaryPreview.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.d.ts +3 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.js +7 -9
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/RangeBarRangesSummaryPreview.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +3 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.d.ts +2 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.js +13 -17
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnChartListPreviews.d.ts +2 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnChartListPreviews.js +5 -5
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnIconPreview.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.js +24 -15
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.js +11 -17
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRatingPreview.d.ts +2 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +20 -60
- package/src/View/UIHelper.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +2 -2
- package/src/View/Wizard/OnePageWizards.js +3 -1
- package/src/agGrid/AdaptableAgGrid.js +11 -11
- package/src/agGrid/AgGridColumnAdapter.js +30 -28
- package/src/agGrid/AgGridExportAdapter.js +3 -3
- package/src/agGrid/AgGridMenuAdapter.js +129 -4
- package/src/agGrid/cellRenderers/BadgeRenderer.js +9 -7
- package/src/agGrid/cellRenderers/BulletChartRenderer.js +47 -46
- package/src/agGrid/cellRenderers/IconRenderer.d.ts +2 -1
- package/src/agGrid/cellRenderers/IconRenderer.js +20 -19
- package/src/agGrid/cellRenderers/PercentBarRenderer.js +29 -101
- package/src/agGrid/cellRenderers/RangeBarRenderer.js +54 -52
- package/src/agGrid/cellRenderers/RatingRenderer.js +6 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.js +3 -3
- package/src/components/ColorPicker/ColorPicker.js +2 -2
- package/src/components/Datepicker/index.js +2 -2
- package/src/components/FormLayout/index.js +2 -2
- package/src/components/OverlayTrigger/index.js +2 -2
- package/src/env.js +2 -2
- package/src/layout-manager/src/isLayoutEqual.js +4 -5
- package/src/metamodel/adaptable.metamodel.d.ts +118 -19
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade23.d.ts +27 -31
- package/src/migration/VersionUpgrade23.js +110 -29
- package/src/types.d.ts +12 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +0 -3
- package/src/Utilities/Helpers/iconStyledColumnColumnSupport.d.ts +0 -5
- package/src/Utilities/Helpers/iconStyledColumnColumnSupport.js +0 -18
- package/src/Utilities/Helpers/resolveSettingsPanelNavigation.d.ts +0 -3
- package/src/Utilities/Helpers/resolveSettingsPanelNavigation.js +0 -19
- package/src/Utilities/Helpers/styledColumnRowKindSupport.d.ts +0 -25
- package/src/Utilities/Helpers/styledColumnRowKindSupport.js +0 -70
- package/src/Utilities/Services/CalculatedColumnSyntheticChange.d.ts +0 -4
- package/src/Utilities/Services/CalculatedColumnSyntheticChange.js +0 -120
- package/src/Utilities/utils/chunk.d.ts +0 -6
- package/src/Utilities/utils/chunk.js +0 -20
- package/src/Utilities/utils/clamp.d.ts +0 -5
- package/src/Utilities/utils/clamp.js +0 -10
- package/src/Utilities/utils/cloneDeepWith.d.ts +0 -9
- package/src/Utilities/utils/cloneDeepWith.js +0 -70
- package/src/Utilities/utils/debounce.d.ts +0 -20
- package/src/Utilities/utils/flatten.d.ts +0 -5
- package/src/Utilities/utils/flatten.js +0 -10
- package/src/Utilities/utils/flattenDeep.d.ts +0 -5
- package/src/Utilities/utils/flattenDeep.js +0 -10
- package/src/Utilities/utils/get.d.ts +0 -6
- package/src/Utilities/utils/get.js +0 -38
- package/src/Utilities/utils/index.d.ts +0 -22
- package/src/Utilities/utils/index.js +0 -48
- package/src/Utilities/utils/isArray.d.ts +0 -6
- package/src/Utilities/utils/isArray.js +0 -8
- package/src/Utilities/utils/isEqual.d.ts +0 -5
- package/src/Utilities/utils/isEqual.js +0 -127
- package/src/Utilities/utils/isObject.d.ts +0 -6
- package/src/Utilities/utils/isObject.js +0 -12
- package/src/Utilities/utils/isPlainObject.d.ts +0 -6
- package/src/Utilities/utils/isPlainObject.js +0 -20
- package/src/Utilities/utils/kebabCase.d.ts +0 -5
- package/src/Utilities/utils/kebabCase.js +0 -12
- package/src/Utilities/utils/merge.d.ts +0 -11
- package/src/Utilities/utils/merge.js +0 -44
- package/src/Utilities/utils/mergeWith.d.ts +0 -7
- package/src/Utilities/utils/mergeWith.js +0 -50
- package/src/Utilities/utils/orderBy.d.ts +0 -8
- package/src/Utilities/utils/orderBy.js +0 -33
- package/src/Utilities/utils/parseInt.d.ts +0 -6
- package/src/Utilities/utils/parseInt.js +0 -12
- package/src/Utilities/utils/sentenceCase.d.ts +0 -6
- package/src/Utilities/utils/sentenceCase.js +0 -19
- package/src/Utilities/utils/startCase.d.ts +0 -5
- package/src/Utilities/utils/startCase.js +0 -15
- package/src/Utilities/utils/throttle.d.ts +0 -17
- package/src/Utilities/utils/throttle.js +0 -23
- package/src/Utilities/utils/toNumber.d.ts +0 -5
- package/src/Utilities/utils/toNumber.js +0 -42
- package/src/Utilities/utils/uniq.d.ts +0 -7
- package/src/Utilities/utils/uniq.js +0 -12
- package/src/Utilities/utils/uniqBy.d.ts +0 -8
- package/src/Utilities/utils/uniqBy.js +0 -25
- package/src/Utilities/utils/words.d.ts +0 -7
- package/src/Utilities/utils/words.js +0 -13
- package/src/agGrid/buildValueAggregationMenuItem.d.ts +0 -19
- package/src/agGrid/buildValueAggregationMenuItem.js +0 -114
- package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.d.ts +0 -30
- package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.js +0 -58
- package/src/agGrid/createAgGridIcon.d.ts +0 -10
- package/src/agGrid/createAgGridIcon.js +0 -19
- /package/src/{Utilities → AdaptableState/Aggregations}/only.d.ts +0 -0
- /package/src/{Utilities → AdaptableState/Aggregations}/only.js +0 -0
- /package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.d.ts +0 -0
- /package/src/Utilities/Helpers/{ActionColumnWidthHelper.d.ts → ActionColumnHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{ActionColumnWidthHelper.js → ActionColumnHelper.js} +0 -0
- /package/src/Utilities/Helpers/{alertFormHelper.d.ts → AlertHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{chartingHelper.d.ts → ChartHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{chartingHelper.js → ChartHelper.js} +0 -0
- /package/src/Utilities/Helpers/{FormatHelper.d.ts → DisplayFormatHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{plusMinusTriggerKeys.d.ts → PlusMinusHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{plusMinusTriggerKeys.js → PlusMinusHelper.js} +0 -0
- /package/src/Utilities/Helpers/{QuickSearchStyleHelper.d.ts → QuickSearchHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{ScheduleJobManager.js → Scheduling/ScheduleJobManager.js} +0 -0
- /package/src/Utilities/Helpers/{ScheduleJobRunner.js → Scheduling/ScheduleJobRunner.js} +0 -0
- /package/src/Utilities/Helpers/{SparklineOptionsHelper.d.ts → StyledColumns/SparklineStyleHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{ThemeHelpers.d.ts → ThemeHelper.d.ts} +0 -0
- /package/src/Utilities/Helpers/{ThemeHelpers.js → ThemeHelper.js} +0 -0
package/index.css
CHANGED
|
@@ -552,9 +552,6 @@
|
|
|
552
552
|
.twa\:ml-6 {
|
|
553
553
|
margin-left: calc(var(--ab-base-space) * 6);
|
|
554
554
|
}
|
|
555
|
-
.twa\:ml-\[2px\] {
|
|
556
|
-
margin-left: 2px;
|
|
557
|
-
}
|
|
558
555
|
.twa\:ml-auto {
|
|
559
556
|
margin-left: auto;
|
|
560
557
|
}
|
|
@@ -687,9 +684,6 @@
|
|
|
687
684
|
.twa\:h-\[90vh\] {
|
|
688
685
|
height: 90vh;
|
|
689
686
|
}
|
|
690
|
-
.twa\:h-\[400px\] {
|
|
691
|
-
height: 400px;
|
|
692
|
-
}
|
|
693
687
|
.twa\:h-\[calc\(--spacing\(5\.5\)\)\] {
|
|
694
688
|
height: calc(calc(var(--ab-base-space) * 5.5));
|
|
695
689
|
}
|
|
@@ -768,9 +762,6 @@
|
|
|
768
762
|
.twa\:min-h-\[15px\] {
|
|
769
763
|
min-height: 15px;
|
|
770
764
|
}
|
|
771
|
-
.twa\:min-h-\[20px\] {
|
|
772
|
-
min-height: 20px;
|
|
773
|
-
}
|
|
774
765
|
.twa\:min-h-\[32px\] {
|
|
775
766
|
min-height: 32px;
|
|
776
767
|
}
|
|
@@ -5855,7 +5846,18 @@
|
|
|
5855
5846
|
--ab-icon-fill: currentColor;
|
|
5856
5847
|
--ab-custom-scrollbar-size: 10px;
|
|
5857
5848
|
--ab-grid-row-height: 35px;
|
|
5858
|
-
--ab-cmp-column-tag__background:
|
|
5849
|
+
--ab-cmp-column-tag__background: var(--ab-color-primary);
|
|
5850
|
+
}
|
|
5851
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5852
|
+
:root {
|
|
5853
|
+
--ab-cmp-column-tag__background: color-mix(
|
|
5854
|
+
in srgb,
|
|
5855
|
+
var(--ab-color-primary) 80%,
|
|
5856
|
+
var(--ab-color-accent)
|
|
5857
|
+
);
|
|
5858
|
+
}
|
|
5859
|
+
}
|
|
5860
|
+
:root {
|
|
5859
5861
|
--ab-cmp-column-tag__foreground: var(--ab-color-primary-foreground);
|
|
5860
5862
|
--ab-loaded: 777;
|
|
5861
5863
|
--ab_flex-direction: column;
|
|
@@ -7491,7 +7493,7 @@
|
|
|
7491
7493
|
.ab-Tag {
|
|
7492
7494
|
max-width: 100%;
|
|
7493
7495
|
}
|
|
7494
|
-
.ab-Tag
|
|
7496
|
+
.ab-Tag--column {
|
|
7495
7497
|
background: var(--ab-cmp-column-tag__background);
|
|
7496
7498
|
color: var(--ab-cmp-column-tag__foreground, inherit);
|
|
7497
7499
|
}
|
|
@@ -8001,6 +8003,75 @@
|
|
|
8001
8003
|
min-width: 0;
|
|
8002
8004
|
word-break: break-all;
|
|
8003
8005
|
}
|
|
8006
|
+
.ab-ObjectListActionButton {
|
|
8007
|
+
border-radius: var(--ab-base-border-radius, 4px);
|
|
8008
|
+
min-width: 30px;
|
|
8009
|
+
min-height: 30px;
|
|
8010
|
+
box-shadow: inset 0 0 0 1px currentColor;
|
|
8011
|
+
}
|
|
8012
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8013
|
+
.ab-ObjectListActionButton {
|
|
8014
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 24%, transparent);
|
|
8015
|
+
}
|
|
8016
|
+
}
|
|
8017
|
+
.ab-SimpleButton.ab-ObjectListActionButton--edit {
|
|
8018
|
+
background-color: var(--ab-color-action-edit) !important;
|
|
8019
|
+
}
|
|
8020
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8021
|
+
.ab-SimpleButton.ab-ObjectListActionButton--edit {
|
|
8022
|
+
background-color: color-mix(in srgb, var(--ab-color-action-edit) 14%, var(--ab-color-muted)) !important;
|
|
8023
|
+
}
|
|
8024
|
+
}
|
|
8025
|
+
.ab-SimpleButton.ab-ObjectListActionButton--edit {
|
|
8026
|
+
color: var(--ab-color-action-edit);
|
|
8027
|
+
}
|
|
8028
|
+
.ab-SimpleButton.ab-ObjectListActionButton--suspend {
|
|
8029
|
+
background-color: var(--ab-color-primary-foreground) !important;
|
|
8030
|
+
}
|
|
8031
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8032
|
+
.ab-SimpleButton.ab-ObjectListActionButton--suspend {
|
|
8033
|
+
background-color: color-mix( in srgb, var(--ab-color-primary-foreground) 10%, var(--ab-color-muted) ) !important;
|
|
8034
|
+
}
|
|
8035
|
+
}
|
|
8036
|
+
.ab-SimpleButton.ab-ObjectListActionButton--suspend {
|
|
8037
|
+
color: var(--ab-color-primary-foreground);
|
|
8038
|
+
}
|
|
8039
|
+
.ab-SimpleButton.ab-ObjectListActionButton--delete {
|
|
8040
|
+
background-color: var(--ab-color-action-delete) !important;
|
|
8041
|
+
}
|
|
8042
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8043
|
+
.ab-SimpleButton.ab-ObjectListActionButton--delete {
|
|
8044
|
+
background-color: color-mix(in srgb, var(--ab-color-action-delete) 14%, var(--ab-color-muted)) !important;
|
|
8045
|
+
}
|
|
8046
|
+
}
|
|
8047
|
+
.ab-SimpleButton.ab-ObjectListActionButton--delete {
|
|
8048
|
+
color: var(--ab-color-action-delete);
|
|
8049
|
+
}
|
|
8050
|
+
.ab-SimpleButton.ab-ObjectListActionButton--share {
|
|
8051
|
+
background-color: var(--ab-color-action-share) !important;
|
|
8052
|
+
}
|
|
8053
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8054
|
+
.ab-SimpleButton.ab-ObjectListActionButton--share {
|
|
8055
|
+
background-color: color-mix(in srgb, var(--ab-color-action-share) 14%, var(--ab-color-muted)) !important;
|
|
8056
|
+
}
|
|
8057
|
+
}
|
|
8058
|
+
.ab-SimpleButton.ab-ObjectListActionButton--share {
|
|
8059
|
+
color: var(--ab-color-action-share);
|
|
8060
|
+
}
|
|
8061
|
+
.ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
|
|
8062
|
+
box-shadow: inset 0 0 0 1px currentColor;
|
|
8063
|
+
}
|
|
8064
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8065
|
+
.ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
|
|
8066
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 38%, transparent);
|
|
8067
|
+
}
|
|
8068
|
+
}
|
|
8069
|
+
.ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
|
|
8070
|
+
filter: brightness(1.03);
|
|
8071
|
+
}
|
|
8072
|
+
.ab-SimpleButton.ab-ObjectListActionButton:disabled {
|
|
8073
|
+
opacity: 0.5;
|
|
8074
|
+
}
|
|
8004
8075
|
.ab-Adaptable-Object-List__Item__label {
|
|
8005
8076
|
width: var(--ab-cmp-adaptable-object-list-item-label__width);
|
|
8006
8077
|
}
|
|
@@ -8941,11 +9012,16 @@
|
|
|
8941
9012
|
.ab--theme-dark {
|
|
8942
9013
|
--ab-color-secondary: oklch(0.269 0 0);
|
|
8943
9014
|
--ab-color-secondary-foreground: oklch(0.985 0 0);
|
|
8944
|
-
--ab-color-destructive: oklch(0.396 0.141 25.723);
|
|
8945
|
-
--ab-color-destructive-foreground: oklch(0.637 0.237 25.331);
|
|
8946
9015
|
--ab-color-border: oklch(0.269 0 0);
|
|
8947
9016
|
--ab-theme-loaded: dark;
|
|
8948
|
-
--ab-color-input-background:
|
|
9017
|
+
--ab-color-input-background: var(--ab-color-background);
|
|
9018
|
+
}
|
|
9019
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9020
|
+
.ab--theme-dark {
|
|
9021
|
+
--ab-color-input-background: color-mix(in srgb, var(--ab-color-background) 95%, black);
|
|
9022
|
+
}
|
|
9023
|
+
}
|
|
9024
|
+
.ab--theme-dark {
|
|
8949
9025
|
--ab-cmp-input--disabled__background: #232323;
|
|
8950
9026
|
--ab-color-background: var(--ab-color-defaultbackground, #474c52);
|
|
8951
9027
|
--ab-color-foreground: var(--ab-color-text-on-defaultbackground, #e2e2e2);
|
|
@@ -8955,13 +9031,18 @@
|
|
|
8955
9031
|
--ab-color-primarydark: #1c2021;
|
|
8956
9032
|
--ab-color-card: #51555a;
|
|
8957
9033
|
--ab-color-card-foreground: var(--ab-color-foreground);
|
|
8958
|
-
--ab-cmp-draggable-list-item__background: color-
|
|
9034
|
+
--ab-cmp-draggable-list-item__background: var(--ab-color-primary);
|
|
9035
|
+
}
|
|
9036
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
9037
|
+
.ab--theme-dark {
|
|
9038
|
+
--ab-cmp-draggable-list-item__background: color-mix(
|
|
8959
9039
|
in srgb,
|
|
8960
9040
|
var(--ab-color-primary) 72%,
|
|
8961
9041
|
var(--ab-color-primarylight)
|
|
8962
9042
|
);
|
|
8963
|
-
|
|
8964
|
-
|
|
9043
|
+
}
|
|
9044
|
+
}
|
|
9045
|
+
.ab--theme-dark {
|
|
8965
9046
|
--ab-color-palette-1: #5c1a1a;
|
|
8966
9047
|
--ab-color-palette-2: #ffb4b4;
|
|
8967
9048
|
--ab-color-palette-3: #4a3b00;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "23.0.0-canary.
|
|
3
|
+
"version": "23.0.0-canary.9",
|
|
4
4
|
"description": "Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.weightedAverage = exports.getNumericValue = void 0;
|
|
4
|
-
const
|
|
5
|
-
const toNumber_1 = tslib_1.__importDefault(require("./utils/toNumber"));
|
|
4
|
+
const NumberExtensions_1 = require("../../Utilities/Extensions/NumberExtensions");
|
|
6
5
|
const getNumericValue = (input) => {
|
|
7
6
|
if (typeof input === 'number') {
|
|
8
7
|
return input;
|
|
9
8
|
}
|
|
10
|
-
const numericValue = (0,
|
|
9
|
+
const numericValue = (0, NumberExtensions_1.toNumber)(input);
|
|
11
10
|
return isNaN(numericValue) ? null : numericValue;
|
|
12
11
|
};
|
|
13
12
|
exports.getNumericValue = getNumericValue;
|
|
@@ -4,17 +4,10 @@ export declare enum MathOperation {
|
|
|
4
4
|
Multiply = "Multiply",
|
|
5
5
|
Divide = "Divide"
|
|
6
6
|
}
|
|
7
|
-
export declare enum ScheduleType {
|
|
8
|
-
Reminder = "Reminder"
|
|
9
|
-
}
|
|
10
7
|
export declare enum SortOrder {
|
|
11
8
|
Asc = "Asc",
|
|
12
9
|
Desc = "Desc"
|
|
13
10
|
}
|
|
14
|
-
export declare enum SelectionMode {
|
|
15
|
-
Multi = "Multi",
|
|
16
|
-
Single = "Single"
|
|
17
|
-
}
|
|
18
11
|
export declare enum FontWeight {
|
|
19
12
|
Normal = "Normal",
|
|
20
13
|
Bold = "Bold"
|
|
@@ -49,8 +42,3 @@ export declare enum SummaryOperation {
|
|
|
49
42
|
Std_Deviation = "Std Deviation",
|
|
50
43
|
Only = "Only"
|
|
51
44
|
}
|
|
52
|
-
export declare enum ChangeDirection {
|
|
53
|
-
Up = "Up",
|
|
54
|
-
Down = "Down",
|
|
55
|
-
Neutral = "Neutral"
|
|
56
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// General Enums
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.SummaryOperation = exports.StatusColour = exports.FontSize = exports.FontStyle = exports.FontWeight = exports.SortOrder = exports.MathOperation = void 0;
|
|
5
5
|
var MathOperation;
|
|
6
6
|
(function (MathOperation) {
|
|
7
7
|
MathOperation["Add"] = "Add";
|
|
@@ -10,20 +10,11 @@ var MathOperation;
|
|
|
10
10
|
MathOperation["Divide"] = "Divide";
|
|
11
11
|
})(MathOperation || (exports.MathOperation = MathOperation = {}));
|
|
12
12
|
// Enums used in Strategies
|
|
13
|
-
var ScheduleType;
|
|
14
|
-
(function (ScheduleType) {
|
|
15
|
-
ScheduleType["Reminder"] = "Reminder";
|
|
16
|
-
})(ScheduleType || (exports.ScheduleType = ScheduleType = {}));
|
|
17
13
|
var SortOrder;
|
|
18
14
|
(function (SortOrder) {
|
|
19
15
|
SortOrder["Asc"] = "Asc";
|
|
20
16
|
SortOrder["Desc"] = "Desc";
|
|
21
17
|
})(SortOrder || (exports.SortOrder = SortOrder = {}));
|
|
22
|
-
var SelectionMode;
|
|
23
|
-
(function (SelectionMode) {
|
|
24
|
-
SelectionMode["Multi"] = "Multi";
|
|
25
|
-
SelectionMode["Single"] = "Single";
|
|
26
|
-
})(SelectionMode || (exports.SelectionMode = SelectionMode = {}));
|
|
27
18
|
var FontWeight;
|
|
28
19
|
(function (FontWeight) {
|
|
29
20
|
FontWeight["Normal"] = "Normal";
|
|
@@ -64,9 +55,3 @@ var SummaryOperation;
|
|
|
64
55
|
SummaryOperation["Std_Deviation"] = "Std Deviation";
|
|
65
56
|
SummaryOperation["Only"] = "Only";
|
|
66
57
|
})(SummaryOperation || (exports.SummaryOperation = SummaryOperation = {}));
|
|
67
|
-
var ChangeDirection;
|
|
68
|
-
(function (ChangeDirection) {
|
|
69
|
-
ChangeDirection["Up"] = "Up";
|
|
70
|
-
ChangeDirection["Down"] = "Down";
|
|
71
|
-
ChangeDirection["Neutral"] = "Neutral";
|
|
72
|
-
})(ChangeDirection || (exports.ChangeDirection = ChangeDirection = {}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { ModuleParams } from '
|
|
3
|
-
import { AdaptableMenuItem, AdaptableContextMenuItemName, AdaptableColumnMenuItemName } from '
|
|
4
|
-
import { AdaptableModule } from '
|
|
5
|
-
import { AdaptableIcon, AdaptableSystemIconName } from '
|
|
2
|
+
import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
|
|
3
|
+
import { AdaptableMenuItem, AdaptableContextMenuItemName, AdaptableColumnMenuItemName } from './Menu';
|
|
4
|
+
import { AdaptableModule } from './Types';
|
|
5
|
+
import { AdaptableIcon, AdaptableSystemIconName } from './AdaptableIcon';
|
|
6
6
|
export declare class MenuItemDoReduxAction<MENU_TYPE_NAME extends AdaptableColumnMenuItemName | AdaptableContextMenuItemName = AdaptableColumnMenuItemName | AdaptableContextMenuItemName> implements AdaptableMenuItem<MENU_TYPE_NAME> {
|
|
7
7
|
constructor(name: MENU_TYPE_NAME, label: string, module: AdaptableModule, reduxAction: Redux.Action, icon: AdaptableSystemIconName, isVisible: boolean);
|
|
8
8
|
name: MENU_TYPE_NAME;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MenuItemShowPopup = exports.MenuItemDoClickFunction = exports.MenuItemDoReduxAction = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const PopupRedux = tslib_1.__importStar(require("
|
|
5
|
+
const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
|
|
6
6
|
// A menu item which performs a Redux Action when it is clicke
|
|
7
7
|
class MenuItemDoReduxAction {
|
|
8
8
|
constructor(name, label, module, reduxAction, icon, isVisible) {
|