@tetacom/ng-components 1.0.38 → 1.0.41

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 (317) hide show
  1. package/component/accordion/accordion/accordion.component.d.ts +1 -1
  2. package/component/accordion/accordion-content.directive.d.ts +1 -1
  3. package/component/accordion/accordion-head/accordion-head.component.d.ts +1 -1
  4. package/component/accordion/accordion-item/accordion-item.component.d.ts +1 -1
  5. package/component/button/button/button.component.d.ts +1 -1
  6. package/component/chart-3d/chart3d/chart3d.component.d.ts +1 -1
  7. package/component/checkbox/checkbox/checkbox.component.d.ts +1 -1
  8. package/component/date-picker/date-picker/date-picker.component.d.ts +1 -1
  9. package/component/date-picker/day-select/day-select.component.d.ts +1 -1
  10. package/component/date-picker/month-picker/month-picker.component.d.ts +1 -1
  11. package/component/date-picker/month-select/month-select.component.d.ts +1 -1
  12. package/component/date-picker/time-part-control/time-part-control.component.d.ts +1 -1
  13. package/component/date-picker/year-select/year-select.component.d.ts +1 -1
  14. package/component/delimiter/delimiter/delimiter.component.d.ts +1 -1
  15. package/component/dropdown/dropdown/dropdown.component.d.ts +1 -1
  16. package/component/dropdown/dropdown-base.d.ts +1 -1
  17. package/component/dropdown/dropdown-content.directive.d.ts +1 -1
  18. package/component/dropdown/dropdown-head.directive.d.ts +1 -1
  19. package/component/dropdown/dropdown.directive.d.ts +1 -1
  20. package/component/dynamic-component/popup-content/popup-content.component.d.ts +1 -1
  21. package/component/expand-card/expand-card/expand-card.component.d.ts +1 -1
  22. package/component/expand-panel/expand-panel/expand-panel.component.d.ts +1 -1
  23. package/component/expand-panel/expand-panel-content.directive.d.ts +1 -1
  24. package/component/expand-panel/expand-panel-head.directive.d.ts +1 -1
  25. package/component/file-upload/file-item/file-item.component.d.ts +1 -1
  26. package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +3 -2
  27. package/component/filter/boolean-filter/boolean-filter.component.d.ts +1 -1
  28. package/component/filter/date-filter/date-filter.component.d.ts +1 -1
  29. package/component/filter/filter-host/filter-host.component.d.ts +1 -1
  30. package/component/filter/list-filter/list-filter.component.d.ts +1 -1
  31. package/component/filter/numeric-filter/numeric-filter.component.d.ts +1 -1
  32. package/component/filter/string-filter/string-filter.component.d.ts +1 -1
  33. package/component/icon/icon/icon.component.d.ts +1 -1
  34. package/component/icon/icon-sprite.directive.d.ts +1 -1
  35. package/component/input/form-group-title/form-group-title.component.d.ts +1 -1
  36. package/component/input/input/input.component.d.ts +1 -1
  37. package/component/input/text-field/text-field.component.d.ts +1 -1
  38. package/component/message/message/message.component.d.ts +1 -1
  39. package/component/message/message-host/message-host.component.d.ts +1 -1
  40. package/component/modal/dialog/dialog.component.d.ts +1 -1
  41. package/component/modal/modal-container/modal-container.component.d.ts +1 -1
  42. package/component/pager/pager/pager.component.d.ts +1 -1
  43. package/component/panel/panel/panel.component.d.ts +1 -1
  44. package/component/progress-bar/progress-bar/progress-bar.component.d.ts +1 -1
  45. package/component/property-grid/default/date-item-default/date-item-default.component.d.ts +1 -1
  46. package/component/property-grid/default/list-item-default/list-item-default.component.d.ts +1 -1
  47. package/component/property-grid/default/numeric-item-default/numeric-item-default.component.d.ts +1 -1
  48. package/component/property-grid/default/string-item-default/string-item-default.component.d.ts +1 -1
  49. package/component/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +3 -3
  50. package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +4 -4
  51. package/component/property-grid/property-grid/property-grid.component.d.ts +3 -3
  52. package/component/radio/radio/radio.component.d.ts +1 -1
  53. package/component/radio/radio-button/radio-button.component.d.ts +1 -1
  54. package/component/resize-panel/resize-panel/resize-panel.component.d.ts +1 -1
  55. package/component/select/select/select.component.d.ts +1 -1
  56. package/component/select/select-option.directive.d.ts +1 -1
  57. package/component/select/select-value.directive.d.ts +1 -1
  58. package/component/sidebar/sidebar/sidebar.component.d.ts +1 -1
  59. package/component/switch/switch/switch.component.d.ts +1 -1
  60. package/component/switch/switch-button/switch-button.component.d.ts +1 -1
  61. package/component/table/base/cell-component-base.d.ts +1 -1
  62. package/component/table/base/head-cell-component-base.d.ts +1 -1
  63. package/component/table/cell/cell.component.d.ts +1 -1
  64. package/component/table/cell-host/cell-host.component.d.ts +1 -1
  65. package/component/table/contract/head-dropdown-tab.d.ts +13 -0
  66. package/component/table/contract/public-api.d.ts +1 -0
  67. package/component/table/contract/table-column.d.ts +7 -3
  68. package/component/table/default/boolean-cell/boolean-cell.component.d.ts +1 -1
  69. package/component/table/default/date-cell/date-cell.component.d.ts +1 -1
  70. package/component/table/default/date-time-cell/date-time-cell.component.d.ts +1 -1
  71. package/component/table/default/default-head-cell/default-head-cell.component.d.ts +1 -1
  72. package/component/table/default/group-row/group-row.component.d.ts +1 -1
  73. package/component/table/default/list-cell/list-cell.component.d.ts +1 -1
  74. package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -1
  75. package/component/table/default/string-cell/string-cell.component.d.ts +1 -1
  76. package/component/table/head-cell/head-cell.component.d.ts +8 -4
  77. package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +5 -43
  78. package/component/table/head-cell-host/head-cell-host.component.d.ts +1 -1
  79. package/component/table/selection-cell/selection-cell.component.d.ts +1 -1
  80. package/component/table/selection-head-cell/selection-head-cell.component.d.ts +1 -1
  81. package/component/table/table/table.component.d.ts +1 -1
  82. package/component/table/table-body/table-body.component.d.ts +1 -1
  83. package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +32 -0
  84. package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +41 -0
  85. package/component/table/table-head/table-head.component.d.ts +1 -1
  86. package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +46 -0
  87. package/component/table/table-head-group/table-head-group.component.d.ts +1 -1
  88. package/component/table/table.module.d.ts +23 -20
  89. package/component/tabs/tab/tab.component.d.ts +1 -1
  90. package/component/tabs/tab-content.directive.d.ts +1 -1
  91. package/component/tabs/tab-title.directive.d.ts +1 -1
  92. package/component/tabs/tabs/tabs.component.d.ts +1 -1
  93. package/component/theme-switch/theme-switch/theme-switch.component.d.ts +1 -1
  94. package/component/toggle/toggle/toggle.component.d.ts +1 -1
  95. package/component/toolbar/toolbar/toolbar.component.d.ts +1 -1
  96. package/component/tree/tree/tree.component.d.ts +1 -1
  97. package/component/tree/tree-item/tree-item.component.d.ts +1 -1
  98. package/component/tree/tree-item-toggle/tree-item-toggle.component.d.ts +1 -1
  99. package/directive/click-outside/click-outside.directive.d.ts +1 -1
  100. package/directive/context-menu/context-menu.directive.d.ts +1 -1
  101. package/directive/disable-control/disable-control.directive.d.ts +1 -1
  102. package/directive/drag-drop/drag-container.directive.d.ts +1 -1
  103. package/directive/drag-drop/drag-placeholder.directive.d.ts +1 -1
  104. package/directive/drag-drop/drag-preview.directive.d.ts +1 -1
  105. package/directive/drag-drop/drag.directive.d.ts +1 -1
  106. package/directive/drag-sort/drag-sort-container.directive.d.ts +1 -1
  107. package/directive/drag-sort/drag-sort-item.directive.d.ts +1 -1
  108. package/directive/dynamic-content-base.directive.d.ts +1 -1
  109. package/directive/highlight/highlight.directive.d.ts +1 -1
  110. package/directive/hint/hint.directive.d.ts +1 -1
  111. package/directive/let/let.directive.d.ts +1 -1
  112. package/directive/loader/loader.directive.d.ts +1 -1
  113. package/directive/no-autofill/no-autofill.directive.d.ts +1 -1
  114. package/directive/only-number/only-number.directive.d.ts +1 -1
  115. package/directive/public-api.d.ts +1 -0
  116. package/directive/resize-drag/resize-drag.directive.d.ts +1 -1
  117. package/directive/scroll-into-view/public-api.d.ts +2 -0
  118. package/directive/scroll-into-view/scroll-into-view.directive.d.ts +13 -0
  119. package/directive/scroll-into-view/scroll-into-view.module.d.ts +8 -0
  120. package/directive/teta-template/teta-template.directive.d.ts +1 -1
  121. package/directive/tooltip/tooltip.directive.d.ts +1 -1
  122. package/esm2020/common/service/click.service.mjs +3 -3
  123. package/esm2020/common/service/dynamic-component.service.mjs +3 -3
  124. package/esm2020/common/service/overlay-container.service.mjs +3 -3
  125. package/esm2020/component/accordion/accordion/accordion.component.mjs +4 -4
  126. package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
  127. package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +6 -6
  128. package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +4 -4
  129. package/esm2020/component/accordion/accordion.module.mjs +6 -8
  130. package/esm2020/component/button/button/button.component.mjs +4 -4
  131. package/esm2020/component/button/button.module.mjs +5 -7
  132. package/esm2020/component/chart-3d/chart-3d.module.mjs +5 -5
  133. package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
  134. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +6 -6
  135. package/esm2020/component/checkbox/checkbox.module.mjs +6 -8
  136. package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +16 -16
  137. package/esm2020/component/date-picker/date-picker.module.mjs +12 -14
  138. package/esm2020/component/date-picker/day-select/day-select.component.mjs +4 -4
  139. package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +13 -13
  140. package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
  141. package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
  142. package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +5 -5
  143. package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
  144. package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
  145. package/esm2020/component/delimiter/delimiter.module.mjs +5 -7
  146. package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +5 -5
  147. package/esm2020/component/dropdown/dropdown-base.mjs +3 -3
  148. package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
  149. package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
  150. package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
  151. package/esm2020/component/dropdown/dropdown.module.mjs +5 -7
  152. package/esm2020/component/dynamic-component/dynamic-component.module.mjs +5 -7
  153. package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +4 -4
  154. package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +10 -10
  155. package/esm2020/component/expand-card/expand-card.module.mjs +9 -11
  156. package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +7 -7
  157. package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
  158. package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
  159. package/esm2020/component/expand-panel/expand-panel.module.mjs +9 -11
  160. package/esm2020/component/file-upload/file-item/file-item.component.mjs +4 -4
  161. package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +13 -9
  162. package/esm2020/component/file-upload/file-upload.module.mjs +5 -5
  163. package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +7 -7
  164. package/esm2020/component/filter/date-filter/date-filter.component.mjs +8 -8
  165. package/esm2020/component/filter/filter-host/filter-host.component.mjs +5 -10
  166. package/esm2020/component/filter/filter.module.mjs +12 -14
  167. package/esm2020/component/filter/list-filter/list-filter.component.mjs +7 -7
  168. package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +7 -7
  169. package/esm2020/component/filter/string-filter/string-filter.component.mjs +6 -6
  170. package/esm2020/component/icon/icon/icon.component.mjs +4 -4
  171. package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
  172. package/esm2020/component/icon/icon.module.mjs +6 -8
  173. package/esm2020/component/icon/icon.service.mjs +3 -3
  174. package/esm2020/component/input/form-group-title/form-group-title.component.mjs +4 -4
  175. package/esm2020/component/input/input/input.component.mjs +3 -3
  176. package/esm2020/component/input/input.module.mjs +5 -5
  177. package/esm2020/component/input/text-field/text-field.component.mjs +7 -7
  178. package/esm2020/component/message/message/message.component.mjs +6 -6
  179. package/esm2020/component/message/message-host/message-host.component.mjs +6 -6
  180. package/esm2020/component/message/message.module.mjs +7 -9
  181. package/esm2020/component/message/message.service.mjs +3 -3
  182. package/esm2020/component/modal/dialog/dialog.component.mjs +7 -7
  183. package/esm2020/component/modal/dialog.service.mjs +3 -3
  184. package/esm2020/component/modal/modal-container/modal-container.component.mjs +4 -4
  185. package/esm2020/component/modal/modal.module.mjs +10 -12
  186. package/esm2020/component/modal/modal.service.mjs +3 -3
  187. package/esm2020/component/pager/pager/pager.component.mjs +4 -4
  188. package/esm2020/component/pager/pager.module.mjs +6 -8
  189. package/esm2020/component/panel/panel/panel.component.mjs +4 -4
  190. package/esm2020/component/panel/panel.module.mjs +5 -7
  191. package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +4 -4
  192. package/esm2020/component/progress-bar/progress-bar.module.mjs +5 -7
  193. package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +4 -4
  194. package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +4 -4
  195. package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +4 -4
  196. package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +4 -4
  197. package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +8 -8
  198. package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +12 -12
  199. package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +8 -8
  200. package/esm2020/component/property-grid/property-grid.module.mjs +16 -18
  201. package/esm2020/component/radio/radio/radio.component.mjs +4 -4
  202. package/esm2020/component/radio/radio-button/radio-button.component.mjs +4 -4
  203. package/esm2020/component/radio/radio.module.mjs +5 -5
  204. package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +7 -7
  205. package/esm2020/component/resize-panel/resize-panel.module.mjs +5 -5
  206. package/esm2020/component/select/select/select.component.mjs +13 -13
  207. package/esm2020/component/select/select-option.directive.mjs +3 -3
  208. package/esm2020/component/select/select-value.directive.mjs +3 -3
  209. package/esm2020/component/select/select.module.mjs +11 -13
  210. package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +5 -5
  211. package/esm2020/component/sidebar/sidebar.module.mjs +7 -9
  212. package/esm2020/component/switch/switch/switch.component.mjs +4 -4
  213. package/esm2020/component/switch/switch-button/switch-button.component.mjs +4 -4
  214. package/esm2020/component/switch/switch.module.mjs +5 -7
  215. package/esm2020/component/switch/switch.service.mjs +3 -3
  216. package/esm2020/component/table/base/cell-component-base.mjs +3 -3
  217. package/esm2020/component/table/base/head-cell-component-base.mjs +3 -3
  218. package/esm2020/component/table/cell/cell.component.mjs +4 -4
  219. package/esm2020/component/table/cell-host/cell-host.component.mjs +4 -4
  220. package/esm2020/component/table/contract/head-dropdown-tab.mjs +2 -0
  221. package/esm2020/component/table/contract/public-api.mjs +2 -1
  222. package/esm2020/component/table/contract/table-column.mjs +4 -2
  223. package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +7 -7
  224. package/esm2020/component/table/default/date-cell/date-cell.component.mjs +7 -7
  225. package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +7 -7
  226. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +7 -7
  227. package/esm2020/component/table/default/group-row/group-row.component.mjs +4 -4
  228. package/esm2020/component/table/default/list-cell/list-cell.component.mjs +7 -7
  229. package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +4 -4
  230. package/esm2020/component/table/default/string-cell/string-cell.component.mjs +4 -4
  231. package/esm2020/component/table/head-cell/head-cell.component.mjs +63 -20
  232. package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +20 -183
  233. package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +3 -3
  234. package/esm2020/component/table/selection-cell/selection-cell.component.mjs +7 -7
  235. package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +5 -5
  236. package/esm2020/component/table/service/table.service.mjs +14 -5
  237. package/esm2020/component/table/table/table.component.mjs +15 -8
  238. package/esm2020/component/table/table-body/table-body.component.mjs +38 -34
  239. package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +55 -0
  240. package/esm2020/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +81 -0
  241. package/esm2020/component/table/table-head/table-head.component.mjs +25 -25
  242. package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +140 -0
  243. package/esm2020/component/table/table-head-group/table-head-group.component.mjs +7 -7
  244. package/esm2020/component/table/table.module.mjs +33 -26
  245. package/esm2020/component/tabs/tab/tab.component.mjs +4 -4
  246. package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
  247. package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
  248. package/esm2020/component/tabs/tabs/tabs.component.mjs +4 -4
  249. package/esm2020/component/tabs/tabs.module.mjs +5 -7
  250. package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
  251. package/esm2020/component/theme-switch/theme-switch.module.mjs +7 -9
  252. package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
  253. package/esm2020/component/toggle/toggle/toggle.component.mjs +4 -4
  254. package/esm2020/component/toggle/toggle.module.mjs +5 -5
  255. package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +4 -4
  256. package/esm2020/component/toolbar/toolbar.module.mjs +5 -7
  257. package/esm2020/component/tree/tree/tree.component.mjs +6 -6
  258. package/esm2020/component/tree/tree-item/tree-item.component.mjs +5 -5
  259. package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
  260. package/esm2020/component/tree/tree.module.mjs +5 -5
  261. package/esm2020/component/tree/tree.service.mjs +3 -3
  262. package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
  263. package/esm2020/directive/click-outside/click-outside.module.mjs +5 -7
  264. package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
  265. package/esm2020/directive/context-menu/context-menu.module.mjs +6 -8
  266. package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
  267. package/esm2020/directive/disable-control/disable-control.module.mjs +5 -7
  268. package/esm2020/directive/drag-drop/drag-container.directive.mjs +3 -3
  269. package/esm2020/directive/drag-drop/drag-drop.module.mjs +5 -7
  270. package/esm2020/directive/drag-drop/drag-drop.service.mjs +3 -3
  271. package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
  272. package/esm2020/directive/drag-drop/drag-preview.directive.mjs +3 -3
  273. package/esm2020/directive/drag-drop/drag.directive.mjs +3 -3
  274. package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +3 -3
  275. package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
  276. package/esm2020/directive/drag-sort/drag-sort.module.mjs +5 -5
  277. package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
  278. package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
  279. package/esm2020/directive/highlight/highlight.module.mjs +5 -7
  280. package/esm2020/directive/hint/hint.directive.mjs +3 -3
  281. package/esm2020/directive/hint/hint.module.mjs +6 -8
  282. package/esm2020/directive/let/let.directive.mjs +3 -3
  283. package/esm2020/directive/let/let.module.mjs +5 -7
  284. package/esm2020/directive/loader/loader.directive.mjs +3 -3
  285. package/esm2020/directive/loader/loader.module.mjs +5 -7
  286. package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
  287. package/esm2020/directive/no-autofill/no-autofill.module.mjs +5 -5
  288. package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
  289. package/esm2020/directive/only-number/only-number.module.mjs +5 -5
  290. package/esm2020/directive/public-api.mjs +2 -1
  291. package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
  292. package/esm2020/directive/resize-drag/resize-drag.module.mjs +5 -5
  293. package/esm2020/directive/scroll-into-view/public-api.mjs +3 -0
  294. package/esm2020/directive/scroll-into-view/scroll-into-view.directive.mjs +40 -0
  295. package/esm2020/directive/scroll-into-view/scroll-into-view.module.mjs +23 -0
  296. package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
  297. package/esm2020/directive/teta-template/teta-template.module.mjs +5 -7
  298. package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
  299. package/esm2020/directive/tooltip/tooltip.module.mjs +5 -5
  300. package/esm2020/locale/teta-config.service.mjs +3 -3
  301. package/esm2020/pipe/number-pipe/number-pipe.module.mjs +5 -7
  302. package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
  303. package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +5 -5
  304. package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
  305. package/esm2020/util/forms-util.mjs +6 -6
  306. package/fesm2015/tetacom-ng-components.mjs +1534 -1382
  307. package/fesm2015/tetacom-ng-components.mjs.map +1 -1
  308. package/fesm2020/tetacom-ng-components.mjs +1531 -1383
  309. package/fesm2020/tetacom-ng-components.mjs.map +1 -1
  310. package/{tetacom-ng-components.d.ts → index.d.ts} +0 -0
  311. package/package.json +3 -3
  312. package/pipe/number-pipe/number.pipe.d.ts +1 -1
  313. package/pipe/prepend-zero/prepend-zero.pipe.d.ts +1 -1
  314. package/style/layout.scss +2 -1
  315. package/style/presets/color-presets.scss +58 -52
  316. package/style/table.scss +14 -1
  317. package/util/forms-util.d.ts +5 -5
@@ -18,5 +18,5 @@ export declare class SwitchComponent implements OnInit, OnDestroy, ControlValueA
18
18
  ngOnInit(): void;
19
19
  ngOnDestroy(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "teta-switch", never, {}, {}, never, ["*"]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "teta-switch", never, {}, {}, never, ["*"], false>;
22
22
  }
@@ -14,5 +14,5 @@ export declare class SwitchButtonComponent implements OnInit, OnDestroy {
14
14
  ngOnInit(): void;
15
15
  ngOnDestroy(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SwitchButtonComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<SwitchButtonComponent, "teta-switch-button", never, { "value": "value"; "class": "class"; }, {}, never, ["*"]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchButtonComponent, "teta-switch-button", never, { "value": "value"; "class": "class"; }, {}, never, ["*"], false>;
18
18
  }
@@ -29,5 +29,5 @@ export declare abstract class CellComponentBase<T> implements OnInit, OnDestroy
29
29
  abstract startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
30
30
  abstract stopEdit(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<CellComponentBase<any>, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<CellComponentBase<any>, "ng-component", never, {}, {}, never, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<CellComponentBase<any>, "ng-component", never, {}, {}, never, never, false>;
33
33
  }
@@ -5,5 +5,5 @@ export declare abstract class HeadCellComponentBase<T> {
5
5
  abstract column: TableColumn;
6
6
  abstract data: TableRow<T>[];
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellComponentBase<any>, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellComponentBase<any>, "ng-component", never, {}, {}, never, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellComponentBase<any>, "ng-component", never, {}, {}, never, never, false>;
9
9
  }
@@ -17,5 +17,5 @@ export declare class CellComponent<T> implements OnInit, OnDestroy {
17
17
  ngOnInit(): void;
18
18
  ngOnDestroy(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent<any>, "teta-cell", never, { "column": "column"; "filterOptions": "filterOptions"; "dict": "dict"; "row": "row"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent<any>, "teta-cell", never, { "column": "column"; "filterOptions": "filterOptions"; "dict": "dict"; "row": "row"; }, {}, never, never, false>;
21
21
  }
@@ -17,5 +17,5 @@ export declare class CellHostComponent<T> implements OnInit, OnDestroy, OnChange
17
17
  ngOnDestroy(): void;
18
18
  ngOnChanges(changes: SimpleChanges): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<CellHostComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CellHostComponent<any>, "teta-cell-host", never, { "column": "column"; "row": "row"; "filterOptions": "filterOptions"; "dict": "dict"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<CellHostComponent<any>, "teta-cell-host", never, { "column": "column"; "row": "row"; "filterOptions": "filterOptions"; "dict": "dict"; }, {}, never, never, false>;
21
21
  }
@@ -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;
@@ -17,5 +17,5 @@ export declare class BooleanCellComponent<T> extends CellComponentBase<T> implem
17
17
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
18
18
  stopEdit(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCellComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent<any>, "teta-boolean-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent<any>, "teta-boolean-cell", never, { "column": "column"; "row": "row"; }, {}, never, never, false>;
21
21
  }
@@ -18,5 +18,5 @@ export declare class DateCellComponent<T> extends CellComponentBase<T> implement
18
18
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
19
19
  stopEdit(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent<any>, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent<any>, "teta-date-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent<any>, "teta-date-cell", never, { "column": "column"; "row": "row"; }, {}, never, never, false>;
22
22
  }
@@ -18,5 +18,5 @@ export declare class DateTimeCellComponent<T> extends CellComponentBase<T> imple
18
18
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
19
19
  stopEdit(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeCellComponent<any>, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeCellComponent<any>, "teta-date-time-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeCellComponent<any>, "teta-date-time-cell", never, { "column": "column"; "row": "row"; }, {}, never, never, false>;
22
22
  }
@@ -14,5 +14,5 @@ export declare class DefaultHeadCellComponent<T> extends HeadCellComponentBase<T
14
14
  constructor(_cdr: ChangeDetectorRef);
15
15
  ngOnInit(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeadCellComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeadCellComponent<any>, "teta-default-head-cell", never, { "column": "column"; "data": "data"; }, {}, never, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeadCellComponent<any>, "teta-default-head-cell", never, { "column": "column"; "data": "data"; }, {}, never, never, false>;
18
18
  }
@@ -9,5 +9,5 @@ export declare class GroupRowComponent<T> extends GroupRowComponentBase<T> imple
9
9
  constructor();
10
10
  ngOnInit(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupRowComponent<any>, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupRowComponent<any>, "teta-group-row", never, { "row": "row"; "columns": "columns"; }, {}, never, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupRowComponent<any>, "teta-group-row", never, { "row": "row"; "columns": "columns"; }, {}, never, never, false>;
13
13
  }
@@ -25,5 +25,5 @@ export declare class ListCellComponent<T> extends CellComponentBase<T> implement
25
25
  ngOnInit(): void;
26
26
  private getValue;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ListCellComponent<any>, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ListCellComponent<any>, "teta-list-cell", never, { "column": "column"; "row": "row"; "filterOptions": "filterOptions"; }, {}, never, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListCellComponent<any>, "teta-list-cell", never, { "column": "column"; "row": "row"; "filterOptions": "filterOptions"; }, {}, never, never, false>;
29
29
  }
@@ -17,5 +17,5 @@ export declare class NumericCellComponent<T> extends CellComponentBase<T> implem
17
17
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
18
18
  stopEdit(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericCellComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<NumericCellComponent<any>, "teta-numeric-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumericCellComponent<any>, "teta-numeric-cell", never, { "column": "column"; "row": "row"; }, {}, never, never, false>;
21
21
  }
@@ -17,5 +17,5 @@ export declare class StringCellComponent<T> extends CellComponentBase<T> impleme
17
17
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
18
18
  stopEdit(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<StringCellComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<StringCellComponent<any>, "teta-string-cell", never, { "column": "column"; "row": "row"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<StringCellComponent<any>, "teta-string-cell", never, { "column": "column"; "row": "row"; }, {}, never, never, false>;
21
21
  }
@@ -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,11 +42,9 @@ 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;
44
48
  static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellComponent<any>, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellComponent<any>, "teta-head-cell", never, { "column": "column"; "showHeadCellMenu": "showHeadCellMenu"; "data": "data"; }, {}, never, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellComponent<any>, "teta-head-cell", never, { "column": "column"; "showHeadCellMenu": "showHeadCellMenu"; "data": "data"; }, {}, never, never, false>;
46
50
  }
@@ -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, false>;
66
28
  }
@@ -15,5 +15,5 @@ export declare class HeadCellHostComponent<T> implements OnInit {
15
15
  constructor(viewContainerRef: ViewContainerRef);
16
16
  ngOnInit(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellHostComponent<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellHostComponent<any>, "teta-head-cell-host", never, { "column": "column"; "data": "data"; }, {}, never, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellHostComponent<any>, "teta-head-cell-host", never, { "column": "column"; "data": "data"; }, {}, never, never, false>;
19
19
  }
@@ -14,5 +14,5 @@ export declare class SelectionCellComponent<T> implements OnInit, OnDestroy {
14
14
  ngOnInit(): void;
15
15
  ngOnDestroy(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionCellComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionCellComponent<any>, "teta-selection-cell", never, { "row": "row"; }, {}, never, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionCellComponent<any>, "teta-selection-cell", never, { "row": "row"; }, {}, never, never, false>;
18
18
  }
@@ -12,5 +12,5 @@ export declare class SelectionHeadCellComponent<T> implements OnInit, OnDestroy
12
12
  ngOnInit(): void;
13
13
  ngOnDestroy(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectionHeadCellComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionHeadCellComponent<any>, "teta-selection-head-cell", never, {}, {}, never, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionHeadCellComponent<any>, "teta-selection-head-cell", never, {}, {}, never, never, false>;
16
16
  }
@@ -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, ["*"], false>;
87
87
  }
@@ -59,5 +59,5 @@ export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
59
59
  private getMin;
60
60
  private getMax;
61
61
  static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "teta-table-body", never, { "virtual": "virtual"; "activeRow": "activeRow"; "selectedRows": "selectedRows"; "additionalComponent": "additionalComponent"; "tree": "tree"; "aggregate": "aggregate"; "grouping": "grouping"; "groupRowComponent": "groupRowComponent"; "openLevels": "openLevels"; "selectType": "selectType"; "rowClass": "rowClass"; }, {}, never, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "teta-table-body", never, { "virtual": "virtual"; "activeRow": "activeRow"; "selectedRows": "selectedRows"; "additionalComponent": "additionalComponent"; "tree": "tree"; "aggregate": "aggregate"; "grouping": "grouping"; "groupRowComponent": "groupRowComponent"; "openLevels": "openLevels"; "selectType": "selectType"; "rowClass": "rowClass"; }, {}, never, never, false>;
63
63
  }
@@ -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, false>;
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, false>;
41
+ }
@@ -28,5 +28,5 @@ export declare class TableHeadComponent<T> implements OnInit, OnDestroy {
28
28
  ngOnInit(): void;
29
29
  ngOnDestroy(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<TableHeadComponent<any>, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadComponent<any>, "teta-table-head", never, { "selectType": "selectType"; "showHeadCellMenu": "showHeadCellMenu"; }, {}, never, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadComponent<any>, "teta-table-head", never, { "selectType": "selectType"; "showHeadCellMenu": "showHeadCellMenu"; }, {}, never, never, false>;
32
32
  }
@@ -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, false>;
46
+ }
@@ -21,5 +21,5 @@ export declare class TableHeadGroupComponent<T> implements OnInit, OnDestroy {
21
21
  ngOnInit(): void;
22
22
  ngOnDestroy(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<TableHeadGroupComponent<any>, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadGroupComponent<any>, "teta-table-head-group", never, { "showHeadCellMenu": "showHeadCellMenu"; "data": "data"; "column": "column"; }, {}, never, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadGroupComponent<any>, "teta-table-head-group", never, { "showHeadCellMenu": "showHeadCellMenu"; "data": "data"; "column": "column"; }, {}, never, never, false>;
25
25
  }
@@ -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
  }
@@ -19,5 +19,5 @@ export declare class TabComponent implements AfterContentChecked {
19
19
  contentTpl: TabContentDirective;
20
20
  ngAfterContentChecked(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "teta-tab", never, { "id": "id"; "title": "title"; "disabled": "disabled"; }, {}, ["titleTpl", "contentTpl"], never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "teta-tab", never, { "id": "id"; "title": "title"; "disabled": "disabled"; }, {}, ["titleTpl", "contentTpl"], never, false>;
23
23
  }
@@ -4,5 +4,5 @@ export declare class TabContentDirective {
4
4
  template: TemplateRef<any>;
5
5
  constructor(template: TemplateRef<any>);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[tetaTabContent]", never, {}, {}, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[tetaTabContent]", never, {}, {}, never, never, false>;
8
8
  }
@@ -4,5 +4,5 @@ export declare class TabTitleDirective {
4
4
  template: TemplateRef<any>;
5
5
  constructor(template: TemplateRef<any>);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[tetaTabTitle]", never, {}, {}, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[tetaTabTitle]", never, {}, {}, never, never, false>;
8
8
  }
@@ -30,5 +30,5 @@ export declare class TabsComponent implements AfterContentChecked {
30
30
  ngAfterContentChecked(): void;
31
31
  private _getTabById;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "teta-tabs", never, { "activeId": "activeId"; "destroyOnHide": "destroyOnHide"; }, { "tabChange": "tabChange"; }, ["tabs"], never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "teta-tabs", never, { "activeId": "activeId"; "destroyOnHide": "destroyOnHide"; }, { "tabChange": "tabChange"; }, ["tabs"], never, false>;
34
34
  }
@@ -12,5 +12,5 @@ export declare class ThemeSwitchComponent implements OnInit {
12
12
  ngOnInit(): void;
13
13
  switchTheme(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSwitchComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ThemeSwitchComponent, "teta-theme-switch", never, { "palette": "palette"; "view": "view"; }, {}, never, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThemeSwitchComponent, "teta-theme-switch", never, { "palette": "palette"; "view": "view"; }, {}, never, never, false>;
16
16
  }
@@ -29,5 +29,5 @@ export declare class ToggleComponent implements ControlValueAccessor, OnInit {
29
29
  registerOnTouched(fn: () => void): void;
30
30
  setDisabledState?(isDisabled: boolean): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "teta-toggle", never, { "palette": "palette"; "noLabel": "noLabel"; "disabled": "disabled"; }, {}, never, ["*"]>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "teta-toggle", never, { "palette": "palette"; "noLabel": "noLabel"; "disabled": "disabled"; }, {}, never, ["*"], false>;
33
33
  }
@@ -6,5 +6,5 @@ export declare class ToolbarComponent implements OnInit {
6
6
  private get getClass();
7
7
  ngOnInit(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "teta-toolbar", never, { "palette": "palette"; "class": "class"; }, {}, never, ["*"]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "teta-toolbar", never, { "palette": "palette"; "class": "class"; }, {}, never, ["*"], false>;
10
10
  }