@adaptabletools/adaptable 11.1.9 → 11.1.10
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 +81 -81
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/Api/ColumnApi.d.ts +6 -1
- package/src/Api/ConfigApi.d.ts +8 -2
- package/src/Api/Implementation/ColumnApiImpl.d.ts +2 -1
- package/src/Api/Implementation/ColumnApiImpl.js +7 -3
- package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ConfigApiImpl.js +5 -29
- package/src/Api/Implementation/LayoutApiImpl.d.ts +5 -4
- package/src/Api/Implementation/LayoutApiImpl.js +13 -7
- package/src/Api/LayoutApi.d.ts +16 -9
- package/src/PredefinedConfig/AdaptableState.d.ts +18 -8
- package/src/PredefinedConfig/Common/Types.d.ts +2 -1
- package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
- package/src/Strategy/LayoutModule.js +1 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +4 -4
- package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
- package/src/View/StateManagement/StateManagementPopup.js +9 -7
- package/src/View/StateManagement/StateManagementViewPanel.js +1 -2
- package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
- package/src/View/StateManagement/components/ExportDropdown.js +3 -7
- package/src/View/StateManagement/handleExportState.d.ts +1 -1
- package/src/agGrid/Adaptable.js +3 -3
- package/src/agGrid/agGridMenuHelper.js +2 -2
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/FormLayout/index.d.ts +1 -0
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +5 -0
- package/src/metamodel/adaptable.metamodel.js +33 -10
- package/src/types.d.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.10",
|
|
4
4
|
"description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1651241561437;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
package/src/Api/ColumnApi.d.ts
CHANGED
|
@@ -112,7 +112,12 @@ export interface ColumnApi {
|
|
|
112
112
|
* Is Column row-grouped
|
|
113
113
|
* @param columnId Column to check
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
isAutoRowGroupColumn(columnId: string): boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Is Column pivoted
|
|
118
|
+
* @param columnId Column to check
|
|
119
|
+
*/
|
|
120
|
+
isAutoPivotColumn(columnId: string): boolean;
|
|
116
121
|
/**
|
|
117
122
|
* Is Column a Calculated Column
|
|
118
123
|
* @param columnId Column to check
|
package/src/Api/ConfigApi.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { AlertState } from '../PredefinedConfig/AlertState';
|
|
|
13
13
|
import { ConfigState } from '../PredefinedConfig/ConfigState';
|
|
14
14
|
import { PlusMinusState } from '../PredefinedConfig/PlusMinusState';
|
|
15
15
|
import { ApplicationState } from '../PredefinedConfig/ApplicationState';
|
|
16
|
-
import { AdaptableState } from '../PredefinedConfig/AdaptableState';
|
|
16
|
+
import { AdaptablePersistentState, AdaptableState } from '../PredefinedConfig/AdaptableState';
|
|
17
17
|
import { FreeTextColumnState } from '../PredefinedConfig/FreeTextColumnState';
|
|
18
18
|
import { FilterState } from '../PredefinedConfig/FilterState';
|
|
19
19
|
import { ToolPanelState } from '../PredefinedConfig/ToolPanelState';
|
|
@@ -61,13 +61,19 @@ export interface ConfigApi {
|
|
|
61
61
|
[s: string]: ConfigState;
|
|
62
62
|
}): void;
|
|
63
63
|
/**
|
|
64
|
-
* Retrieves ALL state which is currently stored by Adaptable (both
|
|
64
|
+
* Retrieves ALL state which is currently stored by Adaptable (both persistent and transient/internal)
|
|
65
65
|
*/
|
|
66
66
|
getAllState(): AdaptableState;
|
|
67
67
|
/**
|
|
68
68
|
* Retrieves the PERSISTED state in Adaptable
|
|
69
|
+
*
|
|
70
|
+
* @deprecated use {@link getPersistedState} instead
|
|
69
71
|
*/
|
|
70
72
|
getAllUserState(): ConfigState[];
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves the PERSISTED state in Adaptable
|
|
75
|
+
*/
|
|
76
|
+
getPersistedState(): AdaptablePersistentState;
|
|
71
77
|
/**
|
|
72
78
|
* Gets search-related sections of Adaptable State
|
|
73
79
|
*/
|
|
@@ -18,7 +18,8 @@ export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
|
|
|
18
18
|
hideColumn(columnId: string): void;
|
|
19
19
|
showColumn(columnId: string): void;
|
|
20
20
|
getAgGridColumnType(columnId: string): string | string[];
|
|
21
|
-
|
|
21
|
+
isAutoRowGroupColumn(columnId: string): boolean;
|
|
22
|
+
isAutoPivotColumn(columnId: string): boolean;
|
|
22
23
|
isCalculatedColumn(columnId: string): boolean;
|
|
23
24
|
isFreeTextColumn(columnId: string): boolean;
|
|
24
25
|
isActionColumn(columnId: string): boolean;
|
|
@@ -53,12 +53,16 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
53
53
|
getAgGridColumnType(columnId) {
|
|
54
54
|
return this.adaptable.getAgGridColumnType(columnId);
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
isAutoRowGroupColumn(columnId) {
|
|
57
57
|
// put this here as there might be other indicators we are not aware of
|
|
58
58
|
// perhaps with non auto groups ?
|
|
59
59
|
//https://www.ag-grid.com/javascript-grid-grouping/
|
|
60
60
|
return columnId === null || columnId === void 0 ? void 0 : columnId.startsWith(GeneralConstants_1.AG_GRID_GROUPED_COLUMN);
|
|
61
61
|
}
|
|
62
|
+
isAutoPivotColumn(columnId) {
|
|
63
|
+
// put this here as there might be other indicators we are not aware of?
|
|
64
|
+
return columnId === null || columnId === void 0 ? void 0 : columnId.startsWith(GeneralConstants.AG_GRID_PIVOT_COLUMN);
|
|
65
|
+
}
|
|
62
66
|
isCalculatedColumn(columnId) {
|
|
63
67
|
return (this.adaptable.api.calculatedColumnApi
|
|
64
68
|
.getAllCalculatedColumn()
|
|
@@ -116,7 +120,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
116
120
|
}
|
|
117
121
|
let result = columnId + GeneralConstants.MISSING_COLUMN;
|
|
118
122
|
const currentLayout = this.adaptable.api.layoutApi.getCurrentLayout();
|
|
119
|
-
if (this.
|
|
123
|
+
if (this.isAutoRowGroupColumn(columnId) && (currentLayout === null || currentLayout === void 0 ? void 0 : currentLayout.RowGroupedColumns)) {
|
|
120
124
|
result = `[Grouped column: ${currentLayout.RowGroupedColumns.join(', ')}]`;
|
|
121
125
|
}
|
|
122
126
|
this.LogMissingColumnWarning(columnId);
|
|
@@ -265,7 +269,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
265
269
|
LogMissingColumnWarning(columnId) {
|
|
266
270
|
if (this.adaptable.adaptableOptions.generalOptions.showMissingColumnsWarning &&
|
|
267
271
|
this.adaptable.adaptableOptions.generalOptions.showMissingColumnsWarning === true) {
|
|
268
|
-
if (!this.
|
|
272
|
+
if (!this.isAutoRowGroupColumn(columnId) &&
|
|
269
273
|
!this.isCalculatedColumn(columnId) &&
|
|
270
274
|
!this.isFreeTextColumn(columnId) &&
|
|
271
275
|
!this.isActionColumn(columnId)) {
|
|
@@ -12,7 +12,7 @@ import { ConditionalStyleState } from '../../PredefinedConfig/ConditionalStyleSt
|
|
|
12
12
|
import { CalculatedColumnState } from '../../PredefinedConfig/CalculatedColumnState';
|
|
13
13
|
import { AlertState } from '../../PredefinedConfig/AlertState';
|
|
14
14
|
import { ConfigState } from '../../PredefinedConfig/ConfigState';
|
|
15
|
-
import { AdaptableState } from '../../PredefinedConfig/AdaptableState';
|
|
15
|
+
import { AdaptablePersistentState, AdaptableState } from '../../PredefinedConfig/AdaptableState';
|
|
16
16
|
import { ApiBase } from './ApiBase';
|
|
17
17
|
import { ApplicationState } from '../../PredefinedConfig/ApplicationState';
|
|
18
18
|
import { FreeTextColumnState } from '../../PredefinedConfig/FreeTextColumnState';
|
|
@@ -31,7 +31,7 @@ export declare class ConfigApiImpl extends ApiBase implements ConfigApi {
|
|
|
31
31
|
getPredefinedConfig(): PredefinedConfig | any;
|
|
32
32
|
reloadPredefinedConfig(newPredefinedConfig?: PredefinedConfig): void;
|
|
33
33
|
getAllState(): AdaptableState;
|
|
34
|
-
|
|
34
|
+
getPersistedState(): AdaptablePersistentState;
|
|
35
35
|
getAllUserState(): ConfigState[];
|
|
36
36
|
loadUserState(state: {
|
|
37
37
|
[s: string]: ConfigState;
|
|
@@ -71,39 +71,15 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
71
71
|
getAllState() {
|
|
72
72
|
return this.getAdaptableState();
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return
|
|
77
|
-
'Alert',
|
|
78
|
-
'Application',
|
|
79
|
-
'CalculatedColumn',
|
|
80
|
-
'ConditionalStyle',
|
|
81
|
-
'CustomSort',
|
|
82
|
-
'Dashboard',
|
|
83
|
-
'DataSource',
|
|
84
|
-
'Entitlement',
|
|
85
|
-
'Export',
|
|
86
|
-
'Filter',
|
|
87
|
-
'FormatColumn',
|
|
88
|
-
'FreeTextColumn',
|
|
89
|
-
'Layout',
|
|
90
|
-
'PlusMinus',
|
|
91
|
-
'Query',
|
|
92
|
-
'QuickSearch',
|
|
93
|
-
'Shortcut',
|
|
94
|
-
'Theme',
|
|
95
|
-
'ToolPanel',
|
|
96
|
-
];
|
|
74
|
+
getPersistedState() {
|
|
75
|
+
// no assertion should be required here as soon as we make order in our state typings
|
|
76
|
+
return this.adaptable.adaptableStore.getCurrentStorageState();
|
|
97
77
|
}
|
|
98
78
|
getAllUserState() {
|
|
99
|
-
|
|
100
|
-
const allState = this.getAllState();
|
|
101
|
-
return userStateKeys.map((k) => allState[k]);
|
|
79
|
+
return Object.values(this.getPersistedState());
|
|
102
80
|
}
|
|
103
81
|
loadUserState(state) {
|
|
104
|
-
|
|
105
|
-
const userState = Object.keys(state).reduce((xs, x) => (userStateKeys.indexOf(x) !== -1 ? Object.assign(Object.assign({}, xs), { [x]: state[x] }) : xs), {});
|
|
106
|
-
this.dispatchAction(AdaptableStore_1.LoadState(userState));
|
|
82
|
+
this.dispatchAction(AdaptableStore_1.LoadState(state));
|
|
107
83
|
}
|
|
108
84
|
getAdaptableSearchState() {
|
|
109
85
|
const currentQuery = this.adaptable.api.queryApi.getCurrentQuery();
|
|
@@ -20,12 +20,13 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
|
|
|
20
20
|
getLayoutById(id: Layout['Uuid']): Layout;
|
|
21
21
|
saveCurrentLayout(): void;
|
|
22
22
|
doesLayoutExist(layout: Layout): boolean;
|
|
23
|
-
createAndSetLayout(layoutToCreate: Layout): Layout;
|
|
24
|
-
createLayout(layoutToCreate: Layout): Layout |
|
|
25
|
-
cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout;
|
|
26
|
-
cloneLayout(layoutToClone: Layout, layoutName: string): Layout;
|
|
23
|
+
createAndSetLayout(layoutToCreate: Layout): Layout | false;
|
|
24
|
+
createLayout(layoutToCreate: Layout): Layout | false;
|
|
25
|
+
cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout | false;
|
|
26
|
+
cloneLayout(layoutToClone: Layout, layoutName: string): Layout | false;
|
|
27
27
|
setColumnCaption(columnId: string, caption: string): void;
|
|
28
28
|
saveLayout(layoutToSave: Layout): void;
|
|
29
|
+
createOrUpdateLayout(layout: Layout): void;
|
|
29
30
|
areLayoutsEqual(layout1: Layout, layout2: Layout): boolean;
|
|
30
31
|
getLayoutDescription(layout: Layout): string;
|
|
31
32
|
private getColumnSort;
|
|
@@ -121,7 +121,7 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
121
121
|
createLayout(layoutToCreate) {
|
|
122
122
|
if (this.doesLayoutExist(layoutToCreate)) {
|
|
123
123
|
LoggingHelper_1.LogAdaptableError("Cannot create layout with the Name: '" + layoutToCreate.Name + "' as it already exists");
|
|
124
|
-
return;
|
|
124
|
+
return false;
|
|
125
125
|
}
|
|
126
126
|
const newLayout = ObjectFactory_1.default.CreateEmptyLayout(Object.assign({}, layoutToCreate));
|
|
127
127
|
this.addUidToAdaptableObject(newLayout);
|
|
@@ -129,18 +129,16 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
129
129
|
return newLayout;
|
|
130
130
|
}
|
|
131
131
|
cloneAndSetLayout(layoutToClone, layoutName) {
|
|
132
|
-
if (!this.doesLayoutExist(layoutToClone)) {
|
|
133
|
-
LoggingHelper_1.LogAdaptableError("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
132
|
const newLayout = this.cloneLayout(layoutToClone, layoutName);
|
|
137
|
-
|
|
133
|
+
if (newLayout) {
|
|
134
|
+
this.setLayout(layoutName);
|
|
135
|
+
}
|
|
138
136
|
return newLayout;
|
|
139
137
|
}
|
|
140
138
|
cloneLayout(layoutToClone, layoutName) {
|
|
141
139
|
if (!this.doesLayoutExist(layoutToClone)) {
|
|
142
140
|
LoggingHelper_1.LogAdaptableError("Cannot clone layout with Name: '" + layoutName + "' as other Layout does not exist");
|
|
143
|
-
return;
|
|
141
|
+
return false;
|
|
144
142
|
}
|
|
145
143
|
const newLayout = Helper_1.default.cloneObject(layoutToClone);
|
|
146
144
|
newLayout.Uuid = Uuid_1.createUuid();
|
|
@@ -165,6 +163,14 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
165
163
|
this.dispatchAction(LayoutRedux.LayoutSave(layoutToSave));
|
|
166
164
|
}
|
|
167
165
|
}
|
|
166
|
+
createOrUpdateLayout(layout) {
|
|
167
|
+
if (!this.doesLayoutExist(layout)) {
|
|
168
|
+
this.createLayout(layout);
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
this.dispatchAction(LayoutRedux.LayoutSave(layout));
|
|
172
|
+
}
|
|
173
|
+
}
|
|
168
174
|
areLayoutsEqual(layout1, layout2) {
|
|
169
175
|
if (!layout1 && !layout2) {
|
|
170
176
|
return true;
|
package/src/Api/LayoutApi.d.ts
CHANGED
|
@@ -65,36 +65,43 @@ export interface LayoutApi {
|
|
|
65
65
|
*/
|
|
66
66
|
saveCurrentLayout(): void;
|
|
67
67
|
/**
|
|
68
|
-
* Saves given Layout into Adaptable State
|
|
68
|
+
* Saves given Layout into Adaptable State (creates new Layout if it doesn't exist)
|
|
69
69
|
* @param layoutToSave the Layout to save
|
|
70
|
+
*
|
|
71
|
+
* @deprecated use {@link createOrUpdateLayout} instead
|
|
70
72
|
*/
|
|
71
73
|
saveLayout(layoutToSave: Layout): void;
|
|
74
|
+
/**
|
|
75
|
+
* Creates new Layout into Adaptable State or updates an existing Layout (with same name or id)
|
|
76
|
+
* @param layout the Layout to create or update
|
|
77
|
+
*/
|
|
78
|
+
createOrUpdateLayout(layout: Layout): void;
|
|
72
79
|
/**
|
|
73
80
|
* Creates new Layout in the state
|
|
74
81
|
* @param layoutToCreate Layout to create
|
|
75
|
-
* @returns
|
|
82
|
+
* @returns created Layout object or `false` if Layout with the same name/Uuid already exists
|
|
76
83
|
*/
|
|
77
|
-
createLayout(layoutToCreate: Layout): Layout |
|
|
84
|
+
createLayout(layoutToCreate: Layout): Layout | false;
|
|
78
85
|
/**
|
|
79
86
|
* Creates new Layout in the state and then loads it into Grid
|
|
80
87
|
* @param layoutToCreate Layout to create
|
|
81
|
-
* @returns
|
|
88
|
+
* @returns created Layout object or `false` if creation failed
|
|
82
89
|
*/
|
|
83
|
-
createAndSetLayout(layoutToCreate: Layout): Layout;
|
|
90
|
+
createAndSetLayout(layoutToCreate: Layout): Layout | false;
|
|
84
91
|
/**
|
|
85
92
|
* Creates new Layout based on given Layout but with name provided
|
|
86
93
|
* @param layoutToClone Layout to clone
|
|
87
94
|
* @param layoutName name to use for new Layout
|
|
88
|
-
* @returns
|
|
95
|
+
* @returns created Layout object or `false` if creation failed
|
|
89
96
|
*/
|
|
90
|
-
cloneLayout(layoutToClone: Layout, layoutName: string): Layout;
|
|
97
|
+
cloneLayout(layoutToClone: Layout, layoutName: string): Layout | false;
|
|
91
98
|
/**
|
|
92
99
|
* Creates new Layout based on given Layout but with name provided and then loads it into Grid
|
|
93
100
|
* @param layoutToClone Layout to clone
|
|
94
101
|
* @param layoutName name to use for new Layout
|
|
95
|
-
* @returns
|
|
102
|
+
* @returns created Layout object or `false` if creation failed
|
|
96
103
|
*/
|
|
97
|
-
cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout;
|
|
104
|
+
cloneAndSetLayout(layoutToClone: Layout, layoutName: string): Layout | false;
|
|
98
105
|
/**
|
|
99
106
|
* Checks whether this Layout exists in the Adaptable State (by comparing Uuid property)
|
|
100
107
|
* @param layout Layout to check
|
|
@@ -25,16 +25,15 @@ import { QueryState } from './QueryState';
|
|
|
25
25
|
import { FlashingCellState } from './FlashingCellState';
|
|
26
26
|
import { StatusBarState } from './StatusBarState';
|
|
27
27
|
/**
|
|
28
|
-
* The main state object
|
|
28
|
+
* The main state object of Adaptable
|
|
29
29
|
*/
|
|
30
|
-
export interface AdaptableState {
|
|
30
|
+
export interface AdaptableState extends AdaptablePersistentState, AdaptableTransientState {
|
|
31
31
|
[s: string]: ConfigState;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The state object of Adaptable which is persisted
|
|
35
|
+
*/
|
|
36
|
+
export interface AdaptablePersistentState {
|
|
38
37
|
Application: ApplicationState;
|
|
39
38
|
Alert: AlertState;
|
|
40
39
|
FlashingCell: FlashingCellState;
|
|
@@ -58,3 +57,14 @@ export interface AdaptableState {
|
|
|
58
57
|
Theme: ThemeState;
|
|
59
58
|
ToolPanel: ToolPanelState;
|
|
60
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* The state which is available in the internal Redux store but never persisted
|
|
62
|
+
*/
|
|
63
|
+
export interface AdaptableTransientState {
|
|
64
|
+
Popup: PopupState;
|
|
65
|
+
Grid: GridState;
|
|
66
|
+
System: SystemState;
|
|
67
|
+
Plugins: {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AdaptablePersistentState } from '../AdaptableState';
|
|
1
2
|
/**
|
|
2
3
|
* Adaptable Toolbar collection. When setting `Toolbars` in Dashboard state, only those listed here can be included
|
|
3
4
|
*/
|
|
@@ -23,7 +24,7 @@ export declare type AdaptableModuleButtons = AdaptableModuleButton[];
|
|
|
23
24
|
*/
|
|
24
25
|
export declare type AdaptableModuleButton = 'Alert' | 'FlashingCell' | 'BulkUpdate' | 'CalculatedColumn' | 'CellSummary' | 'ConditionalStyle' | 'CustomSort' | 'Dashboard' | 'DataChangeHistory' | 'DataSource' | 'Export' | 'Filter' | 'FormatColumn' | 'FreeTextColumn' | 'Glue42' | 'GridInfo' | 'Layout' | 'OpenFin' | 'PlusMinus' | 'Query' | 'QuickSearch' | 'Schedule' | 'SettingsPanel' | 'Shortcut' | 'SmartEdit' | 'StateManagement' | 'SystemStatus' | 'TeamSharing' | 'Theme';
|
|
25
26
|
export declare type AdaptableStateKeys = AdaptableStateKey[];
|
|
26
|
-
export declare type AdaptableStateKey =
|
|
27
|
+
export declare type AdaptableStateKey = keyof AdaptablePersistentState | 'OpenFin' | 'Glue42' | 'IPushPull';
|
|
27
28
|
/**
|
|
28
29
|
* Modules provided by AdapTable, subject to Entitlements and usually have Predefined Config
|
|
29
30
|
*/
|
|
@@ -32,7 +32,7 @@ export declare type FlashTargetTypes = 'row' | 'cell' | 'aggFuncCell';
|
|
|
32
32
|
*/
|
|
33
33
|
export interface FlashingCellDefinition extends SuspendableObject {
|
|
34
34
|
/**
|
|
35
|
-
* Where Flashing Cell can
|
|
35
|
+
* Where Flashing Cell can display: Column[s] or DataType[s]
|
|
36
36
|
*/
|
|
37
37
|
Scope: AdaptableScope;
|
|
38
38
|
/**
|
|
@@ -140,7 +140,7 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
140
140
|
const columnIdToFriendlyName = (columnId) => {
|
|
141
141
|
return this.api.columnApi.getFriendlyNameFromColumnId(columnId);
|
|
142
142
|
};
|
|
143
|
-
let columns = layout.Columns;
|
|
143
|
+
let columns = layout.Columns.filter((c) => !this.api.columnApi.isAutoRowGroupColumn(c)).filter((c) => !this.api.columnApi.isAutoPivotColumn(c));
|
|
144
144
|
if (columns.length >
|
|
145
145
|
maxColumnsToDisplay + 1 /* +1 is to show tag only beginning with 2, 'other 2' */) {
|
|
146
146
|
const extraColumns = columns.length - maxColumnsToDisplay;
|
|
@@ -20,6 +20,7 @@ export declare const EMPTY_ARRAY: any[];
|
|
|
20
20
|
export declare const AB_SPECIAL_COLUMN = "abSpecialColumn";
|
|
21
21
|
export declare const HALF_SECOND: number;
|
|
22
22
|
export declare const AG_GRID_GROUPED_COLUMN: string;
|
|
23
|
+
export declare const AG_GRID_PIVOT_COLUMN: string;
|
|
23
24
|
export declare const SYSTEM_STATUS_DEFAULT_MAX_MESSAGES_IN_STORE: number;
|
|
24
25
|
export declare const QUICK_SEARCH_DEFAULT_BACK_COLOR: string;
|
|
25
26
|
export declare const QUICK_SEARCH_DEFAULT_FORE_COLOR: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.THEME_STYLE = exports.SELECTED_ROWS_REPORT = exports.SELECTED_CELLS_REPORT = exports.CURRENT_DATA_REPORT = exports.ALL_DATA_REPORT = exports.VISUAL_DATA_REPORT = exports.SYSTEM_THEMES = exports.SMART_EDIT_MATH_OPERATION_STATE_PROPERTY = exports.SMART_EDIT_VALUE_STATE_PROPERTY = exports.QUICK_SEARCH_STYLE_STATE_PROPERTY = exports.QUICK_SEARCH_TEXT_STATE_PROPERTY = exports.CURRENT_THEME_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DURATION_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DOWN_COLOR_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_UP_COLOR_STATE_PROPERTY = exports.CURRENT_REPORT_STATE_PROPERTY = exports.CURRENT_DATA_SOURCE_STATE_PROPERTY = exports.CURRENT_LAYOUT_STATE_PROPERTY = exports.SUMMARY_OPERATION_STATE_PROPERTY = exports.ALERT_DEFAULT_SHOW_POPUP = exports.ALERT_DEFAULT_MESSAGE_TYPE = exports.PLUS_MINUS_DEFAULT_NUDGE_VALUE = exports.DEFAULT_LIVE_REPORT_THROTTLE_TIME = exports.THEME_DEFAULT_CURRENT_THEME = exports.SYSTEM_DEFAULT_SYSTEM_STATUS_TYPE = exports.CELL_SUMMARY_DEFAULT_OPERATION = exports.QUICK_SEARCH_DEBOUNCE_TIME = exports.QUICK_SEARCH_DEFAULT_FORE_COLOR = exports.QUICK_SEARCH_DEFAULT_BACK_COLOR = exports.SYSTEM_STATUS_DEFAULT_MAX_MESSAGES_IN_STORE = exports.AG_GRID_GROUPED_COLUMN = exports.HALF_SECOND = exports.AB_SPECIAL_COLUMN = exports.EMPTY_ARRAY = exports.EMPTY_STRING = exports.FILTER_THROTTLE = exports.FILTER_NEVER = exports.FILTER_ALWAYS = exports.ALL_COLUMN_VALUES = exports.READ_ONLY_STYLE = exports.MENU_PREFIX = exports.ADAPTABLE = exports.ADAPTABLE_ID = exports.USER_NAME = exports.DARK_THEME = exports.LIGHT_THEME = exports.DEFAULT_LAYOUT = exports.MISSING_COLUMN = exports.AUTOGENERATED_PK_COLUMN = void 0;
|
|
3
|
+
exports.THEME_STYLE = exports.SELECTED_ROWS_REPORT = exports.SELECTED_CELLS_REPORT = exports.CURRENT_DATA_REPORT = exports.ALL_DATA_REPORT = exports.VISUAL_DATA_REPORT = exports.SYSTEM_THEMES = exports.SMART_EDIT_MATH_OPERATION_STATE_PROPERTY = exports.SMART_EDIT_VALUE_STATE_PROPERTY = exports.QUICK_SEARCH_STYLE_STATE_PROPERTY = exports.QUICK_SEARCH_TEXT_STATE_PROPERTY = exports.CURRENT_THEME_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DURATION_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_DOWN_COLOR_STATE_PROPERTY = exports.FLASHING_CELL_DEFAULT_UP_COLOR_STATE_PROPERTY = exports.CURRENT_REPORT_STATE_PROPERTY = exports.CURRENT_DATA_SOURCE_STATE_PROPERTY = exports.CURRENT_LAYOUT_STATE_PROPERTY = exports.SUMMARY_OPERATION_STATE_PROPERTY = exports.ALERT_DEFAULT_SHOW_POPUP = exports.ALERT_DEFAULT_MESSAGE_TYPE = exports.PLUS_MINUS_DEFAULT_NUDGE_VALUE = exports.DEFAULT_LIVE_REPORT_THROTTLE_TIME = exports.THEME_DEFAULT_CURRENT_THEME = exports.SYSTEM_DEFAULT_SYSTEM_STATUS_TYPE = exports.CELL_SUMMARY_DEFAULT_OPERATION = exports.QUICK_SEARCH_DEBOUNCE_TIME = exports.QUICK_SEARCH_DEFAULT_FORE_COLOR = exports.QUICK_SEARCH_DEFAULT_BACK_COLOR = exports.SYSTEM_STATUS_DEFAULT_MAX_MESSAGES_IN_STORE = exports.AG_GRID_PIVOT_COLUMN = exports.AG_GRID_GROUPED_COLUMN = exports.HALF_SECOND = exports.AB_SPECIAL_COLUMN = exports.EMPTY_ARRAY = exports.EMPTY_STRING = exports.FILTER_THROTTLE = exports.FILTER_NEVER = exports.FILTER_ALWAYS = exports.ALL_COLUMN_VALUES = exports.READ_ONLY_STYLE = exports.MENU_PREFIX = exports.ADAPTABLE = exports.ADAPTABLE_ID = exports.USER_NAME = exports.DARK_THEME = exports.LIGHT_THEME = exports.DEFAULT_LAYOUT = exports.MISSING_COLUMN = exports.AUTOGENERATED_PK_COLUMN = void 0;
|
|
4
4
|
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
5
5
|
const UIHelper_1 = require("../../View/UIHelper");
|
|
6
6
|
exports.AUTOGENERATED_PK_COLUMN = '__ADAPTABLE_PK__';
|
|
@@ -22,6 +22,7 @@ exports.EMPTY_ARRAY = [];
|
|
|
22
22
|
exports.AB_SPECIAL_COLUMN = 'abSpecialColumn';
|
|
23
23
|
exports.HALF_SECOND = 500;
|
|
24
24
|
exports.AG_GRID_GROUPED_COLUMN = 'ag-Grid-AutoColumn';
|
|
25
|
+
exports.AG_GRID_PIVOT_COLUMN = 'pivot_';
|
|
25
26
|
/*
|
|
26
27
|
Redux / State Defaults
|
|
27
28
|
Try to put all our Redux / State defaults here and ONLY reference from here - avoid magic numbers / strings.
|
|
@@ -7,4 +7,4 @@ export declare type ColorPickerProps = Omit<HTMLProps<HTMLInputElement>, 'onChan
|
|
|
7
7
|
onChange: (color: string) => void;
|
|
8
8
|
value: string;
|
|
9
9
|
} & Omit<BoxProps, 'onChange'>;
|
|
10
|
-
export declare const ColorPicker: React.ForwardRefExoticComponent<Pick<ColorPickerProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "api" | "type" | "min" | "rows" | "
|
|
10
|
+
export declare const ColorPicker: React.ForwardRefExoticComponent<Pick<ColorPickerProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "api" | "type" | "min" | "rows" | "name" | "value" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "download" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg"> & React.RefAttributes<unknown>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableInputProps } from '../AdaptableInput';
|
|
3
3
|
export declare type AdaptableDateInputProps = AdaptableInputProps;
|
|
4
|
-
declare const AdaptableDateInput: React.ForwardRefExoticComponent<Pick<import("../../../components/Input").InputProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "
|
|
4
|
+
declare const AdaptableDateInput: React.ForwardRefExoticComponent<Pick<import("../../../components/Input").InputProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "name" | "value" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "download" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "placehoder"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export default AdaptableDateInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { InputProps } from '../../../components/Input';
|
|
3
3
|
export declare type AdaptableInputProps = InputProps;
|
|
4
|
-
declare const AdaptableInput: React.ForwardRefExoticComponent<Pick<InputProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "
|
|
4
|
+
declare const AdaptableInput: React.ForwardRefExoticComponent<Pick<InputProps, "max" | "required" | "default" | "high" | "low" | "disabled" | "start" | "open" | "media" | "hidden" | "cite" | "data" | "dir" | "form" | "label" | "p" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "async" | "defer" | "manifest" | "m" | "color" | "content" | "size" | "flex" | "wrap" | "padding" | "multiple" | "alignSelf" | "backgroundColor" | "fontSize" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "opacity" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "width" | "margin" | "children" | "key" | "list" | "step" | "contextMenu" | "type" | "min" | "rows" | "name" | "value" | "className" | "id" | "lang" | "method" | "target" | "role" | "tabIndex" | "crossOrigin" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "classID" | "useMap" | "wmode" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "as" | "hrefLang" | "integrity" | "rel" | "sizes" | "charSet" | "kind" | "src" | "srcLang" | "download" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "htmlFor" | "httpEquiv" | "optimum" | "reversed" | "selected" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "poster" | "challenge" | "keyType" | "keyParams" | "mt" | "mb" | "ml" | "mr" | "my" | "marginY" | "mx" | "marginX" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "css" | "bg" | "placehoder"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
export default AdaptableInput;
|