@tetacom/ng-components 1.0.39 → 1.0.40

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 (199) hide show
  1. package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +3 -2
  2. package/component/table/contract/head-dropdown-tab.d.ts +13 -0
  3. package/component/table/contract/public-api.d.ts +1 -0
  4. package/component/table/contract/table-column.d.ts +7 -3
  5. package/component/table/head-cell/head-cell.component.d.ts +7 -3
  6. package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +5 -43
  7. package/component/table/table/table.component.d.ts +1 -1
  8. package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +32 -0
  9. package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +41 -0
  10. package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +46 -0
  11. package/component/table/table.module.d.ts +23 -20
  12. package/esm2020/common/service/click.service.mjs +3 -3
  13. package/esm2020/common/service/dynamic-component.service.mjs +3 -3
  14. package/esm2020/common/service/overlay-container.service.mjs +3 -3
  15. package/esm2020/component/accordion/accordion/accordion.component.mjs +3 -3
  16. package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
  17. package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +3 -3
  18. package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +3 -3
  19. package/esm2020/component/accordion/accordion.module.mjs +4 -4
  20. package/esm2020/component/button/button/button.component.mjs +3 -3
  21. package/esm2020/component/button/button.module.mjs +4 -4
  22. package/esm2020/component/chart-3d/chart-3d.module.mjs +4 -4
  23. package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
  24. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +3 -3
  25. package/esm2020/component/checkbox/checkbox.module.mjs +4 -4
  26. package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +5 -5
  27. package/esm2020/component/date-picker/date-picker.module.mjs +4 -4
  28. package/esm2020/component/date-picker/day-select/day-select.component.mjs +3 -3
  29. package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +5 -5
  30. package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
  31. package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
  32. package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +3 -3
  33. package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
  34. package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
  35. package/esm2020/component/delimiter/delimiter.module.mjs +4 -4
  36. package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +3 -3
  37. package/esm2020/component/dropdown/dropdown-base.mjs +3 -3
  38. package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
  39. package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
  40. package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
  41. package/esm2020/component/dropdown/dropdown.module.mjs +4 -4
  42. package/esm2020/component/dynamic-component/dynamic-component.module.mjs +4 -4
  43. package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +3 -3
  44. package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +5 -5
  45. package/esm2020/component/expand-card/expand-card.module.mjs +4 -4
  46. package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
  47. package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
  48. package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
  49. package/esm2020/component/expand-panel/expand-panel.module.mjs +4 -4
  50. package/esm2020/component/file-upload/file-item/file-item.component.mjs +3 -3
  51. package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +11 -7
  52. package/esm2020/component/file-upload/file-upload.module.mjs +4 -4
  53. package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +3 -3
  54. package/esm2020/component/filter/date-filter/date-filter.component.mjs +3 -3
  55. package/esm2020/component/filter/filter-host/filter-host.component.mjs +3 -3
  56. package/esm2020/component/filter/filter.module.mjs +4 -4
  57. package/esm2020/component/filter/list-filter/list-filter.component.mjs +3 -3
  58. package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +3 -3
  59. package/esm2020/component/filter/string-filter/string-filter.component.mjs +3 -3
  60. package/esm2020/component/icon/icon/icon.component.mjs +3 -3
  61. package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
  62. package/esm2020/component/icon/icon.module.mjs +4 -4
  63. package/esm2020/component/icon/icon.service.mjs +3 -3
  64. package/esm2020/component/input/form-group-title/form-group-title.component.mjs +3 -3
  65. package/esm2020/component/input/input/input.component.mjs +3 -3
  66. package/esm2020/component/input/input.module.mjs +4 -4
  67. package/esm2020/component/input/text-field/text-field.component.mjs +3 -3
  68. package/esm2020/component/message/message/message.component.mjs +3 -3
  69. package/esm2020/component/message/message-host/message-host.component.mjs +3 -3
  70. package/esm2020/component/message/message.module.mjs +4 -4
  71. package/esm2020/component/message/message.service.mjs +3 -3
  72. package/esm2020/component/modal/dialog/dialog.component.mjs +3 -3
  73. package/esm2020/component/modal/dialog.service.mjs +3 -3
  74. package/esm2020/component/modal/modal-container/modal-container.component.mjs +3 -3
  75. package/esm2020/component/modal/modal.module.mjs +4 -4
  76. package/esm2020/component/modal/modal.service.mjs +3 -3
  77. package/esm2020/component/pager/pager/pager.component.mjs +3 -3
  78. package/esm2020/component/pager/pager.module.mjs +4 -4
  79. package/esm2020/component/panel/panel/panel.component.mjs +3 -3
  80. package/esm2020/component/panel/panel.module.mjs +4 -4
  81. package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
  82. package/esm2020/component/progress-bar/progress-bar.module.mjs +4 -4
  83. package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +3 -3
  84. package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +3 -3
  85. package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +3 -3
  86. package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +3 -3
  87. package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +3 -3
  88. package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +3 -3
  89. package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +3 -3
  90. package/esm2020/component/property-grid/property-grid.module.mjs +4 -4
  91. package/esm2020/component/radio/radio/radio.component.mjs +3 -3
  92. package/esm2020/component/radio/radio-button/radio-button.component.mjs +3 -3
  93. package/esm2020/component/radio/radio.module.mjs +4 -4
  94. package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +3 -3
  95. package/esm2020/component/resize-panel/resize-panel.module.mjs +4 -4
  96. package/esm2020/component/select/select/select.component.mjs +3 -3
  97. package/esm2020/component/select/select-option.directive.mjs +3 -3
  98. package/esm2020/component/select/select-value.directive.mjs +3 -3
  99. package/esm2020/component/select/select.module.mjs +4 -4
  100. package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +3 -3
  101. package/esm2020/component/sidebar/sidebar.module.mjs +4 -4
  102. package/esm2020/component/switch/switch/switch.component.mjs +3 -3
  103. package/esm2020/component/switch/switch-button/switch-button.component.mjs +3 -3
  104. package/esm2020/component/switch/switch.module.mjs +4 -4
  105. package/esm2020/component/switch/switch.service.mjs +3 -3
  106. package/esm2020/component/table/base/cell-component-base.mjs +3 -3
  107. package/esm2020/component/table/base/head-cell-component-base.mjs +3 -3
  108. package/esm2020/component/table/cell/cell.component.mjs +3 -3
  109. package/esm2020/component/table/cell-host/cell-host.component.mjs +3 -3
  110. package/esm2020/component/table/contract/head-dropdown-tab.mjs +2 -0
  111. package/esm2020/component/table/contract/public-api.mjs +2 -1
  112. package/esm2020/component/table/contract/table-column.mjs +4 -2
  113. package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +3 -3
  114. package/esm2020/component/table/default/date-cell/date-cell.component.mjs +3 -3
  115. package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +3 -3
  116. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +5 -5
  117. package/esm2020/component/table/default/group-row/group-row.component.mjs +3 -3
  118. package/esm2020/component/table/default/list-cell/list-cell.component.mjs +3 -3
  119. package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +3 -3
  120. package/esm2020/component/table/default/string-cell/string-cell.component.mjs +3 -3
  121. package/esm2020/component/table/head-cell/head-cell.component.mjs +59 -16
  122. package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +17 -180
  123. package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +3 -3
  124. package/esm2020/component/table/selection-cell/selection-cell.component.mjs +5 -5
  125. package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +3 -3
  126. package/esm2020/component/table/service/table.service.mjs +14 -5
  127. package/esm2020/component/table/table/table.component.mjs +12 -5
  128. package/esm2020/component/table/table-body/table-body.component.mjs +32 -28
  129. package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +55 -0
  130. package/esm2020/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +81 -0
  131. package/esm2020/component/table/table-head/table-head.component.mjs +22 -22
  132. package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +140 -0
  133. package/esm2020/component/table/table-head-group/table-head-group.component.mjs +3 -3
  134. package/esm2020/component/table/table.module.mjs +15 -6
  135. package/esm2020/component/tabs/tab/tab.component.mjs +3 -3
  136. package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
  137. package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
  138. package/esm2020/component/tabs/tabs/tabs.component.mjs +3 -3
  139. package/esm2020/component/tabs/tabs.module.mjs +4 -4
  140. package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
  141. package/esm2020/component/theme-switch/theme-switch.module.mjs +4 -4
  142. package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
  143. package/esm2020/component/toggle/toggle/toggle.component.mjs +3 -3
  144. package/esm2020/component/toggle/toggle.module.mjs +4 -4
  145. package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +3 -3
  146. package/esm2020/component/toolbar/toolbar.module.mjs +4 -4
  147. package/esm2020/component/tree/tree/tree.component.mjs +3 -3
  148. package/esm2020/component/tree/tree-item/tree-item.component.mjs +3 -3
  149. package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
  150. package/esm2020/component/tree/tree.module.mjs +4 -4
  151. package/esm2020/component/tree/tree.service.mjs +3 -3
  152. package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
  153. package/esm2020/directive/click-outside/click-outside.module.mjs +4 -4
  154. package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
  155. package/esm2020/directive/context-menu/context-menu.module.mjs +4 -4
  156. package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
  157. package/esm2020/directive/disable-control/disable-control.module.mjs +4 -4
  158. package/esm2020/directive/drag-drop/drag-container.directive.mjs +3 -3
  159. package/esm2020/directive/drag-drop/drag-drop.module.mjs +4 -4
  160. package/esm2020/directive/drag-drop/drag-drop.service.mjs +3 -3
  161. package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
  162. package/esm2020/directive/drag-drop/drag-preview.directive.mjs +3 -3
  163. package/esm2020/directive/drag-drop/drag.directive.mjs +3 -3
  164. package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +3 -3
  165. package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
  166. package/esm2020/directive/drag-sort/drag-sort.module.mjs +4 -4
  167. package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
  168. package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
  169. package/esm2020/directive/highlight/highlight.module.mjs +4 -4
  170. package/esm2020/directive/hint/hint.directive.mjs +3 -3
  171. package/esm2020/directive/hint/hint.module.mjs +4 -4
  172. package/esm2020/directive/let/let.directive.mjs +3 -3
  173. package/esm2020/directive/let/let.module.mjs +4 -4
  174. package/esm2020/directive/loader/loader.directive.mjs +3 -3
  175. package/esm2020/directive/loader/loader.module.mjs +4 -4
  176. package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
  177. package/esm2020/directive/no-autofill/no-autofill.module.mjs +4 -4
  178. package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
  179. package/esm2020/directive/only-number/only-number.module.mjs +4 -4
  180. package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
  181. package/esm2020/directive/resize-drag/resize-drag.module.mjs +4 -4
  182. package/esm2020/directive/scroll-into-view/scroll-into-view.directive.mjs +3 -3
  183. package/esm2020/directive/scroll-into-view/scroll-into-view.module.mjs +4 -4
  184. package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
  185. package/esm2020/directive/teta-template/teta-template.module.mjs +4 -4
  186. package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
  187. package/esm2020/directive/tooltip/tooltip.module.mjs +4 -4
  188. package/esm2020/locale/teta-config.service.mjs +3 -3
  189. package/esm2020/pipe/number-pipe/number-pipe.module.mjs +4 -4
  190. package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
  191. package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +4 -4
  192. package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
  193. package/fesm2015/tetacom-ng-components.mjs +883 -716
  194. package/fesm2015/tetacom-ng-components.mjs.map +1 -1
  195. package/fesm2020/tetacom-ng-components.mjs +880 -715
  196. package/fesm2020/tetacom-ng-components.mjs.map +1 -1
  197. package/package.json +1 -1
  198. package/style/layout.scss +2 -1
  199. package/style/table.scss +14 -1
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FileUploadAreaComponent implements OnInit {
4
4
  fileUpload: boolean;
@@ -8,6 +8,7 @@ export declare class FileUploadAreaComponent implements OnInit {
8
8
  accept: string[];
9
9
  upload: EventEmitter<FileList>;
10
10
  input: ElementRef;
11
+ buttonTemplate: TemplateRef<any>;
11
12
  files: any;
12
13
  private _asActive;
13
14
  constructor();
@@ -19,5 +20,5 @@ export declare class FileUploadAreaComponent implements OnInit {
19
20
  fileChanged(event: any): void;
20
21
  private preventDefaults;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadAreaComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadAreaComponent, "teta-file-upload-area", never, { "multiple": "multiple"; "disabled": "disabled"; "accept": "accept"; }, { "upload": "upload"; }, never, ["*"]>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadAreaComponent, "teta-file-upload-area", never, { "multiple": "multiple"; "disabled": "disabled"; "accept": "accept"; }, { "upload": "upload"; }, ["buttonTemplate"], ["*"]>;
23
24
  }
@@ -0,0 +1,13 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { TableColumn } from './table-column';
3
+ export interface HeadDropdownTabConfig {
4
+ strategy: 'merge' | 'replace';
5
+ tabs?: HeadDropdownTab[];
6
+ }
7
+ export interface HeadDropdownTab {
8
+ title?: string;
9
+ icon?: string;
10
+ template?: TemplateRef<any>;
11
+ order?: number;
12
+ showTab: (column: TableColumn) => boolean;
13
+ }
@@ -9,3 +9,4 @@ export * from './sort-event';
9
9
  export * from './table-column';
10
10
  export * from './table-column-store';
11
11
  export * from './table-row';
12
+ export * from './head-dropdown-tab';
@@ -4,8 +4,8 @@ import { StringFilterType } from '../../filter/enum/string-filter-type.enum';
4
4
  import { ListFilterType } from '../../filter/enum/list-filter-type.enum';
5
5
  import { TableRow } from './table-row';
6
6
  import { AggregationType } from '../enum/aggregation-type.enum';
7
- import { TemplateRef } from '@angular/core';
8
7
  import { ICellInstance } from './i-cell-instance';
8
+ import { HeadDropdownTabConfig } from './head-dropdown-tab';
9
9
  export declare class TableColumn extends FilterItem {
10
10
  /**
11
11
  * Ширина
@@ -35,6 +35,8 @@ export declare class TableColumn extends FilterItem {
35
35
  * Единицы измерения
36
36
  */
37
37
  unit: string;
38
+ unitMeasureParameterId: number;
39
+ unitId: number;
38
40
  /**
39
41
  * список style классов для шапки таблицы
40
42
  */
@@ -62,7 +64,7 @@ export declare class TableColumn extends FilterItem {
62
64
  /**
63
65
  * Custom head dropdown for column
64
66
  */
65
- headDropdownTemplate: TemplateRef<any>;
67
+ headDropdownConfig: HeadDropdownTabConfig;
66
68
  /**
67
69
  * Группировать по этому столбцу
68
70
  */
@@ -112,6 +114,8 @@ export declare class TableColumn extends FilterItem {
112
114
  caption?: string;
113
115
  hint?: string;
114
116
  unit?: string;
117
+ unitMeasureParameterId?: number;
118
+ unitId?: number;
115
119
  sortable?: boolean;
116
120
  sortField?: string;
117
121
  filterable?: boolean;
@@ -127,7 +131,7 @@ export declare class TableColumn extends FilterItem {
127
131
  objectType?: boolean;
128
132
  cellComponent?: any;
129
133
  headCellComponent?: any;
130
- headDropdownTemplate?: TemplateRef<any>;
134
+ headDropdownConfig?: HeadDropdownTabConfig;
131
135
  filterComponent?: any;
132
136
  groupBy?: boolean;
133
137
  groupingOrder?: number;
@@ -1,4 +1,4 @@
1
- import { ApplicationRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { ApplicationRef, ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { TableColumn } from '../contract/table-column';
3
3
  import { FilterState } from '../../filter/contarct/filter-state';
4
4
  import { TableService } from '../service/table.service';
@@ -7,6 +7,7 @@ import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
7
7
  import { Align } from '../../../common/enum/align.enum';
8
8
  import { Observable } from 'rxjs';
9
9
  import { TableRow } from '../contract/table-row';
10
+ import { HeadDropdownTab } from '../contract/head-dropdown-tab';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class HeadCellComponent<T> implements OnInit, OnDestroy {
12
13
  private _svc;
@@ -27,6 +28,11 @@ export declare class HeadCellComponent<T> implements OnInit, OnDestroy {
27
28
  private rect;
28
29
  private _alive;
29
30
  private _startPosition;
31
+ mainTemplate: TemplateRef<any>;
32
+ filterTemplate: TemplateRef<any>;
33
+ columnsTemplate: TemplateRef<any>;
34
+ get defaultTemplates(): HeadDropdownTab[];
35
+ get tabTemplates(): HeadDropdownTab[];
30
36
  constructor(_svc: TableService<T>, _app: ApplicationRef, _elementRef: ElementRef);
31
37
  dragstart(event: DragEvent): void;
32
38
  dragenter(event: DragEvent): void;
@@ -36,8 +42,6 @@ export declare class HeadCellComponent<T> implements OnInit, OnDestroy {
36
42
  drop(event: DragEvent): void;
37
43
  ngOnInit(): void;
38
44
  ngOnDestroy(): void;
39
- autosizeColumn(): void;
40
- autosizeAllColumns(): void;
41
45
  resizeStart(event: MouseEvent): void;
42
46
  resizeProcess(event: MouseEvent): void;
43
47
  resizeEnd(): void;
@@ -3,13 +3,9 @@ import { TableService } from '../service/table.service';
3
3
  import { TableColumn } from '../contract/table-column';
4
4
  import { FilterState } from '../../filter/contarct/filter-state';
5
5
  import { ITreeData } from '../../../common/contract/i-tree-data';
6
- import { IDictionary } from '../../../common/contract/i-dictionary';
7
- import { IIdName } from '../../../common/contract/i-id-name';
8
- import { Observable } from 'rxjs';
9
- import { SortParam } from '../../filter/contarct/sort-param';
10
6
  import { TableRow } from '../contract/table-row';
11
- import { TetaLocalisation } from '../../../locale/teta-localisation';
12
7
  import { TetaConfigService } from '../../../locale/teta-config.service';
8
+ import { HeadDropdownTab } from '../contract/head-dropdown-tab';
13
9
  import * as i0 from "@angular/core";
14
10
  export declare class HeadCellDropdownComponent<T> implements OnInit, OnDestroy {
15
11
  private _svc;
@@ -19,48 +15,14 @@ export declare class HeadCellDropdownComponent<T> implements OnInit, OnDestroy {
19
15
  column: TableColumn;
20
16
  state: FilterState;
21
17
  data: TableRow<T>[];
18
+ tabTemplates: HeadDropdownTab[];
22
19
  dropDownOpen: boolean;
23
20
  dropDownOpenChange: EventEmitter<boolean>;
24
- autosize: EventEmitter<void>;
25
- autosizeAll: EventEmitter<void>;
26
- filterOptions: Observable<IDictionary<IIdName<any>[]>>;
27
- hiddenColumns: string[];
28
- locale: Observable<TetaLocalisation>;
29
- enter(): void;
30
- get sortParam(): SortParam;
31
- get filtered(): boolean;
32
- get openItems(): ITreeData[];
33
- set openItems(openItems: ITreeData[]);
34
- get childMode(): ITreeData;
35
- private _openItems;
36
- private _alive;
37
21
  constructor(_svc: TableService<T>, _config: TetaConfigService, _cdr: ChangeDetectorRef);
38
- clearFilter(): void;
39
- applyFilter(): void;
40
- pinColumn(): void;
41
- sortAsc(event: MouseEvent): void;
42
- sortDesc(event: MouseEvent): void;
43
- clearSort(): void;
44
- clearAllSort(): void;
45
- hasFilteredColumns(): boolean;
46
- hasSortedColumns(): boolean;
47
- restoreDefaultColumns(): void;
48
- clearAllFilters(): void;
49
- columnIsHidden(column: TableColumn): boolean;
50
- allColumnsVisible(): boolean;
51
- setAllColumns(value: boolean): void;
52
- setColumnsVisibility(): void;
53
- compareItems: (item: TableColumn) => string;
22
+ closeDropdown: () => void;
54
23
  ngOnInit(): void;
55
24
  ngOnDestroy(): void;
56
- setColumnVisibility(item: TableColumn, visible: boolean): void;
57
- setChildrenVisibility: (column: TableColumn, visible: boolean, hiddenColumns: string[]) => void;
58
- setParentsVisibility: (column: TableColumn, visible: boolean, hiddenColumns: string[]) => void;
59
- showParents(column: TableColumn, hiddenColumns: string[]): void;
60
- hideParents(column: TableColumn, hiddenColumns: string[]): void;
61
- hideColumn(column: TableColumn, hiddenColumns: string[]): void;
62
- showColumn(column: TableColumn, hiddenColumns: string[]): void;
63
- private findParentColumn;
25
+ trackIndex(index: any): any;
64
26
  static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellDropdownComponent<any>, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellDropdownComponent<any>, "teta-head-cell-dropdown", never, { "columns": "columns"; "column": "column"; "state": "state"; "data": "data"; "dropDownOpen": "dropDownOpen"; }, { "dropDownOpenChange": "dropDownOpenChange"; "autosize": "autosize"; "autosizeAll": "autosizeAll"; }, never, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellDropdownComponent<any>, "teta-head-cell-dropdown", never, { "columns": "columns"; "column": "column"; "state": "state"; "data": "data"; "tabTemplates": "tabTemplates"; "dropDownOpen": "dropDownOpen"; }, { "dropDownOpenChange": "dropDownOpenChange"; }, never, never>;
66
28
  }
@@ -83,5 +83,5 @@ export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewIn
83
83
  private getRow;
84
84
  private onScroll;
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "teta-table", never, { "data": "data"; "columns": "columns"; "dict": "dict"; "filterOptions": "filterOptions"; "state": "state"; "cookieName": "cookieName"; "virtual": "virtual"; "detailComponent": "detailComponent"; "activeRow": "activeRow"; "selectedRows": "selectedRows"; "selectType": "selectType"; "aggregate": "aggregate"; "grouping": "grouping"; "groupRowComponent": "groupRowComponent"; "openLevels": "openLevels"; "tree": "tree"; "trackRow": "trackRow"; "editType": "editType"; "editEvent": "editEvent"; "rowEditable": "rowEditable"; "rowClass": "rowClass"; "scrollToIndex": "scrollToIndex"; "showHeadCellMenu": "showHeadCellMenu"; "contextMenu": "contextMenu"; "contextMenuOpen": "contextMenuOpen"; }, { "contextMenuOpenChange": "contextMenuOpenChange"; "stateChange": "stateChange"; "bodyLeft": "bodyLeft"; "activeRowChange": "activeRowChange"; "selectedRowsChange": "selectedRowsChange"; "cellClick": "cellClick"; "cellDoubleClick": "cellDoubleClick"; "cellFocus": "cellFocus"; "cellKeyDown": "cellKeyDown"; "rowLeft": "rowLeft"; "rowEditStart": "rowEditStart"; "rowEditEnd": "rowEditEnd"; "cellEditStart": "cellEditStart"; "cellEditEnd": "cellEditEnd"; "valueChange": "valueChange"; "tableService": "tableService"; }, never, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "teta-table", never, { "data": "data"; "columns": "columns"; "dict": "dict"; "filterOptions": "filterOptions"; "state": "state"; "cookieName": "cookieName"; "virtual": "virtual"; "detailComponent": "detailComponent"; "activeRow": "activeRow"; "selectedRows": "selectedRows"; "selectType": "selectType"; "aggregate": "aggregate"; "grouping": "grouping"; "groupRowComponent": "groupRowComponent"; "openLevels": "openLevels"; "tree": "tree"; "trackRow": "trackRow"; "editType": "editType"; "editEvent": "editEvent"; "rowEditable": "rowEditable"; "rowClass": "rowClass"; "scrollToIndex": "scrollToIndex"; "showHeadCellMenu": "showHeadCellMenu"; "contextMenu": "contextMenu"; "contextMenuOpen": "contextMenuOpen"; }, { "contextMenuOpenChange": "contextMenuOpenChange"; "stateChange": "stateChange"; "bodyLeft": "bodyLeft"; "activeRowChange": "activeRowChange"; "selectedRowsChange": "selectedRowsChange"; "cellClick": "cellClick"; "cellDoubleClick": "cellDoubleClick"; "cellFocus": "cellFocus"; "cellKeyDown": "cellKeyDown"; "rowLeft": "rowLeft"; "rowEditStart": "rowEditStart"; "rowEditEnd": "rowEditEnd"; "cellEditStart": "cellEditStart"; "cellEditEnd": "cellEditEnd"; "valueChange": "valueChange"; "tableService": "tableService"; }, never, ["*"]>;
87
87
  }
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
+ import { TableColumn } from '../../contract/table-column';
3
+ import { FilterState } from '../../../filter/contarct/filter-state';
4
+ import { Observable } from 'rxjs';
5
+ import { TetaLocalisation } from '../../../../locale/teta-localisation';
6
+ import { TableService } from '../../service/table.service';
7
+ import { TetaConfigService } from '../../../../locale/teta-config.service';
8
+ import { TableRow } from '../../contract/table-row';
9
+ import { IDictionary } from '../../../../common/contract/i-dictionary';
10
+ import { IIdName } from '../../../../common/contract/i-id-name';
11
+ import { ITreeData } from '../../../../common/contract/i-tree-data';
12
+ import * as i0 from "@angular/core";
13
+ export declare class FilterDropdownTabComponent<T> implements OnInit {
14
+ private _svc;
15
+ private _config;
16
+ private _elementRef;
17
+ private _cdr;
18
+ columns: ITreeData[];
19
+ column: TableColumn;
20
+ state: FilterState;
21
+ data: TableRow<T>[];
22
+ close: () => void;
23
+ locale: Observable<TetaLocalisation>;
24
+ filterOptions: Observable<IDictionary<IIdName<any>[]>>;
25
+ enter(): void;
26
+ constructor(_svc: TableService<T>, _config: TetaConfigService, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
27
+ clearFilter(): void;
28
+ applyFilter(): void;
29
+ ngOnInit(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterDropdownTabComponent<any>, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterDropdownTabComponent<any>, "teta-filter-dropdown-tab", never, { "columns": "columns"; "column": "column"; "state": "state"; "data": "data"; "close": "close"; }, {}, never, never>;
32
+ }
@@ -0,0 +1,41 @@
1
+ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
+ import { TableService } from '../../service/table.service';
3
+ import { TetaConfigService } from '../../../../locale/teta-config.service';
4
+ import { TableColumn } from '../../contract/table-column';
5
+ import { Observable } from 'rxjs';
6
+ import { TetaLocalisation } from '../../../../locale/teta-localisation';
7
+ import { SortParam } from '../../../filter/contarct/sort-param';
8
+ import { FilterState } from '../../../filter/contarct/filter-state';
9
+ import { ITreeData } from '../../../../common/contract/i-tree-data';
10
+ import { TableRow } from '../../contract/table-row';
11
+ import * as i0 from "@angular/core";
12
+ export declare class MainDropdownTabComponent<T> implements OnInit {
13
+ private _svc;
14
+ private _config;
15
+ private _elementRef;
16
+ private _cdr;
17
+ columns: ITreeData[];
18
+ column: TableColumn;
19
+ state: FilterState;
20
+ data: TableRow<T>[];
21
+ close: () => void;
22
+ locale: Observable<TetaLocalisation>;
23
+ constructor(_svc: TableService<T>, _config: TetaConfigService, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
24
+ get sortParam(): SortParam;
25
+ get filtered(): boolean;
26
+ pinColumn(): void;
27
+ sortAsc(event: MouseEvent): void;
28
+ sortDesc(event: MouseEvent): void;
29
+ clearSort(): void;
30
+ clearAllSort(): void;
31
+ hasFilteredColumns(): boolean;
32
+ hasSortedColumns(): boolean;
33
+ restoreDefaultColumns(): void;
34
+ clearFilter(): void;
35
+ clearAllFilters(): void;
36
+ autosizeColumn(): void;
37
+ autosizeAllColumns(): void;
38
+ ngOnInit(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainDropdownTabComponent<any>, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<MainDropdownTabComponent<any>, "teta-main-dropdown-tab", never, { "columns": "columns"; "column": "column"; "state": "state"; "data": "data"; "close": "close"; }, {}, never, never>;
41
+ }
@@ -0,0 +1,46 @@
1
+ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
+ import { TableColumn } from '../../contract/table-column';
3
+ import { FilterState } from '../../../filter/contarct/filter-state';
4
+ import { Observable } from 'rxjs';
5
+ import { TetaLocalisation } from '../../../../locale/teta-localisation';
6
+ import { TableService } from '../../service/table.service';
7
+ import { TetaConfigService } from '../../../../locale/teta-config.service';
8
+ import { ITreeData } from '../../../../common/contract/i-tree-data';
9
+ import { TableRow } from '../../contract/table-row';
10
+ import * as i0 from "@angular/core";
11
+ export declare class VisibilityDropdownTabComponent<T> implements OnInit {
12
+ private _svc;
13
+ private _config;
14
+ private _elementRef;
15
+ private _cdr;
16
+ columns: ITreeData[];
17
+ column: TableColumn;
18
+ state: FilterState;
19
+ data: TableRow<T>[];
20
+ close: () => void;
21
+ locale: Observable<TetaLocalisation>;
22
+ hiddenColumns: string[];
23
+ get openItems(): ITreeData[];
24
+ set openItems(openItems: ITreeData[]);
25
+ get childMode(): ITreeData;
26
+ private _openItems;
27
+ private _alive;
28
+ constructor(_svc: TableService<T>, _config: TetaConfigService, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
29
+ columnIsHidden(column: TableColumn): boolean;
30
+ allColumnsVisible(): boolean;
31
+ setAllColumns(value: boolean): void;
32
+ setColumnsVisibility(): void;
33
+ compareItems: (item: TableColumn) => string;
34
+ setColumnVisibility(item: TableColumn, visible: boolean): void;
35
+ setChildrenVisibility: (column: TableColumn, visible: boolean, hiddenColumns: string[]) => void;
36
+ setParentsVisibility: (column: TableColumn, visible: boolean, hiddenColumns: string[]) => void;
37
+ showParents(column: TableColumn, hiddenColumns: string[]): void;
38
+ hideParents(column: TableColumn, hiddenColumns: string[]): void;
39
+ hideColumn(column: TableColumn, hiddenColumns: string[]): void;
40
+ showColumn(column: TableColumn, hiddenColumns: string[]): void;
41
+ private findParentColumn;
42
+ ngOnInit(): void;
43
+ ngOnDestroy(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityDropdownTabComponent<any>, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisibilityDropdownTabComponent<any>, "teta-visibility-dropdown-tab", never, { "columns": "columns"; "column": "column"; "state": "state"; "data": "data"; "close": "close"; }, {}, never, never>;
46
+ }
@@ -18,27 +18,30 @@ import * as i16 from "./selection-head-cell/selection-head-cell.component";
18
18
  import * as i17 from "./head-cell-dropdown/head-cell-dropdown.component";
19
19
  import * as i18 from "./default/date-time-cell/date-time-cell.component";
20
20
  import * as i19 from "./default/boolean-cell/boolean-cell.component";
21
- import * as i20 from "@angular/common";
22
- import * as i21 from "../filter/filter.module";
23
- import * as i22 from "@angular/forms";
24
- import * as i23 from "../checkbox/checkbox.module";
25
- import * as i24 from "../icon/icon.module";
26
- import * as i25 from "../dropdown/dropdown.module";
27
- import * as i26 from "../tabs/tabs.module";
28
- import * as i27 from "../select/select.module";
29
- import * as i28 from "../../pipe/number-pipe/number-pipe.module";
30
- import * as i29 from "../date-picker/date-picker.module";
31
- import * as i30 from "../button/button.module";
32
- import * as i31 from "../../directive/hint/hint.module";
33
- import * as i32 from "../tree/tree.module";
34
- import * as i33 from "../../directive/only-number/only-number.module";
35
- import * as i34 from "../toolbar/toolbar.module";
36
- import * as i35 from "../../directive/click-outside/click-outside.module";
37
- import * as i36 from "../../directive/resize-drag/resize-drag.module";
38
- import * as i37 from "@angular/cdk/scrolling";
39
- import * as i38 from "../../directive/context-menu/context-menu.module";
21
+ import * as i20 from "./table-head/main-dropdown-tab/main-dropdown-tab.component";
22
+ import * as i21 from "./table-head/filter-dropdown-tab/filter-dropdown-tab.component";
23
+ import * as i22 from "./table-head/visibility-dropdown-tab/visibility-dropdown-tab.component";
24
+ import * as i23 from "@angular/common";
25
+ import * as i24 from "../filter/filter.module";
26
+ import * as i25 from "@angular/forms";
27
+ import * as i26 from "../checkbox/checkbox.module";
28
+ import * as i27 from "../icon/icon.module";
29
+ import * as i28 from "../dropdown/dropdown.module";
30
+ import * as i29 from "../tabs/tabs.module";
31
+ import * as i30 from "../select/select.module";
32
+ import * as i31 from "../../pipe/number-pipe/number-pipe.module";
33
+ import * as i32 from "../date-picker/date-picker.module";
34
+ import * as i33 from "../button/button.module";
35
+ import * as i34 from "../../directive/hint/hint.module";
36
+ import * as i35 from "../tree/tree.module";
37
+ import * as i36 from "../../directive/only-number/only-number.module";
38
+ import * as i37 from "../toolbar/toolbar.module";
39
+ import * as i38 from "../../directive/click-outside/click-outside.module";
40
+ import * as i39 from "../../directive/resize-drag/resize-drag.module";
41
+ import * as i40 from "@angular/cdk/scrolling";
42
+ import * as i41 from "../../directive/context-menu/context-menu.module";
40
43
  export declare class TableModule {
41
44
  static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.GroupRowComponent, typeof i12.TableHeadGroupComponent, typeof i13.HeadCellComponent, typeof i14.DefaultHeadCellComponent, typeof i15.SelectionCellComponent, typeof i16.SelectionHeadCellComponent, typeof i17.HeadCellDropdownComponent, typeof i18.DateTimeCellComponent, typeof i19.BooleanCellComponent], [typeof i20.CommonModule, typeof i21.FilterModule, typeof i22.FormsModule, typeof i23.CheckboxModule, typeof i24.IconModule, typeof i25.DropdownModule, typeof i26.TabsModule, typeof i27.SelectModule, typeof i28.NumberPipeModule, typeof i29.DatePickerModule, typeof i30.ButtonModule, typeof i31.HintModule, typeof i32.TreeModule, typeof i33.OnlyNumberModule, typeof i34.ToolbarModule, typeof i35.ClickOutsideModule, typeof i36.ResizeDragModule, typeof i37.ScrollingModule, typeof i38.ContextMenuModule], [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.GroupRowComponent, typeof i18.DateTimeCellComponent, typeof i19.BooleanCellComponent]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.GroupRowComponent, typeof i12.TableHeadGroupComponent, typeof i13.HeadCellComponent, typeof i14.DefaultHeadCellComponent, typeof i15.SelectionCellComponent, typeof i16.SelectionHeadCellComponent, typeof i17.HeadCellDropdownComponent, typeof i18.DateTimeCellComponent, typeof i19.BooleanCellComponent, typeof i20.MainDropdownTabComponent, typeof i21.FilterDropdownTabComponent, typeof i22.VisibilityDropdownTabComponent], [typeof i23.CommonModule, typeof i24.FilterModule, typeof i25.FormsModule, typeof i26.CheckboxModule, typeof i27.IconModule, typeof i28.DropdownModule, typeof i29.TabsModule, typeof i30.SelectModule, typeof i31.NumberPipeModule, typeof i32.DatePickerModule, typeof i33.ButtonModule, typeof i34.HintModule, typeof i35.TreeModule, typeof i36.OnlyNumberModule, typeof i37.ToolbarModule, typeof i38.ClickOutsideModule, typeof i39.ResizeDragModule, typeof i40.ScrollingModule, typeof i41.ContextMenuModule], [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.GroupRowComponent, typeof i18.DateTimeCellComponent, typeof i19.BooleanCellComponent]>;
43
46
  static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
44
47
  }
@@ -9,9 +9,9 @@ export class ClickService {
9
9
  this.contextMenu = fromEvent(this._document, 'contextmenu');
10
10
  }
11
11
  }
12
- ClickService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ClickService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
13
- ClickService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ClickService, providedIn: 'root' });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ClickService, decorators: [{
12
+ ClickService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClickService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
13
+ ClickService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClickService, providedIn: 'root' });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ClickService, decorators: [{
15
15
  type: Injectable,
16
16
  args: [{
17
17
  providedIn: 'root',
@@ -82,9 +82,9 @@ export class DynamicComponentService {
82
82
  return new TetaContentRef([[componentNativeEl]], componentRef.hostView, componentRef);
83
83
  }
84
84
  }
85
- DynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.RendererFactory2 }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
86
- DynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DynamicComponentService, providedIn: 'root' });
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DynamicComponentService, decorators: [{
85
+ DynamicComponentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DynamicComponentService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.RendererFactory2 }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
86
+ DynamicComponentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DynamicComponentService, providedIn: 'root' });
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DynamicComponentService, decorators: [{
88
88
  type: Injectable,
89
89
  args: [{
90
90
  providedIn: 'root',
@@ -27,9 +27,9 @@ export class OverlayContainerService {
27
27
  this.removeContainer();
28
28
  }
29
29
  }
30
- OverlayContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: OverlayContainerService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
31
- OverlayContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: OverlayContainerService, providedIn: 'root' });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: OverlayContainerService, decorators: [{
30
+ OverlayContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverlayContainerService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
31
+ OverlayContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverlayContainerService, providedIn: 'root' });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: OverlayContainerService, decorators: [{
33
33
  type: Injectable,
34
34
  args: [{
35
35
  providedIn: 'root'
@@ -6,9 +6,9 @@ export class AccordionComponent {
6
6
  }
7
7
  ngOnInit() { }
8
8
  }
9
- AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
- AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: AccordionComponent, selector: "teta-accordion", host: { properties: { "class.accordion": "this.accordionClassName" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionComponent, decorators: [{
9
+ AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: AccordionComponent, selector: "teta-accordion", host: { properties: { "class.accordion": "this.accordionClassName" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionComponent, decorators: [{
12
12
  type: Component,
13
13
  args: [{ selector: 'teta-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [""] }]
14
14
  }], ctorParameters: function () { return []; }, propDecorators: { accordionClassName: [{
@@ -5,9 +5,9 @@ export class AccordionContentDirective {
5
5
  this.template = template;
6
6
  }
7
7
  }
8
- AccordionContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
9
- AccordionContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: AccordionContentDirective, selector: "[tetaAccordionContent]", ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionContentDirective, decorators: [{
8
+ AccordionContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
9
+ AccordionContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AccordionContentDirective, selector: "[tetaAccordionContent]", ngImport: i0 });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionContentDirective, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  selector: '[tetaAccordionContent]'
@@ -24,9 +24,9 @@ export class AccordionHeadComponent {
24
24
  }
25
25
  ngOnInit() { }
26
26
  }
27
- AccordionHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionHeadComponent, deps: [{ token: AccordionItemComponent, host: true }], target: i0.ɵɵFactoryTarget.Component });
28
- AccordionHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: AccordionHeadComponent, selector: "teta-accordion-head", inputs: { showToggle: "showToggle" }, host: { listeners: { "click": "toggle()" }, properties: { "class.accordion-head": "this.accordionHeadClass", "class.accordion-head_open": "this.open", "class.accordion-head_disabled": "this.disabled" } }, ngImport: i0, template: "<ng-content></ng-content>\n<div *ngIf=\"showToggle\" class=\"accordion-toggle\">\n <teta-icon [name]=\"open ? 'arrowUpKey' : 'arrowDownKey'\"\n [palette]=\"'text'\"></teta-icon>\n</div>\n\n", styles: [""], components: [{ type: i1.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionHeadComponent, decorators: [{
27
+ AccordionHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionHeadComponent, deps: [{ token: AccordionItemComponent, host: true }], target: i0.ɵɵFactoryTarget.Component });
28
+ AccordionHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: AccordionHeadComponent, selector: "teta-accordion-head", inputs: { showToggle: "showToggle" }, host: { listeners: { "click": "toggle()" }, properties: { "class.accordion-head": "this.accordionHeadClass", "class.accordion-head_open": "this.open", "class.accordion-head_disabled": "this.disabled" } }, ngImport: i0, template: "<ng-content></ng-content>\n<div *ngIf=\"showToggle\" class=\"accordion-toggle\">\n <teta-icon [name]=\"open ? 'arrowUpKey' : 'arrowDownKey'\"\n [palette]=\"'text'\"></teta-icon>\n</div>\n\n", styles: [""], components: [{ type: i1.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionHeadComponent, decorators: [{
30
30
  type: Component,
31
31
  args: [{ selector: 'teta-accordion-head', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n<div *ngIf=\"showToggle\" class=\"accordion-toggle\">\n <teta-icon [name]=\"open ? 'arrowUpKey' : 'arrowDownKey'\"\n [palette]=\"'text'\"></teta-icon>\n</div>\n\n", styles: [""] }]
32
32
  }], ctorParameters: function () { return [{ type: i3.AccordionItemComponent, decorators: [{
@@ -16,9 +16,9 @@ export class AccordionItemComponent {
16
16
  }
17
17
  ngOnInit() { }
18
18
  }
19
- AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionItemComponent, deps: [{ token: AccordionComponent, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
20
- AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: AccordionItemComponent, selector: "teta-accordion-item", inputs: { open: "open", disabled: "disabled" }, host: { properties: { "class.accordion-item_active": "this.open", "class.accordion-item": "this.accordionItemClass" } }, queries: [{ propertyName: "content", first: true, predicate: AccordionContentDirective, descendants: true }], ngImport: i0, template: "<ng-content select=\"teta-accordion-head\"></ng-content>\n<div class=\"accordion-content\" *ngIf=\"open\">\n <ng-container *ngTemplateOutlet=\"content.template\"></ng-container>\n</div>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionItemComponent, decorators: [{
19
+ AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionItemComponent, deps: [{ token: AccordionComponent, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
20
+ AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: AccordionItemComponent, selector: "teta-accordion-item", inputs: { open: "open", disabled: "disabled" }, host: { properties: { "class.accordion-item_active": "this.open", "class.accordion-item": "this.accordionItemClass" } }, queries: [{ propertyName: "content", first: true, predicate: AccordionContentDirective, descendants: true }], ngImport: i0, template: "<ng-content select=\"teta-accordion-head\"></ng-content>\n<div class=\"accordion-content\" *ngIf=\"open\">\n <ng-container *ngTemplateOutlet=\"content.template\"></ng-container>\n</div>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionItemComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'teta-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"teta-accordion-head\"></ng-content>\n<div class=\"accordion-content\" *ngIf=\"open\">\n <ng-container *ngTemplateOutlet=\"content.template\"></ng-container>\n</div>\n", styles: [""] }]
24
24
  }], ctorParameters: function () { return [{ type: i2.AccordionComponent, decorators: [{
@@ -8,14 +8,14 @@ import { AccordionItemComponent } from './accordion-item/accordion-item.componen
8
8
  import * as i0 from "@angular/core";
9
9
  export class AccordionModule {
10
10
  }
11
- AccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- AccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionModule, declarations: [AccordionComponent, AccordionHeadComponent, AccordionContentDirective, AccordionItemComponent], imports: [CommonModule,
11
+ AccordionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
+ AccordionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionModule, declarations: [AccordionComponent, AccordionHeadComponent, AccordionContentDirective, AccordionItemComponent], imports: [CommonModule,
13
13
  IconModule], exports: [AccordionComponent, AccordionHeadComponent, AccordionContentDirective, AccordionItemComponent] });
14
- AccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionModule, imports: [[
14
+ AccordionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionModule, imports: [[
15
15
  CommonModule,
16
16
  IconModule
17
17
  ]] });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: AccordionModule, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AccordionModule, decorators: [{
19
19
  type: NgModule,
20
20
  args: [{
21
21
  declarations: [AccordionComponent, AccordionHeadComponent, AccordionContentDirective, AccordionItemComponent],
@@ -20,9 +20,9 @@ export class ButtonComponent {
20
20
  }
21
21
  ngOnInit() { }
22
22
  }
23
- ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ButtonComponent, selector: "button[teta-button], teta-button", inputs: { palette: "palette", class: "class", view: "view", square: "square" }, host: { properties: { "class": "this.getClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ButtonComponent, decorators: [{
23
+ ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ButtonComponent, selector: "button[teta-button], teta-button", inputs: { palette: "palette", class: "class", view: "view", square: "square" }, host: { properties: { "class": "this.getClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ButtonComponent, decorators: [{
26
26
  type: Component,
27
27
  args: [{ selector: 'button[teta-button], teta-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [""] }]
28
28
  }], ctorParameters: function () { return []; }, propDecorators: { palette: [{
@@ -4,12 +4,12 @@ import { ButtonComponent } from './button/button.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export class ButtonModule {
6
6
  }
7
- ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent], imports: [CommonModule], exports: [ButtonComponent] });
9
- ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ButtonModule, imports: [[
7
+ ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent], imports: [CommonModule], exports: [ButtonComponent] });
9
+ ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ButtonModule, imports: [[
10
10
  CommonModule
11
11
  ]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ButtonModule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ButtonModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: [ButtonComponent],
@@ -4,10 +4,10 @@ import { Chart3dComponent } from './chart3d/chart3d.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export class Chart3dModule {
6
6
  }
7
- Chart3dModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: Chart3dModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- Chart3dModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: Chart3dModule, declarations: [Chart3dComponent], imports: [CommonModule], exports: [Chart3dComponent] });
9
- Chart3dModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: Chart3dModule, imports: [[CommonModule]] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: Chart3dModule, decorators: [{
7
+ Chart3dModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Chart3dModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ Chart3dModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Chart3dModule, declarations: [Chart3dComponent], imports: [CommonModule], exports: [Chart3dComponent] });
9
+ Chart3dModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Chart3dModule, imports: [[CommonModule]] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Chart3dModule, decorators: [{
11
11
  type: NgModule,
12
12
  args: [{
13
13
  declarations: [Chart3dComponent],
@@ -225,9 +225,9 @@ export class Chart3dComponent {
225
225
  return { x, y, z };
226
226
  }
227
227
  }
228
- Chart3dComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: Chart3dComponent, deps: [{ token: i0.ElementRef }, { token: i1.ThemeSwitchService }], target: i0.ɵɵFactoryTarget.Component });
229
- Chart3dComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: Chart3dComponent, selector: "teta-chart3d", inputs: { config: "config" }, viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<canvas #canvas></canvas>\n", styles: [":host{display:flex;width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: Chart3dComponent, decorators: [{
228
+ Chart3dComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Chart3dComponent, deps: [{ token: i0.ElementRef }, { token: i1.ThemeSwitchService }], target: i0.ɵɵFactoryTarget.Component });
229
+ Chart3dComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: Chart3dComponent, selector: "teta-chart3d", inputs: { config: "config" }, viewQueries: [{ propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true }], ngImport: i0, template: "<canvas #canvas></canvas>\n", styles: [":host{display:flex;width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: Chart3dComponent, decorators: [{
231
231
  type: Component,
232
232
  args: [{ selector: 'teta-chart3d', changeDetection: ChangeDetectionStrategy.OnPush, template: "<canvas #canvas></canvas>\n", styles: [":host{display:flex;width:100%;height:100%}\n"] }]
233
233
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeSwitchService }]; }, propDecorators: { canvasRef: [{