@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,13 @@
1
+ export class SortParam {
2
+ /**
3
+ * Инициализация из анонимного объекта
4
+ */
5
+ constructor(options) {
6
+ if (options) {
7
+ this.field = options.field || this.field;
8
+ this.asc = options.asc || false;
9
+ this.order = options.order || this.order;
10
+ }
11
+ }
12
+ }
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1wYXJhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZmlsdGVyL2NvbnRhcmN0L3NvcnQtcGFyYW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLFNBQVM7SUFjcEI7O09BRUc7SUFDSCxZQUFZLE9BSVg7UUFDQyxJQUFJLE9BQU8sRUFBRTtZQUNYLElBQUksQ0FBQyxLQUFLLEdBQUcsT0FBTyxDQUFDLEtBQUssSUFBSSxJQUFJLENBQUMsS0FBSyxDQUFDO1lBQ3pDLElBQUksQ0FBQyxHQUFHLEdBQUcsT0FBTyxDQUFDLEdBQUcsSUFBSSxLQUFLLENBQUM7WUFDaEMsSUFBSSxDQUFDLEtBQUssR0FBRyxPQUFPLENBQUMsS0FBSyxJQUFJLElBQUksQ0FBQyxLQUFLLENBQUM7U0FDMUM7SUFDSCxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgU29ydFBhcmFtIHtcbiAgLyoqXG4gICAqINCf0L7Qu9C1INGB0L7RgNGC0LjRgNC+0LLQutC4XG4gICAqL1xuICBmaWVsZDogc3RyaW5nO1xuICAvKipcbiAgICog0J3QsNC/0YDQsNCy0LvQtdC90LjQtSAodHJ1ZTogQXNjLCBmYWxzZTogRGVzYylcbiAgICovXG4gIGFzYzogYm9vbGVhbjtcbiAgLyoqXG4gICAqINCf0L7RgNGP0LTQvtC6INGB0L7RgNGC0LjRgNC+0LLQutC4XG4gICAqL1xuICBvcmRlcjogbnVtYmVyO1xuXG4gIC8qKlxuICAgKiDQmNC90LjRhtC40LDQu9C40LfQsNGG0LjRjyDQuNC3INCw0L3QvtC90LjQvNC90L7Qs9C+INC+0LHRitC10LrRgtCwXG4gICAqL1xuICBjb25zdHJ1Y3RvcihvcHRpb25zPzoge1xuICAgIGZpZWxkPzogc3RyaW5nO1xuICAgIGFzYz86IGJvb2xlYW47XG4gICAgb3JkZXI/OiBudW1iZXI7XG4gIH0pIHtcbiAgICBpZiAob3B0aW9ucykge1xuICAgICAgdGhpcy5maWVsZCA9IG9wdGlvbnMuZmllbGQgfHwgdGhpcy5maWVsZDtcbiAgICAgIHRoaXMuYXNjID0gb3B0aW9ucy5hc2MgfHwgZmFsc2U7XG4gICAgICB0aGlzLm9yZGVyID0gb3B0aW9ucy5vcmRlciB8fCB0aGlzLm9yZGVyO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -0,0 +1,12 @@
1
+ import { FilterBase } from '../base/filter-base';
2
+ import { StringFilterType } from '../enum/string-filter-type.enum';
3
+ export class StringFilter extends FilterBase {
4
+ constructor(options) {
5
+ super(options);
6
+ if (options) {
7
+ this.value = options.value || this.value;
8
+ this.type = options.type || StringFilterType.Contains;
9
+ }
10
+ }
11
+ }
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWZpbHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZmlsdGVyL2NvbnRhcmN0L3N0cmluZy1maWx0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHF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FN0cmluZ0ZpbHRlclR5cGUuQ29udGFpbnM7XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -0,0 +1,54 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
2
+ import { DateFilterValue } from '../contarct/date-filter-value';
3
+ import { DateFilter } from '../contarct/date-filter';
4
+ import { FilterComponentBase } from '../base/filter-component-base';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../input/input/input.component";
7
+ import * as i2 from "../../date-picker/date-picker/date-picker.component";
8
+ import * as i3 from "@angular/forms";
9
+ export class DateFilterComponent extends FilterComponentBase {
10
+ constructor(changeDetector) {
11
+ super();
12
+ this.changeDetector = changeDetector;
13
+ this.filterOptions = [];
14
+ this.filterChanged = new EventEmitter();
15
+ }
16
+ set state(val) {
17
+ this.state$ = val;
18
+ this.filter = this.getFilter();
19
+ this.changeDetector.detectChanges();
20
+ this.changeDetector.markForCheck();
21
+ }
22
+ get state() {
23
+ return this.state$;
24
+ }
25
+ ngOnInit() {
26
+ this.filter = this.getFilter();
27
+ }
28
+ getFilter() {
29
+ let filter = this.state.dateFilters.find((f) => f.field === this.column.filterField);
30
+ if (filter === null || filter === undefined) {
31
+ filter = this.state.addDateFilter(new DateFilter({
32
+ value: new DateFilterValue(),
33
+ field: this.column.filterField,
34
+ name: this.column.name,
35
+ }));
36
+ }
37
+ return filter;
38
+ }
39
+ }
40
+ DateFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateFilterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
41
+ DateFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DateFilterComponent, selector: "teta-date-filter", inputs: { column: "column", filterOptions: "filterOptions", state: "state" }, outputs: { filterChanged: "filterChanged" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-row padding-3\">\n <teta-input [label]=\"'\u041E\u0442'\">\n <teta-date-picker style=\"width: 110px\"\n [ngModel]=\"filter.value?.greaterThan\"\n [appendToBody]=\"true\"\n (ngModelChange)=\"filter.value.greaterThan=$event\"></teta-date-picker>\n </teta-input>\n <teta-input [label]=\"'\u0414\u043E'\">\n <teta-date-picker style=\"width: 110px\"\n [ngModel]=\"filter.value?.lessThan\"\n [appendToBody]=\"true\"\n (ngModelChange)=\"filter.value.lessThan=$event\"></teta-date-picker>\n </teta-input>\n</div>\n", styles: [""], components: [{ type: i1.InputComponent, selector: "teta-input", inputs: ["label", "horizontal", "required"] }, { type: i2.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "showTime", "format"] }], directives: [{ type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateFilterComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'teta-date-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-row padding-3\">\n <teta-input [label]=\"'\u041E\u0442'\">\n <teta-date-picker style=\"width: 110px\"\n [ngModel]=\"filter.value?.greaterThan\"\n [appendToBody]=\"true\"\n (ngModelChange)=\"filter.value.greaterThan=$event\"></teta-date-picker>\n </teta-input>\n <teta-input [label]=\"'\u0414\u043E'\">\n <teta-date-picker style=\"width: 110px\"\n [ngModel]=\"filter.value?.lessThan\"\n [appendToBody]=\"true\"\n (ngModelChange)=\"filter.value.lessThan=$event\"></teta-date-picker>\n </teta-input>\n</div>\n", styles: [""] }]
45
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
46
+ type: Input
47
+ }], filterOptions: [{
48
+ type: Input
49
+ }], filterChanged: [{
50
+ type: Output
51
+ }], state: [{
52
+ type: Input
53
+ }] } });
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1maWx0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvZGF0ZS1maWx0ZXIvZGF0ZS1maWx0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvZGF0ZS1maWx0ZXIvZGF0ZS1maWx0ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUdyRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7Ozs7QUFVcEUsTUFBTSxPQUFPLG1CQUFvQixTQUFRLG1CQUFtQjtJQXFCMUQsWUFBb0IsY0FBaUM7UUFDbkQsS0FBSyxFQUFFLENBQUM7UUFEVSxtQkFBYyxHQUFkLGNBQWMsQ0FBbUI7UUFuQjVDLGtCQUFhLEdBQW1CLEVBQUUsQ0FBQztRQUNsQyxrQkFBYSxHQUNyQixJQUFJLFlBQVksRUFBYyxDQUFDO0lBbUJqQyxDQUFDO0lBZEQ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S1waWNrZXI+XG4gIDwvdGV0YS1pbnB1dD5cbiAgPHRldGEtaW5wdXQgW2xhYmVsXT1cIifQlNC+J1wiPlxuICAgIDx0ZXRhLWRhdGUtcGlja2VyIHN0eWxlPVwid2lkdGg6IDExMHB4XCJcbiAgICAgICAgICAgICAgICAgICAgICBbbmdNb2RlbF09XCJmaWx0ZXIudmFsdWU/Lmxlc3NUaGFuXCJcbiAgICAgICAgICAgICAgICAgICAgICBbYXBwZW5kVG9Cb2R5XT1cInRydWVcIlxuICAgICAgICAgICAgICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cImZpbHRlci52YWx1ZS5sZXNzVGhhbj0kZXZlbnRcIj48L3RldGEtZGF0ZS1waWNrZXI+XG4gIDwvdGV0YS1pbnB1dD5cbjwvZGl2PlxuIl19
@@ -0,0 +1,10 @@
1
+ export var FilterType;
2
+ (function (FilterType) {
3
+ FilterType[FilterType["string"] = 0] = "string";
4
+ FilterType[FilterType["number"] = 1] = "number";
5
+ FilterType[FilterType["date"] = 2] = "date";
6
+ FilterType[FilterType["list"] = 3] = "list";
7
+ FilterType[FilterType["boolean"] = 4] = "boolean";
8
+ FilterType[FilterType["custom"] = 5] = "custom";
9
+ })(FilterType || (FilterType = {}));
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZmlsdGVyL2VudW0vZmlsdGVyLXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxVQU9YO0FBUEQsV0FBWSxVQUFVO0lBQ3BCLCtDQUFNLENBQUE7SUFDTiwrQ0FBTSxDQUFBO0lBQ04sMkNBQUksQ0FBQTtJQUNKLDJDQUFJLENBQUE7SUFDSixpREFBTyxDQUFBO0lBQ1AsK0NBQU0sQ0FBQTtBQUNSLENBQUMsRUFQVyxVQUFVLEtBQVYsVUFBVSxRQU9yQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEZpbHRlclR5cGUge1xuICBzdHJpbmcsXG4gIG51bWJlcixcbiAgZGF0ZSxcbiAgbGlzdCxcbiAgYm9vbGVhbixcbiAgY3VzdG9tLFxufVxuIl19
@@ -0,0 +1,6 @@
1
+ export var ListFilterType;
2
+ (function (ListFilterType) {
3
+ ListFilterType[ListFilterType["None"] = 0] = "None";
4
+ ListFilterType[ListFilterType["Excluded"] = 1] = "Excluded";
5
+ })(ListFilterType || (ListFilterType = {}));
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1maWx0ZXItdHlwZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvZW51bS9saXN0LWZpbHRlci10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksY0FHWDtBQUhELFdBQVksY0FBYztJQUN4QixtREFBSSxDQUFBO0lBQ0osMkRBQVEsQ0FBQTtBQUNWLENBQUMsRUFIVyxjQUFjLEtBQWQsY0FBYyxRQUd6QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIExpc3RGaWx0ZXJUeXBlIHtcbiAgTm9uZSxcbiAgRXhjbHVkZWRcbn1cbiJdfQ==
@@ -0,0 +1,20 @@
1
+ export var StringFilterType;
2
+ (function (StringFilterType) {
3
+ /**
4
+ * Строгое совпадение
5
+ */
6
+ StringFilterType[StringFilterType["Equals"] = 1] = "Equals";
7
+ /**
8
+ * Начинается с указанной подстроки
9
+ */
10
+ StringFilterType[StringFilterType["StartsWith"] = 2] = "StartsWith";
11
+ /**
12
+ * Оканчивается указанной подстрокой
13
+ */
14
+ StringFilterType[StringFilterType["EndsWith"] = 3] = "EndsWith";
15
+ /**
16
+ * Содержит указанную подстроку
17
+ */
18
+ StringFilterType[StringFilterType["Contains"] = 4] = "Contains";
19
+ })(StringFilterType || (StringFilterType = {}));
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWZpbHRlci10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L2ZpbHRlci9lbnVtL3N0cmluZy1maWx0ZXItdHlwZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQWlCWDtBQWpCRCxXQUFZLGdCQUFnQjtJQUMxQjs7T0FFRztJQUNILDJEQUFVLENBQUE7SUFDVjs7T0FFRztJQUNILG1FQUFjLENBQUE7SUFDZDs7T0FFRztJQUNILCtEQUFZLENBQUE7SUFDWjs7T0FFRztJQUNILCtEQUFZLENBQUE7QUFDZCxDQUFDLEVBakJXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFpQjNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gU3RyaW5nRmlsdGVyVHlwZSB7XG4gIC8qKlxuICAgKiDQodGC0YDQvtCz0L7QtSDRgdC+0LLQv9Cw0LTQtdC90LjQtVxuICAgKi9cbiAgRXF1YWxzID0gMSxcbiAgLyoqXG4gICAqINCd0LDRh9C40L3QsNC10YLRgdGPINGBINGD0LrQsNC30LDQvdC90L7QuSDQv9C+0LTRgdGC0YDQvtC60LhcbiAgICovXG4gIFN0YXJ0c1dpdGggPSAyLFxuICAvKipcbiAgICog0J7QutCw0L3Rh9C40LLQsNC10YLRgdGPINGD0LrQsNC30LDQvdC90L7QuSDQv9C+0LTRgdGC0YDQvtC60L7QuVxuICAgKi9cbiAgRW5kc1dpdGggPSAzLFxuICAvKipcbiAgICog0KHQvtC00LXRgNC20LjRgiDRg9C60LDQt9Cw0L3QvdGD0Y4g0L/QvtC00YHRgtGA0L7QutGDXG4gICAqL1xuICBDb250YWlucyA9IDQsXG59XG4iXX0=
@@ -0,0 +1,73 @@
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, } from '@angular/core';
2
+ import { FilterComponentBase } from '../base/filter-component-base';
3
+ import { takeWhile } from 'rxjs/operators';
4
+ import { getFilterComponent } from '../contarct/filter-component-map';
5
+ import * as i0 from "@angular/core";
6
+ export class FilterHostComponent {
7
+ constructor(viewContainerRef) {
8
+ this.viewContainerRef = viewContainerRef;
9
+ this.filterChanged = new EventEmitter();
10
+ this._alive = true;
11
+ }
12
+ set column(val) {
13
+ this._column = val;
14
+ if (this._init) {
15
+ this._componentRef.instance.filterField = this._column;
16
+ this._componentRef.injector.get(ChangeDetectorRef).detectChanges();
17
+ }
18
+ }
19
+ set state(val) {
20
+ this._state = val;
21
+ if (this._init) {
22
+ this._componentRef.instance.state = this._state;
23
+ this._componentRef.injector.get(ChangeDetectorRef).detectChanges();
24
+ }
25
+ }
26
+ set filterOptions(val) {
27
+ this._filterOptions = val;
28
+ if (this._init) {
29
+ this._componentRef.instance.filterOptions = this._filterOptions;
30
+ this._componentRef.injector.get(ChangeDetectorRef).detectChanges();
31
+ }
32
+ }
33
+ ngOnInit() {
34
+ if (!FilterComponentBase.isPrototypeOf(this._column.filterComponent)) {
35
+ this._column.filterComponent = getFilterComponent(this._column);
36
+ }
37
+ this._componentRef =
38
+ this.viewContainerRef.createComponent(this._column.filterComponent);
39
+ this._componentRef.instance.column = this._column;
40
+ this._componentRef.instance.state = this._state;
41
+ this._componentRef.instance.filterOptions = this._filterOptions;
42
+ this._componentRef.injector.get(ChangeDetectorRef).detectChanges();
43
+ this._init = true;
44
+ this._componentRef.instance.filterChanged
45
+ .pipe(takeWhile((_) => this._alive))
46
+ .subscribe((filter) => {
47
+ this.filterChanged.emit(filter);
48
+ });
49
+ }
50
+ ngOnDestroy() {
51
+ this._alive = false;
52
+ }
53
+ }
54
+ FilterHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterHostComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
55
+ FilterHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: FilterHostComponent, selector: "teta-filter-host", inputs: { column: "column", state: "state", filterOptions: "filterOptions" }, outputs: { filterChanged: "filterChanged" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterHostComponent, decorators: [{
57
+ type: Component,
58
+ args: [{
59
+ selector: 'teta-filter-host',
60
+ template: '',
61
+ styles: [],
62
+ changeDetection: ChangeDetectionStrategy.OnPush,
63
+ }]
64
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { column: [{
65
+ type: Input
66
+ }], state: [{
67
+ type: Input
68
+ }], filterOptions: [{
69
+ type: Input
70
+ }], filterChanged: [{
71
+ type: Output
72
+ }] } });
73
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWhvc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvZmlsdGVyLWhvc3QvZmlsdGVyLWhvc3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFFVCxZQUFZLEVBQ1osS0FBSyxFQUdMLE1BQU0sR0FFUCxNQUFNLGVBQWUsQ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6IEZpbHRlckJhc2UpID0+IHtcbiAgICAgICAgdGhpcy5maWx0ZXJDaGFuZ2VkLmVtaXQoZmlsdGVyKTtcbiAgICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5fYWxpdmUgPSBmYWxzZTtcbiAgfVxufVxuIl19
@@ -0,0 +1,13 @@
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FilterPanelComponent {
4
+ constructor() { }
5
+ ngOnInit() { }
6
+ }
7
+ FilterPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
+ FilterPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: FilterPanelComponent, selector: "teta-filter-panel", ngImport: i0, template: "<p>filter-panel works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterPanelComponent, decorators: [{
10
+ type: Component,
11
+ args: [{ selector: 'teta-filter-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>filter-panel works!</p>\n", styles: [""] }]
12
+ }], ctorParameters: function () { return []; } });
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXBhbmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZmlsdGVyL2ZpbHRlci1wYW5lbC9maWx0ZXItcGFuZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvZmlsdGVyLXBhbmVsL2ZpbHRlci1wYW5lbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQVEzRSxNQUFNLE9BQU8sb0JBQW9CO0lBQy9CLGdCQUFlLENBQUM7SUFFaEIsUUFBUSxLQUFVLENBQUM7O2lIQUhSLG9CQUFvQjtxR0FBcEIsb0JBQW9CLHlEQ1JqQyw4QkFDQTsyRkRPYSxvQkFBb0I7a0JBTmhDLFNBQVM7K0JBQ0UsbUJBQW1CLG1CQUdaLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAndGV0YS1maWx0ZXItcGFuZWwnLFxuICB0ZW1wbGF0ZVVybDogJy4vZmlsdGVyLXBhbmVsLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vZmlsdGVyLXBhbmVsLmNvbXBvbmVudC5zY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBGaWx0ZXJQYW5lbENvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBuZ09uSW5pdCgpOiB2b2lkIHt9XG59XG4iLCI8cD5maWx0ZXItcGFuZWwgd29ya3MhPC9wPlxuIl19
@@ -0,0 +1,80 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FilterPanelComponent } from './filter-panel/filter-panel.component';
4
+ import { NumericFilterComponent } from './numeric-filter/numeric-filter.component';
5
+ import { StringFilterComponent } from './string-filter/string-filter.component';
6
+ import { ListFilterComponent } from './list-filter/list-filter.component';
7
+ import { DateFilterComponent } from './date-filter/date-filter.component';
8
+ import { FilterHostComponent } from './filter-host/filter-host.component';
9
+ import { SelectModule } from '../select/select.module';
10
+ import { FormsModule } from '@angular/forms';
11
+ import { DatePickerModule } from '../date-picker/date-picker.module';
12
+ import { BooleanFilterComponent } from './boolean-filter/boolean-filter.component';
13
+ import { RadioModule } from '../radio/radio.module';
14
+ import { InputModule } from '../input/input.module';
15
+ import { CheckboxModule } from '../checkbox/checkbox.module';
16
+ import * as i0 from "@angular/core";
17
+ export class FilterModule {
18
+ }
19
+ FilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
+ FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterModule, declarations: [FilterPanelComponent,
21
+ NumericFilterComponent,
22
+ StringFilterComponent,
23
+ ListFilterComponent,
24
+ DateFilterComponent,
25
+ FilterHostComponent,
26
+ BooleanFilterComponent], imports: [CommonModule,
27
+ SelectModule,
28
+ FormsModule,
29
+ DatePickerModule,
30
+ RadioModule,
31
+ InputModule,
32
+ CheckboxModule], exports: [FilterPanelComponent,
33
+ NumericFilterComponent,
34
+ StringFilterComponent,
35
+ ListFilterComponent,
36
+ DateFilterComponent,
37
+ FilterHostComponent,
38
+ BooleanFilterComponent] });
39
+ FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterModule, imports: [[
40
+ CommonModule,
41
+ SelectModule,
42
+ FormsModule,
43
+ DatePickerModule,
44
+ RadioModule,
45
+ InputModule,
46
+ CheckboxModule,
47
+ ]] });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: FilterModule, decorators: [{
49
+ type: NgModule,
50
+ args: [{
51
+ declarations: [
52
+ FilterPanelComponent,
53
+ NumericFilterComponent,
54
+ StringFilterComponent,
55
+ ListFilterComponent,
56
+ DateFilterComponent,
57
+ FilterHostComponent,
58
+ BooleanFilterComponent,
59
+ ],
60
+ exports: [
61
+ FilterPanelComponent,
62
+ NumericFilterComponent,
63
+ StringFilterComponent,
64
+ ListFilterComponent,
65
+ DateFilterComponent,
66
+ FilterHostComponent,
67
+ BooleanFilterComponent,
68
+ ],
69
+ imports: [
70
+ CommonModule,
71
+ SelectModule,
72
+ FormsModule,
73
+ DatePickerModule,
74
+ RadioModule,
75
+ InputModule,
76
+ CheckboxModule,
77
+ ],
78
+ }]
79
+ }] });
80
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZmlsdGVyL2ZpbHRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFDN0UsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDbkYsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFDaEYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDMUUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFDMUUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUNB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25lbnQsXG4gICAgTnVtZXJpY0ZpbHRlckNvbXBvbmVudCxcbiAgICBTdHJpbmdGaWx0ZXJDb21wb25lbnQsXG4gICAgTGlzdEZpbHRlckNvbXBvbmVudCxcbiAgICBEYXRlRmlsdGVyQ29tcG9uZW50LFxuICAgIEZpbHRlckhvc3RDb21wb25lbnQsXG4gICAgQm9vbGVhbkZpbHRlckNvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBTZWxlY3RNb2R1bGUsXG4gICAgRm9ybXNNb2R1bGUsXG4gICAgRGF0ZVBpY2tlck1vZHVsZSxcbiAgICBSYWRpb01vZHVsZSxcbiAgICBJbnB1dE1vZHVsZSxcbiAgICBDaGVja2JveE1vZHVsZSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRmlsdGVyTW9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,86 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
2
+ import { ListFilter } from '../contarct/list-filter';
3
+ import { ListFilterType } from '../enum/list-filter-type.enum';
4
+ import { FilterComponentBase } from '../base/filter-component-base';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../input/text-field/text-field.component";
7
+ import * as i2 from "../../checkbox/checkbox/checkbox.component";
8
+ import * as i3 from "@angular/forms";
9
+ import * as i4 from "@angular/common";
10
+ export class ListFilterComponent extends FilterComponentBase {
11
+ constructor(changeDetector) {
12
+ super();
13
+ this.changeDetector = changeDetector;
14
+ this.filterOptions = [];
15
+ this.filterChanged = new EventEmitter();
16
+ this.search = '';
17
+ }
18
+ get visibleOptions() {
19
+ return this.filterOptions?.filter((_) => _.name?.toString().indexOf(this.search) >= 0);
20
+ }
21
+ set state(val) {
22
+ this.state$ = val;
23
+ this.filter = this.getFilter();
24
+ this.changeDetector.detectChanges();
25
+ }
26
+ get state() {
27
+ return this.state$;
28
+ }
29
+ ngOnInit() { }
30
+ all() {
31
+ if (!this.filter?.value || this.filter?.value?.length === 0) {
32
+ return false;
33
+ }
34
+ const notSet = this.visibleOptions?.find((_) => this.filter?.value?.indexOf(_.id) < 0);
35
+ if (!notSet) {
36
+ return true;
37
+ }
38
+ return null;
39
+ }
40
+ setAll(value) {
41
+ if (value) {
42
+ this.setFilter(this.visibleOptions?.map((_) => _.id));
43
+ }
44
+ else {
45
+ this.setFilter([]);
46
+ }
47
+ }
48
+ setType() {
49
+ this.excluded = !this.excluded;
50
+ this.filter.type = this.excluded
51
+ ? ListFilterType.Excluded
52
+ : ListFilterType.None;
53
+ }
54
+ setFilter(value) {
55
+ this.filter.value = value;
56
+ this.filterChanged.emit(this.filter);
57
+ }
58
+ getFilter() {
59
+ let filter = this.state.listFilters?.find((f) => f.field === this.column.filterField);
60
+ if (!filter) {
61
+ filter = this.state.addListFilter(new ListFilter({
62
+ field: this.column.filterField,
63
+ value: [],
64
+ type: this.column.listFilterType,
65
+ name: this.column.name,
66
+ }));
67
+ }
68
+ this.excluded = filter.type === ListFilterType.Excluded;
69
+ return filter;
70
+ }
71
+ }
72
+ ListFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ListFilterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
73
+ ListFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ListFilterComponent, selector: "teta-list-filter", inputs: { column: "column", filterOptions: "filterOptions", state: "state" }, outputs: { filterChanged: "filterChanged" }, usesInheritance: true, ngImport: i0, template: "<div class=\"padding-2\">\n <teta-text-field [(ngModel)]=\"search\"></teta-text-field>\n</div>\n<div class=\"list padding-v-2 scrollable\">\n <div class=\"list-item\">\n <teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [ngModel]=\"all()\"\n (ngModelChange)=\"setAll($event)\">\u0412\u0441\u0435\n </teta-checkbox>\n </div>\n <div class=\"list-divider\"></div>\n <div class=\"list-item\" *ngFor=\"let option of visibleOptions\">\n <teta-checkbox [ngModel]=\"filter.value\"\n (ngModelChange)=\"setFilter($event)\"\n [value]=\"option.id\"\n [binary]=\"false\">\n {{option.name}}\n </teta-checkbox>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column;flex-grow:1;min-height:0;min-width:0}\n"], components: [{ type: i1.TextFieldComponent, selector: "teta-text-field", inputs: ["placeholder", "leftIconName", "disabled", "onlyNumber", "invalid"] }, { type: i2.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], directives: [{ type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ListFilterComponent, decorators: [{
75
+ type: Component,
76
+ args: [{ selector: 'teta-list-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"padding-2\">\n <teta-text-field [(ngModel)]=\"search\"></teta-text-field>\n</div>\n<div class=\"list padding-v-2 scrollable\">\n <div class=\"list-item\">\n <teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [ngModel]=\"all()\"\n (ngModelChange)=\"setAll($event)\">\u0412\u0441\u0435\n </teta-checkbox>\n </div>\n <div class=\"list-divider\"></div>\n <div class=\"list-item\" *ngFor=\"let option of visibleOptions\">\n <teta-checkbox [ngModel]=\"filter.value\"\n (ngModelChange)=\"setFilter($event)\"\n [value]=\"option.id\"\n [binary]=\"false\">\n {{option.name}}\n </teta-checkbox>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column;flex-grow:1;min-height:0;min-width:0}\n"] }]
77
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
78
+ type: Input
79
+ }], filterOptions: [{
80
+ type: Input
81
+ }], filterChanged: [{
82
+ type: Output
83
+ }], state: [{
84
+ type: Input
85
+ }] } });
86
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1maWx0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvbGlzdC1maWx0ZXIvbGlzdC1maWx0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvbGlzdC1maWx0ZXIvbGlzdC1maWx0ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUV2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3JELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7Ozs7O0FBWXBFLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxtQkFBbUI7SUE2QjFELFlBQW9CLGNBQWlDO1FBQ25ELEtBQUssRUFBRSxDQUFDO1FBRFUsbUJBQWMsR0FBZCxjQUFjLENBQW1CO1FBM0I1QyxrQkFBYSxHQUFtQixFQUFFLENBQUM7UUFDbEMsa0JBQWEsR0FDckIsSUFBSSxZQUFZLE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1,53 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
2
+ import { NumericFilter } from '../contarct/numeric-filter';
3
+ import { FilterComponentBase } from '../base/filter-component-base';
4
+ import { NumericFilterValue } from '../contarct/numeric-filter-value';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../input/input/input.component";
7
+ import * as i2 from "@angular/forms";
8
+ export class NumericFilterComponent extends FilterComponentBase {
9
+ constructor(changeDetector) {
10
+ super();
11
+ this.changeDetector = changeDetector;
12
+ this.filterOptions = [];
13
+ this.filterChanged = new EventEmitter();
14
+ }
15
+ set state(val) {
16
+ this.state$ = val;
17
+ this.filter = this.getFilter();
18
+ this.changeDetector.detectChanges();
19
+ }
20
+ get state() {
21
+ return this.state$;
22
+ }
23
+ ngOnInit() {
24
+ this.filter = this.getFilter();
25
+ }
26
+ getFilter() {
27
+ let filter = this.state.numericFilters?.find((f) => f.field === this.column.filterField);
28
+ if (filter === null || filter === undefined) {
29
+ filter = this.state.addNumericFilter(new NumericFilter({
30
+ value: new NumericFilterValue(),
31
+ field: this.column.filterField,
32
+ name: this.column.name,
33
+ strict: true,
34
+ }));
35
+ }
36
+ return filter;
37
+ }
38
+ }
39
+ NumericFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: NumericFilterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
40
+ NumericFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: NumericFilterComponent, selector: "teta-numeric-filter", inputs: { column: "column", filterOptions: "filterOptions", state: "state" }, outputs: { filterChanged: "filterChanged" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-row padding-3\">\n <teta-input [label]=\"'\u041E\u0442'\">\n <input class=\"input\" type=\"text\"\n style=\"width: 110px\"\n [ngModel]=\"filter.value?.greaterThan\"\n (ngModelChange)=\"filter.value.greaterThan=$event\"/>\n </teta-input>\n <teta-input [label]=\"'\u0414\u043E'\">\n <input class=\"input\" type=\"text\"\n style=\"width: 110px\"\n [ngModel]=\"filter.value?.lessThan\"\n (ngModelChange)=\"filter.value.lessThan=$event\"/>\n </teta-input>\n</div>\n", styles: [""], components: [{ type: i1.InputComponent, selector: "teta-input", inputs: ["label", "horizontal", "required"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: NumericFilterComponent, decorators: [{
42
+ type: Component,
43
+ args: [{ selector: 'teta-numeric-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-row padding-3\">\n <teta-input [label]=\"'\u041E\u0442'\">\n <input class=\"input\" type=\"text\"\n style=\"width: 110px\"\n [ngModel]=\"filter.value?.greaterThan\"\n (ngModelChange)=\"filter.value.greaterThan=$event\"/>\n </teta-input>\n <teta-input [label]=\"'\u0414\u043E'\">\n <input class=\"input\" type=\"text\"\n style=\"width: 110px\"\n [ngModel]=\"filter.value?.lessThan\"\n (ngModelChange)=\"filter.value.lessThan=$event\"/>\n </teta-input>\n</div>\n", styles: [""] }]
44
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
45
+ type: Input
46
+ }], filterOptions: [{
47
+ type: Input
48
+ }], filterChanged: [{
49
+ type: Output
50
+ }], state: [{
51
+ type: Input
52
+ }] } });
53
+ //# sourceMappingURL=data:application/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gICAgICAgICAgIFtuZ01vZGVsXT1cImZpbHRlci52YWx1ZT8ubGVzc1RoYW5cIlxuICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJmaWx0ZXIudmFsdWUubGVzc1RoYW49JGV2ZW50XCIvPlxuICA8L3RldGEtaW5wdXQ+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,25 @@
1
+ export * from './filter.module';
2
+ export * from './filter-panel/filter-panel.component';
3
+ export * from './date-filter/date-filter.component';
4
+ export * from './list-filter/list-filter.component';
5
+ export * from './numeric-filter/numeric-filter.component';
6
+ export * from './string-filter/string-filter.component';
7
+ export * from './boolean-filter/boolean-filter.component';
8
+ export * from './filter-host/filter-host.component';
9
+ export * from './base/filter-base';
10
+ export * from './base/filter-component-base';
11
+ export * from './enum/filter-type.enum';
12
+ export * from './enum/list-filter-type.enum';
13
+ export * from './enum/string-filter-type.enum';
14
+ export * from './contarct/filter-item';
15
+ export * from './contarct/date-filter';
16
+ export * from './contarct/boolean-filter';
17
+ export * from './contarct/date-filter-value';
18
+ export * from './contarct/string-filter';
19
+ export * from './contarct/numeric-filter';
20
+ export * from './contarct/list-filter';
21
+ export * from './contarct/filter-state';
22
+ export * from './contarct/i-filter';
23
+ export * from './contarct/numeric-filter-value';
24
+ export * from './contarct/sort-param';
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvZmlsdGVyL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLHVDQUF1QyxDQUFDO0FBRXRELGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELG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EventEmitter, Input, Output, } from '@angular/core';
2
+ import { StringFilter } from '../contarct/string-filter';
3
+ import { FilterComponentBase } from '../base/filter-component-base';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../input/input/input.component";
6
+ import * as i2 from "@angular/forms";
7
+ export class StringFilterComponent extends FilterComponentBase {
8
+ constructor(changeDetector) {
9
+ super();
10
+ this.changeDetector = changeDetector;
11
+ this.filterOptions = [];
12
+ this.filterChanged = new EventEmitter();
13
+ }
14
+ set state(val) {
15
+ this.state$ = val;
16
+ this.filter = this.getFilter();
17
+ this.changeDetector.detectChanges();
18
+ }
19
+ get state() {
20
+ return this.state$;
21
+ }
22
+ ngOnInit() { }
23
+ setFilter() {
24
+ this.filterChanged.emit(this.filter);
25
+ }
26
+ getFilter() {
27
+ let filter = this.state.stringFilters.find((f) => f.field === this.column.filterField);
28
+ if (!filter) {
29
+ filter = this.state.addStringFilter(new StringFilter({
30
+ value: '',
31
+ field: this.column.filterField,
32
+ type: this.column.stringFilterType,
33
+ name: this.column.name,
34
+ }));
35
+ }
36
+ filter.type = this.column.stringFilterType;
37
+ return filter;
38
+ }
39
+ }
40
+ StringFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: StringFilterComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
41
+ StringFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: StringFilterComponent, selector: "teta-string-filter", inputs: { column: "column", filterOptions: "filterOptions", state: "state" }, outputs: { filterChanged: "filterChanged" }, usesInheritance: true, ngImport: i0, template: "<div class=\"padding-3\">\n <teta-input [label]=\"'\u041F\u043E\u0438\u0441\u043A'\">\n <input type=\"text\" class=\"input\" [(ngModel)]=\"filter.value\" (blur)=\"setFilter()\" />\n </teta-input>\n</div>\n\n", styles: [""], components: [{ type: i1.InputComponent, selector: "teta-input", inputs: ["label", "horizontal", "required"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: StringFilterComponent, decorators: [{
43
+ type: Component,
44
+ args: [{ selector: 'teta-string-filter', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"padding-3\">\n <teta-input [label]=\"'\u041F\u043E\u0438\u0441\u043A'\">\n <input type=\"text\" class=\"input\" [(ngModel)]=\"filter.value\" (blur)=\"setFilter()\" />\n </teta-input>\n</div>\n\n", styles: [""] }]
45
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
46
+ type: Input
47
+ }], filterOptions: [{
48
+ type: Input
49
+ }], filterChanged: [{
50
+ type: Output
51
+ }], state: [{
52
+ type: Input
53
+ }] } });
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWZpbHRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L2ZpbHRlci9zdHJpbmctZmlsdGVyL3N0cmluZy1maWx0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9maWx0ZXIvc3RyaW5nLWZpbHRlci9zdHJpbmctZmlsdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiO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