@mcurros2/microm 1.1.228-0 → 1.1.230-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
@@ -42,6 +42,7 @@ export function isIn<T>(value: T, ...params: T[]): boolean;
42
42
  export function isPromise<T>(obj: unknown): obj is Promise<T>;
43
43
  export function createKeysSet<T>(): Set<keyof T>;
44
44
  export function createKeysArray<T>(): Array<keyof T>;
45
+ export function nameof<T>(_type: new (...args: any[]) => T, selector: (x: T) => any): string;
45
46
  export interface IDataStorage {
46
47
  saveData(app_id: string, key: string, data: unknown): Promise<void>;
47
48
  readData(app_id: string, key: string): Promise<unknown | null>;
@@ -350,6 +351,7 @@ export interface EntityFormProps extends PropsWithChildren {
350
351
  okButtonVariant?: Variants<'filled' | 'outline' | 'light' | 'white' | 'default' | 'subtle' | 'gradient'>;
351
352
  saveBeforeLocalNavigation?: boolean;
352
353
  saveBeforeRemoteNavigation?: boolean;
354
+ disableOKIfNotDirty?: boolean;
353
355
  }
354
356
  export const EntityFormDefaultProps: Partial<EntityFormProps>;
355
357
  export function EntityForm(props: EntityFormProps): JSX.Element;