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/fesm2022/mn-angular-lib-collection.mjs +1 -1
- package/fesm2022/mn-angular-lib-collection.mjs.map +1 -1
- package/fesm2022/mn-angular-lib-forms.mjs +7 -0
- package/fesm2022/mn-angular-lib-forms.mjs.map +1 -1
- package/package.json +1 -1
- package/types/mn-angular-lib-collection.d.ts +7 -1
- package/types/mn-angular-lib-forms.d.ts +8 -2
package/package.json
CHANGED
|
@@ -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
|
-
/**
|
|
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
|
*/
|