/** * Internal types for @siesa/master-pattern-view * * These types are used internally by the component and are NOT exported * from the public API. They must NOT appear in dist/index.d.ts. * * @internal * @module internal.types */ /** * Form mode state machine values. * Controls the current state of the form panel. */ export type FormMode = 'closed' | 'creating' | 'editing' | 'viewing'; /** * Pending action waiting for user confirmation (e.g., dirty state dialog). */ export interface PendingAction { type: 'navigate' | 'close' | 'switch-record' | 'switch-company' | 'change-status'; payload?: unknown; } /** * Override status for a field in GLOBAL company context. * Determines the visual badge and behavior of the revert button. */ export type OverrideStatus = 'inherited' | 'has_override' | 'will_delete_override'; /** * Responsive column size for form field layout. * Maps to Tailwind grid column spans. */ export type ResponsiveColSize = 1 | 2 | 3 | 4 | 6 | 12; //# sourceMappingURL=internal.types.d.ts.map