@eintrek/erp-shell 0.1.26 → 0.1.27
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/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/navigation/nav-user.d.ts +10 -1
- package/package.json +1 -1
|
@@ -38,5 +38,14 @@ export interface NavUserProps {
|
|
|
38
38
|
* so navigation works across origins; relative paths use the Next router.
|
|
39
39
|
*/
|
|
40
40
|
systemLinks?: NavUserSystemLink[];
|
|
41
|
+
/**
|
|
42
|
+
* Show the "เลือกธุรกิจ" organization switcher. Org-scoped apps leave this on;
|
|
43
|
+
* non-org apps (e.g. the admin console) pass false. Default: true.
|
|
44
|
+
*/
|
|
45
|
+
showSelectOrganization?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Show the "เปลี่ยนภาษา" language switch. Default: true.
|
|
48
|
+
*/
|
|
49
|
+
showLanguageSwitch?: boolean;
|
|
41
50
|
}
|
|
42
|
-
export declare function NavUser({ organization, avatarSrc, profileHref, selectOrganizationHref, signInRedirectHref, systemLinks, }?: NavUserProps): import("react/jsx-runtime").JSX.Element | null;
|
|
51
|
+
export declare function NavUser({ organization, avatarSrc, profileHref, selectOrganizationHref, signInRedirectHref, systemLinks, showSelectOrganization, showLanguageSwitch, }?: NavUserProps): import("react/jsx-runtime").JSX.Element | null;
|