@messaia/cdk 18.0.0-rc19 → 18.0.0-rc21
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/esm2022/lib/forms/components/generic-form/generic-form.component.mjs +3 -3
- package/esm2022/lib/forms/helpers/abstract-mat-form-field.mjs +1 -1
- package/esm2022/lib/forms/models/form-field-definition.mjs +7 -2
- package/esm2022/lib/select/components/select.component.mjs +14 -7
- package/fesm2022/messaia-cdk.mjs +23 -11
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/common/pipes/order.pipe.d.ts +1 -1
- package/lib/forms/helpers/abstract-mat-form-field.d.ts +1 -1
- package/lib/forms/models/form-field-definition.d.ts +6 -1
- package/lib/select/components/select.component.d.ts +4 -4
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export declare class OrderPipe implements PipeTransform {
|
|
|
20
20
|
* @param a
|
|
21
21
|
* @param b
|
|
22
22
|
*/
|
|
23
|
-
static defaultCompare(a: any, b: any):
|
|
23
|
+
static defaultCompare(a: any, b: any): 1 | 0 | -1;
|
|
24
24
|
/**
|
|
25
25
|
* Parse expression, split into items
|
|
26
26
|
* @param expression
|
|
@@ -28,7 +28,7 @@ declare const _AbstractMatFormFieldBase: import("@angular/material/core")._Const
|
|
|
28
28
|
* AbstractMatFormField class
|
|
29
29
|
*/
|
|
30
30
|
export declare abstract class AbstractMatFormField<T> extends _AbstractMatFormFieldBase implements DoCheck, OnDestroy, ControlValueAccessor, MatFormFieldControl<T> {
|
|
31
|
-
|
|
31
|
+
controlType: string;
|
|
32
32
|
readonly ngControl: NgControl;
|
|
33
33
|
readonly _parentForm: NgForm;
|
|
34
34
|
readonly _parentFormGroup: FormGroupDirective;
|
|
@@ -38,6 +38,11 @@ export declare class FormFieldDefinition<TEntity = any, TProperty = any> {
|
|
|
38
38
|
* @property
|
|
39
39
|
*/
|
|
40
40
|
chipText: string;
|
|
41
|
+
/**
|
|
42
|
+
* Theme color palette for the chip.
|
|
43
|
+
* @property
|
|
44
|
+
*/
|
|
45
|
+
chipColor: 'primary' | 'accent' | 'warn';
|
|
41
46
|
/**
|
|
42
47
|
* Type of class to be instantiated.
|
|
43
48
|
* @property
|
|
@@ -359,7 +364,7 @@ export declare class FormFieldDefinition<TEntity = any, TProperty = any> {
|
|
|
359
364
|
* Mode of the trigger (e.g., chip).
|
|
360
365
|
* @property
|
|
361
366
|
*/
|
|
362
|
-
triggerMode
|
|
367
|
+
triggerMode?: 'chip';
|
|
363
368
|
/**
|
|
364
369
|
* Template for the trigger.
|
|
365
370
|
* @property
|
|
@@ -16,7 +16,7 @@ export declare class VdSelectComponent extends AbstractSelectFormField<any> impl
|
|
|
16
16
|
/**
|
|
17
17
|
* Mode of the trigger, default is 'chip'.
|
|
18
18
|
*/
|
|
19
|
-
protected _triggerMode
|
|
19
|
+
protected _triggerMode?: 'chip';
|
|
20
20
|
/**
|
|
21
21
|
* Template for rendering options.
|
|
22
22
|
*/
|
|
@@ -39,10 +39,10 @@ export declare class VdSelectComponent extends AbstractSelectFormField<any> impl
|
|
|
39
39
|
get triggerCssClass(): string | undefined;
|
|
40
40
|
set triggerCssClass(triggerCssClass: string | undefined);
|
|
41
41
|
/**
|
|
42
|
-
* Mode of the trigger
|
|
42
|
+
* Mode of the trigger.
|
|
43
43
|
*/
|
|
44
|
-
get triggerMode(): string;
|
|
45
|
-
set triggerMode(triggerMode:
|
|
44
|
+
get triggerMode(): string | undefined;
|
|
45
|
+
set triggerMode(triggerMode: 'chip' | undefined);
|
|
46
46
|
/**
|
|
47
47
|
* Gets the display values of the selected options for the trigger.
|
|
48
48
|
*
|