@akinon/app-client
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -1,2 +0,2 @@ | ||
import { ApplicationData, ApplicationNavigation, ApplicationParams, FullpageApplicationConfig, PluginApplicationConfig, RegisteredApp, RegisteredAppType } from '@akinon/app-shared'; | ||
import { ApplicationData, ApplicationNavigation, ApplicationParams, FullpageApplicationConfig, PluginApplicationConfig, RegisteredApp, RegisteredAppType, ShellNavigation, ShellNavigationPayload } from '@akinon/app-shared'; | ||
import React from 'react'; | ||
@@ -19,3 +19,3 @@ /** | ||
invokeAction: <T = any>(actionKey: string, ...args: any[]) => Promise<T>; | ||
navigate: (path: string) => void; | ||
navigate: (payload: ShellNavigationPayload) => void; | ||
showModalDialog?: (title: string, content: string) => void; | ||
@@ -48,3 +48,3 @@ showConfirmationDialog?: (title: string, content: string) => boolean; | ||
export { AppClientProvider, useAppClient }; | ||
export type { ApplicationNavigation, FullpageApplicationConfig, PluginApplicationConfig, RegisteredApp, RegisteredAppType }; | ||
export type { ApplicationNavigation, FullpageApplicationConfig, PluginApplicationConfig, RegisteredApp, RegisteredAppType, ShellNavigation }; | ||
//# sourceMappingURL=app-client-provider.d.ts.map |
@@ -354,3 +354,3 @@ import { jsx as Y } from "react/jsx-runtime"; | ||
}, z = Z(_e), Fe = () => ee(z), we = (r) => { | ||
new v().emit("NAVIGATE", { path: r }); | ||
new v().emit("NAVIGATE", { ...r }); | ||
}, Pe = (r, o) => { | ||
@@ -357,0 +357,0 @@ new v().emit("INVOKE_DEFAULT_ACTION", { |
{ | ||
"name": "@akinon/app-client", | ||
"description": "Akinon UI App Client. This library is used to create a new plugin or an application which will reside in Akinon's applications.", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"private": false, | ||
@@ -16,3 +16,3 @@ "type": "module", | ||
"use-immer": "^0.9.0", | ||
"@akinon/app-shared": "^0.3.1" | ||
"@akinon/app-shared": "^0.4.0" | ||
}, | ||
@@ -22,5 +22,5 @@ "devDependencies": { | ||
"clean-package": "2.2.0", | ||
"eslint-config-custom": "0.1.0", | ||
"@akinon/vite-config": "^0.1.1", | ||
"tsconfig": "0.0.0", | ||
"@akinon/vite-config": "^0.1.1" | ||
"eslint-config-custom": "0.1.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31623
+ Added@akinon/app-shared@0.4.1(transitive)
- Removed@akinon/app-shared@0.3.1(transitive)
Updated@akinon/app-shared@^0.4.0