@tetacom/ng-components 1.0.21 → 1.0.25

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 (1799) hide show
  1. package/.browserslistrc +16 -0
  2. package/dist/README.md +24 -0
  3. package/dist/assets/color-icons.svg +339 -0
  4. package/dist/assets/icons.svg +669 -0
  5. package/dist/assets/intersect.svg +3 -0
  6. package/dist/assets/lithotype-icons.svg +429 -0
  7. package/{common → dist/common}/contract/auto-close-ignore-case.d.ts +0 -0
  8. package/{common → dist/common}/contract/constructor-type.d.ts +0 -0
  9. package/{common → dist/common}/contract/dynamic-data.d.ts +0 -0
  10. package/{common → dist/common}/contract/i-dictionary.d.ts +0 -0
  11. package/{common → dist/common}/contract/i-id-name.d.ts +0 -0
  12. package/{common → dist/common}/contract/i-rect.d.ts +0 -0
  13. package/{common → dist/common}/contract/i-tree-data.d.ts +0 -0
  14. package/{common → dist/common}/contract/public-api.d.ts +0 -0
  15. package/{common → dist/common}/contract/teta-content-ref.d.ts +0 -0
  16. package/{common → dist/common}/enum/align.enum.d.ts +0 -0
  17. package/{common → dist/common}/enum/public-api.d.ts +0 -0
  18. package/{common → dist/common}/enum/teta-size.enum.d.ts +0 -0
  19. package/{common → dist/common}/enum/vertical-align.enum.d.ts +0 -0
  20. package/{common → dist/common}/public-api.d.ts +0 -0
  21. package/{common → dist/common}/service/click.service.d.ts +0 -0
  22. package/{common → dist/common}/service/dynamic-component.service.d.ts +0 -0
  23. package/{common → dist/common}/service/overlay-container.service.d.ts +0 -0
  24. package/{common → dist/common}/service/public-api.d.ts +0 -0
  25. package/{common → dist/common}/util/array-util.d.ts +0 -0
  26. package/{common → dist/common}/util/dom-util.d.ts +0 -0
  27. package/{common → dist/common}/util/position-util.d.ts +0 -0
  28. package/{common → dist/common}/util/public-api.d.ts +0 -0
  29. package/{component → dist/component}/accordion/accordion/accordion.component.d.ts +0 -0
  30. package/{component → dist/component}/accordion/accordion-content.directive.d.ts +0 -0
  31. package/{component → dist/component}/accordion/accordion-head/accordion-head.component.d.ts +0 -0
  32. package/{component → dist/component}/accordion/accordion-item/accordion-item.component.d.ts +0 -0
  33. package/{component → dist/component}/accordion/accordion.module.d.ts +0 -0
  34. package/{component → dist/component}/accordion/public-api.d.ts +0 -0
  35. package/{component → dist/component}/button/button/button.component.d.ts +0 -0
  36. package/{component → dist/component}/button/button.module.d.ts +0 -0
  37. package/{component → dist/component}/button/public-api.d.ts +0 -0
  38. package/{component → dist/component}/chart/chart/chart.component.d.ts +0 -0
  39. package/{component → dist/component}/chart/chart.module.d.ts +0 -0
  40. package/dist/component/chart/core/axis-creator.d.ts +29 -0
  41. package/{component → dist/component}/chart/core/chart.d.ts +0 -0
  42. package/{component → dist/component}/chart/core/public-api.d.ts +0 -0
  43. package/{component → dist/component}/chart/drawer/area-drawer.d.ts +0 -0
  44. package/{component → dist/component}/chart/drawer/bar-drawer.d.ts +0 -0
  45. package/{component → dist/component}/chart/drawer/contour-drawer.d.ts +0 -0
  46. package/{component → dist/component}/chart/drawer/default-drawer-mapping.d.ts +0 -0
  47. package/{component → dist/component}/chart/drawer/line-drawer.d.ts +0 -0
  48. package/{component → dist/component}/chart/drawer/pie-drawer.d.ts +0 -0
  49. package/{component → dist/component}/chart/drawer/public-api.d.ts +0 -0
  50. package/{component → dist/component}/chart/drawer/scatter-drawer.d.ts +0 -0
  51. package/{component → dist/component}/chart/drawer/spline-drawer.d.ts +0 -0
  52. package/{component → dist/component}/chart/legend-drawer/default-drawer-legend-mapping.d.ts +0 -0
  53. package/{component → dist/component}/chart/legend-drawer/gradient-drawer.d.ts +0 -0
  54. package/{component → dist/component}/chart/legend-drawer/swatch-drawer.d.ts +0 -0
  55. package/{component → dist/component}/chart/model/annotation.d.ts +0 -0
  56. package/{component → dist/component}/chart/model/axis-options.d.ts +0 -0
  57. package/{component → dist/component}/chart/model/chart-bounds.d.ts +0 -0
  58. package/{component → dist/component}/chart/model/chart-options.d.ts +0 -0
  59. package/{component → dist/component}/chart/model/enum/axis-type.d.ts +0 -0
  60. package/{component → dist/component}/chart/model/enum/dispatch-type.d.ts +0 -0
  61. package/{component → dist/component}/chart/model/enum/drag-point-type.d.ts +0 -0
  62. package/{component → dist/component}/chart/model/enum/legend-type.d.ts +0 -0
  63. package/{component → dist/component}/chart/model/enum/public-api.d.ts +0 -0
  64. package/dist/component/chart/model/enum/scale-type.d.ts +7 -0
  65. package/{component → dist/component}/chart/model/enum/scale.d.ts +0 -0
  66. package/{component → dist/component}/chart/model/enum/series-type.d.ts +0 -0
  67. package/{component → dist/component}/chart/model/enum/zoom-type.d.ts +0 -0
  68. package/{component → dist/component}/chart/model/i-drag-event.d.ts +0 -0
  69. package/{component → dist/component}/chart/model/i-drawer-legend.d.ts +0 -0
  70. package/{component → dist/component}/chart/model/i-drawer.d.ts +0 -0
  71. package/{component → dist/component}/chart/model/i-zoom-event.d.ts +0 -0
  72. package/{component → dist/component}/chart/model/plot-band.d.ts +0 -0
  73. package/{component → dist/component}/chart/model/plot-line.d.ts +0 -0
  74. package/{component → dist/component}/chart/model/point/bar-point.d.ts +0 -0
  75. package/{component → dist/component}/chart/model/point/base-point.d.ts +0 -0
  76. package/{component → dist/component}/chart/model/point/contour-point.d.ts +0 -0
  77. package/{component → dist/component}/chart/model/point/marker-options.d.ts +0 -0
  78. package/{component → dist/component}/chart/model/point/public-api.d.ts +0 -0
  79. package/{component → dist/component}/chart/model/point/scatter-point.d.ts +0 -0
  80. package/{component → dist/component}/chart/model/public-api.d.ts +0 -0
  81. package/dist/component/chart/model/series.d.ts +62 -0
  82. package/{component → dist/component}/chart/model/tooltip-options.d.ts +0 -0
  83. package/{component → dist/component}/chart/public-api.d.ts +0 -0
  84. package/{component → dist/component}/chart-3d/chart-3d.module.d.ts +0 -0
  85. package/{component → dist/component}/chart-3d/chart3d/chart3d.component.d.ts +0 -0
  86. package/{component → dist/component}/chart-3d/model/base-3d-point.d.ts +0 -0
  87. package/{component → dist/component}/chart-3d/model/chart-3d-options.d.ts +0 -0
  88. package/{component → dist/component}/chart-3d/model/public-api.d.ts +0 -0
  89. package/{component → dist/component}/chart-3d/model/series-3d.d.ts +0 -0
  90. package/{component → dist/component}/chart-3d/public-api.d.ts +0 -0
  91. package/{component → dist/component}/checkbox/checkbox/checkbox.component.d.ts +0 -0
  92. package/{component → dist/component}/checkbox/checkbox.module.d.ts +0 -0
  93. package/{component → dist/component}/checkbox/public-api.d.ts +0 -0
  94. package/dist/component/date-picker/date-picker/date-picker.component.d.ts +77 -0
  95. package/{component → dist/component}/date-picker/date-picker.module.d.ts +0 -0
  96. package/{component → dist/component}/date-picker/day-select/day-select.component.d.ts +0 -0
  97. package/{component → dist/component}/date-picker/model/date-period.d.ts +0 -0
  98. package/{component → dist/component}/date-picker/model/date-picker-mode.enum.d.ts +0 -0
  99. package/{component → dist/component}/date-picker/model/day-model.d.ts +0 -0
  100. package/{component → dist/component}/date-picker/model/picker-locale-model.d.ts +0 -0
  101. package/{component → dist/component}/date-picker/month-picker/month-picker.component.d.ts +0 -0
  102. package/{component → dist/component}/date-picker/month-select/month-select.component.d.ts +0 -0
  103. package/{component → dist/component}/date-picker/public-api.d.ts +0 -0
  104. package/{component → dist/component}/date-picker/service/picker-locale.service.d.ts +0 -0
  105. package/{component → dist/component}/date-picker/service/picker-touch.service.d.ts +0 -0
  106. package/{component → dist/component}/date-picker/time-part-control/time-part-control.component.d.ts +0 -0
  107. package/{component → dist/component}/date-picker/util/date-picker-util.d.ts +0 -0
  108. package/{component → dist/component}/date-picker/year-select/year-select.component.d.ts +0 -0
  109. package/{component → dist/component}/delimiter/delimiter/delimiter.component.d.ts +0 -0
  110. package/{component → dist/component}/delimiter/delimiter.module.d.ts +0 -0
  111. package/{component → dist/component}/delimiter/public-api.d.ts +0 -0
  112. package/{component → dist/component}/dropdown/dropdown/dropdown.component.d.ts +0 -0
  113. package/{component → dist/component}/dropdown/dropdown-base.d.ts +0 -0
  114. package/{component → dist/component}/dropdown/dropdown-content.directive.d.ts +0 -0
  115. package/{component → dist/component}/dropdown/dropdown-head.directive.d.ts +0 -0
  116. package/{component → dist/component}/dropdown/dropdown.directive.d.ts +0 -0
  117. package/{component → dist/component}/dropdown/dropdown.module.d.ts +0 -0
  118. package/{component → dist/component}/dropdown/public-api.d.ts +0 -0
  119. package/{component → dist/component}/dynamic-component/dynamic-component.module.d.ts +0 -0
  120. package/{component → dist/component}/dynamic-component/popup-content/popup-content.component.d.ts +0 -0
  121. package/{component → dist/component}/dynamic-component/public-api.d.ts +0 -0
  122. package/{component → dist/component}/expand-panel/expand-panel/expand-panel.component.d.ts +0 -0
  123. package/{component → dist/component}/expand-panel/expand-panel-content.directive.d.ts +0 -0
  124. package/{component → dist/component}/expand-panel/expand-panel-head.directive.d.ts +0 -0
  125. package/{component → dist/component}/expand-panel/expand-panel.module.d.ts +0 -0
  126. package/{component → dist/component}/expand-panel/public-api.d.ts +0 -0
  127. package/{component → dist/component}/file-upload/file-item/file-item.component.d.ts +0 -0
  128. package/{component → dist/component}/file-upload/file-upload-area/file-upload-area.component.d.ts +0 -0
  129. package/{component → dist/component}/file-upload/file-upload.module.d.ts +0 -0
  130. package/{component → dist/component}/file-upload/public-api.d.ts +0 -0
  131. package/{component → dist/component}/filter/base/filter-base.d.ts +0 -0
  132. package/{component → dist/component}/filter/base/filter-component-base.d.ts +0 -0
  133. package/{component → dist/component}/filter/boolean-filter/boolean-filter.component.d.ts +0 -0
  134. package/{component → dist/component}/filter/contarct/boolean-filter.d.ts +0 -0
  135. package/{component → dist/component}/filter/contarct/date-filter-value.d.ts +0 -0
  136. package/{component → dist/component}/filter/contarct/date-filter.d.ts +0 -0
  137. package/{component → dist/component}/filter/contarct/filter-component-map.d.ts +0 -0
  138. package/{component → dist/component}/filter/contarct/filter-item.d.ts +0 -0
  139. package/{component → dist/component}/filter/contarct/filter-state.d.ts +0 -0
  140. package/{component → dist/component}/filter/contarct/i-filter.d.ts +0 -0
  141. package/{component → dist/component}/filter/contarct/list-filter.d.ts +0 -0
  142. package/{component → dist/component}/filter/contarct/numeric-filter-value.d.ts +0 -0
  143. package/{component → dist/component}/filter/contarct/numeric-filter.d.ts +0 -0
  144. package/{component → dist/component}/filter/contarct/sort-param.d.ts +0 -0
  145. package/{component → dist/component}/filter/contarct/string-filter.d.ts +0 -0
  146. package/{component → dist/component}/filter/date-filter/date-filter.component.d.ts +0 -0
  147. package/{component → dist/component}/filter/enum/filter-type.enum.d.ts +0 -0
  148. package/{component → dist/component}/filter/enum/list-filter-type.enum.d.ts +0 -0
  149. package/{component → dist/component}/filter/enum/string-filter-type.enum.d.ts +0 -0
  150. package/{component → dist/component}/filter/filter-host/filter-host.component.d.ts +0 -0
  151. package/{component → dist/component}/filter/filter-panel/filter-panel.component.d.ts +0 -0
  152. package/{component → dist/component}/filter/filter.module.d.ts +0 -0
  153. package/{component → dist/component}/filter/list-filter/list-filter.component.d.ts +0 -0
  154. package/{component → dist/component}/filter/numeric-filter/numeric-filter.component.d.ts +0 -0
  155. package/{component → dist/component}/filter/public-api.d.ts +0 -0
  156. package/{component → dist/component}/filter/string-filter/string-filter.component.d.ts +0 -0
  157. package/{component → dist/component}/icon/icon/icon.component.d.ts +0 -0
  158. package/{component → dist/component}/icon/icon-sprite.directive.d.ts +0 -0
  159. package/{component → dist/component}/icon/icon.module.d.ts +0 -0
  160. package/{component → dist/component}/icon/icon.service.d.ts +0 -0
  161. package/{component → dist/component}/icon/public-api.d.ts +0 -0
  162. package/{component → dist/component}/input/form-group-title/form-group-title.component.d.ts +0 -0
  163. package/{component → dist/component}/input/input/input.component.d.ts +0 -0
  164. package/{component → dist/component}/input/input.module.d.ts +0 -0
  165. package/{component → dist/component}/input/public-api.d.ts +0 -0
  166. package/{component → dist/component}/input/text-field/text-field.component.d.ts +0 -0
  167. package/{component → dist/component}/message/message/message.component.d.ts +0 -0
  168. package/{component → dist/component}/message/message-host/message-host.component.d.ts +0 -0
  169. package/{component → dist/component}/message/message.module.d.ts +0 -0
  170. package/{component → dist/component}/message/message.service.d.ts +0 -0
  171. package/{component → dist/component}/message/model/message.d.ts +0 -0
  172. package/{component → dist/component}/message/public-api.d.ts +0 -0
  173. package/{component → dist/component}/modal/dialog/dialog.component.d.ts +0 -0
  174. package/{component → dist/component}/modal/dialog.service.d.ts +0 -0
  175. package/{component → dist/component}/modal/modal-container/modal-container.component.d.ts +0 -0
  176. package/{component → dist/component}/modal/modal.module.d.ts +0 -0
  177. package/{component → dist/component}/modal/modal.service.d.ts +0 -0
  178. package/{component → dist/component}/modal/model/current-modal.d.ts +0 -0
  179. package/{component → dist/component}/modal/model/i-modal-config.d.ts +0 -0
  180. package/{component → dist/component}/modal/model/i-modal-result.d.ts +0 -0
  181. package/{component → dist/component}/modal/model/modal-close-reason.enum.d.ts +0 -0
  182. package/{component → dist/component}/modal/model/modal-instance.d.ts +0 -0
  183. package/{component → dist/component}/modal/public-api.d.ts +0 -0
  184. package/{component → dist/component}/pager/model/pager-state.d.ts +0 -0
  185. package/{component → dist/component}/pager/pager/pager.component.d.ts +0 -0
  186. package/{component → dist/component}/pager/pager.module.d.ts +0 -0
  187. package/{component → dist/component}/pager/public-api.d.ts +0 -0
  188. package/{component → dist/component}/pager/util/pager-util.d.ts +0 -0
  189. package/{component → dist/component}/panel/panel/panel.component.d.ts +0 -0
  190. package/{component → dist/component}/panel/panel.module.d.ts +0 -0
  191. package/{component → dist/component}/panel/public-api.d.ts +0 -0
  192. package/{component → dist/component}/progress-bar/progress-bar/progress-bar.component.d.ts +0 -0
  193. package/{component → dist/component}/progress-bar/progress-bar.module.d.ts +0 -0
  194. package/{component → dist/component}/progress-bar/public-api.d.ts +0 -0
  195. package/{component → dist/component}/property-grid/default/date-item-default/date-item-default.component.d.ts +0 -0
  196. package/{component → dist/component}/property-grid/default/list-item-default/list-item-default.component.d.ts +0 -0
  197. package/{component → dist/component}/property-grid/default/numeric-item-default/numeric-item-default.component.d.ts +0 -0
  198. package/{component → dist/component}/property-grid/default/string-item-default/string-item-default.component.d.ts +0 -0
  199. package/{component → dist/component}/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +0 -0
  200. package/dist/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +34 -0
  201. package/{component → dist/component}/property-grid/property-grid/property-grid.component.d.ts +0 -0
  202. package/dist/component/property-grid/property-grid.module.d.ts +23 -0
  203. package/{component → dist/component}/property-grid/public-api.d.ts +0 -0
  204. package/{component → dist/component}/public-api.d.ts +0 -0
  205. package/{component → dist/component}/radio/public-api.d.ts +0 -0
  206. package/{component → dist/component}/radio/radio/radio.component.d.ts +0 -0
  207. package/{component → dist/component}/radio/radio-button/radio-button.component.d.ts +0 -0
  208. package/{component → dist/component}/radio/radio.module.d.ts +0 -0
  209. package/{component → dist/component}/resize-panel/public-api.d.ts +0 -0
  210. package/{component → dist/component}/resize-panel/resize-panel/resize-panel.component.d.ts +0 -0
  211. package/{component → dist/component}/resize-panel/resize-panel.module.d.ts +0 -0
  212. package/{component → dist/component}/select/public-api.d.ts +0 -0
  213. package/{component → dist/component}/select/select/select.component.d.ts +0 -0
  214. package/{component → dist/component}/select/select-option.directive.d.ts +0 -0
  215. package/{component → dist/component}/select/select-value.directive.d.ts +0 -0
  216. package/{component → dist/component}/select/select.module.d.ts +0 -0
  217. package/{component → dist/component}/sidebar/public-api.d.ts +0 -0
  218. package/{component → dist/component}/sidebar/sidebar/sidebar.component.d.ts +0 -0
  219. package/{component → dist/component}/sidebar/sidebar-position.enum.d.ts +0 -0
  220. package/{component → dist/component}/sidebar/sidebar.module.d.ts +0 -0
  221. package/{component → dist/component}/switch/public-api.d.ts +0 -0
  222. package/{component → dist/component}/switch/switch/switch.component.d.ts +0 -0
  223. package/{component → dist/component}/switch/switch-button/switch-button.component.d.ts +0 -0
  224. package/{component → dist/component}/switch/switch.module.d.ts +0 -0
  225. package/{component → dist/component}/switch/switch.service.d.ts +0 -0
  226. package/{component → dist/component}/table/base/cell-component-base.d.ts +0 -0
  227. package/{component → dist/component}/table/base/detail-component-base.d.ts +0 -0
  228. package/{component → dist/component}/table/base/group-row-component-base.d.ts +0 -0
  229. package/{component → dist/component}/table/base/head-cell-component-base.d.ts +0 -0
  230. package/{component → dist/component}/table/cell/cell.component.d.ts +0 -0
  231. package/{component → dist/component}/table/cell-host/cell-host.component.d.ts +0 -0
  232. package/{component → dist/component}/table/contract/cell-components-map.d.ts +0 -0
  233. package/{component → dist/component}/table/contract/column-reorder-event.d.ts +0 -0
  234. package/{component → dist/component}/table/contract/column-resize-event.d.ts +0 -0
  235. package/{component → dist/component}/table/contract/i-cell-coordinates.d.ts +0 -0
  236. package/{component → dist/component}/table/contract/i-cell-event.d.ts +0 -0
  237. package/{component → dist/component}/table/contract/i-cell-value.d.ts +0 -0
  238. package/{component → dist/component}/table/contract/public-api.d.ts +0 -0
  239. package/{component → dist/component}/table/contract/sort-event.d.ts +0 -0
  240. package/{component → dist/component}/table/contract/table-column-store.d.ts +0 -0
  241. package/dist/component/table/contract/table-column.d.ts +142 -0
  242. package/{component → dist/component}/table/contract/table-context-menu-config.d.ts +0 -0
  243. package/{component → dist/component}/table/contract/table-row.d.ts +0 -0
  244. package/{component → dist/component}/table/default/boolean-cell/boolean-cell.component.d.ts +0 -0
  245. package/{component → dist/component}/table/default/date-cell/date-cell.component.d.ts +0 -0
  246. package/{component → dist/component}/table/default/date-time-cell/date-time-cell.component.d.ts +0 -0
  247. package/{component → dist/component}/table/default/default-head-cell/default-head-cell.component.d.ts +0 -0
  248. package/{component → dist/component}/table/default/group-row/group-row.component.d.ts +0 -0
  249. package/{component → dist/component}/table/default/list-cell/list-cell.component.d.ts +0 -0
  250. package/{component → dist/component}/table/default/numeric-cell/numeric-cell.component.d.ts +0 -0
  251. package/{component → dist/component}/table/default/string-cell/string-cell.component.d.ts +0 -0
  252. package/{component → dist/component}/table/enum/aggregation-type.enum.d.ts +0 -0
  253. package/{component → dist/component}/table/enum/edit-event.enum.d.ts +0 -0
  254. package/{component → dist/component}/table/enum/edit-type.enum.d.ts +0 -0
  255. package/{component → dist/component}/table/enum/public-api.d.ts +0 -0
  256. package/{component → dist/component}/table/enum/select-type.enum.d.ts +0 -0
  257. package/{component → dist/component}/table/head-cell/head-cell.component.d.ts +0 -0
  258. package/dist/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +59 -0
  259. package/{component → dist/component}/table/head-cell-host/head-cell-host.component.d.ts +0 -0
  260. package/{component → dist/component}/table/public-api.d.ts +0 -0
  261. package/{component → dist/component}/table/selection-cell/selection-cell.component.d.ts +0 -0
  262. package/{component → dist/component}/table/selection-head-cell/selection-head-cell.component.d.ts +0 -0
  263. package/dist/component/table/service/table.service.d.ts +118 -0
  264. package/dist/component/table/table/table.component.d.ts +98 -0
  265. package/{component → dist/component}/table/table-body/table-body.component.d.ts +0 -0
  266. package/{component → dist/component}/table/table-head/table-head.component.d.ts +0 -0
  267. package/{component → dist/component}/table/table-head-group/table-head-group.component.d.ts +0 -0
  268. package/{component → dist/component}/table/table.module.d.ts +0 -0
  269. package/{component → dist/component}/table/util/public-api.d.ts +0 -0
  270. package/{component → dist/component}/table/util/state-util.d.ts +0 -0
  271. package/{component → dist/component}/table/util/table-util.d.ts +0 -0
  272. package/{component → dist/component}/tabs/public-api.d.ts +0 -0
  273. package/{component → dist/component}/tabs/tab/tab.component.d.ts +0 -0
  274. package/{component → dist/component}/tabs/tab-content.directive.d.ts +0 -0
  275. package/{component → dist/component}/tabs/tab-title.directive.d.ts +0 -0
  276. package/{component → dist/component}/tabs/tabs/tabs.component.d.ts +0 -0
  277. package/{component → dist/component}/tabs/tabs.module.d.ts +0 -0
  278. package/{component → dist/component}/theme-switch/public-api.d.ts +0 -0
  279. package/{component → dist/component}/theme-switch/theme-switch/theme-switch.component.d.ts +0 -0
  280. package/{component → dist/component}/theme-switch/theme-switch.module.d.ts +0 -0
  281. package/{component → dist/component}/theme-switch/theme-switch.service.d.ts +0 -0
  282. package/{component → dist/component}/toggle/public-api.d.ts +0 -0
  283. package/{component → dist/component}/toggle/toggle/toggle.component.d.ts +0 -0
  284. package/{component → dist/component}/toggle/toggle.module.d.ts +0 -0
  285. package/{component → dist/component}/toolbar/public-api.d.ts +0 -0
  286. package/{component → dist/component}/toolbar/toolbar/toolbar.component.d.ts +0 -0
  287. package/{component → dist/component}/toolbar/toolbar.module.d.ts +0 -0
  288. package/{component → dist/component}/tree/public-api.d.ts +0 -0
  289. package/{component → dist/component}/tree/tree/tree.component.d.ts +0 -0
  290. package/{component → dist/component}/tree/tree-item/tree-item.component.d.ts +0 -0
  291. package/{component → dist/component}/tree/tree-item-toggle/tree-item-toggle.component.d.ts +0 -0
  292. package/{component → dist/component}/tree/tree.module.d.ts +0 -0
  293. package/{component → dist/component}/tree/tree.service.d.ts +0 -0
  294. package/{directive → dist/directive}/click-outside/click-outside.directive.d.ts +0 -0
  295. package/{directive → dist/directive}/click-outside/click-outside.module.d.ts +0 -0
  296. package/{directive → dist/directive}/click-outside/public-api.d.ts +0 -0
  297. package/{directive → dist/directive}/context-menu/context-menu.directive.d.ts +0 -0
  298. package/{directive → dist/directive}/context-menu/context-menu.module.d.ts +0 -0
  299. package/{directive → dist/directive}/context-menu/public-api.d.ts +0 -0
  300. package/{directive → dist/directive}/disable-control/disable-control.directive.d.ts +0 -0
  301. package/{directive → dist/directive}/disable-control/disable-control.module.d.ts +0 -0
  302. package/{directive → dist/directive}/disable-control/public-api.d.ts +0 -0
  303. package/{directive → dist/directive}/drag-sort/drag-sort-container.directive.d.ts +0 -0
  304. package/{directive → dist/directive}/drag-sort/drag-sort-event.d.ts +0 -0
  305. package/{directive → dist/directive}/drag-sort/drag-sort-item.directive.d.ts +0 -0
  306. package/{directive → dist/directive}/drag-sort/drag-sort.module.d.ts +0 -0
  307. package/{directive → dist/directive}/drag-sort/public-api.d.ts +0 -0
  308. package/{directive → dist/directive}/dynamic-content-base.directive.d.ts +0 -0
  309. package/{directive → dist/directive}/highlight/highlight.directive.d.ts +0 -0
  310. package/{directive → dist/directive}/highlight/highlight.module.d.ts +0 -0
  311. package/{directive → dist/directive}/highlight/public-api.d.ts +0 -0
  312. package/{directive → dist/directive}/hint/hint.directive.d.ts +0 -0
  313. package/{directive → dist/directive}/hint/hint.module.d.ts +0 -0
  314. package/{directive → dist/directive}/hint/public-api.d.ts +0 -0
  315. package/{directive → dist/directive}/loader/loader.directive.d.ts +0 -0
  316. package/{directive → dist/directive}/loader/loader.module.d.ts +0 -0
  317. package/{directive → dist/directive}/loader/public-api.d.ts +0 -0
  318. package/{directive → dist/directive}/no-autofill/no-autofill.directive.d.ts +0 -0
  319. package/{directive → dist/directive}/no-autofill/no-autofill.module.d.ts +0 -0
  320. package/{directive → dist/directive}/no-autofill/public-api.d.ts +0 -0
  321. package/{directive → dist/directive}/only-number/only-number.directive.d.ts +0 -0
  322. package/{directive → dist/directive}/only-number/only-number.module.d.ts +0 -0
  323. package/{directive → dist/directive}/only-number/public-api.d.ts +0 -0
  324. package/{directive → dist/directive}/public-api.d.ts +0 -0
  325. package/{directive → dist/directive}/resize-drag/public-api.d.ts +0 -0
  326. package/{directive → dist/directive}/resize-drag/resize-drag.directive.d.ts +0 -0
  327. package/{directive → dist/directive}/resize-drag/resize-drag.module.d.ts +0 -0
  328. package/{directive → dist/directive}/teta-template/public-api.d.ts +0 -0
  329. package/{directive → dist/directive}/teta-template/teta-template.directive.d.ts +0 -0
  330. package/{directive → dist/directive}/teta-template/teta-template.module.d.ts +0 -0
  331. package/{directive → dist/directive}/tooltip/public-api.d.ts +0 -0
  332. package/{directive → dist/directive}/tooltip/tooltip.directive.d.ts +0 -0
  333. package/{directive → dist/directive}/tooltip/tooltip.module.d.ts +0 -0
  334. package/dist/esm2020/common/contract/auto-close-ignore-case.mjs +2 -0
  335. package/dist/esm2020/common/contract/constructor-type.mjs +2 -0
  336. package/dist/esm2020/common/contract/dynamic-data.mjs +10 -0
  337. package/dist/esm2020/common/contract/i-dictionary.mjs +2 -0
  338. package/dist/esm2020/common/contract/i-id-name.mjs +2 -0
  339. package/dist/esm2020/common/contract/i-rect.mjs +2 -0
  340. package/dist/esm2020/common/contract/i-tree-data.mjs +2 -0
  341. package/dist/esm2020/common/contract/public-api.mjs +9 -0
  342. package/dist/esm2020/common/contract/teta-content-ref.mjs +8 -0
  343. package/dist/esm2020/common/enum/align.enum.mjs +10 -0
  344. package/dist/esm2020/common/enum/public-api.mjs +4 -0
  345. package/dist/esm2020/common/enum/teta-size.enum.mjs +9 -0
  346. package/dist/esm2020/common/enum/vertical-align.enum.mjs +8 -0
  347. package/dist/esm2020/common/public-api.mjs +5 -0
  348. package/dist/esm2020/common/service/click.service.mjs +23 -0
  349. package/dist/esm2020/common/service/dynamic-component.service.mjs +93 -0
  350. package/dist/esm2020/common/service/overlay-container.service.mjs +41 -0
  351. package/dist/esm2020/common/service/public-api.mjs +4 -0
  352. package/dist/esm2020/common/util/array-util.mjs +119 -0
  353. package/dist/esm2020/common/util/dom-util.mjs +16 -0
  354. package/dist/esm2020/common/util/position-util.mjs +96 -0
  355. package/dist/esm2020/common/util/public-api.mjs +4 -0
  356. package/dist/esm2020/component/accordion/accordion/accordion.component.mjs +18 -0
  357. package/dist/esm2020/component/accordion/accordion-content.directive.mjs +16 -0
  358. package/dist/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +52 -0
  359. package/dist/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +43 -0
  360. package/dist/esm2020/component/accordion/accordion.module.mjs +29 -0
  361. package/dist/esm2020/component/accordion/public-api.mjs +6 -0
  362. package/dist/esm2020/component/button/button/button.component.mjs +40 -0
  363. package/dist/esm2020/component/button/button.module.mjs +24 -0
  364. package/dist/esm2020/component/button/public-api.mjs +3 -0
  365. package/dist/esm2020/component/chart/chart/chart.component.mjs +164 -0
  366. package/dist/esm2020/component/chart/chart.module.mjs +18 -0
  367. package/dist/esm2020/component/chart/core/axis-creator.mjs +82 -0
  368. package/dist/esm2020/component/chart/core/chart.mjs +1339 -0
  369. package/dist/esm2020/component/chart/core/public-api.mjs +3 -0
  370. package/dist/esm2020/component/chart/drawer/area-drawer.mjs +20 -0
  371. package/dist/esm2020/component/chart/drawer/bar-drawer.mjs +23 -0
  372. package/dist/esm2020/component/chart/drawer/contour-drawer.mjs +29 -0
  373. package/dist/esm2020/component/chart/drawer/default-drawer-mapping.mjs +17 -0
  374. package/dist/esm2020/component/chart/drawer/line-drawer.mjs +152 -0
  375. package/dist/esm2020/component/chart/drawer/pie-drawer.mjs +4 -0
  376. package/dist/esm2020/component/chart/drawer/public-api.mjs +7 -0
  377. package/dist/esm2020/component/chart/drawer/scatter-drawer.mjs +93 -0
  378. package/dist/esm2020/component/chart/drawer/spline-drawer.mjs +23 -0
  379. package/dist/esm2020/component/chart/legend-drawer/default-drawer-legend-mapping.mjs +7 -0
  380. package/dist/esm2020/component/chart/legend-drawer/gradient-drawer.mjs +45 -0
  381. package/dist/esm2020/component/chart/legend-drawer/swatch-drawer.mjs +62 -0
  382. package/dist/esm2020/component/chart/model/annotation.mjs +30 -0
  383. package/dist/esm2020/component/chart/model/axis-options.mjs +26 -0
  384. package/dist/esm2020/component/chart/model/chart-bounds.mjs +13 -0
  385. package/dist/esm2020/component/chart/model/chart-options.mjs +37 -0
  386. package/dist/esm2020/component/chart/model/enum/axis-type.mjs +6 -0
  387. package/dist/esm2020/component/chart/model/enum/dispatch-type.mjs +6 -0
  388. package/dist/esm2020/component/chart/model/enum/drag-point-type.mjs +7 -0
  389. package/dist/esm2020/component/chart/model/enum/legend-type.mjs +6 -0
  390. package/dist/esm2020/component/chart/model/enum/public-api.mjs +8 -0
  391. package/dist/esm2020/component/chart/model/enum/scale-type.mjs +9 -0
  392. package/dist/esm2020/component/chart/model/enum/scale.mjs +7 -0
  393. package/dist/esm2020/component/chart/model/enum/series-type.mjs +12 -0
  394. package/dist/esm2020/component/chart/model/enum/zoom-type.mjs +7 -0
  395. package/dist/esm2020/component/chart/model/i-drag-event.mjs +2 -0
  396. package/dist/esm2020/component/chart/model/i-drawer-legend.mjs +2 -0
  397. package/dist/esm2020/component/chart/model/i-drawer.mjs +2 -0
  398. package/dist/esm2020/component/chart/model/i-zoom-event.mjs +2 -0
  399. package/dist/esm2020/component/chart/model/plot-band.mjs +18 -0
  400. package/dist/esm2020/component/chart/model/plot-line.mjs +13 -0
  401. package/dist/esm2020/component/chart/model/point/bar-point.mjs +2 -0
  402. package/dist/esm2020/component/chart/model/point/base-point.mjs +2 -0
  403. package/dist/esm2020/component/chart/model/point/contour-point.mjs +2 -0
  404. package/dist/esm2020/component/chart/model/point/marker-options.mjs +2 -0
  405. package/dist/esm2020/component/chart/model/point/public-api.mjs +4 -0
  406. package/dist/esm2020/component/chart/model/point/scatter-point.mjs +2 -0
  407. package/dist/esm2020/component/chart/model/public-api.mjs +16 -0
  408. package/dist/esm2020/component/chart/model/series.mjs +27 -0
  409. package/dist/esm2020/component/chart/model/tooltip-options.mjs +19 -0
  410. package/dist/esm2020/component/chart/public-api.mjs +6 -0
  411. package/dist/esm2020/component/chart-3d/chart-3d.module.mjs +18 -0
  412. package/dist/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +232 -0
  413. package/dist/esm2020/component/chart-3d/model/base-3d-point.mjs +2 -0
  414. package/dist/esm2020/component/chart-3d/model/chart-3d-options.mjs +7 -0
  415. package/dist/esm2020/component/chart-3d/model/public-api.mjs +3 -0
  416. package/dist/esm2020/component/chart-3d/model/series-3d.mjs +7 -0
  417. package/dist/esm2020/component/chart-3d/public-api.mjs +4 -0
  418. package/dist/esm2020/component/checkbox/checkbox/checkbox.component.mjs +134 -0
  419. package/dist/esm2020/component/checkbox/checkbox.module.mjs +28 -0
  420. package/dist/esm2020/component/checkbox/public-api.mjs +3 -0
  421. package/dist/esm2020/component/date-picker/date-picker/date-picker.component.mjs +279 -0
  422. package/dist/esm2020/component/date-picker/date-picker.module.mjs +67 -0
  423. package/dist/esm2020/component/date-picker/day-select/day-select.component.mjs +166 -0
  424. package/dist/esm2020/component/date-picker/model/date-period.mjs +7 -0
  425. package/dist/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +7 -0
  426. package/dist/esm2020/component/date-picker/model/day-model.mjs +13 -0
  427. package/dist/esm2020/component/date-picker/model/picker-locale-model.mjs +13 -0
  428. package/dist/esm2020/component/date-picker/month-picker/month-picker.component.mjs +250 -0
  429. package/dist/esm2020/component/date-picker/month-select/month-select.component.mjs +147 -0
  430. package/dist/esm2020/component/date-picker/public-api.mjs +6 -0
  431. package/dist/esm2020/component/date-picker/service/picker-locale.service.mjs +30 -0
  432. package/dist/esm2020/component/date-picker/service/picker-touch.service.mjs +34 -0
  433. package/dist/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +73 -0
  434. package/dist/esm2020/component/date-picker/util/date-picker-util.mjs +142 -0
  435. package/dist/esm2020/component/date-picker/year-select/year-select.component.mjs +189 -0
  436. package/dist/esm2020/component/delimiter/delimiter/delimiter.component.mjs +63 -0
  437. package/dist/esm2020/component/delimiter/delimiter.module.mjs +22 -0
  438. package/dist/esm2020/component/delimiter/public-api.mjs +3 -0
  439. package/dist/esm2020/component/dropdown/dropdown/dropdown.component.mjs +29 -0
  440. package/dist/esm2020/component/dropdown/dropdown-base.mjs +204 -0
  441. package/dist/esm2020/component/dropdown/dropdown-content.directive.mjs +17 -0
  442. package/dist/esm2020/component/dropdown/dropdown-head.directive.mjs +18 -0
  443. package/dist/esm2020/component/dropdown/dropdown.directive.mjs +37 -0
  444. package/dist/esm2020/component/dropdown/dropdown.module.mjs +41 -0
  445. package/dist/esm2020/component/dropdown/public-api.mjs +6 -0
  446. package/dist/esm2020/component/dynamic-component/dynamic-component.module.mjs +22 -0
  447. package/dist/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +59 -0
  448. package/dist/esm2020/component/dynamic-component/public-api.mjs +3 -0
  449. package/dist/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +65 -0
  450. package/dist/esm2020/component/expand-panel/expand-panel-content.directive.mjs +16 -0
  451. package/dist/esm2020/component/expand-panel/expand-panel-head.directive.mjs +16 -0
  452. package/dist/esm2020/component/expand-panel/expand-panel.module.mjs +52 -0
  453. package/dist/esm2020/component/expand-panel/public-api.mjs +5 -0
  454. package/dist/esm2020/component/file-upload/file-item/file-item.component.mjs +13 -0
  455. package/dist/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +77 -0
  456. package/dist/esm2020/component/file-upload/file-upload.module.mjs +21 -0
  457. package/dist/esm2020/component/file-upload/public-api.mjs +4 -0
  458. package/dist/esm2020/component/filter/base/filter-base.mjs +9 -0
  459. package/dist/esm2020/component/filter/base/filter-component-base.mjs +3 -0
  460. package/dist/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +53 -0
  461. package/dist/esm2020/component/filter/contarct/boolean-filter.mjs +10 -0
  462. package/dist/esm2020/component/filter/contarct/date-filter-value.mjs +9 -0
  463. package/dist/esm2020/component/filter/contarct/date-filter.mjs +11 -0
  464. package/dist/esm2020/component/filter/contarct/filter-component-map.mjs +17 -0
  465. package/dist/esm2020/component/filter/contarct/filter-item.mjs +33 -0
  466. package/dist/esm2020/component/filter/contarct/filter-state.mjs +145 -0
  467. package/dist/esm2020/component/filter/contarct/i-filter.mjs +2 -0
  468. package/dist/esm2020/component/filter/contarct/list-filter.mjs +12 -0
  469. package/dist/esm2020/component/filter/contarct/numeric-filter-value.mjs +10 -0
  470. package/dist/esm2020/component/filter/contarct/numeric-filter.mjs +11 -0
  471. package/dist/esm2020/component/filter/contarct/sort-param.mjs +13 -0
  472. package/dist/esm2020/component/filter/contarct/string-filter.mjs +12 -0
  473. package/dist/esm2020/component/filter/date-filter/date-filter.component.mjs +54 -0
  474. package/dist/esm2020/component/filter/enum/filter-type.enum.mjs +10 -0
  475. package/dist/esm2020/component/filter/enum/list-filter-type.enum.mjs +6 -0
  476. package/dist/esm2020/component/filter/enum/string-filter-type.enum.mjs +20 -0
  477. package/dist/esm2020/component/filter/filter-host/filter-host.component.mjs +73 -0
  478. package/dist/esm2020/component/filter/filter-panel/filter-panel.component.mjs +13 -0
  479. package/dist/esm2020/component/filter/filter.module.mjs +80 -0
  480. package/dist/esm2020/component/filter/list-filter/list-filter.component.mjs +86 -0
  481. package/dist/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +53 -0
  482. package/dist/esm2020/component/filter/public-api.mjs +25 -0
  483. package/dist/esm2020/component/filter/string-filter/string-filter.component.mjs +54 -0
  484. package/dist/esm2020/component/icon/icon/icon.component.mjs +37 -0
  485. package/dist/esm2020/component/icon/icon-sprite.directive.mjs +32 -0
  486. package/dist/esm2020/component/icon/icon.module.mjs +35 -0
  487. package/dist/esm2020/component/icon/icon.service.mjs +59 -0
  488. package/dist/esm2020/component/icon/public-api.mjs +5 -0
  489. package/dist/esm2020/component/input/form-group-title/form-group-title.component.mjs +18 -0
  490. package/dist/esm2020/component/input/input/input.component.mjs +31 -0
  491. package/dist/esm2020/component/input/input.module.mjs +23 -0
  492. package/dist/esm2020/component/input/public-api.mjs +5 -0
  493. package/dist/esm2020/component/input/text-field/text-field.component.mjs +94 -0
  494. package/dist/esm2020/component/message/message/message.component.mjs +74 -0
  495. package/dist/esm2020/component/message/message-host/message-host.component.mjs +88 -0
  496. package/dist/esm2020/component/message/message.module.mjs +31 -0
  497. package/dist/esm2020/component/message/message.service.mjs +35 -0
  498. package/dist/esm2020/component/message/model/message.mjs +21 -0
  499. package/dist/esm2020/component/message/public-api.mjs +6 -0
  500. package/dist/esm2020/component/modal/dialog/dialog.component.mjs +44 -0
  501. package/dist/esm2020/component/modal/dialog.service.mjs +39 -0
  502. package/dist/esm2020/component/modal/modal-container/modal-container.component.mjs +84 -0
  503. package/dist/esm2020/component/modal/modal.module.mjs +52 -0
  504. package/dist/esm2020/component/modal/modal.service.mjs +121 -0
  505. package/dist/esm2020/component/modal/model/current-modal.mjs +3 -0
  506. package/dist/esm2020/component/modal/model/i-modal-config.mjs +2 -0
  507. package/dist/esm2020/component/modal/model/i-modal-result.mjs +2 -0
  508. package/dist/esm2020/component/modal/model/modal-close-reason.enum.mjs +8 -0
  509. package/dist/esm2020/component/modal/model/modal-instance.mjs +32 -0
  510. package/dist/esm2020/component/modal/public-api.mjs +11 -0
  511. package/dist/esm2020/component/pager/model/pager-state.mjs +50 -0
  512. package/dist/esm2020/component/pager/pager/pager.component.mjs +13 -0
  513. package/dist/esm2020/component/pager/pager.module.mjs +26 -0
  514. package/dist/esm2020/component/pager/public-api.mjs +5 -0
  515. package/dist/esm2020/component/pager/util/pager-util.mjs +6 -0
  516. package/dist/esm2020/component/panel/panel/panel.component.mjs +51 -0
  517. package/dist/esm2020/component/panel/panel.module.mjs +22 -0
  518. package/dist/esm2020/component/panel/public-api.mjs +3 -0
  519. package/dist/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +131 -0
  520. package/dist/esm2020/component/progress-bar/progress-bar.module.mjs +22 -0
  521. package/dist/esm2020/component/progress-bar/public-api.mjs +3 -0
  522. package/dist/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +13 -0
  523. package/dist/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +13 -0
  524. package/dist/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +13 -0
  525. package/dist/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +13 -0
  526. package/dist/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +34 -0
  527. package/dist/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +103 -0
  528. package/dist/esm2020/component/property-grid/property-grid/property-grid.component.mjs +59 -0
  529. package/dist/esm2020/component/property-grid/property-grid.module.mjs +94 -0
  530. package/dist/esm2020/component/property-grid/public-api.mjs +3 -0
  531. package/dist/esm2020/component/public-api.mjs +61 -0
  532. package/dist/esm2020/component/radio/public-api.mjs +4 -0
  533. package/dist/esm2020/component/radio/radio/radio.component.mjs +245 -0
  534. package/dist/esm2020/component/radio/radio-button/radio-button.component.mjs +63 -0
  535. package/dist/esm2020/component/radio/radio.module.mjs +20 -0
  536. package/dist/esm2020/component/resize-panel/public-api.mjs +3 -0
  537. package/dist/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +162 -0
  538. package/dist/esm2020/component/resize-panel/resize-panel.module.mjs +20 -0
  539. package/dist/esm2020/component/select/public-api.mjs +5 -0
  540. package/dist/esm2020/component/select/select/select.component.mjs +234 -0
  541. package/dist/esm2020/component/select/select-option.directive.mjs +16 -0
  542. package/dist/esm2020/component/select/select-value.directive.mjs +16 -0
  543. package/dist/esm2020/component/select/select.module.mjs +48 -0
  544. package/dist/esm2020/component/sidebar/public-api.mjs +4 -0
  545. package/dist/esm2020/component/sidebar/sidebar/sidebar.component.mjs +54 -0
  546. package/dist/esm2020/component/sidebar/sidebar-position.enum.mjs +8 -0
  547. package/dist/esm2020/component/sidebar/sidebar.module.mjs +30 -0
  548. package/dist/esm2020/component/switch/public-api.mjs +4 -0
  549. package/dist/esm2020/component/switch/switch/switch.component.mjs +52 -0
  550. package/dist/esm2020/component/switch/switch-button/switch-button.component.mjs +47 -0
  551. package/dist/esm2020/component/switch/switch.module.mjs +23 -0
  552. package/dist/esm2020/component/switch/switch.service.mjs +21 -0
  553. package/dist/esm2020/component/table/base/cell-component-base.mjs +103 -0
  554. package/dist/esm2020/component/table/base/detail-component-base.mjs +3 -0
  555. package/dist/esm2020/component/table/base/group-row-component-base.mjs +3 -0
  556. package/dist/esm2020/component/table/base/head-cell-component-base.mjs +17 -0
  557. package/dist/esm2020/component/table/cell/cell.component.mjs +33 -0
  558. package/dist/esm2020/component/table/cell-host/cell-host.component.mjs +50 -0
  559. package/dist/esm2020/component/table/contract/cell-components-map.mjs +17 -0
  560. package/dist/esm2020/component/table/contract/column-reorder-event.mjs +7 -0
  561. package/dist/esm2020/component/table/contract/column-resize-event.mjs +7 -0
  562. package/dist/esm2020/component/table/contract/i-cell-coordinates.mjs +2 -0
  563. package/dist/esm2020/component/table/contract/i-cell-event.mjs +2 -0
  564. package/dist/esm2020/component/table/contract/i-cell-value.mjs +2 -0
  565. package/dist/esm2020/component/table/contract/public-api.mjs +12 -0
  566. package/dist/esm2020/component/table/contract/sort-event.mjs +7 -0
  567. package/dist/esm2020/component/table/contract/table-column-store.mjs +12 -0
  568. package/dist/esm2020/component/table/contract/table-column.mjs +43 -0
  569. package/dist/esm2020/component/table/contract/table-context-menu-config.mjs +17 -0
  570. package/dist/esm2020/component/table/contract/table-row.mjs +40 -0
  571. package/dist/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +45 -0
  572. package/dist/esm2020/component/table/default/date-cell/date-cell.component.mjs +47 -0
  573. package/dist/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +46 -0
  574. package/dist/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +28 -0
  575. package/dist/esm2020/component/table/default/group-row/group-row.component.mjs +20 -0
  576. package/dist/esm2020/component/table/default/list-cell/list-cell.component.mjs +66 -0
  577. package/dist/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +46 -0
  578. package/dist/esm2020/component/table/default/string-cell/string-cell.component.mjs +44 -0
  579. package/dist/esm2020/component/table/enum/aggregation-type.enum.mjs +9 -0
  580. package/dist/esm2020/component/table/enum/edit-event.enum.mjs +7 -0
  581. package/dist/esm2020/component/table/enum/edit-type.enum.mjs +6 -0
  582. package/dist/esm2020/component/table/enum/public-api.mjs +5 -0
  583. package/dist/esm2020/component/table/enum/select-type.enum.mjs +7 -0
  584. package/dist/esm2020/component/table/head-cell/head-cell.component.mjs +136 -0
  585. package/dist/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +198 -0
  586. package/dist/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +36 -0
  587. package/dist/esm2020/component/table/public-api.mjs +43 -0
  588. package/dist/esm2020/component/table/selection-cell/selection-cell.component.mjs +46 -0
  589. package/dist/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +45 -0
  590. package/dist/esm2020/component/table/service/table.service.mjs +434 -0
  591. package/dist/esm2020/component/table/table/table.component.mjs +422 -0
  592. package/dist/esm2020/component/table/table-body/table-body.component.mjs +240 -0
  593. package/dist/esm2020/component/table/table-head/table-head.component.mjs +98 -0
  594. package/dist/esm2020/component/table/table-head-group/table-head-group.component.mjs +59 -0
  595. package/dist/esm2020/component/table/table.module.mjs +176 -0
  596. package/dist/esm2020/component/table/util/public-api.mjs +3 -0
  597. package/dist/esm2020/component/table/util/state-util.mjs +139 -0
  598. package/dist/esm2020/component/table/util/table-util.mjs +131 -0
  599. package/dist/esm2020/component/tabs/public-api.mjs +12 -0
  600. package/dist/esm2020/component/tabs/tab/tab.component.mjs +42 -0
  601. package/dist/esm2020/component/tabs/tab-content.directive.mjs +16 -0
  602. package/dist/esm2020/component/tabs/tab-title.directive.mjs +16 -0
  603. package/dist/esm2020/component/tabs/tabs/tabs.component.mjs +70 -0
  604. package/dist/esm2020/component/tabs/tabs.module.mjs +41 -0
  605. package/dist/esm2020/component/theme-switch/public-api.mjs +4 -0
  606. package/dist/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +28 -0
  607. package/dist/esm2020/component/theme-switch/theme-switch.module.mjs +30 -0
  608. package/dist/esm2020/component/theme-switch/theme-switch.service.mjs +34 -0
  609. package/dist/esm2020/component/toggle/public-api.mjs +3 -0
  610. package/dist/esm2020/component/toggle/toggle/toggle.component.mjs +79 -0
  611. package/dist/esm2020/component/toggle/toggle.module.mjs +19 -0
  612. package/dist/esm2020/component/toolbar/public-api.mjs +6 -0
  613. package/dist/esm2020/component/toolbar/toolbar/toolbar.component.mjs +26 -0
  614. package/dist/esm2020/component/toolbar/toolbar.module.mjs +22 -0
  615. package/dist/esm2020/component/tree/public-api.mjs +5 -0
  616. package/dist/esm2020/component/tree/tree/tree.component.mjs +76 -0
  617. package/dist/esm2020/component/tree/tree-item/tree-item.component.mjs +80 -0
  618. package/dist/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +28 -0
  619. package/dist/esm2020/component/tree/tree.module.mjs +22 -0
  620. package/dist/esm2020/component/tree/tree.service.mjs +35 -0
  621. package/dist/esm2020/directive/click-outside/click-outside.directive.mjs +60 -0
  622. package/dist/esm2020/directive/click-outside/click-outside.module.mjs +22 -0
  623. package/dist/esm2020/directive/click-outside/public-api.mjs +3 -0
  624. package/dist/esm2020/directive/context-menu/context-menu.directive.mjs +94 -0
  625. package/dist/esm2020/directive/context-menu/context-menu.module.mjs +26 -0
  626. package/dist/esm2020/directive/context-menu/public-api.mjs +3 -0
  627. package/dist/esm2020/directive/disable-control/disable-control.directive.mjs +29 -0
  628. package/dist/esm2020/directive/disable-control/disable-control.module.mjs +24 -0
  629. package/dist/esm2020/directive/disable-control/public-api.mjs +3 -0
  630. package/dist/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +64 -0
  631. package/dist/esm2020/directive/drag-sort/drag-sort-event.mjs +2 -0
  632. package/dist/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +115 -0
  633. package/dist/esm2020/directive/drag-sort/drag-sort.module.mjs +19 -0
  634. package/dist/esm2020/directive/drag-sort/public-api.mjs +5 -0
  635. package/dist/esm2020/directive/dynamic-content-base.directive.mjs +81 -0
  636. package/dist/esm2020/directive/highlight/highlight.directive.mjs +72 -0
  637. package/dist/esm2020/directive/highlight/highlight.module.mjs +22 -0
  638. package/dist/esm2020/directive/highlight/public-api.mjs +3 -0
  639. package/dist/esm2020/directive/hint/hint.directive.mjs +97 -0
  640. package/dist/esm2020/directive/hint/hint.module.mjs +26 -0
  641. package/dist/esm2020/directive/hint/public-api.mjs +3 -0
  642. package/dist/esm2020/directive/loader/loader.directive.mjs +63 -0
  643. package/dist/esm2020/directive/loader/loader.module.mjs +22 -0
  644. package/dist/esm2020/directive/loader/public-api.mjs +3 -0
  645. package/dist/esm2020/directive/no-autofill/no-autofill.directive.mjs +30 -0
  646. package/dist/esm2020/directive/no-autofill/no-autofill.module.mjs +18 -0
  647. package/dist/esm2020/directive/no-autofill/public-api.mjs +3 -0
  648. package/dist/esm2020/directive/only-number/only-number.directive.mjs +175 -0
  649. package/dist/esm2020/directive/only-number/only-number.module.mjs +18 -0
  650. package/dist/esm2020/directive/only-number/public-api.mjs +3 -0
  651. package/dist/esm2020/directive/public-api.mjs +15 -0
  652. package/dist/esm2020/directive/resize-drag/public-api.mjs +3 -0
  653. package/dist/esm2020/directive/resize-drag/resize-drag.directive.mjs +71 -0
  654. package/dist/esm2020/directive/resize-drag/resize-drag.module.mjs +18 -0
  655. package/dist/esm2020/directive/teta-template/public-api.mjs +3 -0
  656. package/dist/esm2020/directive/teta-template/teta-template.directive.mjs +22 -0
  657. package/dist/esm2020/directive/teta-template/teta-template.module.mjs +26 -0
  658. package/dist/esm2020/directive/tooltip/public-api.mjs +3 -0
  659. package/dist/esm2020/directive/tooltip/tooltip.directive.mjs +76 -0
  660. package/dist/esm2020/directive/tooltip/tooltip.module.mjs +20 -0
  661. package/dist/esm2020/pipe/number-pipe/number-pipe.module.mjs +24 -0
  662. package/dist/esm2020/pipe/number-pipe/number.pipe.mjs +24 -0
  663. package/dist/esm2020/pipe/number-pipe/public-api.mjs +3 -0
  664. package/dist/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +18 -0
  665. package/dist/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +21 -0
  666. package/dist/esm2020/pipe/public-api.mjs +2 -0
  667. package/dist/esm2020/pipe/util/number-helper.mjs +25 -0
  668. package/dist/esm2020/public-api.mjs +21 -0
  669. package/dist/esm2020/tetacom-ng-components.mjs +5 -0
  670. package/dist/esm2020/util/date-util.mjs +195 -0
  671. package/dist/esm2020/util/forms-util.mjs +61 -0
  672. package/dist/esm2020/util/public-api.mjs +4 -0
  673. package/dist/esm2020/util/string-util.mjs +7 -0
  674. package/dist/fesm2015/tetacom-ng-components.mjs +13342 -0
  675. package/dist/fesm2015/tetacom-ng-components.mjs.map +1 -0
  676. package/dist/fesm2020/tetacom-ng-components.mjs +13234 -0
  677. package/dist/fesm2020/tetacom-ng-components.mjs.map +1 -0
  678. package/dist/package.json +35 -0
  679. package/{pipe → dist/pipe}/number-pipe/number-pipe.module.d.ts +0 -0
  680. package/{pipe → dist/pipe}/number-pipe/number.pipe.d.ts +0 -0
  681. package/{pipe → dist/pipe}/number-pipe/public-api.d.ts +0 -0
  682. package/{pipe → dist/pipe}/prepend-zero/prepend-zero.module.d.ts +0 -0
  683. package/{pipe → dist/pipe}/prepend-zero/prepend-zero.pipe.d.ts +0 -0
  684. package/{pipe → dist/pipe}/public-api.d.ts +0 -0
  685. package/{pipe → dist/pipe}/util/number-helper.d.ts +0 -0
  686. package/{public-api.d.ts → dist/public-api.d.ts} +0 -0
  687. package/dist/style/accordion.scss +47 -0
  688. package/dist/style/assembly-library.scss +36 -0
  689. package/dist/style/assembly-presets.scss +5 -0
  690. package/dist/style/assembly.scss +4 -0
  691. package/dist/style/border.scss +24 -0
  692. package/dist/style/button.scss +43 -0
  693. package/dist/style/checkbox.scss +31 -0
  694. package/dist/style/chips.scss +23 -0
  695. package/dist/style/color.scss +42 -0
  696. package/dist/style/common.scss +1 -0
  697. package/dist/style/datepicker.scss +106 -0
  698. package/dist/style/drag.scss +40 -0
  699. package/dist/style/dropdown.scss +30 -0
  700. package/dist/style/font.scss +7 -0
  701. package/dist/style/hint.scss +13 -0
  702. package/dist/style/icon.scss +12 -0
  703. package/dist/style/input.scss +162 -0
  704. package/dist/style/layout.scss +109 -0
  705. package/dist/style/library.scss +208 -0
  706. package/dist/style/list.scss +70 -0
  707. package/dist/style/loader.scss +40 -0
  708. package/dist/style/message.scss +51 -0
  709. package/dist/style/modal.scss +29 -0
  710. package/dist/style/navigation.scss +26 -0
  711. package/dist/style/presets/color-presets.scss +151 -0
  712. package/dist/style/presets/font-presets.scss +132 -0
  713. package/dist/style/presets/layout-presets.scss +1 -0
  714. package/dist/style/presets/shadow-presets.scss +16 -0
  715. package/dist/style/presets/spacing-presets.scss +2 -0
  716. package/dist/style/progress.scss +28 -0
  717. package/dist/style/radio.scss +56 -0
  718. package/dist/style/reset.scss +35 -0
  719. package/dist/style/resize-panel.scss +58 -0
  720. package/dist/style/scroll.scss +60 -0
  721. package/dist/style/select.scss +108 -0
  722. package/dist/style/shadow.scss +23 -0
  723. package/dist/style/sidebar.scss +40 -0
  724. package/dist/style/sizing.scss +12 -0
  725. package/dist/style/spacing.scss +45 -0
  726. package/dist/style/switch.scss +36 -0
  727. package/dist/style/table.scss +226 -0
  728. package/dist/style/tabs.scss +64 -0
  729. package/dist/style/toggle.scss +70 -0
  730. package/dist/style/toolbar.scss +23 -0
  731. package/dist/style/tooltip.scss +60 -0
  732. package/dist/style/tree.scss +60 -0
  733. package/dist/style/util/button-util.scss +58 -0
  734. package/dist/style/util/color-util.scss +3 -0
  735. package/dist/style/util/font-util.scss +11 -0
  736. package/dist/style/util/scroll-util.scss +4 -0
  737. package/dist/style/util/shadow-util.scss +3 -0
  738. package/{tetacom-ng-components.d.ts → dist/tetacom-ng-components.d.ts} +0 -0
  739. package/{util → dist/util}/date-util.d.ts +0 -0
  740. package/{util → dist/util}/forms-util.d.ts +0 -0
  741. package/{util → dist/util}/public-api.d.ts +0 -0
  742. package/{util → dist/util}/string-util.d.ts +0 -0
  743. package/karma.conf.js +44 -0
  744. package/ng-package.json +11 -0
  745. package/package.json +2 -22
  746. package/src/Introduction.stories.mdx +178 -0
  747. package/src/common/contract/auto-close-ignore-case.ts +1 -0
  748. package/src/common/contract/constructor-type.ts +1 -0
  749. package/src/common/contract/dynamic-data.ts +11 -0
  750. package/src/common/contract/i-dictionary.ts +3 -0
  751. package/src/common/contract/i-id-name.ts +6 -0
  752. package/src/common/contract/i-rect.ts +8 -0
  753. package/src/common/contract/i-tree-data.ts +4 -0
  754. package/src/common/contract/public-api.ts +8 -0
  755. package/src/common/contract/teta-content-ref.ts +6 -0
  756. package/src/common/enum/align.enum.ts +8 -0
  757. package/src/common/enum/public-api.ts +3 -0
  758. package/src/common/enum/teta-size.enum.ts +7 -0
  759. package/src/common/enum/vertical-align.enum.ts +6 -0
  760. package/src/common/public-api.ts +4 -0
  761. package/src/common/service/click.service.spec.ts +16 -0
  762. package/src/common/service/click.service.ts +16 -0
  763. package/src/common/service/dynamic-component.service.spec.ts +16 -0
  764. package/src/common/service/dynamic-component.service.ts +134 -0
  765. package/src/common/service/overlay-container.service.spec.ts +16 -0
  766. package/src/common/service/overlay-container.service.ts +37 -0
  767. package/src/common/service/public-api.ts +3 -0
  768. package/src/common/util/array-util.ts +140 -0
  769. package/src/common/util/dom-util.ts +16 -0
  770. package/src/common/util/position-util.ts +112 -0
  771. package/src/common/util/public-api.ts +3 -0
  772. package/src/component/accordion/Accordion.stories.ts +49 -0
  773. package/src/component/accordion/accordion/accordion.component.html +1 -0
  774. package/src/component/accordion/accordion/accordion.component.scss +0 -0
  775. package/src/component/accordion/accordion/accordion.component.spec.ts +25 -0
  776. package/src/component/accordion/accordion/accordion.component.ts +20 -0
  777. package/src/component/accordion/accordion-content.directive.spec.ts +8 -0
  778. package/src/component/accordion/accordion-content.directive.ts +9 -0
  779. package/src/component/accordion/accordion-head/accordion-head.component.html +6 -0
  780. package/src/component/accordion/accordion-head/accordion-head.component.scss +0 -0
  781. package/src/component/accordion/accordion-head/accordion-head.component.spec.ts +25 -0
  782. package/src/component/accordion/accordion-head/accordion-head.component.ts +54 -0
  783. package/src/component/accordion/accordion-item/accordion-item.component.html +4 -0
  784. package/src/component/accordion/accordion-item/accordion-item.component.scss +0 -0
  785. package/src/component/accordion/accordion-item/accordion-item.component.spec.ts +25 -0
  786. package/src/component/accordion/accordion-item/accordion-item.component.ts +48 -0
  787. package/src/component/accordion/accordion.module.ts +18 -0
  788. package/src/component/accordion/public-api.ts +5 -0
  789. package/src/component/button/Button.stories.ts +61 -0
  790. package/src/component/button/button/button.component.html +1 -0
  791. package/src/component/button/button/button.component.scss +0 -0
  792. package/src/component/button/button/button.component.spec.ts +25 -0
  793. package/src/component/button/button/button.component.ts +42 -0
  794. package/src/component/button/button.module.ts +16 -0
  795. package/src/component/button/public-api.ts +2 -0
  796. package/src/component/chart/Chart.stories.ts +97 -0
  797. package/src/component/chart/chart/chart.component.html +9 -0
  798. package/src/component/chart/chart/chart.component.scss +70 -0
  799. package/src/component/chart/chart/chart.component.spec.ts +25 -0
  800. package/src/component/chart/chart/chart.component.ts +241 -0
  801. package/src/component/chart/chart-data.ts +653 -0
  802. package/src/component/chart/chart.module.ts +10 -0
  803. package/src/component/chart/color-list.ts +22 -0
  804. package/src/component/chart/core/axis-creator.ts +130 -0
  805. package/src/component/chart/core/chart.ts +1831 -0
  806. package/src/component/chart/core/public-api.ts +2 -0
  807. package/src/component/chart/drawer/area-drawer.ts +30 -0
  808. package/src/component/chart/drawer/bar-drawer.ts +36 -0
  809. package/src/component/chart/drawer/contour-drawer.ts +47 -0
  810. package/src/component/chart/drawer/default-drawer-mapping.ts +19 -0
  811. package/src/component/chart/drawer/line-drawer.ts +203 -0
  812. package/src/component/chart/drawer/pie-drawer.ts +13 -0
  813. package/src/component/chart/drawer/public-api.ts +6 -0
  814. package/src/component/chart/drawer/scatter-drawer.ts +138 -0
  815. package/src/component/chart/drawer/spline-drawer.ts +33 -0
  816. package/src/component/chart/legend-drawer/default-drawer-legend-mapping.ts +8 -0
  817. package/src/component/chart/legend-drawer/gradient-drawer.ts +65 -0
  818. package/src/component/chart/legend-drawer/swatch-drawer.ts +81 -0
  819. package/src/component/chart/model/annotation.ts +96 -0
  820. package/src/component/chart/model/axis-options.ts +65 -0
  821. package/src/component/chart/model/chart-bounds.ts +18 -0
  822. package/src/component/chart/model/chart-options.ts +79 -0
  823. package/src/component/chart/model/enum/axis-type.ts +4 -0
  824. package/src/component/chart/model/enum/dispatch-type.ts +4 -0
  825. package/src/component/chart/model/enum/drag-point-type.ts +5 -0
  826. package/src/component/chart/model/enum/legend-type.ts +4 -0
  827. package/src/component/chart/model/enum/public-api.ts +7 -0
  828. package/src/component/chart/model/enum/scale-type.ts +7 -0
  829. package/src/component/chart/model/enum/scale.ts +5 -0
  830. package/src/component/chart/model/enum/series-type.ts +10 -0
  831. package/src/component/chart/model/enum/zoom-type.ts +5 -0
  832. package/src/component/chart/model/i-drag-event.ts +5 -0
  833. package/src/component/chart/model/i-drawer-legend.ts +14 -0
  834. package/src/component/chart/model/i-drawer.ts +19 -0
  835. package/src/component/chart/model/i-zoom-event.ts +9 -0
  836. package/src/component/chart/model/plot-band.ts +43 -0
  837. package/src/component/chart/model/plot-line.ts +30 -0
  838. package/src/component/chart/model/point/bar-point.ts +7 -0
  839. package/src/component/chart/model/point/base-point.ts +10 -0
  840. package/src/component/chart/model/point/contour-point.ts +5 -0
  841. package/src/component/chart/model/point/marker-options.ts +12 -0
  842. package/src/component/chart/model/point/public-api.ts +3 -0
  843. package/src/component/chart/model/point/scatter-point.ts +6 -0
  844. package/src/component/chart/model/public-api.ts +16 -0
  845. package/src/component/chart/model/series.ts +85 -0
  846. package/src/component/chart/model/tooltip-options.ts +35 -0
  847. package/src/component/chart/public-api.ts +6 -0
  848. package/src/component/chart-3d/chart-3d.module.ts +10 -0
  849. package/src/component/chart-3d/chart3d/chart3d.component.html +1 -0
  850. package/src/component/chart-3d/chart3d/chart3d.component.scss +5 -0
  851. package/src/component/chart-3d/chart3d/chart3d.component.spec.ts +25 -0
  852. package/src/component/chart-3d/chart3d/chart3d.component.ts +336 -0
  853. package/src/component/chart-3d/model/base-3d-point.ts +5 -0
  854. package/src/component/chart-3d/model/chart-3d-options.ts +15 -0
  855. package/src/component/chart-3d/model/public-api.ts +2 -0
  856. package/src/component/chart-3d/model/series-3d.ts +11 -0
  857. package/src/component/chart-3d/public-api.ts +3 -0
  858. package/src/component/checkbox/Checkbox.mdx +18 -0
  859. package/src/component/checkbox/Checkbox.stories.ts +92 -0
  860. package/src/component/checkbox/checkbox/checkbox.component.html +6 -0
  861. package/src/component/checkbox/checkbox/checkbox.component.scss +0 -0
  862. package/src/component/checkbox/checkbox/checkbox.component.spec.ts +25 -0
  863. package/src/component/checkbox/checkbox/checkbox.component.ts +149 -0
  864. package/src/component/checkbox/checkbox.module.ts +17 -0
  865. package/src/component/checkbox/public-api.ts +2 -0
  866. package/src/component/date-picker/DatePicker.stories.ts +51 -0
  867. package/src/component/date-picker/MonthPicker.stories.ts +32 -0
  868. package/src/component/date-picker/date-picker/date-picker.component.html +91 -0
  869. package/src/component/date-picker/date-picker/date-picker.component.scss +0 -0
  870. package/src/component/date-picker/date-picker/date-picker.component.spec.ts +25 -0
  871. package/src/component/date-picker/date-picker/date-picker.component.ts +305 -0
  872. package/src/component/date-picker/date-picker.module.ts +38 -0
  873. package/src/component/date-picker/day-select/day-select.component.html +23 -0
  874. package/src/component/date-picker/day-select/day-select.component.scss +0 -0
  875. package/src/component/date-picker/day-select/day-select.component.spec.ts +25 -0
  876. package/src/component/date-picker/day-select/day-select.component.ts +216 -0
  877. package/src/component/date-picker/model/date-period.ts +9 -0
  878. package/src/component/date-picker/model/date-picker-mode.enum.ts +5 -0
  879. package/src/component/date-picker/model/day-model.ts +26 -0
  880. package/src/component/date-picker/model/picker-locale-model.ts +26 -0
  881. package/src/component/date-picker/month-picker/month-picker.component.html +64 -0
  882. package/src/component/date-picker/month-picker/month-picker.component.scss +0 -0
  883. package/src/component/date-picker/month-picker/month-picker.component.spec.ts +25 -0
  884. package/src/component/date-picker/month-picker/month-picker.component.ts +278 -0
  885. package/src/component/date-picker/month-select/month-select.component.html +15 -0
  886. package/src/component/date-picker/month-select/month-select.component.scss +3 -0
  887. package/src/component/date-picker/month-select/month-select.component.spec.ts +25 -0
  888. package/src/component/date-picker/month-select/month-select.component.ts +193 -0
  889. package/src/component/date-picker/public-api.ts +5 -0
  890. package/src/component/date-picker/service/picker-locale.service.spec.ts +14 -0
  891. package/src/component/date-picker/service/picker-locale.service.ts +27 -0
  892. package/src/component/date-picker/service/picker-touch.service.spec.ts +16 -0
  893. package/src/component/date-picker/service/picker-touch.service.ts +38 -0
  894. package/src/component/date-picker/time-part-control/time-part-control.component.html +9 -0
  895. package/src/component/date-picker/time-part-control/time-part-control.component.scss +4 -0
  896. package/src/component/date-picker/time-part-control/time-part-control.component.spec.ts +25 -0
  897. package/src/component/date-picker/time-part-control/time-part-control.component.ts +86 -0
  898. package/src/component/date-picker/util/date-picker-util.spec.ts +7 -0
  899. package/src/component/date-picker/util/date-picker-util.ts +227 -0
  900. package/src/component/date-picker/year-select/year-select.component.html +11 -0
  901. package/src/component/date-picker/year-select/year-select.component.scss +3 -0
  902. package/src/component/date-picker/year-select/year-select.component.spec.ts +25 -0
  903. package/src/component/date-picker/year-select/year-select.component.ts +229 -0
  904. package/src/component/delimiter/Delimiter.stories.ts +54 -0
  905. package/src/component/delimiter/delimiter/delimiter.component.html +0 -0
  906. package/src/component/delimiter/delimiter/delimiter.component.scss +3 -0
  907. package/src/component/delimiter/delimiter/delimiter.component.spec.ts +25 -0
  908. package/src/component/delimiter/delimiter/delimiter.component.ts +56 -0
  909. package/src/component/delimiter/delimiter.module.ts +13 -0
  910. package/src/component/delimiter/public-api.ts +2 -0
  911. package/src/component/dropdown/Dropdown.stories.ts +167 -0
  912. package/src/component/dropdown/dropdown/dropdown.component.html +1 -0
  913. package/src/component/dropdown/dropdown/dropdown.component.scss +0 -0
  914. package/src/component/dropdown/dropdown/dropdown.component.spec.ts +25 -0
  915. package/src/component/dropdown/dropdown/dropdown.component.ts +41 -0
  916. package/src/component/dropdown/dropdown-base.spec.ts +7 -0
  917. package/src/component/dropdown/dropdown-base.ts +225 -0
  918. package/src/component/dropdown/dropdown-content.directive.spec.ts +8 -0
  919. package/src/component/dropdown/dropdown-content.directive.ts +12 -0
  920. package/src/component/dropdown/dropdown-head.directive.spec.ts +8 -0
  921. package/src/component/dropdown/dropdown-head.directive.ts +9 -0
  922. package/src/component/dropdown/dropdown.directive.spec.ts +8 -0
  923. package/src/component/dropdown/dropdown.directive.ts +39 -0
  924. package/src/component/dropdown/dropdown.module.ts +26 -0
  925. package/src/component/dropdown/public-api.ts +5 -0
  926. package/src/component/dynamic-component/dynamic-component.module.ts +13 -0
  927. package/src/component/dynamic-component/popup-content/popup-content.component.html +1 -0
  928. package/src/component/dynamic-component/popup-content/popup-content.component.scss +0 -0
  929. package/src/component/dynamic-component/popup-content/popup-content.component.spec.ts +25 -0
  930. package/src/component/dynamic-component/popup-content/popup-content.component.ts +56 -0
  931. package/src/component/dynamic-component/public-api.ts +2 -0
  932. package/src/component/expand-panel/ExpandPanel.stories.ts +22 -0
  933. package/src/component/expand-panel/expand-panel/expand-panel.component.html +36 -0
  934. package/src/component/expand-panel/expand-panel/expand-panel.component.scss +9 -0
  935. package/src/component/expand-panel/expand-panel/expand-panel.component.spec.ts +25 -0
  936. package/src/component/expand-panel/expand-panel/expand-panel.component.ts +65 -0
  937. package/src/component/expand-panel/expand-panel-content.directive.spec.ts +8 -0
  938. package/src/component/expand-panel/expand-panel-content.directive.ts +8 -0
  939. package/src/component/expand-panel/expand-panel-head.directive.spec.ts +8 -0
  940. package/src/component/expand-panel/expand-panel-head.directive.ts +8 -0
  941. package/src/component/expand-panel/expand-panel.module.ts +30 -0
  942. package/src/component/expand-panel/public-api.ts +4 -0
  943. package/src/component/file-upload/File.stories.ts +36 -0
  944. package/src/component/file-upload/file-item/file-item.component.html +1 -0
  945. package/src/component/file-upload/file-item/file-item.component.scss +0 -0
  946. package/src/component/file-upload/file-item/file-item.component.spec.ts +25 -0
  947. package/src/component/file-upload/file-item/file-item.component.ts +12 -0
  948. package/src/component/file-upload/file-upload-area/file-upload-area.component.html +16 -0
  949. package/src/component/file-upload/file-upload-area/file-upload-area.component.scss +3 -0
  950. package/src/component/file-upload/file-upload-area/file-upload-area.component.spec.ts +25 -0
  951. package/src/component/file-upload/file-upload-area/file-upload-area.component.ts +75 -0
  952. package/src/component/file-upload/file-upload.module.ts +13 -0
  953. package/src/component/file-upload/public-api.ts +3 -0
  954. package/src/component/filter/base/filter-base.spec.ts +7 -0
  955. package/src/component/filter/base/filter-base.ts +17 -0
  956. package/src/component/filter/base/filter-component-base.spec.ts +7 -0
  957. package/src/component/filter/base/filter-component-base.ts +13 -0
  958. package/src/component/filter/boolean-filter/boolean-filter.component.html +7 -0
  959. package/src/component/filter/boolean-filter/boolean-filter.component.scss +0 -0
  960. package/src/component/filter/boolean-filter/boolean-filter.component.spec.ts +25 -0
  961. package/src/component/filter/boolean-filter/boolean-filter.component.ts +71 -0
  962. package/src/component/filter/contarct/boolean-filter.ts +12 -0
  963. package/src/component/filter/contarct/date-filter-value.ts +20 -0
  964. package/src/component/filter/contarct/date-filter.ts +17 -0
  965. package/src/component/filter/contarct/filter-component-map.ts +24 -0
  966. package/src/component/filter/contarct/filter-item.ts +95 -0
  967. package/src/component/filter/contarct/filter-state.ts +172 -0
  968. package/src/component/filter/contarct/i-filter.ts +5 -0
  969. package/src/component/filter/contarct/list-filter.ts +20 -0
  970. package/src/component/filter/contarct/numeric-filter-value.ts +26 -0
  971. package/src/component/filter/contarct/numeric-filter.ts +20 -0
  972. package/src/component/filter/contarct/sort-param.ts +29 -0
  973. package/src/component/filter/contarct/string-filter.ts +21 -0
  974. package/src/component/filter/date-filter/date-filter.component.html +14 -0
  975. package/src/component/filter/date-filter/date-filter.component.scss +0 -0
  976. package/src/component/filter/date-filter/date-filter.component.spec.ts +25 -0
  977. package/src/component/filter/date-filter/date-filter.component.ts +68 -0
  978. package/src/component/filter/enum/filter-type.enum.ts +8 -0
  979. package/src/component/filter/enum/list-filter-type.enum.ts +4 -0
  980. package/src/component/filter/enum/string-filter-type.enum.ts +18 -0
  981. package/src/component/filter/filter-host/filter-host.component.html +1 -0
  982. package/src/component/filter/filter-host/filter-host.component.scss +0 -0
  983. package/src/component/filter/filter-host/filter-host.component.spec.ts +25 -0
  984. package/src/component/filter/filter-host/filter-host.component.ts +90 -0
  985. package/src/component/filter/filter-panel/filter-panel.component.html +1 -0
  986. package/src/component/filter/filter-panel/filter-panel.component.scss +0 -0
  987. package/src/component/filter/filter-panel/filter-panel.component.spec.ts +25 -0
  988. package/src/component/filter/filter-panel/filter-panel.component.ts +13 -0
  989. package/src/component/filter/filter.module.ts +46 -0
  990. package/src/component/filter/list-filter/list-filter.component.html +21 -0
  991. package/src/component/filter/list-filter/list-filter.component.scss +7 -0
  992. package/src/component/filter/list-filter/list-filter.component.spec.ts +25 -0
  993. package/src/component/filter/list-filter/list-filter.component.ts +109 -0
  994. package/src/component/filter/numeric-filter/numeric-filter.component.html +14 -0
  995. package/src/component/filter/numeric-filter/numeric-filter.component.scss +0 -0
  996. package/src/component/filter/numeric-filter/numeric-filter.component.spec.ts +25 -0
  997. package/src/component/filter/numeric-filter/numeric-filter.component.ts +72 -0
  998. package/src/component/filter/public-api.ts +27 -0
  999. package/src/component/filter/string-filter/string-filter.component.html +6 -0
  1000. package/src/component/filter/string-filter/string-filter.component.scss +0 -0
  1001. package/src/component/filter/string-filter/string-filter.component.spec.ts +25 -0
  1002. package/src/component/filter/string-filter/string-filter.component.ts +73 -0
  1003. package/src/component/icon/Icon.stories.ts +46 -0
  1004. package/src/component/icon/icon/icon.component.html +3 -0
  1005. package/src/component/icon/icon/icon.component.scss +0 -0
  1006. package/src/component/icon/icon/icon.component.spec.ts +25 -0
  1007. package/src/component/icon/icon/icon.component.ts +39 -0
  1008. package/src/component/icon/icon-sprite.directive.spec.ts +8 -0
  1009. package/src/component/icon/icon-sprite.directive.ts +24 -0
  1010. package/src/component/icon/icon.module.ts +23 -0
  1011. package/src/component/icon/icon.service.spec.ts +16 -0
  1012. package/src/component/icon/icon.service.ts +57 -0
  1013. package/src/component/icon/icons-list.ts +173 -0
  1014. package/src/component/icon/public-api.ts +4 -0
  1015. package/src/component/input/Input.stories.ts +142 -0
  1016. package/src/component/input/form-group-title/form-group-title.component.html +4 -0
  1017. package/src/component/input/form-group-title/form-group-title.component.scss +0 -0
  1018. package/src/component/input/form-group-title/form-group-title.component.spec.ts +25 -0
  1019. package/src/component/input/form-group-title/form-group-title.component.ts +20 -0
  1020. package/src/component/input/input/input.component.html +12 -0
  1021. package/src/component/input/input/input.component.scss +6 -0
  1022. package/src/component/input/input/input.component.spec.ts +25 -0
  1023. package/src/component/input/input/input.component.ts +33 -0
  1024. package/src/component/input/input.module.ts +15 -0
  1025. package/src/component/input/public-api.ts +4 -0
  1026. package/src/component/input/sample-input/sample-input/sample-input.component.html +28 -0
  1027. package/src/component/input/sample-input/sample-input/sample-input.component.scss +25 -0
  1028. package/src/component/input/sample-input/sample-input/sample-input.component.spec.ts +25 -0
  1029. package/src/component/input/sample-input/sample-input/sample-input.component.ts +38 -0
  1030. package/src/component/input/sample-input/sample-input.module.ts +22 -0
  1031. package/src/component/input/text-field/text-field.component.html +19 -0
  1032. package/src/component/input/text-field/text-field.component.scss +0 -0
  1033. package/src/component/input/text-field/text-field.component.spec.ts +25 -0
  1034. package/src/component/input/text-field/text-field.component.ts +84 -0
  1035. package/src/component/list/List.stories.ts +56 -0
  1036. package/src/component/list/list.module.ts +12 -0
  1037. package/src/component/message/Message.stories.ts +20 -0
  1038. package/src/component/message/message/message.component.html +18 -0
  1039. package/src/component/message/message/message.component.scss +0 -0
  1040. package/src/component/message/message/message.component.spec.ts +25 -0
  1041. package/src/component/message/message/message.component.ts +80 -0
  1042. package/src/component/message/message-host/message-host.component.html +6 -0
  1043. package/src/component/message/message-host/message-host.component.scss +0 -0
  1044. package/src/component/message/message-host/message-host.component.spec.ts +25 -0
  1045. package/src/component/message/message-host/message-host.component.ts +94 -0
  1046. package/src/component/message/message-samples/message-sample/message-sample.component.html +31 -0
  1047. package/src/component/message/message-samples/message-sample/message-sample.component.scss +0 -0
  1048. package/src/component/message/message-samples/message-sample/message-sample.component.spec.ts +25 -0
  1049. package/src/component/message/message-samples/message-sample/message-sample.component.ts +40 -0
  1050. package/src/component/message/message-samples/message-samples.module.ts +19 -0
  1051. package/src/component/message/message.module.ts +18 -0
  1052. package/src/component/message/message.service.spec.ts +16 -0
  1053. package/src/component/message/message.service.ts +38 -0
  1054. package/src/component/message/model/message.spec.ts +7 -0
  1055. package/src/component/message/model/message.ts +38 -0
  1056. package/src/component/message/public-api.ts +5 -0
  1057. package/src/component/modal/Modal.stories.ts +43 -0
  1058. package/src/component/modal/dialog/dialog.component.html +20 -0
  1059. package/src/component/modal/dialog/dialog.component.scss +5 -0
  1060. package/src/component/modal/dialog/dialog.component.spec.ts +25 -0
  1061. package/src/component/modal/dialog/dialog.component.ts +33 -0
  1062. package/src/component/modal/dialog.service.spec.ts +16 -0
  1063. package/src/component/modal/dialog.service.ts +59 -0
  1064. package/src/component/modal/modal-container/modal-container.component.html +3 -0
  1065. package/src/component/modal/modal-container/modal-container.component.scss +0 -0
  1066. package/src/component/modal/modal-container/modal-container.component.spec.ts +25 -0
  1067. package/src/component/modal/modal-container/modal-container.component.ts +76 -0
  1068. package/src/component/modal/modal-samples/alert-sample/alert-sample.component.html +13 -0
  1069. package/src/component/modal/modal-samples/alert-sample/alert-sample.component.scss +0 -0
  1070. package/src/component/modal/modal-samples/alert-sample/alert-sample.component.spec.ts +25 -0
  1071. package/src/component/modal/modal-samples/alert-sample/alert-sample.component.ts +31 -0
  1072. package/src/component/modal/modal-samples/modal-example/modal-example.component.html +24 -0
  1073. package/src/component/modal/modal-samples/modal-example/modal-example.component.scss +0 -0
  1074. package/src/component/modal/modal-samples/modal-example/modal-example.component.spec.ts +25 -0
  1075. package/src/component/modal/modal-samples/modal-example/modal-example.component.ts +18 -0
  1076. package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.html +3 -0
  1077. package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.scss +0 -0
  1078. package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.spec.ts +25 -0
  1079. package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.ts +31 -0
  1080. package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.html +31 -0
  1081. package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.scss +0 -0
  1082. package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.spec.ts +25 -0
  1083. package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.ts +34 -0
  1084. package/src/component/modal/modal-samples/modal-samples.module.ts +43 -0
  1085. package/src/component/modal/modal.module.ts +28 -0
  1086. package/src/component/modal/modal.service.spec.ts +16 -0
  1087. package/src/component/modal/modal.service.ts +153 -0
  1088. package/src/component/modal/model/current-modal.ts +5 -0
  1089. package/src/component/modal/model/i-modal-config.ts +12 -0
  1090. package/src/component/modal/model/i-modal-result.ts +13 -0
  1091. package/src/component/modal/model/modal-close-reason.enum.ts +6 -0
  1092. package/src/component/modal/model/modal-instance.ts +44 -0
  1093. package/src/component/modal/public-api.ts +11 -0
  1094. package/src/component/pager/Pager.stories.ts +19 -0
  1095. package/src/component/pager/model/pager-state.spec.ts +7 -0
  1096. package/src/component/pager/model/pager-state.ts +80 -0
  1097. package/src/component/pager/pager/pager.component.html +1 -0
  1098. package/src/component/pager/pager/pager.component.scss +0 -0
  1099. package/src/component/pager/pager/pager.component.spec.ts +25 -0
  1100. package/src/component/pager/pager/pager.component.ts +13 -0
  1101. package/src/component/pager/pager.module.ts +15 -0
  1102. package/src/component/pager/public-api.ts +4 -0
  1103. package/src/component/pager/util/pager-util.spec.ts +7 -0
  1104. package/src/component/pager/util/pager-util.ts +7 -0
  1105. package/src/component/panel/panel/panel.component.html +1 -0
  1106. package/src/component/panel/panel/panel.component.scss +0 -0
  1107. package/src/component/panel/panel/panel.component.spec.ts +25 -0
  1108. package/src/component/panel/panel/panel.component.ts +42 -0
  1109. package/src/component/panel/panel.module.ts +13 -0
  1110. package/src/component/panel/public-api.ts +2 -0
  1111. package/src/component/progress-bar/ProgressBar.stories.ts +29 -0
  1112. package/src/component/progress-bar/progress-bar/progress-bar.component.html +7 -0
  1113. package/src/component/progress-bar/progress-bar/progress-bar.component.scss +0 -0
  1114. package/src/component/progress-bar/progress-bar/progress-bar.component.spec.ts +25 -0
  1115. package/src/component/progress-bar/progress-bar/progress-bar.component.ts +158 -0
  1116. package/src/component/progress-bar/progress-bar.module.ts +13 -0
  1117. package/src/component/progress-bar/public-api.ts +2 -0
  1118. package/src/component/property-grid/PropertyGrid.stories.ts +110 -0
  1119. package/src/component/property-grid/default/date-item-default/date-item-default.component.html +1 -0
  1120. package/src/component/property-grid/default/date-item-default/date-item-default.component.scss +0 -0
  1121. package/src/component/property-grid/default/date-item-default/date-item-default.component.spec.ts +25 -0
  1122. package/src/component/property-grid/default/date-item-default/date-item-default.component.ts +13 -0
  1123. package/src/component/property-grid/default/list-item-default/list-item-default.component.html +1 -0
  1124. package/src/component/property-grid/default/list-item-default/list-item-default.component.scss +0 -0
  1125. package/src/component/property-grid/default/list-item-default/list-item-default.component.spec.ts +25 -0
  1126. package/src/component/property-grid/default/list-item-default/list-item-default.component.ts +13 -0
  1127. package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.html +1 -0
  1128. package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.scss +0 -0
  1129. package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.spec.ts +25 -0
  1130. package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.ts +13 -0
  1131. package/src/component/property-grid/default/string-item-default/string-item-default.component.html +1 -0
  1132. package/src/component/property-grid/default/string-item-default/string-item-default.component.scss +0 -0
  1133. package/src/component/property-grid/default/string-item-default/string-item-default.component.spec.ts +25 -0
  1134. package/src/component/property-grid/default/string-item-default/string-item-default.component.ts +13 -0
  1135. package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.html +20 -0
  1136. package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.scss +0 -0
  1137. package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.spec.ts +25 -0
  1138. package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.ts +31 -0
  1139. package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.html +39 -0
  1140. package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.scss +0 -0
  1141. package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.spec.ts +24 -0
  1142. package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.ts +122 -0
  1143. package/src/component/property-grid/property-grid/property-grid.component.html +18 -0
  1144. package/src/component/property-grid/property-grid/property-grid.component.scss +3 -0
  1145. package/src/component/property-grid/property-grid/property-grid.component.spec.ts +25 -0
  1146. package/src/component/property-grid/property-grid/property-grid.component.ts +62 -0
  1147. package/src/component/property-grid/property-grid.module.ts +53 -0
  1148. package/src/component/property-grid/public-api.ts +2 -0
  1149. package/src/component/public-api.ts +89 -0
  1150. package/src/component/radio/Radio.stories.ts +28 -0
  1151. package/src/component/radio/public-api.ts +3 -0
  1152. package/src/component/radio/radio/radio.component.html +1 -0
  1153. package/src/component/radio/radio/radio.component.scss +0 -0
  1154. package/src/component/radio/radio/radio.component.spec.ts +26 -0
  1155. package/src/component/radio/radio/radio.component.ts +264 -0
  1156. package/src/component/radio/radio-button/radio-button.component.html +4 -0
  1157. package/src/component/radio/radio-button/radio-button.component.scss +0 -0
  1158. package/src/component/radio/radio-button/radio-button.component.spec.ts +26 -0
  1159. package/src/component/radio/radio-button/radio-button.component.ts +71 -0
  1160. package/src/component/radio/radio.module.ts +12 -0
  1161. package/src/component/resize-panel/Resize.stories.ts +83 -0
  1162. package/src/component/resize-panel/public-api.ts +2 -0
  1163. package/src/component/resize-panel/resize-panel/resize-panel.component.html +9 -0
  1164. package/src/component/resize-panel/resize-panel/resize-panel.component.scss +0 -0
  1165. package/src/component/resize-panel/resize-panel/resize-panel.component.spec.ts +25 -0
  1166. package/src/component/resize-panel/resize-panel/resize-panel.component.ts +210 -0
  1167. package/src/component/resize-panel/resize-panel.module.ts +12 -0
  1168. package/src/component/select/Select.stories.ts +254 -0
  1169. package/src/component/select/public-api.ts +4 -0
  1170. package/src/component/select/select/select.component.html +92 -0
  1171. package/src/component/select/select/select.component.scss +0 -0
  1172. package/src/component/select/select/select.component.spec.ts +25 -0
  1173. package/src/component/select/select/select.component.ts +222 -0
  1174. package/src/component/select/select-option.directive.spec.ts +8 -0
  1175. package/src/component/select/select-option.directive.ts +9 -0
  1176. package/src/component/select/select-value.directive.spec.ts +8 -0
  1177. package/src/component/select/select-value.directive.ts +9 -0
  1178. package/src/component/select/select.module.ts +26 -0
  1179. package/src/component/sidebar/Sidebar.stories.ts +61 -0
  1180. package/src/component/sidebar/public-api.ts +3 -0
  1181. package/src/component/sidebar/sidebar/sidebar.component.html +14 -0
  1182. package/src/component/sidebar/sidebar/sidebar.component.scss +0 -0
  1183. package/src/component/sidebar/sidebar/sidebar.component.spec.ts +25 -0
  1184. package/src/component/sidebar/sidebar/sidebar.component.ts +47 -0
  1185. package/src/component/sidebar/sidebar-position.enum.ts +6 -0
  1186. package/src/component/sidebar/sidebar.module.ts +16 -0
  1187. package/src/component/switch/Switch.stories.ts +37 -0
  1188. package/src/component/switch/public-api.ts +3 -0
  1189. package/src/component/switch/switch/switch.component.html +1 -0
  1190. package/src/component/switch/switch/switch.component.scss +0 -0
  1191. package/src/component/switch/switch/switch.component.spec.ts +25 -0
  1192. package/src/component/switch/switch/switch.component.ts +70 -0
  1193. package/src/component/switch/switch-button/switch-button.component.html +1 -0
  1194. package/src/component/switch/switch-button/switch-button.component.scss +0 -0
  1195. package/src/component/switch/switch-button/switch-button.component.spec.ts +25 -0
  1196. package/src/component/switch/switch-button/switch-button.component.ts +55 -0
  1197. package/src/component/switch/switch.module.ts +15 -0
  1198. package/src/component/switch/switch.service.spec.ts +16 -0
  1199. package/src/component/switch/switch.service.ts +18 -0
  1200. package/src/component/table/Table.stories.ts +102 -0
  1201. package/src/component/table/base/cell-component-base.ts +146 -0
  1202. package/src/component/table/base/detail-component-base.ts +13 -0
  1203. package/src/component/table/base/group-row-component-base.ts +13 -0
  1204. package/src/component/table/base/head-cell-component-base.ts +12 -0
  1205. package/src/component/table/cell/cell.component.html +4 -0
  1206. package/src/component/table/cell/cell.component.scss +0 -0
  1207. package/src/component/table/cell/cell.component.spec.ts +25 -0
  1208. package/src/component/table/cell/cell.component.ts +37 -0
  1209. package/src/component/table/cell-host/cell-host.component.html +1 -0
  1210. package/src/component/table/cell-host/cell-host.component.scss +0 -0
  1211. package/src/component/table/cell-host/cell-host.component.spec.ts +25 -0
  1212. package/src/component/table/cell-host/cell-host.component.ts +67 -0
  1213. package/src/component/table/contract/cell-components-map.ts +24 -0
  1214. package/src/component/table/contract/column-reorder-event.ts +11 -0
  1215. package/src/component/table/contract/column-resize-event.ts +11 -0
  1216. package/src/component/table/contract/i-cell-coordinates.ts +8 -0
  1217. package/src/component/table/contract/i-cell-event.ts +5 -0
  1218. package/src/component/table/contract/i-cell-value.ts +6 -0
  1219. package/src/component/table/contract/public-api.ts +11 -0
  1220. package/src/component/table/contract/sort-event.ts +11 -0
  1221. package/src/component/table/contract/table-column-store.ts +24 -0
  1222. package/src/component/table/contract/table-column.ts +172 -0
  1223. package/src/component/table/contract/table-context-menu-config.ts +23 -0
  1224. package/src/component/table/contract/table-row.ts +51 -0
  1225. package/src/component/table/default/boolean-cell/boolean-cell.component.html +10 -0
  1226. package/src/component/table/default/boolean-cell/boolean-cell.component.scss +0 -0
  1227. package/src/component/table/default/boolean-cell/boolean-cell.component.spec.ts +25 -0
  1228. package/src/component/table/default/boolean-cell/boolean-cell.component.ts +54 -0
  1229. package/src/component/table/default/date-cell/date-cell.component.html +11 -0
  1230. package/src/component/table/default/date-cell/date-cell.component.scss +0 -0
  1231. package/src/component/table/default/date-cell/date-cell.component.spec.ts +25 -0
  1232. package/src/component/table/default/date-cell/date-cell.component.ts +59 -0
  1233. package/src/component/table/default/date-time-cell/date-time-cell.component.html +10 -0
  1234. package/src/component/table/default/date-time-cell/date-time-cell.component.scss +0 -0
  1235. package/src/component/table/default/date-time-cell/date-time-cell.component.spec.ts +25 -0
  1236. package/src/component/table/default/date-time-cell/date-time-cell.component.ts +56 -0
  1237. package/src/component/table/default/default-head-cell/default-head-cell.component.html +8 -0
  1238. package/src/component/table/default/default-head-cell/default-head-cell.component.scss +6 -0
  1239. package/src/component/table/default/default-head-cell/default-head-cell.component.spec.ts +25 -0
  1240. package/src/component/table/default/default-head-cell/default-head-cell.component.ts +38 -0
  1241. package/src/component/table/default/group-row/group-row.component.html +2 -0
  1242. package/src/component/table/default/group-row/group-row.component.scss +0 -0
  1243. package/src/component/table/default/group-row/group-row.component.spec.ts +25 -0
  1244. package/src/component/table/default/group-row/group-row.component.ts +29 -0
  1245. package/src/component/table/default/list-cell/list-cell.component.html +15 -0
  1246. package/src/component/table/default/list-cell/list-cell.component.scss +0 -0
  1247. package/src/component/table/default/list-cell/list-cell.component.spec.ts +25 -0
  1248. package/src/component/table/default/list-cell/list-cell.component.ts +85 -0
  1249. package/src/component/table/default/numeric-cell/numeric-cell.component.html +11 -0
  1250. package/src/component/table/default/numeric-cell/numeric-cell.component.scss +3 -0
  1251. package/src/component/table/default/numeric-cell/numeric-cell.component.spec.ts +25 -0
  1252. package/src/component/table/default/numeric-cell/numeric-cell.component.ts +57 -0
  1253. package/src/component/table/default/string-cell/string-cell.component.html +11 -0
  1254. package/src/component/table/default/string-cell/string-cell.component.scss +0 -0
  1255. package/src/component/table/default/string-cell/string-cell.component.spec.ts +25 -0
  1256. package/src/component/table/default/string-cell/string-cell.component.ts +54 -0
  1257. package/src/component/table/enum/aggregation-type.enum.ts +7 -0
  1258. package/src/component/table/enum/edit-event.enum.ts +5 -0
  1259. package/src/component/table/enum/edit-type.enum.ts +4 -0
  1260. package/src/component/table/enum/public-api.ts +4 -0
  1261. package/src/component/table/enum/select-type.enum.ts +5 -0
  1262. package/src/component/table/head-cell/head-cell.component.html +45 -0
  1263. package/src/component/table/head-cell/head-cell.component.scss +16 -0
  1264. package/src/component/table/head-cell/head-cell.component.spec.ts +25 -0
  1265. package/src/component/table/head-cell/head-cell.component.ts +150 -0
  1266. package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.html +145 -0
  1267. package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.scss +6 -0
  1268. package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.spec.ts +25 -0
  1269. package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.ts +240 -0
  1270. package/src/component/table/head-cell-host/head-cell-host.component.html +1 -0
  1271. package/src/component/table/head-cell-host/head-cell-host.component.scss +3 -0
  1272. package/src/component/table/head-cell-host/head-cell-host.component.spec.ts +25 -0
  1273. package/src/component/table/head-cell-host/head-cell-host.component.ts +50 -0
  1274. package/src/component/table/public-api.ts +48 -0
  1275. package/src/component/table/selection-cell/selection-cell.component.html +4 -0
  1276. package/src/component/table/selection-cell/selection-cell.component.scss +5 -0
  1277. package/src/component/table/selection-cell/selection-cell.component.spec.ts +25 -0
  1278. package/src/component/table/selection-cell/selection-cell.component.ts +50 -0
  1279. package/src/component/table/selection-head-cell/selection-head-cell.component.html +5 -0
  1280. package/src/component/table/selection-head-cell/selection-head-cell.component.scss +5 -0
  1281. package/src/component/table/selection-head-cell/selection-head-cell.component.spec.ts +25 -0
  1282. package/src/component/table/selection-head-cell/selection-head-cell.component.ts +49 -0
  1283. package/src/component/table/service/table.service.spec.ts +16 -0
  1284. package/src/component/table/service/table.service.ts +570 -0
  1285. package/src/component/table/table/table.component.html +68 -0
  1286. package/src/component/table/table/table.component.scss +0 -0
  1287. package/src/component/table/table/table.component.spec.ts +25 -0
  1288. package/src/component/table/table/table.component.ts +444 -0
  1289. package/src/component/table/table-body/table-body.component.html +121 -0
  1290. package/src/component/table/table-body/table-body.component.scss +0 -0
  1291. package/src/component/table/table-body/table-body.component.spec.ts +25 -0
  1292. package/src/component/table/table-body/table-body.component.ts +280 -0
  1293. package/src/component/table/table-demo/table-demo/table-demo.component.html +28 -0
  1294. package/src/component/table/table-demo/table-demo/table-demo.component.scss +6 -0
  1295. package/src/component/table/table-demo/table-demo/table-demo.component.spec.ts +25 -0
  1296. package/src/component/table/table-demo/table-demo/table-demo.component.ts +136 -0
  1297. package/src/component/table/table-demo/table-demo.module.ts +23 -0
  1298. package/src/component/table/table-head/table-head.component.html +21 -0
  1299. package/src/component/table/table-head/table-head.component.scss +0 -0
  1300. package/src/component/table/table-head/table-head.component.spec.ts +25 -0
  1301. package/src/component/table/table-head/table-head.component.ts +118 -0
  1302. package/src/component/table/table-head-group/table-head-group.component.html +24 -0
  1303. package/src/component/table/table-head-group/table-head-group.component.scss +0 -0
  1304. package/src/component/table/table-head-group/table-head-group.component.spec.ts +25 -0
  1305. package/src/component/table/table-head-group/table-head-group.component.ts +73 -0
  1306. package/src/component/table/table.module.ts +100 -0
  1307. package/src/component/table/util/public-api.ts +2 -0
  1308. package/src/component/table/util/state-util.spec.ts +7 -0
  1309. package/src/component/table/util/state-util.ts +182 -0
  1310. package/src/component/table/util/table-util.spec.ts +7 -0
  1311. package/src/component/table/util/table-util.ts +150 -0
  1312. package/src/component/tabs/Tabs.stories.ts +55 -0
  1313. package/src/component/tabs/public-api.ts +13 -0
  1314. package/src/component/tabs/tab/tab.component.html +1 -0
  1315. package/src/component/tabs/tab/tab.component.scss +0 -0
  1316. package/src/component/tabs/tab/tab.component.spec.ts +25 -0
  1317. package/src/component/tabs/tab/tab.component.ts +46 -0
  1318. package/src/component/tabs/tab-content.directive.spec.ts +8 -0
  1319. package/src/component/tabs/tab-content.directive.ts +9 -0
  1320. package/src/component/tabs/tab-title.directive.spec.ts +8 -0
  1321. package/src/component/tabs/tab-title.directive.ts +9 -0
  1322. package/src/component/tabs/tabs/tabs.component.html +24 -0
  1323. package/src/component/tabs/tabs/tabs.component.scss +0 -0
  1324. package/src/component/tabs/tabs/tabs.component.spec.ts +25 -0
  1325. package/src/component/tabs/tabs/tabs.component.ts +85 -0
  1326. package/src/component/tabs/tabs.module.ts +26 -0
  1327. package/src/component/theme-switch/public-api.ts +3 -0
  1328. package/src/component/theme-switch/theme-switch/theme-switch.component.html +3 -0
  1329. package/src/component/theme-switch/theme-switch/theme-switch.component.scss +4 -0
  1330. package/src/component/theme-switch/theme-switch/theme-switch.component.spec.ts +25 -0
  1331. package/src/component/theme-switch/theme-switch/theme-switch.component.ts +31 -0
  1332. package/src/component/theme-switch/theme-switch.module.ts +17 -0
  1333. package/src/component/theme-switch/theme-switch.service.spec.ts +16 -0
  1334. package/src/component/theme-switch/theme-switch.service.ts +34 -0
  1335. package/src/component/toggle/Toggle.stories.ts +34 -0
  1336. package/src/component/toggle/public-api.ts +2 -0
  1337. package/src/component/toggle/toggle/toggle.component.html +6 -0
  1338. package/src/component/toggle/toggle/toggle.component.scss +0 -0
  1339. package/src/component/toggle/toggle/toggle.component.spec.ts +25 -0
  1340. package/src/component/toggle/toggle/toggle.component.ts +95 -0
  1341. package/src/component/toggle/toggle.module.ts +11 -0
  1342. package/src/component/toolbar/Toolbar.stories.ts +110 -0
  1343. package/src/component/toolbar/public-api.ts +6 -0
  1344. package/src/component/toolbar/toolbar/toolbar.component.html +1 -0
  1345. package/src/component/toolbar/toolbar/toolbar.component.scss +0 -0
  1346. package/src/component/toolbar/toolbar/toolbar.component.spec.ts +25 -0
  1347. package/src/component/toolbar/toolbar/toolbar.component.ts +29 -0
  1348. package/src/component/toolbar/toolbar.module.ts +13 -0
  1349. package/src/component/tree/Tree.stories.ts +93 -0
  1350. package/src/component/tree/public-api.ts +4 -0
  1351. package/src/component/tree/tree/tree.component.html +8 -0
  1352. package/src/component/tree/tree/tree.component.scss +0 -0
  1353. package/src/component/tree/tree/tree.component.spec.ts +25 -0
  1354. package/src/component/tree/tree/tree.component.ts +92 -0
  1355. package/src/component/tree/tree-item/tree-item.component.html +12 -0
  1356. package/src/component/tree/tree-item/tree-item.component.scss +0 -0
  1357. package/src/component/tree/tree-item/tree-item.component.spec.ts +25 -0
  1358. package/src/component/tree/tree-item/tree-item.component.ts +84 -0
  1359. package/src/component/tree/tree-item-toggle/tree-item-toggle.component.html +2 -0
  1360. package/src/component/tree/tree-item-toggle/tree-item-toggle.component.scss +4 -0
  1361. package/src/component/tree/tree-item-toggle/tree-item-toggle.component.spec.ts +25 -0
  1362. package/src/component/tree/tree-item-toggle/tree-item-toggle.component.ts +37 -0
  1363. package/src/component/tree/tree.module.ts +14 -0
  1364. package/src/component/tree/tree.service.spec.ts +16 -0
  1365. package/src/component/tree/tree.service.ts +41 -0
  1366. package/src/directive/click-outside/click-outside.directive.spec.ts +8 -0
  1367. package/src/directive/click-outside/click-outside.directive.ts +64 -0
  1368. package/src/directive/click-outside/click-outside.module.ts +13 -0
  1369. package/src/directive/click-outside/public-api.ts +2 -0
  1370. package/src/directive/context-menu/ContextMenu.stories.ts +65 -0
  1371. package/src/directive/context-menu/context-menu.directive.spec.ts +8 -0
  1372. package/src/directive/context-menu/context-menu.directive.ts +136 -0
  1373. package/src/directive/context-menu/context-menu.module.ts +15 -0
  1374. package/src/directive/context-menu/public-api.ts +2 -0
  1375. package/src/directive/disable-control/disable-control.directive.spec.ts +8 -0
  1376. package/src/directive/disable-control/disable-control.directive.ts +20 -0
  1377. package/src/directive/disable-control/disable-control.module.ts +16 -0
  1378. package/src/directive/disable-control/public-api.ts +2 -0
  1379. package/src/directive/drag-sort/DragSort.stories.ts +60 -0
  1380. package/src/directive/drag-sort/drag-sort-container.directive.spec.ts +8 -0
  1381. package/src/directive/drag-sort/drag-sort-container.directive.ts +71 -0
  1382. package/src/directive/drag-sort/drag-sort-event.spec.ts +7 -0
  1383. package/src/directive/drag-sort/drag-sort-event.ts +7 -0
  1384. package/src/directive/drag-sort/drag-sort-item.directive.spec.ts +8 -0
  1385. package/src/directive/drag-sort/drag-sort-item.directive.ts +119 -0
  1386. package/src/directive/drag-sort/drag-sort.module.ts +11 -0
  1387. package/src/directive/drag-sort/public-api.ts +4 -0
  1388. package/src/directive/dynamic-content-base.directive.ts +113 -0
  1389. package/src/directive/highlight/highlight.directive.spec.ts +8 -0
  1390. package/src/directive/highlight/highlight.directive.ts +68 -0
  1391. package/src/directive/highlight/highlight.module.ts +13 -0
  1392. package/src/directive/highlight/public-api.ts +2 -0
  1393. package/src/directive/hint/Hint.stories.ts +111 -0
  1394. package/src/directive/hint/hint.directive.spec.ts +8 -0
  1395. package/src/directive/hint/hint.directive.ts +117 -0
  1396. package/src/directive/hint/hint.module.ts +15 -0
  1397. package/src/directive/hint/public-api.ts +2 -0
  1398. package/src/directive/loader/Loader.stories.ts +21 -0
  1399. package/src/directive/loader/loader.directive.spec.ts +8 -0
  1400. package/src/directive/loader/loader.directive.ts +80 -0
  1401. package/src/directive/loader/loader.module.ts +13 -0
  1402. package/src/directive/loader/public-api.ts +2 -0
  1403. package/src/directive/no-autofill/no-autofill.directive.spec.ts +8 -0
  1404. package/src/directive/no-autofill/no-autofill.directive.ts +28 -0
  1405. package/src/directive/no-autofill/no-autofill.module.ts +10 -0
  1406. package/src/directive/no-autofill/public-api.ts +2 -0
  1407. package/src/directive/only-number/OnlyNumber.stories.ts +29 -0
  1408. package/src/directive/only-number/only-number.directive.spec.ts +8 -0
  1409. package/src/directive/only-number/only-number.directive.ts +174 -0
  1410. package/src/directive/only-number/only-number.module.ts +10 -0
  1411. package/src/directive/only-number/public-api.ts +2 -0
  1412. package/src/directive/public-api.ts +14 -0
  1413. package/src/directive/resize-drag/public-api.ts +2 -0
  1414. package/src/directive/resize-drag/resize-drag.directive.spec.ts +8 -0
  1415. package/src/directive/resize-drag/resize-drag.directive.ts +62 -0
  1416. package/src/directive/resize-drag/resize-drag.module.ts +10 -0
  1417. package/src/directive/teta-template/public-api.ts +2 -0
  1418. package/src/directive/teta-template/teta-template.directive.spec.ts +8 -0
  1419. package/src/directive/teta-template/teta-template.directive.ts +15 -0
  1420. package/src/directive/teta-template/teta-template.module.ts +18 -0
  1421. package/src/directive/tooltip/Tooltip.stories.ts +96 -0
  1422. package/src/directive/tooltip/public-api.ts +2 -0
  1423. package/src/directive/tooltip/tooltip.directive.spec.ts +8 -0
  1424. package/src/directive/tooltip/tooltip.directive.ts +116 -0
  1425. package/src/directive/tooltip/tooltip.module.ts +12 -0
  1426. package/src/pipe/number-pipe/number-pipe.module.ts +15 -0
  1427. package/src/pipe/number-pipe/number.pipe.spec.ts +8 -0
  1428. package/src/pipe/number-pipe/number.pipe.ts +26 -0
  1429. package/src/pipe/number-pipe/public-api.ts +2 -0
  1430. package/src/pipe/prepend-zero/prepend-zero.module.ts +10 -0
  1431. package/src/pipe/prepend-zero/prepend-zero.pipe.spec.ts +8 -0
  1432. package/src/pipe/prepend-zero/prepend-zero.pipe.ts +15 -0
  1433. package/src/pipe/prepend-zero/public-api.ts +2 -0
  1434. package/src/pipe/public-api.ts +1 -0
  1435. package/src/pipe/util/number-helper.ts +37 -0
  1436. package/src/public-api.ts +25 -0
  1437. package/src/test.ts +26 -0
  1438. package/src/util/date-util.ts +247 -0
  1439. package/src/util/forms-util.ts +83 -0
  1440. package/src/util/public-api.ts +3 -0
  1441. package/src/util/string-util.ts +5 -0
  1442. package/style/tabs.scss +1 -1
  1443. package/tsconfig.lib.json +18 -0
  1444. package/tsconfig.lib.prod.json +10 -0
  1445. package/tsconfig.spec.json +17 -0
  1446. package/component/chart/core/axis-creator.d.ts +0 -28
  1447. package/component/chart/model/enum/scale-type.d.ts +0 -6
  1448. package/component/chart/model/series.d.ts +0 -62
  1449. package/component/date-picker/date-picker/date-picker.component.d.ts +0 -73
  1450. package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +0 -32
  1451. package/component/property-grid/property-grid.module.d.ts +0 -22
  1452. package/component/table/contract/table-column.d.ts +0 -135
  1453. package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +0 -58
  1454. package/component/table/service/table.service.d.ts +0 -119
  1455. package/component/table/table/table.component.d.ts +0 -99
  1456. package/esm2020/common/contract/auto-close-ignore-case.mjs +0 -2
  1457. package/esm2020/common/contract/constructor-type.mjs +0 -2
  1458. package/esm2020/common/contract/dynamic-data.mjs +0 -10
  1459. package/esm2020/common/contract/i-dictionary.mjs +0 -2
  1460. package/esm2020/common/contract/i-id-name.mjs +0 -2
  1461. package/esm2020/common/contract/i-rect.mjs +0 -2
  1462. package/esm2020/common/contract/i-tree-data.mjs +0 -2
  1463. package/esm2020/common/contract/public-api.mjs +0 -9
  1464. package/esm2020/common/contract/teta-content-ref.mjs +0 -8
  1465. package/esm2020/common/enum/align.enum.mjs +0 -10
  1466. package/esm2020/common/enum/public-api.mjs +0 -4
  1467. package/esm2020/common/enum/teta-size.enum.mjs +0 -9
  1468. package/esm2020/common/enum/vertical-align.enum.mjs +0 -8
  1469. package/esm2020/common/public-api.mjs +0 -5
  1470. package/esm2020/common/service/click.service.mjs +0 -23
  1471. package/esm2020/common/service/dynamic-component.service.mjs +0 -93
  1472. package/esm2020/common/service/overlay-container.service.mjs +0 -41
  1473. package/esm2020/common/service/public-api.mjs +0 -4
  1474. package/esm2020/common/util/array-util.mjs +0 -119
  1475. package/esm2020/common/util/dom-util.mjs +0 -16
  1476. package/esm2020/common/util/position-util.mjs +0 -96
  1477. package/esm2020/common/util/public-api.mjs +0 -4
  1478. package/esm2020/component/accordion/accordion/accordion.component.mjs +0 -18
  1479. package/esm2020/component/accordion/accordion-content.directive.mjs +0 -16
  1480. package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +0 -52
  1481. package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +0 -43
  1482. package/esm2020/component/accordion/accordion.module.mjs +0 -29
  1483. package/esm2020/component/accordion/public-api.mjs +0 -6
  1484. package/esm2020/component/button/button/button.component.mjs +0 -40
  1485. package/esm2020/component/button/button.module.mjs +0 -24
  1486. package/esm2020/component/button/public-api.mjs +0 -3
  1487. package/esm2020/component/chart/chart/chart.component.mjs +0 -164
  1488. package/esm2020/component/chart/chart.module.mjs +0 -18
  1489. package/esm2020/component/chart/core/axis-creator.mjs +0 -82
  1490. package/esm2020/component/chart/core/chart.mjs +0 -1339
  1491. package/esm2020/component/chart/core/public-api.mjs +0 -3
  1492. package/esm2020/component/chart/drawer/area-drawer.mjs +0 -20
  1493. package/esm2020/component/chart/drawer/bar-drawer.mjs +0 -23
  1494. package/esm2020/component/chart/drawer/contour-drawer.mjs +0 -29
  1495. package/esm2020/component/chart/drawer/default-drawer-mapping.mjs +0 -17
  1496. package/esm2020/component/chart/drawer/line-drawer.mjs +0 -152
  1497. package/esm2020/component/chart/drawer/pie-drawer.mjs +0 -4
  1498. package/esm2020/component/chart/drawer/public-api.mjs +0 -7
  1499. package/esm2020/component/chart/drawer/scatter-drawer.mjs +0 -93
  1500. package/esm2020/component/chart/drawer/spline-drawer.mjs +0 -23
  1501. package/esm2020/component/chart/legend-drawer/default-drawer-legend-mapping.mjs +0 -7
  1502. package/esm2020/component/chart/legend-drawer/gradient-drawer.mjs +0 -45
  1503. package/esm2020/component/chart/legend-drawer/swatch-drawer.mjs +0 -62
  1504. package/esm2020/component/chart/model/annotation.mjs +0 -30
  1505. package/esm2020/component/chart/model/axis-options.mjs +0 -26
  1506. package/esm2020/component/chart/model/chart-bounds.mjs +0 -13
  1507. package/esm2020/component/chart/model/chart-options.mjs +0 -37
  1508. package/esm2020/component/chart/model/enum/axis-type.mjs +0 -6
  1509. package/esm2020/component/chart/model/enum/dispatch-type.mjs +0 -6
  1510. package/esm2020/component/chart/model/enum/drag-point-type.mjs +0 -7
  1511. package/esm2020/component/chart/model/enum/legend-type.mjs +0 -6
  1512. package/esm2020/component/chart/model/enum/public-api.mjs +0 -8
  1513. package/esm2020/component/chart/model/enum/scale-type.mjs +0 -8
  1514. package/esm2020/component/chart/model/enum/scale.mjs +0 -7
  1515. package/esm2020/component/chart/model/enum/series-type.mjs +0 -12
  1516. package/esm2020/component/chart/model/enum/zoom-type.mjs +0 -7
  1517. package/esm2020/component/chart/model/i-drag-event.mjs +0 -2
  1518. package/esm2020/component/chart/model/i-drawer-legend.mjs +0 -2
  1519. package/esm2020/component/chart/model/i-drawer.mjs +0 -2
  1520. package/esm2020/component/chart/model/i-zoom-event.mjs +0 -2
  1521. package/esm2020/component/chart/model/plot-band.mjs +0 -18
  1522. package/esm2020/component/chart/model/plot-line.mjs +0 -13
  1523. package/esm2020/component/chart/model/point/bar-point.mjs +0 -2
  1524. package/esm2020/component/chart/model/point/base-point.mjs +0 -2
  1525. package/esm2020/component/chart/model/point/contour-point.mjs +0 -2
  1526. package/esm2020/component/chart/model/point/marker-options.mjs +0 -2
  1527. package/esm2020/component/chart/model/point/public-api.mjs +0 -4
  1528. package/esm2020/component/chart/model/point/scatter-point.mjs +0 -2
  1529. package/esm2020/component/chart/model/public-api.mjs +0 -16
  1530. package/esm2020/component/chart/model/series.mjs +0 -27
  1531. package/esm2020/component/chart/model/tooltip-options.mjs +0 -19
  1532. package/esm2020/component/chart/public-api.mjs +0 -6
  1533. package/esm2020/component/chart-3d/chart-3d.module.mjs +0 -18
  1534. package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +0 -232
  1535. package/esm2020/component/chart-3d/model/base-3d-point.mjs +0 -2
  1536. package/esm2020/component/chart-3d/model/chart-3d-options.mjs +0 -7
  1537. package/esm2020/component/chart-3d/model/public-api.mjs +0 -3
  1538. package/esm2020/component/chart-3d/model/series-3d.mjs +0 -7
  1539. package/esm2020/component/chart-3d/public-api.mjs +0 -4
  1540. package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +0 -134
  1541. package/esm2020/component/checkbox/checkbox.module.mjs +0 -28
  1542. package/esm2020/component/checkbox/public-api.mjs +0 -3
  1543. package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +0 -268
  1544. package/esm2020/component/date-picker/date-picker.module.mjs +0 -67
  1545. package/esm2020/component/date-picker/day-select/day-select.component.mjs +0 -166
  1546. package/esm2020/component/date-picker/model/date-period.mjs +0 -7
  1547. package/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +0 -7
  1548. package/esm2020/component/date-picker/model/day-model.mjs +0 -13
  1549. package/esm2020/component/date-picker/model/picker-locale-model.mjs +0 -13
  1550. package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +0 -250
  1551. package/esm2020/component/date-picker/month-select/month-select.component.mjs +0 -147
  1552. package/esm2020/component/date-picker/public-api.mjs +0 -6
  1553. package/esm2020/component/date-picker/service/picker-locale.service.mjs +0 -30
  1554. package/esm2020/component/date-picker/service/picker-touch.service.mjs +0 -34
  1555. package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +0 -73
  1556. package/esm2020/component/date-picker/util/date-picker-util.mjs +0 -142
  1557. package/esm2020/component/date-picker/year-select/year-select.component.mjs +0 -189
  1558. package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +0 -63
  1559. package/esm2020/component/delimiter/delimiter.module.mjs +0 -22
  1560. package/esm2020/component/delimiter/public-api.mjs +0 -3
  1561. package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +0 -29
  1562. package/esm2020/component/dropdown/dropdown-base.mjs +0 -204
  1563. package/esm2020/component/dropdown/dropdown-content.directive.mjs +0 -17
  1564. package/esm2020/component/dropdown/dropdown-head.directive.mjs +0 -18
  1565. package/esm2020/component/dropdown/dropdown.directive.mjs +0 -37
  1566. package/esm2020/component/dropdown/dropdown.module.mjs +0 -41
  1567. package/esm2020/component/dropdown/public-api.mjs +0 -6
  1568. package/esm2020/component/dynamic-component/dynamic-component.module.mjs +0 -22
  1569. package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +0 -59
  1570. package/esm2020/component/dynamic-component/public-api.mjs +0 -3
  1571. package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +0 -65
  1572. package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +0 -16
  1573. package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +0 -16
  1574. package/esm2020/component/expand-panel/expand-panel.module.mjs +0 -52
  1575. package/esm2020/component/expand-panel/public-api.mjs +0 -5
  1576. package/esm2020/component/file-upload/file-item/file-item.component.mjs +0 -13
  1577. package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +0 -77
  1578. package/esm2020/component/file-upload/file-upload.module.mjs +0 -21
  1579. package/esm2020/component/file-upload/public-api.mjs +0 -4
  1580. package/esm2020/component/filter/base/filter-base.mjs +0 -9
  1581. package/esm2020/component/filter/base/filter-component-base.mjs +0 -3
  1582. package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +0 -53
  1583. package/esm2020/component/filter/contarct/boolean-filter.mjs +0 -10
  1584. package/esm2020/component/filter/contarct/date-filter-value.mjs +0 -9
  1585. package/esm2020/component/filter/contarct/date-filter.mjs +0 -11
  1586. package/esm2020/component/filter/contarct/filter-component-map.mjs +0 -17
  1587. package/esm2020/component/filter/contarct/filter-item.mjs +0 -33
  1588. package/esm2020/component/filter/contarct/filter-state.mjs +0 -145
  1589. package/esm2020/component/filter/contarct/i-filter.mjs +0 -2
  1590. package/esm2020/component/filter/contarct/list-filter.mjs +0 -12
  1591. package/esm2020/component/filter/contarct/numeric-filter-value.mjs +0 -10
  1592. package/esm2020/component/filter/contarct/numeric-filter.mjs +0 -11
  1593. package/esm2020/component/filter/contarct/sort-param.mjs +0 -13
  1594. package/esm2020/component/filter/contarct/string-filter.mjs +0 -12
  1595. package/esm2020/component/filter/date-filter/date-filter.component.mjs +0 -54
  1596. package/esm2020/component/filter/enum/filter-type.enum.mjs +0 -10
  1597. package/esm2020/component/filter/enum/list-filter-type.enum.mjs +0 -6
  1598. package/esm2020/component/filter/enum/string-filter-type.enum.mjs +0 -20
  1599. package/esm2020/component/filter/filter-host/filter-host.component.mjs +0 -73
  1600. package/esm2020/component/filter/filter-panel/filter-panel.component.mjs +0 -13
  1601. package/esm2020/component/filter/filter.module.mjs +0 -80
  1602. package/esm2020/component/filter/list-filter/list-filter.component.mjs +0 -86
  1603. package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +0 -53
  1604. package/esm2020/component/filter/public-api.mjs +0 -25
  1605. package/esm2020/component/filter/string-filter/string-filter.component.mjs +0 -54
  1606. package/esm2020/component/icon/icon/icon.component.mjs +0 -37
  1607. package/esm2020/component/icon/icon-sprite.directive.mjs +0 -32
  1608. package/esm2020/component/icon/icon.module.mjs +0 -35
  1609. package/esm2020/component/icon/icon.service.mjs +0 -59
  1610. package/esm2020/component/icon/public-api.mjs +0 -5
  1611. package/esm2020/component/input/form-group-title/form-group-title.component.mjs +0 -18
  1612. package/esm2020/component/input/input/input.component.mjs +0 -31
  1613. package/esm2020/component/input/input.module.mjs +0 -23
  1614. package/esm2020/component/input/public-api.mjs +0 -5
  1615. package/esm2020/component/input/text-field/text-field.component.mjs +0 -94
  1616. package/esm2020/component/message/message/message.component.mjs +0 -74
  1617. package/esm2020/component/message/message-host/message-host.component.mjs +0 -88
  1618. package/esm2020/component/message/message.module.mjs +0 -31
  1619. package/esm2020/component/message/message.service.mjs +0 -35
  1620. package/esm2020/component/message/model/message.mjs +0 -21
  1621. package/esm2020/component/message/public-api.mjs +0 -6
  1622. package/esm2020/component/modal/dialog/dialog.component.mjs +0 -44
  1623. package/esm2020/component/modal/dialog.service.mjs +0 -39
  1624. package/esm2020/component/modal/modal-container/modal-container.component.mjs +0 -84
  1625. package/esm2020/component/modal/modal.module.mjs +0 -52
  1626. package/esm2020/component/modal/modal.service.mjs +0 -121
  1627. package/esm2020/component/modal/model/current-modal.mjs +0 -3
  1628. package/esm2020/component/modal/model/i-modal-config.mjs +0 -2
  1629. package/esm2020/component/modal/model/i-modal-result.mjs +0 -2
  1630. package/esm2020/component/modal/model/modal-close-reason.enum.mjs +0 -8
  1631. package/esm2020/component/modal/model/modal-instance.mjs +0 -32
  1632. package/esm2020/component/modal/public-api.mjs +0 -11
  1633. package/esm2020/component/pager/model/pager-state.mjs +0 -50
  1634. package/esm2020/component/pager/pager/pager.component.mjs +0 -13
  1635. package/esm2020/component/pager/pager.module.mjs +0 -26
  1636. package/esm2020/component/pager/public-api.mjs +0 -5
  1637. package/esm2020/component/pager/util/pager-util.mjs +0 -6
  1638. package/esm2020/component/panel/panel/panel.component.mjs +0 -51
  1639. package/esm2020/component/panel/panel.module.mjs +0 -22
  1640. package/esm2020/component/panel/public-api.mjs +0 -3
  1641. package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +0 -131
  1642. package/esm2020/component/progress-bar/progress-bar.module.mjs +0 -22
  1643. package/esm2020/component/progress-bar/public-api.mjs +0 -3
  1644. package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +0 -13
  1645. package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +0 -13
  1646. package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +0 -13
  1647. package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +0 -13
  1648. package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +0 -34
  1649. package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +0 -100
  1650. package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +0 -59
  1651. package/esm2020/component/property-grid/property-grid.module.mjs +0 -90
  1652. package/esm2020/component/property-grid/public-api.mjs +0 -3
  1653. package/esm2020/component/public-api.mjs +0 -61
  1654. package/esm2020/component/radio/public-api.mjs +0 -4
  1655. package/esm2020/component/radio/radio/radio.component.mjs +0 -245
  1656. package/esm2020/component/radio/radio-button/radio-button.component.mjs +0 -63
  1657. package/esm2020/component/radio/radio.module.mjs +0 -20
  1658. package/esm2020/component/resize-panel/public-api.mjs +0 -3
  1659. package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +0 -162
  1660. package/esm2020/component/resize-panel/resize-panel.module.mjs +0 -20
  1661. package/esm2020/component/select/public-api.mjs +0 -5
  1662. package/esm2020/component/select/select/select.component.mjs +0 -234
  1663. package/esm2020/component/select/select-option.directive.mjs +0 -16
  1664. package/esm2020/component/select/select-value.directive.mjs +0 -16
  1665. package/esm2020/component/select/select.module.mjs +0 -48
  1666. package/esm2020/component/sidebar/public-api.mjs +0 -4
  1667. package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +0 -54
  1668. package/esm2020/component/sidebar/sidebar-position.enum.mjs +0 -8
  1669. package/esm2020/component/sidebar/sidebar.module.mjs +0 -30
  1670. package/esm2020/component/switch/public-api.mjs +0 -4
  1671. package/esm2020/component/switch/switch/switch.component.mjs +0 -52
  1672. package/esm2020/component/switch/switch-button/switch-button.component.mjs +0 -47
  1673. package/esm2020/component/switch/switch.module.mjs +0 -23
  1674. package/esm2020/component/switch/switch.service.mjs +0 -21
  1675. package/esm2020/component/table/base/cell-component-base.mjs +0 -94
  1676. package/esm2020/component/table/base/detail-component-base.mjs +0 -3
  1677. package/esm2020/component/table/base/group-row-component-base.mjs +0 -3
  1678. package/esm2020/component/table/base/head-cell-component-base.mjs +0 -17
  1679. package/esm2020/component/table/cell/cell.component.mjs +0 -33
  1680. package/esm2020/component/table/cell-host/cell-host.component.mjs +0 -50
  1681. package/esm2020/component/table/contract/cell-components-map.mjs +0 -17
  1682. package/esm2020/component/table/contract/column-reorder-event.mjs +0 -7
  1683. package/esm2020/component/table/contract/column-resize-event.mjs +0 -7
  1684. package/esm2020/component/table/contract/i-cell-coordinates.mjs +0 -2
  1685. package/esm2020/component/table/contract/i-cell-event.mjs +0 -2
  1686. package/esm2020/component/table/contract/i-cell-value.mjs +0 -2
  1687. package/esm2020/component/table/contract/public-api.mjs +0 -12
  1688. package/esm2020/component/table/contract/sort-event.mjs +0 -7
  1689. package/esm2020/component/table/contract/table-column-store.mjs +0 -12
  1690. package/esm2020/component/table/contract/table-column.mjs +0 -42
  1691. package/esm2020/component/table/contract/table-context-menu-config.mjs +0 -17
  1692. package/esm2020/component/table/contract/table-row.mjs +0 -40
  1693. package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +0 -45
  1694. package/esm2020/component/table/default/date-cell/date-cell.component.mjs +0 -47
  1695. package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +0 -46
  1696. package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +0 -28
  1697. package/esm2020/component/table/default/group-row/group-row.component.mjs +0 -20
  1698. package/esm2020/component/table/default/list-cell/list-cell.component.mjs +0 -66
  1699. package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +0 -46
  1700. package/esm2020/component/table/default/string-cell/string-cell.component.mjs +0 -44
  1701. package/esm2020/component/table/enum/aggregation-type.enum.mjs +0 -9
  1702. package/esm2020/component/table/enum/edit-event.enum.mjs +0 -7
  1703. package/esm2020/component/table/enum/edit-type.enum.mjs +0 -6
  1704. package/esm2020/component/table/enum/public-api.mjs +0 -5
  1705. package/esm2020/component/table/enum/select-type.enum.mjs +0 -7
  1706. package/esm2020/component/table/head-cell/head-cell.component.mjs +0 -136
  1707. package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +0 -198
  1708. package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +0 -36
  1709. package/esm2020/component/table/public-api.mjs +0 -43
  1710. package/esm2020/component/table/selection-cell/selection-cell.component.mjs +0 -46
  1711. package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +0 -45
  1712. package/esm2020/component/table/service/table.service.mjs +0 -429
  1713. package/esm2020/component/table/table/table.component.mjs +0 -425
  1714. package/esm2020/component/table/table-body/table-body.component.mjs +0 -240
  1715. package/esm2020/component/table/table-head/table-head.component.mjs +0 -98
  1716. package/esm2020/component/table/table-head-group/table-head-group.component.mjs +0 -59
  1717. package/esm2020/component/table/table.module.mjs +0 -176
  1718. package/esm2020/component/table/util/public-api.mjs +0 -3
  1719. package/esm2020/component/table/util/state-util.mjs +0 -139
  1720. package/esm2020/component/table/util/table-util.mjs +0 -131
  1721. package/esm2020/component/tabs/public-api.mjs +0 -12
  1722. package/esm2020/component/tabs/tab/tab.component.mjs +0 -42
  1723. package/esm2020/component/tabs/tab-content.directive.mjs +0 -16
  1724. package/esm2020/component/tabs/tab-title.directive.mjs +0 -16
  1725. package/esm2020/component/tabs/tabs/tabs.component.mjs +0 -70
  1726. package/esm2020/component/tabs/tabs.module.mjs +0 -41
  1727. package/esm2020/component/theme-switch/public-api.mjs +0 -4
  1728. package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +0 -28
  1729. package/esm2020/component/theme-switch/theme-switch.module.mjs +0 -30
  1730. package/esm2020/component/theme-switch/theme-switch.service.mjs +0 -34
  1731. package/esm2020/component/toggle/public-api.mjs +0 -3
  1732. package/esm2020/component/toggle/toggle/toggle.component.mjs +0 -79
  1733. package/esm2020/component/toggle/toggle.module.mjs +0 -19
  1734. package/esm2020/component/toolbar/public-api.mjs +0 -6
  1735. package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +0 -26
  1736. package/esm2020/component/toolbar/toolbar.module.mjs +0 -22
  1737. package/esm2020/component/tree/public-api.mjs +0 -5
  1738. package/esm2020/component/tree/tree/tree.component.mjs +0 -76
  1739. package/esm2020/component/tree/tree-item/tree-item.component.mjs +0 -80
  1740. package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +0 -28
  1741. package/esm2020/component/tree/tree.module.mjs +0 -22
  1742. package/esm2020/component/tree/tree.service.mjs +0 -35
  1743. package/esm2020/directive/click-outside/click-outside.directive.mjs +0 -60
  1744. package/esm2020/directive/click-outside/click-outside.module.mjs +0 -22
  1745. package/esm2020/directive/click-outside/public-api.mjs +0 -3
  1746. package/esm2020/directive/context-menu/context-menu.directive.mjs +0 -94
  1747. package/esm2020/directive/context-menu/context-menu.module.mjs +0 -26
  1748. package/esm2020/directive/context-menu/public-api.mjs +0 -3
  1749. package/esm2020/directive/disable-control/disable-control.directive.mjs +0 -29
  1750. package/esm2020/directive/disable-control/disable-control.module.mjs +0 -24
  1751. package/esm2020/directive/disable-control/public-api.mjs +0 -3
  1752. package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +0 -64
  1753. package/esm2020/directive/drag-sort/drag-sort-event.mjs +0 -2
  1754. package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +0 -115
  1755. package/esm2020/directive/drag-sort/drag-sort.module.mjs +0 -19
  1756. package/esm2020/directive/drag-sort/public-api.mjs +0 -5
  1757. package/esm2020/directive/dynamic-content-base.directive.mjs +0 -81
  1758. package/esm2020/directive/highlight/highlight.directive.mjs +0 -72
  1759. package/esm2020/directive/highlight/highlight.module.mjs +0 -22
  1760. package/esm2020/directive/highlight/public-api.mjs +0 -3
  1761. package/esm2020/directive/hint/hint.directive.mjs +0 -97
  1762. package/esm2020/directive/hint/hint.module.mjs +0 -26
  1763. package/esm2020/directive/hint/public-api.mjs +0 -3
  1764. package/esm2020/directive/loader/loader.directive.mjs +0 -63
  1765. package/esm2020/directive/loader/loader.module.mjs +0 -22
  1766. package/esm2020/directive/loader/public-api.mjs +0 -3
  1767. package/esm2020/directive/no-autofill/no-autofill.directive.mjs +0 -30
  1768. package/esm2020/directive/no-autofill/no-autofill.module.mjs +0 -18
  1769. package/esm2020/directive/no-autofill/public-api.mjs +0 -3
  1770. package/esm2020/directive/only-number/only-number.directive.mjs +0 -175
  1771. package/esm2020/directive/only-number/only-number.module.mjs +0 -18
  1772. package/esm2020/directive/only-number/public-api.mjs +0 -3
  1773. package/esm2020/directive/public-api.mjs +0 -15
  1774. package/esm2020/directive/resize-drag/public-api.mjs +0 -3
  1775. package/esm2020/directive/resize-drag/resize-drag.directive.mjs +0 -71
  1776. package/esm2020/directive/resize-drag/resize-drag.module.mjs +0 -18
  1777. package/esm2020/directive/teta-template/public-api.mjs +0 -3
  1778. package/esm2020/directive/teta-template/teta-template.directive.mjs +0 -22
  1779. package/esm2020/directive/teta-template/teta-template.module.mjs +0 -26
  1780. package/esm2020/directive/tooltip/public-api.mjs +0 -3
  1781. package/esm2020/directive/tooltip/tooltip.directive.mjs +0 -76
  1782. package/esm2020/directive/tooltip/tooltip.module.mjs +0 -20
  1783. package/esm2020/pipe/number-pipe/number-pipe.module.mjs +0 -24
  1784. package/esm2020/pipe/number-pipe/number.pipe.mjs +0 -24
  1785. package/esm2020/pipe/number-pipe/public-api.mjs +0 -3
  1786. package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +0 -18
  1787. package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +0 -21
  1788. package/esm2020/pipe/public-api.mjs +0 -2
  1789. package/esm2020/pipe/util/number-helper.mjs +0 -25
  1790. package/esm2020/public-api.mjs +0 -21
  1791. package/esm2020/tetacom-ng-components.mjs +0 -5
  1792. package/esm2020/util/date-util.mjs +0 -195
  1793. package/esm2020/util/forms-util.mjs +0 -61
  1794. package/esm2020/util/public-api.mjs +0 -4
  1795. package/esm2020/util/string-util.mjs +0 -7
  1796. package/fesm2015/tetacom-ng-components.mjs +0 -13315
  1797. package/fesm2015/tetacom-ng-components.mjs.map +0 -1
  1798. package/fesm2020/tetacom-ng-components.mjs +0 -13207
  1799. package/fesm2020/tetacom-ng-components.mjs.map +0 -1
@@ -0,0 +1,70 @@
1
+ import { Component, ContentChildren, EventEmitter, HostBinding, Input, Output, } from '@angular/core';
2
+ import { TabComponent } from '../tab/tab.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ export class TabsComponent {
6
+ constructor() {
7
+ this.classTabs = true;
8
+ /**
9
+ * Whether the closed tabs should be hidden without destroying them
10
+ */
11
+ this.destroyOnHide = true;
12
+ /**
13
+ * A tab change event fired right before the tab selection happens. See NgbTabChangeEvent for payload details
14
+ */
15
+ this.tabChange = new EventEmitter();
16
+ }
17
+ /**
18
+ * Selects the tab with the given id and shows its associated pane.
19
+ * Any other tab that was previously selected becomes unselected and its associated pane is hidden.
20
+ */
21
+ select(tabId) {
22
+ const selectedTab = this._getTabById(tabId);
23
+ if (selectedTab &&
24
+ !selectedTab.disabled &&
25
+ this.activeId !== selectedTab.id) {
26
+ let defaultPrevented = false;
27
+ this.tabChange.emit({
28
+ activeId: this.activeId,
29
+ nextId: selectedTab.id,
30
+ preventDefault: () => {
31
+ defaultPrevented = true;
32
+ },
33
+ });
34
+ if (!defaultPrevented) {
35
+ this.activeId = selectedTab.id;
36
+ }
37
+ }
38
+ }
39
+ ngAfterContentChecked() {
40
+ const activeTab = this._getTabById(this.activeId);
41
+ this.activeId = activeTab
42
+ ? activeTab.id
43
+ : this.tabs.length
44
+ ? this.tabs.first.id
45
+ : null;
46
+ }
47
+ _getTabById(id) {
48
+ const tabsWithId = this.tabs.filter((tab) => tab.id === id);
49
+ return tabsWithId.length ? tabsWithId[0] : null;
50
+ }
51
+ }
52
+ TabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
53
+ TabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: TabsComponent, selector: "teta-tabs", inputs: { activeId: "activeId", destroyOnHide: "destroyOnHide" }, outputs: { tabChange: "tabChange" }, host: { properties: { "class.tabs": "this.classTabs" } }, queries: [{ propertyName: "tabs", predicate: TabComponent }], ngImport: i0, template: "<div class=\"tabs-head\" role=\"tablist\">\n <div class=\"tabs-head-item\"\n *ngFor=\"let tab of tabs\"\n (click)=\"select(tab.id);\"\n [class.tabs-head-item_active]=\"tab.id === activeId\"\n [class.tabs-head-item_disabled]=\"tab.disabled\">\n <span [id]=\"tab.id\" class=\"tabs-title\"\n role=\"tab\"\n [attr.tabindex]=\"(tab.disabled ? '-1': undefined)\"\n [attr.aria-controls]=\"(!destroyOnHide || tab.id === activeId ? tab.id + '-panel' : null)\"\n [attr.aria-expanded]=\"tab.id === activeId\"\n [attr.aria-disabled]=\"tab.disabled\">\n {{tab.title}}\n <ng-template [ngTemplateOutlet]=\"tab.titleTpl?.template\"></ng-template>\n </span>\n </div>\n</div>\n<div class=\"tabs-content\">\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\n <ng-container *ngIf=\"!destroyOnHide || tab.id === activeId\">\n <ng-template [ngTemplateOutlet]=\"tab.contentTpl?.template\"></ng-template>\n </ng-container>\n </ng-template>\n</div>\n", styles: [""], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TabsComponent, decorators: [{
55
+ type: Component,
56
+ args: [{ selector: 'teta-tabs', template: "<div class=\"tabs-head\" role=\"tablist\">\n <div class=\"tabs-head-item\"\n *ngFor=\"let tab of tabs\"\n (click)=\"select(tab.id);\"\n [class.tabs-head-item_active]=\"tab.id === activeId\"\n [class.tabs-head-item_disabled]=\"tab.disabled\">\n <span [id]=\"tab.id\" class=\"tabs-title\"\n role=\"tab\"\n [attr.tabindex]=\"(tab.disabled ? '-1': undefined)\"\n [attr.aria-controls]=\"(!destroyOnHide || tab.id === activeId ? tab.id + '-panel' : null)\"\n [attr.aria-expanded]=\"tab.id === activeId\"\n [attr.aria-disabled]=\"tab.disabled\">\n {{tab.title}}\n <ng-template [ngTemplateOutlet]=\"tab.titleTpl?.template\"></ng-template>\n </span>\n </div>\n</div>\n<div class=\"tabs-content\">\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\n <ng-container *ngIf=\"!destroyOnHide || tab.id === activeId\">\n <ng-template [ngTemplateOutlet]=\"tab.contentTpl?.template\"></ng-template>\n </ng-container>\n </ng-template>\n</div>\n", styles: [""] }]
57
+ }], ctorParameters: function () { return []; }, propDecorators: { classTabs: [{
58
+ type: HostBinding,
59
+ args: ['class.tabs']
60
+ }], activeId: [{
61
+ type: Input
62
+ }], destroyOnHide: [{
63
+ type: Input
64
+ }], tabChange: [{
65
+ type: Output
66
+ }], tabs: [{
67
+ type: ContentChildren,
68
+ args: [TabComponent]
69
+ }] } });
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYnMvdGFicy90YWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFicy90YWJzL3RhYnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxlQUFlLEVBQ2YsWUFBWSxFQUNaLFdBQVcsRUFDWCx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ZWRcIj5cbiAgICA8c3BhbiBbaWRdPVwidGFiLmlkXCIgY2xhc3M9XCJ0YWJzLXRpdGxlXCJcbiAgICAgICAgICByb2xlPVwidGFiXCJcbiAgICAgICAgICBbYXR0ci50YWJpbmRleF09XCIodGFiLmRpc2FibGVkID8gJy0xJzogdW5kZWZpbmVkKVwiXG4gICAgICAgICAgW2F0dHIuYXJpYS1jb250cm9sc109XCIoIWRlc3Ryb3lPbkhpZGUgfHwgdGFiLmlkID09PSBhY3RpdmVJZCA/IHRhYi5pZCArICctcGFuZWwnIDogbnVsbClcIlxuICAgICAgICAgIFthdHRyLmFyaWEtZXhwYW5kZWRdPVwidGFiLmlkID09PSBhY3RpdmVJZFwiXG4gICAgICAgICAgW2F0dHIuYXJpYS1kaXNhYmxlZF09XCJ0YWIuZGlzYWJsZWRcIj5cbiAgICAgIHt7dGFiLnRpdGxlfX1cbiAgICAgIDxuZy10ZW1wbGF0ZSBbbmdUZW1wbGF0ZU91dGxldF09XCJ0YWIudGl0bGVUcGw/LnRlbXBsYXRlXCI+PC9uZy10ZW1wbGF0ZT5cbiAgICA8L3NwYW4+XG4gIDwvZGl2PlxuPC9kaXY+XG48ZGl2IGNsYXNzPVwidGFicy1jb250ZW50XCI+XG4gIDxuZy10ZW1wbGF0ZSBuZ0ZvciBsZXQtdGFiIFtuZ0Zvck9mXT1cInRhYnNcIj5cbiAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWRlc3Ryb3lPbkhpZGUgfHwgdGFiLmlkID09PSBhY3RpdmVJZFwiPlxuICAgICAgPG5nLXRlbXBsYXRlIFtuZ1RlbXBsYXRlT3V0bGV0XT1cInRhYi5jb250ZW50VHBsPy50ZW1wbGF0ZVwiPjwvbmctdGVtcGxhdGU+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvbmctdGVtcGxhdGU+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,41 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { TabContentDirective } from './tab-content.directive';
4
+ import { TabTitleDirective } from './tab-title.directive';
5
+ import { TabComponent } from './tab/tab.component';
6
+ import { TabsComponent } from './tabs/tabs.component';
7
+ import * as i0 from "@angular/core";
8
+ export class TabsModule {
9
+ }
10
+ TabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ TabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TabsModule, declarations: [TabContentDirective,
12
+ TabTitleDirective,
13
+ TabComponent,
14
+ TabsComponent], imports: [CommonModule], exports: [TabContentDirective,
15
+ TabTitleDirective,
16
+ TabComponent,
17
+ TabsComponent] });
18
+ TabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TabsModule, imports: [[
19
+ CommonModule
20
+ ]] });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TabsModule, decorators: [{
22
+ type: NgModule,
23
+ args: [{
24
+ declarations: [
25
+ TabContentDirective,
26
+ TabTitleDirective,
27
+ TabComponent,
28
+ TabsComponent
29
+ ],
30
+ exports: [
31
+ TabContentDirective,
32
+ TabTitleDirective,
33
+ TabComponent,
34
+ TabsComponent
35
+ ],
36
+ imports: [
37
+ CommonModule
38
+ ]
39
+ }]
40
+ }] });
41
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYnMvdGFicy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQ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BvcnQge1RhYlRpdGxlRGlyZWN0aXZlfSBmcm9tICcuL3RhYi10aXRsZS5kaXJlY3RpdmUnO1xuaW1wb3J0IHtUYWJDb21wb25lbnR9IGZyb20gJy4vdGFiL3RhYi5jb21wb25lbnQnO1xuaW1wb3J0IHtUYWJzQ29tcG9uZW50fSBmcm9tICcuL3RhYnMvdGFicy5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBUYWJDb250ZW50RGlyZWN0aXZlLFxuICAgIFRhYlRpdGxlRGlyZWN0aXZlLFxuICAgIFRhYkNvbXBvbmVudCxcbiAgICBUYWJzQ29tcG9uZW50XG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBUYWJDb250ZW50RGlyZWN0aXZlLFxuICAgIFRhYlRpdGxlRGlyZWN0aXZlLFxuICAgIFRhYkNvbXBvbmVudCxcbiAgICBUYWJzQ29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBUYWJzTW9kdWxlIHtcbn1cbiJdfQ==
@@ -0,0 +1,4 @@
1
+ export * from './theme-switch.module';
2
+ export * from './theme-switch/theme-switch.component';
3
+ export * from './theme-switch.service';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGhlbWUtc3dpdGNoL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RoZW1lLXN3aXRjaC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi90aGVtZS1zd2l0Y2gvdGhlbWUtc3dpdGNoLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3RoZW1lLXN3aXRjaC5zZXJ2aWNlJztcbiJdfQ==
@@ -0,0 +1,28 @@
1
+ import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../theme-switch.service";
4
+ import * as i2 from "../../button/button/button.component";
5
+ import * as i3 from "../../icon/icon/icon.component";
6
+ export class ThemeSwitchComponent {
7
+ constructor(_svc) {
8
+ this._svc = _svc;
9
+ this.palette = 'text';
10
+ this.view = 'ghost';
11
+ this.theme = this._svc.theme;
12
+ }
13
+ ngOnInit() { }
14
+ switchTheme() {
15
+ this._svc.switchTheme();
16
+ }
17
+ }
18
+ ThemeSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchComponent, deps: [{ token: i1.ThemeSwitchService }], target: i0.ɵɵFactoryTarget.Component });
19
+ ThemeSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ThemeSwitchComponent, selector: "teta-theme-switch", inputs: { palette: "palette", view: "view" }, ngImport: i0, template: "<button teta-button [palette]=\"palette\" [view]=\"view\" [square]=\"true\" (click)=\"switchTheme()\">\n <teta-icon [name]=\"'lamp'\" [palette]=\"'text'\"></teta-icon>\n</button>\n", styles: [":host{display:flex;align-items:center}\n"], components: [{ type: i2.ButtonComponent, selector: "button[teta-button], teta-button", inputs: ["palette", "class", "view", "square"] }, { type: i3.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchComponent, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'teta-theme-switch', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button teta-button [palette]=\"palette\" [view]=\"view\" [square]=\"true\" (click)=\"switchTheme()\">\n <teta-icon [name]=\"'lamp'\" [palette]=\"'text'\"></teta-icon>\n</button>\n", styles: [":host{display:flex;align-items:center}\n"] }]
23
+ }], ctorParameters: function () { return [{ type: i1.ThemeSwitchService }]; }, propDecorators: { palette: [{
24
+ type: Input
25
+ }], view: [{
26
+ type: Input
27
+ }] } });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc3dpdGNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGhlbWUtc3dpdGNoL3RoZW1lLXN3aXRjaC90aGVtZS1zd2l0Y2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90aGVtZS1zd2l0Y2gvdGhlbWUtc3dpdGNoL3RoZW1lLXN3aXRjaC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxLQUFLLEdBRU4sTUFBTSxlQUFlLENBQUM7Ozs7O0FBV3ZCLE1BQU0sT0FBTyxvQkFBb0I7SUFLL0IsWUFBb0IsSUFBd0I7UUFBeEIsU0FBSSxHQUFKLElBQUksQ0FBb0I7UUFKbkMsWUFBTyxHQUFHLE1BQU0sQ0FBQztRQUNqQixTQUFJLEdBQW1CLE9BQU8sQ0FBQztRQUl0QyxJQUFJLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQy9CLENBQUM7SUFFRCxRQUFRLEtBQVUsQ0FBQztJQUVuQixXQUFXO1FBQ1QsSUFBSSxDQU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3N0JztcbiAgdGhlbWU6IE9ic2VydmFibGU8Ym9vbGVhbj47XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBfc3ZjOiBUaGVtZVN3aXRjaFNlcnZpY2UpIHtcbiAgICB0aGlzLnRoZW1lID0gdGhpcy5fc3ZjLnRoZW1lO1xuICB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7fVxuXG4gIHN3aXRjaFRoZW1lKCkge1xuICAgIHRoaXMuX3N2Yy5zd2l0Y2hUaGVtZSgpO1xuICB9XG59XG4iLCI8YnV0dG9uIHRldGEtYnV0dG9uIFtwYWxldHRlXT1cInBhbGV0dGVcIiBbdmlld109XCJ2aWV3XCIgW3NxdWFyZV09XCJ0cnVlXCIgKGNsaWNrKT1cInN3aXRjaFRoZW1lKClcIj5cbiAgPHRldGEtaWNvbiBbbmFtZV09XCInbGFtcCdcIiBbcGFsZXR0ZV09XCIndGV4dCdcIj48L3RldGEtaWNvbj5cbjwvYnV0dG9uPlxuIl19
@@ -0,0 +1,30 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ThemeSwitchComponent } from './theme-switch/theme-switch.component';
4
+ import { ButtonModule } from '../button/button.module';
5
+ import { IconModule } from '../icon/icon.module';
6
+ import * as i0 from "@angular/core";
7
+ export class ThemeSwitchModule {
8
+ }
9
+ ThemeSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ ThemeSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchModule, declarations: [ThemeSwitchComponent], imports: [CommonModule,
11
+ ButtonModule,
12
+ IconModule], exports: [ThemeSwitchComponent] });
13
+ ThemeSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchModule, imports: [[
14
+ CommonModule,
15
+ ButtonModule,
16
+ IconModule
17
+ ]] });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchModule, decorators: [{
19
+ type: NgModule,
20
+ args: [{
21
+ declarations: [ThemeSwitchComponent],
22
+ exports: [ThemeSwitchComponent],
23
+ imports: [
24
+ CommonModule,
25
+ ButtonModule,
26
+ IconModule
27
+ ]
28
+ }]
29
+ }] });
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGhlbWUtc3dpdGNoL3RoZW1lLXN3aXRjaC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFDM0UsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBQ3JELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQzs7QUFXL0MsTUFBTSxPQUFPLGlCQUFpQjs7OEdBQWpCLGlCQUFpQjsrR0FBakIsaUJBQWlCLGlCQVJiLG9CQUFvQixhQUdqQyxZQUFZO1FBQ1osWUFBWTtRQUNaLFVBQVUsYUFKRixvQkFBb0I7K0dBT25CLGlCQUFpQixZQU5uQjtZQUNQLFlBQVk7WUFDWixZQUFZO1lBQ1osVUFBVTtTQUNYOzJGQUVVLGlCQUFpQjtrQkFUN0IsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztvQkFDcEMsT0FBTyxFQUFFLENBQUMsb0JBQW9CLENBQUM7b0JBQy9CLE9BQU8sRUFBRTt3QkFDUCxZQUFZO3dCQUNaLFlBQVk7d0JBQ1osVUFBVTtxQkFDWDtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtDb21tb25Nb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQge1RoZW1lU3dpdGNoQ29tcG9uZW50fSBmcm9tICcuL3RoZW1lLXN3aXRjaC90aGVtZS1zd2l0Y2guY29tcG9uZW50JztcbmltcG9ydCB7QnV0dG9uTW9kdWxlfSBmcm9tICcuLi9idXR0b24vYnV0dG9uLm1vZHVsZSc7XG5pbXBvcnQge0ljb25Nb2R1bGV9IGZyb20gJy4uL2ljb24vaWNvbi5tb2R1bGUnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtUaGVtZVN3aXRjaENvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtUaGVtZVN3aXRjaENvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgQnV0dG9uTW9kdWxlLFxuICAgIEljb25Nb2R1bGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBUaGVtZVN3aXRjaE1vZHVsZSB7XG59XG4iXX0=
@@ -0,0 +1,34 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export class ThemeSwitchService {
5
+ constructor() {
6
+ const value = this.restoreTheme();
7
+ this.theme$ = new BehaviorSubject(value);
8
+ this.theme = this.theme$.asObservable();
9
+ }
10
+ switchTheme() {
11
+ const value = !this.theme$.value;
12
+ this.saveTheme(value);
13
+ this.theme$.next(value);
14
+ }
15
+ saveTheme(value) {
16
+ localStorage.setItem('theme', value.toString());
17
+ }
18
+ restoreTheme() {
19
+ const theme = localStorage.getItem('theme');
20
+ if (theme) {
21
+ return JSON.parse(theme);
22
+ }
23
+ return true;
24
+ }
25
+ }
26
+ ThemeSwitchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
27
+ ThemeSwitchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchService, providedIn: 'root' });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ThemeSwitchService, decorators: [{
29
+ type: Injectable,
30
+ args: [{
31
+ providedIn: 'root',
32
+ }]
33
+ }], ctorParameters: function () { return []; } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWUtc3dpdGNoLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RoZW1lLXN3aXRjaC90aGVtZS1zd2l0Y2guc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxlQUFlLEVBQWMsTUFBTSxNQUFNLENBQUM7O0FBS25ELE1BQU0sT0FBTyxrQkFBa0I7SUFJN0I7UUFDRSxNQUFNLEtBQUssR0FBRyxJQUFJLENBQUMsWUFBWSxFQUFFLENBQUM7UUFDbEMsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLGVBQWUsQ0FBVSxLQUFLLENBQUMsQ0FBQztRQUNsRCxJQUFJLENBQUMsS0FBSyxHQUFHLElBQUks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ym9vbGVhbj47XG4gIHByaXZhdGUgdGhlbWUkOiBCZWhhdmlvclN1YmplY3Q8Ym9vbGVhbj47XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgY29uc3QgdmFsdWUgPSB0aGlzLnJlc3RvcmVUaGVtZSgpO1xuICAgIHRoaXMudGhlbWUkID0gbmV3IEJlaGF2aW9yU3ViamVjdDxib29sZWFuPih2YWx1ZSk7XG4gICAgdGhpcy50aGVtZSA9IHRoaXMudGhlbWUkLmFzT2JzZXJ2YWJsZSgpO1xuICB9XG5cbiAgc3dpdGNoVGhlbWUoKSB7XG4gICAgY29uc3QgdmFsdWUgPSAhdGhpcy50aGVtZSQudmFsdWU7XG4gICAgdGhpcy5zYXZlVGhlbWUodmFsdWUpO1xuICAgIHRoaXMudGhlbWUkLm5leHQodmFsdWUpO1xuICB9XG5cbiAgc2F2ZVRoZW1lKHZhbHVlOiBib29sZWFuKSB7XG4gICAgbG9jYWxTdG9yYWdlLnNldEl0ZW0oJ3RoZW1lJywgdmFsdWUudG9TdHJpbmcoKSk7XG4gIH1cblxuICByZXN0b3JlVGhlbWUoKTogYm9vbGVhbiB7XG4gICAgY29uc3QgdGhlbWUgPSBsb2NhbFN0b3JhZ2UuZ2V0SXRlbSgndGhlbWUnKTtcbiAgICBpZiAodGhlbWUpIHtcbiAgICAgIHJldHVybiBKU09OLnBhcnNlKHRoZW1lKTtcbiAgICB9XG4gICAgcmV0dXJuIHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './toggle.module';
2
+ export * from './toggle/toggle.component';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdG9nZ2xlL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90b2dnbGUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vdG9nZ2xlL3RvZ2dsZS5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,79 @@
1
+ import { ChangeDetectionStrategy, Component, forwardRef, HostBinding, HostListener, Input, } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ export const TOGGLE_CONTROL_VALUE_ACCESSOR = {
6
+ provide: NG_VALUE_ACCESSOR,
7
+ useExisting: forwardRef(() => ToggleComponent),
8
+ multi: true,
9
+ };
10
+ export class ToggleComponent {
11
+ constructor(cdr) {
12
+ this.cdr = cdr;
13
+ this.tabindex = 0;
14
+ this.toggleClass = true;
15
+ this.palette = 'primary';
16
+ }
17
+ get paletteClass() {
18
+ if (this.palette) {
19
+ return `toggle-button-${this.palette}`;
20
+ }
21
+ }
22
+ get model() {
23
+ return this.model$;
24
+ }
25
+ set model(v) {
26
+ if (v !== this.model$) {
27
+ this.model$ = v;
28
+ this.onChange(v);
29
+ }
30
+ }
31
+ changeValue() {
32
+ if (this.disabled) {
33
+ return;
34
+ }
35
+ this.model = !this.model;
36
+ }
37
+ writeValue(model) {
38
+ this.model$ = model;
39
+ this.cdr.markForCheck();
40
+ }
41
+ ngOnInit() { }
42
+ onChange(_) { }
43
+ onTouched() { }
44
+ registerOnChange(fn) {
45
+ this.onChange = fn;
46
+ }
47
+ registerOnTouched(fn) {
48
+ this.onTouched = fn;
49
+ }
50
+ setDisabledState(isDisabled) {
51
+ this.disabled = isDisabled;
52
+ this.cdr.markForCheck();
53
+ }
54
+ }
55
+ ToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToggleComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
56
+ ToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ToggleComponent, selector: "teta-toggle", inputs: { palette: "palette", noLabel: "noLabel", disabled: "disabled" }, host: { listeners: { "click": "changeValue()" }, properties: { "attr.tabindex": "this.tabindex", "class.toggle": "this.toggleClass", "class.toggle_disabled": "this.disabled" } }, providers: [TOGGLE_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<span class=\"font-body-3 row_auto\" *ngIf=\"!noLabel\">\n <ng-content></ng-content>\n</span>\n<div class=\"toggle-button\" [class.toggle-button-on]=\"model\" [ngClass]=\"paletteClass\">\n <div class=\"toggle-button-circle\"></div>\n</div>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToggleComponent, decorators: [{
58
+ type: Component,
59
+ args: [{ selector: 'teta-toggle', providers: [TOGGLE_CONTROL_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"font-body-3 row_auto\" *ngIf=\"!noLabel\">\n <ng-content></ng-content>\n</span>\n<div class=\"toggle-button\" [class.toggle-button-on]=\"model\" [ngClass]=\"paletteClass\">\n <div class=\"toggle-button-circle\"></div>\n</div>\n", styles: [""] }]
60
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { tabindex: [{
61
+ type: HostBinding,
62
+ args: ['attr.tabindex']
63
+ }], toggleClass: [{
64
+ type: HostBinding,
65
+ args: ['class.toggle']
66
+ }], palette: [{
67
+ type: Input
68
+ }], noLabel: [{
69
+ type: Input
70
+ }], disabled: [{
71
+ type: HostBinding,
72
+ args: ['class.toggle_disabled']
73
+ }, {
74
+ type: Input
75
+ }], changeValue: [{
76
+ type: HostListener,
77
+ args: ['click']
78
+ }] } });
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdG9nZ2xlL3RvZ2dsZS90b2dnbGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90b2dnbGUvdG9nZ2xlL3RvZ2dsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsV0FBVyxFQUNYLFlBQVksRUFDWixLQUFLLEdBRU4sTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUF3QixpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDOzs7QUFFekUsTUFBTSxDQUFDLE1BQU0sNkJBQTZCLEdBQVE7SUFDaEQsT0FBTyxFQUFFLGlCQUFpQjtJQUMxQixXQUFXLEVBQUUsVUFBVSxDQUFDLEdBQUcsRUFBRSxDQUFDLGVBQWUsQ0FBQztJQUM5QyxLQUFLLEVBQUUsSUFBSTtDQUNaLENBQUM7QUFTRixNQUFNLE9BQU8sZUFBZTtJQW9DMUIsWUFBb0IsR0FBc0I7UUFBdEIsUUFBRyxHQUFILEdBQUcsQ0FBbUI7UUFuQ1osYUFBUSxHQUFHLENBQUMsQ0FBQztRQUNkLGdCQUFXLEdBQUcsSUFBSSxDQUFDO1FBUXZDLFlBQU8sR0FBRyxTQUFTLENBQUM7SUEwQmdCLENBQUM7SUFoQzlDLElBQUksWUFBWTtRQUNkLElBQUksSUFBSSxDQUFDLE9BQU8sR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FiZWxcIj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9zcGFuPlxuPGRpdiBjbGFzcz1cInRvZ2dsZS1idXR0b25cIiBbY2xhc3MudG9nZ2xlLWJ1dHRvbi1vbl09XCJtb2RlbFwiIFtuZ0NsYXNzXT1cInBhbGV0dGVDbGFzc1wiPlxuICA8ZGl2IGNsYXNzPVwidG9nZ2xlLWJ1dHRvbi1jaXJjbGVcIj48L2Rpdj5cbjwvZGl2PlxuIl19
@@ -0,0 +1,19 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ToggleComponent } from './toggle/toggle.component';
4
+ import { IconModule } from '../icon/icon.module';
5
+ import * as i0 from "@angular/core";
6
+ export class ToggleModule {
7
+ }
8
+ ToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ ToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToggleModule, declarations: [ToggleComponent], imports: [CommonModule, IconModule], exports: [ToggleComponent] });
10
+ ToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToggleModule, imports: [[CommonModule, IconModule]] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToggleModule, decorators: [{
12
+ type: NgModule,
13
+ args: [{
14
+ declarations: [ToggleComponent],
15
+ exports: [ToggleComponent],
16
+ imports: [CommonModule, IconModule],
17
+ }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvd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tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgSWNvbk1vZHVsZV0sXG59KVxuZXhwb3J0IGNsYXNzIFRvZ2dsZU1vZHVsZSB7fVxuIl19
@@ -0,0 +1,6 @@
1
+ export * from './toolbar.module';
2
+ /**
3
+ * Components
4
+ */
5
+ export * from './toolbar/toolbar.component';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdG9vbGJhci9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFFakM7O0dBRUc7QUFDSCxjQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90b29sYmFyLm1vZHVsZSc7XG5cbi8qKlxuICogQ29tcG9uZW50c1xuICovXG5leHBvcnQgKiBmcm9tICcuL3Rvb2xiYXIvdG9vbGJhci5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,26 @@
1
+ import { ChangeDetectionStrategy, Component, HostBinding, Input, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class ToolbarComponent {
4
+ get getClass() {
5
+ const result = [this.class, 'toolbar', 'toolbar_panel'];
6
+ if (this.palette) {
7
+ result.push(`toolbar-${this.palette}`);
8
+ }
9
+ return result.join(' ');
10
+ }
11
+ ngOnInit() { }
12
+ }
13
+ ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ToolbarComponent, selector: "teta-toolbar", inputs: { palette: "palette", class: "class" }, host: { properties: { "class": "this.getClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToolbarComponent, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'teta-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [""] }]
18
+ }], propDecorators: { palette: [{
19
+ type: Input
20
+ }], class: [{
21
+ type: Input
22
+ }], getClass: [{
23
+ type: HostBinding,
24
+ args: ['class']
25
+ }] } });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3Rvb2xiYXIvdG9vbGJhci90b29sYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdG9vbGJhci90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsV0FBVyxFQUNYLEtBQUssR0FFTixNQUFNLGVBQWUsQ0FBQzs7QUFRdkIsTUFBTSxPQUFPLGdCQUFnQjtJQUkzQixJQUNZLFFBQVE7UUFDbEIsTUFBTSxNQUFNLEdBQUcsQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFLFNBQVMsRUFBRSxlQUFlLENBQUMsQ0FBQztRQUN4RCxJQUFJLElBQUksQ0FBQyxPQUFPLEVBQUU7WUFDaEIsTUFBTSxDQUFDLElBQUksQ0FBQyxXQUFXLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDO1NBQ3hDO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GlmICh0aGlzLnBhbGV0dGUpIHtcbiAgICAgIHJlc3VsdC5wdXNoKGB0b29sYmFyLSR7dGhpcy5wYWxldHRlfWApO1xuICAgIH1cbiAgICByZXR1cm4gcmVzdWx0LmpvaW4oJyAnKTtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge31cbn1cbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
@@ -0,0 +1,22 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ToolbarComponent } from './toolbar/toolbar.component';
4
+ import * as i0 from "@angular/core";
5
+ export class ToolbarModule {
6
+ }
7
+ ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToolbarModule, declarations: [ToolbarComponent], imports: [CommonModule], exports: [ToolbarComponent] });
9
+ ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToolbarModule, imports: [[
10
+ CommonModule
11
+ ]] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ToolbarModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ declarations: [ToolbarComponent],
16
+ exports: [ToolbarComponent],
17
+ imports: [
18
+ CommonModule
19
+ ]
20
+ }]
21
+ }] });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3Rvb2xiYXIvdG9vbGJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sNkJBQTZCLENBQUM7O0FBUzdELE1BQU0sT0FBTyxhQUFhOzswR0FBYixhQUFhOzJHQUFiLGFBQWEsaUJBTlQsZ0JBQWdCLGFBRzdCLFlBQVksYUFGSixnQkFBZ0I7MkdBS2YsYUFBYSxZQUpmO1lBQ1AsWUFBWTtTQUNiOzJGQUVVLGFBQWE7a0JBUHpCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsZ0JBQWdCLENBQUM7b0JBQ2hDLE9BQU8sRUFBRSxDQUFDLGdCQUFnQixDQUFDO29CQUMzQixPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtDb21tb25Nb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQge1Rvb2xiYXJDb21wb25lbnR9IGZyb20gJy4vdG9vbGJhci90b29sYmFyLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1Rvb2xiYXJDb21wb25lbnRdLFxuICBleHBvcnRzOiBbVG9vbGJhckNvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBUb29sYmFyTW9kdWxlIHtcbn1cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ export * from './tree.module';
2
+ export * from './tree/tree.component';
3
+ export * from './tree-item-toggle/tree-item-toggle.component';
4
+ export * from './tree.service';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdHJlZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90cmVlLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3RyZWUvdHJlZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90cmVlLWl0ZW0tdG9nZ2xlL3RyZWUtaXRlbS10b2dnbGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vdHJlZS5zZXJ2aWNlJztcbiJdfQ==
@@ -0,0 +1,76 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostBinding, Input, Output, } from '@angular/core';
2
+ import { TreeService } from '../tree.service';
3
+ import { TetaTemplateDirective } from '../../../directive/teta-template/teta-template.directive';
4
+ import { filter, takeWhile } from 'rxjs/operators';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../tree.service";
7
+ import * as i2 from "../tree-item/tree-item.component";
8
+ import * as i3 from "@angular/common";
9
+ export class TreeComponent {
10
+ constructor(_service, _cdr) {
11
+ this._service = _service;
12
+ this._cdr = _cdr;
13
+ this.service = new EventEmitter();
14
+ this.padding = 8;
15
+ this.childNodeName = 'children';
16
+ this.openItemsChange = new EventEmitter();
17
+ this._alive = true;
18
+ this._service.openItems
19
+ .pipe(takeWhile((_) => this._alive), filter((_) => this._openItems !== _))
20
+ .subscribe((_) => this.openItemsChange.emit(_));
21
+ }
22
+ set openItems(items) {
23
+ this._openItems = items;
24
+ this._service.setOpenItems(items);
25
+ }
26
+ get noChildMode() {
27
+ const hasChildren = this.data.find((_) => _[this.childNodeName]?.length > 0);
28
+ return !hasChildren;
29
+ }
30
+ set compareItems(func) {
31
+ this._service.compareItems = func;
32
+ }
33
+ get getClass() {
34
+ const result = [this.class, 'tree'];
35
+ return result.join(' ');
36
+ }
37
+ ngOnInit() {
38
+ this.service.emit(this._service);
39
+ }
40
+ ngAfterContentInit() { }
41
+ ngOnChanges(changes) {
42
+ this._cdr.detectChanges();
43
+ }
44
+ ngOnDestroy() {
45
+ this._alive = false;
46
+ }
47
+ }
48
+ TreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TreeComponent, deps: [{ token: i1.TreeService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
49
+ TreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: TreeComponent, selector: "teta-tree", inputs: { data: "data", class: "class", padding: "padding", childNodeName: "childNodeName", openItems: "openItems", compareItems: "compareItems" }, outputs: { service: "service", openItemsChange: "openItemsChange" }, host: { properties: { "class": "this.getClass" } }, providers: [TreeService], queries: [{ propertyName: "template", first: true, predicate: TetaTemplateDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of data\">\n <teta-tree-item [item]=\"item\"\n [depth]=\"0\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [noChildMode]=\"noChildMode\"\n [template]=\"template?.template\"></teta-tree-item>\n</ng-container>\n", styles: [""], components: [{ type: i2.TreeItemComponent, selector: "teta-tree-item", inputs: ["item", "depth", "padding", "childNodeName", "template", "noChildMode"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TreeComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: 'teta-tree', providers: [TreeService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let item of data\">\n <teta-tree-item [item]=\"item\"\n [depth]=\"0\"\n [padding]=\"padding\"\n [childNodeName]=\"childNodeName\"\n [noChildMode]=\"noChildMode\"\n [template]=\"template?.template\"></teta-tree-item>\n</ng-container>\n", styles: [""] }]
53
+ }], ctorParameters: function () { return [{ type: i1.TreeService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
54
+ type: Input
55
+ }], service: [{
56
+ type: Output
57
+ }], class: [{
58
+ type: Input
59
+ }], padding: [{
60
+ type: Input
61
+ }], childNodeName: [{
62
+ type: Input
63
+ }], openItems: [{
64
+ type: Input
65
+ }], openItemsChange: [{
66
+ type: Output
67
+ }], template: [{
68
+ type: ContentChild,
69
+ args: [TetaTemplateDirective, { static: true }]
70
+ }], compareItems: [{
71
+ type: Input
72
+ }], getClass: [{
73
+ type: HostBinding,
74
+ args: ['class']
75
+ }] } });
76
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RyZWUvdHJlZS90cmVlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdHJlZS90cmVlL3RyZWUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLFlBQVksRUFDWixXQUFXLEVBQ1gsS0FBSyxFQUlMLE1BQU0sR0FFUCxNQUFNLGVBQWUsQ0FBQztB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