@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.
@@ -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?: Partial<FormFieldDefinition>): Function;
9
+ export declare function FormField(args: Partial<FormFieldDefinition>): Function;
10
10
  /**
11
11
  * Property decorator to create form fields
12
- * @param type
13
- * @param header
14
- * @param init
12
+ * @param args
15
13
  * @returns
16
14
  */
17
- export declare function FormFieldGroup(type: Type<any>, args?: Partial<FormFieldGroupDefinition>): Function;
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
@@ -15,7 +15,7 @@ export declare class FormFieldDefinition {
15
15
  mapper?: Function;
16
16
  compareWith?: Function;
17
17
  searchField?: string;
18
- projection?: string;
18
+ projection?: string | string[];
19
19
  params?: Function;
20
20
  multiple?: boolean;
21
21
  optionValue?: string;
@@ -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
  }
@@ -2,6 +2,7 @@ import { TableColumn } from "./table-column";
2
2
  import { TableMenuItem } from "./table-menu-item";
3
3
  export declare class TableDefinition {
4
4
  endpoint: string;
5
+ projection?: string | string[];
5
6
  includes?: string[];
6
7
  showAction?: boolean;
7
8
  selectable?: boolean;
@@ -49,9 +49,9 @@ export declare class TableDataSource<TEntity, TService extends GenericService<TE
49
49
  */
50
50
  includes: Array<string>;
51
51
  /**
52
- * The columns to be projected
52
+ * projection: string | string[]
53
53
  */
54
- projection: string;
54
+ projection: string | string[];
55
55
  /**
56
56
  * The list of items
57
57
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "13.3.5-rc10",
3
+ "version": "13.3.5-rc13",
4
4
  "peerDependencies": {},
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"