@adaptabletools/adaptable 16.0.8-canary.0 → 16.0.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/bundle.cjs.js +2 -2
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/Strategy/Fdc3Module.js +28 -26
- 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": "16.0.
|
|
3
|
+
"version": "16.0.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",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1695370873159;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
|
@@ -12,33 +12,35 @@ class Fdc3Module extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
12
12
|
if (!this.isModuleAvailable()) {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
15
|
+
if (menuContext.adaptableColumn && menuContext.rowNode) {
|
|
16
|
+
const currentColumnId = menuContext.adaptableColumn.columnId;
|
|
17
|
+
const currentRowNode = menuContext.rowNode;
|
|
18
|
+
const contextMenuItems = [];
|
|
19
|
+
this.getFdc3Api()
|
|
20
|
+
.internalApi.getAllRaiseIntentConfigs()
|
|
21
|
+
.filter((raiseIntentConfig) => { var _a; return (_a = raiseIntentConfig.contextMenu) === null || _a === void 0 ? void 0 : _a.columnIds.includes(currentColumnId); })
|
|
22
|
+
.forEach((raiseIntentConfig) => {
|
|
23
|
+
contextMenuItems.push(this.buildRaiseIntentMenuItem(raiseIntentConfig, currentRowNode));
|
|
24
|
+
});
|
|
25
|
+
this.getFdc3Api()
|
|
26
|
+
.internalApi.getAllBroadcastContextConfigs()
|
|
27
|
+
.filter((broadcastConfig) => { var _a; return (_a = broadcastConfig.contextMenu) === null || _a === void 0 ? void 0 : _a.columnIds.includes(currentColumnId); })
|
|
28
|
+
.forEach((broadcastConfig) => {
|
|
29
|
+
contextMenuItems.push(this.buildBroadcastMenuItem(broadcastConfig, currentRowNode));
|
|
30
|
+
});
|
|
31
|
+
if (contextMenuItems.length > 1) {
|
|
32
|
+
const groupMenuItem = {
|
|
33
|
+
label: 'FDC3',
|
|
34
|
+
icon: {
|
|
35
|
+
name: 'fdc3',
|
|
36
|
+
},
|
|
37
|
+
isVisible: true,
|
|
38
|
+
subItems: contextMenuItems,
|
|
39
|
+
};
|
|
40
|
+
return [groupMenuItem];
|
|
41
|
+
}
|
|
42
|
+
return contextMenuItems;
|
|
40
43
|
}
|
|
41
|
-
return contextMenuItems;
|
|
42
44
|
}
|
|
43
45
|
buildRaiseIntentMenuItem(intentConfig, rowNode) {
|
|
44
46
|
var _a, _b, _c;
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "16.0.
|
|
1
|
+
declare const _default: "16.0.9";
|
|
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.
|
|
3
|
+
exports.default = '16.0.9'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|