@adaptabletools/adaptable 13.0.0-canary.11 → 13.0.0-canary.13
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/bundle.cjs.js +169 -169
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
- package/src/AdaptableOptions/AdaptableQLOptions.d.ts +20 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +2 -1
- package/src/Api/AdaptableApi.d.ts +2 -0
- package/src/Api/ColumnApi.d.ts +7 -1
- package/src/Api/FormatColumnApi.d.ts +2 -23
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnApiImpl.js +8 -2
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -6
- package/src/Api/Implementation/FormatColumnApiImpl.js +15 -115
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +19 -0
- package/src/Api/Implementation/StyledColumnApiImpl.js +134 -0
- package/src/Api/StyledColumnApi.d.ts +68 -0
- package/src/Api/StyledColumnApi.js +2 -0
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +3 -3
- package/src/PredefinedConfig/Common/Types.js +1 -0
- package/src/PredefinedConfig/PredefinedConfig.d.ts +5 -0
- package/src/PredefinedConfig/StyledColumnState.d.ts +113 -0
- package/src/PredefinedConfig/StyledColumnState.js +2 -0
- package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +49 -0
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +92 -0
- package/src/Redux/Store/AdaptableStore.js +7 -0
- package/src/Strategy/StyledColumnModule.d.ts +24 -0
- package/src/Strategy/StyledColumnModule.js +165 -0
- package/src/Strategy/Utilities/getScopeViewItems.js +1 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -0
- package/src/Utilities/Constants/ModuleConstants.js +4 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -0
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -4
- package/src/Utilities/ObjectFactory.d.ts +3 -0
- package/src/Utilities/ObjectFactory.js +11 -3
- package/src/Utilities/Services/ModuleService.js +3 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/Components/RangesComponent.d.ts +1 -0
- package/src/View/Components/RangesComponent.js +19 -19
- package/src/View/Components/Selectors/ColumnSelector.d.ts +1 -0
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/StyleComponent.js +2 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -11
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +21 -9
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +3 -3
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +6 -315
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +2 -1
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +7 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +77 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +65 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.d.ts +9 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection.js +238 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +7 -0
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +59 -0
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
- package/src/agGrid/Adaptable.d.ts +5 -2
- package/src/agGrid/Adaptable.js +73 -40
- package/src/agGrid/FilterWrapper.js +58 -15
- package/src/agGrid/FloatingFilterWrapper.d.ts +2 -2
- package/src/agGrid/FloatingFilterWrapper.js +71 -32
- package/src/agGrid/PercentBarRenderer.d.ts +6 -2
- package/src/agGrid/PercentBarRenderer.js +10 -18
- package/src/agGrid/agGridHelper.d.ts +6 -2
- package/src/agGrid/agGridHelper.js +4 -2
- package/src/agGrid/createAgStatusPanelComponent.d.ts +1 -1
- package/src/agGrid/createAgStatusPanelComponent.js +17 -0
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +4 -1
- package/src/agGrid/editors/AdaptableDateEditor/index.js +84 -17
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +2 -3
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +78 -27
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/icons/brush.d.ts +3 -0
- package/src/components/icons/brush.js +7 -0
- package/src/components/icons/index.js +2 -0
- package/src/metamodel/adaptable.metamodel.d.ts +56 -20
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/renderReactRoot.d.ts +2 -0
- package/src/renderReactRoot.js +11 -9
- package/src/types.d.ts +3 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableComponents.d.ts +0 -1
- package/src/AdaptableComponents.js +0 -5
package/src/renderReactRoot.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare type RenderReactRootFn = (el: JSX.Element, container: HTMLElement) => VoidFunction;
|
|
3
|
+
export declare function captureReactWarnings(): void;
|
|
4
|
+
export declare function releaseReactWarnings(): void;
|
|
3
5
|
export declare const renderReactRoot: (el: JSX.Element, container: HTMLElement, supressReact18RenderWarning: boolean) => () => void;
|
package/src/renderReactRoot.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.renderReactRoot = void 0;
|
|
3
|
+
exports.renderReactRoot = exports.releaseReactWarnings = exports.captureReactWarnings = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const ReactDOM = tslib_1.__importStar(require("react-dom"));
|
|
6
6
|
//@ts-ignore
|
|
@@ -19,35 +19,37 @@ const doRenderReactRoot = (el, container) => {
|
|
|
19
19
|
ReactDOM.unmountComponentAtNode(container);
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function captureReactWarnings() {
|
|
23
23
|
console.error = (message, ...optionalParams) => {
|
|
24
24
|
if (message &&
|
|
25
25
|
typeof message === 'string' &&
|
|
26
|
-
message.includes('Warning: ReactDOM.render is no longer supported in React 18.')
|
|
26
|
+
(message.includes('Warning: ReactDOM.render is no longer supported in React 18.') ||
|
|
27
|
+
message.includes('Warning: Attempted to synchronously unmount a root while React was already rendering'))) {
|
|
27
28
|
return;
|
|
28
29
|
}
|
|
29
30
|
return originalConsoleError.call(console, message, ...optionalParams);
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
+
exports.captureReactWarnings = captureReactWarnings;
|
|
34
|
+
function releaseReactWarnings() {
|
|
33
35
|
console.error = originalConsoleError;
|
|
34
36
|
}
|
|
37
|
+
exports.releaseReactWarnings = releaseReactWarnings;
|
|
35
38
|
const renderReactRoot = (el, container, supressReact18RenderWarning) => {
|
|
36
39
|
if (supressReact18RenderWarning) {
|
|
37
|
-
|
|
40
|
+
captureReactWarnings();
|
|
38
41
|
}
|
|
39
42
|
const unmount = doRenderReactRoot(el, container);
|
|
40
43
|
if (supressReact18RenderWarning) {
|
|
41
|
-
|
|
44
|
+
releaseReactWarnings();
|
|
42
45
|
}
|
|
43
46
|
return () => {
|
|
44
|
-
// probably capturing not needed for unmount to be honest ...
|
|
45
47
|
if (supressReact18RenderWarning) {
|
|
46
|
-
|
|
48
|
+
captureReactWarnings();
|
|
47
49
|
}
|
|
48
50
|
unmount();
|
|
49
51
|
if (supressReact18RenderWarning) {
|
|
50
|
-
|
|
52
|
+
releaseReactWarnings();
|
|
51
53
|
}
|
|
52
54
|
};
|
|
53
55
|
};
|
package/src/types.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export type { ScopeApi } from './Api/ScopeApi';
|
|
|
80
80
|
export type { ShortcutApi } from './Api/ShortcutApi';
|
|
81
81
|
export type { SmartEditApi } from './Api/SmartEditApi';
|
|
82
82
|
export type { StatusBarApi } from './Api/StatusBarApi';
|
|
83
|
+
export type { StyledColumnApi } from './Api/StyledColumnApi';
|
|
83
84
|
export type { SystemStatusApi } from './Api/SystemStatusApi';
|
|
84
85
|
export type { TeamSharingApi } from './Api/TeamSharingApi';
|
|
85
86
|
export type { ThemeApi } from './Api/ThemeApi';
|
|
@@ -152,7 +153,8 @@ export type { CustomSort, CustomSortState } from './PredefinedConfig/CustomSortS
|
|
|
152
153
|
export type { DashboardState, DashboardTab, AdaptableCoordinate, } from './PredefinedConfig/DashboardState';
|
|
153
154
|
export type { ExportState, Report, ReportData, ReportSchedule, SystemReportName, SystemReportNames, ReportRowScope, ReportColumnScope, } from './PredefinedConfig/ExportState';
|
|
154
155
|
export type { ColumnFilter, ColumnFilterPredicate, SystemFilterPredicateIds, SystemFilterPredicateId, } from './PredefinedConfig/Common/ColumnFilter';
|
|
155
|
-
export type { FormatColumn,
|
|
156
|
+
export type { FormatColumn, FormatColumnState } from './PredefinedConfig/FormatColumnState';
|
|
157
|
+
export type { StyledColumn, StyledColumnState, PercentBarStyle, GradientStyle, CellColorRange, ColumnComparison, CellTextOptions, CellTextOption, } from './PredefinedConfig/StyledColumnState';
|
|
156
158
|
export type { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue, FreeTextColumnSettings, } from './PredefinedConfig/FreeTextColumnState';
|
|
157
159
|
export type { StatusBarState, AdaptableStatusBar } from './PredefinedConfig/StatusBarState';
|
|
158
160
|
export type { Glue42Report, Glue42Schedule, Glue42State } from './PredefinedConfig/Glue42State';
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "13.0.0-canary.
|
|
1
|
+
declare const _default: "13.0.0-canary.13";
|
|
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 = '13.0.0-canary.
|
|
3
|
+
exports.default = '13.0.0-canary.13'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AdaptableToolPanelAgGridComponent } from './View/Components/ToolPanel/AdaptableToolPanel';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdaptableToolPanelAgGridComponent = void 0;
|
|
4
|
-
var AdaptableToolPanel_1 = require("./View/Components/ToolPanel/AdaptableToolPanel");
|
|
5
|
-
Object.defineProperty(exports, "AdaptableToolPanelAgGridComponent", { enumerable: true, get: function () { return AdaptableToolPanel_1.AdaptableToolPanelAgGridComponent; } });
|