@tetacom/ng-components 1.0.40 → 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 (303) 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 +1 -1
  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/default/boolean-cell/boolean-cell.component.d.ts +1 -1
  66. package/component/table/default/date-cell/date-cell.component.d.ts +1 -1
  67. package/component/table/default/date-time-cell/date-time-cell.component.d.ts +1 -1
  68. package/component/table/default/default-head-cell/default-head-cell.component.d.ts +1 -1
  69. package/component/table/default/group-row/group-row.component.d.ts +1 -1
  70. package/component/table/default/list-cell/list-cell.component.d.ts +1 -1
  71. package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -1
  72. package/component/table/default/string-cell/string-cell.component.d.ts +1 -1
  73. package/component/table/head-cell/head-cell.component.d.ts +1 -1
  74. package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +1 -1
  75. package/component/table/head-cell-host/head-cell-host.component.d.ts +1 -1
  76. package/component/table/selection-cell/selection-cell.component.d.ts +1 -1
  77. package/component/table/selection-head-cell/selection-head-cell.component.d.ts +1 -1
  78. package/component/table/table/table.component.d.ts +1 -1
  79. package/component/table/table-body/table-body.component.d.ts +1 -1
  80. package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +1 -1
  81. package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +1 -1
  82. package/component/table/table-head/table-head.component.d.ts +1 -1
  83. package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +1 -1
  84. package/component/table/table-head-group/table-head-group.component.d.ts +1 -1
  85. package/component/tabs/tab/tab.component.d.ts +1 -1
  86. package/component/tabs/tab-content.directive.d.ts +1 -1
  87. package/component/tabs/tab-title.directive.d.ts +1 -1
  88. package/component/tabs/tabs/tabs.component.d.ts +1 -1
  89. package/component/theme-switch/theme-switch/theme-switch.component.d.ts +1 -1
  90. package/component/toggle/toggle/toggle.component.d.ts +1 -1
  91. package/component/toolbar/toolbar/toolbar.component.d.ts +1 -1
  92. package/component/tree/tree/tree.component.d.ts +1 -1
  93. package/component/tree/tree-item/tree-item.component.d.ts +1 -1
  94. package/component/tree/tree-item-toggle/tree-item-toggle.component.d.ts +1 -1
  95. package/directive/click-outside/click-outside.directive.d.ts +1 -1
  96. package/directive/context-menu/context-menu.directive.d.ts +1 -1
  97. package/directive/disable-control/disable-control.directive.d.ts +1 -1
  98. package/directive/drag-drop/drag-container.directive.d.ts +1 -1
  99. package/directive/drag-drop/drag-placeholder.directive.d.ts +1 -1
  100. package/directive/drag-drop/drag-preview.directive.d.ts +1 -1
  101. package/directive/drag-drop/drag.directive.d.ts +1 -1
  102. package/directive/drag-sort/drag-sort-container.directive.d.ts +1 -1
  103. package/directive/drag-sort/drag-sort-item.directive.d.ts +1 -1
  104. package/directive/dynamic-content-base.directive.d.ts +1 -1
  105. package/directive/highlight/highlight.directive.d.ts +1 -1
  106. package/directive/hint/hint.directive.d.ts +1 -1
  107. package/directive/let/let.directive.d.ts +1 -1
  108. package/directive/loader/loader.directive.d.ts +1 -1
  109. package/directive/no-autofill/no-autofill.directive.d.ts +1 -1
  110. package/directive/only-number/only-number.directive.d.ts +1 -1
  111. package/directive/resize-drag/resize-drag.directive.d.ts +1 -1
  112. package/directive/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
  113. package/directive/teta-template/teta-template.directive.d.ts +1 -1
  114. package/directive/tooltip/tooltip.directive.d.ts +1 -1
  115. package/esm2020/common/service/click.service.mjs +3 -3
  116. package/esm2020/common/service/dynamic-component.service.mjs +3 -3
  117. package/esm2020/common/service/overlay-container.service.mjs +3 -3
  118. package/esm2020/component/accordion/accordion/accordion.component.mjs +4 -4
  119. package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
  120. package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +6 -6
  121. package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +4 -4
  122. package/esm2020/component/accordion/accordion.module.mjs +6 -8
  123. package/esm2020/component/button/button/button.component.mjs +4 -4
  124. package/esm2020/component/button/button.module.mjs +5 -7
  125. package/esm2020/component/chart-3d/chart-3d.module.mjs +5 -5
  126. package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
  127. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +6 -6
  128. package/esm2020/component/checkbox/checkbox.module.mjs +6 -8
  129. package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +15 -15
  130. package/esm2020/component/date-picker/date-picker.module.mjs +12 -14
  131. package/esm2020/component/date-picker/day-select/day-select.component.mjs +4 -4
  132. package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +12 -12
  133. package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
  134. package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
  135. package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +5 -5
  136. package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
  137. package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
  138. package/esm2020/component/delimiter/delimiter.module.mjs +5 -7
  139. package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +4 -4
  140. package/esm2020/component/dropdown/dropdown-base.mjs +3 -3
  141. package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
  142. package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
  143. package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
  144. package/esm2020/component/dropdown/dropdown.module.mjs +5 -7
  145. package/esm2020/component/dynamic-component/dynamic-component.module.mjs +5 -7
  146. package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +4 -4
  147. package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +8 -8
  148. package/esm2020/component/expand-card/expand-card.module.mjs +9 -11
  149. package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +7 -7
  150. package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
  151. package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
  152. package/esm2020/component/expand-panel/expand-panel.module.mjs +9 -11
  153. package/esm2020/component/file-upload/file-item/file-item.component.mjs +4 -4
  154. package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +6 -6
  155. package/esm2020/component/file-upload/file-upload.module.mjs +5 -5
  156. package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +7 -7
  157. package/esm2020/component/filter/date-filter/date-filter.component.mjs +8 -8
  158. package/esm2020/component/filter/filter-host/filter-host.component.mjs +5 -10
  159. package/esm2020/component/filter/filter.module.mjs +12 -14
  160. package/esm2020/component/filter/list-filter/list-filter.component.mjs +7 -7
  161. package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +7 -7
  162. package/esm2020/component/filter/string-filter/string-filter.component.mjs +6 -6
  163. package/esm2020/component/icon/icon/icon.component.mjs +4 -4
  164. package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
  165. package/esm2020/component/icon/icon.module.mjs +6 -8
  166. package/esm2020/component/icon/icon.service.mjs +3 -3
  167. package/esm2020/component/input/form-group-title/form-group-title.component.mjs +4 -4
  168. package/esm2020/component/input/input/input.component.mjs +3 -3
  169. package/esm2020/component/input/input.module.mjs +5 -5
  170. package/esm2020/component/input/text-field/text-field.component.mjs +7 -7
  171. package/esm2020/component/message/message/message.component.mjs +6 -6
  172. package/esm2020/component/message/message-host/message-host.component.mjs +6 -6
  173. package/esm2020/component/message/message.module.mjs +7 -9
  174. package/esm2020/component/message/message.service.mjs +3 -3
  175. package/esm2020/component/modal/dialog/dialog.component.mjs +7 -7
  176. package/esm2020/component/modal/dialog.service.mjs +3 -3
  177. package/esm2020/component/modal/modal-container/modal-container.component.mjs +4 -4
  178. package/esm2020/component/modal/modal.module.mjs +10 -12
  179. package/esm2020/component/modal/modal.service.mjs +3 -3
  180. package/esm2020/component/pager/pager/pager.component.mjs +4 -4
  181. package/esm2020/component/pager/pager.module.mjs +6 -8
  182. package/esm2020/component/panel/panel/panel.component.mjs +4 -4
  183. package/esm2020/component/panel/panel.module.mjs +5 -7
  184. package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +4 -4
  185. package/esm2020/component/progress-bar/progress-bar.module.mjs +5 -7
  186. package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +4 -4
  187. package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +4 -4
  188. package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +4 -4
  189. package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +4 -4
  190. package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +8 -8
  191. package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +12 -12
  192. package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +8 -8
  193. package/esm2020/component/property-grid/property-grid.module.mjs +16 -18
  194. package/esm2020/component/radio/radio/radio.component.mjs +4 -4
  195. package/esm2020/component/radio/radio-button/radio-button.component.mjs +4 -4
  196. package/esm2020/component/radio/radio.module.mjs +5 -5
  197. package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +7 -7
  198. package/esm2020/component/resize-panel/resize-panel.module.mjs +5 -5
  199. package/esm2020/component/select/select/select.component.mjs +13 -13
  200. package/esm2020/component/select/select-option.directive.mjs +3 -3
  201. package/esm2020/component/select/select-value.directive.mjs +3 -3
  202. package/esm2020/component/select/select.module.mjs +11 -13
  203. package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +5 -5
  204. package/esm2020/component/sidebar/sidebar.module.mjs +7 -9
  205. package/esm2020/component/switch/switch/switch.component.mjs +4 -4
  206. package/esm2020/component/switch/switch-button/switch-button.component.mjs +4 -4
  207. package/esm2020/component/switch/switch.module.mjs +5 -7
  208. package/esm2020/component/switch/switch.service.mjs +3 -3
  209. package/esm2020/component/table/base/cell-component-base.mjs +3 -3
  210. package/esm2020/component/table/base/head-cell-component-base.mjs +3 -3
  211. package/esm2020/component/table/cell/cell.component.mjs +4 -4
  212. package/esm2020/component/table/cell-host/cell-host.component.mjs +4 -4
  213. package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +7 -7
  214. package/esm2020/component/table/default/date-cell/date-cell.component.mjs +7 -7
  215. package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +7 -7
  216. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +5 -5
  217. package/esm2020/component/table/default/group-row/group-row.component.mjs +4 -4
  218. package/esm2020/component/table/default/list-cell/list-cell.component.mjs +7 -7
  219. package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +4 -4
  220. package/esm2020/component/table/default/string-cell/string-cell.component.mjs +4 -4
  221. package/esm2020/component/table/head-cell/head-cell.component.mjs +14 -14
  222. package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +11 -11
  223. package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +3 -3
  224. package/esm2020/component/table/selection-cell/selection-cell.component.mjs +5 -5
  225. package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +5 -5
  226. package/esm2020/component/table/service/table.service.mjs +3 -3
  227. package/esm2020/component/table/table/table.component.mjs +8 -8
  228. package/esm2020/component/table/table-body/table-body.component.mjs +9 -9
  229. package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +9 -9
  230. package/esm2020/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +3 -3
  231. package/esm2020/component/table/table-head/table-head.component.mjs +6 -6
  232. package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +12 -12
  233. package/esm2020/component/table/table-head-group/table-head-group.component.mjs +7 -7
  234. package/esm2020/component/table/table.module.mjs +23 -25
  235. package/esm2020/component/tabs/tab/tab.component.mjs +4 -4
  236. package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
  237. package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
  238. package/esm2020/component/tabs/tabs/tabs.component.mjs +4 -4
  239. package/esm2020/component/tabs/tabs.module.mjs +5 -7
  240. package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
  241. package/esm2020/component/theme-switch/theme-switch.module.mjs +7 -9
  242. package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
  243. package/esm2020/component/toggle/toggle/toggle.component.mjs +4 -4
  244. package/esm2020/component/toggle/toggle.module.mjs +5 -5
  245. package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +4 -4
  246. package/esm2020/component/toolbar/toolbar.module.mjs +5 -7
  247. package/esm2020/component/tree/tree/tree.component.mjs +6 -6
  248. package/esm2020/component/tree/tree-item/tree-item.component.mjs +5 -5
  249. package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
  250. package/esm2020/component/tree/tree.module.mjs +5 -5
  251. package/esm2020/component/tree/tree.service.mjs +3 -3
  252. package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
  253. package/esm2020/directive/click-outside/click-outside.module.mjs +5 -7
  254. package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
  255. package/esm2020/directive/context-menu/context-menu.module.mjs +6 -8
  256. package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
  257. package/esm2020/directive/disable-control/disable-control.module.mjs +5 -7
  258. package/esm2020/directive/drag-drop/drag-container.directive.mjs +3 -3
  259. package/esm2020/directive/drag-drop/drag-drop.module.mjs +5 -7
  260. package/esm2020/directive/drag-drop/drag-drop.service.mjs +3 -3
  261. package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
  262. package/esm2020/directive/drag-drop/drag-preview.directive.mjs +3 -3
  263. package/esm2020/directive/drag-drop/drag.directive.mjs +3 -3
  264. package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +3 -3
  265. package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
  266. package/esm2020/directive/drag-sort/drag-sort.module.mjs +5 -5
  267. package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
  268. package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
  269. package/esm2020/directive/highlight/highlight.module.mjs +5 -7
  270. package/esm2020/directive/hint/hint.directive.mjs +3 -3
  271. package/esm2020/directive/hint/hint.module.mjs +6 -8
  272. package/esm2020/directive/let/let.directive.mjs +3 -3
  273. package/esm2020/directive/let/let.module.mjs +5 -7
  274. package/esm2020/directive/loader/loader.directive.mjs +3 -3
  275. package/esm2020/directive/loader/loader.module.mjs +5 -7
  276. package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
  277. package/esm2020/directive/no-autofill/no-autofill.module.mjs +5 -5
  278. package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
  279. package/esm2020/directive/only-number/only-number.module.mjs +5 -5
  280. package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
  281. package/esm2020/directive/resize-drag/resize-drag.module.mjs +5 -5
  282. package/esm2020/directive/scroll-into-view/scroll-into-view.directive.mjs +3 -3
  283. package/esm2020/directive/scroll-into-view/scroll-into-view.module.mjs +5 -7
  284. package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
  285. package/esm2020/directive/teta-template/teta-template.module.mjs +5 -7
  286. package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
  287. package/esm2020/directive/tooltip/tooltip.module.mjs +5 -5
  288. package/esm2020/locale/teta-config.service.mjs +3 -3
  289. package/esm2020/pipe/number-pipe/number-pipe.module.mjs +5 -7
  290. package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
  291. package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +5 -5
  292. package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
  293. package/esm2020/util/forms-util.mjs +6 -6
  294. package/fesm2015/tetacom-ng-components.mjs +1160 -1235
  295. package/fesm2015/tetacom-ng-components.mjs.map +1 -1
  296. package/fesm2020/tetacom-ng-components.mjs +1138 -1213
  297. package/fesm2020/tetacom-ng-components.mjs.map +1 -1
  298. package/{tetacom-ng-components.d.ts → index.d.ts} +0 -0
  299. package/package.json +3 -3
  300. package/pipe/number-pipe/number.pipe.d.ts +1 -1
  301. package/pipe/prepend-zero/prepend-zero.pipe.d.ts +1 -1
  302. package/style/presets/color-presets.scss +58 -52
  303. package/util/forms-util.d.ts +5 -5
@@ -2,9 +2,9 @@ import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/
2
2
  import { CellComponentBase } from '../../base/cell-component-base';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "../../service/table.service";
5
- import * as i2 from "../../../date-picker/date-picker/date-picker.component";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/forms";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "@angular/forms";
7
+ import * as i4 from "../../../date-picker/date-picker/date-picker.component";
8
8
  export class DateTimeCellComponent extends CellComponentBase {
9
9
  constructor(svc, cdr) {
10
10
  super(svc, cdr);
@@ -30,11 +30,11 @@ export class DateTimeCellComponent extends CellComponentBase {
30
30
  this.cdr.markForCheck();
31
31
  }
32
32
  }
33
- DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DateTimeCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
34
- DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DateTimeCellComponent, selector: "teta-date-time-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], components: [{ type: i2.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "allowNull", "backdrop", "showTime", "format"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "date": i3.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DateTimeCellComponent, decorators: [{
33
+ DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DateTimeCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
34
+ DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: DateTimeCellComponent, selector: "teta-date-time-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "allowNull", "backdrop", "showTime", "format"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DateTimeCellComponent, decorators: [{
36
36
  type: Component,
37
- args: [{ selector: 'teta-date-time-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""] }]
37
+ args: [{ selector: 'teta-date-time-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n" }]
38
38
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
39
39
  type: Input
40
40
  }], row: [{
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
2
2
  import { HeadCellComponentBase } from '../../base/head-cell-component-base';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "../../../../directive/hint/hint.directive";
5
- import * as i2 from "@angular/common";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../../../../directive/hint/hint.directive";
6
6
  export class DefaultHeadCellComponent extends HeadCellComponentBase {
7
7
  constructor(_cdr) {
8
8
  super();
@@ -25,9 +25,9 @@ export class DefaultHeadCellComponent extends HeadCellComponentBase {
25
25
  ngOnInit() {
26
26
  }
27
27
  }
28
- DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DefaultHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
29
- DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DefaultHeadCellComponent, selector: "teta-default-head-cell", inputs: { column: "column", data: "data" }, usesInheritance: true, ngImport: i0, template: "<div class=\"column column_auto\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text font-caption\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0;padding:6px 8px}\n"], directives: [{ type: i1.HintDirective, selector: "[tetaHint]", inputs: ["tetaHint", "align", "verticalAlign", "delay"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DefaultHeadCellComponent, decorators: [{
28
+ DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
29
+ DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: DefaultHeadCellComponent, selector: "teta-default-head-cell", inputs: { column: "column", data: "data" }, usesInheritance: true, ngImport: i0, template: "<div class=\"column column_auto\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text font-caption\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0;padding:6px 8px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.HintDirective, selector: "[tetaHint]", inputs: ["tetaHint", "align", "verticalAlign", "delay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultHeadCellComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{ selector: 'teta-default-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"column column_auto\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text font-caption\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0;padding:6px 8px}\n"] }]
33
33
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
@@ -7,11 +7,11 @@ export class GroupRowComponent extends GroupRowComponentBase {
7
7
  }
8
8
  ngOnInit() { }
9
9
  }
10
- GroupRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GroupRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- GroupRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: GroupRowComponent, selector: "teta-group-row", inputs: { row: "row", columns: "columns" }, usesInheritance: true, ngImport: i0, template: "<span>{{row.groupValue[row.level]}} ()</span>\n<!--<span>{{row.groupValue[row.level]}} ({{row.children.length}})</span>-->\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GroupRowComponent, decorators: [{
10
+ GroupRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ GroupRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: GroupRowComponent, selector: "teta-group-row", inputs: { row: "row", columns: "columns" }, usesInheritance: true, ngImport: i0, template: "<span>{{row.groupValue[row.level]}} ()</span>\n<!--<span>{{row.groupValue[row.level]}} ({{row.children.length}})</span>-->\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: GroupRowComponent, decorators: [{
13
13
  type: Component,
14
- args: [{ selector: 'teta-group-row', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span>{{row.groupValue[row.level]}} ()</span>\n<!--<span>{{row.groupValue[row.level]}} ({{row.children.length}})</span>-->\n", styles: [""] }]
14
+ args: [{ selector: 'teta-group-row', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span>{{row.groupValue[row.level]}} ()</span>\n<!--<span>{{row.groupValue[row.level]}} ({{row.children.length}})</span>-->\n" }]
15
15
  }], ctorParameters: function () { return []; }, propDecorators: { row: [{
16
16
  type: Input
17
17
  }], columns: [{
@@ -3,9 +3,9 @@ import { CellComponentBase } from '../../base/cell-component-base';
3
3
  import { VerticalAlign } from '../../../../common/enum/vertical-align.enum';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "../../service/table.service";
6
- import * as i2 from "../../../select/select/select.component";
7
- import * as i3 from "@angular/common";
8
- import * as i4 from "@angular/forms";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "@angular/forms";
8
+ import * as i4 from "../../../select/select/select.component";
9
9
  export class ListCellComponent extends CellComponentBase {
10
10
  constructor(svc, cdr) {
11
11
  super(svc, cdr);
@@ -58,11 +58,11 @@ export class ListCellComponent extends CellComponentBase {
58
58
  return item.name;
59
59
  }
60
60
  }
61
- ListCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
62
- ListCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListCellComponent, selector: "teta-list-cell", inputs: { column: "column", row: "row", filterOptions: "filterOptions" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n", styles: [""], components: [{ type: i2.SelectComponent, selector: "teta-select", inputs: ["multiple", "options", "invalid", "align", "verticalAlign", "autoClose", "autoCloseIgnore", "disabled", "itemSize", "virtual", "icon", "placeholder", "appendToBody", "allowNull", "valueRef", "textRef", "searchRef"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListCellComponent, decorators: [{
61
+ ListCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ListCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
62
+ ListCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ListCellComponent, selector: "teta-list-cell", inputs: { column: "column", row: "row", filterOptions: "filterOptions" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.SelectComponent, selector: "teta-select", inputs: ["multiple", "options", "invalid", "align", "verticalAlign", "autoClose", "autoCloseIgnore", "disabled", "itemSize", "virtual", "icon", "placeholder", "appendToBody", "allowNull", "valueRef", "textRef", "searchRef"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ListCellComponent, decorators: [{
64
64
  type: Component,
65
- args: [{ selector: 'teta-list-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n", styles: [""] }]
65
+ args: [{ selector: 'teta-list-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n" }]
66
66
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
67
67
  type: Input
68
68
  }], row: [{
@@ -35,11 +35,11 @@ export class NumericCellComponent extends CellComponentBase {
35
35
  this.cdr.markForCheck();
36
36
  }
37
37
  }
38
- NumericCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NumericCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
39
- NumericCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: NumericCellComponent, selector: "teta-numeric-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event;\"/>\n", styles: [""], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.OnlyNumberDirective, selector: "[tetaOnlyNumber]", inputs: ["tetaOnlyNumber", "allowDecimals", "allowSign", "decimalSeparator", "commaSeparator"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "tetaNumber": i5.NumberPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: NumericCellComponent, decorators: [{
38
+ NumericCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumericCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
39
+ NumericCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: NumericCellComponent, selector: "teta-numeric-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event;\"/>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.OnlyNumberDirective, selector: "[tetaOnlyNumber]", inputs: ["tetaOnlyNumber", "allowDecimals", "allowSign", "decimalSeparator", "commaSeparator"] }, { kind: "pipe", type: i5.NumberPipe, name: "tetaNumber" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumericCellComponent, decorators: [{
41
41
  type: Component,
42
- args: [{ selector: 'teta-numeric-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event;\"/>\n", styles: [""] }]
42
+ args: [{ selector: 'teta-numeric-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event;\"/>\n" }]
43
43
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
44
44
  type: Input
45
45
  }], row: [{
@@ -35,11 +35,11 @@ export class StringCellComponent extends CellComponentBase {
35
35
  this.cdr.detectChanges();
36
36
  }
37
37
  }
38
- StringCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StringCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
39
- StringCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: StringCellComponent, selector: "teta-string-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event\"/>\n\n", styles: [""], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: StringCellComponent, decorators: [{
38
+ StringCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StringCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
39
+ StringCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: StringCellComponent, selector: "teta-string-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event\"/>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StringCellComponent, decorators: [{
41
41
  type: Component,
42
- args: [{ selector: 'teta-string-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event\"/>\n\n", styles: [""] }]
42
+ args: [{ selector: 'teta-string-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row.data[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event\"/>\n\n" }]
43
43
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
44
44
  type: Input
45
45
  }], row: [{
@@ -7,17 +7,17 @@ import { Align } from '../../../common/enum/align.enum';
7
7
  import { combineLatest } from 'rxjs';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "../service/table.service";
10
- import * as i2 from "../../dropdown/dropdown/dropdown.component";
11
- import * as i3 from "../head-cell-host/head-cell-host.component";
12
- import * as i4 from "../../icon/icon/icon.component";
13
- import * as i5 from "../head-cell-dropdown/head-cell-dropdown.component";
14
- import * as i6 from "../table-head/main-dropdown-tab/main-dropdown-tab.component";
15
- import * as i7 from "../table-head/filter-dropdown-tab/filter-dropdown-tab.component";
16
- import * as i8 from "../table-head/visibility-dropdown-tab/visibility-dropdown-tab.component";
17
- import * as i9 from "../../dropdown/dropdown-head.directive";
18
- import * as i10 from "@angular/common";
19
- import * as i11 from "../../dropdown/dropdown-content.directive";
20
- import * as i12 from "../../../directive/resize-drag/resize-drag.directive";
10
+ import * as i2 from "@angular/common";
11
+ import * as i3 from "../../icon/icon/icon.component";
12
+ import * as i4 from "../../dropdown/dropdown/dropdown.component";
13
+ import * as i5 from "../../dropdown/dropdown-head.directive";
14
+ import * as i6 from "../../dropdown/dropdown-content.directive";
15
+ import * as i7 from "../../../directive/resize-drag/resize-drag.directive";
16
+ import * as i8 from "../head-cell-host/head-cell-host.component";
17
+ import * as i9 from "../head-cell-dropdown/head-cell-dropdown.component";
18
+ import * as i10 from "../table-head/main-dropdown-tab/main-dropdown-tab.component";
19
+ import * as i11 from "../table-head/filter-dropdown-tab/filter-dropdown-tab.component";
20
+ import * as i12 from "../table-head/visibility-dropdown-tab/visibility-dropdown-tab.component";
21
21
  export class HeadCellComponent {
22
22
  constructor(_svc, _app, _elementRef) {
23
23
  this._svc = _svc;
@@ -134,9 +134,9 @@ export class HeadCellComponent {
134
134
  this._startPosition = null;
135
135
  }
136
136
  }
137
- HeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeadCellComponent, deps: [{ token: i1.TableService }, { token: i0.ApplicationRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
138
- HeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: HeadCellComponent, selector: "teta-head-cell", inputs: { column: "column", showHeadCellMenu: "showHeadCellMenu", data: "data" }, host: { listeners: { "dragstart": "dragstart($event)", "dragenter": "dragenter($event)", "dragover": "allowDrop($event)", "dragleave": "dragleave($event)", "dragend": "dragend($event)", "drop": "drop($event)" }, properties: { "class.table-head__cell_active": "this.dropDownOpen" } }, viewQueries: [{ propertyName: "mainTemplate", first: true, predicate: ["mainTemplate"], descendants: true, static: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true, static: true }, { propertyName: "columnsTemplate", first: true, predicate: ["columnsTemplate"], descendants: true, static: true }], ngImport: i0, template: "<div draggable=\"true\" class=\"row row_auto\">\n <teta-dropdown [autoCloseIgnore]=\"['enter', 'inside']\"\n [verticalAlign]=\"verticalAlign.bottom\"\n [appendToBody]=\"false\"\n [(open)]=\"dropDownOpen\"\n [align]=\"align.left\"\n (click)=\"$event.preventDefault()\"\n [class.table-head__cell__menu_open]=\"dropDownOpen\"\n class=\"column column_auto justify-content-center\">\n <div tetaDropdownHead class=\"table-head__cell__wrapper\"\n [ngClass]=\"column.headCellClass\">\n <teta-head-cell-host [column]=\"column\" [data]=\"data\"></teta-head-cell-host>\n <teta-icon *ngIf=\"iconName | async as icon\"\n [palette]=\"'text'\"\n [name]=\"icon\"></teta-icon>\n </div>\n <teta-head-cell-dropdown tetaDropdownContent\n *ngIf=\"showHeadCellMenu\"\n [tabTemplates]=\"tabTemplates\"\n [data]=\"data\"\n [column]=\"column\"\n [columns]=\"columns | async\"\n [state]=\"state | async\"\n [(dropDownOpen)]=\"dropDownOpen\"></teta-head-cell-dropdown>\n </teta-dropdown>\n <div class=\"drop-area\"\n draggable=\"false\"\n [class.drop-area_left]=\"showDrag === 'left'\"\n [class.drop-area_right]=\"showDrag === 'right'\"\n *ngIf=\"showDrag\"></div>\n</div>\n<div class=\"table-head__cell__resize\"\n draggable=\"false\"\n (dragstart)=\"$event.preventDefault();$event.stopPropagation()\"\n (drag)=\"$event.preventDefault();$event.stopPropagation()\"\n [tetaResizeDrag]=\"'vertical'\"\n (resizeStart)=\"resizeStart($event)\"\n (resizeProcess)=\"resizeProcess($event)\"\n (resizeEnd)=\"resizeEnd()\">\n <div class=\"table-head__cell__resize_drag\"></div>\n</div>\n<ng-template #mainTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-main-dropdown-tab [column]=\"column\" [state]=\"state\" [close]=\"close\"></teta-main-dropdown-tab>\n</ng-template>\n<ng-template #filterTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-filter-dropdown-tab [column]=\"column\"\n [state]=\"state\"\n [close]=\"close\"\n [data]=\"data\"></teta-filter-dropdown-tab>\n</ng-template>\n<ng-template #columnsTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-visibility-dropdown-tab [column]=\"column\"\n [columns]=\"columns\"\n [state]=\"state\"\n [close]=\"close\"\n [data]=\"data\"></teta-visibility-dropdown-tab>\n</ng-template>\n", styles: [".drop-area{position:absolute;width:1px;background:var(--color-text-50);top:0;bottom:0;z-index:10}.drop-area_left{left:-1px}.drop-area_right{right:-1px}\n"], components: [{ type: i2.DropdownComponent, selector: "teta-dropdown", exportAs: ["dropdown"] }, { type: i3.HeadCellHostComponent, selector: "teta-head-cell-host", inputs: ["column", "data"] }, { type: i4.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }, { type: i5.HeadCellDropdownComponent, selector: "teta-head-cell-dropdown", inputs: ["columns", "column", "state", "data", "tabTemplates", "dropDownOpen"], outputs: ["dropDownOpenChange"] }, { type: i6.MainDropdownTabComponent, selector: "teta-main-dropdown-tab", inputs: ["columns", "column", "state", "data", "close"] }, { type: i7.FilterDropdownTabComponent, selector: "teta-filter-dropdown-tab", inputs: ["columns", "column", "state", "data", "close"] }, { type: i8.VisibilityDropdownTabComponent, selector: "teta-visibility-dropdown-tab", inputs: ["columns", "column", "state", "data", "close"] }], directives: [{ type: i9.DropdownHeadDirective, selector: "[tetaDropdownHead]" }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.DropdownContentDirective, selector: "[tetaDropdownContent]" }, { type: i12.ResizeDragDirective, selector: "[tetaResizeDrag]", inputs: ["tetaResizeDrag"], outputs: ["resizeStart", "resizeProcess", "resizeEnd"] }], pipes: { "async": i10.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
139
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeadCellComponent, decorators: [{
137
+ HeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HeadCellComponent, deps: [{ token: i1.TableService }, { token: i0.ApplicationRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
138
+ HeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: HeadCellComponent, selector: "teta-head-cell", inputs: { column: "column", showHeadCellMenu: "showHeadCellMenu", data: "data" }, host: { listeners: { "dragstart": "dragstart($event)", "dragenter": "dragenter($event)", "dragover": "allowDrop($event)", "dragleave": "dragleave($event)", "dragend": "dragend($event)", "drop": "drop($event)" }, properties: { "class.table-head__cell_active": "this.dropDownOpen" } }, viewQueries: [{ propertyName: "mainTemplate", first: true, predicate: ["mainTemplate"], descendants: true, static: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true, static: true }, { propertyName: "columnsTemplate", first: true, predicate: ["columnsTemplate"], descendants: true, static: true }], ngImport: i0, template: "<div draggable=\"true\" class=\"row row_auto\">\n <teta-dropdown [autoCloseIgnore]=\"['enter', 'inside']\"\n [verticalAlign]=\"verticalAlign.bottom\"\n [appendToBody]=\"false\"\n [(open)]=\"dropDownOpen\"\n [align]=\"align.left\"\n (click)=\"$event.preventDefault()\"\n [class.table-head__cell__menu_open]=\"dropDownOpen\"\n class=\"column column_auto justify-content-center\">\n <div tetaDropdownHead class=\"table-head__cell__wrapper\"\n [ngClass]=\"column.headCellClass\">\n <teta-head-cell-host [column]=\"column\" [data]=\"data\"></teta-head-cell-host>\n <teta-icon *ngIf=\"iconName | async as icon\"\n [palette]=\"'text'\"\n [name]=\"icon\"></teta-icon>\n </div>\n <teta-head-cell-dropdown tetaDropdownContent\n *ngIf=\"showHeadCellMenu\"\n [tabTemplates]=\"tabTemplates\"\n [data]=\"data\"\n [column]=\"column\"\n [columns]=\"columns | async\"\n [state]=\"state | async\"\n [(dropDownOpen)]=\"dropDownOpen\"></teta-head-cell-dropdown>\n </teta-dropdown>\n <div class=\"drop-area\"\n draggable=\"false\"\n [class.drop-area_left]=\"showDrag === 'left'\"\n [class.drop-area_right]=\"showDrag === 'right'\"\n *ngIf=\"showDrag\"></div>\n</div>\n<div class=\"table-head__cell__resize\"\n draggable=\"false\"\n (dragstart)=\"$event.preventDefault();$event.stopPropagation()\"\n (drag)=\"$event.preventDefault();$event.stopPropagation()\"\n [tetaResizeDrag]=\"'vertical'\"\n (resizeStart)=\"resizeStart($event)\"\n (resizeProcess)=\"resizeProcess($event)\"\n (resizeEnd)=\"resizeEnd()\">\n <div class=\"table-head__cell__resize_drag\"></div>\n</div>\n<ng-template #mainTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-main-dropdown-tab [column]=\"column\" [state]=\"state\" [close]=\"close\"></teta-main-dropdown-tab>\n</ng-template>\n<ng-template #filterTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-filter-dropdown-tab [column]=\"column\"\n [state]=\"state\"\n [close]=\"close\"\n [data]=\"data\"></teta-filter-dropdown-tab>\n</ng-template>\n<ng-template #columnsTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-visibility-dropdown-tab [column]=\"column\"\n [columns]=\"columns\"\n [state]=\"state\"\n [close]=\"close\"\n [data]=\"data\"></teta-visibility-dropdown-tab>\n</ng-template>\n", styles: [".drop-area{position:absolute;width:1px;background:var(--color-text-50);top:0;bottom:0;z-index:10}.drop-area_left{left:-1px}.drop-area_right{right:-1px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }, { kind: "component", type: i4.DropdownComponent, selector: "teta-dropdown", exportAs: ["dropdown"] }, { kind: "directive", type: i5.DropdownHeadDirective, selector: "[tetaDropdownHead]" }, { kind: "directive", type: i6.DropdownContentDirective, selector: "[tetaDropdownContent]" }, { kind: "directive", type: i7.ResizeDragDirective, selector: "[tetaResizeDrag]", inputs: ["tetaResizeDrag"], outputs: ["resizeStart", "resizeProcess", "resizeEnd"] }, { kind: "component", type: i8.HeadCellHostComponent, selector: "teta-head-cell-host", inputs: ["column", "data"] }, { kind: "component", type: i9.HeadCellDropdownComponent, selector: "teta-head-cell-dropdown", inputs: ["columns", "column", "state", "data", "tabTemplates", "dropDownOpen"], outputs: ["dropDownOpenChange"] }, { kind: "component", type: i10.MainDropdownTabComponent, selector: "teta-main-dropdown-tab", inputs: ["columns", "column", "state", "data", "close"] }, { kind: "component", type: i11.FilterDropdownTabComponent, selector: "teta-filter-dropdown-tab", inputs: ["columns", "column", "state", "data", "close"] }, { kind: "component", type: i12.VisibilityDropdownTabComponent, selector: "teta-visibility-dropdown-tab", inputs: ["columns", "column", "state", "data", "close"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HeadCellComponent, decorators: [{
140
140
  type: Component,
141
141
  args: [{ selector: 'teta-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div draggable=\"true\" class=\"row row_auto\">\n <teta-dropdown [autoCloseIgnore]=\"['enter', 'inside']\"\n [verticalAlign]=\"verticalAlign.bottom\"\n [appendToBody]=\"false\"\n [(open)]=\"dropDownOpen\"\n [align]=\"align.left\"\n (click)=\"$event.preventDefault()\"\n [class.table-head__cell__menu_open]=\"dropDownOpen\"\n class=\"column column_auto justify-content-center\">\n <div tetaDropdownHead class=\"table-head__cell__wrapper\"\n [ngClass]=\"column.headCellClass\">\n <teta-head-cell-host [column]=\"column\" [data]=\"data\"></teta-head-cell-host>\n <teta-icon *ngIf=\"iconName | async as icon\"\n [palette]=\"'text'\"\n [name]=\"icon\"></teta-icon>\n </div>\n <teta-head-cell-dropdown tetaDropdownContent\n *ngIf=\"showHeadCellMenu\"\n [tabTemplates]=\"tabTemplates\"\n [data]=\"data\"\n [column]=\"column\"\n [columns]=\"columns | async\"\n [state]=\"state | async\"\n [(dropDownOpen)]=\"dropDownOpen\"></teta-head-cell-dropdown>\n </teta-dropdown>\n <div class=\"drop-area\"\n draggable=\"false\"\n [class.drop-area_left]=\"showDrag === 'left'\"\n [class.drop-area_right]=\"showDrag === 'right'\"\n *ngIf=\"showDrag\"></div>\n</div>\n<div class=\"table-head__cell__resize\"\n draggable=\"false\"\n (dragstart)=\"$event.preventDefault();$event.stopPropagation()\"\n (drag)=\"$event.preventDefault();$event.stopPropagation()\"\n [tetaResizeDrag]=\"'vertical'\"\n (resizeStart)=\"resizeStart($event)\"\n (resizeProcess)=\"resizeProcess($event)\"\n (resizeEnd)=\"resizeEnd()\">\n <div class=\"table-head__cell__resize_drag\"></div>\n</div>\n<ng-template #mainTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-main-dropdown-tab [column]=\"column\" [state]=\"state\" [close]=\"close\"></teta-main-dropdown-tab>\n</ng-template>\n<ng-template #filterTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-filter-dropdown-tab [column]=\"column\"\n [state]=\"state\"\n [close]=\"close\"\n [data]=\"data\"></teta-filter-dropdown-tab>\n</ng-template>\n<ng-template #columnsTemplate let-column=\"column\" let-columns=\"columns\" let-data=\"data\" let-state=\"state\"\n let-close=\"close\">\n <teta-visibility-dropdown-tab [column]=\"column\"\n [columns]=\"columns\"\n [state]=\"state\"\n [close]=\"close\"\n [data]=\"data\"></teta-visibility-dropdown-tab>\n</ng-template>\n", styles: [".drop-area{position:absolute;width:1px;background:var(--color-text-50);top:0;bottom:0;z-index:10}.drop-area_left{left:-1px}.drop-area_right{right:-1px}\n"] }]
142
142
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ApplicationRef }, { type: i0.ElementRef }]; }, propDecorators: { column: [{
@@ -2,12 +2,12 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "../service/table.service";
4
4
  import * as i2 from "../../../locale/teta-config.service";
5
- import * as i3 from "../../tabs/tabs/tabs.component";
6
- import * as i4 from "../../tabs/tab/tab.component";
7
- import * as i5 from "../../icon/icon/icon.component";
8
- import * as i6 from "@angular/common";
9
- import * as i7 from "../../tabs/tab-title.directive";
10
- import * as i8 from "../../tabs/tab-content.directive";
5
+ import * as i3 from "@angular/common";
6
+ import * as i4 from "../../icon/icon/icon.component";
7
+ import * as i5 from "../../tabs/tab-content.directive";
8
+ import * as i6 from "../../tabs/tab-title.directive";
9
+ import * as i7 from "../../tabs/tab/tab.component";
10
+ import * as i8 from "../../tabs/tabs/tabs.component";
11
11
  export class HeadCellDropdownComponent {
12
12
  constructor(_svc, _config, _cdr) {
13
13
  this._svc = _svc;
@@ -28,11 +28,11 @@ export class HeadCellDropdownComponent {
28
28
  return index;
29
29
  }
30
30
  }
31
- HeadCellDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeadCellDropdownComponent, deps: [{ token: i1.TableService }, { token: i2.TetaConfigService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
32
- HeadCellDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: HeadCellDropdownComponent, selector: "teta-head-cell-dropdown", inputs: { columns: "columns", column: "column", state: "state", data: "data", tabTemplates: "tabTemplates", dropDownOpen: "dropDownOpen" }, outputs: { dropDownOpenChange: "dropDownOpenChange" }, ngImport: i0, template: "<teta-tabs class=\"column_auto\">\n <ng-container *ngFor=\"let tab of tabTemplates; trackBy: trackIndex\">\n <teta-tab *ngIf=\"tab.showTab(column)\">\n <ng-template tetaTabTitle>\n <ng-container *ngIf=\"tab.icon\">\n <teta-icon [name]=\"tab.icon\"></teta-icon>\n </ng-container>\n </ng-template>\n <ng-template tetaTabContent>\n <ng-container\n *ngTemplateOutlet=\"tab.template; context: {\n column: column,\n columns: columns,\n data: data,\n state: state,\n close: closeDropdown\n }\"></ng-container>\n </ng-template>\n </teta-tab>\n </ng-container>\n<!-- <teta-tab>-->\n\n<!-- </teta-tab>-->\n<!-- <teta-tab *ngIf=\"column.filterable\">-->\n<!-- <ng-template tetaTabTitle>-->\n<!-- <teta-icon [name]=\"'filter'\"></teta-icon>-->\n<!-- </ng-template>-->\n<!-- <ng-template tetaTabContent>-->\n<!-- <teta-filter-dropdown-tab [column]=\"column\"-->\n<!-- [state]=\"state\"-->\n<!-- [close]=\"closeDropdown\"-->\n<!-- [data]=\"data\"></teta-filter-dropdown-tab>-->\n<!-- </ng-template>-->\n<!-- </teta-tab>-->\n<!-- <teta-tab *ngIf=\"column.headDropdownTemplate\">-->\n<!-- <ng-template tetaTabTitle>-->\n<!-- <teta-icon [name]=\"'measurement'\"></teta-icon>-->\n<!-- </ng-template>-->\n<!-- <ng-template tetaTabContent>-->\n<!-- <ng-container-->\n<!-- *ngTemplateOutlet=\"column.headDropdownTemplate; context: {$implicit: column, column: column}\"></ng-container>-->\n<!-- </ng-template>-->\n<!-- </teta-tab>-->\n<!-- <teta-tab>-->\n<!-- <ng-template tetaTabTitle>-->\n<!-- <teta-icon [name]=\"'eye'\"></teta-icon>-->\n<!-- </ng-template>-->\n<!-- <ng-template tetaTabContent>-->\n<!-- <teta-visibility-dropdown-tab [column]=\"column\"-->\n<!-- [columns]=\"columns\"-->\n<!-- [state]=\"state\"-->\n<!-- [close]=\"closeDropdown\"-->\n<!-- [data]=\"data\"></teta-visibility-dropdown-tab>-->\n<!-- </ng-template>-->\n<!-- </teta-tab>-->\n</teta-tabs>\n", styles: [":host{display:flex;flex-grow:1;min-height:0;width:250px}\n"], components: [{ type: i3.TabsComponent, selector: "teta-tabs", inputs: ["activeId", "destroyOnHide"], outputs: ["tabChange"] }, { type: i4.TabComponent, selector: "teta-tab", inputs: ["id", "title", "disabled"] }, { type: i5.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TabTitleDirective, selector: "[tetaTabTitle]" }, { type: i8.TabContentDirective, selector: "[tetaTabContent]" }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeadCellDropdownComponent, decorators: [{
31
+ HeadCellDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HeadCellDropdownComponent, deps: [{ token: i1.TableService }, { token: i2.TetaConfigService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
32
+ HeadCellDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: HeadCellDropdownComponent, selector: "teta-head-cell-dropdown", inputs: { columns: "columns", column: "column", state: "state", data: "data", tabTemplates: "tabTemplates", dropDownOpen: "dropDownOpen" }, outputs: { dropDownOpenChange: "dropDownOpenChange" }, ngImport: i0, template: "<teta-tabs class=\"column_auto\">\n <ng-container *ngFor=\"let tab of tabTemplates; trackBy: trackIndex\">\n <teta-tab *ngIf=\"tab.showTab(column)\">\n <ng-template tetaTabTitle>\n <ng-container *ngIf=\"tab.icon\">\n <teta-icon [name]=\"tab.icon\"></teta-icon>\n </ng-container>\n </ng-template>\n <ng-template tetaTabContent>\n <ng-container\n *ngTemplateOutlet=\"tab.template; context: {\n column: column,\n columns: columns,\n data: data,\n state: state,\n close: closeDropdown\n }\"></ng-container>\n </ng-template>\n </teta-tab>\n </ng-container>\n</teta-tabs>\n", styles: [":host{display:flex;flex-grow:1;min-height:0;min-width:250px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }, { kind: "directive", type: i5.TabContentDirective, selector: "[tetaTabContent]" }, { kind: "directive", type: i6.TabTitleDirective, selector: "[tetaTabTitle]" }, { kind: "component", type: i7.TabComponent, selector: "teta-tab", inputs: ["id", "title", "disabled"] }, { kind: "component", type: i8.TabsComponent, selector: "teta-tabs", inputs: ["activeId", "destroyOnHide"], outputs: ["tabChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HeadCellDropdownComponent, decorators: [{
34
34
  type: Component,
35
- args: [{ selector: 'teta-head-cell-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-tabs class=\"column_auto\">\n <ng-container *ngFor=\"let tab of tabTemplates; trackBy: trackIndex\">\n <teta-tab *ngIf=\"tab.showTab(column)\">\n <ng-template tetaTabTitle>\n <ng-container *ngIf=\"tab.icon\">\n <teta-icon [name]=\"tab.icon\"></teta-icon>\n </ng-container>\n </ng-template>\n <ng-template tetaTabContent>\n <ng-container\n *ngTemplateOutlet=\"tab.template; context: {\n column: column,\n columns: columns,\n data: data,\n state: state,\n close: closeDropdown\n }\"></ng-container>\n </ng-template>\n </teta-tab>\n </ng-container>\n<!-- <teta-tab>-->\n\n<!-- </teta-tab>-->\n<!-- <teta-tab *ngIf=\"column.filterable\">-->\n<!-- <ng-template tetaTabTitle>-->\n<!-- <teta-icon [name]=\"'filter'\"></teta-icon>-->\n<!-- </ng-template>-->\n<!-- <ng-template tetaTabContent>-->\n<!-- <teta-filter-dropdown-tab [column]=\"column\"-->\n<!-- [state]=\"state\"-->\n<!-- [close]=\"closeDropdown\"-->\n<!-- [data]=\"data\"></teta-filter-dropdown-tab>-->\n<!-- </ng-template>-->\n<!-- </teta-tab>-->\n<!-- <teta-tab *ngIf=\"column.headDropdownTemplate\">-->\n<!-- <ng-template tetaTabTitle>-->\n<!-- <teta-icon [name]=\"'measurement'\"></teta-icon>-->\n<!-- </ng-template>-->\n<!-- <ng-template tetaTabContent>-->\n<!-- <ng-container-->\n<!-- *ngTemplateOutlet=\"column.headDropdownTemplate; context: {$implicit: column, column: column}\"></ng-container>-->\n<!-- </ng-template>-->\n<!-- </teta-tab>-->\n<!-- <teta-tab>-->\n<!-- <ng-template tetaTabTitle>-->\n<!-- <teta-icon [name]=\"'eye'\"></teta-icon>-->\n<!-- </ng-template>-->\n<!-- <ng-template tetaTabContent>-->\n<!-- <teta-visibility-dropdown-tab [column]=\"column\"-->\n<!-- [columns]=\"columns\"-->\n<!-- [state]=\"state\"-->\n<!-- [close]=\"closeDropdown\"-->\n<!-- [data]=\"data\"></teta-visibility-dropdown-tab>-->\n<!-- </ng-template>-->\n<!-- </teta-tab>-->\n</teta-tabs>\n", styles: [":host{display:flex;flex-grow:1;min-height:0;width:250px}\n"] }]
35
+ args: [{ selector: 'teta-head-cell-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-tabs class=\"column_auto\">\n <ng-container *ngFor=\"let tab of tabTemplates; trackBy: trackIndex\">\n <teta-tab *ngIf=\"tab.showTab(column)\">\n <ng-template tetaTabTitle>\n <ng-container *ngIf=\"tab.icon\">\n <teta-icon [name]=\"tab.icon\"></teta-icon>\n </ng-container>\n </ng-template>\n <ng-template tetaTabContent>\n <ng-container\n *ngTemplateOutlet=\"tab.template; context: {\n column: column,\n columns: columns,\n data: data,\n state: state,\n close: closeDropdown\n }\"></ng-container>\n </ng-template>\n </teta-tab>\n </ng-container>\n</teta-tabs>\n", styles: [":host{display:flex;flex-grow:1;min-height:0;min-width:250px}\n"] }]
36
36
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i2.TetaConfigService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { columns: [{
37
37
  type: Input
38
38
  }], column: [{
@@ -48,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
48
48
  }], dropDownOpenChange: [{
49
49
  type: Output
50
50
  }] } });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZC1jZWxsLWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvaGVhZC1jZWxsLWRyb3Bkb3duL2hlYWQtY2VsbC1kcm9wZG93bi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYmxlL2hlYWQtY2VsbC1kcm9wZG93bi9oZWFkLWNlbGwtZHJvcGRvd24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFHTCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7Ozs7QUFldkIsTUFBTSxPQUFPLHlCQUF5QjtJQVVwQyxZQUFvQixJQUFxQixFQUNyQixPQUEwQixFQUMxQixJQUF1QjtRQUZ2QixTQUFJLEdBQUosSUFBSSxDQUFpQjtRQUNyQixZQUFPLEdBQVAsT0FBTyxDQUFtQjtRQUMxQixTQUFJLEdBQUosSUFBSSxDQUFtQjtRQU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tLSAgICAgIDx0ZXRhLXZpc2liaWxpdHktZHJvcGRvd24tdGFiIFtjb2x1bW5dPVwiY29sdW1uXCItLT5cbjwhLS0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY29sdW1uc109XCJjb2x1bW5zXCItLT5cbjwhLS0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3RhdGVdPVwic3RhdGVcIi0tPlxuPCEtLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjbG9zZV09XCJjbG9zZURyb3Bkb3duXCItLT5cbjwhLS0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZGF0YV09XCJkYXRhXCI+PC90ZXRhLXZpc2liaWxpdHktZHJvcGRvd24tdGFiPi0tPlxuPCEtLSAgICA8L25nLXRlbXBsYXRlPi0tPlxuPCEtLSAgPC90ZXRhLXRhYj4tLT5cbjwvdGV0YS10YWJzPlxuIl19
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZC1jZWxsLWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvaGVhZC1jZWxsLWRyb3Bkb3duL2hlYWQtY2VsbC1kcm9wZG93bi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYmxlL2hlYWQtY2VsbC1kcm9wZG93bi9oZWFkLWNlbGwtZHJvcGRvd24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFHTCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7Ozs7QUFldkIsTUFBTSxPQUFPLHlCQ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rSW5kZXhcIj5cbiAgICA8dGV0YS10YWIgKm5nSWY9XCJ0YWIuc2hvd1RhYihjb2x1bW4pXCI+XG4gICAgICA8bmctdGVtcGxhdGUgdGV0YVRhYlRpdGxlPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwidGFiLmljb25cIj5cbiAgICAgICAgICA8dGV0YS1pY29uIFtuYW1lXT1cInRhYi5pY29uXCI+PC90ZXRhLWljb24+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgIDxuZy10ZW1wbGF0ZSB0ZXRhVGFiQ29udGVudD5cbiAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICpuZ1RlbXBsYXRlT3V0bGV0PVwidGFiLnRlbXBsYXRlOyBjb250ZXh0OiB7XG4gICAgICAgICAgICBjb2x1bW46IGNvbHVtbixcbiAgICAgICAgICAgIGNvbHVtbnM6IGNvbHVtbnMsXG4gICAgICAgICAgICBkYXRhOiBkYXRhLFxuICAgICAgICAgICAgc3RhdGU6IHN0YXRlLFxuICAgICAgICAgICAgY2xvc2U6IGNsb3NlRHJvcGRvd25cbiAgICAgICAgICB9XCI+PC9uZy1jb250YWluZXI+XG4gICAgICA8L25nLXRlbXBsYXRlPlxuICAgIDwvdGV0YS10YWI+XG4gIDwvbmctY29udGFpbmVyPlxuPC90ZXRhLXRhYnM+XG4iXX0=
@@ -35,9 +35,9 @@ export class HeadCellHostComponent {
35
35
  this.init = true;
36
36
  }
37
37
  }
38
- HeadCellHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeadCellHostComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
39
- HeadCellHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: HeadCellHostComponent, selector: "teta-head-cell-host", inputs: { column: "column", data: "data" }, ngImport: i0, template: '', isInline: true, styles: [":host{display:contents}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HeadCellHostComponent, decorators: [{
38
+ HeadCellHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HeadCellHostComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
39
+ HeadCellHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: HeadCellHostComponent, selector: "teta-head-cell-host", inputs: { column: "column", data: "data" }, ngImport: i0, template: '', isInline: true, styles: [":host{display:contents}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: HeadCellHostComponent, decorators: [{
41
41
  type: Component,
42
42
  args: [{ selector: 'teta-head-cell-host', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:contents}\n"] }]
43
43
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { column: [{
@@ -2,8 +2,8 @@ import { ChangeDetectionStrategy, Component, HostBinding, Input, } from '@angula
2
2
  import { takeWhile } from 'rxjs/operators';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "../service/table.service";
5
- import * as i2 from "../../checkbox/checkbox/checkbox.component";
6
- import * as i3 from "@angular/forms";
5
+ import * as i2 from "@angular/forms";
6
+ import * as i3 from "../../checkbox/checkbox/checkbox.component";
7
7
  export class SelectionCellComponent {
8
8
  constructor(_svc, _cdr) {
9
9
  this._svc = _svc;
@@ -32,9 +32,9 @@ export class SelectionCellComponent {
32
32
  this._alive = false;
33
33
  }
34
34
  }
35
- SelectionCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SelectionCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
36
- SelectionCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SelectionCellComponent, selector: "teta-selection-cell", inputs: { row: "row" }, host: { properties: { "class.cell": "this.tableCellClass" } }, ngImport: i0, template: "<teta-checkbox [binary]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"selectedRows?.indexOf(row) >= 0\"\n (ngModelChange)=\"selectRow($event)\"\n (click)=\"$event.stopPropagation()\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"], components: [{ type: i2.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], directives: [{ type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SelectionCellComponent, decorators: [{
35
+ SelectionCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SelectionCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
36
+ SelectionCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: SelectionCellComponent, selector: "teta-selection-cell", inputs: { row: "row" }, host: { properties: { "class.cell": "this.tableCellClass" } }, ngImport: i0, template: "<teta-checkbox [binary]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"selectedRows?.indexOf(row) >= 0\"\n (ngModelChange)=\"selectRow($event)\"\n (click)=\"$event.stopPropagation()\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SelectionCellComponent, decorators: [{
38
38
  type: Component,
39
39
  args: [{ selector: 'teta-selection-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-checkbox [binary]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"selectedRows?.indexOf(row) >= 0\"\n (ngModelChange)=\"selectRow($event)\"\n (click)=\"$event.stopPropagation()\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"] }]
40
40
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { row: [{
@@ -2,8 +2,8 @@ import { ChangeDetectionStrategy, Component, HostBinding, } from '@angular/core'
2
2
  import { takeWhile } from 'rxjs/operators';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "../service/table.service";
5
- import * as i2 from "../../checkbox/checkbox/checkbox.component";
6
- import * as i3 from "@angular/forms";
5
+ import * as i2 from "@angular/forms";
6
+ import * as i3 from "../../checkbox/checkbox/checkbox.component";
7
7
  export class SelectionHeadCellComponent {
8
8
  constructor(_svc, _cdr) {
9
9
  this._svc = _svc;
@@ -33,9 +33,9 @@ export class SelectionHeadCellComponent {
33
33
  this._alive = false;
34
34
  }
35
35
  }
36
- SelectionHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SelectionHeadCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
37
- SelectionHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: SelectionHeadCellComponent, selector: "teta-selection-head-cell", host: { properties: { "class.table-head__group": "this.tableCellClass" } }, ngImport: i0, template: "<teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"allSelected()\"\n (ngModelChange)=\"selectAll($event)\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"], components: [{ type: i2.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], directives: [{ type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SelectionHeadCellComponent, decorators: [{
36
+ SelectionHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SelectionHeadCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
37
+ SelectionHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: SelectionHeadCellComponent, selector: "teta-selection-head-cell", host: { properties: { "class.table-head__group": "this.tableCellClass" } }, ngImport: i0, template: "<teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"allSelected()\"\n (ngModelChange)=\"selectAll($event)\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: SelectionHeadCellComponent, decorators: [{
39
39
  type: Component,
40
40
  args: [{ selector: 'teta-selection-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"allSelected()\"\n (ngModelChange)=\"selectAll($event)\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"] }]
41
41
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { tableCellClass: [{
@@ -604,9 +604,9 @@ export class TableService {
604
604
  });
605
605
  }
606
606
  }
607
- TableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
608
- TableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TableService, providedIn: 'root' });
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TableService, decorators: [{
607
+ TableService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
608
+ TableService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TableService, providedIn: 'root' });
609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TableService, decorators: [{
610
610
  type: Injectable,
611
611
  args: [{
612
612
  providedIn: 'root',
@@ -7,10 +7,10 @@ import { EditEvent } from '../enum/edit-event.enum';
7
7
  import { SelectType } from '../enum/select-type.enum';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "../service/table.service";
10
- import * as i2 from "../table-head/table-head.component";
11
- import * as i3 from "../table-body/table-body.component";
12
- import * as i4 from "../../../directive/context-menu/context-menu.directive";
13
- import * as i5 from "@angular/common";
10
+ import * as i2 from "@angular/common";
11
+ import * as i3 from "../../../directive/context-menu/context-menu.directive";
12
+ import * as i4 from "../table-head/table-head.component";
13
+ import * as i5 from "../table-body/table-body.component";
14
14
  export class TableComponent {
15
15
  constructor(_svc, _elementRef) {
16
16
  this._svc = _svc;
@@ -338,11 +338,11 @@ export class TableComponent {
338
338
  return null;
339
339
  }
340
340
  }
341
- TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TableComponent, deps: [{ token: i1.TableService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
342
- TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: TableComponent, selector: "teta-table", inputs: { 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" }, outputs: { 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" }, host: { listeners: { "document:click": "handleClickOutsideAnyRow($event)", "focusin": "focusIn($event)", "dblclick": "dblclick($event)", "keydown": "keydown($event)", "mousedown": "mousedown($event)" }, properties: { "class.table": "this.tableClass" } }, providers: [TableService], viewQueries: [{ propertyName: "menu", first: true, predicate: ["contextMenu"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"column column_auto\">\n <teta-table-head\n [selectType]=\"selectType\"\n [showHeadCellMenu]=\"showHeadCellMenu\"></teta-table-head>\n <div class=\"column column_auto position-relative\">\n <teta-table-body\n [tetaContextMenu]=\"contextMenu\"\n [open]=\"contextMenuOpen\"\n (openChange)=\"setContextMenuOpen($event)\"\n [aggregate]=\"aggregate\"\n [virtual]=\"virtual\"\n [activeRow]=\"activeRow\"\n [selectedRows]=\"selectedRowsList\"\n [additionalComponent]=\"detailComponent\"\n [grouping]=\"grouping\"\n [groupRowComponent]=\"groupRowComponent\"\n [openLevels]=\"openLevels\"\n [selectType]=\"selectType\"\n [rowClass]=\"rowClass\"\n [tree]=\"tree\"></teta-table-body>\n <div class=\"column column_auto\"\n style=\"position: absolute; top:0; bottom:0;left:0;right:0;\"\n *ngIf=\"!data?.length\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [""], components: [{ type: i2.TableHeadComponent, selector: "teta-table-head", inputs: ["selectType", "showHeadCellMenu"] }, { type: i3.TableBodyComponent, selector: "teta-table-body", inputs: ["virtual", "activeRow", "selectedRows", "additionalComponent", "tree", "aggregate", "grouping", "groupRowComponent", "openLevels", "selectType", "rowClass"] }], directives: [{ type: i4.ContextMenuDirective, selector: "[tetaContextMenu]", inputs: ["tetaContextMenu", "autoCloseIgnore"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
343
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: TableComponent, decorators: [{
341
+ TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TableComponent, deps: [{ token: i1.TableService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
342
+ TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: TableComponent, selector: "teta-table", inputs: { 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" }, outputs: { 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" }, host: { listeners: { "document:click": "handleClickOutsideAnyRow($event)", "focusin": "focusIn($event)", "dblclick": "dblclick($event)", "keydown": "keydown($event)", "mousedown": "mousedown($event)" }, properties: { "class.table": "this.tableClass" } }, providers: [TableService], viewQueries: [{ propertyName: "menu", first: true, predicate: ["contextMenu"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"column column_auto\">\n <teta-table-head\n [selectType]=\"selectType\"\n [showHeadCellMenu]=\"showHeadCellMenu\"></teta-table-head>\n <div class=\"column column_auto position-relative\">\n <teta-table-body\n [tetaContextMenu]=\"contextMenu\"\n [open]=\"contextMenuOpen\"\n (openChange)=\"setContextMenuOpen($event)\"\n [aggregate]=\"aggregate\"\n [virtual]=\"virtual\"\n [activeRow]=\"activeRow\"\n [selectedRows]=\"selectedRowsList\"\n [additionalComponent]=\"detailComponent\"\n [grouping]=\"grouping\"\n [groupRowComponent]=\"groupRowComponent\"\n [openLevels]=\"openLevels\"\n [selectType]=\"selectType\"\n [rowClass]=\"rowClass\"\n [tree]=\"tree\"></teta-table-body>\n <div class=\"column column_auto\"\n style=\"position: absolute; top:0; bottom:0;left:0;right:0;\"\n *ngIf=\"!data?.length\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ContextMenuDirective, selector: "[tetaContextMenu]", inputs: ["tetaContextMenu", "autoCloseIgnore"] }, { kind: "component", type: i4.TableHeadComponent, selector: "teta-table-head", inputs: ["selectType", "showHeadCellMenu"] }, { kind: "component", type: i5.TableBodyComponent, selector: "teta-table-body", inputs: ["virtual", "activeRow", "selectedRows", "additionalComponent", "tree", "aggregate", "grouping", "groupRowComponent", "openLevels", "selectType", "rowClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: TableComponent, decorators: [{
344
344
  type: Component,
345
- args: [{ selector: 'teta-table', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TableService], template: "<div class=\"column column_auto\">\n <teta-table-head\n [selectType]=\"selectType\"\n [showHeadCellMenu]=\"showHeadCellMenu\"></teta-table-head>\n <div class=\"column column_auto position-relative\">\n <teta-table-body\n [tetaContextMenu]=\"contextMenu\"\n [open]=\"contextMenuOpen\"\n (openChange)=\"setContextMenuOpen($event)\"\n [aggregate]=\"aggregate\"\n [virtual]=\"virtual\"\n [activeRow]=\"activeRow\"\n [selectedRows]=\"selectedRowsList\"\n [additionalComponent]=\"detailComponent\"\n [grouping]=\"grouping\"\n [groupRowComponent]=\"groupRowComponent\"\n [openLevels]=\"openLevels\"\n [selectType]=\"selectType\"\n [rowClass]=\"rowClass\"\n [tree]=\"tree\"></teta-table-body>\n <div class=\"column column_auto\"\n style=\"position: absolute; top:0; bottom:0;left:0;right:0;\"\n *ngIf=\"!data?.length\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", styles: [""] }]
345
+ args: [{ selector: 'teta-table', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TableService], template: "<div class=\"column column_auto\">\n <teta-table-head\n [selectType]=\"selectType\"\n [showHeadCellMenu]=\"showHeadCellMenu\"></teta-table-head>\n <div class=\"column column_auto position-relative\">\n <teta-table-body\n [tetaContextMenu]=\"contextMenu\"\n [open]=\"contextMenuOpen\"\n (openChange)=\"setContextMenuOpen($event)\"\n [aggregate]=\"aggregate\"\n [virtual]=\"virtual\"\n [activeRow]=\"activeRow\"\n [selectedRows]=\"selectedRowsList\"\n [additionalComponent]=\"detailComponent\"\n [grouping]=\"grouping\"\n [groupRowComponent]=\"groupRowComponent\"\n [openLevels]=\"openLevels\"\n [selectType]=\"selectType\"\n [rowClass]=\"rowClass\"\n [tree]=\"tree\"></teta-table-body>\n <div class=\"column column_auto\"\n style=\"position: absolute; top:0; bottom:0;left:0;right:0;\"\n *ngIf=\"!data?.length\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n" }]
346
346
  }], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ElementRef }]; }, propDecorators: { data: [{
347
347
  type: Input
348
348
  }], columns: [{