@messaia/cdk 22.0.1-rc.21 → 22.0.1-rc.23
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/README.md +8 -0
- package/fesm2022/messaia-cdk.mjs +87 -8
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/package.json +1 -1
- package/types/messaia-cdk.d.ts +42 -2
package/package.json
CHANGED
package/types/messaia-cdk.d.ts
CHANGED
|
@@ -4084,7 +4084,8 @@ declare class TableDataSource<TEntity, TService extends GenericService<TEntity>>
|
|
|
4084
4084
|
onDataLoaded: BehaviorSubject<Pagination<TEntity> | any>;
|
|
4085
4085
|
/**
|
|
4086
4086
|
* @property selectionModel
|
|
4087
|
-
* @description Tracks
|
|
4087
|
+
* @description Tracks entities across pages by non-null ID, falling back to reference
|
|
4088
|
+
* equality for entities without an ID.
|
|
4088
4089
|
* @type {SelectionModel<TEntity>}
|
|
4089
4090
|
*/
|
|
4090
4091
|
selectionModel: SelectionModel<TEntity>;
|
|
@@ -6049,6 +6050,14 @@ declare class FormFieldDefinition<TEntity = any, TProperty = any> {
|
|
|
6049
6050
|
* @param ctx The context of the generic form component.
|
|
6050
6051
|
*/
|
|
6051
6052
|
optionTemplate?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
6053
|
+
/**
|
|
6054
|
+
* Property name in the option object used as the option group label.
|
|
6055
|
+
*/
|
|
6056
|
+
optionGroupProperty?: string;
|
|
6057
|
+
/**
|
|
6058
|
+
* Whether the option group label is appended in parentheses to built-in trigger text.
|
|
6059
|
+
*/
|
|
6060
|
+
showOptionGroupInTrigger: boolean;
|
|
6052
6061
|
/**
|
|
6053
6062
|
* Property name in the option object for displaying text.
|
|
6054
6063
|
* Used to specify which property shows as the option's text.
|
|
@@ -12248,6 +12257,14 @@ declare class VdSelectComponent extends AbstractSelectFormField<any> implements
|
|
|
12248
12257
|
* Reference to the filter input element.
|
|
12249
12258
|
*/
|
|
12250
12259
|
filterInput?: ElementRef;
|
|
12260
|
+
/**
|
|
12261
|
+
* Property whose value is used as the option group label.
|
|
12262
|
+
*/
|
|
12263
|
+
optionGroupProperty?: string;
|
|
12264
|
+
/**
|
|
12265
|
+
* Whether the option group label is appended to built-in trigger text.
|
|
12266
|
+
*/
|
|
12267
|
+
showOptionGroupInTrigger: boolean;
|
|
12251
12268
|
/**
|
|
12252
12269
|
* CSS class applied to the trigger element.
|
|
12253
12270
|
*/
|
|
@@ -12259,6 +12276,29 @@ declare class VdSelectComponent extends AbstractSelectFormField<any> implements
|
|
|
12259
12276
|
* @returns The display values of the selected options
|
|
12260
12277
|
*/
|
|
12261
12278
|
get triggerValues(): any[];
|
|
12279
|
+
/**
|
|
12280
|
+
* Gets the group label for an option.
|
|
12281
|
+
*
|
|
12282
|
+
* @param option The option whose group label should be resolved
|
|
12283
|
+
* @returns The resolved group label
|
|
12284
|
+
*/
|
|
12285
|
+
getOptionGroupLabel(option: any): string;
|
|
12286
|
+
/**
|
|
12287
|
+
* Gets the text displayed for an option in the built-in trigger.
|
|
12288
|
+
*
|
|
12289
|
+
* @param option The selected option
|
|
12290
|
+
* @returns The option text with its optional group label
|
|
12291
|
+
*/
|
|
12292
|
+
getOptionTriggerLabel(option: any): string;
|
|
12293
|
+
/**
|
|
12294
|
+
* Gets the filtered options grouped by their configured group property.
|
|
12295
|
+
*
|
|
12296
|
+
* @returns The ordered option groups
|
|
12297
|
+
*/
|
|
12298
|
+
get optionGroups(): {
|
|
12299
|
+
label: string;
|
|
12300
|
+
options: any[];
|
|
12301
|
+
}[];
|
|
12262
12302
|
/**
|
|
12263
12303
|
* Retrieves the currently selected options from the filtered options.
|
|
12264
12304
|
* If multiple options are selected, returns them as an array.
|
|
@@ -12306,7 +12346,7 @@ declare class VdSelectComponent extends AbstractSelectFormField<any> implements
|
|
|
12306
12346
|
*/
|
|
12307
12347
|
handleFilter($event?: Event): void;
|
|
12308
12348
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, never>;
|
|
12309
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "triggerCssClass": { "alias": "triggerCssClass"; "required": false; }; }, {}, ["optionTemplate", "triggerTemplate"], never, true, never>;
|
|
12349
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "optionGroupProperty": { "alias": "optionGroupProperty"; "required": false; }; "showOptionGroupInTrigger": { "alias": "showOptionGroupInTrigger"; "required": false; }; "triggerCssClass": { "alias": "triggerCssClass"; "required": false; }; }, {}, ["optionTemplate", "triggerTemplate"], never, true, never>;
|
|
12310
12350
|
}
|
|
12311
12351
|
|
|
12312
12352
|
/**
|