mn-angular-lib 1.0.156 → 1.0.157

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "1.0.156",
3
+ "version": "1.0.157",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3",
@@ -6709,6 +6709,16 @@ type FormFieldView<TModel> = FormFieldConfig<TModel> & {
6709
6709
  };
6710
6710
  declare class MnFormBodyComponent<TModel = unknown, TResult = TModel> implements OnInit, OnDestroy, AfterViewInit {
6711
6711
  private fb;
6712
+ /**
6713
+ * Change detector used to announce state this component mutates outside an Angular
6714
+ * event handler — after an `await`, or from an RxJS subscription. Consuming apps run
6715
+ * zoneless, where such a write notifies nothing: the view is never marked dirty, so it
6716
+ * keeps rendering the stale value and `checkNoChanges` then reports it as NG0100
6717
+ * (e.g. the submit button staying disabled on "Submitting..." after a failed submit).
6718
+ * Every async mutation of {@link isSubmitting}, {@link fieldLoading}, {@link fieldOptions}
6719
+ * and {@link formErrors} must be followed by `markForCheck()`.
6720
+ */
6721
+ private readonly cdr;
6712
6722
  config: FormModalConfig<TModel, TResult>;
6713
6723
  modalRef: MnModalRef<TResult>;
6714
6724
  hideFooter: boolean;