@tetacom/ng-components 1.7.1 → 1.7.3

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 (351) hide show
  1. package/.eslintrc.json +1 -1
  2. package/docs/accordionDocs.mdx +1 -1
  3. package/docs/avatarDocs.mdx +1 -1
  4. package/docs/badgeDocs.mdx +1 -1
  5. package/docs/buttonDocs.mdx +1 -1
  6. package/docs/checkboxDocs.mdx +1 -1
  7. package/docs/chipDocs.mdx +1 -1
  8. package/docs/datePickerDocs.mdx +1 -1
  9. package/docs/dateRangeDocs.mdx +1 -1
  10. package/docs/delimiterDocs.mdx +1 -1
  11. package/docs/dropdownDocs.mdx +1 -1
  12. package/docs/expandCardlDocs.mdx +1 -1
  13. package/docs/expandPanelDocs.mdx +1 -1
  14. package/docs/fileAreaDocs.mdx +1 -1
  15. package/docs/iconDocs.mdx +1 -1
  16. package/docs/inputDocs.mdx +1 -1
  17. package/docs/listDocs.mdx +1 -1
  18. package/docs/messageDocs.mdx +1 -1
  19. package/docs/modalDocs.mdx +1 -1
  20. package/docs/progressBarDocs.mdx +1 -1
  21. package/docs/propertyGridDocs.mdx +1 -1
  22. package/docs/radioDocs.mdx +1 -1
  23. package/docs/resizePanelDocs.mdx +1 -1
  24. package/docs/selectDocs.mdx +1 -1
  25. package/docs/stepperDocs.mdx +1 -1
  26. package/docs/switchDocs.mdx +1 -1
  27. package/docs/tableDocs.mdx +1 -1
  28. package/docs/tabsDocs.mdx +1 -1
  29. package/docs/tagDocs.mdx +1 -1
  30. package/docs/toggleDocs.mdx +1 -1
  31. package/docs/toolbarDocs.mdx +1 -1
  32. package/docs/treeDocs.mdx +1 -1
  33. package/fesm2022/tetacom-ng-components.mjs +869 -932
  34. package/fesm2022/tetacom-ng-components.mjs.map +1 -1
  35. package/package.json +7 -6
  36. package/types/tetacom-ng-components.d.ts +3600 -0
  37. package/common/contract/auto-close-ignore-case.d.ts +0 -1
  38. package/common/contract/constructor-type.d.ts +0 -1
  39. package/common/contract/dynamic-data.d.ts +0 -6
  40. package/common/contract/i-dictionary.d.ts +0 -3
  41. package/common/contract/i-id-name.d.ts +0 -6
  42. package/common/contract/i-id.d.ts +0 -3
  43. package/common/contract/i-rect.d.ts +0 -8
  44. package/common/contract/i-tree-data.d.ts +0 -4
  45. package/common/contract/public-api.d.ts +0 -9
  46. package/common/contract/teta-content-ref.d.ts +0 -7
  47. package/common/enum/align.enum.d.ts +0 -11
  48. package/common/enum/public-api.d.ts +0 -3
  49. package/common/enum/teta-size.enum.d.ts +0 -7
  50. package/common/enum/vertical-align.enum.d.ts +0 -9
  51. package/common/model/public-api.d.ts +0 -1
  52. package/common/model/view-type.model.d.ts +0 -1
  53. package/common/public-api.d.ts +0 -5
  54. package/common/service/click.service.d.ts +0 -10
  55. package/common/service/dynamic-component.service.d.ts +0 -21
  56. package/common/service/overlay-container.service.d.ts +0 -14
  57. package/common/service/public-api.d.ts +0 -3
  58. package/common/util/array-util.d.ts +0 -9
  59. package/common/util/dom-util.d.ts +0 -5
  60. package/common/util/position-util.d.ts +0 -9
  61. package/common/util/public-api.d.ts +0 -3
  62. package/component/accordion/accordion/accordion.component.d.ts +0 -6
  63. package/component/accordion/accordion-content.directive.d.ts +0 -8
  64. package/component/accordion/accordion-head/accordion-head.component.d.ts +0 -15
  65. package/component/accordion/accordion-item/accordion-item.component.d.ts +0 -21
  66. package/component/accordion/public-api.d.ts +0 -4
  67. package/component/autocomplete/autocomplete/autocomplete.component.d.ts +0 -8
  68. package/component/autocomplete/public-api.d.ts +0 -1
  69. package/component/avatar/avatar/avatar.component.d.ts +0 -17
  70. package/component/avatar/model/avatar-color.enum.d.ts +0 -20
  71. package/component/avatar/public-api.d.ts +0 -1
  72. package/component/button/button/button.component.d.ts +0 -15
  73. package/component/button/public-api.d.ts +0 -1
  74. package/component/chart-3d/chart3d/chart3d.component.d.ts +0 -61
  75. package/component/chart-3d/model/base-3d-point.d.ts +0 -6
  76. package/component/chart-3d/model/chart-3d-options.d.ts +0 -11
  77. package/component/chart-3d/model/chart3d-tooltip.d.ts +0 -22
  78. package/component/chart-3d/model/public-api.d.ts +0 -2
  79. package/component/chart-3d/model/series-3d.d.ts +0 -11
  80. package/component/chart-3d/public-api.d.ts +0 -2
  81. package/component/chart-3d/services/chart3d-tooltip.service.d.ts +0 -15
  82. package/component/checkbox/checkbox/checkbox.component.d.ts +0 -47
  83. package/component/checkbox/public-api.d.ts +0 -1
  84. package/component/date-picker/base-calendar.d.ts +0 -50
  85. package/component/date-picker/base-picker.d.ts +0 -62
  86. package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +0 -21
  87. package/component/date-picker/date-picker/date-picker.component.d.ts +0 -61
  88. package/component/date-picker/date-range/date-range.component.d.ts +0 -51
  89. package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +0 -40
  90. package/component/date-picker/day-picker/day-item/day-item.component.d.ts +0 -9
  91. package/component/date-picker/day-picker/day-picker.component.d.ts +0 -32
  92. package/component/date-picker/model/date-period.d.ts +0 -5
  93. package/component/date-picker/model/date-picker-mode.enum.d.ts +0 -5
  94. package/component/date-picker/model/day-model.d.ts +0 -16
  95. package/component/date-picker/model/from-to.model.d.ts +0 -4
  96. package/component/date-picker/model/min-max-date.model.d.ts +0 -4
  97. package/component/date-picker/model/public-api.d.ts +0 -5
  98. package/component/date-picker/month-picker/month-picker.component.d.ts +0 -19
  99. package/component/date-picker/public-api.d.ts +0 -5
  100. package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +0 -11
  101. package/component/date-picker/year-picker/year-picker.component.d.ts +0 -23
  102. package/component/delimiter/delimiter/delimiter.component.d.ts +0 -19
  103. package/component/delimiter/public-api.d.ts +0 -1
  104. package/component/divider/divider/divider.component.d.ts +0 -10
  105. package/component/divider/public-api.d.ts +0 -1
  106. package/component/dropdown/dropdown/dropdown.component.d.ts +0 -15
  107. package/component/dropdown/dropdown-base.d.ts +0 -45
  108. package/component/dropdown/dropdown-content.directive.d.ts +0 -9
  109. package/component/dropdown/dropdown-head.directive.d.ts +0 -8
  110. package/component/dropdown/dropdown.directive.d.ts +0 -16
  111. package/component/dropdown/public-api.d.ts +0 -4
  112. package/component/dynamic-component/popup-content/popup-content.component.d.ts +0 -13
  113. package/component/dynamic-component/public-api.d.ts +0 -1
  114. package/component/expand-card/expand-card/expand-card.component.d.ts +0 -13
  115. package/component/expand-card/expand-item/expand-item.component.d.ts +0 -9
  116. package/component/expand-card/public-api.d.ts +0 -2
  117. package/component/expand-panel/expand-panel/expand-panel.component.d.ts +0 -21
  118. package/component/expand-panel/expand-panel-content.directive.d.ts +0 -8
  119. package/component/expand-panel/expand-panel-head.directive.d.ts +0 -8
  120. package/component/expand-panel/public-api.d.ts +0 -3
  121. package/component/file-upload/file-item/file-item.component.d.ts +0 -8
  122. package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +0 -22
  123. package/component/file-upload/public-api.d.ts +0 -2
  124. package/component/filter/base/filter-base.d.ts +0 -10
  125. package/component/filter/base/filter-component-base.d.ts +0 -12
  126. package/component/filter/boolean-filter/boolean-filter.component.d.ts +0 -30
  127. package/component/filter/contarct/boolean-filter.d.ts +0 -8
  128. package/component/filter/contarct/date-filter-value.d.ts +0 -14
  129. package/component/filter/contarct/date-filter.d.ts +0 -9
  130. package/component/filter/contarct/filter-component-map.d.ts +0 -3
  131. package/component/filter/contarct/filter-item.d.ts +0 -78
  132. package/component/filter/contarct/filter-state.d.ts +0 -30
  133. package/component/filter/contarct/i-filter.d.ts +0 -5
  134. package/component/filter/contarct/list-filter.d.ts +0 -11
  135. package/component/filter/contarct/numeric-filter-value.d.ts +0 -19
  136. package/component/filter/contarct/numeric-filter.d.ts +0 -11
  137. package/component/filter/contarct/sort-param.d.ts +0 -22
  138. package/component/filter/contarct/string-filter.d.ts +0 -11
  139. package/component/filter/date-filter/date-filter.component.d.ts +0 -30
  140. package/component/filter/enum/filter-type.enum.d.ts +0 -9
  141. package/component/filter/enum/list-filter-type.enum.d.ts +0 -4
  142. package/component/filter/enum/string-filter-type.enum.d.ts +0 -18
  143. package/component/filter/filter-host/filter-host.component.d.ts +0 -26
  144. package/component/filter/list-filter/list-filter.component.d.ts +0 -36
  145. package/component/filter/numeric-filter/numeric-filter.component.d.ts +0 -30
  146. package/component/filter/public-api.d.ts +0 -22
  147. package/component/filter/string-filter/string-filter.component.d.ts +0 -30
  148. package/component/icon/icon/icon.component.d.ts +0 -12
  149. package/component/icon/icon-file/icon-file.component.d.ts +0 -12
  150. package/component/icon/icon-sprite.directive.d.ts +0 -12
  151. package/component/icon/icon.service.d.ts +0 -19
  152. package/component/icon/public-api.d.ts +0 -4
  153. package/component/input/color-input/color-input.component.d.ts +0 -22
  154. package/component/input/form-group-title/form-group-title.component.d.ts +0 -9
  155. package/component/input/input/input.component.d.ts +0 -14
  156. package/component/input/public-api.d.ts +0 -5
  157. package/component/input/text-field/text-field.component.d.ts +0 -28
  158. package/component/message/message/message.component.d.ts +0 -19
  159. package/component/message/message-host/message-host.component.d.ts +0 -25
  160. package/component/message/message.service.d.ts +0 -15
  161. package/component/message/model/message.d.ts +0 -24
  162. package/component/message/public-api.d.ts +0 -4
  163. package/component/modal/dialog/dialog.component.d.ts +0 -21
  164. package/component/modal/dialog.service.d.ts +0 -13
  165. package/component/modal/modal-container/modal-container.component.d.ts +0 -17
  166. package/component/modal/modal.module.d.ts +0 -10
  167. package/component/modal/modal.service.d.ts +0 -23
  168. package/component/modal/model/current-modal.d.ts +0 -4
  169. package/component/modal/model/dialog-data.d.ts +0 -11
  170. package/component/modal/model/i-modal-config.d.ts +0 -11
  171. package/component/modal/model/i-modal-result.d.ts +0 -12
  172. package/component/modal/model/modal-close-reason.enum.d.ts +0 -6
  173. package/component/modal/model/modal-instance.d.ts +0 -16
  174. package/component/modal/public-api.d.ts +0 -10
  175. package/component/pager/model/pager-state.d.ts +0 -40
  176. package/component/pager/pager/pager.component.d.ts +0 -8
  177. package/component/pager/public-api.d.ts +0 -3
  178. package/component/pager/util/pager-util.d.ts +0 -4
  179. package/component/panel/panel/panel.component.d.ts +0 -12
  180. package/component/panel/public-api.d.ts +0 -1
  181. package/component/progress-bar/progress-bar/progress-bar.component.d.ts +0 -46
  182. package/component/progress-bar/public-api.d.ts +0 -1
  183. package/component/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +0 -17
  184. package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +0 -37
  185. package/component/property-grid/property-grid/property-grid-item-description.directive.d.ts +0 -9
  186. package/component/property-grid/property-grid/property-grid.component.d.ts +0 -25
  187. package/component/property-grid/public-api.d.ts +0 -3
  188. package/component/public-api.d.ts +0 -36
  189. package/component/radio/public-api.d.ts +0 -2
  190. package/component/radio/radio/radio.component.d.ts +0 -45
  191. package/component/radio/radio-button/radio-button.component.d.ts +0 -20
  192. package/component/resize-panel/public-api.d.ts +0 -1
  193. package/component/resize-panel/resize-panel/resize-panel.component.d.ts +0 -37
  194. package/component/select/public-api.d.ts +0 -3
  195. package/component/select/select/select.component.d.ts +0 -72
  196. package/component/select/select-option.directive.d.ts +0 -8
  197. package/component/select/select-value.directive.d.ts +0 -8
  198. package/component/sidebar/public-api.d.ts +0 -2
  199. package/component/sidebar/sidebar/sidebar.component.d.ts +0 -17
  200. package/component/sidebar/sidebar-position.enum.d.ts +0 -6
  201. package/component/stepper/public-api.d.ts +0 -1
  202. package/component/stepper/stepper/stepper.component.d.ts +0 -10
  203. package/component/switch/public-api.d.ts +0 -2
  204. package/component/switch/switch/switch.component.d.ts +0 -25
  205. package/component/switch/switch-button/switch-button.component.d.ts +0 -18
  206. package/component/switch/switch.service.d.ts +0 -10
  207. package/component/table/base/cell-component-base.d.ts +0 -42
  208. package/component/table/base/detail-component-base.d.ts +0 -11
  209. package/component/table/base/head-cell-component-base.d.ts +0 -9
  210. package/component/table/cell/cell.component.d.ts +0 -14
  211. package/component/table/cell-host/cell-host.component.d.ts +0 -20
  212. package/component/table/contract/cell-components-map.d.ts +0 -3
  213. package/component/table/contract/column-reorder-event.d.ts +0 -6
  214. package/component/table/contract/column-resize-event.d.ts +0 -6
  215. package/component/table/contract/head-dropdown-tab.d.ts +0 -13
  216. package/component/table/contract/i-cell-coordinates.d.ts +0 -4
  217. package/component/table/contract/i-cell-event.d.ts +0 -4
  218. package/component/table/contract/i-cell-instance.d.ts +0 -16
  219. package/component/table/contract/i-cell-value.d.ts +0 -4
  220. package/component/table/contract/public-api.d.ts +0 -12
  221. package/component/table/contract/sort-event.d.ts +0 -6
  222. package/component/table/contract/table-column-store.d.ts +0 -15
  223. package/component/table/contract/table-column.d.ts +0 -141
  224. package/component/table/contract/table-row.d.ts +0 -8
  225. package/component/table/default/boolean-cell/boolean-cell.component.d.ts +0 -16
  226. package/component/table/default/color-cell/color-cell.component.d.ts +0 -20
  227. package/component/table/default/date-cell/date-cell.component.d.ts +0 -18
  228. package/component/table/default/date-time-cell/date-time-cell.component.d.ts +0 -18
  229. package/component/table/default/default-head-cell/default-head-cell.component.d.ts +0 -20
  230. package/component/table/default/list-cell/list-cell.component.d.ts +0 -23
  231. package/component/table/default/numeric-cell/numeric-cell.component.d.ts +0 -16
  232. package/component/table/default/string-cell/string-cell.component.d.ts +0 -18
  233. package/component/table/enum/aggregation-type.enum.d.ts +0 -7
  234. package/component/table/enum/edit-event.enum.d.ts +0 -5
  235. package/component/table/enum/edit-type.enum.d.ts +0 -5
  236. package/component/table/enum/public-api.d.ts +0 -4
  237. package/component/table/enum/select-type.enum.d.ts +0 -5
  238. package/component/table/head-cell/head-cell.component.d.ts +0 -52
  239. package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +0 -25
  240. package/component/table/head-cell-host/head-cell-host.component.d.ts +0 -21
  241. package/component/table/public-api.d.ts +0 -42
  242. package/component/table/selection-cell/selection-cell.component.d.ts +0 -15
  243. package/component/table/selection-head-cell/selection-head-cell.component.d.ts +0 -16
  244. package/component/table/service/table.service.d.ts +0 -140
  245. package/component/table/table/table.component.d.ts +0 -87
  246. package/component/table/table-body/table-body.component.d.ts +0 -67
  247. package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +0 -31
  248. package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +0 -42
  249. package/component/table/table-head/table-head.component.d.ts +0 -31
  250. package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +0 -44
  251. package/component/table/table-head-group/table-head-group.component.d.ts +0 -24
  252. package/component/table/table-row/table-row.component.d.ts +0 -14
  253. package/component/table/util/color-util.d.ts +0 -3
  254. package/component/table/util/public-api.d.ts +0 -3
  255. package/component/table/util/state-util.d.ts +0 -17
  256. package/component/table/util/table-util.d.ts +0 -20
  257. package/component/tabs/public-api.d.ts +0 -10
  258. package/component/tabs/tab/tab.component.d.ts +0 -23
  259. package/component/tabs/tab-content.directive.d.ts +0 -8
  260. package/component/tabs/tab-title.directive.d.ts +0 -8
  261. package/component/tabs/tabs/tabs.component.d.ts +0 -43
  262. package/component/theme-switch/public-api.d.ts +0 -2
  263. package/component/theme-switch/theme-switch/theme-switch.component.d.ts +0 -16
  264. package/component/theme-switch/theme-switch.service.d.ts +0 -12
  265. package/component/toggle/public-api.d.ts +0 -1
  266. package/component/toggle/toggle/toggle.component.d.ts +0 -32
  267. package/component/toolbar/public-api.d.ts +0 -4
  268. package/component/toolbar/toolbar/toolbar.component.d.ts +0 -10
  269. package/component/tree/public-api.d.ts +0 -3
  270. package/component/tree/tree/tree.component.d.ts +0 -38
  271. package/component/tree/tree-item/tree-item.component.d.ts +0 -25
  272. package/component/tree/tree-item-toggle/tree-item-toggle.component.d.ts +0 -13
  273. package/component/tree/tree.service.d.ts +0 -17
  274. package/directive/auto-position/auto-position.directive.d.ts +0 -18
  275. package/directive/auto-position/public-api.d.ts +0 -1
  276. package/directive/click-outside/click-outside.directive.d.ts +0 -18
  277. package/directive/click-outside/public-api.d.ts +0 -1
  278. package/directive/context-menu/context-menu.directive.d.ts +0 -34
  279. package/directive/context-menu/public-api.d.ts +0 -1
  280. package/directive/disable-control/disable-control.directive.d.ts +0 -13
  281. package/directive/disable-control/public-api.d.ts +0 -1
  282. package/directive/drag-drop/drag-container.directive.d.ts +0 -32
  283. package/directive/drag-drop/drag-drop.service.d.ts +0 -40
  284. package/directive/drag-drop/drag-placeholder.directive.d.ts +0 -6
  285. package/directive/drag-drop/drag-preview.directive.d.ts +0 -8
  286. package/directive/drag-drop/drag.directive.d.ts +0 -33
  287. package/directive/drag-drop/model/drag-container-instance.d.ts +0 -11
  288. package/directive/drag-drop/model/drag-instance.d.ts +0 -9
  289. package/directive/drag-drop/model/drag-process.d.ts +0 -4
  290. package/directive/drag-drop/model/drag-selection.d.ts +0 -6
  291. package/directive/drag-drop/model/drop-event.d.ts +0 -8
  292. package/directive/drag-drop/model/drop-target.d.ts +0 -3
  293. package/directive/drag-drop/model/point.d.ts +0 -4
  294. package/directive/drag-drop/model/public-api.d.ts +0 -7
  295. package/directive/drag-drop/public-api.d.ts +0 -6
  296. package/directive/drag-sort/drag-sort-container.directive.d.ts +0 -16
  297. package/directive/drag-sort/drag-sort-event.d.ts +0 -7
  298. package/directive/drag-sort/drag-sort-item.directive.d.ts +0 -30
  299. package/directive/drag-sort/public-api.d.ts +0 -3
  300. package/directive/dynamic-content-base.directive.d.ts +0 -33
  301. package/directive/full-screen/full-screen-toggle.directive.d.ts +0 -7
  302. package/directive/full-screen/full-screen.directive.d.ts +0 -12
  303. package/directive/full-screen/full-screen.service.d.ts +0 -9
  304. package/directive/highlight/highlight.directive.d.ts +0 -12
  305. package/directive/highlight/public-api.d.ts +0 -1
  306. package/directive/hint/hint.directive.d.ts +0 -36
  307. package/directive/hint/public-api.d.ts +0 -1
  308. package/directive/let/let.directive.d.ts +0 -18
  309. package/directive/let/public-api.d.ts +0 -1
  310. package/directive/loader/loader.directive.d.ts +0 -24
  311. package/directive/loader/public-api.d.ts +0 -1
  312. package/directive/no-autofill/no-autofill.directive.d.ts +0 -10
  313. package/directive/no-autofill/public-api.d.ts +0 -1
  314. package/directive/only-number/only-number.directive.d.ts +0 -28
  315. package/directive/only-number/public-api.d.ts +0 -1
  316. package/directive/public-api.d.ts +0 -21
  317. package/directive/resize-drag/public-api.d.ts +0 -1
  318. package/directive/resize-drag/resize-drag.directive.d.ts +0 -20
  319. package/directive/scroll-into-view/public-api.d.ts +0 -1
  320. package/directive/scroll-into-view/scroll-into-view.directive.d.ts +0 -13
  321. package/directive/scrollable/public-api.d.ts +0 -2
  322. package/directive/scrollable/scrollable/scrollable.component.d.ts +0 -34
  323. package/directive/scrollable/scrollable.directive.d.ts +0 -6
  324. package/directive/teta-template/public-api.d.ts +0 -1
  325. package/directive/teta-template/teta-template.directive.d.ts +0 -10
  326. package/directive/tooltip/public-api.d.ts +0 -1
  327. package/directive/tooltip/tooltip.directive.d.ts +0 -31
  328. package/index.d.ts +0 -19
  329. package/locale/en.d.ts +0 -2
  330. package/locale/public-api.d.ts +0 -4
  331. package/locale/ru.d.ts +0 -2
  332. package/locale/teta-config.service.d.ts +0 -11
  333. package/locale/teta-localisation.d.ts +0 -36
  334. package/observable/animation-frame.d.ts +0 -4
  335. package/observable/public-api.d.ts +0 -2
  336. package/observable/zone-observable.d.ts +0 -5
  337. package/pipe/date-pipe/public-api.d.ts +0 -1
  338. package/pipe/date-pipe/teta-date.pipe.d.ts +0 -11
  339. package/pipe/number-pipe/number.pipe.d.ts +0 -7
  340. package/pipe/number-pipe/public-api.d.ts +0 -1
  341. package/pipe/prepend-zero/prepend-zero.pipe.d.ts +0 -7
  342. package/pipe/prepend-zero/public-api.d.ts +0 -1
  343. package/pipe/public-api.d.ts +0 -4
  344. package/pipe/util/number-helper.d.ts +0 -3
  345. package/util/bool-or-func.d.ts +0 -1
  346. package/util/date-util.d.ts +0 -43
  347. package/util/export-dom-image.d.ts +0 -12
  348. package/util/forms-util.d.ts +0 -15
  349. package/util/is-function.d.ts +0 -1
  350. package/util/public-api.d.ts +0 -6
  351. package/util/string-util.d.ts +0 -4
@@ -1,141 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { ValidatorFn } from '@angular/forms';
3
- import { FilterItem, IFilterItemOptions } from '../../filter/contarct/filter-item';
4
- import { FilterType } from '../../filter/enum/filter-type.enum';
5
- import { ListFilterType } from '../../filter/enum/list-filter-type.enum';
6
- import { StringFilterType } from '../../filter/enum/string-filter-type.enum';
7
- import { CellComponentBase } from '../base/cell-component-base';
8
- import { AggregationType } from '../enum/aggregation-type.enum';
9
- import { HeadDropdownTabConfig } from './head-dropdown-tab';
10
- import { IColumnRow } from './i-cell-instance';
11
- export interface ITableColumnOptions extends IFilterItemOptions {
12
- width?: number;
13
- flex?: number;
14
- sortOrder?: number;
15
- locked?: boolean;
16
- name?: string;
17
- parentName?: string;
18
- caption?: string;
19
- hint?: string;
20
- unit?: string;
21
- unitMeasureParameterId?: number;
22
- unitId?: number;
23
- sortable?: boolean;
24
- sortField?: string;
25
- filterable?: boolean;
26
- filterField?: string;
27
- filterType?: FilterType | null;
28
- stringFilterType?: StringFilterType;
29
- listFilterType?: ListFilterType;
30
- strict?: boolean;
31
- headCellClass?: string[];
32
- cellClass?: string[];
33
- data?: any;
34
- editable?: boolean | ((coordinates: IColumnRow<any>) => boolean);
35
- objectType?: boolean;
36
- cellComponent?: Type<CellComponentBase<any>>;
37
- headCellComponent?: any;
38
- headDropdownConfig?: HeadDropdownTabConfig;
39
- filterComponent?: any;
40
- columns?: any[];
41
- aggregate?: AggregationType;
42
- defaultValue?: any;
43
- maxValue?: number;
44
- minValue?: number;
45
- maxLength?: number;
46
- required?: boolean;
47
- decimalLength?: number;
48
- validators?: ValidatorFn[];
49
- }
50
- export declare class TableColumn extends FilterItem {
51
- /**
52
- * Ширина
53
- */
54
- width: number;
55
- /**
56
- * Коэффициент растяжения ячейки
57
- */
58
- flex: number;
59
- /**
60
- * Стобец закреплен
61
- */
62
- locked: boolean;
63
- /**
64
- * Название столбца родителя
65
- */
66
- parentName: string;
67
- /**
68
- * Единицы измерения
69
- */
70
- unit: string;
71
- unitMeasureParameterId: number;
72
- unitId: number;
73
- /**
74
- * список style классов для шапки таблицы
75
- */
76
- headCellClass: string[];
77
- /**
78
- * список style классов для ячейки таблицы
79
- */
80
- cellClass: string[];
81
- /**
82
- * Дополнительные данные, свободное описание, доступны внутри компонета ячейки, можно прокинуть callback например
83
- */
84
- data: any;
85
- /**
86
- * Колонка доступна для редактирования
87
- */
88
- editable: boolean | ((coordinates: IColumnRow<any>) => boolean);
89
- /**
90
- * Компонент для рендера ячейки
91
- */
92
- cellComponent: any;
93
- /**
94
- * Компонент для рендера заголовка столбца ячейки
95
- */
96
- headCellComponent: any;
97
- /**
98
- * Custom head dropdown for column
99
- */
100
- headDropdownConfig: HeadDropdownTabConfig;
101
- /**
102
- * Дочерние колонки
103
- */
104
- columns: TableColumn[];
105
- /**
106
- * Aggregate type
107
- */
108
- aggregate: AggregationType;
109
- /**
110
- * Значение по умолчанию при создании записи
111
- */
112
- defaultValue: any;
113
- /**
114
- * Значение по умолчанию при создании записи
115
- */
116
- maxValue: number;
117
- /**
118
- * Значение по умолчанию при создании записи
119
- */
120
- minValue: number;
121
- /**
122
- * Максимальная длина
123
- */
124
- maxLength: number;
125
- /**
126
- * Поле обязательно для заполнения
127
- */
128
- required: boolean;
129
- /**
130
- * Размер дробной части для числовых полей
131
- */
132
- decimalLength?: number;
133
- /**
134
- * Функции валидации
135
- */
136
- validators: ValidatorFn[];
137
- /**
138
- * Инициализация из анонимного объекта
139
- */
140
- constructor(options?: ITableColumnOptions);
141
- }
@@ -1,8 +0,0 @@
1
- export declare class TableRow<T> {
2
- valid: boolean;
3
- data: T;
4
- constructor(options?: {
5
- valid?: boolean;
6
- data: T;
7
- });
8
- }
@@ -1,16 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
- import { CellComponentBase } from '../../base/cell-component-base';
3
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
4
- import { TableService } from '../../service/table.service';
5
- import * as i0 from "@angular/core";
6
- export declare class BooleanCellComponent<T> extends CellComponentBase<T> implements OnInit {
7
- svc: TableService<T>;
8
- cdr: ChangeDetectorRef;
9
- input: ElementRef;
10
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
11
- ngOnInit(): void;
12
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
13
- stopEdit(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCellComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent<any>, "teta-boolean-cell", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,20 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
- import { CellComponentBase } from '../../base/cell-component-base';
3
- import { TableService } from '../../service/table.service';
4
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import * as i0 from "@angular/core";
6
- export declare class ColorCellComponent<T> extends CellComponentBase<T> implements OnInit {
7
- svc: TableService<T>;
8
- cdr: ChangeDetectorRef;
9
- input: ElementRef;
10
- private readonly tabindex;
11
- focus(event: any): void;
12
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
13
- setValue(): void;
14
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
- stopEdit(): void;
16
- getHexColor(color: string): string;
17
- ngOnInit(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ColorCellComponent<any>, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorCellComponent<any>, "teta-color-cell", never, {}, {}, never, never, true, never>;
20
- }
@@ -1,18 +0,0 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
3
- import { CellComponentBase } from '../../base/cell-component-base';
4
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import { TableService } from '../../service/table.service';
6
- import * as i0 from "@angular/core";
7
- export declare class DateCellComponent<T> extends CellComponentBase<T> implements OnInit {
8
- protected svc: TableService<T>;
9
- protected cdr: ChangeDetectorRef;
10
- input: DatePickerComponent;
11
- open: import("@angular/core").WritableSignal<boolean>;
12
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
13
- ngOnInit(): void;
14
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
- stopEdit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent<any>, "teta-date-cell", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,18 +0,0 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
3
- import { CellComponentBase } from '../../base/cell-component-base';
4
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import { TableService } from '../../service/table.service';
6
- import * as i0 from "@angular/core";
7
- export declare class DateTimeCellComponent<T> extends CellComponentBase<T> implements OnInit {
8
- protected svc: TableService<T>;
9
- protected cdr: ChangeDetectorRef;
10
- input: DatePickerComponent;
11
- open: import("@angular/core").WritableSignal<boolean>;
12
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
13
- ngOnInit(): void;
14
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
- stopEdit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeCellComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeCellComponent<any>, "teta-date-time-cell", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,20 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { HeadCellComponentBase } from '../../base/head-cell-component-base';
3
- import { TableColumn } from '../../contract/table-column';
4
- import * as i0 from "@angular/core";
5
- export declare class DefaultHeadCellComponent<T> extends HeadCellComponentBase<T> {
6
- private _cdr;
7
- private _column;
8
- private _columns;
9
- private _data;
10
- set column(val: TableColumn);
11
- get column(): TableColumn;
12
- set columns(val: TableColumn[]);
13
- get columns(): TableColumn[];
14
- set data(data: T[]);
15
- get data(): T[];
16
- constructor(_cdr: ChangeDetectorRef);
17
- getHint(): string;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DefaultHeadCellComponent<any>, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<DefaultHeadCellComponent<any>, "teta-default-head-cell", never, { "column": { "alias": "column"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
20
- }
@@ -1,23 +0,0 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
2
- import { IIdName } from '../../../../common/contract/i-id-name';
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
- import * as i0 from "@angular/core";
9
- export declare class ListCellComponent<T> extends CellComponentBase<T> implements OnInit {
10
- protected svc: TableService<T>;
11
- protected cdr: ChangeDetectorRef;
12
- open: import("@angular/core").WritableSignal<boolean>;
13
- get displayFilterOptions(): IIdName<any>[];
14
- input: SelectComponent;
15
- verticalAlign: typeof VerticalAlign;
16
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
17
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
18
- stopEdit(): void;
19
- ngOnInit(): void;
20
- protected getValue(value: any): string;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<ListCellComponent<any>, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<ListCellComponent<any>, "teta-list-cell", never, {}, {}, never, never, true, never>;
23
- }
@@ -1,16 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
- import { CellComponentBase } from '../../base/cell-component-base';
3
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
4
- import { TableService } from '../../service/table.service';
5
- import * as i0 from "@angular/core";
6
- export declare class NumericCellComponent<T> extends CellComponentBase<T> implements OnInit {
7
- protected svc: TableService<T>;
8
- protected cdr: ChangeDetectorRef;
9
- input: ElementRef;
10
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
11
- ngOnInit(): void;
12
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
13
- stopEdit(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<NumericCellComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<NumericCellComponent<any>, "teta-numeric-cell", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,18 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
- import { Align } from '../../../../common/enum/align.enum';
3
- import { CellComponentBase } from '../../base/cell-component-base';
4
- import { ICellCoordinates } from '../../contract/i-cell-coordinates';
5
- import { TableService } from '../../service/table.service';
6
- import * as i0 from "@angular/core";
7
- export declare class StringCellComponent<T> extends CellComponentBase<T> implements OnInit {
8
- svc: TableService<T>;
9
- cdr: ChangeDetectorRef;
10
- align: typeof Align;
11
- input: ElementRef;
12
- constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
13
- ngOnInit(): void;
14
- startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
15
- stopEdit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<StringCellComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<StringCellComponent<any>, "teta-string-cell", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,7 +0,0 @@
1
- export declare enum AggregationType {
2
- none = 0,
3
- sum = 1,
4
- avg = 2,
5
- min = 3,
6
- max = 4
7
- }
@@ -1,5 +0,0 @@
1
- export declare enum EditEvent {
2
- click = 0,
3
- focus = 1,
4
- doubleClick = 2
5
- }
@@ -1,5 +0,0 @@
1
- export declare enum EditType {
2
- none = 0,
3
- cell = 1,
4
- row = 2
5
- }
@@ -1,4 +0,0 @@
1
- export * from './aggregation-type.enum';
2
- export * from './edit-event.enum';
3
- export * from './edit-type.enum';
4
- export * from './select-type.enum';
@@ -1,5 +0,0 @@
1
- export declare enum SelectType {
2
- none = 0,
3
- checkBox = 1,
4
- mouse = 2
5
- }
@@ -1,52 +0,0 @@
1
- import { ApplicationRef, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import { TableColumn } from '../contract/table-column';
3
- import { FilterState } from '../../filter/contarct/filter-state';
4
- import { TableService } from '../service/table.service';
5
- import { SortParam } from '../../filter/contarct/sort-param';
6
- import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
7
- import { Align } from '../../../common/enum/align.enum';
8
- import { Observable } from 'rxjs';
9
- import { HeadDropdownTab } from '../contract/head-dropdown-tab';
10
- import * as i0 from "@angular/core";
11
- export declare class HeadCellComponent<T> implements OnInit, OnDestroy {
12
- private _svc;
13
- private _app;
14
- private _elementRef;
15
- private _cdr;
16
- column: TableColumn;
17
- showHeadCellMenu: boolean;
18
- data: T[];
19
- verticalAlign: typeof VerticalAlign;
20
- align: typeof Align;
21
- state: Observable<FilterState>;
22
- columns: Observable<TableColumn[]>;
23
- filtered: Observable<boolean>;
24
- sortParam: Observable<SortParam>;
25
- iconName: Observable<string>;
26
- dropDownOpen: boolean;
27
- showDrag: 'left' | 'right' | null;
28
- private rect;
29
- private _alive;
30
- private _startPosition;
31
- mainTemplate: TemplateRef<any>;
32
- filterTemplate: TemplateRef<any>;
33
- columnsTemplate: TemplateRef<any>;
34
- get defaultTemplates(): HeadDropdownTab[];
35
- get elementRef(): ElementRef<any>;
36
- get tabTemplates(): HeadDropdownTab[];
37
- private observer;
38
- constructor(_svc: TableService<T>, _app: ApplicationRef, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
39
- dragstart(event: DragEvent): void;
40
- dragenter(): void;
41
- allowDrop(event: DragEvent): void;
42
- dragleave(event: DragEvent): void;
43
- dragend(): void;
44
- drop(event: DragEvent): void;
45
- ngOnInit(): void;
46
- ngOnDestroy(): void;
47
- resizeStart(): void;
48
- resizeProcess(event: MouseEvent): void;
49
- resizeEnd(): void;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellComponent<any>, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellComponent<any>, "teta-head-cell", never, { "column": { "alias": "column"; "required": false; }; "showHeadCellMenu": { "alias": "showHeadCellMenu"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
52
- }
@@ -1,25 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { ITreeData } from '../../../common/contract/i-tree-data';
3
- import { TetaConfigService } from '../../../locale/teta-config.service';
4
- import { FilterState } from '../../filter/contarct/filter-state';
5
- import { HeadDropdownTab } from '../contract/head-dropdown-tab';
6
- import { TableColumn } from '../contract/table-column';
7
- import { TableService } from '../service/table.service';
8
- import * as i0 from "@angular/core";
9
- export declare class HeadCellDropdownComponent<T> {
10
- private _svc;
11
- private _config;
12
- private _cdr;
13
- columns: ITreeData[];
14
- column: TableColumn;
15
- state: FilterState;
16
- data: T[];
17
- tabTemplates: HeadDropdownTab[];
18
- dropDownOpen: boolean;
19
- dropDownOpenChange: EventEmitter<boolean>;
20
- constructor(_svc: TableService<T>, _config: TetaConfigService, _cdr: ChangeDetectorRef);
21
- closeDropdown: () => void;
22
- trackIndex(index: any): any;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellDropdownComponent<any>, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellDropdownComponent<any>, "teta-head-cell-dropdown", never, { "columns": { "alias": "columns"; "required": false; }; "column": { "alias": "column"; "required": false; }; "state": { "alias": "state"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tabTemplates": { "alias": "tabTemplates"; "required": false; }; "dropDownOpen": { "alias": "dropDownOpen"; "required": false; }; }, { "dropDownOpenChange": "dropDownOpenChange"; }, never, never, true, never>;
25
- }
@@ -1,21 +0,0 @@
1
- import { OnInit, ViewContainerRef } from '@angular/core';
2
- import { TableColumn } from '../contract/table-column';
3
- import * as i0 from "@angular/core";
4
- export declare class HeadCellHostComponent<T> implements OnInit {
5
- private viewContainerRef;
6
- private _column;
7
- private _columns;
8
- private _data;
9
- private componentRef;
10
- private init;
11
- set column(column: TableColumn);
12
- get column(): TableColumn;
13
- set columns(columns: TableColumn[]);
14
- get columns(): TableColumn[];
15
- set data(data: T[]);
16
- get data(): T[];
17
- constructor(viewContainerRef: ViewContainerRef);
18
- ngOnInit(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<HeadCellHostComponent<any>, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<HeadCellHostComponent<any>, "teta-head-cell-host", never, { "column": { "alias": "column"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
21
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * Components
3
- */
4
- export * from './table/table.component';
5
- export * from './table-head/table-head.component';
6
- export * from './table-body/table-body.component';
7
- export * from './table-row/table-row.component';
8
- export * from './head-cell-host/head-cell-host.component';
9
- export * from './cell/cell.component';
10
- export * from './cell-host/cell-host.component';
11
- /**
12
- * default
13
- */
14
- export * from './default/date-cell/date-cell.component';
15
- export * from './default/boolean-cell/boolean-cell.component';
16
- export * from './default/color-cell/color-cell.component';
17
- export * from './default/date-time-cell/date-time-cell.component';
18
- export * from './default/list-cell/list-cell.component';
19
- export * from './default/numeric-cell/numeric-cell.component';
20
- export * from './default/string-cell/string-cell.component';
21
- /**
22
- * base
23
- */
24
- export * from './base/detail-component-base';
25
- export * from './base/cell-component-base';
26
- export * from './base/head-cell-component-base';
27
- /**
28
- * Service
29
- */
30
- export * from './service/table.service';
31
- /**
32
- * contract
33
- */
34
- export * from './contract/public-api';
35
- /**
36
- * enum
37
- */
38
- export * from './enum/public-api';
39
- /**
40
- * enum
41
- */
42
- export * from './util/public-api';
@@ -1,15 +0,0 @@
1
- import { ChangeDetectorRef, Signal } from '@angular/core';
2
- import { TableService } from '../service/table.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SelectionCellComponent<T> {
5
- private _svc;
6
- private _cdr;
7
- row: import("@angular/core").InputSignal<T>;
8
- private readonly tableCellClass;
9
- selectedRows: Signal<T[]>;
10
- isSelected: Signal<boolean>;
11
- constructor(_svc: TableService<T>, _cdr: ChangeDetectorRef);
12
- selectRow(value: boolean): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionCellComponent<any>, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionCellComponent<any>, "teta-selection-cell", never, { "row": { "alias": "row"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
15
- }
@@ -1,16 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { TableService } from '../service/table.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SelectionHeadCellComponent<T> implements OnInit, OnDestroy {
5
- private _svc;
6
- private _cdr;
7
- private readonly tableCellClass;
8
- private _alive;
9
- constructor(_svc: TableService<T>, _cdr: ChangeDetectorRef);
10
- selectAll(value: boolean): void;
11
- allSelected(): boolean;
12
- ngOnInit(): void;
13
- ngOnDestroy(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectionHeadCellComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectionHeadCellComponent<any>, "teta-selection-head-cell", never, {}, {}, never, never, true, never>;
16
- }