mn-angular-lib 2.0.44 → 2.0.46

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": "2.0.44",
3
+ "version": "2.0.46",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.1.7",
6
6
  "@angular/core": "^22.1.7",
@@ -495,7 +495,13 @@ export declare abstract class MnSelectableCollectionBase<T, DS extends MnSelecta
495
495
  protected emitSelection(): void;
496
496
  /** Records the row object for every loaded row that is currently selected. */
497
497
  private captureSelectedRows;
498
- /** The currently loaded rows whose id is selected. */
498
+ /**
499
+ * Every selected row that has been seen, including those no longer on the
500
+ * current page. Consumers of {@link selectionChange} and
501
+ * {@link MnSelectableCollectionDataSource.selectedRows} need the full
502
+ * selection; filtering only {@link MnSelectableCollectionDataSource.dataRows}
503
+ * silently drops off-page picks (F160).
504
+ */
499
505
  private resolveSelectedRows;
500
506
  static ɵfac: i0.ɵɵFactoryDeclaration<MnSelectableCollectionBase<any, any>, never>;
501
507
  static ɵdir: i0.ɵɵDirectiveDeclaration<MnSelectableCollectionBase<any, any>, never, never, {}, {
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { ElementRef, EventEmitter, InjectionToken, OnChanges, OnInit, TemplateRef } from "@angular/core";
2
+ import { ElementRef, EventEmitter, InjectionToken, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
3
3
  import { VariantProps } from "tailwind-variants";
4
4
  import { MnErrorMessageFn } from "mn-angular-lib/core";
5
5
  import { AbstractControl, NgControl, ValidationErrors } from "@angular/forms";
@@ -257,7 +257,7 @@ export declare const MN_INPUT_FIELD_CONFIG: InjectionToken<MnInputFieldUIConfig>
257
257
  * ></mn-input-field>
258
258
  * ```
259
259
  */
260
- export declare class MnInputField implements OnInit {
260
+ export declare class MnInputField implements OnInit, OnChanges {
261
261
  ngControl: NgControl | null;
262
262
  /** Resolved UI configuration for the input field */
263
263
  protected uiConfig: MnInputFieldUIConfig;
@@ -292,6 +292,12 @@ export declare class MnInputField implements OnInit {
292
292
  */
293
293
  constructor();
294
294
  ngOnInit(): void;
295
+ /**
296
+ * Re-applies label/placeholder/aria from `props` when the parent replaces the
297
+ * input object (language switch, kiosk search label, etc.). Without this the
298
+ * field keeps the values copied into `uiConfig` at init.
299
+ */
300
+ ngOnChanges(changes: SimpleChanges): void;
295
301
  /**
296
302
  * Focuses the input element.
297
303
  */