@akinon/app-client 0.8.2-alpha.0 → 0.8.2
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.
|
@@ -96,11 +96,11 @@ const showErrorMessage = (title, content) => {
|
|
|
96
96
|
});
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
|
-
* Displays
|
|
100
|
-
* This method communicateswith the AppShell to display the
|
|
99
|
+
* Displays a rich-contentful modal with the specified path and context.
|
|
100
|
+
* This method communicateswith the AppShell to display the complicated modals.
|
|
101
101
|
*
|
|
102
|
-
* @param {string}
|
|
103
|
-
* @param {
|
|
102
|
+
* @param {string} path - The path of displayed iframe.
|
|
103
|
+
* @param {unknown} context - Optional context. Its type must follow the rules: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
|
|
104
104
|
*/
|
|
105
105
|
const showRichModal = (path, context) => {
|
|
106
106
|
const bus = new framebus_1.default();
|
|
@@ -92,11 +92,11 @@ const showErrorMessage = (title, content) => {
|
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
94
|
/**
|
|
95
|
-
* Displays
|
|
96
|
-
* This method communicateswith the AppShell to display the
|
|
95
|
+
* Displays a rich-contentful modal with the specified path and context.
|
|
96
|
+
* This method communicateswith the AppShell to display the complicated modals.
|
|
97
97
|
*
|
|
98
|
-
* @param {string}
|
|
99
|
-
* @param {
|
|
98
|
+
* @param {string} path - The path of displayed iframe.
|
|
99
|
+
* @param {unknown} context - Optional context. Its type must follow the rules: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
|
|
100
100
|
*/
|
|
101
101
|
const showRichModal = (path, context) => {
|
|
102
102
|
const bus = new Framebus();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/app-client",
|
|
3
3
|
"description": "Akinon AppClient library. This library is used to create a new plugin or an application which will reside in Akinon's applications.",
|
|
4
|
-
"version": "0.8.2
|
|
4
|
+
"version": "0.8.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"framebus": "^6.0.0",
|
|
14
|
-
"@akinon/app-shared": "0.
|
|
14
|
+
"@akinon/app-shared": "0.9.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"clean-package": "2.2.0",
|
|
18
18
|
"copyfiles": "^2.4.1",
|
|
19
19
|
"rimraf": "^5.0.5",
|
|
20
20
|
"typescript": "^5.2.2",
|
|
21
|
-
"@akinon/eslint-config": "0.1.0",
|
|
22
21
|
"@akinon/vite-config": "0.4.0",
|
|
22
|
+
"@akinon/eslint-config": "0.1.0",
|
|
23
23
|
"@akinon/typescript-config": "0.2.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|