@eintrek/erp-shell 0.1.62 → 0.1.64
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/README.md +32 -0
- package/dist/guide/dom.d.ts +103 -0
- package/dist/guide/events.d.ts +24 -0
- package/dist/guide/guide-host.d.ts +7 -0
- package/dist/guide/guide-store.d.ts +16 -0
- package/dist/guide/guide-styles.d.ts +7 -0
- package/dist/guide/guide-ui.d.ts +191 -0
- package/dist/guide/machine.d.ts +237 -0
- package/dist/guide/patterns.d.ts +28 -0
- package/dist/guide/progress-client.d.ts +11 -0
- package/dist/guide/progress.d.ts +81 -0
- package/dist/guide/types.d.ts +288 -0
- package/dist/help/help-button.d.ts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.esm.js +3353 -147
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3357 -142
- package/dist/index.js.map +1 -1
- package/dist/navigation/app-layout-shell.d.ts +8 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -1
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { type ShellChrome, type WorkspaceHeaderTone } from "./chrome";
|
|
3
3
|
import { type HelpAppId } from "../help/help-store";
|
|
4
4
|
import { type OrganizationsStatus } from "./url-org-gate";
|
|
5
|
+
import type { GuideConfig } from "../guide/types";
|
|
5
6
|
/**
|
|
6
7
|
* Shape the shell needs from an organization to wire the URL `[code]` segment
|
|
7
8
|
* back to the active org id. Hosts already keep richer types around — this is
|
|
@@ -86,6 +87,12 @@ export interface AppLayoutShellProps {
|
|
|
86
87
|
/** Which app the help dialog says a message came from; detected when
|
|
87
88
|
* omitted (the app's buildSystemLinks call, then the host name). */
|
|
88
89
|
helpApp?: HelpAppId;
|
|
90
|
+
/**
|
|
91
|
+
* The app's guided tour (ไกด์เริ่มต้น). The engine runs only once the URL's
|
|
92
|
+
* organisation is active and never over the not-member refusal; who sees
|
|
93
|
+
* it (forced, optional, none) comes from platform-api. Omit for no tour.
|
|
94
|
+
*/
|
|
95
|
+
guides?: GuideConfig;
|
|
89
96
|
}
|
|
90
97
|
/**
|
|
91
98
|
* Top-level app chrome: sticky header, sidebar slot, content gutter and the
|
|
@@ -99,4 +106,4 @@ export interface AppLayoutShellProps {
|
|
|
99
106
|
* an erp-shell bump — domain components must NOT add their own root padding
|
|
100
107
|
* or content gets indented twice.
|
|
101
108
|
*/
|
|
102
|
-
export declare function AppLayoutShell({ children, sidebar, loadingComponent, breadcrumb, permissionProvider, organizationId, setOrganizationId, organizations, organizationsStatus, notMemberComponent, signInUrl, selectOrganizationUrl, chrome, workspaceHeader, headerEnd, mobileBrand, showHelp, helpApp, }: AppLayoutShellProps): import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
export declare function AppLayoutShell({ children, sidebar, loadingComponent, breadcrumb, permissionProvider, organizationId, setOrganizationId, organizations, organizationsStatus, notMemberComponent, signInUrl, selectOrganizationUrl, chrome, workspaceHeader, headerEnd, mobileBrand, showHelp, helpApp, guides, }: AppLayoutShellProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eintrek/erp-shell",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.64",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Shared frontend platform for ERP apps — HTTP client, providers, navigation, hooks.",
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
"react",
|
|
25
25
|
"next"
|
|
26
26
|
],
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@floating-ui/dom": "^1.7.6"
|
|
29
|
+
},
|
|
27
30
|
"peerDependencies": {
|
|
28
31
|
"@tanstack/react-query": "^5.0.0",
|
|
29
32
|
"@tanstack/react-query-devtools": "^5.0.0",
|