@messaia/cdk 13.3.10 → 13.4.0-legacy

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.
Files changed (197) hide show
  1. package/esm2020/lib/base/base.module.mjs +10 -32
  2. package/esm2020/lib/base/components/base.component.mjs +9 -61
  3. package/esm2020/lib/base/components/generic-form-base.component.mjs +23 -27
  4. package/esm2020/lib/base/components/generic-form.component.mjs +3 -3
  5. package/esm2020/lib/base/components/generic-list.component.mjs +31 -152
  6. package/esm2020/lib/base/components/generic-reactive-form.component.mjs +3 -6
  7. package/esm2020/lib/base/interceptors/base.interceptor.mjs +3 -3
  8. package/esm2020/lib/base/interceptors/caching-interceptor.mjs +3 -3
  9. package/esm2020/lib/base/interceptors/loading.interceptor.mjs +3 -3
  10. package/esm2020/lib/base/services/file.service.mjs +3 -3
  11. package/esm2020/lib/base/services/loading-screen.service.mjs +3 -3
  12. package/esm2020/lib/base/services/print.service.mjs +3 -3
  13. package/esm2020/lib/chips/chips.module.mjs +8 -21
  14. package/esm2020/lib/chips/components/chips.component.mjs +179 -243
  15. package/esm2020/lib/common/common.module.mjs +5 -6
  16. package/esm2020/lib/common/constants/constants.mjs +2 -3
  17. package/esm2020/lib/common/directives/disable-control.directive.mjs +3 -3
  18. package/esm2020/lib/common/functions/decorators.mjs +3 -3
  19. package/esm2020/lib/common/functions/functions.mjs +2 -3
  20. package/esm2020/lib/common/functions/utils.mjs +3 -17
  21. package/esm2020/lib/common/helpers/app-storage.mjs +7 -31
  22. package/esm2020/lib/common/helpers/dynamic-builder.mjs +3 -3
  23. package/esm2020/lib/common/helpers/dynamic-component-compiler.mjs +3 -3
  24. package/esm2020/lib/common/models/action-menu-item.mjs +1 -1
  25. package/esm2020/lib/common/models/app-setting.mjs +3 -3
  26. package/esm2020/lib/common/pipes/data-source.pipe.mjs +3 -3
  27. package/esm2020/lib/common/pipes/enum.pipe.mjs +3 -3
  28. package/esm2020/lib/common/pipes/file-size.pipe.mjs +3 -3
  29. package/esm2020/lib/common/pipes/filter.pipe.mjs +3 -3
  30. package/esm2020/lib/common/pipes/first-letter.mjs +3 -3
  31. package/esm2020/lib/common/pipes/keys.mjs +3 -3
  32. package/esm2020/lib/common/pipes/month-name.pipe.mjs +3 -3
  33. package/esm2020/lib/common/pipes/only-number.mjs +3 -3
  34. package/esm2020/lib/common/pipes/order.pipe.mjs +3 -3
  35. package/esm2020/lib/common/pipes/placeholder.pipe.mjs +3 -3
  36. package/esm2020/lib/common/pipes/safe-html.pipe.mjs +3 -3
  37. package/esm2020/lib/common/pipes/time.pipe.mjs +3 -3
  38. package/esm2020/lib/common/pipes/titlecase.pipe.mjs +3 -3
  39. package/esm2020/lib/common/pipes/truncate.pipe.mjs +3 -3
  40. package/esm2020/lib/common/pipes/values.mjs +3 -3
  41. package/esm2020/lib/common/services/base.service.mjs +3 -3
  42. package/esm2020/lib/common/services/enum.service.mjs +3 -3
  43. package/esm2020/lib/dialogs/alert-dialog/alert-dialog.component.mjs +4 -4
  44. package/esm2020/lib/dialogs/confirm-dialog/confirm-dialog.component.mjs +4 -4
  45. package/esm2020/lib/dialogs/dialog.component.mjs +9 -9
  46. package/esm2020/lib/dialogs/dialogs.module.mjs +4 -4
  47. package/esm2020/lib/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
  48. package/esm2020/lib/dialogs/services/dialog.service.mjs +3 -3
  49. package/esm2020/lib/file/file-input.component.mjs +3 -3
  50. package/esm2020/lib/file/file.module.mjs +4 -4
  51. package/esm2020/lib/form-validators/directives/base-directive.mjs +3 -3
  52. package/esm2020/lib/form-validators/directives/control-host.directive.mjs +3 -3
  53. package/esm2020/lib/form-validators/directives/html-control-template.directive.mjs +3 -3
  54. package/esm2020/lib/form-validators/directives/rx-form.directive.mjs +3 -3
  55. package/esm2020/lib/form-validators/directives/template-validations/async-validation.directive.mjs +3 -3
  56. package/esm2020/lib/form-validators/directives/template-validations/base-validator.directive.mjs +3 -3
  57. package/esm2020/lib/form-validators/directives/template-validations/control-expression-process.mjs +3 -3
  58. package/esm2020/lib/form-validators/directives/template-validations/file-control.directive.mjs +3 -3
  59. package/esm2020/lib/form-validators/directives/template-validations/image-file-control.directive.mjs +3 -3
  60. package/esm2020/lib/form-validators/directives/template-validations/rxformcontrol.directive.mjs +3 -3
  61. package/esm2020/lib/form-validators/domain/element-processor/decimal.provider.mjs +3 -3
  62. package/esm2020/lib/form-validators/services/reactive-form.module.mjs +7 -7
  63. package/esm2020/lib/form-validators/services/rx-form-builder.mjs +3 -3
  64. package/esm2020/lib/form-validators/services/typed-form-builder.mjs +3 -3
  65. package/esm2020/lib/forms/components/generic-form/generic-form.component.mjs +13 -30
  66. package/esm2020/lib/forms/constants/constants.mjs +2 -3
  67. package/esm2020/lib/forms/directives/mat-form-field-editor.directive.mjs +3 -3
  68. package/esm2020/lib/forms/directives/mat-form-field-readonly.directive.mjs +3 -3
  69. package/esm2020/lib/forms/forms.module.mjs +7 -7
  70. package/esm2020/lib/forms/functions/decorators.mjs +116 -36
  71. package/esm2020/lib/forms/functions/functions.mjs +7 -17
  72. package/esm2020/lib/forms/helpers/abstract-mat-form-field.mjs +15 -41
  73. package/esm2020/lib/forms/helpers/value-accessor-base.mjs +3 -3
  74. package/esm2020/lib/forms/models/form-field-definition.mjs +6 -7
  75. package/esm2020/lib/forms/models/form-field-group.mjs +12 -0
  76. package/esm2020/lib/forms/validators/equal-validator.directive.mjs +3 -3
  77. package/esm2020/lib/forms/validators/native-element-injector.directive.mjs +3 -3
  78. package/esm2020/lib/forms/validators/unique-validator-directive.mjs +3 -3
  79. package/esm2020/lib/http/http.module.mjs +4 -4
  80. package/esm2020/lib/layout/form-toolbar/form-toolbar.component.mjs +3 -3
  81. package/esm2020/lib/layout/form-toolbar-menu/form-toolbar-menu.component.mjs +3 -3
  82. package/esm2020/lib/layout/layout-card-over/layout-card-over.component.mjs +4 -4
  83. package/esm2020/lib/layout/layout-footer/layout-footer.component.mjs +3 -3
  84. package/esm2020/lib/layout/layout-manage-list/layout-manage-list.component.mjs +4 -4
  85. package/esm2020/lib/layout/layout-manage-list/layout-manage-list.directives.mjs +7 -7
  86. package/esm2020/lib/layout/layout-nav/layout-nav.component.mjs +3 -3
  87. package/esm2020/lib/layout/layout-nav-list/layout-nav-list.component.mjs +32 -21
  88. package/esm2020/lib/layout/layout-nav-list/layout-nav-list.directives.mjs +26 -50
  89. package/esm2020/lib/layout/layout-toggle.class.mjs +3 -3
  90. package/esm2020/lib/layout/layout.component.mjs +3 -3
  91. package/esm2020/lib/layout/layout.directives.mjs +7 -7
  92. package/esm2020/lib/layout/layout.module.mjs +9 -9
  93. package/esm2020/lib/layout/list-toolbar/list-toolbar.component.mjs +9 -20
  94. package/esm2020/lib/layout/list-toolbar-menu/list-toolbar-menu.component.mjs +19 -0
  95. package/esm2020/lib/layout/navigation-drawer/navigation-drawer.component.mjs +8 -8
  96. package/esm2020/lib/media/directives/media-toggle.directive.mjs +3 -3
  97. package/esm2020/lib/media/media.module.mjs +4 -4
  98. package/esm2020/lib/media/services/media.service.mjs +3 -3
  99. package/esm2020/lib/menu/components/menu.component.mjs +3 -3
  100. package/esm2020/lib/menu/menu.module.mjs +4 -4
  101. package/esm2020/lib/menu/services/menu-items.service.mjs +3 -3
  102. package/esm2020/lib/menu/services/menu.resolve.mjs +5 -5
  103. package/esm2020/lib/menu/services/menu.service.mjs +3 -3
  104. package/esm2020/lib/search/search.module.mjs +4 -4
  105. package/esm2020/lib/search/vd-search-box/vd-search-box.component.mjs +3 -3
  106. package/esm2020/lib/search/vd-search-input/vd-search-input.component.mjs +3 -3
  107. package/esm2020/lib/select/components/select.component.mjs +11 -28
  108. package/esm2020/lib/select/directives/vd-select-option.directive.mjs +3 -3
  109. package/esm2020/lib/select/directives/vd-select-trigger.directive.mjs +3 -3
  110. package/esm2020/lib/select/public_api.mjs +2 -1
  111. package/esm2020/lib/select/select.module.mjs +4 -4
  112. package/esm2020/lib/table/components/dynamic-table/dynamic-table.component.mjs +43 -117
  113. package/esm2020/lib/table/components/filter-clear.component.mjs +4 -4
  114. package/esm2020/lib/table/components/filter-date.component.mjs +4 -4
  115. package/esm2020/lib/table/components/filter-input.component.mjs +4 -4
  116. package/esm2020/lib/table/components/filter-select.component.mjs +6 -6
  117. package/esm2020/lib/table/directives/data-source-filter.directive.mjs +3 -3
  118. package/esm2020/lib/table/enums/table-column-type.mjs +1 -2
  119. package/esm2020/lib/table/functions/decorators.mjs +45 -38
  120. package/esm2020/lib/table/functions/functions.mjs +5 -18
  121. package/esm2020/lib/table/models/table-column.mjs +1 -2
  122. package/esm2020/lib/table/models/table-definition.mjs +1 -1
  123. package/esm2020/lib/table/models/table-menu-item.mjs +1 -1
  124. package/esm2020/lib/table/paginator-intl.mjs +3 -3
  125. package/esm2020/lib/table/table.data-source.mjs +15 -49
  126. package/esm2020/lib/table/table.module.mjs +4 -11
  127. package/fesm2015/messaia-cdk.mjs +9541 -10197
  128. package/fesm2015/messaia-cdk.mjs.map +1 -1
  129. package/fesm2020/messaia-cdk.mjs +8052 -8695
  130. package/fesm2020/messaia-cdk.mjs.map +1 -1
  131. package/lib/base/base.module.d.ts +5 -18
  132. package/lib/base/components/base.component.d.ts +4 -31
  133. package/lib/base/components/generic-form-base.component.d.ts +7 -9
  134. package/lib/base/components/generic-list.component.d.ts +8 -55
  135. package/lib/chips/chips.module.d.ts +10 -18
  136. package/lib/chips/components/chips.component.d.ts +73 -131
  137. package/lib/common/common.module.d.ts +1 -2
  138. package/lib/common/constants/constants.d.ts +1 -2
  139. package/lib/common/functions/utils.d.ts +0 -7
  140. package/lib/common/helpers/app-storage.d.ts +1 -12
  141. package/lib/common/models/action-menu-item.d.ts +16 -7
  142. package/lib/common/styles/_common-theme.scss +5 -10
  143. package/lib/common/styles/_layout.scss +92 -149
  144. package/lib/common/styles/utilities/_general.scss +7 -428
  145. package/lib/forms/components/generic-form/generic-form.component.d.ts +3 -13
  146. package/lib/forms/constants/constants.d.ts +1 -2
  147. package/lib/forms/forms.module.d.ts +3 -3
  148. package/lib/forms/functions/decorators.d.ts +8 -3
  149. package/lib/forms/functions/functions.d.ts +3 -3
  150. package/lib/forms/helpers/abstract-mat-form-field.d.ts +14 -28
  151. package/lib/forms/models/form-field-definition.d.ts +34 -41
  152. package/lib/forms/models/form-field-group.d.ts +12 -0
  153. package/lib/layout/_layout-theme.scss +79 -114
  154. package/lib/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -12
  155. package/lib/layout/layout-nav-list/layout-nav-list.directives.d.ts +0 -36
  156. package/lib/layout/layout.module.d.ts +4 -4
  157. package/lib/layout/list-toolbar/list-toolbar.component.d.ts +4 -13
  158. package/lib/layout/list-toolbar-menu/list-toolbar-menu.component.d.ts +14 -0
  159. package/lib/select/components/select.component.d.ts +8 -15
  160. package/lib/select/public_api.d.ts +1 -0
  161. package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +12 -58
  162. package/lib/table/components/filter-clear.component.d.ts +1 -1
  163. package/lib/table/components/filter-date.component.d.ts +1 -1
  164. package/lib/table/components/filter-input.component.d.ts +1 -1
  165. package/lib/table/components/filter-select.component.d.ts +1 -1
  166. package/lib/table/enums/table-column-type.d.ts +1 -2
  167. package/lib/table/functions/decorators.d.ts +5 -3
  168. package/lib/table/models/table-column.d.ts +34 -39
  169. package/lib/table/models/table-definition.d.ts +5 -8
  170. package/lib/table/models/table-menu-item.d.ts +2 -2
  171. package/lib/table/table.data-source.d.ts +4 -26
  172. package/lib/table/table.module.d.ts +19 -23
  173. package/package.json +1 -1
  174. package/esm2020/lib/base/components/dynamic-table-config-dialog.comnponent.mjs +0 -96
  175. package/esm2020/lib/base/interfaces/ibase-component.mjs +0 -2
  176. package/esm2020/lib/base/interfaces/igeneric-form-base.mjs +0 -2
  177. package/esm2020/lib/base/interfaces/igeneric-list-component.mjs +0 -2
  178. package/esm2020/lib/chips/directives/autocomplete-option.directive.mjs +0 -18
  179. package/esm2020/lib/chips/directives/chip.directive.mjs +0 -18
  180. package/esm2020/lib/common/models/action-menu.mjs +0 -12
  181. package/esm2020/lib/forms/models/form-field-group-definition.mjs +0 -12
  182. package/esm2020/lib/layout/dynamic-menu/dynamic-menu.component.mjs +0 -40
  183. package/esm2020/lib/table/constants/constants.mjs +0 -3
  184. package/esm2020/lib/table/models/table-column-config.mjs +0 -63
  185. package/esm2020/lib/table/models/table-menu.mjs +0 -12
  186. package/lib/base/components/dynamic-table-config-dialog.comnponent.d.ts +0 -39
  187. package/lib/base/interfaces/ibase-component.d.ts +0 -87
  188. package/lib/base/interfaces/igeneric-form-base.d.ts +0 -81
  189. package/lib/base/interfaces/igeneric-list-component.d.ts +0 -80
  190. package/lib/chips/directives/autocomplete-option.directive.d.ts +0 -11
  191. package/lib/chips/directives/chip.directive.d.ts +0 -11
  192. package/lib/common/models/action-menu.d.ts +0 -16
  193. package/lib/forms/models/form-field-group-definition.d.ts +0 -16
  194. package/lib/layout/dynamic-menu/dynamic-menu.component.d.ts +0 -29
  195. package/lib/table/constants/constants.d.ts +0 -2
  196. package/lib/table/models/table-column-config.d.ts +0 -30
  197. package/lib/table/models/table-menu.d.ts +0 -8
@@ -1,77 +1,56 @@
1
1
  import { FocusMonitor } from '@angular/cdk/a11y';
2
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Type } from '@angular/core';
2
+ import { CdkPortal } from '@angular/cdk/portal';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { ElementRef, EventEmitter, Injector, TemplateRef, ViewContainerRef } from '@angular/core';
3
5
  import { FormControl, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
4
- import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
6
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
5
7
  import { ErrorStateMatcher } from '@angular/material/core';
6
- import { MatPaginator } from '@angular/material/paginator';
7
- import { MatSort, SortDirection } from '@angular/material/sort';
8
- import { Subscription } from 'rxjs';
9
- import { BaseService, SuffixButton } from '../../common/common.module';
8
+ import { MatInput } from '@angular/material/input';
9
+ import { SuffixButton } from '../../common/common.module';
10
10
  import { AbstractMatFormField } from '../../forms/helpers/abstract-mat-form-field';
11
- import { VdMediaService } from '../../media/services/media.service';
12
- import { VdDynamicTableComponent } from '../../table/components/dynamic-table/dynamic-table.component';
13
- import { TableDataSource } from '../../table/table.data-source';
14
- import { VdAutocompleteOptionDirective } from '../directives/autocomplete-option.directive';
15
- import { VdChipDirective } from '../directives/chip.directive';
16
11
  import * as i0 from "@angular/core";
17
- export declare class VdChipsComponent extends AbstractMatFormField<any> implements OnInit, AfterViewInit, OnDestroy {
12
+ /**
13
+ * VdChipDirective class
14
+ */
15
+ export declare class VdChipDirective extends CdkPortal {
16
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdChipDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VdChipDirective, "[vd-chip]ng-template", never, {}, {}, never>;
19
+ }
20
+ /**
21
+ * VdAutocompleteOptionDirective class
22
+ */
23
+ export declare class VdAutocompleteOptionDirective extends CdkPortal {
24
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdAutocompleteOptionDirective, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VdAutocompleteOptionDirective, "[vd-autocomplete-option]ng-template", never, {}, {}, never>;
27
+ }
28
+ /**
29
+ * VdChipsComponent class
30
+ */
31
+ export declare class VdChipsComponent extends AbstractMatFormField<any> {
18
32
  protected injector: Injector;
19
- media: VdMediaService;
20
- protected changeDetectorRef: ChangeDetectorRef;
21
- /**
22
- * _dynamicTable: MatPaginator
23
- */
24
- private _dynamicTable;
25
- /**
26
- * A reference to VdDynamicTableComponent element
27
- */
28
- get dynamicTable(): VdDynamicTableComponent;
29
- set dynamicTable(dynamicTable: VdDynamicTableComponent);
30
- /**
31
- * The type of the class for the dyynamic table
32
- */
33
- classType: Type<any>;
34
- /**
35
- * _paginator: MatPaginator
36
- */
37
- private _paginator;
38
- /**
39
- * A reference to MdPaginator element
40
- */
41
- set paginator(paginator: MatPaginator);
42
- get paginator(): MatPaginator;
43
- /**
44
- * A reference to MdSort attribute
45
- */
46
- sort: MatSort;
47
- /**
48
- * Page size options
49
- */
50
- pageSizeOptions: Array<number>;
51
- /**
52
- * Current sort column
53
- */
54
- sortActive: string;
55
33
  /**
56
- * Current sort direction
34
+ * The http service from to get the data
57
35
  */
58
- sortDirection: SortDirection;
36
+ protected http: HttpClient;
59
37
  /**
60
- * Data-table datasource
38
+ * The select element.
61
39
  */
62
- dataSource: TableDataSource<any, any> | null;
40
+ chipInput: MatInput;
63
41
  /**
64
- * dataSourceObservable: Subscription
42
+ * Represents a value that changes over time.
43
+ * Observers can subscribe to the subject to receive pdf file changes
65
44
  */
66
- dataSourceSubscription: Subscription;
45
+ private _endpointChange;
67
46
  /**
68
47
  * Set up reactive formcontrol
69
48
  */
70
49
  autoCompleteChipList: FormControl;
71
50
  /**
72
- * The select element.
51
+ * The list of filtered options
73
52
  */
74
- filterInput: ElementRef;
53
+ filteredOptions: any[];
75
54
  /**
76
55
  * searchOperators: string[]
77
56
  */
@@ -88,23 +67,15 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
88
67
  * AutocompleteOption template
89
68
  */
90
69
  autocompleteOptionTemplate: VdAutocompleteOptionDirective;
91
- /**
92
- * autocomplete: MatAutocomplete
93
- */
94
- autocomplete: MatAutocomplete;
95
- /**
96
- * autocompleteTrigger: MatAutocompleteTrigger
97
- */
98
- autocompleteTrigger: MatAutocompleteTrigger;
99
70
  /**
100
71
  * _endpoint: string
101
72
  */
102
- _endpoint: string | Function;
73
+ _endpoint: string;
103
74
  /**
104
75
  * Gets or sets endpoint
105
76
  */
106
- get endpoint(): string | Function;
107
- set endpoint(endpoint: string | Function);
77
+ get endpoint(): any;
78
+ set endpoint(endpoint: any);
108
79
  /**
109
80
  * _params: any
110
81
  */
@@ -117,34 +88,26 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
117
88
  /**
118
89
  * _projection: any
119
90
  */
120
- _projection: string | string[];
91
+ _projection: string;
121
92
  /**
122
93
  * projection: any
123
94
  */
124
- get projection(): string | string[];
125
- set projection(projection: string | string[]);
126
- /**
127
- * Gets the disabled.
128
- */
129
- get disabled(): boolean;
95
+ get projection(): string;
96
+ set projection(projection: string);
130
97
  /**
131
- * Readonly
98
+ * _path: any
132
99
  */
133
- _paginated: boolean;
100
+ _path: any;
134
101
  /**
135
- * Pagination
102
+ * Gets or sets path
136
103
  */
137
- get paginated(): boolean;
138
- set paginated(paginated: boolean);
104
+ get path(): any;
105
+ set path(path: any);
139
106
  /**
140
- * Readonly
107
+ * Sets the disabled.
108
+ * @param disabled
141
109
  */
142
- _customValue: boolean;
143
- /**
144
- * Custom value
145
- */
146
- get customValue(): boolean;
147
- set customValue(customValue: boolean);
110
+ get disabled(): any;
148
111
  /**
149
112
  * context: any
150
113
  * The current context
@@ -162,6 +125,14 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
162
125
  * searchFields: string
163
126
  */
164
127
  searchFields: string[];
128
+ /**
129
+ * termMinlength: number
130
+ */
131
+ termMinlength: number;
132
+ /**
133
+ * limit: number
134
+ */
135
+ limit: number;
165
136
  /**
166
137
  * removable: boolean
167
138
  */
@@ -171,14 +142,6 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
171
142
  * Debounce timeout between keypresses. Defaults to 400.
172
143
  */
173
144
  debounce: number;
174
- /**
175
- * autocompleteCssClass: string
176
- */
177
- autocompleteCssClass: string;
178
- /**
179
- * opened: boolean
180
- */
181
- opened: boolean;
182
145
  /**
183
146
  * initSelect?: function
184
147
  */
@@ -205,6 +168,15 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
205
168
  * Sends chip value as event.
206
169
  */
207
170
  chipFocus: EventEmitter<any>;
171
+ /**
172
+ * Whether the select has a value.
173
+ */
174
+ get empty(): boolean;
175
+ /**
176
+ * Default chip
177
+ */
178
+ get default(): any;
179
+ set default(_chip: any);
208
180
  /**
209
181
  * Whether the `MatFormField` label should try to float.
210
182
  */
@@ -217,15 +189,8 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
217
189
  * emptyResult: boolean
218
190
  */
219
191
  emptyResult: boolean;
220
- /**
221
- * service: BaseService
222
- */
223
- protected service: BaseService;
224
192
  /**
225
193
  * Constructor
226
- * @param injector
227
- * @param media
228
- * @param changeDetectorRef
229
194
  * @param ngControl
230
195
  * @param parentForm
231
196
  * @param parentFormGroup
@@ -233,40 +198,27 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
233
198
  * @param focusMonitor
234
199
  * @param elementRef
235
200
  */
236
- constructor(injector: Injector, media: VdMediaService, changeDetectorRef: ChangeDetectorRef, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, focusMonitor: FocusMonitor, elementRef: ElementRef);
237
- /**
238
- * Lifecycle hook that is called after data-bound properties of a
239
- * directive are initialized.
240
- */
241
- ngOnInit(): void;
242
- /**
243
- * Lifecycle hook that is called after a component's view has been fully initialized.
244
- */
245
- ngAfterViewInit(): void;
201
+ constructor(injector: Injector, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, focusMonitor: FocusMonitor, elementRef: ElementRef);
246
202
  /**
247
203
  * From ControlValueAccessor interface
248
204
  * @param value
249
205
  */
250
206
  writeValue(value: any): void;
251
- /**
252
- * Connects the data source and subscribe to the data changes
253
- */
254
- connect(): void;
255
207
  /**
256
208
  * Sets control focus
257
209
  */
258
210
  focus(): void;
259
211
  /**
260
- * Handles blur event of the input box
261
- * @param event
212
+ * Lifecycle hook that is called after data-bound properties of a
213
+ * directive are initialized.
262
214
  */
263
- addOnBlur(event: FocusEvent): void;
215
+ ngOnInit(): void;
264
216
  /**
265
217
  * Adds a chip
266
218
  * @param event
267
219
  * @param input
268
220
  */
269
- addChip(value: any, input: any): void;
221
+ addChip(event: MatAutocompleteSelectedEvent, input: any): void;
270
222
  /**
271
223
  * Removes all chips
272
224
  */
@@ -284,16 +236,6 @@ export declare class VdChipsComponent extends AbstractMatFormField<any> implemen
284
236
  * Handles launch button click
285
237
  */
286
238
  handleLaunchClicked(): void;
287
- /**
288
- * Gets query params
289
- * @returns
290
- */
291
- protected getQueryParams(): any;
292
- /**
293
- * A callback method that performs custom clean-up, invoked immediately
294
- * before a directive, pipe, or service instance is destroyed.
295
- */
296
- ngOnDestroy(): void;
297
- static ɵfac: i0.ɵɵFactoryDeclaration<VdChipsComponent, [null, null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null]>;
298
- static ɵcmp: i0.ɵɵComponentDeclaration<VdChipsComponent, "vd-chips", never, { "classType": "classType"; "chips": "chips"; "endpoint": "endpoint"; "params": "params"; "projection": "projection"; "paginated": "paginated"; "customValue": "customValue"; "context": "context"; "key": "key"; "searchField": "searchField"; "searchFields": "searchFields"; "removable": "removable"; "debounce": "debounce"; "autocompleteCssClass": "autocompleteCssClass"; "suffixButtons": "suffixButtons"; }, { "initSelect": "initSelect"; "selected": "selected"; "cleared": "cleared"; "onLaunch": "launch"; "chipFocus": "chipFocus"; }, ["chipTemplate", "autocompleteOptionTemplate"], never>;
239
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdChipsComponent, [null, { optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null]>;
240
+ static ɵcmp: i0.ɵɵComponentDeclaration<VdChipsComponent, "vd-chips", never, { "chips": "chips"; "endpoint": "endpoint"; "params": "params"; "projection": "projection"; "path": "path"; "context": "context"; "key": "key"; "searchField": "searchField"; "searchFields": "searchFields"; "termMinlength": "termMinlength"; "limit": "limit"; "removable": "removable"; "debounce": "debounce"; "suffixButtons": "suffixButtons"; "default": "default"; }, { "initSelect": "initSelect"; "selected": "selected"; "cleared": "cleared"; "onLaunch": "launch"; "chipFocus": "chipFocus"; }, ["chipTemplate", "autocompleteOptionTemplate"], never>;
299
241
  }
@@ -18,7 +18,7 @@ import * as i15 from "./pipes/month-name.pipe";
18
18
  import * as i16 from "./pipes/safe-html.pipe";
19
19
  export { IControlValueAccessor, mixinControlValueAccessor } from './behaviors/control-value-accesor.mixin';
20
20
  export { ICanDisable, mixinDisabled } from './behaviors/disabled.mixin';
21
- export { endpointMetadataKey, headerMetadataKey } from './constants/constants';
21
+ export { headerMetadataKey } from './constants/constants';
22
22
  export { Salutation } from './enums/salutation';
23
23
  export { Api, Display } from './functions/decorators';
24
24
  export { getEndpoint } from './functions/functions';
@@ -26,7 +26,6 @@ export { Utils } from './functions/utils';
26
26
  export { AppStorage } from './helpers/app-storage';
27
27
  export { DynamicBuilder } from './helpers/dynamic-builder';
28
28
  export { DynamicComponentCompiler } from './helpers/dynamic-component-compiler';
29
- export { ActionMenu } from './models/action-menu';
30
29
  export { ActionMenuItem } from './models/action-menu-item';
31
30
  export { AppSetting } from './models/app-setting';
32
31
  export { AuditEntity } from './models/audit-entity';
@@ -1,2 +1 @@
1
- export declare const headerMetadataKey = "customer:vdHeader";
2
- export declare const endpointMetadataKey = "customer:vdEndpoint";
1
+ export declare const headerMetadataKey: unique symbol;
@@ -70,13 +70,6 @@ export declare class Utils {
70
70
  * @param obj
71
71
  */
72
72
  static cleanObject(obj: any): any;
73
- /**
74
- * Checks if the specified objects are equal
75
- * @param obj1
76
- * @param obj2
77
- * @returns
78
- */
79
- static equals(obj1: any, obj2: any): boolean;
80
73
  /**
81
74
  * Gets the query params and the hash from the specified url
82
75
  * @param url
@@ -22,22 +22,11 @@ export declare abstract class AppStorage {
22
22
  * @param value The value to store
23
23
  */
24
24
  static setObject: (key: string, value: any) => void;
25
- /**
26
- * Sets an object from localStorage
27
- * @param key The key of the item to store
28
- * @param value The value to store
29
- */
30
- static setObjectEncoded: (key: string, value: any) => void;
31
- /**
32
- * Gets an object from localStorage
33
- * @param key The key of the item
34
- */
35
- static getObject: (key: string, defaultValue?: any) => any;
36
25
  /**
37
26
  * Gets an object from localStorage
38
27
  * @param key The key of the item
39
28
  */
40
- static getObjectEncoded: (key: string, defaultValue?: any) => any;
29
+ static getObject: (key: string) => any;
41
30
  static ɵfac: i0.ɵɵFactoryDeclaration<AppStorage, never>;
42
31
  static ɵdir: i0.ɵɵDirectiveDeclaration<AppStorage, never, never, {}, {}, never>;
43
32
  }
@@ -1,15 +1,24 @@
1
1
  export declare class ActionMenuItem<TEntity = any, TContext = any> {
2
2
  title: string;
3
- icon?: ((x?: TEntity, ctx?: TContext) => any) | string;
3
+ icon?: string;
4
4
  iconFontSet?: string;
5
- iconClass?: ((x?: TEntity, ctx?: TContext) => any) | string;
6
- event?: (x?: TEntity, ctx?: TContext) => any;
7
- hide?: (x?: TEntity, ctx?: TContext) => any;
8
- disable?: (x?: TEntity, ctx?: TContext) => any;
9
- subItems?: ActionMenuItem<TEntity>[];
5
+ iconClass?: string;
6
+ /**
7
+ * @property
8
+ */
9
+ event?: (x?: TEntity, ctx?: TContext, index?: number) => any;
10
+ /**
11
+ * @property
12
+ */
13
+ hide?: (x?: TEntity, ctx?: TContext, index?: number) => any;
14
+ /**
15
+ * @property
16
+ */
17
+ disable?: (x?: TEntity, ctx?: TContext, index?: number) => any;
18
+ subItems?: ActionMenuItem[];
10
19
  /**
11
20
  * constructor
12
21
  * @param init
13
22
  */
14
- constructor(init?: Partial<ActionMenuItem<TEntity, TContext>>);
23
+ constructor(init?: Partial<ActionMenuItem>);
15
24
  }
@@ -10,23 +10,18 @@
10
10
  .mat-list-item-content {
11
11
  mat-icon {
12
12
  color: mat.get-color-from-palette($foreground, icon);
13
-
13
+
14
14
  &[matListAvatar] {
15
- background-color: mat.get-color-from-palette($background, hover);
15
+ background-color: mat.get-color-from-palette(
16
+ $background,
17
+ hover
18
+ );
16
19
  }
17
20
  }
18
21
  }
19
-
20
22
  .mat-list-text {
21
23
  p {
22
24
  color: mat.get-color-from-palette($foreground, disabled);
23
25
  }
24
26
  }
25
-
26
- .mat-autocomplete-panel {
27
-
28
- .mat-paginator {
29
- background-color: mat.get-color-from-palette($background, app-bar);
30
- }
31
- }
32
27
  }