@messaia/cdk 13.3.5-rc10 → 13.3.5-rc13
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/esm2020/lib/base/components/generic-list.component.mjs +6 -1
- package/esm2020/lib/base/components/generic-reactive-form.component.mjs +4 -1
- package/esm2020/lib/forms/functions/decorators.mjs +9 -40
- package/esm2020/lib/forms/functions/functions.mjs +36 -3
- package/esm2020/lib/forms/models/form-field-definition.mjs +1 -1
- package/esm2020/lib/select/components/select.component.mjs +16 -3
- package/esm2020/lib/table/models/table-definition.mjs +1 -1
- package/esm2020/lib/table/table.data-source.mjs +2 -2
- package/fesm2015/messaia-cdk.mjs +77 -53
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +76 -53
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/components/generic-list.component.d.ts +4 -0
- package/lib/forms/functions/decorators.d.ts +3 -5
- package/lib/forms/functions/functions.d.ts +7 -0
- package/lib/forms/models/form-field-definition.d.ts +1 -1
- package/lib/select/components/select.component.d.ts +7 -1
- package/lib/table/models/table-definition.d.ts +1 -0
- package/lib/table/table.data-source.d.ts +2 -2
- package/package.json +1 -1
|
@@ -41,6 +41,10 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
|
|
|
41
41
|
* The navigations to includes
|
|
42
42
|
*/
|
|
43
43
|
includes: Array<string>;
|
|
44
|
+
/**
|
|
45
|
+
* projection: string | string[]
|
|
46
|
+
*/
|
|
47
|
+
projection: string | string[];
|
|
44
48
|
/**
|
|
45
49
|
* The navigations to includes
|
|
46
50
|
*/
|
|
@@ -6,12 +6,10 @@ import { FormFieldGroupDefinition } from "../models/form-field-group-definition"
|
|
|
6
6
|
* @param args
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
|
-
export declare function FormField(args
|
|
9
|
+
export declare function FormField(args: Partial<FormFieldDefinition>): Function;
|
|
10
10
|
/**
|
|
11
11
|
* Property decorator to create form fields
|
|
12
|
-
* @param
|
|
13
|
-
* @param header
|
|
14
|
-
* @param init
|
|
12
|
+
* @param args
|
|
15
13
|
* @returns
|
|
16
14
|
*/
|
|
17
|
-
export declare function FormFieldGroup(type: Type<
|
|
15
|
+
export declare function FormFieldGroup<T>(type: Type<T>, args?: Partial<FormFieldGroupDefinition>): Function;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { FormFieldGroupDefinition } from "../models/form-field-group-definition";
|
|
2
|
+
/**
|
|
3
|
+
* Gets poperties decoarated with @FormField grouped by row
|
|
4
|
+
* @param origin
|
|
5
|
+
* @returns
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
export declare function getFormGroupsOld(origin: object): FormFieldGroupDefinition[];
|
|
2
9
|
/**
|
|
3
10
|
* Gets poperties decoarated with @FormField grouped by row
|
|
4
11
|
* @param origin
|
|
@@ -2,7 +2,7 @@ import { FocusMonitor } from '@angular/cdk/a11y';
|
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import { AfterViewInit, ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
4
4
|
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
5
|
-
import { ErrorStateMatcher } from '@angular/material/core';
|
|
5
|
+
import { ErrorStateMatcher, MatOption } from '@angular/material/core';
|
|
6
6
|
import { MatSelect } from '@angular/material/select';
|
|
7
7
|
import { AbstractMatFormField } from '../../forms/helpers/abstract-mat-form-field';
|
|
8
8
|
import { VdSelectOptionDirective } from '../directives/vd-select-option.directive';
|
|
@@ -232,6 +232,12 @@ export declare class VdSelectComponent extends AbstractMatFormField<any> impleme
|
|
|
232
232
|
* @param searchText
|
|
233
233
|
*/
|
|
234
234
|
handleFilter(searchText: string): void;
|
|
235
|
+
/**
|
|
236
|
+
* Gets the values of the selected options for the trigger
|
|
237
|
+
* @param options
|
|
238
|
+
* @returns
|
|
239
|
+
*/
|
|
240
|
+
getTriggerValues(options: MatOption | MatOption[]): any;
|
|
235
241
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null]>;
|
|
236
242
|
static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "multiple": "multiple"; "disabled": "disabled"; "sorted": "sorted"; "textPrefix": "textPrefix"; "endpoint": "endpoint"; "params": "params"; "projection": "projection"; "enum": "enum"; "key": "key"; "text": "text"; "prefix": "prefix"; "options": "options"; "filteredOptions": "filteredOptions"; "filterable": "filterable"; "cache": "cache"; "sortBy": "sortBy"; "mapper": "mapper"; "compareWith": "compareWith"; "searchField": "searchField"; }, { "onValueChange": "change"; "onItemChange": "itemChange"; "onSelected": "selected"; "onItemSelected": "itemSelected"; "onLaunch": "launch"; }, ["optionTemplate", "triggerTemplate"], never>;
|
|
237
243
|
}
|
|
@@ -49,9 +49,9 @@ export declare class TableDataSource<TEntity, TService extends GenericService<TE
|
|
|
49
49
|
*/
|
|
50
50
|
includes: Array<string>;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* projection: string | string[]
|
|
53
53
|
*/
|
|
54
|
-
projection: string;
|
|
54
|
+
projection: string | string[];
|
|
55
55
|
/**
|
|
56
56
|
* The list of items
|
|
57
57
|
*/
|