@adaptabletools/adaptable-cjs 21.2.2 → 21.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Api/DataSetApi.d.ts +1 -1
- package/src/Redux/ActionsReducers/NoteRedux.js +1 -1
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +2 -2
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -2
- package/src/Utilities/Services/AnnotationsService.js +1 -1
- package/src/Utilities/Services/ModuleService.js +2 -2
- package/src/View/Components/AdaptableDateInput/index.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -2
- package/src/env.js +2 -2
- package/tsconfig.cjs.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-cjs",
|
|
3
|
-
"version": "21.2.
|
|
3
|
+
"version": "21.2.3",
|
|
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",
|
package/src/Api/DataSetApi.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface DataSetApi {
|
|
|
14
14
|
*/
|
|
15
15
|
getCurrentDataSet(): DataSet | undefined;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Retrieves Data Set from State with given name
|
|
18
18
|
* @param dataSetName name of Data Set to retrieve
|
|
19
19
|
* @returns data Set
|
|
20
20
|
*/
|
|
@@ -51,7 +51,7 @@ const GetNoteSelector = (state, address) => {
|
|
|
51
51
|
// happy check
|
|
52
52
|
return true;
|
|
53
53
|
}
|
|
54
|
-
// Primary keys
|
|
54
|
+
// Primary keys retrieved from the grid dom are always strings, so we must also consider them strings
|
|
55
55
|
if ((typeof address.PrimaryKeyValue === 'number' && typeof note.PrimaryKeyValue === 'string') ||
|
|
56
56
|
(typeof address.PrimaryKeyValue === 'string' && typeof note.PrimaryKeyValue === 'number')) {
|
|
57
57
|
return (note.PrimaryKeyValue.toString() === address.PrimaryKeyValue.toString() &&
|
|
@@ -12,7 +12,7 @@ export declare const PredicateDocsLink = "https://www.adaptabletools.com/docs/ad
|
|
|
12
12
|
export declare const PrimaryKeyDocsLink = "https://www.adaptabletools.com/docs/getting-started-primary-key";
|
|
13
13
|
export declare const LicenseDocsLink = "https://www.adaptabletools.com/buy/buying-adaptable-licensing";
|
|
14
14
|
export declare const AdaptableOptionsDocsLink = "https://www.adaptabletools.com/docs/technical-reference-adaptable-options";
|
|
15
|
-
export declare const AgGridModulesDocsLink = "https://www.adaptabletools.com/docs/
|
|
15
|
+
export declare const AgGridModulesDocsLink = "https://www.adaptabletools.com/docs/getting-started-aggrid-modules";
|
|
16
16
|
export declare const AlertMessageDocsLink = "https://www.adaptabletools.com/docs/handbook-alerting-message";
|
|
17
17
|
export declare const FormatColumnPlaceholderDocsLink = "https://www.adaptabletools.com/docs/handbook-column-formatting-display-format-placeholder";
|
|
18
|
-
export declare const AgGridRequiredModulesDocsLink = "https://www.adaptabletools.com/docs/
|
|
18
|
+
export declare const AgGridRequiredModulesDocsLink = "https://www.adaptabletools.com/docs/getting-started-aggrid-modules#mandatory-modules";
|
|
@@ -16,7 +16,7 @@ exports.PredicateDocsLink = `${exports.HOST_URL_DOCS}/adaptable-predicate`;
|
|
|
16
16
|
exports.PrimaryKeyDocsLink = `${exports.HOST_URL_DOCS}/getting-started-primary-key`;
|
|
17
17
|
exports.LicenseDocsLink = `${exports.HOST_URL_ROOT}/buy/buying-adaptable-licensing`;
|
|
18
18
|
exports.AdaptableOptionsDocsLink = `${exports.HOST_URL_DOCS}/technical-reference-adaptable-options`;
|
|
19
|
-
exports.AgGridModulesDocsLink = `${exports.HOST_URL_DOCS}/
|
|
19
|
+
exports.AgGridModulesDocsLink = `${exports.HOST_URL_DOCS}/getting-started-aggrid-modules`;
|
|
20
20
|
exports.AlertMessageDocsLink = `${exports.HOST_URL_DOCS}/handbook-alerting-message`;
|
|
21
21
|
exports.FormatColumnPlaceholderDocsLink = `${exports.HOST_URL_DOCS}/handbook-column-formatting-display-format-placeholder`;
|
|
22
|
-
exports.AgGridRequiredModulesDocsLink = `${exports.HOST_URL_DOCS}/
|
|
22
|
+
exports.AgGridRequiredModulesDocsLink = `${exports.HOST_URL_DOCS}/getting-started-aggrid-modules#mandatory-modules`;
|
|
@@ -29,7 +29,7 @@ class AnnotationsService {
|
|
|
29
29
|
if (a?.ColumnId === b?.ColumnId && a?.PrimaryKeyValue === b?.PrimaryKeyValue) {
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
32
|
-
// Primary keys
|
|
32
|
+
// Primary keys retrieved from the grid dom are always strings, so we must also consider them strings
|
|
33
33
|
if ((typeof a.PrimaryKeyValue === 'number' && typeof b.PrimaryKeyValue === 'string') ||
|
|
34
34
|
(typeof b.PrimaryKeyValue === 'string' && typeof a.PrimaryKeyValue === 'number')) {
|
|
35
35
|
return (a.PrimaryKeyValue.toString() === b.PrimaryKeyValue.toString() && a.ColumnId === b.ColumnId);
|
|
@@ -123,7 +123,7 @@ class ModuleService {
|
|
|
123
123
|
case 'ColumnFilter':
|
|
124
124
|
return url + 'handbook-column-filter';
|
|
125
125
|
case 'ColumnInfo':
|
|
126
|
-
return url + 'dev-guide-
|
|
126
|
+
return url + 'dev-guide-columns-column-info';
|
|
127
127
|
case 'Comment':
|
|
128
128
|
return url + 'handbook-comments';
|
|
129
129
|
case 'CustomSort':
|
|
@@ -149,7 +149,7 @@ class ModuleService {
|
|
|
149
149
|
case 'GridFilter':
|
|
150
150
|
return url + 'handbook-grid-filter';
|
|
151
151
|
case 'GridInfo':
|
|
152
|
-
return url + 'dev-guide-
|
|
152
|
+
return url + 'dev-guide-support-monitoring';
|
|
153
153
|
case 'Layout':
|
|
154
154
|
return url + 'handbook-layouts';
|
|
155
155
|
case 'NamedQuery':
|
|
@@ -11,7 +11,7 @@ const AdaptableDateInput = React.forwardRef((props, ref) => {
|
|
|
11
11
|
const { value: _, defaultValue: __, onChange, required, disabled, showClearButton, ...inputProps } = props;
|
|
12
12
|
const [value, setValue] = (0, useProperty_1.default)(props, 'value', undefined, {
|
|
13
13
|
onChange: (dateString) =>
|
|
14
|
-
// wrap date value in
|
|
14
|
+
// wrap date value in ChangeEvent in order to keep the external API unchanged
|
|
15
15
|
props.onChange?.({
|
|
16
16
|
target: {
|
|
17
17
|
// ALWAYS trigger onChange with the ISO format
|
|
@@ -24,13 +24,13 @@ const ScheduleSettingsReminder = (props) => {
|
|
|
24
24
|
const handleHeaderChange = (event) => {
|
|
25
25
|
props.onChange({
|
|
26
26
|
...props.reminderSchedule,
|
|
27
|
-
Header: event.target
|
|
27
|
+
Header: event.target.value,
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
const handleMessageChange = (event) => {
|
|
31
31
|
props.onChange({
|
|
32
32
|
...props.reminderSchedule,
|
|
33
|
-
Message: event.target
|
|
33
|
+
Message: event.target.value,
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
const handleDisplayNotificationChange = (checked) => {
|
package/src/env.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
4
|
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" || '',
|
|
5
|
-
PUBLISH_TIMESTAMP:
|
|
6
|
-
VERSION: "21.2.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1769701143615 || Date.now(),
|
|
6
|
+
VERSION: "21.2.3" || '--current-version--',
|
|
7
7
|
};
|