{"version":3,"file":"spartan-ng-brain-forms.mjs","sources":["../../../../libs/brain/forms/src/lib/parent-form-events.ts","../../../../libs/brain/forms/src/lib/state-tracker.ts","../../../../libs/brain/forms/src/lib/reactive-state-tracker.ts","../../../../libs/brain/forms/src/lib/signal-state-tracker.ts","../../../../libs/brain/forms/src/lib/create-state-tracker.ts","../../../../libs/brain/forms/src/lib/error-options.ts","../../../../libs/brain/forms/src/spartan-ng-brain-forms.ts"],"sourcesContent":["import { type FormGroupDirective, FormResetEvent, FormSubmittedEvent, type NgForm } from '@angular/forms';\nimport type { Subscription } from 'rxjs';\n\n/**\n * Calls `onChange` when the parent form is submitted or reset, which changes its `submitted` state.\n *\n * Neither emits an event on a child control that is not part of the form (e.g. a standalone\n * `ngModel`), and `submitted` is read untracked, so a matcher depending on it would stay stale.\n * `onChange` only has to invalidate the cached state: the matcher runs again when the state is\n * next read, after `resetForm()` has cleared `submitted`.\n */\nexport function onParentFormSubmitOrReset(\n\tparent: FormGroupDirective | NgForm | null,\n\tonChange: () => void,\n): Subscription | undefined {\n\treturn parent?.form?.events?.subscribe((event) => {\n\t\tif (event instanceof FormSubmittedEvent || event instanceof FormResetEvent) onChange();\n\t});\n}\n","import type { Signal } from '@angular/core';\nimport type { ValidationErrors } from '@angular/forms';\nimport type { ControlState } from './control-state';\n\nexport interface StateTracker {\n\treadonly controlState: Signal<ControlState | null>;\n\treadonly errors: Signal<ValidationErrors | null>;\n\treadonly dirty: Signal<boolean | null>;\n\treadonly invalid: Signal<boolean | null>;\n\treadonly spartanInvalid: Signal<boolean | null>;\n\treadonly touched: Signal<boolean | null>;\n\n\tdestroy(): void;\n}\n\nexport function controlStateEqual(a: ControlState | null, b: ControlState | null): boolean {\n\treturn (\n\t\ta === b ||\n\t\t(a != null &&\n\t\t\tb != null &&\n\t\t\ta.dirty === b.dirty &&\n\t\t\ta.invalid === b.invalid &&\n\t\t\ta.touched === b.touched &&\n\t\t\ta.spartanInvalid === b.spartanInvalid &&\n\t\t\ta.errors === b.errors)\n\t);\n}\n","import { computed, signal } from '@angular/core';\nimport type { AbstractControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms';\nimport type { Subscription } from 'rxjs';\nimport type { ControlState } from './control-state';\nimport type { ErrorStateMatcher } from './error-options';\nimport { onParentFormSubmitOrReset } from './parent-form-events';\nimport { controlStateEqual, type StateTracker } from './state-tracker';\n\nexport class ReactiveStateTracker implements StateTracker {\n\tprivate readonly _stateVersion = signal(0);\n\tprivate readonly _eventsSubscription?: Subscription;\n\tprivate readonly _submitSubscription?: Subscription;\n\n\tpublic readonly controlState = computed<ControlState | null>(\n\t\t() => {\n\t\t\tconst control = this._ngControl.control as AbstractControl | null | undefined;\n\t\t\tif (!control) return null;\n\n\t\t\tthis._stateVersion();\n\n\t\t\tconst spartanInvalid = this._matcher?.isInvalid(control, this._controlParent) ?? false;\n\n\t\t\treturn {\n\t\t\t\tdirty: control.dirty,\n\t\t\t\terrors: control.errors,\n\t\t\t\tinvalid: control.invalid,\n\t\t\t\tspartanInvalid,\n\t\t\t\ttouched: control.touched,\n\t\t\t};\n\t\t},\n\t\t{ equal: controlStateEqual },\n\t);\n\n\tpublic readonly errors = computed(() => this.controlState()?.errors ?? null);\n\tpublic readonly dirty = computed(() => this.controlState()?.dirty ?? null);\n\tpublic readonly invalid = computed(() => this.controlState()?.invalid ?? null);\n\tpublic readonly spartanInvalid = computed(() => this.controlState()?.spartanInvalid ?? null);\n\tpublic readonly touched = computed(() => this.controlState()?.touched ?? null);\n\n\tprivate get _controlParent() {\n\t\treturn this._parentFormGroup || this._parentForm;\n\t}\n\n\tconstructor(\n\t\tprivate readonly _ngControl: NgControl,\n\t\tprivate readonly _matcher: ErrorStateMatcher | null,\n\t\tprivate readonly _parentFormGroup: FormGroupDirective | null,\n\t\tprivate readonly _parentForm: NgForm | null,\n\t) {\n\t\tconst control = _ngControl.control;\n\t\tif (control) {\n\t\t\tthis._eventsSubscription = control.events.subscribe(() => {\n\t\t\t\tthis._stateVersion.update((v) => v + 1);\n\t\t\t});\n\t\t}\n\t\t// the matcher may depend on the parent's `submitted` state\n\t\tthis._submitSubscription = onParentFormSubmitOrReset(this._controlParent, () =>\n\t\t\tthis._stateVersion.update((v) => v + 1),\n\t\t);\n\t}\n\n\tpublic destroy(): void {\n\t\tthis._eventsSubscription?.unsubscribe();\n\t\tthis._submitSubscription?.unsubscribe();\n\t}\n}\n","import { computed, signal } from '@angular/core';\nimport type { AbstractControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms';\nimport type { Subscription } from 'rxjs';\nimport type { ControlState } from './control-state';\nimport type { ErrorStateMatcher } from './error-options';\nimport { onParentFormSubmitOrReset } from './parent-form-events';\nimport { controlStateEqual, type StateTracker } from './state-tracker';\n\nexport class SignalStateTracker implements StateTracker {\n\tprivate readonly _submitVersion = signal(0);\n\tprivate readonly _submitSubscription?: Subscription;\n\tprivate readonly _control = computed(() => {\n\t\tconst control = this._ngControl.control as AbstractControl | null | undefined;\n\t\tif (!control) return null;\n\t\treturn control;\n\t});\n\t// With signal forms, AbstractControl is implemented by InteropNgControl, whose control state\n\t// properties (e.g. dirty, touched, invalid) are getter functions that internally read FormField state signals.\n\t// Accessing them inside a computed() therefore creates reactive signal dependencies automatically.\n\t// See: https://github.com/angular/angular/blob/39e382a756b552d2b7bd3ce2c364daee9d7a0056/packages/forms/signals/src/controls/interop_ng_control.ts#L68-L129\n\tpublic readonly dirty = computed<boolean | null>(() => this._control()?.dirty ?? null);\n\tpublic readonly touched = computed<boolean | null>(() => this._control()?.touched ?? null);\n\tpublic readonly invalid = computed<boolean | null>(() => this._control()?.invalid ?? null);\n\tpublic readonly errors = computed(() => this._control()?.errors ?? null);\n\tpublic readonly spartanInvalid = computed<boolean | null>(() => {\n\t\tconst control = this._control();\n\t\tif (!control) {\n\t\t\treturn null;\n\t\t}\n\t\t// `submitted` on NgForm / FormGroupDirective is read untracked, so depend on submit / reset explicitly.\n\t\tthis._submitVersion();\n\t\treturn this._matcher?.isInvalid(control, this._controlParent) ?? false;\n\t});\n\n\tpublic readonly controlState = computed<ControlState | null>(\n\t\t() => {\n\t\t\tconst dirty = this.dirty();\n\t\t\tconst invalid = this.invalid();\n\t\t\tconst touched = this.touched();\n\t\t\tconst spartanInvalid = this.spartanInvalid();\n\t\t\tconst errors = this.errors();\n\t\t\tif (dirty === null || invalid === null || touched === null || spartanInvalid === null) return null;\n\t\t\treturn { dirty, errors, invalid, spartanInvalid, touched };\n\t\t},\n\t\t{ equal: controlStateEqual },\n\t);\n\n\tprivate get _controlParent() {\n\t\treturn this._parentFormGroup || this._parentForm;\n\t}\n\n\tconstructor(\n\t\tprivate readonly _ngControl: NgControl,\n\t\tprivate readonly _matcher: ErrorStateMatcher | null,\n\t\tprivate readonly _parentFormGroup: FormGroupDirective | null,\n\t\tprivate readonly _parentForm: NgForm | null,\n\t) {\n\t\tthis._submitSubscription = onParentFormSubmitOrReset(this._controlParent, () =>\n\t\t\tthis._submitVersion.update((v) => v + 1),\n\t\t);\n\t}\n\n\tpublic destroy(): void {\n\t\tthis._submitSubscription?.unsubscribe();\n\t}\n}\n","import { isSignal } from '@angular/core';\nimport type { FormGroupDirective, NgControl, NgForm } from '@angular/forms';\nimport type { ErrorStateMatcher } from './error-options';\nimport { ReactiveStateTracker } from './reactive-state-tracker';\nimport { SignalStateTracker } from './signal-state-tracker';\nimport type { StateTracker } from './state-tracker';\n\nexport function createStateTracker(\n\tngControl: NgControl,\n\tmatcher: ErrorStateMatcher | null,\n\tparentFormGroup: FormGroupDirective | null,\n\tparentForm: NgForm | null,\n): StateTracker {\n\tif (ngControl.control && 'field' in ngControl.control && isSignal(ngControl.control.field)) {\n\t\treturn new SignalStateTracker(ngControl, matcher, parentFormGroup, parentForm);\n\t}\n\treturn new ReactiveStateTracker(ngControl, matcher, parentFormGroup, parentForm);\n}\n","import { Injectable, type Provider, type Type } from '@angular/core';\nimport { type AbstractControl, type FormGroupDirective, NgForm } from '@angular/forms';\n\n/**\n * Provides a custom {@link ErrorStateMatcher} at the component or application level.\n *\n * @example <caption>Application-level (appConfig)</caption>\n * ```ts\n * provideErrorStateMatcher(ShowOnDirtyErrorStateMatcher)\n * ```\n *\n * @example <caption>Component-level</caption>\n * ```ts\n * providers: [provideErrorStateMatcher(ShowOnDirtyErrorStateMatcher)]\n * ```\n */\nexport function provideErrorStateMatcher(matcher: Type<ErrorStateMatcher>): Provider {\n\treturn { provide: ErrorStateMatcher, useClass: matcher };\n}\n\n/** Error state matcher that matches when a control is invalid and dirty. */\n@Injectable()\nexport class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {\n\tisInvalid(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean {\n\t\treturn !!(control && control.invalid && (control.dirty || (form instanceof NgForm && form.submitted)));\n\t}\n}\n\n/**\n * Determines when a form control should be considered in an invalid (error) state.\n *\n * The return value of `isInvalid` is reflected as the `data-matches-spartan-invalid` attribute\n * on field components, which drives both error styling and the visibility of `HlmFieldError`\n * messages.\n *\n * The default implementation matches when the control is invalid and either touched or, for\n * template-driven forms, the parent `NgForm` has been submitted.\n *\n * Provide a custom implementation (e.g. `ShowOnDirtyErrorStateMatcher`) at the component or\n * application level to change when errors are shown.\n */\n@Injectable({ providedIn: 'root' })\nexport class ErrorStateMatcher {\n\tisInvalid(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean {\n\t\treturn !!(control && control.invalid && (control.touched || (form instanceof NgForm && form.submitted)));\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;;;;AAOG;AACG,SAAU,yBAAyB,CACxC,MAA0C,EAC1C,QAAoB,EAAA;IAEpB,OAAO,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,KAAK,KAAI;AAChD,QAAA,IAAI,KAAK,YAAY,kBAAkB,IAAI,KAAK,YAAY,cAAc;AAAE,YAAA,QAAQ,EAAE;AACvF,IAAA,CAAC,CAAC;AACH;;ACHM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