@adaptabletools/adaptable 23.0.0-canary.8 → 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 +29 -14
- package/package.json +1 -1
- package/src/{Utilities → AdaptableState/Aggregations}/weightedAverage.js +1 -1
- package/src/AdaptableState/Common/Enums.d.ts +0 -12
- package/src/AdaptableState/Common/Enums.js +0 -15
- package/src/{Utilities → AdaptableState/Common}/MenuItem.d.ts +4 -4
- package/src/{Utilities → AdaptableState/Common}/MenuItem.js +1 -1
- package/src/AdaptableState/StyledColumns/BulletChartStyle.d.ts +5 -5
- package/src/AdaptableState/StyledColumns/Common/{BarChartCellText.d.ts → BarStyleProperties.d.ts} +34 -10
- package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +2 -2
- package/src/AdaptableState/StyledColumns/PercentBarStyle.d.ts +2 -2
- package/src/AdaptableState/StyledColumns/RangeBarStyle.d.ts +5 -5
- package/src/Api/Implementation/AlertApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.js +1 -1
- package/src/Api/Implementation/ExportApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutHelpers.js +1 -1
- package/src/Api/Implementation/QuickSearchApiImpl.js +1 -1
- package/src/Api/Implementation/ThemeApiImpl.js +1 -1
- package/src/Api/Internal/ActionColumnInternalApi.js +1 -1
- package/src/Api/Internal/AlertInternalApi.js +1 -1
- package/src/Api/Internal/ChartingInternalApi.js +1 -1
- package/src/Api/Internal/ColumnInternalApi.js +1 -1
- package/src/Api/Internal/EventInternalApi.js +1 -1
- package/src/Api/Internal/ExportInternalApi.js +1 -1
- package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
- package/src/Api/Internal/GridInternalApi.js +1 -1
- package/src/Api/Internal/StyledColumnInternalApi.js +1 -1
- package/src/Redux/ActionsReducers/ExportRedux.js +1 -1
- package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +2 -4
- package/src/Redux/Store/AdaptableStore.js +3 -3
- 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 +1 -1
- 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 +1 -1
- package/src/Strategy/NoteModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.js +1 -1
- 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 +2 -2
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
- package/src/Utilities/Extensions/ArrayExtensions.d.ts +32 -0
- package/src/Utilities/Extensions/ArrayExtensions.js +49 -0
- package/src/Utilities/Extensions/NumberExtensions.d.ts +21 -0
- package/src/Utilities/Extensions/NumberExtensions.js +74 -0
- package/src/Utilities/Extensions/ObjectExtensions.d.ts +44 -0
- package/src/Utilities/Extensions/ObjectExtensions.js +271 -0
- package/src/Utilities/Extensions/StringExtensions.d.ts +26 -0
- package/src/Utilities/Extensions/StringExtensions.js +44 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -2
- package/src/Utilities/Helpers/{alertFormHelper.js → AlertHelper.js} +1 -1
- package/src/Utilities/Helpers/DateHelper.js +1 -1
- package/src/Utilities/Helpers/{FormatHelper.js → DisplayFormatHelper.js} +1 -1
- package/src/Utilities/Helpers/Helper.d.ts +0 -6
- package/src/Utilities/Helpers/Helper.js +0 -35
- package/src/Utilities/Helpers/{QuickSearchStyleHelper.js → QuickSearchHelper.js} +1 -1
- 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} +14 -0
- package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.d.ts +63 -0
- package/src/Utilities/Helpers/{barChartCellText.js → StyledColumns/BarStylesHelper.js} +33 -32
- package/src/Utilities/Helpers/{StyledColumnGradientHelper.d.ts → StyledColumns/GradientStyleHelper.d.ts} +4 -4
- package/src/Utilities/Helpers/{StyledColumnGradientHelper.js → StyledColumns/GradientStyleHelper.js} +3 -3
- package/src/Utilities/Helpers/{IconStylePresets.d.ts → StyledColumns/IconStyleHelper.d.ts} +6 -1
- package/src/Utilities/Helpers/{IconStylePresets.js → StyledColumns/IconStyleHelper.js} +15 -0
- package/src/Utilities/Helpers/{percentBarPreviewHelper.d.ts → StyledColumns/PercentBarStyleHelper.d.ts} +2 -2
- package/src/Utilities/Helpers/{percentBarPreviewHelper.js → StyledColumns/PercentBarStyleHelper.js} +7 -7
- package/src/Utilities/Helpers/{SparklineOptionsHelper.js → StyledColumns/SparklineStyleHelper.js} +1 -1
- package/src/Utilities/Helpers/StyledColumns/StyledColumnHelper.d.ts +52 -0
- package/src/{agGrid/cellRenderers/shouldRenderStyledColumnOnRow.js → Utilities/Helpers/StyledColumns/StyledColumnHelper.js} +64 -2
- package/src/Utilities/Helpers/TimingHelper.d.ts +34 -0
- package/src/Utilities/{utils/debounce.js → Helpers/TimingHelper.js} +23 -9
- package/src/Utilities/ObjectFactory.js +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +2 -0
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +114 -1
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/RowSummaryService.d.ts +1 -1
- package/src/Utilities/Services/RowSummaryService.js +4 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +1 -1
- 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 +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +2 -2
- 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 +1 -1
- package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +1 -1
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +1 -1
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +1 -1
- package/src/View/Comments/CommentsEditor.js +1 -1
- package/src/View/Comments/CommentsPopup.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +1 -1
- package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/Popups/Utilities.js +1 -1
- package/src/View/Components/RangesComponent.d.ts +3 -3
- package/src/View/Components/RangesComponent.js +3 -7
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Dashboard/CustomDashboardButton.js +1 -1
- package/src/View/Dashboard/Dashboard.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryTable.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -3
- package/src/View/FormatColumn/Wizard/FormatColumnPreview.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Note/NoteEditor.js +1 -1
- package/src/View/Note/NotePopup.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +16 -20
- package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +14 -16
- package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextLayoutEditor.d.ts → BarStyleCellTextLayoutEditor.d.ts} +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.js +33 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextPreview.d.ts → BarStyleCellTextPreview.d.ts} +6 -6
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/{BarChartCellTextPreview.js → BarStyleCellTextPreview.js} +6 -6
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.d.ts +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.js +2 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.js +7 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnGradientPreview.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.js +11 -9
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.js +7 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnSparklinePreview.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +11 -15
- package/src/View/UIHelper.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
- package/src/View/Wizard/OnePageWizards.js +3 -1
- package/src/agGrid/AdaptableAgGrid.js +6 -6
- package/src/agGrid/AgGridColumnAdapter.js +16 -15
- package/src/agGrid/AgGridExportAdapter.js +1 -1
- package/src/agGrid/AgGridMenuAdapter.js +127 -2
- package/src/agGrid/cellRenderers/BadgeRenderer.js +1 -1
- package/src/agGrid/cellRenderers/BulletChartRenderer.js +6 -6
- package/src/agGrid/cellRenderers/IconRenderer.js +2 -3
- package/src/agGrid/cellRenderers/PercentBarRenderer.js +6 -6
- package/src/agGrid/cellRenderers/RangeBarRenderer.js +7 -8
- package/src/agGrid/cellRenderers/RatingRenderer.js +2 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
- package/src/components/ColorPicker/ColorPicker.js +1 -1
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/OverlayTrigger/index.js +1 -1
- package/src/env.js +2 -2
- package/src/layout-manager/src/isLayoutEqual.js +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +41 -8
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade23.js +2 -2
- package/src/types.d.ts +3 -3
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/AdaptableState/StyledColumns/Common/BarChartCellText.js +0 -6
- package/src/AdaptableState/StyledColumns/Common/BarChartMarker.d.ts +0 -24
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +0 -3
- package/src/Utilities/Helpers/barChartCellText.d.ts +0 -63
- package/src/Utilities/Helpers/iconStyledColumnColumnSupport.d.ts +0 -5
- package/src/Utilities/Helpers/iconStyledColumnColumnSupport.js +0 -15
- package/src/Utilities/Helpers/resolveSettingsPanelNavigation.d.ts +0 -3
- package/src/Utilities/Helpers/resolveSettingsPanelNavigation.js +0 -15
- package/src/Utilities/Helpers/styledColumnRowKindSupport.d.ts +0 -25
- package/src/Utilities/Helpers/styledColumnRowKindSupport.js +0 -63
- package/src/Utilities/Services/CalculatedColumnSyntheticChange.d.ts +0 -4
- package/src/Utilities/Services/CalculatedColumnSyntheticChange.js +0 -115
- package/src/Utilities/utils/chunk.d.ts +0 -6
- package/src/Utilities/utils/chunk.js +0 -17
- package/src/Utilities/utils/clamp.d.ts +0 -5
- package/src/Utilities/utils/clamp.js +0 -7
- package/src/Utilities/utils/cloneDeepWith.d.ts +0 -9
- package/src/Utilities/utils/cloneDeepWith.js +0 -67
- 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 -7
- package/src/Utilities/utils/flattenDeep.d.ts +0 -5
- package/src/Utilities/utils/flattenDeep.js +0 -7
- package/src/Utilities/utils/get.d.ts +0 -6
- package/src/Utilities/utils/get.js +0 -35
- package/src/Utilities/utils/index.d.ts +0 -22
- package/src/Utilities/utils/index.js +0 -22
- package/src/Utilities/utils/isArray.d.ts +0 -6
- package/src/Utilities/utils/isArray.js +0 -6
- package/src/Utilities/utils/isEqual.d.ts +0 -5
- package/src/Utilities/utils/isEqual.js +0 -124
- package/src/Utilities/utils/isObject.d.ts +0 -6
- package/src/Utilities/utils/isObject.js +0 -9
- package/src/Utilities/utils/isPlainObject.d.ts +0 -6
- package/src/Utilities/utils/isPlainObject.js +0 -17
- package/src/Utilities/utils/kebabCase.d.ts +0 -5
- package/src/Utilities/utils/kebabCase.js +0 -8
- package/src/Utilities/utils/merge.d.ts +0 -11
- package/src/Utilities/utils/merge.js +0 -40
- package/src/Utilities/utils/mergeWith.d.ts +0 -7
- package/src/Utilities/utils/mergeWith.js +0 -46
- package/src/Utilities/utils/orderBy.d.ts +0 -8
- package/src/Utilities/utils/orderBy.js +0 -30
- package/src/Utilities/utils/parseInt.d.ts +0 -6
- package/src/Utilities/utils/parseInt.js +0 -9
- package/src/Utilities/utils/sentenceCase.d.ts +0 -6
- package/src/Utilities/utils/sentenceCase.js +0 -15
- package/src/Utilities/utils/startCase.d.ts +0 -5
- package/src/Utilities/utils/startCase.js +0 -11
- package/src/Utilities/utils/throttle.d.ts +0 -17
- package/src/Utilities/utils/throttle.js +0 -19
- package/src/Utilities/utils/toNumber.d.ts +0 -5
- package/src/Utilities/utils/toNumber.js +0 -39
- package/src/Utilities/utils/uniq.d.ts +0 -7
- package/src/Utilities/utils/uniq.js +0 -9
- package/src/Utilities/utils/uniqBy.d.ts +0 -8
- package/src/Utilities/utils/uniqBy.js +0 -22
- package/src/Utilities/utils/words.d.ts +0 -7
- package/src/Utilities/utils/words.js +0 -10
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextLayoutEditor.js +0 -35
- package/src/agGrid/buildValueAggregationMenuItem.d.ts +0 -19
- package/src/agGrid/buildValueAggregationMenuItem.js +0 -111
- package/src/agGrid/cellRenderers/shouldRenderStyledColumnOnRow.d.ts +0 -30
- package/src/agGrid/createAgGridIcon.d.ts +0 -10
- package/src/agGrid/createAgGridIcon.js +0 -16
- /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/AdaptableState/StyledColumns/Common/{BarChartMarker.js → BarStyleProperties.js} +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
|
@@ -582,9 +582,6 @@
|
|
|
582
582
|
.twa\:inline-flex {
|
|
583
583
|
display: inline-flex;
|
|
584
584
|
}
|
|
585
|
-
.twa\:inline-grid {
|
|
586
|
-
display: inline-grid;
|
|
587
|
-
}
|
|
588
585
|
.twa\:field-sizing-content {
|
|
589
586
|
field-sizing: content;
|
|
590
587
|
}
|
|
@@ -1274,9 +1271,6 @@
|
|
|
1274
1271
|
.twa\:grid-cols-\[4\.5rem_1fr\] {
|
|
1275
1272
|
grid-template-columns: 4.5rem 1fr;
|
|
1276
1273
|
}
|
|
1277
|
-
.twa\:grid-cols-\[160px_140px_140px\] {
|
|
1278
|
-
grid-template-columns: 160px 140px 140px;
|
|
1279
|
-
}
|
|
1280
1274
|
.twa\:grid-cols-\[auto_1fr\] {
|
|
1281
1275
|
grid-template-columns: auto 1fr;
|
|
1282
1276
|
}
|
|
@@ -5852,7 +5846,18 @@
|
|
|
5852
5846
|
--ab-icon-fill: currentColor;
|
|
5853
5847
|
--ab-custom-scrollbar-size: 10px;
|
|
5854
5848
|
--ab-grid-row-height: 35px;
|
|
5855
|
-
--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 {
|
|
5856
5861
|
--ab-cmp-column-tag__foreground: var(--ab-color-primary-foreground);
|
|
5857
5862
|
--ab-loaded: 777;
|
|
5858
5863
|
--ab_flex-direction: column;
|
|
@@ -7488,7 +7493,7 @@
|
|
|
7488
7493
|
.ab-Tag {
|
|
7489
7494
|
max-width: 100%;
|
|
7490
7495
|
}
|
|
7491
|
-
.ab-Tag
|
|
7496
|
+
.ab-Tag--column {
|
|
7492
7497
|
background: var(--ab-cmp-column-tag__background);
|
|
7493
7498
|
color: var(--ab-cmp-column-tag__foreground, inherit);
|
|
7494
7499
|
}
|
|
@@ -9007,11 +9012,16 @@
|
|
|
9007
9012
|
.ab--theme-dark {
|
|
9008
9013
|
--ab-color-secondary: oklch(0.269 0 0);
|
|
9009
9014
|
--ab-color-secondary-foreground: oklch(0.985 0 0);
|
|
9010
|
-
--ab-color-destructive: oklch(0.396 0.141 25.723);
|
|
9011
|
-
--ab-color-destructive-foreground: oklch(0.637 0.237 25.331);
|
|
9012
9015
|
--ab-color-border: oklch(0.269 0 0);
|
|
9013
9016
|
--ab-theme-loaded: dark;
|
|
9014
|
-
--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 {
|
|
9015
9025
|
--ab-cmp-input--disabled__background: #232323;
|
|
9016
9026
|
--ab-color-background: var(--ab-color-defaultbackground, #474c52);
|
|
9017
9027
|
--ab-color-foreground: var(--ab-color-text-on-defaultbackground, #e2e2e2);
|
|
@@ -9021,13 +9031,18 @@
|
|
|
9021
9031
|
--ab-color-primarydark: #1c2021;
|
|
9022
9032
|
--ab-color-card: #51555a;
|
|
9023
9033
|
--ab-color-card-foreground: var(--ab-color-foreground);
|
|
9024
|
-
--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(
|
|
9025
9039
|
in srgb,
|
|
9026
9040
|
var(--ab-color-primary) 72%,
|
|
9027
9041
|
var(--ab-color-primarylight)
|
|
9028
9042
|
);
|
|
9029
|
-
|
|
9030
|
-
|
|
9043
|
+
}
|
|
9044
|
+
}
|
|
9045
|
+
.ab--theme-dark {
|
|
9031
9046
|
--ab-color-palette-1: #5c1a1a;
|
|
9032
9047
|
--ab-color-palette-2: #ffb4b4;
|
|
9033
9048
|
--ab-color-palette-3: #4a3b00;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
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",
|
|
@@ -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
|
-
}
|
|
@@ -7,20 +7,11 @@ export var MathOperation;
|
|
|
7
7
|
MathOperation["Divide"] = "Divide";
|
|
8
8
|
})(MathOperation || (MathOperation = {}));
|
|
9
9
|
// Enums used in Strategies
|
|
10
|
-
export var ScheduleType;
|
|
11
|
-
(function (ScheduleType) {
|
|
12
|
-
ScheduleType["Reminder"] = "Reminder";
|
|
13
|
-
})(ScheduleType || (ScheduleType = {}));
|
|
14
10
|
export var SortOrder;
|
|
15
11
|
(function (SortOrder) {
|
|
16
12
|
SortOrder["Asc"] = "Asc";
|
|
17
13
|
SortOrder["Desc"] = "Desc";
|
|
18
14
|
})(SortOrder || (SortOrder = {}));
|
|
19
|
-
export var SelectionMode;
|
|
20
|
-
(function (SelectionMode) {
|
|
21
|
-
SelectionMode["Multi"] = "Multi";
|
|
22
|
-
SelectionMode["Single"] = "Single";
|
|
23
|
-
})(SelectionMode || (SelectionMode = {}));
|
|
24
15
|
export var FontWeight;
|
|
25
16
|
(function (FontWeight) {
|
|
26
17
|
FontWeight["Normal"] = "Normal";
|
|
@@ -61,9 +52,3 @@ export var SummaryOperation;
|
|
|
61
52
|
SummaryOperation["Std_Deviation"] = "Std Deviation";
|
|
62
53
|
SummaryOperation["Only"] = "Only";
|
|
63
54
|
})(SummaryOperation || (SummaryOperation = {}));
|
|
64
|
-
export var ChangeDirection;
|
|
65
|
-
(function (ChangeDirection) {
|
|
66
|
-
ChangeDirection["Up"] = "Up";
|
|
67
|
-
ChangeDirection["Down"] = "Down";
|
|
68
|
-
ChangeDirection["Neutral"] = "Neutral";
|
|
69
|
-
})(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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as PopupRedux from '
|
|
1
|
+
import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
|
|
2
2
|
// A menu item which performs a Redux Action when it is clicke
|
|
3
3
|
export class MenuItemDoReduxAction {
|
|
4
4
|
constructor(name, label, module, reduxAction, icon, isVisible) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CellFontStyle } from '../Common/AdaptableStyle';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { BarStyleCellTextProperties } from './Common/BarStyleProperties';
|
|
3
|
+
import { BarStyleMarker } from './Common/BarStyleProperties';
|
|
4
4
|
import { CellTextOptions } from './Common/CellTextOptions';
|
|
5
5
|
import { NumericStyledColumn } from './Common/NumericStyledColumn';
|
|
6
6
|
/**
|
|
@@ -61,7 +61,7 @@ export interface BulletChartStyle extends NumericStyledColumn {
|
|
|
61
61
|
/**
|
|
62
62
|
* Optional cell-text overlay configuration.
|
|
63
63
|
*/
|
|
64
|
-
CellTextProperties?:
|
|
64
|
+
CellTextProperties?: BarStyleCellTextProperties;
|
|
65
65
|
/**
|
|
66
66
|
* Tooltip content - same tokens (`'CellValue'`, `'PercentageValue'`) as
|
|
67
67
|
* Percent Bar.
|
|
@@ -119,7 +119,7 @@ export interface BulletChartTargetProperties {
|
|
|
119
119
|
* When `Target` is an array, this style applies to all markers; pass a
|
|
120
120
|
* `Target` object with its own `Marker` property to override per-marker.
|
|
121
121
|
*/
|
|
122
|
-
Marker?:
|
|
122
|
+
Marker?: BarStyleMarker;
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* A single Bullet Chart target. Either a primitive resolvable value (number /
|
|
@@ -139,7 +139,7 @@ export interface BulletChartTargetDefinition {
|
|
|
139
139
|
/**
|
|
140
140
|
* Per-target marker override. Falls back to `BulletChartTargetProperties.Marker`.
|
|
141
141
|
*/
|
|
142
|
-
Marker?:
|
|
142
|
+
Marker?: BarStyleMarker;
|
|
143
143
|
/**
|
|
144
144
|
* Optional label displayed in the tooltip alongside the marker value.
|
|
145
145
|
*/
|
package/src/AdaptableState/StyledColumns/Common/{BarChartCellText.d.ts → BarStyleProperties.d.ts}
RENAMED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marker primitives shared by bar-chart-style Styled Columns —
|
|
3
|
+
* Bullet Chart target markers and Range Bar value / reference markers.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Visual style of a marker drawn on a bar-chart-style track or bar — used by
|
|
7
|
+
* Bullet Chart target markers and Range Bar value / reference markers.
|
|
8
|
+
*/
|
|
9
|
+
export interface BarStyleMarker {
|
|
10
|
+
/**
|
|
11
|
+
* Marker shape.
|
|
12
|
+
*/
|
|
13
|
+
Shape?: 'Line' | 'Triangle' | 'Dot' | 'Diamond';
|
|
14
|
+
/**
|
|
15
|
+
* Marker colour. Defaults to the current text colour.
|
|
16
|
+
*
|
|
17
|
+
* @defaultValue 'var(--ab-color-text)'
|
|
18
|
+
*/
|
|
19
|
+
Color?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Line thickness (for `Shape: 'Line'`) or shape size in px.
|
|
22
|
+
*/
|
|
23
|
+
Size?: number;
|
|
24
|
+
}
|
|
1
25
|
/**
|
|
2
26
|
* Per-value cell-text overlay layout shared by Percent Bar, Bullet Chart
|
|
3
27
|
* and Range Bar styles. Each token (`CellValue`, `PercentValue`) can be
|
|
@@ -6,29 +30,29 @@
|
|
|
6
30
|
/**
|
|
7
31
|
* Horizontal alignment for cell text (Cell or Percent) in Percent, Range Bar & Bullet styles (Left, Center, Right)
|
|
8
32
|
*/
|
|
9
|
-
export type
|
|
33
|
+
export type BarStyleCellTextHorizontalAlignment = 'Left' | 'Center' | 'Right';
|
|
10
34
|
/**
|
|
11
35
|
* Vertical alignment for cell text value relative to bar/chart (Above, Below, Merged)
|
|
12
36
|
*/
|
|
13
|
-
export type
|
|
37
|
+
export type BarStyleCellTextVerticalAlignment = 'Above' | 'Below' | 'Merged';
|
|
14
38
|
/**
|
|
15
39
|
* Placement of cell text value (Cell or Percent) around the bar/chart
|
|
16
40
|
*
|
|
17
41
|
* @defaultValue `{ Horizontal: 'Left', Vertical: 'Below' }`
|
|
18
42
|
*/
|
|
19
|
-
export interface
|
|
43
|
+
export interface BarStyleCellTextPlacement {
|
|
20
44
|
/**
|
|
21
45
|
* Horizontal alignment within its vertical band.
|
|
22
46
|
*
|
|
23
47
|
* @defaultValue 'Left'
|
|
24
48
|
*/
|
|
25
|
-
Horizontal?:
|
|
49
|
+
Horizontal?: BarStyleCellTextHorizontalAlignment;
|
|
26
50
|
/**
|
|
27
51
|
* Vertical position relative to the bar/chart.
|
|
28
52
|
*
|
|
29
53
|
* @defaultValue 'Below'
|
|
30
54
|
*/
|
|
31
|
-
Vertical?:
|
|
55
|
+
Vertical?: BarStyleCellTextVerticalAlignment;
|
|
32
56
|
}
|
|
33
57
|
/**
|
|
34
58
|
* Per-value cell-text layout: each value (Cell Value, Percent Value) can be
|
|
@@ -38,23 +62,23 @@ export interface BarChartCellTextPlacement {
|
|
|
38
62
|
* same horizontal slot at the same vertical position they are concatenated with
|
|
39
63
|
* a single space (Cell Value first, then Percent Value).
|
|
40
64
|
*/
|
|
41
|
-
export interface
|
|
65
|
+
export interface BarStyleCellTextLayout {
|
|
42
66
|
/**
|
|
43
67
|
* Placement of the formatted cell value.
|
|
44
68
|
*/
|
|
45
|
-
CellValue?:
|
|
69
|
+
CellValue?: BarStyleCellTextPlacement;
|
|
46
70
|
/**
|
|
47
71
|
* Placement of the percent value (the cell value's position along the bar's
|
|
48
72
|
* `[min, max]` scale as a 0–100% reading).
|
|
49
73
|
*/
|
|
50
|
-
PercentValue?:
|
|
74
|
+
PercentValue?: BarStyleCellTextPlacement;
|
|
51
75
|
}
|
|
52
76
|
/**
|
|
53
77
|
* Cell-text overlay configuration shared by Percent Bar, Range Bar and Bullet Chart.
|
|
54
78
|
*/
|
|
55
|
-
export interface
|
|
79
|
+
export interface BarStyleCellTextProperties {
|
|
56
80
|
/**
|
|
57
81
|
* Per-value placement on the 3 × 3 grid around / on the bar/chart.
|
|
58
82
|
*/
|
|
59
|
-
CellTextLayout?:
|
|
83
|
+
CellTextLayout?: BarStyleCellTextLayout;
|
|
60
84
|
}
|
|
@@ -4,7 +4,7 @@ import { NumericStyledColumn } from './Common/NumericStyledColumn';
|
|
|
4
4
|
/**
|
|
5
5
|
* Colours for a zero-centred diverging gradient: negative and positive bands that meet at `0`
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface ZeroCentredColors {
|
|
8
8
|
/**
|
|
9
9
|
* Colour applied to negative cell values (`Col-Min`…`0`)
|
|
10
10
|
*/
|
|
@@ -21,7 +21,7 @@ export interface GradientStyle extends NumericStyledColumn {
|
|
|
21
21
|
/**
|
|
22
22
|
* Zero-centred diverging gradient (`Col-Min`…`0` and `0`…`Col-Max`
|
|
23
23
|
*/
|
|
24
|
-
ZeroCentred?:
|
|
24
|
+
ZeroCentred?: ZeroCentredColors;
|
|
25
25
|
/**
|
|
26
26
|
* Alpha (0–1) at **low** end of the matched range’s scale
|
|
27
27
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CellFontStyle } from '../Common/AdaptableStyle';
|
|
2
|
-
import {
|
|
2
|
+
import { BarStyleCellTextProperties } from './Common/BarStyleProperties';
|
|
3
3
|
import { CellTextOptions } from './Common/CellTextOptions';
|
|
4
4
|
import { NumericStyledColumn } from './Common/NumericStyledColumn';
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export interface PercentBarStyle extends NumericStyledColumn {
|
|
|
9
9
|
/**
|
|
10
10
|
* Optional cell-text overlay configuration (display tokens, position, layout, alignment).
|
|
11
11
|
*/
|
|
12
|
-
CellTextProperties?:
|
|
12
|
+
CellTextProperties?: BarStyleCellTextProperties;
|
|
13
13
|
/**
|
|
14
14
|
* Whether Tooltip shows Cell Value, Percent Value, both or none
|
|
15
15
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BarStyleCellTextProperties } from './Common/BarStyleProperties';
|
|
2
|
+
import { BarStyleMarker } from './Common/BarStyleProperties';
|
|
3
3
|
import { CellTextOptions } from './Common/CellTextOptions';
|
|
4
4
|
import { DynamicRangeEndpoint, NumericStyledColumn } from './Common/NumericStyledColumn';
|
|
5
5
|
/**
|
|
@@ -62,7 +62,7 @@ export interface RangeBarStyle extends NumericStyledColumn {
|
|
|
62
62
|
*
|
|
63
63
|
* @defaultValue `{ Shape: 'Diamond', Color: 'var(--ab-color-accent)', Size: 8 }`
|
|
64
64
|
*/
|
|
65
|
-
Marker?:
|
|
65
|
+
Marker?: BarStyleMarker;
|
|
66
66
|
/**
|
|
67
67
|
* Behaviour when the cell value falls outside `[Min, Max]`, plus the
|
|
68
68
|
* optional marker colour override used by `Mode: 'Clamp'`.
|
|
@@ -88,7 +88,7 @@ export interface RangeBarStyle extends NumericStyledColumn {
|
|
|
88
88
|
/**
|
|
89
89
|
* Optional cell-text overlay configuration.
|
|
90
90
|
*/
|
|
91
|
-
CellTextProperties?:
|
|
91
|
+
CellTextProperties?: BarStyleCellTextProperties;
|
|
92
92
|
/**
|
|
93
93
|
* Tooltip content — same tokens (`'CellValue'`, `'PercentageValue'`)
|
|
94
94
|
* as Percent Bar / Bullet Chart.
|
|
@@ -110,7 +110,7 @@ export interface RangeBarReferenceProperties {
|
|
|
110
110
|
*
|
|
111
111
|
* @defaultValue `{ Shape: 'Line', Color: 'var(--ab-color-foreground)', Size: 2 }`
|
|
112
112
|
*/
|
|
113
|
-
Marker?:
|
|
113
|
+
Marker?: BarStyleMarker;
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* Out-of-range behaviour for a Range Bar.
|
|
@@ -8,7 +8,7 @@ import { isAdaptableCellChangedAlert, isAdaptableRowChangedAlert, } from '../../
|
|
|
8
8
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
9
9
|
import { AlertInternalApi } from '../Internal/AlertInternalApi';
|
|
10
10
|
import { resolveContainerElement } from '../../Utilities/resolveContainerElement';
|
|
11
|
-
import { isRuleBasedAlertDefinition } from '../../Utilities/Helpers/ScheduledAlertHelper';
|
|
11
|
+
import { isRuleBasedAlertDefinition } from '../../Utilities/Helpers/Scheduling/ScheduledAlertHelper';
|
|
12
12
|
export class AlertApiImpl extends ApiBase {
|
|
13
13
|
internalApi;
|
|
14
14
|
constructor(_adaptable) {
|
|
@@ -4,7 +4,7 @@ import { ChartingGetChartModels } from './../../Redux/ActionsReducers/ChartingRe
|
|
|
4
4
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
5
5
|
import { ChartingInternalApi } from '../Internal/ChartingInternalApi';
|
|
6
6
|
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
7
|
-
import { validateChartName } from '../../Utilities/Helpers/
|
|
7
|
+
import { validateChartName } from '../../Utilities/Helpers/ChartHelper';
|
|
8
8
|
export class ChartingApiImpl extends ApiBase {
|
|
9
9
|
/**
|
|
10
10
|
* @internal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ExportRedux from '../../Redux/ActionsReducers/ExportRedux';
|
|
2
|
-
import { getScheduledReports } from '../../Utilities/Helpers/ScheduledReportHelper';
|
|
2
|
+
import { getScheduledReports } from '../../Utilities/Helpers/Scheduling/ScheduledReportHelper';
|
|
3
3
|
import { ApiBase } from './ApiBase';
|
|
4
4
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
5
5
|
import { ExportInternalApi } from '../Internal/ExportInternalApi';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import isEqual from '../../Utilities/
|
|
1
|
+
import { isEqual } from '../../Utilities/Extensions/ObjectExtensions';
|
|
2
2
|
import { isPivotLayoutModel } from '../../layout-manager/src/isPivotLayoutModel';
|
|
3
3
|
import { normalizeTableLayoutModel, normalizePivotLayoutModel, } from '../../layout-manager/src/normalizeLayoutModel';
|
|
4
4
|
import { simplifyTableLayoutModel, simplifyPivotLayoutModel, } from '../../layout-manager/src/simplifyLayoutModel';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as QuickSearchRedux from '../../Redux/ActionsReducers/QuickSearchRedux';
|
|
2
2
|
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
3
3
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
4
|
-
import { resolveQuickSearchCellMatchStyle, resolveQuickSearchCurrentTextMatchStyle, resolveQuickSearchTextMatchStyle, } from '../../Utilities/Helpers/
|
|
4
|
+
import { resolveQuickSearchCellMatchStyle, resolveQuickSearchCurrentTextMatchStyle, resolveQuickSearchTextMatchStyle, } from '../../Utilities/Helpers/QuickSearchHelper';
|
|
5
5
|
import { ApiBase } from './ApiBase';
|
|
6
6
|
export class QuickSearchApiImpl extends ApiBase {
|
|
7
7
|
getQuickSearchState() {
|
|
@@ -4,7 +4,7 @@ import { ApiBase } from './ApiBase';
|
|
|
4
4
|
import { ThemeInternalApi } from '../Internal/ThemeInternalApi';
|
|
5
5
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
6
6
|
import { logDeprecation } from '../../Utilities/logDeprecation';
|
|
7
|
-
import { systemThemeEntryToAdaptableTheme } from '../../Utilities/Helpers/
|
|
7
|
+
import { systemThemeEntryToAdaptableTheme } from '../../Utilities/Helpers/ThemeHelper';
|
|
8
8
|
export class ThemeApiImpl extends ApiBase {
|
|
9
9
|
internalApi;
|
|
10
10
|
constructor(_adaptable) {
|
|
@@ -2,7 +2,7 @@ import { ApiBase } from '../Implementation/ApiBase';
|
|
|
2
2
|
import { createUuid } from '../../AdaptableState/Uuid';
|
|
3
3
|
import { ActionColumnRenderer, ReactActionColumnRenderer, } from '../../agGrid/cellRenderers/ActionColumnRenderer';
|
|
4
4
|
import { ACTION_COLUMN_TYPE } from '../../AdaptableState/Common/AdaptableColumn';
|
|
5
|
-
import { calculateActionColumnWidth } from '../../Utilities/Helpers/
|
|
5
|
+
import { calculateActionColumnWidth } from '../../Utilities/Helpers/ActionColumnHelper';
|
|
6
6
|
export class ActionColumnInternalApi extends ApiBase {
|
|
7
7
|
getColDefsForActionColumns() {
|
|
8
8
|
const defaultSpecialColumnSettings = this.getGridApi().internalApi.deriveSpecialColumnSettingsFromAgGridDefaultColDef();
|
|
@@ -5,7 +5,7 @@ import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
|
5
5
|
import { AlertModuleId } from '../../Utilities/Constants/ModuleConstants';
|
|
6
6
|
import { isCellDataChangedInfo } from '../../Utilities/Services/Interface/IAlertService';
|
|
7
7
|
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
8
|
-
import { isRuleBasedAlertDefinition, getRuleAlertProperties, } from '../../Utilities/Helpers/ScheduledAlertHelper';
|
|
8
|
+
import { isRuleBasedAlertDefinition, getRuleAlertProperties, } from '../../Utilities/Helpers/Scheduling/ScheduledAlertHelper';
|
|
9
9
|
import Helper from '../../Utilities/Helpers/Helper';
|
|
10
10
|
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
11
11
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
|
-
import { isChartNameTaken } from '../../Utilities/Helpers/
|
|
2
|
+
import { isChartNameTaken } from '../../Utilities/Helpers/ChartHelper';
|
|
3
3
|
export class ChartingInternalApi extends ApiBase {
|
|
4
4
|
getContainerElement(chartContainer) {
|
|
5
5
|
const element = typeof chartContainer?.element === 'string'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
2
|
import { AG_GRID_GROUPED_COLUMN } from '../../Utilities/Constants/GeneralConstants';
|
|
3
|
-
import uniq from '../../Utilities/
|
|
3
|
+
import { uniq } from '../../Utilities/Extensions/ArrayExtensions';
|
|
4
4
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
5
5
|
import { isPivotGrandTotal, isPivotResultColumn } from '../Implementation/ColumnApiImpl';
|
|
6
6
|
import { destructurePivotColumnId } from '../../layout-manager/src/destructurePivotColumnId';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
|
-
import isEqual from '../../Utilities/
|
|
2
|
+
import { isEqual } from '../../Utilities/Extensions/ObjectExtensions';
|
|
3
3
|
export class EventInternalApi extends ApiBase {
|
|
4
4
|
fireGridSortedEvent() {
|
|
5
5
|
if (this.isAdapTableReady()) {
|
|
@@ -3,7 +3,7 @@ import { createGrid, } from 'ag-grid-enterprise';
|
|
|
3
3
|
import { createUuid } from '../../AdaptableState/Uuid';
|
|
4
4
|
import { ALL_DATA_REPORT, CURRENT_LAYOUT_REPORT, SELECTED_DATA_REPORT, SYSTEM_EXPORT_DESTINATIONS, SYSTEM_REPORT_NAMES, } from '../../Utilities/Constants/GeneralConstants';
|
|
5
5
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
6
|
-
import { DateFormatter } from '../../Utilities/Helpers/
|
|
6
|
+
import { DateFormatter } from '../../Utilities/Helpers/DisplayFormatHelper';
|
|
7
7
|
import Helper from '../../Utilities/Helpers/Helper';
|
|
8
8
|
import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
|
|
9
9
|
import { SystemExportBegin, SystemExportEnd } from '../../Redux/ActionsReducers/InternalRedux';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
2
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
3
|
-
import FormatHelper from '../../Utilities/Helpers/
|
|
3
|
+
import FormatHelper from '../../Utilities/Helpers/DisplayFormatHelper';
|
|
4
4
|
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
5
5
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
6
6
|
import { errorOnce } from '../../agGrid/AdaptableLogger';
|
|
@@ -3,7 +3,7 @@ import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
|
3
3
|
import { getDateComparatorForGridCell, getGenericComparatorForGridCell, getNumericComparatorForGridCell, sortCellValueArrayNumeric, sortCellValueArrayDates, sortCellValueArray, } from '../../Utilities/Extensions/ArrayExtensions';
|
|
4
4
|
import { multisort } from '@infinite-table/infinite-react';
|
|
5
5
|
import { convertAdaptableStyleToCSS } from '../../Utilities/Helpers/StyleHelper';
|
|
6
|
-
import { getRuleAlertProperties } from '../../Utilities/Helpers/ScheduledAlertHelper';
|
|
6
|
+
import { getRuleAlertProperties } from '../../Utilities/Helpers/Scheduling/ScheduledAlertHelper';
|
|
7
7
|
import UIHelper from '../../View/UIHelper';
|
|
8
8
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
9
9
|
export class GridInternalApi extends ApiBase {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
2
2
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
3
|
-
import { expandGradientCellRanges, gradientStyleRangeLookupValueType } from '../../Utilities/Helpers/
|
|
3
|
+
import { expandGradientCellRanges, gradientStyleRangeLookupValueType } from '../../Utilities/Helpers/StyledColumns/GradientStyleHelper';
|
|
4
4
|
const DYNAMIC_RANGE_ENDPOINTS = [
|
|
5
5
|
'Col-Min',
|
|
6
6
|
'Col-Max',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EMPTY_ARRAY } from '../../Utilities/Constants/GeneralConstants';
|
|
2
2
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
3
|
-
import { ensureExportStateSchedulesUuids, normalizeScheduledReportSchedule, replaceScheduledReportScheduleInList, } from '../../Utilities/Helpers/ScheduledReportHelper';
|
|
3
|
+
import { ensureExportStateSchedulesUuids, normalizeScheduledReportSchedule, replaceScheduledReportScheduleInList, } from '../../Utilities/Helpers/Scheduling/ScheduledReportHelper';
|
|
4
4
|
import { changeIsSuspendInList } from './utils';
|
|
5
5
|
/**
|
|
6
6
|
* @ReduxAction A Report has been selected
|
|
@@ -2,7 +2,7 @@ import { EMPTY_ARRAY, EMPTY_STRING } from '../../Utilities/Constants/GeneralCons
|
|
|
2
2
|
import { CELL_SUMMARY_DEFAULT_OPERATION } from '../../Utilities/Constants/ReduxConstants';
|
|
3
3
|
import { MathOperation } from '../../AdaptableState/Common/Enums';
|
|
4
4
|
import { cloneObject } from '../../Utilities/Helpers/Helper';
|
|
5
|
-
import { getRuleAlertProperties } from '../../Utilities/Helpers/ScheduledAlertHelper';
|
|
5
|
+
import { getRuleAlertProperties } from '../../Utilities/Helpers/Scheduling/ScheduledAlertHelper';
|
|
6
6
|
import { AnnotationsService } from '../../Utilities/Services/AnnotationsService';
|
|
7
7
|
/*
|
|
8
8
|
Bit of a mixed bag of actions but essentially its those that are related to Strategies but where we DONT want to persist state
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import debounce from '../../Utilities/
|
|
1
|
+
import { debounce } from '../../Utilities/Helpers/TimingHelper';
|
|
2
2
|
import { MergeStateFunction } from './AdaptableReduxMerger';
|
|
3
3
|
import { AdaptableLogger } from '../../agGrid/AdaptableLogger';
|
|
4
4
|
import { buildAdaptableStateFunctionConfig } from './buildAdaptableStateFunctionConfig';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import merge from '../../Utilities/
|
|
3
|
-
import isArray from '../../Utilities/utils/isArray';
|
|
4
|
-
import isObject from '../../Utilities/utils/isObject';
|
|
1
|
+
import { isArray } from '../../Utilities/Extensions/ArrayExtensions';
|
|
2
|
+
import { isObject, merge, mergeWith, } from '../../Utilities/Extensions/ObjectExtensions';
|
|
5
3
|
import { AdaptableLogger } from '../../agGrid/AdaptableLogger';
|
|
6
4
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
7
5
|
function customizer(objValue, srcValue) {
|
|
@@ -5,9 +5,9 @@ import { PROGRESS_INDICATOR_HIDE, PROGRESS_INDICATOR_SHOW } from '../ActionsRedu
|
|
|
5
5
|
import { createEngine as createEngineLocal } from './AdaptableReduxLocalStorageEngine';
|
|
6
6
|
import { mergeReducer } from './AdaptableReduxMerger';
|
|
7
7
|
import { isAdaptableCellChangedAlert, isAdaptableRowChangedAlert, } from '../../AdaptableState/Common/AdaptableAlert';
|
|
8
|
-
import { closeAgChartDefinitionIfOpen, closeExternalChartDefinitionIfOpen, } from '../../Utilities/Helpers/
|
|
9
|
-
import { refreshScheduledAlertJobs, refreshScheduledReportJobs, } from '../../Utilities/Helpers/ScheduledJobsMiddlewareHelper';
|
|
10
|
-
import { getRuleAlertProperties, isScheduledAlertDefinition, } from '../../Utilities/Helpers/ScheduledAlertHelper';
|
|
8
|
+
import { closeAgChartDefinitionIfOpen, closeExternalChartDefinitionIfOpen, } from '../../Utilities/Helpers/ChartHelper';
|
|
9
|
+
import { refreshScheduledAlertJobs, refreshScheduledReportJobs, } from '../../Utilities/Helpers/Scheduling/ScheduledJobsMiddlewareHelper';
|
|
10
|
+
import { getRuleAlertProperties, isScheduledAlertDefinition, } from '../../Utilities/Helpers/Scheduling/ScheduledAlertHelper';
|
|
11
11
|
import { ERROR_LAYOUT } from '../../Utilities/Constants/GeneralConstants';
|
|
12
12
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
13
13
|
import Emitter from '../../Utilities/Emitter';
|
|
@@ -3,7 +3,7 @@ import { IModule, ModuleInfo, TeamSharingReferences } from './Interface/IModule'
|
|
|
3
3
|
import { Action } from 'redux';
|
|
4
4
|
import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
|
|
5
5
|
import { ModuleParams } from '../View/Components/SharedProps/ModuleViewPopupProps';
|
|
6
|
-
import { MenuItemShowPopup, MenuItemDoReduxAction, MenuItemDoClickFunction } from '../
|
|
6
|
+
import { MenuItemShowPopup, MenuItemDoReduxAction, MenuItemDoClickFunction } from '../AdaptableState/Common/MenuItem';
|
|
7
7
|
import { AdaptableMenuItem, AdaptableContextMenuItemName, ContextMenuContext, AdaptableColumnMenuItemName } from '../AdaptableState/Common/Menu';
|
|
8
8
|
import { AdaptableModule } from '../AdaptableState/Common/Types';
|
|
9
9
|
import { TeamSharingImportInfo } from '../AdaptableState/TeamSharingState';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuItemShowPopup, MenuItemDoReduxAction, MenuItemDoClickFunction, } from '../
|
|
1
|
+
import { MenuItemShowPopup, MenuItemDoReduxAction, MenuItemDoClickFunction, } from '../AdaptableState/Common/MenuItem';
|
|
2
2
|
import ArrayExtensions from '../Utilities/Extensions/ArrayExtensions';
|
|
3
3
|
import { ACCESS_LEVEL_FULL, ACCESS_LEVEL_HIDDEN, ACCESS_LEVEL_READ_ONLY, } from '../Utilities/Constants/GeneralConstants';
|
|
4
4
|
/**
|
|
@@ -4,7 +4,7 @@ import { AdaptableAlert } from '../AdaptableState/Common/AdaptableAlert';
|
|
|
4
4
|
import { AdaptableObject } from '../AdaptableState/Common/AdaptableObject';
|
|
5
5
|
import { ContextMenuContext } from '../AdaptableState/Common/Menu';
|
|
6
6
|
import { TeamSharingImportInfo } from '../AdaptableState/TeamSharingState';
|
|
7
|
-
import { MenuItemShowPopup } from '../
|
|
7
|
+
import { MenuItemShowPopup } from '../AdaptableState/Common/MenuItem';
|
|
8
8
|
import { LayoutExtendedConfig } from '../types';
|
|
9
9
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
10
10
|
import { ICellDataChangeListenerModule } from './Interface/ICellDataChangeListenerModule';
|
|
@@ -15,8 +15,8 @@ import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
|
15
15
|
import { getAlertBehaviourViewItems } from './Utilities/Alert/getAlertBehaviourViewItems';
|
|
16
16
|
import { getAlertPreviewViewItems } from './Utilities/Alert/getAlertPreviewViewItems';
|
|
17
17
|
import { getAlertTypeViewItems } from './Utilities/Alert/getAlertTypeViewItems';
|
|
18
|
-
import { getActiveScheduledAlertDefinitions, isRuleBasedAlertDefinition, isScheduledAlertDefinition, } from '../Utilities/Helpers/ScheduledAlertHelper';
|
|
19
|
-
import { createScheduleJobManager } from '../Utilities/Helpers/ScheduleJobManager';
|
|
18
|
+
import { getActiveScheduledAlertDefinitions, isRuleBasedAlertDefinition, isScheduledAlertDefinition, } from '../Utilities/Helpers/Scheduling/ScheduledAlertHelper';
|
|
19
|
+
import { createScheduleJobManager } from '../Utilities/Helpers/Scheduling/ScheduleJobManager';
|
|
20
20
|
import UIHelper from '../View/UIHelper';
|
|
21
21
|
export class AlertModule extends AdaptableModuleBase {
|
|
22
22
|
isListeningToCellDataChanges;
|