@finos/legend-application 16.0.73 → 16.0.74

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.
@@ -20,4 +20,8 @@ export declare enum LEGEND_APPLICATION_PARAM_TOKEN {
20
20
  * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle
21
21
  */
22
22
  export declare const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl: (studioApplicationUrl: string, groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => string;
23
+ /**
24
+ * @external_application_navigation This depends on Legend DataCube routing and is hardcoded so it's potentially brittle
25
+ */
26
+ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl: (dataCubeApplicationUrl: string, sourceData: object) => string;
23
27
  //# sourceMappingURL=LegendApplicationNavigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegendApplicationNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,oBAAY,8BAA8B;IACxC,mBAAmB,sBAAsB;CAC1C;AAED;;GAEG;AACH,eAAO,MAAM,6DAA6D,GACxE,sBAAsB,MAAM,EAC5B,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,WAAW,MAAM,EACjB,YAAY,MAAM,GAAG,SAAS,KAC7B,MAK8C,CAAC"}
1
+ {"version":3,"file":"LegendApplicationNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,oBAAY,8BAA8B;IACxC,mBAAmB,sBAAsB;CAC1C;AAED;;GAEG;AACH,eAAO,MAAM,6DAA6D,GACxE,sBAAsB,MAAM,EAC5B,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,WAAW,MAAM,EACjB,YAAY,MAAM,GAAG,SAAS,KAC7B,MAK8C,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uDAAuD,GAClE,wBAAwB,MAAM,EAC9B,YAAY,MAAM,KACjB,MAGE,CAAC"}
@@ -22,4 +22,8 @@ export var LEGEND_APPLICATION_PARAM_TOKEN;
22
22
  * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle
23
23
  */
24
24
  export const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl = (studioApplicationUrl, groupId, artifactId, versionId, entityPath) => `${studioApplicationUrl}/view/archive/${generateGAVCoordinates(groupId, artifactId, versionId)}${entityPath ? `/entity/${entityPath}` : ''}`;
25
+ /**
26
+ * @external_application_navigation This depends on Legend DataCube routing and is hardcoded so it's potentially brittle
27
+ */
28
+ export const EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl = (dataCubeApplicationUrl, sourceData) => `${dataCubeApplicationUrl}?sourceData=${encodeURIComponent(btoa(JSON.stringify(sourceData)))}`;
25
29
  //# sourceMappingURL=LegendApplicationNavigation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LegendApplicationNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,2EAAyC,CAAA;AAC3C,CAAC,EAFW,8BAA8B,KAA9B,8BAA8B,QAEzC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,6DAA6D,GAAG,CAC3E,oBAA4B,EAC5B,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,UAA8B,EACtB,EAAE,CACV,GAAG,oBAAoB,iBAAiB,sBAAsB,CAC5D,OAAO,EACP,UAAU,EACV,SAAS,CACV,GAAG,UAAU,CAAC,CAAC,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC"}
1
+ {"version":3,"file":"LegendApplicationNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendApplicationNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,8BAEX;AAFD,WAAY,8BAA8B;IACxC,2EAAyC,CAAA;AAC3C,CAAC,EAFW,8BAA8B,KAA9B,8BAA8B,QAEzC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,6DAA6D,GAAG,CAC3E,oBAA4B,EAC5B,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,UAA8B,EACtB,EAAE,CACV,GAAG,oBAAoB,iBAAiB,sBAAsB,CAC5D,OAAO,EACP,UAAU,EACV,SAAS,CACV,GAAG,UAAU,CAAC,CAAC,CAAC,WAAW,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAG,CACrE,sBAA8B,EAC9B,UAAkB,EACV,EAAE,CACV,GAAG,sBAAsB,eAAe,kBAAkB,CACxD,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CACjC,EAAE,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application v16.0.73
1
+ /** @license @finos/legend-application v16.0.74
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application",
3
- "version": "16.0.73",
3
+ "version": "16.0.74",
4
4
  "description": "Legend application core",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application",
3
- "version": "16.0.73",
3
+ "version": "16.0.74",
4
4
  "description": "Legend application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,7 +45,7 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-art": "7.1.124",
48
+ "@finos/legend-art": "7.1.125",
49
49
  "@finos/legend-shared": "11.0.20",
50
50
  "@finos/legend-storage": "3.0.139",
51
51
  "@types/react": "19.0.10",
@@ -35,3 +35,14 @@ export const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl = (
35
35
  artifactId,
36
36
  versionId,
37
37
  )}${entityPath ? `/entity/${entityPath}` : ''}`;
38
+
39
+ /**
40
+ * @external_application_navigation This depends on Legend DataCube routing and is hardcoded so it's potentially brittle
41
+ */
42
+ export const EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl = (
43
+ dataCubeApplicationUrl: string,
44
+ sourceData: object,
45
+ ): string =>
46
+ `${dataCubeApplicationUrl}?sourceData=${encodeURIComponent(
47
+ btoa(JSON.stringify(sourceData)),
48
+ )}`;