@adaptabletools/adaptable 16.0.0-canary.2 → 16.0.0-canary.4
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/README.md +2 -0
- package/base.css +62 -54
- package/base.css.map +1 -1
- package/bundle.cjs.js +159 -159
- package/index.css +82 -70
- package/index.css.map +1 -1
- package/package.json +10 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +5 -1
- package/src/AdaptableOptions/ActionRowOptions.d.ts +8 -5
- package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
- package/src/AdaptableOptions/ColumnOptions.d.ts +1 -10
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +6 -2
- package/src/AdaptableOptions/Fdc3Options.d.ts +150 -0
- package/src/AdaptableOptions/Fdc3Options.js +5 -0
- package/src/AdaptableOptions/FilterOptions.d.ts +1 -0
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +9 -9
- package/src/AdaptableOptions/FormatColumnOptions.d.ts +7 -7
- package/src/AdaptableOptions/GroupingOptions.d.ts +6 -11
- package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +1 -1
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +5 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +21 -11
- package/src/Api/AdaptableApi.d.ts +7 -2
- package/src/Api/ColumnApi.d.ts +18 -7
- package/src/Api/DataChangeHistoryApi.d.ts +6 -0
- package/src/Api/EventApi.d.ts +22 -9
- package/src/Api/Events/ChexboxColumnClicked.d.ts +1 -0
- package/src/Api/Events/ScheduleTriggered.d.ts +11 -0
- package/src/Api/Events/ThemeChanged.d.ts +0 -6
- package/src/Api/Events/ThemeEdited.d.ts +11 -0
- package/src/Api/Events/ThemeEdited.js +2 -0
- package/src/Api/Fdc3Api.d.ts +83 -0
- package/src/Api/Fdc3Api.js +2 -0
- package/src/Api/FinanceApi.d.ts +12 -12
- package/src/Api/Implementation/ActionRowApiImpl.js +7 -5
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +3 -0
- package/src/Api/Implementation/ApiBase.d.ts +4 -0
- package/src/Api/Implementation/ApiBase.js +6 -0
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ChartingApiImpl.js +4 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -1
- package/src/Api/Implementation/ColumnApiImpl.js +22 -3
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +3 -0
- package/src/Api/Implementation/Fdc3ApiImpl.d.ts +26 -0
- package/src/Api/Implementation/Fdc3ApiImpl.js +79 -0
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
- package/src/Api/Implementation/OptionsApiImpl.js +3 -0
- package/src/Api/Implementation/PredicateApiImpl.d.ts +5 -5
- package/src/Api/Implementation/PredicateApiImpl.js +8 -8
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -0
- package/src/Api/Implementation/QuickSearchApiImpl.js +7 -0
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +4 -0
- package/src/Api/Implementation/ScheduleApiImpl.js +5 -0
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +0 -3
- package/src/Api/Implementation/StyledColumnApiImpl.js +0 -26
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -4
- package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -0
- package/src/Api/Internal/AdaptableInternalApi.d.ts +5 -3
- package/src/Api/Internal/AdaptableInternalApi.js +18 -12
- package/src/Api/Internal/AlertInternalApi.js +7 -2
- package/src/Api/Internal/Fdc3InternalApi.d.ts +11 -0
- package/src/Api/Internal/Fdc3InternalApi.js +72 -0
- package/src/Api/Internal/FilterInternalApi.js +8 -4
- package/src/Api/Internal/FormatColumnInternalApi.js +11 -13
- package/src/Api/Internal/ScheduleInternalApi.d.ts +8 -0
- package/src/Api/Internal/ScheduleInternalApi.js +20 -0
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +5 -2
- package/src/Api/Internal/StyledColumnInternalApi.js +29 -2
- package/src/Api/Internal/UserInterfaceInternalApi.d.ts +5 -0
- package/src/Api/Internal/UserInterfaceInternalApi.js +18 -0
- package/src/Api/OptionsApi.d.ts +6 -1
- package/src/Api/PredicateApi.d.ts +5 -5
- package/src/Api/QuickSearchApi.d.ts +8 -0
- package/src/Api/StyledColumnApi.d.ts +0 -14
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +7 -7
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +8 -15
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +65 -41
- package/src/PredefinedConfig/Common/{FDC3Context.d.ts → FDC3Context_DEPR.d.ts} +19 -19
- package/src/PredefinedConfig/Common/FDC3Context_DEPR.js +2 -0
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +53 -0
- package/src/PredefinedConfig/Common/Fdc3Context.js +35 -0
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +68 -0
- package/src/PredefinedConfig/Common/Fdc3Intent.js +75 -0
- package/src/PredefinedConfig/Common/Types.d.ts +2 -2
- package/src/PredefinedConfig/StyledColumnState.d.ts +3 -2
- package/src/PredefinedConfig/SystemState.d.ts +3 -0
- package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +17 -6
- package/src/Redux/ActionsReducers/SystemRedux.js +33 -3
- package/src/Redux/Store/AdaptableStore.js +3 -4
- package/src/Strategy/AdaptableModuleBase.d.ts +6 -6
- package/src/Strategy/Fdc3Module.d.ts +13 -0
- package/src/Strategy/Fdc3Module.js +85 -0
- package/src/Strategy/FlashingCellModule.js +6 -2
- package/src/Strategy/Interface/IModule.d.ts +2 -2
- package/src/Strategy/ScheduleModule.js +3 -2
- package/src/Strategy/StyledColumnModule.js +24 -15
- package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
- package/src/Utilities/Constants/ModuleConstants.js +5 -2
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +9 -3
- package/src/Utilities/MenuItem.d.ts +4 -4
- package/src/Utilities/Services/Fdc3Service.d.ts +20 -0
- package/src/Utilities/Services/Fdc3Service.js +87 -0
- package/src/Utilities/Services/MetamodelService.js +5 -1
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.js +1 -1
- package/src/Utilities/Services/RowEditService.js +1 -1
- package/src/Utilities/Services/TeamSharingService.d.ts +2 -0
- package/src/Utilities/Services/TeamSharingService.js +60 -3
- package/src/Utilities/Services/ValidationService.js +6 -2
- package/src/View/AdaptableView.js +9 -7
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +9 -0
- package/src/View/Charting/useChartingElements.js +1 -1
- package/src/View/Components/AdaptableButton/index.d.ts +3 -0
- package/src/View/Components/AdaptableButton/index.js +18 -0
- package/src/View/Components/AdaptableIconComponent/index.d.ts +7 -0
- package/src/View/Components/AdaptableIconComponent/index.js +16 -0
- package/src/View/Components/AdaptableIconComponent/useCustomIcon.d.ts +2 -0
- package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +12 -0
- package/src/{components → View/Components}/Badge/index.d.ts +1 -1
- package/src/{components → View/Components}/Badge/index.js +1 -1
- package/src/View/Components/FilterForm/FilterForm.js +1 -1
- package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +3 -2
- package/src/View/Components/Panels/PanelWithButton.d.ts +2 -2
- package/src/View/Components/Panels/PanelWithImage.d.ts +3 -3
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +2 -3
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/PredicateEditor/PredicateEditor.js +4 -4
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -2
- package/src/View/Dashboard/Dashboard.js +3 -3
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -0
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +13 -7
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +7 -1
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +1 -1
- package/src/View/DataChangeHistory/buildActionColumnButton.js +9 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +1 -1
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.d.ts +2 -0
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +26 -0
- package/src/View/QuickSearch/QuickSearchInput.d.ts +6 -0
- package/src/View/QuickSearch/QuickSearchInput.js +22 -0
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +2 -5
- package/src/View/QuickSearch/QuickSearchViewPanel.js +5 -19
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -5
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +2 -9
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +0 -1
- package/src/View/UIHelper.d.ts +2 -2
- package/src/agGrid/ActionColumnRenderer.d.ts +0 -2
- package/src/agGrid/ActionColumnRenderer.js +21 -6
- package/src/agGrid/Adaptable.d.ts +7 -2
- package/src/agGrid/Adaptable.js +82 -37
- package/src/agGrid/BadgeRenderer.js +19 -20
- package/src/agGrid/CheckboxRenderer.js +1 -1
- package/src/agGrid/agGridHelper.js +4 -0
- package/src/agGrid/agGridMenuHelper.js +11 -4
- package/src/agGrid/attachAddaptableColumnTypes.d.ts +1 -0
- package/src/agGrid/attachAddaptableColumnTypes.js +5 -4
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
- package/src/components/Drawer/index.d.ts +6 -0
- package/src/components/Drawer/index.js +60 -0
- package/src/components/ExpressionEditor/index.js +4 -2
- package/src/components/Icon/index.d.ts +11 -0
- package/src/components/{AdaptableIconComponent → Icon}/index.js +10 -10
- package/src/components/IconSelector/IconSelector.js +3 -3
- package/src/components/SimpleButton/index.js +10 -10
- package/src/components/Toggle/Toggle.d.ts +2 -2
- package/src/components/Toggle/Toggle.js +2 -2
- package/src/components/icons/fdc3.d.ts +3 -0
- package/src/components/icons/fdc3.js +9 -0
- package/src/components/icons/index.d.ts +4 -4
- package/src/components/icons/index.js +9 -7
- package/src/metamodel/adaptable.metamodel.d.ts +117 -47
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +9 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/View/Components/AdaptableViewIcon/index.d.ts +0 -10
- package/src/View/Components/AdaptableViewIcon/index.js +0 -18
- package/src/components/AdaptableIconComponent/index.d.ts +0 -11
- /package/src/{PredefinedConfig/Common/FDC3Context.js → Api/Events/ScheduleTriggered.js} +0 -0
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';
|
|
@@ -125,7 +125,9 @@ 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
127
|
export type { ThemeChangedInfo } from './Api/Events/ThemeChanged';
|
|
128
|
+
export type { ThemeEditedInfo } from './Api/Events/ThemeEdited';
|
|
128
129
|
export type { DashboardChangedInfo } from './Api/Events/DashboardChanged';
|
|
130
|
+
export type { ScheduleTriggeredInfo } from './Api/Events/ScheduleTriggered';
|
|
129
131
|
export type { AdaptableStateChangedInfo } from './Api/Events/AdaptableStateChanged';
|
|
130
132
|
export type { AdaptableState, AdaptablePersistentState } from './PredefinedConfig/AdaptableState';
|
|
131
133
|
export type { AlertDefinition, AlertProperties, AlertState, AlertButtonForm, AlertButton, AdaptableAlertAction, AlertDefinitionPredicate, AlertRule, AdaptableAlertQuery, SystemAlertPredicateId, SystemAlertPredicateIds, } from './PredefinedConfig/AlertState';
|
|
@@ -145,11 +147,11 @@ export type { AdaptableMessageType } from './PredefinedConfig/Common/AdaptableMe
|
|
|
145
147
|
export type { AdaptableObject, AdaptableObjectTag, AdaptableObjectLookupCriteria, } from './PredefinedConfig/Common/AdaptableObject';
|
|
146
148
|
export type { SuspendableObject } from './PredefinedConfig/Common/SuspendableObject';
|
|
147
149
|
export type { AdaptableQuery, AdaptableAggregatedBooleanQuery, AdaptableAggregatedScalarQuery, AdaptableBooleanQuery, AdaptableObservableQuery, AdaptableScalarQuery, } from './PredefinedConfig/Common/AdaptableQuery';
|
|
148
|
-
export type { AdaptablePredicate, AdaptableColumnPredicate, AdaptablePredicateDef, PredicateModuleScope,
|
|
149
|
-
export type {
|
|
150
|
+
export type { AdaptablePredicate, AdaptableColumnPredicate, AdaptablePredicateDef, PredicateModuleScope, PredicateDefHandlerContext, PredicateDefInput, PredicateDefToStringParams, ColumnFilterDef, } from './PredefinedConfig/Common/AdaptablePredicate';
|
|
151
|
+
export type { FDC3Context_DEPR, InstrumentContextDepr, InstrumentListContextDepr, PositionContextDepr, PortfolioContextDepr, ContactContextDepr, ContactListContextDepr, CountryContextDepr, OrganizationContextDepr, AdaptableFDC3EventInfo, FDC3ContextTypeDepr, CustomFDC3Context, ContextDataDepr, } from './PredefinedConfig/Common/FDC3Context_DEPR';
|
|
150
152
|
export type { AdaptableScope } from './PredefinedConfig/Common/AdaptableScope';
|
|
151
153
|
export type { AdaptableStyle } from './PredefinedConfig/Common/AdaptableStyle';
|
|
152
|
-
export type { AdaptableBaseIcon, AdaptableIcon,
|
|
154
|
+
export type { AdaptableBaseIcon, AdaptableIcon, AdaptableSystemIcon, AdaptableCustomIcon, AdaptableSystemIconName, AdaptableElementIcon, } from './PredefinedConfig/Common/AdaptableIcon';
|
|
153
155
|
export type { CellHighlightInfo } from './PredefinedConfig/Common/CellHighlightInfo';
|
|
154
156
|
export type { RowHighlightInfo } from './PredefinedConfig/Common/RowHighlightInfo';
|
|
155
157
|
export type { RowsHighlightInfo } from './PredefinedConfig/Common/RowsHighlightInfo';
|
|
@@ -193,3 +195,5 @@ export type { SharedEntity, AdaptableSharedEntity, CustomSharedEntity, TeamShari
|
|
|
193
195
|
export type { AdaptableTheme, ThemeState } from './PredefinedConfig/ThemeState';
|
|
194
196
|
export type { ToolPanelState, AdaptableToolPanelDefinition, ToolPanelVisibilityMode, } from './PredefinedConfig/ToolPanelState';
|
|
195
197
|
export type { AdaptableFrameworkComponent, AngularFrameworkComponent, ReactFrameworkComponent, CustomRenderContext, } from './AdaptableOptions/AdaptableFrameworkComponent';
|
|
198
|
+
export type { Fdc3ContextType, InstrumentContext, InstrumentListContext, PositionContext, PortfolioContext, ContactContext, ContactListContext, CountryContext, OrganizationContext, Fdc3Context, ChartContextType, ChartContext, ChatInitSettingsContext, ChatInitSettingsContextType, ContactContextType, ContactListContextType, CurrencyContext, EmailContext, CountryContextType, CurrencyContextType, EmailContextType, InstrumentContextType, InstrumentListContextType, NothingContextType, OrganizationContextType, PortfolioContextType, PositionContextType, NothingContext, Fdc3CustomContext, ValuationContext, ValuationContextType, TimeRangeContextType, TimeRangeContext, } from './PredefinedConfig/Common/Fdc3Context';
|
|
199
|
+
export type { Fdc3IntentType, CompatibleContext } from './PredefinedConfig/Common/Fdc3Intent';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "16.0.0-canary.
|
|
1
|
+
declare const _default: "16.0.0-canary.4";
|
|
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.
|
|
3
|
+
exports.default = '16.0.0-canary.4'; // 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;
|
|
File without changes
|