@adaptabletools/adaptable 16.0.0-canary.2 → 16.0.0-canary.3

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.
Files changed (135) hide show
  1. package/base.css +31 -31
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +155 -155
  4. package/index.css +39 -39
  5. package/index.css.map +1 -1
  6. package/package.json +1 -1
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -1
  10. package/src/AdaptableOptions/ActionRowOptions.d.ts +8 -5
  11. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +6 -2
  12. package/src/AdaptableOptions/FilterOptions.d.ts +1 -0
  13. package/src/AdaptableOptions/FormatColumnOptions.d.ts +7 -7
  14. package/src/AdaptableOptions/GroupingOptions.d.ts +0 -13
  15. package/src/AdaptableOptions/QuickSearchOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/TeamSharingOptions.d.ts +5 -0
  17. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +15 -5
  18. package/src/Api/ColumnApi.d.ts +18 -7
  19. package/src/Api/DataChangeHistoryApi.d.ts +6 -0
  20. package/src/Api/EventApi.d.ts +19 -6
  21. package/src/Api/Events/ChexboxColumnClicked.d.ts +1 -0
  22. package/src/Api/Events/ScheduleTriggered.d.ts +11 -0
  23. package/src/Api/Events/ScheduleTriggered.js +2 -0
  24. package/src/Api/Implementation/ActionRowApiImpl.js +7 -5
  25. package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -0
  26. package/src/Api/Implementation/ChartingApiImpl.js +4 -0
  27. package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -1
  28. package/src/Api/Implementation/ColumnApiImpl.js +22 -3
  29. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  30. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +3 -0
  31. package/src/Api/Implementation/PredicateApiImpl.d.ts +5 -5
  32. package/src/Api/Implementation/PredicateApiImpl.js +8 -8
  33. package/src/Api/Implementation/ScheduleApiImpl.d.ts +4 -0
  34. package/src/Api/Implementation/ScheduleApiImpl.js +5 -0
  35. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +0 -3
  36. package/src/Api/Implementation/StyledColumnApiImpl.js +0 -26
  37. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -4
  38. package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -0
  39. package/src/Api/Internal/AdaptableInternalApi.js +2 -2
  40. package/src/Api/Internal/AlertInternalApi.js +7 -2
  41. package/src/Api/Internal/FilterInternalApi.js +8 -4
  42. package/src/Api/Internal/FormatColumnInternalApi.js +11 -13
  43. package/src/Api/Internal/ScheduleInternalApi.d.ts +8 -0
  44. package/src/Api/Internal/ScheduleInternalApi.js +20 -0
  45. package/src/Api/Internal/StyledColumnInternalApi.d.ts +5 -2
  46. package/src/Api/Internal/StyledColumnInternalApi.js +29 -2
  47. package/src/Api/Internal/UserInterfaceInternalApi.d.ts +5 -0
  48. package/src/Api/Internal/UserInterfaceInternalApi.js +18 -0
  49. package/src/Api/OptionsApi.d.ts +1 -1
  50. package/src/Api/PredicateApi.d.ts +5 -5
  51. package/src/Api/StyledColumnApi.d.ts +0 -14
  52. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
  53. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +7 -7
  54. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +8 -15
  55. package/src/PredefinedConfig/Common/AdaptablePredicate.js +65 -41
  56. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  57. package/src/PredefinedConfig/StyledColumnState.d.ts +3 -2
  58. package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
  59. package/src/Redux/ActionsReducers/SystemRedux.d.ts +5 -0
  60. package/src/Redux/ActionsReducers/SystemRedux.js +17 -3
  61. package/src/Redux/Store/AdaptableStore.js +1 -2
  62. package/src/Strategy/AdaptableModuleBase.d.ts +6 -6
  63. package/src/Strategy/FlashingCellModule.js +6 -2
  64. package/src/Strategy/Interface/IModule.d.ts +2 -2
  65. package/src/Strategy/ScheduleModule.js +3 -2
  66. package/src/Strategy/StyledColumnModule.js +24 -15
  67. package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
  68. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +4 -2
  69. package/src/Utilities/MenuItem.d.ts +4 -4
  70. package/src/Utilities/Services/MetamodelService.js +5 -1
  71. package/src/Utilities/Services/ModuleService.js +1 -1
  72. package/src/Utilities/Services/QueryLanguageService.js +1 -1
  73. package/src/Utilities/Services/RowEditService.js +1 -1
  74. package/src/Utilities/Services/TeamSharingService.d.ts +2 -0
  75. package/src/Utilities/Services/TeamSharingService.js +60 -3
  76. package/src/Utilities/Services/ValidationService.js +6 -2
  77. package/src/View/Charting/useChartingElements.js +1 -1
  78. package/src/View/Components/AdaptableButton/index.d.ts +3 -0
  79. package/src/View/Components/AdaptableButton/index.js +18 -0
  80. package/src/View/Components/AdaptableIconComponent/index.d.ts +7 -0
  81. package/src/View/Components/AdaptableIconComponent/index.js +16 -0
  82. package/src/View/Components/AdaptableIconComponent/useCustomIcon.d.ts +2 -0
  83. package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +12 -0
  84. package/src/{components → View/Components}/Badge/index.d.ts +1 -1
  85. package/src/{components → View/Components}/Badge/index.js +1 -1
  86. package/src/View/Components/FilterForm/FilterForm.js +1 -1
  87. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  88. package/src/View/Components/FilterForm/QuickFilterForm.js +3 -2
  89. package/src/View/Components/Panels/PanelWithButton.d.ts +2 -2
  90. package/src/View/Components/Panels/PanelWithImage.d.ts +3 -3
  91. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
  92. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +2 -3
  93. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  94. package/src/View/Components/PredicateEditor/PredicateEditor.js +4 -4
  95. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -2
  96. package/src/View/Dashboard/Dashboard.js +3 -3
  97. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -0
  98. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +13 -7
  99. package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -1
  100. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
  101. package/src/View/DataChangeHistory/buildActionColumnButton.js +9 -2
  102. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +1 -1
  103. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -2
  104. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
  105. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -5
  106. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +2 -9
  107. package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +0 -1
  108. package/src/View/UIHelper.d.ts +2 -2
  109. package/src/agGrid/ActionColumnRenderer.d.ts +0 -2
  110. package/src/agGrid/ActionColumnRenderer.js +20 -5
  111. package/src/agGrid/Adaptable.d.ts +5 -2
  112. package/src/agGrid/Adaptable.js +61 -25
  113. package/src/agGrid/BadgeRenderer.js +19 -20
  114. package/src/agGrid/CheckboxRenderer.js +1 -1
  115. package/src/agGrid/agGridHelper.js +2 -0
  116. package/src/agGrid/agGridMenuHelper.js +11 -4
  117. package/src/agGrid/attachAddaptableColumnTypes.d.ts +1 -0
  118. package/src/agGrid/attachAddaptableColumnTypes.js +5 -4
  119. package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
  120. package/src/components/Icon/index.d.ts +11 -0
  121. package/src/components/{AdaptableIconComponent → Icon}/index.js +10 -10
  122. package/src/components/IconSelector/IconSelector.js +3 -3
  123. package/src/components/SimpleButton/index.js +10 -10
  124. package/src/components/Toggle/Toggle.d.ts +2 -2
  125. package/src/components/Toggle/Toggle.js +2 -2
  126. package/src/components/icons/index.d.ts +4 -4
  127. package/src/components/icons/index.js +6 -6
  128. package/src/metamodel/adaptable.metamodel.d.ts +72 -31
  129. package/src/metamodel/adaptable.metamodel.js +1 -1
  130. package/src/types.d.ts +6 -5
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
  133. package/src/View/Components/AdaptableViewIcon/index.d.ts +0 -10
  134. package/src/View/Components/AdaptableViewIcon/index.js +0 -18
  135. package/src/components/AdaptableIconComponent/index.d.ts +0 -11
package/src/types.d.ts CHANGED
@@ -15,7 +15,7 @@ export type { TOAST_POSITIONS, NotificationsOptions, } from './AdaptableOptions/
15
15
  export type { AlertOptions, ActionHandler, AlertForm, AlertFormContext, AlertMessageContext, } from './AdaptableOptions/AlertOptions';
16
16
  export type { DashboardOptions, CustomToolbar, DashboardButtonContext, CustomToolbarButtonContext, } from './AdaptableOptions/DashboardOptions';
17
17
  export type { EditOptions, ValidationResult, SmartEditCustomOperation, SmartEditOperation, SmartEditOperationContext, ServerValidationContext, CellEditableContext, } from './AdaptableOptions/EditOptions';
18
- export type { ActionRowOptions, ActionRowButtonOptions, ActionRowFormOptions, ActionRowParamContext, ActionRowParamFieldContext, CreateActionRowFormContext, EditActionRowFormContext, ActionRowFormContext, ActionRowButtonType, ActionRowButtonConfigurationContext, ActionRowButtonsContext, } from './AdaptableOptions/ActionRowOptions';
18
+ export type { ActionRowOptions, ActionRowButtonOptions, ActionRowFormOptions, ActionRowParamContext, ActionRowParamFieldContext, CreateActionRowFormContext, EditActionRowFormContext, ActionRowFormContext, ActionRowButtonType, ActionRowButtonConfigurationContext, ActionRowButtonsContext, SetPrimaryKeyValueContext } from './AdaptableOptions/ActionRowOptions';
19
19
  export type { ActionColumnContext, ActionColumn, ActionColumnSettings, ActionColumnOptions, } from './AdaptableOptions/ActionColumnOptions';
20
20
  export type { ExportOptions, SystemExportDestination, SystemExportDestinations, CustomDestination, ExternalReport, PreProcessExportContext, AdaptableReportColumn, DataFormatType, ExportFormContext, ReportContext, ExportableColumnContext, } from './AdaptableOptions/ExportOptions';
21
21
  export type { DataSetOptions, DataSet, DataSetFormContext, } from './AdaptableOptions/DataSetOptions';
@@ -43,7 +43,7 @@ export type { FilterActionOnDataChange } from './PredefinedConfig/Common/FilterA
43
43
  export type { ConfigState } from './PredefinedConfig/ConfigState';
44
44
  export type { TeamSharingOptions, SharedEntitiesContext, } from './AdaptableOptions/TeamSharingOptions';
45
45
  export type { ToolPanelOptions, CustomToolPanel, ToolPanelButtonContext, CustomToolPanelButtonContext, } from './AdaptableOptions/ToolPanelOptions';
46
- export type { UserInterfaceOptions, BasePermittedValues, PermittedValues, EditLookUpPermittedValues, FilterPermittedValues, CustomSortPermittedValues, BulkUpdatePermittedValues, EditLookUpContext, PermittedValuesContext, FilterPermittedValuesContext, BulkUpdatePermittedValuesContext, GridInfoSections, GridInfoSection, ObjectTagsContext, } from './AdaptableOptions/UserInterfaceOptions';
46
+ export type { UserInterfaceOptions, BasePermittedValues, PermittedValues, EditLookUpPermittedValues, FilterPermittedValues, CustomSortPermittedValues, BulkUpdatePermittedValues, EditLookUpContext, PermittedValuesContext, FilterPermittedValuesContext, BulkUpdatePermittedValuesContext, GridInfoSections, GridInfoSection, ObjectTagsContext, CustomIcon, } from './AdaptableOptions/UserInterfaceOptions';
47
47
  export type { MenuOptions } from './AdaptableOptions/MenuOptions';
48
48
  export type { CustomSettingsPanel, SettingsPanelOptions, } from './AdaptableOptions/SettingsPanelOptions';
49
49
  export type { EntitlementOptions, EntitlementContext, DefaultAccessLevelContext, } from './AdaptableOptions/EntitlementOptions';
@@ -124,8 +124,9 @@ export type { AdaptableSearchState } from './Api/Events/AdaptableSearchState';
124
124
  export type { DataSetSelectedInfo } from './Api/Events/DataSetSelected';
125
125
  export type { SelectionChangedInfo } from './Api/Events/SelectionChanged';
126
126
  export type { AdaptableStateReloadedInfo } from './Api/Events/AdaptableStateReloaded';
127
- export type { ThemeChangedInfo } from './Api/Events/ThemeChanged';
127
+ export type { ThemeChangedInfo, ThemeEditedInfo } from './Api/Events/ThemeChanged';
128
128
  export type { DashboardChangedInfo } from './Api/Events/DashboardChanged';
129
+ export type { ScheduleTriggeredInfo } from './Api/Events/ScheduleTriggered';
129
130
  export type { AdaptableStateChangedInfo } from './Api/Events/AdaptableStateChanged';
130
131
  export type { AdaptableState, AdaptablePersistentState } from './PredefinedConfig/AdaptableState';
131
132
  export type { AlertDefinition, AlertProperties, AlertState, AlertButtonForm, AlertButton, AdaptableAlertAction, AlertDefinitionPredicate, AlertRule, AdaptableAlertQuery, SystemAlertPredicateId, SystemAlertPredicateIds, } from './PredefinedConfig/AlertState';
@@ -145,11 +146,11 @@ export type { AdaptableMessageType } from './PredefinedConfig/Common/AdaptableMe
145
146
  export type { AdaptableObject, AdaptableObjectTag, AdaptableObjectLookupCriteria, } from './PredefinedConfig/Common/AdaptableObject';
146
147
  export type { SuspendableObject } from './PredefinedConfig/Common/SuspendableObject';
147
148
  export type { AdaptableQuery, AdaptableAggregatedBooleanQuery, AdaptableAggregatedScalarQuery, AdaptableBooleanQuery, AdaptableObservableQuery, AdaptableScalarQuery, } from './PredefinedConfig/Common/AdaptableQuery';
148
- export type { AdaptablePredicate, AdaptableColumnPredicate, AdaptablePredicateDef, PredicateModuleScope, PredicateDefHandlerParams, PredicateDefInput, PredicateDefToStringParams, ColumnFilterDef, } from './PredefinedConfig/Common/AdaptablePredicate';
149
+ export type { AdaptablePredicate, AdaptableColumnPredicate, AdaptablePredicateDef, PredicateModuleScope, PredicateDefHandlerContext, PredicateDefInput, PredicateDefToStringParams, ColumnFilterDef, } from './PredefinedConfig/Common/AdaptablePredicate';
149
150
  export type { FDC3Context, InstrumentContext, InstrumentListContext, PositionContext, PortfolioContext, ContactContext, ContactListContext, CountryContext, OrganizationContext, AdaptableFDC3EventInfo, FDC3ContextType, CustomFDC3Context, ContextData, } from './PredefinedConfig/Common/FDC3Context';
150
151
  export type { AdaptableScope } from './PredefinedConfig/Common/AdaptableScope';
151
152
  export type { AdaptableStyle } from './PredefinedConfig/Common/AdaptableStyle';
152
- export type { AdaptableBaseIcon, AdaptableIcon, AdaptableInternalIcon, AdaptableExternalIcon, AdaptableInternalIconName, AdaptableElementIcon, } from './PredefinedConfig/Common/AdaptableIcon';
153
+ export type { AdaptableBaseIcon, AdaptableIcon, AdaptableSystemIcon, AdaptableCustomIcon, AdaptableSystemIconName, AdaptableElementIcon, } from './PredefinedConfig/Common/AdaptableIcon';
153
154
  export type { CellHighlightInfo } from './PredefinedConfig/Common/CellHighlightInfo';
154
155
  export type { RowHighlightInfo } from './PredefinedConfig/Common/RowHighlightInfo';
155
156
  export type { RowsHighlightInfo } from './PredefinedConfig/Common/RowsHighlightInfo';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "16.0.0-canary.2";
1
+ declare const _default: "16.0.0-canary.3";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '16.0.0-canary.2'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '16.0.0-canary.3'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { AdaptableIconComponentProps } from '../../../components/AdaptableIconComponent';
3
- export interface AdaptableViewIconProps extends AdaptableIconComponentProps {
4
- }
5
- /**
6
- * This component is a wrapper around AdaptableIconComponent
7
- * It connects to adaptable and handles custom icons
8
- * @param props
9
- */
10
- export declare const AdaptableViewIcon: React.FunctionComponent<AdaptableViewIconProps>;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdaptableViewIcon = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const AdaptableIconComponent_1 = require("../../../components/AdaptableIconComponent");
7
- const AdaptableContext_1 = require("../../AdaptableContext");
8
- /**
9
- * This component is a wrapper around AdaptableIconComponent
10
- * It connects to adaptable and handles custom icons
11
- * @param props
12
- */
13
- const AdaptableViewIcon = (_a) => {
14
- var iconProps = tslib_1.__rest(_a, []);
15
- const adaptable = (0, AdaptableContext_1.useAdaptable)();
16
- return React.createElement(AdaptableIconComponent_1.AdaptableIconComponent, Object.assign({}, iconProps));
17
- };
18
- exports.AdaptableViewIcon = AdaptableViewIcon;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { AdaptableElementIcon, AdaptableExternalIcon, AdaptableIcon, AdaptableInternalIcon } from '../../PredefinedConfig/Common/AdaptableIcon';
3
- export interface AdaptableIconComponentProps {
4
- icon: AdaptableIcon;
5
- iconClassName?: string;
6
- }
7
- export declare const AdaptableIconComponent: (props: AdaptableIconComponentProps) => JSX.Element;
8
- export declare const isAdaptableInternalIcon: (icon: unknown) => icon is AdaptableInternalIcon;
9
- export declare const isAdaptableExternalIcon: (icon: unknown) => icon is AdaptableExternalIcon;
10
- export declare const isAdaptableElementIcon: (icon: unknown) => icon is AdaptableElementIcon;
11
- export declare const isAdaptableIcon: (icon: unknown) => icon is AdaptableIcon;