@tetacom/ng-components 1.1.10 → 1.1.12

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 (304) hide show
  1. package/.eslintrc.json +37 -0
  2. package/assets/square.svg +7 -0
  3. package/common/service/dynamic-component.service.d.ts +4 -4
  4. package/common/service/overlay-container.service.d.ts +2 -2
  5. package/common/util/array-util.d.ts +2 -2
  6. package/common/util/dom-util.d.ts +1 -1
  7. package/component/accordion/accordion/accordion.component.d.ts +1 -4
  8. package/component/accordion/accordion-item/accordion-item.component.d.ts +5 -6
  9. package/component/date-picker/base-calendar.d.ts +7 -7
  10. package/component/date-picker/base-picker.d.ts +3 -3
  11. package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +3 -3
  12. package/component/date-picker/date-range/date-range.component.d.ts +5 -5
  13. package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +3 -3
  14. package/component/dropdown/dropdown-base.d.ts +2 -2
  15. package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +8 -10
  16. package/component/filter/contarct/filter-item.d.ts +17 -16
  17. package/component/input/input/input.component.d.ts +5 -8
  18. package/component/property-grid/property-grid/property-grid.component.d.ts +3 -3
  19. package/component/public-api.d.ts +2 -1
  20. package/component/select/select/select.component.d.ts +8 -9
  21. package/component/table/base/cell-component-base.d.ts +23 -13
  22. package/component/table/cell/cell.component.d.ts +5 -11
  23. package/component/table/cell-host/cell-host.component.d.ts +6 -6
  24. package/component/table/contract/i-cell-instance.d.ts +2 -1
  25. package/component/table/contract/public-api.d.ts +1 -0
  26. package/component/table/contract/table-column.d.ts +48 -39
  27. package/component/table/contract/table-row.d.ts +8 -0
  28. package/component/table/default/boolean-cell/boolean-cell.component.d.ts +1 -2
  29. package/component/table/default/date-cell/date-cell.component.d.ts +2 -3
  30. package/component/table/default/date-time-cell/date-time-cell.component.d.ts +2 -3
  31. package/component/table/default/list-cell/list-cell.component.d.ts +5 -7
  32. package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -3
  33. package/component/table/default/string-cell/string-cell.component.d.ts +2 -3
  34. package/component/table/service/table.service.d.ts +32 -31
  35. package/component/table/table/table.component.d.ts +11 -10
  36. package/component/table/table-body/table-body.component.d.ts +13 -11
  37. package/component/table/table-head/table-head.component.d.ts +2 -2
  38. package/component/table/table.module.d.ts +1 -1
  39. package/component/three/custom-series/custom-series.component.d.ts +20 -0
  40. package/component/three/public-api.d.ts +10 -0
  41. package/component/three/three-chart/area-3d/area-3d.component.d.ts +14 -0
  42. package/component/three/three-chart/axes-3d/axes-3d.component.d.ts +36 -0
  43. package/component/three/three-chart/base-3d-series/base3d-series.component.d.ts +15 -0
  44. package/component/three/three-chart/directive/public-api.d.ts +1 -0
  45. package/component/three/three-chart/directive/series-3d-host.d.ts +16 -0
  46. package/component/three/three-chart/line-3d/line-3d.component.d.ts +19 -0
  47. package/component/three/three-chart/lithotype-3d/lithotype-3d.component.d.ts +29 -0
  48. package/component/three/three-chart/model/axes-3d-min-max.d.ts +5 -0
  49. package/component/three/three-chart/model/axis-3d-point.d.ts +4 -0
  50. package/component/three/three-chart/model/base-3d-series.d.ts +11 -0
  51. package/component/three/three-chart/model/base-3d-three-point.d.ts +8 -0
  52. package/component/three/three-chart/model/enum/public-api.d.ts +1 -0
  53. package/component/three/three-chart/model/enum/series-3d-type.d.ts +4 -0
  54. package/component/three/three-chart/model/i-3d-chart-config.d.ts +14 -0
  55. package/component/three/three-chart/model/line-3d-point.d.ts +5 -0
  56. package/component/three/three-chart/model/line-3d-series.d.ts +6 -0
  57. package/component/three/three-chart/model/lithotype-3d-point.d.ts +5 -0
  58. package/component/three/three-chart/model/lithotype-3d-series.d.ts +6 -0
  59. package/component/three/three-chart/model/public-api.d.ts +10 -0
  60. package/component/three/three-chart/scene/scene.component.d.ts +20 -0
  61. package/component/three/three-chart/service/chart-3d.service.d.ts +22 -0
  62. package/component/three/three-chart/three-chart.component.d.ts +16 -0
  63. package/directive/context-menu/context-menu.directive.d.ts +4 -5
  64. package/directive/drag-drop/drag.directive.d.ts +4 -4
  65. package/directive/drag-sort/drag-sort-container.directive.d.ts +2 -3
  66. package/directive/dynamic-content-base.directive.d.ts +8 -9
  67. package/directive/hint/hint.directive.d.ts +5 -5
  68. package/directive/tooltip/tooltip.directive.d.ts +3 -3
  69. package/esm2022/common/service/click.service.mjs +3 -3
  70. package/esm2022/common/service/dynamic-component.service.mjs +6 -6
  71. package/esm2022/common/service/overlay-container.service.mjs +6 -6
  72. package/esm2022/common/util/array-util.mjs +6 -5
  73. package/esm2022/common/util/dom-util.mjs +4 -3
  74. package/esm2022/common/util/position-util.mjs +10 -5
  75. package/esm2022/component/accordion/accordion/accordion.component.mjs +6 -10
  76. package/esm2022/component/accordion/accordion-content.directive.mjs +3 -3
  77. package/esm2022/component/accordion/accordion-head/accordion-head.component.mjs +3 -3
  78. package/esm2022/component/accordion/accordion-item/accordion-item.component.mjs +7 -9
  79. package/esm2022/component/accordion/accordion.module.mjs +4 -4
  80. package/esm2022/component/autocomplete/autocomplete/autocomplete.component.mjs +3 -3
  81. package/esm2022/component/autocomplete/autocomplete.module.mjs +4 -4
  82. package/esm2022/component/avatar/avatar/avatar.component.mjs +3 -3
  83. package/esm2022/component/avatar/avatar.module.mjs +4 -4
  84. package/esm2022/component/button/button/button.component.mjs +3 -3
  85. package/esm2022/component/button/button.module.mjs +4 -4
  86. package/esm2022/component/chart-3d/chart-3d.module.mjs +4 -4
  87. package/esm2022/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
  88. package/esm2022/component/checkbox/checkbox/checkbox.component.mjs +5 -5
  89. package/esm2022/component/checkbox/checkbox.module.mjs +4 -4
  90. package/esm2022/component/date-picker/base-calendar.mjs +55 -21
  91. package/esm2022/component/date-picker/base-picker.mjs +4 -4
  92. package/esm2022/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +11 -9
  93. package/esm2022/component/date-picker/date-picker/date-picker.component.mjs +3 -3
  94. package/esm2022/component/date-picker/date-picker.module.mjs +4 -4
  95. package/esm2022/component/date-picker/date-range/date-range.component.mjs +11 -11
  96. package/esm2022/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +14 -12
  97. package/esm2022/component/date-picker/day-picker/day-item/day-item.component.mjs +3 -3
  98. package/esm2022/component/date-picker/day-picker/day-picker.component.mjs +3 -3
  99. package/esm2022/component/date-picker/month-picker/month-picker.component.mjs +3 -3
  100. package/esm2022/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +3 -3
  101. package/esm2022/component/date-picker/year-picker/year-picker.component.mjs +3 -3
  102. package/esm2022/component/delimiter/delimiter/delimiter.component.mjs +3 -3
  103. package/esm2022/component/delimiter/delimiter.module.mjs +4 -4
  104. package/esm2022/component/divider/divider/divider.component.mjs +3 -3
  105. package/esm2022/component/divider/divider.module.mjs +4 -4
  106. package/esm2022/component/dropdown/dropdown/dropdown.component.mjs +3 -3
  107. package/esm2022/component/dropdown/dropdown-base.mjs +20 -16
  108. package/esm2022/component/dropdown/dropdown-content.directive.mjs +3 -3
  109. package/esm2022/component/dropdown/dropdown-head.directive.mjs +3 -3
  110. package/esm2022/component/dropdown/dropdown.directive.mjs +3 -3
  111. package/esm2022/component/dropdown/dropdown.module.mjs +4 -4
  112. package/esm2022/component/dynamic-component/dynamic-component.module.mjs +4 -4
  113. package/esm2022/component/dynamic-component/popup-content/popup-content.component.mjs +3 -3
  114. package/esm2022/component/expand-card/expand-card/expand-card.component.mjs +3 -3
  115. package/esm2022/component/expand-card/expand-card.module.mjs +4 -4
  116. package/esm2022/component/expand-card/expand-item/expand-item.component.mjs +3 -3
  117. package/esm2022/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
  118. package/esm2022/component/expand-panel/expand-panel-content.directive.mjs +3 -3
  119. package/esm2022/component/expand-panel/expand-panel-head.directive.mjs +3 -3
  120. package/esm2022/component/expand-panel/expand-panel.module.mjs +4 -4
  121. package/esm2022/component/file-upload/file-item/file-item.component.mjs +3 -3
  122. package/esm2022/component/file-upload/file-upload-area/file-upload-area.component.mjs +12 -12
  123. package/esm2022/component/file-upload/file-upload.module.mjs +4 -4
  124. package/esm2022/component/filter/boolean-filter/boolean-filter.component.mjs +3 -3
  125. package/esm2022/component/filter/contarct/filter-item.mjs +1 -1
  126. package/esm2022/component/filter/date-filter/date-filter.component.mjs +3 -3
  127. package/esm2022/component/filter/filter-host/filter-host.component.mjs +3 -3
  128. package/esm2022/component/filter/filter.module.mjs +4 -4
  129. package/esm2022/component/filter/list-filter/list-filter.component.mjs +3 -3
  130. package/esm2022/component/filter/numeric-filter/numeric-filter.component.mjs +3 -3
  131. package/esm2022/component/filter/string-filter/string-filter.component.mjs +3 -3
  132. package/esm2022/component/icon/icon/icon.component.mjs +3 -3
  133. package/esm2022/component/icon/icon-file/icon-file.component.mjs +3 -3
  134. package/esm2022/component/icon/icon-file/icon-file.module.mjs +4 -4
  135. package/esm2022/component/icon/icon-sprite.directive.mjs +3 -3
  136. package/esm2022/component/icon/icon.module.mjs +4 -4
  137. package/esm2022/component/icon/icon.service.mjs +3 -3
  138. package/esm2022/component/input/color-input/color-input.component.mjs +7 -9
  139. package/esm2022/component/input/form-group-title/form-group-title.component.mjs +3 -3
  140. package/esm2022/component/input/input/input.component.mjs +7 -9
  141. package/esm2022/component/input/input.module.mjs +4 -4
  142. package/esm2022/component/input/text-field/text-field.component.mjs +3 -3
  143. package/esm2022/component/message/message/message.component.mjs +3 -3
  144. package/esm2022/component/message/message-host/message-host.component.mjs +3 -3
  145. package/esm2022/component/message/message.module.mjs +4 -4
  146. package/esm2022/component/message/message.service.mjs +3 -3
  147. package/esm2022/component/modal/dialog/dialog.component.mjs +3 -3
  148. package/esm2022/component/modal/dialog.service.mjs +3 -3
  149. package/esm2022/component/modal/modal-container/modal-container.component.mjs +3 -3
  150. package/esm2022/component/modal/modal.module.mjs +4 -4
  151. package/esm2022/component/modal/modal.service.mjs +3 -3
  152. package/esm2022/component/pager/pager/pager.component.mjs +3 -3
  153. package/esm2022/component/pager/pager.module.mjs +4 -4
  154. package/esm2022/component/panel/panel/panel.component.mjs +3 -3
  155. package/esm2022/component/panel/panel.module.mjs +4 -4
  156. package/esm2022/component/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
  157. package/esm2022/component/progress-bar/progress-bar.module.mjs +4 -4
  158. package/esm2022/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +3 -3
  159. package/esm2022/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +3 -3
  160. package/esm2022/component/property-grid/property-grid/property-grid-item-description.directive.mjs +3 -3
  161. package/esm2022/component/property-grid/property-grid/property-grid.component.mjs +12 -15
  162. package/esm2022/component/property-grid/property-grid.module.mjs +4 -4
  163. package/esm2022/component/public-api.mjs +4 -2
  164. package/esm2022/component/radio/radio/radio.component.mjs +3 -3
  165. package/esm2022/component/radio/radio-button/radio-button.component.mjs +3 -3
  166. package/esm2022/component/radio/radio.module.mjs +4 -4
  167. package/esm2022/component/resize-panel/resize-panel/resize-panel.component.mjs +3 -3
  168. package/esm2022/component/resize-panel/resize-panel.module.mjs +4 -4
  169. package/esm2022/component/select/select/select.component.mjs +18 -20
  170. package/esm2022/component/select/select-option.directive.mjs +3 -3
  171. package/esm2022/component/select/select-value.directive.mjs +3 -3
  172. package/esm2022/component/select/select.module.mjs +4 -4
  173. package/esm2022/component/sidebar/sidebar/sidebar.component.mjs +3 -3
  174. package/esm2022/component/sidebar/sidebar.module.mjs +4 -4
  175. package/esm2022/component/switch/switch/switch.component.mjs +3 -3
  176. package/esm2022/component/switch/switch-button/switch-button.component.mjs +3 -3
  177. package/esm2022/component/switch/switch.module.mjs +4 -4
  178. package/esm2022/component/switch/switch.service.mjs +3 -3
  179. package/esm2022/component/table/base/cell-component-base.mjs +97 -40
  180. package/esm2022/component/table/base/head-cell-component-base.mjs +3 -3
  181. package/esm2022/component/table/cell/cell.component.mjs +6 -16
  182. package/esm2022/component/table/cell-host/cell-host.component.mjs +11 -11
  183. package/esm2022/component/table/contract/i-cell-coordinates.mjs +1 -1
  184. package/esm2022/component/table/contract/i-cell-event.mjs +1 -1
  185. package/esm2022/component/table/contract/i-cell-instance.mjs +1 -1
  186. package/esm2022/component/table/contract/i-cell-value.mjs +1 -1
  187. package/esm2022/component/table/contract/public-api.mjs +2 -1
  188. package/esm2022/component/table/contract/table-column.mjs +8 -5
  189. package/esm2022/component/table/contract/table-row.mjs +9 -0
  190. package/esm2022/component/table/default/boolean-cell/boolean-cell.component.mjs +5 -8
  191. package/esm2022/component/table/default/date-cell/date-cell.component.mjs +5 -10
  192. package/esm2022/component/table/default/date-time-cell/date-time-cell.component.mjs +5 -9
  193. package/esm2022/component/table/default/default-head-cell/default-head-cell.component.mjs +3 -3
  194. package/esm2022/component/table/default/list-cell/list-cell.component.mjs +9 -16
  195. package/esm2022/component/table/default/numeric-cell/numeric-cell.component.mjs +6 -18
  196. package/esm2022/component/table/default/string-cell/string-cell.component.mjs +6 -17
  197. package/esm2022/component/table/head-cell/head-cell.component.mjs +3 -3
  198. package/esm2022/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +3 -3
  199. package/esm2022/component/table/head-cell-host/head-cell-host.component.mjs +3 -3
  200. package/esm2022/component/table/selection-cell/selection-cell.component.mjs +3 -3
  201. package/esm2022/component/table/selection-head-cell/selection-head-cell.component.mjs +3 -3
  202. package/esm2022/component/table/service/table.service.mjs +106 -77
  203. package/esm2022/component/table/table/table.component.mjs +48 -44
  204. package/esm2022/component/table/table-body/table-body.component.mjs +36 -44
  205. package/esm2022/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +3 -3
  206. package/esm2022/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +3 -3
  207. package/esm2022/component/table/table-head/table-head.component.mjs +13 -14
  208. package/esm2022/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +3 -3
  209. package/esm2022/component/table/table-head-group/table-head-group.component.mjs +3 -3
  210. package/esm2022/component/table/table.module.mjs +11 -8
  211. package/esm2022/component/tabs/tab/tab.component.mjs +3 -3
  212. package/esm2022/component/tabs/tab-content.directive.mjs +3 -3
  213. package/esm2022/component/tabs/tab-title.directive.mjs +3 -3
  214. package/esm2022/component/tabs/tabs/tabs.component.mjs +3 -3
  215. package/esm2022/component/tabs/tabs.module.mjs +4 -4
  216. package/esm2022/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
  217. package/esm2022/component/theme-switch/theme-switch.module.mjs +4 -4
  218. package/esm2022/component/theme-switch/theme-switch.service.mjs +3 -3
  219. package/esm2022/component/three/custom-series/custom-series.component.mjs +34 -0
  220. package/esm2022/component/three/public-api.mjs +11 -0
  221. package/esm2022/component/three/three-chart/area-3d/area-3d.component.mjs +53 -0
  222. package/esm2022/component/three/three-chart/axes-3d/axes-3d.component.mjs +57 -0
  223. package/esm2022/component/three/three-chart/base-3d-series/base3d-series.component.mjs +29 -0
  224. package/esm2022/component/three/three-chart/directive/public-api.mjs +2 -0
  225. package/esm2022/component/three/three-chart/directive/series-3d-host.mjs +47 -0
  226. package/esm2022/component/three/three-chart/line-3d/line-3d.component.mjs +44 -0
  227. package/esm2022/component/three/three-chart/lithotype-3d/lithotype-3d.component.mjs +80 -0
  228. package/esm2022/component/three/three-chart/model/axes-3d-min-max.mjs +2 -0
  229. package/esm2022/component/three/three-chart/model/axis-3d-point.mjs +2 -0
  230. package/esm2022/component/three/three-chart/model/base-3d-series.mjs +2 -0
  231. package/esm2022/component/three/three-chart/model/base-3d-three-point.mjs +2 -0
  232. package/esm2022/component/three/three-chart/model/enum/public-api.mjs +2 -0
  233. package/esm2022/component/three/three-chart/model/enum/series-3d-type.mjs +6 -0
  234. package/esm2022/component/three/three-chart/model/i-3d-chart-config.mjs +2 -0
  235. package/esm2022/component/three/three-chart/model/line-3d-point.mjs +2 -0
  236. package/esm2022/component/three/three-chart/model/line-3d-series.mjs +2 -0
  237. package/esm2022/component/three/three-chart/model/lithotype-3d-point.mjs +2 -0
  238. package/esm2022/component/three/three-chart/model/lithotype-3d-series.mjs +2 -0
  239. package/esm2022/component/three/three-chart/model/public-api.mjs +11 -0
  240. package/esm2022/component/three/three-chart/scene/scene.component.mjs +47 -0
  241. package/esm2022/component/three/three-chart/service/chart-3d.service.mjs +82 -0
  242. package/esm2022/component/three/three-chart/three-chart.component.mjs +37 -0
  243. package/esm2022/component/toggle/toggle/toggle.component.mjs +3 -3
  244. package/esm2022/component/toggle/toggle.module.mjs +4 -4
  245. package/esm2022/component/toolbar/toolbar/toolbar.component.mjs +3 -3
  246. package/esm2022/component/toolbar/toolbar.module.mjs +4 -4
  247. package/esm2022/component/tree/tree/tree.component.mjs +3 -3
  248. package/esm2022/component/tree/tree-item/tree-item.component.mjs +3 -3
  249. package/esm2022/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
  250. package/esm2022/component/tree/tree.module.mjs +4 -4
  251. package/esm2022/component/tree/tree.service.mjs +3 -3
  252. package/esm2022/directive/auto-position/auto-position.directive.mjs +3 -3
  253. package/esm2022/directive/auto-position/auto-position.module.mjs +4 -4
  254. package/esm2022/directive/click-outside/click-outside.directive.mjs +3 -3
  255. package/esm2022/directive/click-outside/click-outside.module.mjs +4 -4
  256. package/esm2022/directive/context-menu/context-menu.directive.mjs +10 -10
  257. package/esm2022/directive/context-menu/context-menu.module.mjs +4 -4
  258. package/esm2022/directive/disable-control/disable-control.directive.mjs +3 -3
  259. package/esm2022/directive/disable-control/disable-control.module.mjs +4 -4
  260. package/esm2022/directive/drag-drop/drag-container.directive.mjs +3 -3
  261. package/esm2022/directive/drag-drop/drag-drop.module.mjs +4 -4
  262. package/esm2022/directive/drag-drop/drag-drop.service.mjs +3 -3
  263. package/esm2022/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
  264. package/esm2022/directive/drag-drop/drag-preview.directive.mjs +3 -3
  265. package/esm2022/directive/drag-drop/drag.directive.mjs +20 -16
  266. package/esm2022/directive/drag-sort/drag-sort-container.directive.mjs +6 -10
  267. package/esm2022/directive/drag-sort/drag-sort-item.directive.mjs +4 -4
  268. package/esm2022/directive/drag-sort/drag-sort.module.mjs +4 -4
  269. package/esm2022/directive/dynamic-content-base.directive.mjs +8 -10
  270. package/esm2022/directive/highlight/highlight.directive.mjs +3 -3
  271. package/esm2022/directive/highlight/highlight.module.mjs +4 -4
  272. package/esm2022/directive/hint/hint.directive.mjs +13 -10
  273. package/esm2022/directive/hint/hint.module.mjs +4 -4
  274. package/esm2022/directive/let/let.directive.mjs +3 -3
  275. package/esm2022/directive/let/let.module.mjs +4 -4
  276. package/esm2022/directive/loader/loader.directive.mjs +8 -10
  277. package/esm2022/directive/loader/loader.module.mjs +4 -4
  278. package/esm2022/directive/no-autofill/no-autofill.directive.mjs +3 -3
  279. package/esm2022/directive/no-autofill/no-autofill.module.mjs +4 -4
  280. package/esm2022/directive/only-number/only-number.directive.mjs +4 -8
  281. package/esm2022/directive/only-number/only-number.module.mjs +4 -4
  282. package/esm2022/directive/resize-drag/resize-drag.directive.mjs +3 -3
  283. package/esm2022/directive/resize-drag/resize-drag.module.mjs +4 -4
  284. package/esm2022/directive/scroll-into-view/scroll-into-view.directive.mjs +3 -3
  285. package/esm2022/directive/scroll-into-view/scroll-into-view.module.mjs +4 -4
  286. package/esm2022/directive/scrollable/scrollable/scrollable.component.mjs +3 -3
  287. package/esm2022/directive/scrollable/scrollable.directive.mjs +3 -3
  288. package/esm2022/directive/scrollable/scrollable.module.mjs +4 -4
  289. package/esm2022/directive/teta-template/teta-template.directive.mjs +3 -3
  290. package/esm2022/directive/teta-template/teta-template.module.mjs +4 -4
  291. package/esm2022/directive/tooltip/tooltip.directive.mjs +12 -13
  292. package/esm2022/directive/tooltip/tooltip.module.mjs +4 -4
  293. package/esm2022/locale/teta-config.service.mjs +3 -3
  294. package/esm2022/pipe/date-pipe/teta-date-pipe.module.mjs +4 -4
  295. package/esm2022/pipe/date-pipe/teta-date.pipe.mjs +3 -3
  296. package/esm2022/pipe/number-pipe/number-pipe.module.mjs +4 -4
  297. package/esm2022/pipe/number-pipe/number.pipe.mjs +3 -3
  298. package/esm2022/util/forms-util.mjs +11 -5
  299. package/fesm2022/tetacom-ng-components.mjs +1989 -1480
  300. package/fesm2022/tetacom-ng-components.mjs.map +1 -1
  301. package/package.json +11 -7
  302. package/style/dropdown.scss +3 -3
  303. package/style/table.scss +4 -0
  304. package/util/forms-util.d.ts +1 -1
@@ -1,14 +1,13 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
2
  import { CellComponentBase } from '../../base/cell-component-base';
3
- import { TableService } from '../../service/table.service';
4
3
  import { ICellCoordinates } from '../../contract/i-cell-coordinates';
4
+ import { TableService } from '../../service/table.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class BooleanCellComponent<T> extends CellComponentBase<T> implements OnInit {
7
7
  svc: TableService<T>;
8
8
  cdr: ChangeDetectorRef;
9
9
  input: ElementRef;
10
10
  constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
11
- setValue(): void;
12
11
  ngOnInit(): void;
13
12
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
14
13
  stopEdit(): void;
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
2
3
  import { CellComponentBase } from '../../base/cell-component-base';
3
- import { TableService } from '../../service/table.service';
4
4
  import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
5
+ import { TableService } from '../../service/table.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class DateCellComponent<T> extends CellComponentBase<T> implements OnInit {
8
8
  protected svc: TableService<T>;
@@ -10,7 +10,6 @@ export declare class DateCellComponent<T> extends CellComponentBase<T> implement
10
10
  input: DatePickerComponent;
11
11
  constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
12
12
  ngOnInit(): void;
13
- setValue(value: Date): void;
14
13
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
14
  stopEdit(): void;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent<any>, never>;
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
2
3
  import { CellComponentBase } from '../../base/cell-component-base';
3
- import { TableService } from '../../service/table.service';
4
4
  import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
5
+ import { TableService } from '../../service/table.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class DateTimeCellComponent<T> extends CellComponentBase<T> implements OnInit {
8
8
  protected svc: TableService<T>;
@@ -10,7 +10,6 @@ export declare class DateTimeCellComponent<T> extends CellComponentBase<T> imple
10
10
  input: DatePickerComponent;
11
11
  constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
12
12
  ngOnInit(): void;
13
- setValue(value: Date): void;
14
13
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
14
  stopEdit(): void;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeCellComponent<any>, never>;
@@ -1,24 +1,22 @@
1
1
  import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { TableService } from '../../service/table.service';
3
- import { CellComponentBase } from '../../base/cell-component-base';
4
- import { SelectComponent } from '../../../select/select/select.component';
5
2
  import { IIdName } from '../../../../common/contract/i-id-name';
6
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
7
3
  import { VerticalAlign } from '../../../../common/enum/vertical-align.enum';
4
+ import { SelectComponent } from '../../../select/select/select.component';
5
+ import { CellComponentBase } from '../../base/cell-component-base';
6
+ import { ICellCoordinates } from '../../contract/i-cell-coordinates';
7
+ import { TableService } from '../../service/table.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class ListCellComponent<T> extends CellComponentBase<T> implements OnInit {
10
10
  protected svc: TableService<T>;
11
11
  protected cdr: ChangeDetectorRef;
12
- get value(): string;
13
12
  get displayFilterOptions(): IIdName<any>[];
14
13
  input: SelectComponent;
15
14
  verticalAlign: typeof VerticalAlign;
16
15
  constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
17
- setValue(value: any): void;
18
16
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
19
17
  stopEdit(): void;
20
18
  ngOnInit(): void;
21
- private getValue;
19
+ protected getValue(value: any): string;
22
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ListCellComponent<any>, never>;
23
21
  static ɵcmp: i0.ɵɵComponentDeclaration<ListCellComponent<any>, "teta-list-cell", never, {}, {}, never, never, false, never>;
24
22
  }
@@ -1,15 +1,13 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
2
  import { CellComponentBase } from '../../base/cell-component-base';
3
- import { TableService } from '../../service/table.service';
4
3
  import { ICellCoordinates } from '../../contract/i-cell-coordinates';
4
+ import { TableService } from '../../service/table.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class NumericCellComponent<T> extends CellComponentBase<T> implements OnInit {
7
7
  protected svc: TableService<T>;
8
8
  protected cdr: ChangeDetectorRef;
9
9
  input: ElementRef;
10
10
  constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
11
- applyValue(value: any): void;
12
- setValue(): void;
13
11
  ngOnInit(): void;
14
12
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
13
  stopEdit(): void;
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
+ import { Align } from '../../../../common/enum/align.enum';
2
3
  import { CellComponentBase } from '../../base/cell-component-base';
3
- import { TableService } from '../../service/table.service';
4
4
  import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import { Align } from '../../../../common/enum/align.enum';
5
+ import { TableService } from '../../service/table.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class StringCellComponent<T> extends CellComponentBase<T> implements OnInit {
8
8
  svc: TableService<T>;
@@ -10,7 +10,6 @@ export declare class StringCellComponent<T> extends CellComponentBase<T> impleme
10
10
  align: typeof Align;
11
11
  input: ElementRef;
12
12
  constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
13
- setValue(): void;
14
13
  ngOnInit(): void;
15
14
  startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
16
15
  stopEdit(): void;
@@ -1,41 +1,42 @@
1
- import { ICellCoordinates } from '../contract/i-cell-coordinates';
2
- import { TableColumn } from '../contract/table-column';
3
- import { FilterState } from '../../filter/contarct/filter-state';
4
1
  import { Observable } from 'rxjs';
5
- import { ColumnResizeEvent } from '../contract/column-resize-event';
6
- import { SortEvent } from '../contract/sort-event';
7
- import { SelectType } from '../enum/select-type.enum';
8
- import { EditType } from '../enum/edit-type.enum';
9
- import { EditEvent } from '../enum/edit-event.enum';
10
2
  import { IDictionary } from '../../../common/contract/i-dictionary';
11
3
  import { IIdName } from '../../../common/contract/i-id-name';
12
- import { TableColumnStore } from '../contract/table-column-store';
13
- import { ICellValue } from '../contract/i-cell-value';
4
+ import { FilterState } from '../../filter/contarct/filter-state';
5
+ import { ColumnResizeEvent } from '../contract/column-resize-event';
6
+ import { ICellCoordinates } from '../contract/i-cell-coordinates';
14
7
  import { ICellEvent } from '../contract/i-cell-event';
15
8
  import { ICellInstance, ICellInstanceValue } from '../contract/i-cell-instance';
9
+ import { ICellValue } from '../contract/i-cell-value';
10
+ import { SortEvent } from '../contract/sort-event';
11
+ import { TableColumn } from '../contract/table-column';
12
+ import { TableColumnStore } from '../contract/table-column-store';
13
+ import { TableRow } from '../contract/table-row';
14
+ import { EditEvent } from '../enum/edit-event.enum';
15
+ import { EditType } from '../enum/edit-type.enum';
16
+ import { SelectType } from '../enum/select-type.enum';
16
17
  import * as i0 from "@angular/core";
17
18
  export declare class TableService<T> {
18
19
  columns: Observable<TableColumn[]>;
19
- displayData: Observable<T[]>;
20
+ displayData: Observable<TableRow<T>[]>;
20
21
  dict: Observable<IDictionary<IIdName<any>[]>>;
21
22
  filterOptions: Observable<IDictionary<IIdName<any>[]>>;
22
23
  state: Observable<FilterState>;
23
24
  selectType: SelectType;
24
- editRowStart: Observable<ICellEvent>;
25
- editRowStop: Observable<ICellCoordinates>;
26
- editCellStart: Observable<ICellEvent>;
27
- editCellStop: Observable<ICellCoordinates>;
28
- valueChanged: Observable<ICellCoordinates>;
25
+ editRowStart: Observable<ICellEvent | null>;
26
+ editRowStop: Observable<ICellCoordinates | null>;
27
+ editCellStart: Observable<ICellEvent | null>;
28
+ editCellStop: Observable<ICellCoordinates | null>;
29
+ valueChanged: Observable<ICellCoordinates | null>;
29
30
  valueSet: Observable<ICellValue>;
30
31
  stateChanged: Observable<FilterState>;
31
32
  filterClear: Observable<TableColumn>;
32
33
  selectedRows: Observable<T[]>;
33
- activeRow: Observable<T>;
34
+ activeRow: Observable<T | null>;
34
35
  hiddenColumns: Observable<string[]>;
35
36
  scrollIndex: Observable<number>;
36
37
  editType: EditType;
37
38
  editEvent: EditEvent;
38
- rowEditable: boolean | ((row: T) => boolean);
39
+ rowEditable?: boolean | ((row: T) => boolean);
39
40
  trackRow: (index: number, row: T) => any;
40
41
  get dragSource(): TableColumn;
41
42
  private initialColumnsHash;
@@ -47,9 +48,9 @@ export declare class TableService<T> {
47
48
  private _dict;
48
49
  private _filterOptions;
49
50
  private _state;
50
- private _cookieName;
51
- private _hiddenCookieName;
52
- private _columnsCookieName;
51
+ private _cookieName?;
52
+ private _hiddenCookieName?;
53
+ private _columnsCookieName?;
53
54
  private _editRowStart;
54
55
  private _editRowStop;
55
56
  private _editCellStart;
@@ -58,11 +59,11 @@ export declare class TableService<T> {
58
59
  private _valueSet;
59
60
  private _stateChanged;
60
61
  private _filterClear;
61
- private _dragSource;
62
+ private _dragSource?;
62
63
  private _selectedRows;
63
64
  private _activeRow;
64
65
  private _scrollIndex;
65
- private _currentEditCell;
66
+ private _currentEditCell?;
66
67
  get currentEditCell(): ICellCoordinates;
67
68
  constructor();
68
69
  setData(data: T[]): void;
@@ -111,24 +112,24 @@ export declare class TableService<T> {
111
112
  changeValue(coordinates: ICellCoordinates): void;
112
113
  setValue(cellValue: ICellValue): void;
113
114
  setValue(cellValue: ICellInstanceValue<T>): void;
114
- getRowByIndex(rowIndex: number): T;
115
+ getRowByIndex(rowIndex?: number): TableRow<T> | undefined;
115
116
  getRowIndex(row: T): number;
116
117
  getEventCell(event: Event): HTMLElement | null;
117
118
  getEventRow(event: Event): HTMLElement | null;
118
- getNextEditableCell(coords: ICellCoordinates): ICellCoordinates;
119
- getPreviousEditableCell(coords: ICellCoordinates): ICellCoordinates;
120
- getNextCell(coords: ICellCoordinates): ICellCoordinates;
121
- getPreviousCell(coords: ICellCoordinates): ICellCoordinates;
122
- getNextRowCell(coords: ICellCoordinates): ICellCoordinates;
119
+ getNextEditableCell(coords: ICellCoordinates): ICellCoordinates | null;
120
+ getPreviousEditableCell(coords: ICellCoordinates): ICellCoordinates | null;
121
+ getNextCell(coords: ICellCoordinates): ICellCoordinates | null;
122
+ getPreviousCell(coords: ICellCoordinates): ICellCoordinates | null;
123
+ getNextRowCell(coords: ICellCoordinates): ICellCoordinates | null;
123
124
  getPreviousRowCell(coords: ICellCoordinates): {
124
125
  column: any;
125
126
  row: number;
126
127
  };
127
128
  getColumnByName(columnName: string): any;
128
129
  scrollToIndex(index: number): void;
129
- boolOrFuncCallback<M>(variable: boolean | ((row: M) => boolean)): (args: M) => boolean;
130
+ boolOrFuncCallback<M>(variable: boolean | ((row: M | undefined) => boolean)): (args: M) => boolean;
130
131
  getVisibleColumns(): any[];
131
- getCellInstance(coords: ICellCoordinates): ICellInstance<T>;
132
+ getCellInstance(coords: ICellCoordinates): ICellInstance<T> | null;
132
133
  private getFlatColumns;
133
134
  private findParent;
134
135
  private findParentColumn;
@@ -1,16 +1,17 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, Type } from '@angular/core';
2
- import { TableService } from '../service/table.service';
3
- import { TableColumn } from '../contract/table-column';
2
+ import { IDictionary } from '../../../common/contract/i-dictionary';
3
+ import { IIdName } from '../../../common/contract/i-id-name';
4
+ import { Align } from '../../../common/enum/align.enum';
5
+ import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
4
6
  import { FilterState } from '../../filter/contarct/filter-state';
5
7
  import { DetailComponentBase } from '../base/detail-component-base';
6
- import { EditType } from '../enum/edit-type.enum';
8
+ import { ICellInstance, ICellInstanceEvent } from '../contract/i-cell-instance';
9
+ import { TableColumn } from '../contract/table-column';
10
+ import { TableRow } from '../contract/table-row';
7
11
  import { EditEvent } from '../enum/edit-event.enum';
12
+ import { EditType } from '../enum/edit-type.enum';
8
13
  import { SelectType } from '../enum/select-type.enum';
9
- import { IIdName } from '../../../common/contract/i-id-name';
10
- import { IDictionary } from '../../../common/contract/i-dictionary';
11
- import { ICellInstance, ICellInstanceEvent } from '../contract/i-cell-instance';
12
- import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
13
- import { Align } from '../../../common/enum/align.enum';
14
+ import { TableService } from '../service/table.service';
14
15
  import * as i0 from "@angular/core";
15
16
  export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewInit, OnChanges {
16
17
  private _svc;
@@ -48,7 +49,7 @@ export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewIn
48
49
  cellKeyDown: EventEmitter<ICellInstanceEvent<T>>;
49
50
  rowLeft: EventEmitter<T>;
50
51
  rowEditStart: EventEmitter<ICellInstance<T>>;
51
- rowEditEnd: EventEmitter<T>;
52
+ rowEditEnd: EventEmitter<TableRow<T>>;
52
53
  cellEditStart: EventEmitter<ICellInstance<T>>;
53
54
  cellEditEnd: EventEmitter<ICellInstance<T>>;
54
55
  valueChange: EventEmitter<ICellInstance<T>>;
@@ -64,7 +65,7 @@ export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewIn
64
65
  private _state;
65
66
  constructor(_svc: TableService<T>, _elementRef: ElementRef);
66
67
  handleClickOutsideAnyRow(event: MouseEvent): void;
67
- focusIn(event: any): void;
68
+ focusIn(event: FocusEvent): void;
68
69
  dblclick(event: MouseEvent): void;
69
70
  keydown(event: KeyboardEvent): void;
70
71
  mousedown(event: MouseEvent): void;
@@ -1,15 +1,16 @@
1
+ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
1
2
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Type } from '@angular/core';
2
- import { TableColumn } from '../contract/table-column';
3
- import { TableService } from '../service/table.service';
4
- import { DetailComponentBase } from '../base/detail-component-base';
5
- import { SelectType } from '../enum/select-type.enum';
6
3
  import { Observable } from 'rxjs';
7
4
  import { IDictionary } from '../../../common/contract/i-dictionary';
8
5
  import { IIdName } from '../../../common/contract/i-id-name';
9
- import { AggregationType } from '../enum/aggregation-type.enum';
10
- import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
11
- import { TetaLocalisation } from '../../../locale/teta-localisation';
12
6
  import { TetaConfigService } from '../../../locale/teta-config.service';
7
+ import { TetaLocalisation } from '../../../locale/teta-localisation';
8
+ import { DetailComponentBase } from '../base/detail-component-base';
9
+ import { TableColumn } from '../contract/table-column';
10
+ import { TableRow } from '../contract/table-row';
11
+ import { AggregationType } from '../enum/aggregation-type.enum';
12
+ import { SelectType } from '../enum/select-type.enum';
13
+ import { TableService } from '../service/table.service';
13
14
  import * as i0 from "@angular/core";
14
15
  export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
15
16
  private _svc;
@@ -27,9 +28,9 @@ export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
27
28
  trackColumns: (index: number, column: TableColumn) => any;
28
29
  viewport: CdkVirtualScrollViewport;
29
30
  private readonly tableBodyClass;
30
- scroll: EventEmitter<Event>;
31
- set data(data: T[]);
32
- get data(): T[];
31
+ scrollChange: EventEmitter<Event>;
32
+ set data(data: TableRow<T>[]);
33
+ get data(): TableRow<T>[];
33
34
  dict: IDictionary<IIdName<any>[]>;
34
35
  locked: TableColumn[];
35
36
  unlocked: TableColumn[];
@@ -54,11 +55,12 @@ export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
54
55
  getAggregateValue(column: TableColumn): number;
55
56
  getAggregateText(column: TableColumn): string;
56
57
  emitScroll(event: any): void;
58
+ trackTableRow: (index: number, row: TableRow<T>) => any;
57
59
  private addResizeObserver;
58
60
  private removeResizeObserver;
59
61
  private getSum;
60
62
  private getMin;
61
63
  private getMax;
62
64
  static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "teta-table-body", never, { "virtual": { "alias": "virtual"; "required": false; }; "activeRow": { "alias": "activeRow"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "additionalComponent": { "alias": "additionalComponent"; "required": false; }; "aggregate": { "alias": "aggregate"; "required": false; }; "selectType": { "alias": "selectType"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "trackRow": { "alias": "trackRow"; "required": false; }; "trackColumns": { "alias": "trackColumns"; "required": false; }; }, { "scroll": "scroll"; }, never, ["*"], false, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "teta-table-body", never, { "virtual": { "alias": "virtual"; "required": false; }; "activeRow": { "alias": "activeRow"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "additionalComponent": { "alias": "additionalComponent"; "required": false; }; "aggregate": { "alias": "aggregate"; "required": false; }; "selectType": { "alias": "selectType"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "trackRow": { "alias": "trackRow"; "required": false; }; "trackColumns": { "alias": "trackColumns"; "required": false; }; }, { "scrollChange": "scrollChange"; }, never, ["*"], false, never>;
64
66
  }
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { TableColumn } from '../contract/table-column';
3
2
  import { FilterState } from '../../filter/contarct/filter-state';
4
- import { TableService } from '../service/table.service';
3
+ import { TableColumn } from '../contract/table-column';
5
4
  import { SelectType } from '../enum/select-type.enum';
5
+ import { TableService } from '../service/table.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class TableHeadComponent<T> implements OnInit, OnDestroy {
8
8
  private _svc;
@@ -42,6 +42,6 @@ import * as i40 from "../../directive/context-menu/context-menu.module";
42
42
  import * as i41 from "../../directive/scrollable/scrollable.module";
43
43
  export declare class TableModule {
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.TableHeadGroupComponent, typeof i12.HeadCellComponent, typeof i13.DefaultHeadCellComponent, typeof i14.SelectionCellComponent, typeof i15.SelectionHeadCellComponent, typeof i16.HeadCellDropdownComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent, typeof i19.MainDropdownTabComponent, typeof i20.FilterDropdownTabComponent, typeof i21.VisibilityDropdownTabComponent], [typeof i22.CommonModule, typeof i23.FilterModule, typeof i24.FormsModule, typeof i25.CheckboxModule, typeof i26.IconModule, typeof i27.DropdownModule, typeof i28.TabsModule, typeof i29.SelectModule, typeof i30.NumberPipeModule, typeof i31.DatePickerModule, typeof i32.ButtonModule, typeof i33.HintModule, typeof i34.TreeModule, typeof i35.OnlyNumberModule, typeof i36.ToolbarModule, typeof i37.ClickOutsideModule, typeof i38.ResizeDragModule, typeof i39.ScrollingModule, typeof i40.ContextMenuModule, typeof i41.ScrollableModule], [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.TableHeadGroupComponent, typeof i12.HeadCellComponent, typeof i13.DefaultHeadCellComponent, typeof i14.SelectionCellComponent, typeof i15.SelectionHeadCellComponent, typeof i16.HeadCellDropdownComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent, typeof i19.MainDropdownTabComponent, typeof i20.FilterDropdownTabComponent, typeof i21.VisibilityDropdownTabComponent], [typeof i22.CommonModule, typeof i23.FilterModule, typeof i24.FormsModule, typeof i25.CheckboxModule, typeof i26.IconModule, typeof i27.DropdownModule, typeof i28.TabsModule, typeof i29.SelectModule, typeof i30.NumberPipeModule, typeof i31.DatePickerModule, typeof i32.ButtonModule, typeof i33.HintModule, typeof i34.TreeModule, typeof i35.OnlyNumberModule, typeof i36.ToolbarModule, typeof i37.ClickOutsideModule, typeof i38.ResizeDragModule, typeof i39.ScrollingModule, typeof i40.ContextMenuModule, typeof i41.ScrollableModule, typeof i24.ReactiveFormsModule], [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent]>;
46
46
  static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
47
47
  }
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Base3dSeriesComponent } from '../three-chart/base-3d-series/base3d-series.component';
3
+ import { Base3dPoint } from '../../chart-3d/model/base-3d-point';
4
+ import { Chart3dService } from '../three-chart/service/chart-3d.service';
5
+ import { NgtStore } from 'angular-three';
6
+ import { Observable } from 'rxjs';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CustomSeriesComponent extends Base3dSeriesComponent<Base3dPoint> implements OnInit {
9
+ svc: Chart3dService;
10
+ ngtStore: NgtStore;
11
+ scales: Observable<{
12
+ x: any;
13
+ y: any;
14
+ z: any;
15
+ }>;
16
+ constructor(svc: Chart3dService, ngtStore: NgtStore);
17
+ ngOnInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomSeriesComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomSeriesComponent, "teta-custom-series", never, {}, {}, never, never, true, never>;
20
+ }
@@ -0,0 +1,10 @@
1
+ export * from './custom-series/custom-series.component';
2
+ export * from './three-chart/area-3d/area-3d.component';
3
+ export * from './three-chart/axes-3d/axes-3d.component';
4
+ export * from './three-chart/base-3d-series/base3d-series.component';
5
+ export * from './three-chart/directive/public-api';
6
+ export * from './three-chart/line-3d/line-3d.component';
7
+ export * from './three-chart/lithotype-3d/lithotype-3d.component';
8
+ export * from './three-chart/model/public-api';
9
+ export * from './three-chart/scene/scene.component';
10
+ export * from './three-chart/three-chart.component';
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as THREE from 'three';
3
+ import { GridHelper } from 'three';
4
+ import * as i0 from "@angular/core";
5
+ export declare class Area3dComponent implements OnInit {
6
+ area: GridHelper[];
7
+ protected readonly THREE: typeof THREE;
8
+ createArea(): THREE.GridHelper[];
9
+ getMainGrid(): THREE.GridHelper;
10
+ createGrid(gridsCount: number, gridSize: number, rectsInGrid: number, direction: 'vertical' | 'horizontal'): THREE.GridHelper[];
11
+ ngOnInit(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<Area3dComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<Area3dComponent, "teta-area-3d", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,36 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { Euler } from 'three';
3
+ import { Axis3dPoint } from '../model/axis-3d-point';
4
+ import { Chart3dService } from '../service/chart-3d.service';
5
+ import { Observable } from 'rxjs';
6
+ import { Axes3dMinMax } from '../model/axes-3d-min-max';
7
+ import * as i0 from "@angular/core";
8
+ export declare class Axes3dComponent implements OnDestroy {
9
+ rotation: Euler;
10
+ axes: Observable<{
11
+ z: Axis3dPoint[];
12
+ y: Axis3dPoint[];
13
+ x: Axis3dPoint[];
14
+ }>;
15
+ private _alive;
16
+ protected readonly chartService: Chart3dService;
17
+ constructor();
18
+ createAxes(scales: any, minMax: Axes3dMinMax): {
19
+ z: {
20
+ value: string;
21
+ position: any;
22
+ }[];
23
+ y: {
24
+ value: string;
25
+ position: any;
26
+ }[];
27
+ x: {
28
+ value: string;
29
+ position: any;
30
+ }[];
31
+ };
32
+ generateTicks(extremes: number[], count?: number): number[];
33
+ ngOnDestroy(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<Axes3dComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<Axes3dComponent, "teta-axes-3d", never, { "rotation": { "alias": "rotation"; "required": false; }; }, {}, never, never, true, never>;
36
+ }
@@ -0,0 +1,15 @@
1
+ import { Chart3dService } from '../service/chart-3d.service';
2
+ import { Base3dThreePoint } from '../model/base-3d-three-point';
3
+ import { Base3dSeries } from '../model/base-3d-series';
4
+ import { NgtStore } from 'angular-three';
5
+ import * as i0 from "@angular/core";
6
+ export declare class Base3dSeriesComponent<T extends Base3dThreePoint> {
7
+ protected svc: Chart3dService;
8
+ protected ngtStore: NgtStore;
9
+ set series(series: Base3dSeries<T>);
10
+ get series(): Base3dSeries<T>;
11
+ protected _series: Base3dSeries<T>;
12
+ constructor(svc: Chart3dService, ngtStore: NgtStore);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<Base3dSeriesComponent<any>, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<Base3dSeriesComponent<any>, "teta-base3d-series", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from './series-3d-host';
@@ -0,0 +1,16 @@
1
+ import { OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import { Base3dSeries } from '../model/base-3d-series';
3
+ import { Base3dThreePoint } from '../model/base-3d-three-point';
4
+ import * as i0 from "@angular/core";
5
+ export declare class Series3dHost<T extends Base3dThreePoint> implements OnInit {
6
+ private viewContainerRef;
7
+ series: Base3dSeries<T>;
8
+ private seriesMap;
9
+ private _init;
10
+ private _componentRef;
11
+ constructor(viewContainerRef: ViewContainerRef);
12
+ ngOnInit(): void;
13
+ ngOnChanges(changes: SimpleChanges): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<Series3dHost<any>, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<Series3dHost<any>, "[teta-series-3d-host]", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,19 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { NgtStore } from 'angular-three';
3
+ import { Observable } from 'rxjs';
4
+ import { Chart3dService } from '../service/chart-3d.service';
5
+ import { Base3dSeriesComponent } from '../base-3d-series/base3d-series.component';
6
+ import { Line3dPoint } from '../model/line-3d-point';
7
+ import * as i0 from "@angular/core";
8
+ export declare class Line3dComponent extends Base3dSeriesComponent<Line3dPoint> implements OnDestroy {
9
+ svc: Chart3dService;
10
+ ngtStore: NgtStore;
11
+ points: Observable<number[]>;
12
+ private _alive;
13
+ protected readonly Math: Math;
14
+ constructor(svc: Chart3dService, ngtStore: NgtStore);
15
+ getPoints(scales: any): any[];
16
+ ngOnDestroy(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<Line3dComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<Line3dComponent, "teta-line-3d", never, {}, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,29 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { NgtStore } from 'angular-three';
3
+ import * as THREE from 'three';
4
+ import { Texture } from 'three';
5
+ import { Chart3dService } from '../service/chart-3d.service';
6
+ import { Observable } from 'rxjs';
7
+ import { Base3dSeriesComponent } from '../base-3d-series/base3d-series.component';
8
+ import { Lithotype3dPoint } from '../model/lithotype-3d-point';
9
+ import * as i0 from "@angular/core";
10
+ export declare class Lithotype3dComponent<T extends Lithotype3dPoint> extends Base3dSeriesComponent<T> implements OnDestroy {
11
+ svc: Chart3dService;
12
+ ngtStore: NgtStore;
13
+ lithotypes: Observable<{
14
+ component: THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
15
+ position: number;
16
+ }[][]>;
17
+ private _alive;
18
+ protected readonly Math: Math;
19
+ constructor(svc: Chart3dService, ngtStore: NgtStore);
20
+ ngOnInit(): void;
21
+ createSVGTexture(y: number, y1: number, litotypeId: number): {
22
+ component: THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
23
+ position: number;
24
+ }[];
25
+ createTexturedPlane(texture: Texture, width: number, height: number): THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
26
+ ngOnDestroy(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<Lithotype3dComponent<any>, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<Lithotype3dComponent<any>, "teta-lithotype-3d", never, {}, {}, never, never, true, never>;
29
+ }
@@ -0,0 +1,5 @@
1
+ export interface Axes3dMinMax {
2
+ x: [number, number];
3
+ y: [number, number];
4
+ z: [number, number];
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface Axis3dPoint {
2
+ value: string;
3
+ position: number;
4
+ }
@@ -0,0 +1,11 @@
1
+ import { Base3dThreePoint } from './base-3d-three-point';
2
+ import { Series3dType } from './enum/series-3d-type';
3
+ import { Base3dSeriesComponent } from '../base-3d-series/base3d-series.component';
4
+ export interface Base3dSeries<T extends Base3dThreePoint> {
5
+ name?: string;
6
+ type: Series3dType;
7
+ component?: typeof Base3dSeriesComponent;
8
+ data: T[];
9
+ visible?: boolean;
10
+ color?: string;
11
+ }
@@ -0,0 +1,8 @@
1
+ export interface Base3dThreePoint {
2
+ x: number;
3
+ x1?: number;
4
+ y: number;
5
+ y1?: number;
6
+ z: number;
7
+ z1?: number;
8
+ }
@@ -0,0 +1 @@
1
+ export * from './series-3d-type';
@@ -0,0 +1,4 @@
1
+ export declare enum Series3dType {
2
+ line = 0,
3
+ lithotype = 1
4
+ }
@@ -0,0 +1,14 @@
1
+ import { Base3dSeries } from './base-3d-series';
2
+ import { Base3dThreePoint } from './base-3d-three-point';
3
+ export interface I3dChartConfig {
4
+ series?: Base3dSeries<Base3dThreePoint>[];
5
+ noDataText?: string;
6
+ xAxis?: minMax;
7
+ yAxis?: minMax;
8
+ zAxis?: minMax;
9
+ }
10
+ interface minMax {
11
+ min?: number;
12
+ max?: number;
13
+ }
14
+ export {};
@@ -0,0 +1,5 @@
1
+ export interface Line3dPoint {
2
+ x: number;
3
+ y: number;
4
+ z: number;
5
+ }
@@ -0,0 +1,6 @@
1
+ import { Base3dSeries } from './base-3d-series';
2
+ import { Series3dType } from './enum/series-3d-type';
3
+ import { Line3dPoint } from './line-3d-point';
4
+ export interface Line3dSeries extends Base3dSeries<Line3dPoint> {
5
+ type: Series3dType.line;
6
+ }
@@ -0,0 +1,5 @@
1
+ import { Base3dThreePoint } from './base-3d-three-point';
2
+ export interface Lithotype3dPoint extends Base3dThreePoint {
3
+ lithotypeId: number;
4
+ lithotypeName?: string;
5
+ }