@declarion/react 0.1.92 → 0.2.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.
@@ -15,5 +15,6 @@ export declare function resolveAssociatedToolbarActions(actions: Record<string,
15
15
  export declare function resolveAssociatedForeignKey(entities: Record<string, Entity>, parentEntityCode: string, assocCode: string): string | null;
16
16
  export declare function associatedEditableColumns(entity: Entity, columns: string[], foreignKey: string): Set<string>;
17
17
  export declare function associatedDraftEditableColumns(entity: Entity, columns: string[], foreignKey: string): Set<string>;
18
+ export declare function findMissingRequiredAssociatedFields(values: Record<string, unknown>, columns: string[], entity: Entity, foreignKey: string): string[];
18
19
  export declare function AssociatedBlock({ node, ctx }: AssociatedBlockProps): import("react/jsx-runtime").JSX.Element | null;
19
20
  export {};
@@ -1,8 +1,10 @@
1
- import type { TabsConfig } from "../../types/schema";
1
+ import type { LayoutNode, TabsConfig } from "../../types/schema";
2
2
  import { type LayoutContext } from "./LayoutRenderer";
3
3
  interface LayoutTabsProps {
4
4
  config: TabsConfig;
5
5
  ctx: LayoutContext;
6
6
  }
7
+ export declare function getTabLabel(node: LayoutNode, ctx: LayoutContext): string;
8
+ export declare function getTabIcon(node: LayoutNode, ctx: LayoutContext): string | undefined;
7
9
  export declare function LayoutTabs({ config, ctx }: LayoutTabsProps): import("react/jsx-runtime").JSX.Element | null;
8
10
  export {};