@mcurros2/microm 1.1.316-0 → 1.1.318-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 CHANGED
@@ -240,6 +240,8 @@ export interface IDefaultColumns extends ColumnsObject {
240
240
  }
241
241
  export const DefaultColumnsNames: string[];
242
242
  export const DefaultColumns: () => IDefaultColumns;
243
+ export const isScalar: (value: unknown) => boolean;
244
+ export const isValuesObject: (value: unknown) => value is ValuesObject;
243
245
  export function hasValue(value: Value): boolean;
244
246
  export function copyValuesObject(obj: ValuesObject): ValuesObject;
245
247
  export function mergeValuesObject(source?: ValuesObject, mergeAndOverride?: ValuesObject): ValuesObject;
@@ -2925,8 +2927,8 @@ export interface MenuItem {
2925
2927
  parentKeys?: ValuesObject;
2926
2928
  menuId?: string;
2927
2929
  }
2928
- export function getMenuItemContext(item: MenuItem): MenuItemContext;
2929
- export function resolveMenuItemContent(item: MenuItem): ReactNode | Promise<ReactNode> | undefined;
2930
+ export function getMenuItemContext(item: MenuItem, context?: MenuItemContext): MenuItemContext;
2931
+ export function resolveMenuItemContent(item: MenuItem, context?: MenuItemContext): ReactNode | Promise<ReactNode> | undefined;
2930
2932
  export interface NavigationState {
2931
2933
  navigated: boolean;
2932
2934
  route: string;
@@ -3000,14 +3002,12 @@ export interface MenuContentProps {
3000
3002
  setIsLoggedIn: Dispatch<SetStateAction<boolean | undefined>>;
3001
3003
  loggedInInfo?: Partial<MicroMClientClaimTypes>;
3002
3004
  theme?: MantineTheme;
3003
- parentKeys?: ValuesObject;
3004
3005
  }
3005
3006
  export interface UseMenuContentProps extends MenuContentProps {
3006
3007
  menuContent: (props: MenuContentProps) => MenuItem[];
3007
3008
  enableMenuSecurity?: boolean;
3008
3009
  defaultLoadingComponent?: ReactNode;
3009
3010
  searchMenuItemsWithContentOnly?: boolean;
3010
- basePath?: string;
3011
3011
  }
3012
3012
  export const UseMenuContentDefaultProps: Partial<UseMenuContentProps>;
3013
3013
  export interface MenuItemActionProps {
@@ -3971,5 +3971,7 @@ export class RecordReader {
3971
3971
  constructor(dataResult: DataResult);
3972
3972
  getValue(recordIndex: number, headerName: string): Value | undefined;
3973
3973
  }
3974
+ export const encodeBase64Url: (value: string) => string;
3975
+ export const decodeBase64Url: (value: string) => string;
3974
3976
 
3975
3977
  //# sourceMappingURL=index.d.ts.map