@adaptabletools/adaptable 22.0.0-canary.8 → 22.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/agGrid.d.ts CHANGED
@@ -27,38 +27,38 @@ export declare const AdaptableColumnType: {
27
27
  /**
28
28
  * A column that is never displayed in the UI, but it's still available programmatically.
29
29
  */
30
- HiddenColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
30
+ HiddenColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
31
31
  /**
32
32
  * A column that is calculated based on other columns in the table.
33
33
  */
34
- CalculatedColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
34
+ CalculatedColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
35
35
  /**
36
36
  * A column that is NOT stored in the grid but in the state, allowing run-time users to "attach" custom data
37
37
  */
38
- FreeTextColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
38
+ FreeTextColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
39
39
  /**
40
40
  * A column that is used to display an action button or link.
41
41
  */
42
- ActionColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
42
+ ActionColumn: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
43
43
  /**
44
44
  * A column that is used to display FDC3 data/actions.
45
45
  */
46
- Fdc3Column: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
46
+ Fdc3Column: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
47
47
  /**
48
48
  * Any column that is used to display Pivot Totals: PivotGrandTotal, PivotGroupTotal or PivotAggregationTotal
49
49
  */
50
- PivotAnyTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
50
+ PivotAnyTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
51
51
  /**
52
52
  * A column that is used to display the Grand Total of ALL Pivot Columns.
53
53
  */
54
- PivotGrandTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
54
+ PivotGrandTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
55
55
  /**
56
56
  * A column that is used to display a single Total for EACH Pivot Column Group.
57
57
  */
58
- PivotColumnTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
58
+ PivotColumnTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
59
59
  /**
60
60
  * A column that is used to display the Totals of Pivot Aggregation Columns.
61
61
  */
62
- PivotAggregationTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnType;
62
+ PivotAggregationTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
63
63
  };
64
64
  export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, type UpgradeConfig, };
package/agGrid.js CHANGED
@@ -1,3 +1,4 @@
1
+ // TODO: remove this file in v23
1
2
  import Adaptable, { AdaptableNoCodeWizard as ABWizard, AdaptableWizardView, AdaptableLogger as ABLogger, } from './src/agGrid';
2
3
  import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
4
  import { booleanExpressionFunctionsNames } from './src/Utilities/ExpressionFunctions/booleanExpressionFunctions';
package/index.d.ts ADDED
@@ -0,0 +1,66 @@
1
+ import Adaptable, { AdaptableWizardView } from './src/agGrid';
2
+ import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
+ import { AdaptableNumberEditor, AdaptableReactNumberEditor } from './src/agGrid/editors/AdaptableNumberEditor';
4
+ import { AdaptablePercentageEditor, AdaptableReactPercentageEditor } from './src/agGrid/editors/AdaptablePercentageEditor';
5
+ import { AdaptableDateEditor, AdaptableReactDateEditor } from './src/agGrid/editors/AdaptableDateEditor';
6
+ import { getAbstractSyntaxTree } from './src/parser/src';
7
+ import { getTokens } from './src/parser/src/tokenizer';
8
+ import { AdaptableUpgradeHelper, type UpgradeConfig } from './src/migration/AdaptableUpgradeHelper';
9
+ import { iconToString } from './src/components/icons';
10
+ export * from './src/types';
11
+ export default Adaptable;
12
+ export { Adaptable };
13
+ export declare const _AdaptableAgGrid: typeof AdaptableAgGrid;
14
+ export declare const AdaptableNoCodeWizard: typeof import("./src/agGrid/Adaptable").AdaptableNoCodeWizard;
15
+ export declare const _AdaptableLogger: typeof import("./src/types").AdaptableLogger;
16
+ export declare const AdaptableQL: {
17
+ BooleanFunctions: import("./src/types").BooleanFunctionName[];
18
+ ScalarFunctions: import("./src/types").ScalarFunctionName[];
19
+ ObservableFunctions: import("./src/types").ObservableFunctionName[];
20
+ AggregatedBooleanFunctions: import("./src/types").AggregatedBooleanFunctionName[];
21
+ AggregatedScalarFunctions: import("./src/types").AggregatedScalarFunctionName[];
22
+ getAbstractSyntaxTree: typeof getAbstractSyntaxTree;
23
+ getTokens: typeof getTokens;
24
+ };
25
+ /**
26
+ * AdapTable Column Types
27
+ */
28
+ export declare const AdaptableColumnType: {
29
+ /**
30
+ * A column that is never displayed in the UI, but it's still available programmatically.
31
+ */
32
+ HiddenColumn: import("./src/types").AdaptableColumnTypeName;
33
+ /**
34
+ * A column that is calculated based on other columns in the table.
35
+ */
36
+ CalculatedColumn: import("./src/types").AdaptableColumnTypeName;
37
+ /**
38
+ * A column that is NOT stored in the grid but in the state, allowing run-time users to "attach" custom data
39
+ */
40
+ FreeTextColumn: import("./src/types").AdaptableColumnTypeName;
41
+ /**
42
+ * A column that is used to display an action button or link.
43
+ */
44
+ ActionColumn: import("./src/types").AdaptableColumnTypeName;
45
+ /**
46
+ * A column that is used to display FDC3 data/actions.
47
+ */
48
+ Fdc3Column: import("./src/types").AdaptableColumnTypeName;
49
+ /**
50
+ * Any column that is used to display Pivot Totals: PivotGrandTotal, PivotGroupTotal or PivotAggregationTotal
51
+ */
52
+ PivotAnyTotal: import("./src/types").AdaptableColumnTypeName;
53
+ /**
54
+ * A column that is used to display the Grand Total of ALL Pivot Columns.
55
+ */
56
+ PivotGrandTotal: import("./src/types").AdaptableColumnTypeName;
57
+ /**
58
+ * A column that is used to display a single Total for EACH Pivot Column Group.
59
+ */
60
+ PivotColumnTotal: import("./src/types").AdaptableColumnTypeName;
61
+ /**
62
+ * A column that is used to display the Totals of Pivot Aggregation Columns.
63
+ */
64
+ PivotAggregationTotal: import("./src/types").AdaptableColumnTypeName;
65
+ };
66
+ export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, type UpgradeConfig, };
package/index.js ADDED
@@ -0,0 +1,73 @@
1
+ import Adaptable, { AdaptableNoCodeWizard as ABWizard, AdaptableWizardView, AdaptableLogger as ABLogger, } from './src/agGrid';
2
+ import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
3
+ import { booleanExpressionFunctionsNames } from './src/Utilities/ExpressionFunctions/booleanExpressionFunctions';
4
+ import { scalarExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/scalarExpressionFunctions';
5
+ import { observableExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/observableExpressionFunctions';
6
+ import { aggregatedBooleanExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions';
7
+ import { aggregatedScalarExpressionFunctionNames } from './src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions';
8
+ import { AdaptableNumberEditor, AdaptableReactNumberEditor, } from './src/agGrid/editors/AdaptableNumberEditor';
9
+ import { AdaptablePercentageEditor, AdaptableReactPercentageEditor, } from './src/agGrid/editors/AdaptablePercentageEditor';
10
+ import { AdaptableDateEditor, AdaptableReactDateEditor, } from './src/agGrid/editors/AdaptableDateEditor';
11
+ import { getAbstractSyntaxTree } from './src/parser/src';
12
+ import { getTokens } from './src/parser/src/tokenizer';
13
+ import { AdaptableUpgradeHelper } from './src/migration/AdaptableUpgradeHelper';
14
+ import { ACTION_COLUMN_TYPE, CALCULATED_COLUMN_TYPE, FDC3_COLUMN_TYPE, FREE_TEXT_COLUMN_TYPE, PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE, PIVOT_GRAND_TOTAL_COLUMN_TYPE, PIVOT_COLUMN_TOTAL_COLUMN_TYPE, PIVOT_ANY_TOTAL_COLUMN_TYPE, HIDDEN_COLUMN_TYPE, } from './src/AdaptableState/Common/AdaptableColumn';
15
+ import { iconToString } from './src/components/icons';
16
+ export * from './src/types';
17
+ // TODO remove default export in v23
18
+ export default Adaptable;
19
+ export { Adaptable };
20
+ export const _AdaptableAgGrid = AdaptableAgGrid;
21
+ export const AdaptableNoCodeWizard = ABWizard;
22
+ export const _AdaptableLogger = ABLogger;
23
+ export const AdaptableQL = {
24
+ BooleanFunctions: booleanExpressionFunctionsNames,
25
+ ScalarFunctions: scalarExpressionFunctionNames,
26
+ ObservableFunctions: observableExpressionFunctionNames,
27
+ AggregatedBooleanFunctions: aggregatedBooleanExpressionFunctionNames,
28
+ AggregatedScalarFunctions: aggregatedScalarExpressionFunctionNames,
29
+ getAbstractSyntaxTree: getAbstractSyntaxTree,
30
+ getTokens: getTokens,
31
+ };
32
+ /**
33
+ * AdapTable Column Types
34
+ */
35
+ export const AdaptableColumnType = {
36
+ /**
37
+ * A column that is never displayed in the UI, but it's still available programmatically.
38
+ */
39
+ HiddenColumn: HIDDEN_COLUMN_TYPE,
40
+ /**
41
+ * A column that is calculated based on other columns in the table.
42
+ */
43
+ CalculatedColumn: CALCULATED_COLUMN_TYPE,
44
+ /**
45
+ * A column that is NOT stored in the grid but in the state, allowing run-time users to "attach" custom data
46
+ */
47
+ FreeTextColumn: FREE_TEXT_COLUMN_TYPE,
48
+ /**
49
+ * A column that is used to display an action button or link.
50
+ */
51
+ ActionColumn: ACTION_COLUMN_TYPE,
52
+ /**
53
+ * A column that is used to display FDC3 data/actions.
54
+ */
55
+ Fdc3Column: FDC3_COLUMN_TYPE,
56
+ /**
57
+ * Any column that is used to display Pivot Totals: PivotGrandTotal, PivotGroupTotal or PivotAggregationTotal
58
+ */
59
+ PivotAnyTotal: PIVOT_ANY_TOTAL_COLUMN_TYPE,
60
+ /**
61
+ * A column that is used to display the Grand Total of ALL Pivot Columns.
62
+ */
63
+ PivotGrandTotal: PIVOT_GRAND_TOTAL_COLUMN_TYPE,
64
+ /**
65
+ * A column that is used to display a single Total for EACH Pivot Column Group.
66
+ */
67
+ PivotColumnTotal: PIVOT_COLUMN_TOTAL_COLUMN_TYPE,
68
+ /**
69
+ * A column that is used to display the Totals of Pivot Aggregation Columns.
70
+ */
71
+ PivotAggregationTotal: PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE,
72
+ };
73
+ export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableWizardView, AdaptableUpgradeHelper, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "22.0.0-canary.8",
3
+ "version": "22.0.0-canary.9",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -35,7 +35,7 @@
35
35
  "email": "jonny.wolfson@adaptabletools.com"
36
36
  }
37
37
  ],
38
- "typings": "types.d.ts",
38
+ "typings": "index.d.ts",
39
39
  "dependencies": {
40
40
  "@adaptabletools/react-beautiful-dnd": "14.0.8",
41
41
  "@finos/fdc3": "2.1.0",
@@ -67,5 +67,5 @@
67
67
  },
68
68
  "publishTimestamp": 0,
69
69
  "type": "module",
70
- "module": "agGrid.js"
70
+ "module": "index.js"
71
71
  }
@@ -1,5 +1,5 @@
1
1
  import { Column } from 'ag-grid-enterprise';
2
- import { AdaptableColumnGroup, AdaptableColumnType, BaseContext, Layout } from '../types';
2
+ import { AdaptableColumnGroup, AdaptableColumnTypeName, BaseContext, Layout } from '../types';
3
3
  import { TypeHint } from '../AdaptableState/Common/Types';
4
4
  /**
5
5
  * Options related to managing Columns in Adaptable.
@@ -18,7 +18,7 @@ export interface ColumnOptions {
18
18
  * Optional list of Column Types - used for Scope and creating Special Columns
19
19
  * @defaultValue Empty Array
20
20
  */
21
- columnTypes?: TypeHint<string, AdaptableColumnType>[] | ((context: ColumnTypesContext) => TypeHint<string, AdaptableColumnType>[]);
21
+ columnTypes?: TypeHint<string, AdaptableColumnTypeName>[] | ((context: ColumnTypesContext) => TypeHint<string, AdaptableColumnTypeName>[]);
22
22
  /**
23
23
  * Log warning to console if AdapTable cannot find a column
24
24
  *
@@ -9,17 +9,17 @@ export type AdaptableColumnDataType = 'text' | 'number' | 'boolean' | 'date' | '
9
9
  /**
10
10
  * Column Types recognised by AdapTable; to be set in GridOptions
11
11
  */
12
- export type AdaptableColumnType = 'hiddenColumn' | 'calculatedColumn' | 'freeTextColumn' | 'actionColumn' | 'fdc3Column' | 'pivotAnyTotal' | 'pivotGrandTotal' | 'pivotColumnTotal' | 'pivotAggregationTotal';
13
- export declare const HIDDEN_COLUMN_TYPE: AdaptableColumnType;
12
+ export type AdaptableColumnTypeName = 'hiddenColumn' | 'calculatedColumn' | 'freeTextColumn' | 'actionColumn' | 'fdc3Column' | 'pivotAnyTotal' | 'pivotGrandTotal' | 'pivotColumnTotal' | 'pivotAggregationTotal';
13
+ export declare const HIDDEN_COLUMN_TYPE: AdaptableColumnTypeName;
14
14
  export declare const hiddenColDefConfig: ColDef;
15
- export declare const CALCULATED_COLUMN_TYPE: AdaptableColumnType;
16
- export declare const FREE_TEXT_COLUMN_TYPE: AdaptableColumnType;
17
- export declare const ACTION_COLUMN_TYPE: AdaptableColumnType;
18
- export declare const FDC3_COLUMN_TYPE: AdaptableColumnType;
19
- export declare const PIVOT_ANY_TOTAL_COLUMN_TYPE: AdaptableColumnType;
20
- export declare const PIVOT_GRAND_TOTAL_COLUMN_TYPE: AdaptableColumnType;
21
- export declare const PIVOT_COLUMN_TOTAL_COLUMN_TYPE: AdaptableColumnType;
22
- export declare const PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE: AdaptableColumnType;
15
+ export declare const CALCULATED_COLUMN_TYPE: AdaptableColumnTypeName;
16
+ export declare const FREE_TEXT_COLUMN_TYPE: AdaptableColumnTypeName;
17
+ export declare const ACTION_COLUMN_TYPE: AdaptableColumnTypeName;
18
+ export declare const FDC3_COLUMN_TYPE: AdaptableColumnTypeName;
19
+ export declare const PIVOT_ANY_TOTAL_COLUMN_TYPE: AdaptableColumnTypeName;
20
+ export declare const PIVOT_GRAND_TOTAL_COLUMN_TYPE: AdaptableColumnTypeName;
21
+ export declare const PIVOT_COLUMN_TOTAL_COLUMN_TYPE: AdaptableColumnTypeName;
22
+ export declare const PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE: AdaptableColumnTypeName;
23
23
  export declare function getColumnTypeFriendlyName(columnType: string): string;
24
24
  /**
25
25
  * Base class for AdapTable Column containing most important properties
@@ -83,7 +83,7 @@ export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
83
83
  getPrimaryKeyColumn(): AdaptableColumn<any>;
84
84
  getDefaultAggFunc(columnId: string): string;
85
85
  openColumnInfoSettingsPanel(): void;
86
- getColumnTypes(): import("../../AdaptableState/Common/Types").TypeHint<string, import("../../types").AdaptableColumnType>[];
86
+ getColumnTypes(): import("../../AdaptableState/Common/Types").TypeHint<string, import("../../types").AdaptableColumnTypeName>[];
87
87
  getColumnsByColumnType(columnType: string): AdaptableColumn[];
88
88
  getRowGroupedColumns(): AdaptableColumn[];
89
89
  setColumnCaption(columnId: string, caption: string): void;
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
3
- PUBLISH_TIMESTAMP: 1770905030327 || Date.now(),
4
- VERSION: "22.0.0-canary.8" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1770908579112 || Date.now(),
4
+ VERSION: "22.0.0-canary.9" || '--current-version--',
5
5
  };
package/src/types.d.ts CHANGED
@@ -150,7 +150,7 @@ export type { CellSummmaryInfo, CustomCellSummaryOperation, CustomCellSummaryOpe
150
150
  export type { FlashingCellDefinition, FlashingCellState, SystemFlashingCellPredicateId, SystemFlashingCellPredicateIds, } from './AdaptableState/FlashingCellState';
151
151
  export type { AdaptableAlert, AdaptableAlertType, AdaptableGenericAlert, AdaptableCellChangedAlert, AdaptableRowChangedAlert, AdaptableAlertBase, } from './AdaptableState/Common/AdaptableAlert';
152
152
  export type { AdaptableFlashingCell } from './AdaptableState/Common/AdaptableFlashingCell';
153
- export type { AdaptableColumn, AdaptableColumnBase, AdaptableColumnType, AdaptableColumnDataType, AdaptableColumnGroup, AdaptableColumnSummary, } from './AdaptableState/Common/AdaptableColumn';
153
+ export type { AdaptableColumn, AdaptableColumnBase, AdaptableColumnTypeName, AdaptableColumnDataType, AdaptableColumnGroup, AdaptableColumnSummary, } from './AdaptableState/Common/AdaptableColumn';
154
154
  export type { AdaptableField } from './AdaptableState/Common/AdaptableField';
155
155
  export type { AdaptableComparerFunction } from './AdaptableState/Common/AdaptableComparerFunction';
156
156
  export type { SystemStatusMessageInfo } from './AdaptableState/Common/SystemStatusMessageInfo';
@@ -177,7 +177,7 @@ export type { AdaptableFormData, AdaptableForm, AdaptableFormField, AdaptableFor
177
177
  export type { AdaptableButton } from './AdaptableState/Common/AdaptableButton';
178
178
  export type { AdaptableMenuItem, UserMenuItem, ColumnMenuContext, ContextMenuContext, AdaptableContextMenuItem, AdaptableColumnMenuItem, AdaptableColumnMenuItemName, AdaptableContextMenuItemName, AgGridMenuItem, MenuCategory, MenuSeparator, } from './AdaptableState/Common/Menu';
179
179
  export type { BaseContext } from './AdaptableState/Common/BaseContext';
180
- export type { AdaptableColumnContext, AdaptableColumnsContext } from './AdaptableState/Common/AdaptableColumnContext';
180
+ export type { AdaptableColumnContext, AdaptableColumnsContext, } from './AdaptableState/Common/AdaptableColumnContext';
181
181
  export type { AdaptableRowContext } from './AdaptableState/Common/AdaptableRowContext';
182
182
  export type { FormContext } from './AdaptableState/Common/FormContext';
183
183
  export type { Schedule } from './AdaptableState/Common/Schedule';