@mcurros2/microm 1.1.68-0 → 1.1.70-0
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.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -889,6 +889,7 @@ export function getInitials(input: string): string;
|
|
|
889
889
|
export interface useIsLoggedInProps {
|
|
890
890
|
client: MicroMClient;
|
|
891
891
|
useLocalLoggedInCheck?: boolean;
|
|
892
|
+
userInitialsClientClaimsNames?: string[];
|
|
892
893
|
}
|
|
893
894
|
export type useIsLoggedInReturnType = {
|
|
894
895
|
isLoggedIn: boolean | undefined;
|
|
@@ -896,7 +897,7 @@ export type useIsLoggedInReturnType = {
|
|
|
896
897
|
checkIsLoggedIn: () => Promise<void>;
|
|
897
898
|
loggedInInfo: Partial<MicroMClientClaimTypes>;
|
|
898
899
|
};
|
|
899
|
-
export function useIsLoggedIn({ client, useLocalLoggedInCheck }: useIsLoggedInProps): useIsLoggedInReturnType;
|
|
900
|
+
export function useIsLoggedIn({ client, useLocalLoggedInCheck, userInitialsClientClaimsNames }: useIsLoggedInProps): useIsLoggedInReturnType;
|
|
900
901
|
export const usePreventEnterSubmission: () => (event: KeyboardEvent) => void;
|
|
901
902
|
export function formatDate(value: Value, locale?: string, dateOptions?: Intl.DateTimeFormatOptions): string;
|
|
902
903
|
export function formatTime(value: Value, locale?: string, dateOptions?: Intl.DateTimeFormatOptions): string;
|
|
@@ -3304,12 +3305,12 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
|
|
|
3304
3305
|
search: string[];
|
|
3305
3306
|
entity: import("src").Entity<import("src").EntityDefinition>;
|
|
3306
3307
|
formMode: "view" | "add" | "edit" | undefined;
|
|
3308
|
+
parentKeys: import("src").ValuesObject;
|
|
3307
3309
|
onModalClosed: (cancelled?: boolean) => void;
|
|
3308
3310
|
onModalSaved: (new_status: import("src").OperationStatus<import("src").DBStatusResult | null>) => void;
|
|
3309
3311
|
modalFormSize: string | number | undefined;
|
|
3310
3312
|
onModalCancelled: () => void;
|
|
3311
3313
|
withBorder: boolean;
|
|
3312
|
-
parentKeys: import("src").ValuesObject;
|
|
3313
3314
|
renderOnlyWhenVisible: boolean;
|
|
3314
3315
|
viewName: string;
|
|
3315
3316
|
refreshOnInit: boolean;
|