@mcurros2/microm 1.1.362-0 → 1.1.365-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
@@ -1523,7 +1523,7 @@ export function useEntityUI(props: UseEntityUIProps): {
1523
1523
  handleImportDataClick: () => Promise<void>;
1524
1524
  };
1525
1525
  export function useExecuteProc(entity: Entity<EntityDefinition>, proc: EntityProc): {
1526
- execute: (values?: ValuesObject) => Promise<OperationStatus<DataResult[]> | undefined>;
1526
+ execute: (values?: ValuesObject, force_refresh?: boolean) => Promise<OperationStatus<DataResult[]> | undefined>;
1527
1527
  status: OperationStatus<DataResult[]>;
1528
1528
  abort: () => void;
1529
1529
  };
@@ -2276,7 +2276,7 @@ export interface PinFieldProps extends Omit<PinInputProps, 'validate' | 'autoFoc
2276
2276
  export const PinFieldDefaultProps: Partial<PinFieldProps>;
2277
2277
  export function PinField(props: PinFieldProps): JSX.Element;
2278
2278
  export function useExecuteProcess(entity: Entity<EntityDefinition>, proc: EntityProc): {
2279
- execute: (values?: ValuesObject) => Promise<OperationStatus<DBStatusResult> | undefined>;
2279
+ execute: (values?: ValuesObject, force_refresh?: boolean) => Promise<OperationStatus<DBStatusResult> | undefined>;
2280
2280
  status: OperationStatus<DBStatusResult>;
2281
2281
  abort: () => void;
2282
2282
  };
@@ -4014,6 +4014,12 @@ export interface DeveloperToolsPanelProps extends Omit<DataGridProps, 'entity' |
4014
4014
  client: MicroMClient;
4015
4015
  }
4016
4016
  export function DeveloperToolsPanel({ client, ...rest }: DeveloperToolsPanelProps): JSX.Element;
4017
+ export interface CustomWindowEventDefinition {
4018
+ eventName: string;
4019
+ payload: ValuesObject;
4020
+ }
4021
+ export type CustomWindowEvent<T extends CustomWindowEventDefinition> = T;
4022
+ export function triggerCustomWindowEvent<T extends CustomWindowEventDefinition>(eventName: T["eventName"], payload: T["payload"]): void;
4017
4023
  export interface MicroMError extends Error {
4018
4024
  status: number;
4019
4025
  message: string;