@tetacom/ng-components 1.4.4 → 1.4.5

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 (320) hide show
  1. package/assets/icons.svg +54 -0
  2. package/component/avatar/avatar/avatar.component.d.ts +1 -1
  3. package/component/button/button/button.component.d.ts +1 -1
  4. package/component/date-picker/base-calendar.d.ts +1 -1
  5. package/component/date-picker/base-picker.d.ts +1 -1
  6. package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +1 -1
  7. package/component/date-picker/date-picker/date-picker.component.d.ts +1 -1
  8. package/component/date-picker/date-range/date-range.component.d.ts +1 -1
  9. package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +1 -1
  10. package/component/date-picker/day-picker/day-item/day-item.component.d.ts +1 -1
  11. package/component/date-picker/day-picker/day-picker.component.d.ts +4 -4
  12. package/component/date-picker/month-picker/month-picker.component.d.ts +2 -2
  13. package/component/date-picker/public-api.d.ts +2 -2
  14. package/component/date-picker/year-picker/year-picker.component.d.ts +3 -3
  15. package/component/filter/boolean-filter/boolean-filter.component.d.ts +3 -3
  16. package/component/message/model/message.d.ts +1 -1
  17. package/component/switch/switch/switch.component.d.ts +1 -1
  18. package/component/table/table-row/table-row.component.d.ts +2 -2
  19. package/component/tree/tree/tree.component.d.ts +1 -1
  20. package/docs/avatarDocs.mdx +78 -72
  21. package/docs/datePickerDocs.mdx +3 -3
  22. package/docs/dateRangeDocs.mdx +3 -3
  23. package/docs/delimiterDocs.mdx +78 -78
  24. package/docs/dropdownDocs.mdx +143 -123
  25. package/docs/expandCardlDocs.mdx +49 -45
  26. package/docs/expandPanelDocs.mdx +104 -92
  27. package/docs/fileAreaDocs.mdx +64 -59
  28. package/docs/inputDocs.mdx +70 -67
  29. package/docs/listDocs.mdx +14 -8
  30. package/docs/messageDocs.mdx +47 -34
  31. package/docs/progressBarDocs.mdx +65 -51
  32. package/docs/propertyGridDocs.mdx +173 -115
  33. package/docs/radioDocs.mdx +92 -80
  34. package/docs/resizePanelDocs.mdx +79 -67
  35. package/docs/selectDocs.mdx +262 -220
  36. package/docs/switchDocs.mdx +86 -73
  37. package/docs/tagDocs.mdx +17 -11
  38. package/docs/toggleDocs.mdx +42 -36
  39. package/docs/toolbarDocs.mdx +14 -8
  40. package/docs/treeDocs.mdx +108 -89
  41. package/esm2022/common/contract/teta-content-ref.mjs +1 -1
  42. package/esm2022/common/enum/align.enum.mjs +1 -1
  43. package/esm2022/common/enum/vertical-align.enum.mjs +1 -1
  44. package/esm2022/common/service/dynamic-component.service.mjs +1 -1
  45. package/esm2022/common/util/array-util.mjs +5 -7
  46. package/esm2022/common/util/dom-util.mjs +2 -3
  47. package/esm2022/common/util/position-util.mjs +6 -14
  48. package/esm2022/component/accordion/accordion-content.directive.mjs +2 -2
  49. package/esm2022/component/accordion/public-api.mjs +1 -1
  50. package/esm2022/component/autocomplete/autocomplete/autocomplete.component.mjs +2 -3
  51. package/esm2022/component/autocomplete/public-api.mjs +1 -1
  52. package/esm2022/component/avatar/avatar/avatar.component.mjs +4 -5
  53. package/esm2022/component/avatar/model/avatar-color.enum.mjs +1 -1
  54. package/esm2022/component/avatar/public-api.mjs +1 -1
  55. package/esm2022/component/button/button/button.component.mjs +2 -2
  56. package/esm2022/component/button/public-api.mjs +1 -1
  57. package/esm2022/component/chart-3d/chart3d/chart3d.component.mjs +11 -24
  58. package/esm2022/component/chart-3d/model/chart-3d-options.mjs +1 -1
  59. package/esm2022/component/chart-3d/public-api.mjs +1 -1
  60. package/esm2022/component/checkbox/checkbox/checkbox.component.mjs +3 -3
  61. package/esm2022/component/checkbox/public-api.mjs +1 -1
  62. package/esm2022/component/date-picker/base-calendar.mjs +7 -14
  63. package/esm2022/component/date-picker/base-picker.mjs +3 -2
  64. package/esm2022/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +4 -11
  65. package/esm2022/component/date-picker/date-picker/date-picker.component.mjs +5 -6
  66. package/esm2022/component/date-picker/date-range/date-range.component.mjs +6 -14
  67. package/esm2022/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +4 -4
  68. package/esm2022/component/date-picker/day-picker/day-item/day-item.component.mjs +5 -6
  69. package/esm2022/component/date-picker/day-picker/day-picker.component.mjs +9 -9
  70. package/esm2022/component/date-picker/model/date-picker-mode.enum.mjs +1 -1
  71. package/esm2022/component/date-picker/model/from-to.model.mjs +1 -1
  72. package/esm2022/component/date-picker/model/min-max-date.model.mjs +1 -1
  73. package/esm2022/component/date-picker/month-picker/month-picker.component.mjs +4 -4
  74. package/esm2022/component/date-picker/public-api.mjs +3 -3
  75. package/esm2022/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +3 -3
  76. package/esm2022/component/date-picker/year-picker/year-picker.component.mjs +9 -7
  77. package/esm2022/component/delimiter/delimiter/delimiter.component.mjs +2 -2
  78. package/esm2022/component/delimiter/public-api.mjs +1 -1
  79. package/esm2022/component/divider/divider/divider.component.mjs +4 -4
  80. package/esm2022/component/divider/public-api.mjs +1 -1
  81. package/esm2022/component/dropdown/dropdown/dropdown.component.mjs +2 -3
  82. package/esm2022/component/dropdown/dropdown-base.mjs +11 -22
  83. package/esm2022/component/dropdown/dropdown-content.directive.mjs +2 -2
  84. package/esm2022/component/dropdown/dropdown-head.directive.mjs +2 -2
  85. package/esm2022/component/dropdown/dropdown.directive.mjs +4 -5
  86. package/esm2022/component/dropdown/public-api.mjs +1 -1
  87. package/esm2022/component/dynamic-component/popup-content/popup-content.component.mjs +4 -10
  88. package/esm2022/component/dynamic-component/public-api.mjs +1 -1
  89. package/esm2022/component/expand-card/expand-card/expand-card.component.mjs +4 -5
  90. package/esm2022/component/expand-card/expand-item/expand-item.component.mjs +4 -4
  91. package/esm2022/component/expand-card/public-api.mjs +1 -1
  92. package/esm2022/component/expand-panel/expand-panel/expand-panel.component.mjs +4 -9
  93. package/esm2022/component/expand-panel/expand-panel-content.directive.mjs +1 -1
  94. package/esm2022/component/expand-panel/expand-panel-head.directive.mjs +1 -1
  95. package/esm2022/component/expand-panel/public-api.mjs +1 -1
  96. package/esm2022/component/file-upload/file-item/file-item.component.mjs +1 -1
  97. package/esm2022/component/file-upload/file-upload-area/file-upload-area.component.mjs +3 -8
  98. package/esm2022/component/file-upload/public-api.mjs +1 -1
  99. package/esm2022/component/filter/base/filter-base.mjs +1 -1
  100. package/esm2022/component/filter/base/filter-component-base.mjs +1 -1
  101. package/esm2022/component/filter/boolean-filter/boolean-filter.component.mjs +5 -11
  102. package/esm2022/component/filter/contarct/boolean-filter.mjs +1 -1
  103. package/esm2022/component/filter/contarct/date-filter-value.mjs +3 -3
  104. package/esm2022/component/filter/contarct/date-filter.mjs +1 -1
  105. package/esm2022/component/filter/contarct/filter-component-map.mjs +2 -4
  106. package/esm2022/component/filter/contarct/filter-item.mjs +2 -2
  107. package/esm2022/component/filter/contarct/filter-state.mjs +1 -1
  108. package/esm2022/component/filter/contarct/list-filter.mjs +1 -1
  109. package/esm2022/component/filter/contarct/numeric-filter.mjs +1 -1
  110. package/esm2022/component/filter/contarct/sort-param.mjs +1 -1
  111. package/esm2022/component/filter/contarct/string-filter.mjs +1 -1
  112. package/esm2022/component/filter/date-filter/date-filter.component.mjs +3 -8
  113. package/esm2022/component/filter/enum/list-filter-type.enum.mjs +1 -1
  114. package/esm2022/component/filter/filter-host/filter-host.component.mjs +2 -3
  115. package/esm2022/component/filter/list-filter/list-filter.component.mjs +5 -14
  116. package/esm2022/component/filter/numeric-filter/numeric-filter.component.mjs +3 -8
  117. package/esm2022/component/filter/public-api.mjs +1 -1
  118. package/esm2022/component/filter/string-filter/string-filter.component.mjs +4 -9
  119. package/esm2022/component/icon/icon/icon.component.mjs +3 -3
  120. package/esm2022/component/icon/icon-file/icon-file.component.mjs +2 -3
  121. package/esm2022/component/icon/icon-sprite.directive.mjs +2 -2
  122. package/esm2022/component/icon/icon.service.mjs +5 -6
  123. package/esm2022/component/icon/public-api.mjs +1 -1
  124. package/esm2022/component/input/color-input/color-input.component.mjs +3 -3
  125. package/esm2022/component/input/form-group-title/form-group-title.component.mjs +2 -2
  126. package/esm2022/component/input/input/input.component.mjs +4 -4
  127. package/esm2022/component/input/public-api.mjs +1 -1
  128. package/esm2022/component/input/text-field/text-field.component.mjs +3 -9
  129. package/esm2022/component/message/message/message.component.mjs +3 -7
  130. package/esm2022/component/message/message-host/message-host.component.mjs +5 -9
  131. package/esm2022/component/message/message.service.mjs +2 -2
  132. package/esm2022/component/message/model/message.mjs +2 -2
  133. package/esm2022/component/message/public-api.mjs +1 -1
  134. package/esm2022/component/modal/dialog/dialog.component.mjs +3 -8
  135. package/esm2022/component/modal/dialog.service.mjs +1 -1
  136. package/esm2022/component/modal/modal-container/modal-container.component.mjs +4 -11
  137. package/esm2022/component/modal/modal.module.mjs +4 -12
  138. package/esm2022/component/modal/modal.service.mjs +1 -1
  139. package/esm2022/component/modal/model/current-modal.mjs +1 -1
  140. package/esm2022/component/modal/model/i-modal-result.mjs +1 -1
  141. package/esm2022/component/modal/model/modal-instance.mjs +1 -1
  142. package/esm2022/component/pager/model/pager-state.mjs +3 -2
  143. package/esm2022/component/pager/pager/pager.component.mjs +1 -1
  144. package/esm2022/component/pager/public-api.mjs +1 -1
  145. package/esm2022/component/pager/util/pager-util.mjs +1 -1
  146. package/esm2022/component/panel/panel/panel.component.mjs +4 -10
  147. package/esm2022/component/panel/public-api.mjs +1 -1
  148. package/esm2022/component/progress-bar/progress-bar/progress-bar.component.mjs +5 -6
  149. package/esm2022/component/progress-bar/public-api.mjs +1 -1
  150. package/esm2022/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +4 -4
  151. package/esm2022/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +7 -8
  152. package/esm2022/component/property-grid/property-grid/property-grid-item-description.directive.mjs +2 -2
  153. package/esm2022/component/property-grid/property-grid/property-grid.component.mjs +6 -11
  154. package/esm2022/component/property-grid/property-grid.module.mjs +1 -1
  155. package/esm2022/component/radio/public-api.mjs +1 -1
  156. package/esm2022/component/radio/radio/radio.component.mjs +7 -11
  157. package/esm2022/component/radio/radio-button/radio-button.component.mjs +3 -3
  158. package/esm2022/component/resize-panel/public-api.mjs +1 -1
  159. package/esm2022/component/resize-panel/resize-panel/resize-panel.component.mjs +5 -10
  160. package/esm2022/component/select/public-api.mjs +1 -1
  161. package/esm2022/component/select/select/select.component.mjs +10 -18
  162. package/esm2022/component/select/select-option.directive.mjs +2 -2
  163. package/esm2022/component/select/select-value.directive.mjs +2 -2
  164. package/esm2022/component/sidebar/public-api.mjs +1 -1
  165. package/esm2022/component/sidebar/sidebar/sidebar.component.mjs +6 -12
  166. package/esm2022/component/sidebar/sidebar-position.enum.mjs +1 -1
  167. package/esm2022/component/switch/public-api.mjs +1 -1
  168. package/esm2022/component/switch/switch/switch.component.mjs +4 -7
  169. package/esm2022/component/switch/switch-button/switch-button.component.mjs +2 -3
  170. package/esm2022/component/switch/switch.service.mjs +2 -2
  171. package/esm2022/component/table/base/cell-component-base.mjs +10 -22
  172. package/esm2022/component/table/base/detail-component-base.mjs +1 -1
  173. package/esm2022/component/table/base/head-cell-component-base.mjs +2 -2
  174. package/esm2022/component/table/cell/cell.component.mjs +4 -4
  175. package/esm2022/component/table/cell-host/cell-host.component.mjs +1 -1
  176. package/esm2022/component/table/contract/cell-components-map.mjs +2 -4
  177. package/esm2022/component/table/contract/column-reorder-event.mjs +1 -1
  178. package/esm2022/component/table/contract/sort-event.mjs +1 -1
  179. package/esm2022/component/table/contract/table-column.mjs +3 -3
  180. package/esm2022/component/table/default/boolean-cell/boolean-cell.component.mjs +4 -8
  181. package/esm2022/component/table/default/date-cell/date-cell.component.mjs +4 -9
  182. package/esm2022/component/table/default/date-time-cell/date-time-cell.component.mjs +4 -9
  183. package/esm2022/component/table/default/default-head-cell/default-head-cell.component.mjs +5 -6
  184. package/esm2022/component/table/default/list-cell/list-cell.component.mjs +7 -13
  185. package/esm2022/component/table/default/numeric-cell/numeric-cell.component.mjs +4 -9
  186. package/esm2022/component/table/default/string-cell/string-cell.component.mjs +4 -8
  187. package/esm2022/component/table/enum/edit-event.enum.mjs +1 -1
  188. package/esm2022/component/table/enum/edit-type.enum.mjs +1 -1
  189. package/esm2022/component/table/enum/select-type.enum.mjs +1 -1
  190. package/esm2022/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +4 -11
  191. package/esm2022/component/table/head-cell-host/head-cell-host.component.mjs +3 -4
  192. package/esm2022/component/table/public-api.mjs +1 -1
  193. package/esm2022/component/table/selection-cell/selection-cell.component.mjs +4 -6
  194. package/esm2022/component/table/selection-head-cell/selection-head-cell.component.mjs +5 -7
  195. package/esm2022/component/table/service/table.service.mjs +35 -52
  196. package/esm2022/component/table/table/table.component.mjs +12 -24
  197. package/esm2022/component/table/table-body/table-body.component.mjs +15 -21
  198. package/esm2022/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +5 -6
  199. package/esm2022/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +4 -5
  200. package/esm2022/component/table/table-head/table-head.component.mjs +10 -10
  201. package/esm2022/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +12 -12
  202. package/esm2022/component/table/table-head-group/table-head-group.component.mjs +7 -12
  203. package/esm2022/component/table/table-row/table-row.component.mjs +3 -3
  204. package/esm2022/component/table/util/state-util.mjs +13 -25
  205. package/esm2022/component/table/util/table-util.mjs +15 -9
  206. package/esm2022/component/tabs/public-api.mjs +1 -1
  207. package/esm2022/component/tabs/tab-content.directive.mjs +2 -2
  208. package/esm2022/component/tabs/tab-title.directive.mjs +2 -2
  209. package/esm2022/component/theme-switch/public-api.mjs +1 -1
  210. package/esm2022/component/toggle/public-api.mjs +1 -1
  211. package/esm2022/component/toggle/toggle/toggle.component.mjs +3 -3
  212. package/esm2022/component/toolbar/public-api.mjs +1 -1
  213. package/esm2022/component/toolbar/toolbar/toolbar.component.mjs +2 -2
  214. package/esm2022/component/tree/public-api.mjs +1 -1
  215. package/esm2022/component/tree/tree/tree.component.mjs +6 -6
  216. package/esm2022/component/tree/tree-item/tree-item.component.mjs +9 -20
  217. package/esm2022/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +5 -6
  218. package/esm2022/component/tree/tree.service.mjs +1 -1
  219. package/esm2022/directive/auto-position/auto-position.directive.mjs +3 -3
  220. package/esm2022/directive/auto-position/public-api.mjs +1 -1
  221. package/esm2022/directive/click-outside/click-outside.directive.mjs +2 -2
  222. package/esm2022/directive/click-outside/public-api.mjs +1 -1
  223. package/esm2022/directive/context-menu/context-menu.directive.mjs +4 -8
  224. package/esm2022/directive/context-menu/public-api.mjs +1 -1
  225. package/esm2022/directive/disable-control/disable-control.directive.mjs +1 -1
  226. package/esm2022/directive/disable-control/public-api.mjs +1 -1
  227. package/esm2022/directive/drag-drop/drag-container.directive.mjs +8 -10
  228. package/esm2022/directive/drag-drop/drag-drop.service.mjs +14 -11
  229. package/esm2022/directive/drag-drop/drag-placeholder.directive.mjs +2 -2
  230. package/esm2022/directive/drag-drop/drag-preview.directive.mjs +2 -2
  231. package/esm2022/directive/drag-drop/drag.directive.mjs +4 -7
  232. package/esm2022/directive/drag-drop/model/drag-container-instance.mjs +1 -1
  233. package/esm2022/directive/drag-drop/model/drag-instance.mjs +1 -1
  234. package/esm2022/directive/drag-drop/model/drag-process.mjs +1 -1
  235. package/esm2022/directive/drag-drop/model/drag-selection.mjs +1 -1
  236. package/esm2022/directive/drag-drop/model/drop-event.mjs +1 -1
  237. package/esm2022/directive/drag-drop/model/drop-target.mjs +1 -1
  238. package/esm2022/directive/drag-sort/drag-sort-container.directive.mjs +2 -3
  239. package/esm2022/directive/drag-sort/drag-sort-item.directive.mjs +4 -10
  240. package/esm2022/directive/drag-sort/public-api.mjs +1 -1
  241. package/esm2022/directive/dynamic-content-base.directive.mjs +3 -3
  242. package/esm2022/directive/highlight/highlight.directive.mjs +4 -5
  243. package/esm2022/directive/highlight/public-api.mjs +1 -1
  244. package/esm2022/directive/hint/hint.directive.mjs +5 -14
  245. package/esm2022/directive/hint/public-api.mjs +1 -1
  246. package/esm2022/directive/let/let.directive.mjs +2 -2
  247. package/esm2022/directive/let/public-api.mjs +1 -1
  248. package/esm2022/directive/loader/loader.directive.mjs +3 -3
  249. package/esm2022/directive/loader/public-api.mjs +1 -1
  250. package/esm2022/directive/no-autofill/no-autofill.directive.mjs +1 -1
  251. package/esm2022/directive/no-autofill/public-api.mjs +1 -1
  252. package/esm2022/directive/only-number/public-api.mjs +1 -1
  253. package/esm2022/directive/resize-drag/public-api.mjs +1 -1
  254. package/esm2022/directive/resize-drag/resize-drag.directive.mjs +2 -2
  255. package/esm2022/directive/scroll-into-view/public-api.mjs +1 -1
  256. package/esm2022/directive/scroll-into-view/scroll-into-view.directive.mjs +3 -3
  257. package/esm2022/directive/scrollable/public-api.mjs +1 -1
  258. package/esm2022/directive/scrollable/scrollable/scrollable.component.mjs +6 -13
  259. package/esm2022/directive/scrollable/scrollable.directive.mjs +2 -2
  260. package/esm2022/directive/teta-template/public-api.mjs +1 -1
  261. package/esm2022/directive/teta-template/teta-template.directive.mjs +2 -2
  262. package/esm2022/directive/tooltip/public-api.mjs +1 -1
  263. package/esm2022/directive/tooltip/tooltip.directive.mjs +3 -4
  264. package/esm2022/index.mjs +1 -1
  265. package/esm2022/locale/en.mjs +2 -10
  266. package/esm2022/locale/ru.mjs +2 -10
  267. package/esm2022/locale/teta-config.service.mjs +2 -2
  268. package/esm2022/locale/teta-localisation.mjs +1 -1
  269. package/esm2022/observable/public-api.mjs +1 -1
  270. package/esm2022/observable/zone-observable.mjs +4 -4
  271. package/esm2022/pipe/date-pipe/teta-date.pipe.mjs +2 -2
  272. package/esm2022/pipe/number-pipe/number.pipe.mjs +2 -2
  273. package/esm2022/pipe/number-pipe/public-api.mjs +1 -1
  274. package/esm2022/pipe/util/number-helper.mjs +1 -1
  275. package/esm2022/util/bool-or-func.mjs +1 -1
  276. package/esm2022/util/date-util.mjs +2 -4
  277. package/esm2022/util/export-dom-image.mjs +1 -1
  278. package/esm2022/util/forms-util.mjs +6 -17
  279. package/esm2022/util/string-util.mjs +1 -3
  280. package/fesm2022/tetacom-ng-components.mjs +438 -801
  281. package/fesm2022/tetacom-ng-components.mjs.map +1 -1
  282. package/locale/teta-localisation.d.ts +1 -14
  283. package/package.json +1 -1
  284. package/style/assembly-library.scss +41 -41
  285. package/style/assembly-presets.scss +4 -4
  286. package/style/assembly.scss +3 -3
  287. package/style/border.scss +2 -2
  288. package/style/color.scss +2 -3
  289. package/style/datepicker.scss +9 -10
  290. package/style/divider.scss +2 -1
  291. package/style/drag.scss +1 -1
  292. package/style/dropdown.scss +4 -5
  293. package/style/font.scss +2 -2
  294. package/style/hint.scss +3 -3
  295. package/style/input.scss +14 -9
  296. package/style/layout.scss +8 -8
  297. package/style/list.scss +2 -2
  298. package/style/loader.scss +1 -1
  299. package/style/message.scss +3 -3
  300. package/style/navigation.scss +6 -6
  301. package/style/presets/color-presets.scss +2 -2
  302. package/style/presets/view-types.scss +1 -1
  303. package/style/progress.scss +3 -2
  304. package/style/radio.scss +2 -4
  305. package/style/reset.scss +3 -1
  306. package/style/resize-panel.scss +12 -6
  307. package/style/scroll.scss +1 -1
  308. package/style/select.scss +5 -4
  309. package/style/shadow.scss +3 -3
  310. package/style/sidebar.scss +2 -2
  311. package/style/sizing.scss +1 -1
  312. package/style/skeleton.scss +3 -4
  313. package/style/spacing.scss +1 -1
  314. package/style/switch.scss +2 -3
  315. package/style/tag.scss +8 -8
  316. package/style/toggle.scss +3 -6
  317. package/style/toolbar.scss +3 -3
  318. package/style/tooltip.scss +5 -4
  319. package/style/tree.scss +2 -2
  320. package/style/util/font-util.scss +1 -1
@@ -30,20 +30,7 @@ export interface TetaLocalisation {
30
30
  notSelected: string;
31
31
  yes: string;
32
32
  no: string;
33
- months: [
34
- string,
35
- string,
36
- string,
37
- string,
38
- string,
39
- string,
40
- string,
41
- string,
42
- string,
43
- string,
44
- string,
45
- string
46
- ];
33
+ months: [string, string, string, string, string, string, string, string, string, string, string, string];
47
34
  days: [string, string, string, string, string, string, string];
48
35
  daysShort: [string, string, string, string, string, string, string];
49
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetacom/ng-components",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.1",
6
6
  "@angular/core": "^18.2.1"
@@ -1,41 +1,41 @@
1
- @import "./accordion.scss";
2
- @import "./skeleton.scss";
3
- @import "./badge.scss";
4
- @import "./border.scss";
5
- @import "./button.scss";
6
- @import "./checkbox.scss";
7
- @import "./chips.scss";
8
- @import "./color.scss";
9
- @import "./datepicker.scss";
10
- @import "./drag.scss";
11
- @import "./dropdown.scss";
12
- @import "./font.scss";
13
- @import "./hint.scss";
14
- @import "./icon.scss";
15
- @import "./input.scss";
16
- @import "./layout.scss";
17
- @import "./library.scss";
18
- @import "./list.scss";
19
- @import "./loader.scss";
20
- @import "./message.scss";
21
- @import "./modal.scss";
22
- @import "./navigation.scss";
23
- @import "./progress.scss";
24
- @import "./radio.scss";
25
- @import "./resize-panel.scss";
26
- @import "./scroll.scss";
27
- @import "./select.scss";
28
- @import "./shadow.scss";
29
- @import "./sidebar.scss";
30
- @import "./sizing.scss";
31
- @import "./spacing.scss";
32
- @import "./switch.scss";
33
- @import "./table.scss";
34
- @import "./tabs.scss";
35
- @import "./tag.scss";
36
- @import "./toggle.scss";
37
- @import "./toolbar.scss";
38
- @import "./tooltip.scss";
39
- @import "./tree.scss";
40
- @import "./bottombar.scss";
41
- @import "./divider.scss";
1
+ @import './accordion.scss';
2
+ @import './skeleton.scss';
3
+ @import './badge.scss';
4
+ @import './border.scss';
5
+ @import './button.scss';
6
+ @import './checkbox.scss';
7
+ @import './chips.scss';
8
+ @import './color.scss';
9
+ @import './datepicker.scss';
10
+ @import './drag.scss';
11
+ @import './dropdown.scss';
12
+ @import './font.scss';
13
+ @import './hint.scss';
14
+ @import './icon.scss';
15
+ @import './input.scss';
16
+ @import './layout.scss';
17
+ @import './library.scss';
18
+ @import './list.scss';
19
+ @import './loader.scss';
20
+ @import './message.scss';
21
+ @import './modal.scss';
22
+ @import './navigation.scss';
23
+ @import './progress.scss';
24
+ @import './radio.scss';
25
+ @import './resize-panel.scss';
26
+ @import './scroll.scss';
27
+ @import './select.scss';
28
+ @import './shadow.scss';
29
+ @import './sidebar.scss';
30
+ @import './sizing.scss';
31
+ @import './spacing.scss';
32
+ @import './switch.scss';
33
+ @import './table.scss';
34
+ @import './tabs.scss';
35
+ @import './tag.scss';
36
+ @import './toggle.scss';
37
+ @import './toolbar.scss';
38
+ @import './tooltip.scss';
39
+ @import './tree.scss';
40
+ @import './bottombar.scss';
41
+ @import './divider.scss';
@@ -1,4 +1,4 @@
1
- @import "./presets/color-presets.scss";
2
- @import "./presets/font-presets.scss";
3
- @import "./presets/spacing-presets.scss";
4
- @import "./presets/layout-presets.scss";
1
+ @import './presets/color-presets.scss';
2
+ @import './presets/font-presets.scss';
3
+ @import './presets/spacing-presets.scss';
4
+ @import './presets/layout-presets.scss';
@@ -1,4 +1,4 @@
1
- @import "./reset.scss";
1
+ @import './reset.scss';
2
2
 
3
- @import "./assembly-presets.scss";
4
- @import "./assembly-library.scss";
3
+ @import './assembly-presets.scss';
4
+ @import './assembly-library.scss';
package/style/border.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import "./common.scss";
1
+ @import './common.scss';
2
2
 
3
3
  .border {
4
4
  border-style: solid;
@@ -11,7 +11,7 @@
11
11
  }
12
12
  @for $radius from 0 through 12 {
13
13
  &-radius-#{$radius} {
14
- border-radius: 1px * $radius!important;
14
+ border-radius: 1px * $radius !important;
15
15
  }
16
16
  }
17
17
 
package/style/color.scss CHANGED
@@ -1,7 +1,6 @@
1
- @use "sass:map";
2
- @import "./util/color-util.scss";
1
+ @use 'sass:map';
2
+ @import './util/color-util.scss';
3
3
 
4
4
  .bg-transparent {
5
5
  background-color: transparent;
6
6
  }
7
-
@@ -1,9 +1,9 @@
1
- @import "util/font-util.scss";
2
- @import "util/shadow-util.scss";
3
- @import "util/color-util.scss";
4
- @import "presets/view-types.scss";
1
+ @import 'util/font-util.scss';
2
+ @import 'util/shadow-util.scss';
3
+ @import 'util/color-util.scss';
4
+ @import 'presets/view-types.scss';
5
5
 
6
- .daterange{
6
+ .daterange {
7
7
  display: inline-flex;
8
8
  width: 200px;
9
9
  min-width: 0;
@@ -17,8 +17,8 @@
17
17
 
18
18
  @include getView('base');
19
19
 
20
- &-time{
21
- width: 160px;
20
+ &-time {
21
+ width: 160px;
22
22
  }
23
23
 
24
24
  &-wide {
@@ -67,7 +67,8 @@
67
67
  border-radius: 0;
68
68
  }
69
69
 
70
- &:focus &-head, &_open &-head {
70
+ &:focus &-head,
71
+ &_open &-head {
71
72
  border-color: var(--color-primary-50);
72
73
  }
73
74
 
@@ -124,8 +125,6 @@
124
125
  background-color: var(--color-primary-50);
125
126
  }
126
127
  }
127
-
128
-
129
128
  }
130
129
 
131
130
  &-content {
@@ -9,7 +9,8 @@
9
9
  letter-spacing: 1.5px;
10
10
  }
11
11
 
12
- div:first-child, div:last-child {
12
+ div:first-child,
13
+ div:last-child {
13
14
  flex-grow: 1;
14
15
  }
15
16
  }
package/style/drag.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import "util/color-util";
1
+ @import 'util/color-util';
2
2
 
3
3
  .drop-direction {
4
4
  position: absolute;
@@ -1,6 +1,6 @@
1
- @import "util/color-util";
2
- @import "util/shadow-util";
3
- @import "presets/view-types.scss";
1
+ @import 'util/color-util';
2
+ @import 'util/shadow-util';
3
+ @import 'presets/view-types.scss';
4
4
 
5
5
  .dropdown {
6
6
  border: solid 1px var(--color-text-5);
@@ -9,7 +9,7 @@
9
9
  z-index: 1050;
10
10
  box-shadow: var(--shadow-2);
11
11
  background: var(--color-global-bgcard);
12
- animation: fadeInFromNone .5s ease-out;
12
+ animation: fadeInFromNone 0.5s ease-out;
13
13
 
14
14
  @include getView('base');
15
15
 
@@ -39,4 +39,3 @@
39
39
  opacity: 1;
40
40
  }
41
41
  }
42
-
package/style/font.scss CHANGED
@@ -1,7 +1,7 @@
1
- @import "util/font-util.scss";
1
+ @import 'util/font-util.scss';
2
2
 
3
3
  @each $fontName, $font in $fonts {
4
4
  .font-#{$fontName} {
5
- @include getFontDescription($font)
5
+ @include getFontDescription($font);
6
6
  }
7
7
  }
package/style/hint.scss CHANGED
@@ -1,6 +1,6 @@
1
- @import "util/shadow-util.scss";
2
- @import "util/color-util.scss";
3
- @import "presets/view-types.scss";
1
+ @import 'util/shadow-util.scss';
2
+ @import 'util/color-util.scss';
3
+ @import 'presets/view-types.scss';
4
4
  .hint {
5
5
  box-shadow: var(--shadow-1);
6
6
  padding: 8px;
package/style/input.scss CHANGED
@@ -1,6 +1,6 @@
1
- @import "util/color-util.scss";
2
- @import "util/font-util.scss";
3
- @import "presets/view-types.scss";
1
+ @import 'util/color-util.scss';
2
+ @import 'util/font-util.scss';
3
+ @import 'presets/view-types.scss';
4
4
 
5
5
  .form-container {
6
6
  display: flex;
@@ -30,11 +30,13 @@
30
30
  background: var(--color-global-bgcard);
31
31
  }
32
32
 
33
- .text-field, .input, .textarea {
33
+ .text-field,
34
+ .input,
35
+ .textarea {
34
36
  padding: 6px 8px;
35
37
  border: solid 1px var(--color-text-5);
36
38
  background-color: var(--color-text-5);
37
- background-clip:padding-box;
39
+ background-clip: padding-box;
38
40
  color: var(--color-text-90);
39
41
  @include getFont($fonts, 'body-3');
40
42
  display: flex;
@@ -47,7 +49,6 @@
47
49
 
48
50
  @include getView('field');
49
51
 
50
-
51
52
  &_invalid {
52
53
  border-color: var(--color-red-50);
53
54
  }
@@ -62,7 +63,8 @@
62
63
  color: var(--color-text-40);
63
64
  }
64
65
 
65
- &:focus-within, &:focus {
66
+ &:focus-within,
67
+ &:focus {
66
68
  border-color: var(--color-primary-50);
67
69
  }
68
70
 
@@ -76,7 +78,9 @@
76
78
  }
77
79
  }
78
80
 
79
- &:disabled, &[disabled], &_disabled {
81
+ &:disabled,
82
+ &[disabled],
83
+ &_disabled {
80
84
  border: 0;
81
85
  background: var(--color-text-5);
82
86
  color: var(--color-text-20);
@@ -104,7 +108,8 @@
104
108
  }
105
109
  }
106
110
 
107
- .text-field, .input {
111
+ .text-field,
112
+ .input {
108
113
  height: 28px;
109
114
  }
110
115
 
package/style/layout.scss CHANGED
@@ -1,8 +1,8 @@
1
- @use "sass:math";
2
- @import "util/color-util";
1
+ @use 'sass:math';
2
+ @import 'util/color-util';
3
3
 
4
4
  @function widthCol($n) {
5
- @return math.div(100%, $columns-count) * $n
5
+ @return math.div(100%, $columns-count) * $n;
6
6
  }
7
7
 
8
8
  body {
@@ -37,10 +37,10 @@ body {
37
37
  }
38
38
  }
39
39
  }
40
- .row-reverse{
41
- display: flex;
42
- flex-direction: row-reverse;
43
- }
40
+ .row-reverse {
41
+ display: flex;
42
+ flex-direction: row-reverse;
43
+ }
44
44
 
45
45
  .column {
46
46
  display: flex;
@@ -138,5 +138,5 @@ body {
138
138
  border: solid 0;
139
139
  border-radius: 4px;
140
140
  overflow: hidden;
141
- background: var(--color-global-bgcard)
141
+ background: var(--color-global-bgcard);
142
142
  }
package/style/list.scss CHANGED
@@ -1,5 +1,5 @@
1
- @import "util/color-util.scss";
2
- @import "util/font-util.scss";
1
+ @import 'util/color-util.scss';
2
+ @import 'util/font-util.scss';
3
3
 
4
4
  .list {
5
5
  padding: 8px 0;
package/style/loader.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import "util/color-util.scss";
1
+ @import 'util/color-util.scss';
2
2
 
3
3
  .loader {
4
4
  position: fixed;
@@ -1,4 +1,4 @@
1
- @import "util/shadow-util.scss";
1
+ @import 'util/shadow-util.scss';
2
2
 
3
3
  .message {
4
4
  position: relative;
@@ -13,9 +13,9 @@
13
13
  color: var(--color-text-90);
14
14
 
15
15
  @each $paletteName, $palette in map-get($themes, nth(map-keys($themes), 1)) {
16
- &#{'-'+$paletteName}::before {
16
+ &#{'-' + $paletteName}::before {
17
17
  background: getColorVar($paletteName, '50');
18
- content: " ";
18
+ content: ' ';
19
19
  position: absolute;
20
20
  top: 0;
21
21
  left: 0;
@@ -1,6 +1,6 @@
1
- @import "util/color-util.scss";
2
- @import "util/font-util.scss";
3
- @import "presets/view-types.scss";
1
+ @import 'util/color-util.scss';
2
+ @import 'util/font-util.scss';
3
+ @import 'presets/view-types.scss';
4
4
 
5
5
  .navigation {
6
6
  &-item {
@@ -15,14 +15,14 @@
15
15
  @include getView('base');
16
16
 
17
17
  @each $paletteName, $palette in map-get($themes, nth(map-keys($themes), 1)) {
18
- &#{'-'+$paletteName} {
18
+ &#{'-' + $paletteName} {
19
19
  background: getColorVar($paletteName, '50');
20
20
  }
21
- &#{'-'+$paletteName} &-item:hover {
21
+ &#{'-' + $paletteName} &-item:hover {
22
22
  background: getColorVar($paletteName, '40');
23
23
  cursor: pointer;
24
24
  }
25
- &#{'-'+$paletteName} &-item_active {
25
+ &#{'-' + $paletteName} &-item_active {
26
26
  background: getColorVar($paletteName, '30');
27
27
  }
28
28
  }
@@ -1,7 +1,7 @@
1
1
  @use '@tetacom/themes/src/tatneft/presets.scss' as tatneft;
2
2
  @use '@tetacom/themes/src/base/presets.scss' as base;
3
- @import "@tetacom/themes/src/global.tokens.css";
4
- @import "@tetacom/themes/src/util.scss";
3
+ @import '@tetacom/themes/src/global.tokens.css';
4
+ @import '@tetacom/themes/src/util.scss';
5
5
 
6
6
  $themes: map-collect('themes', tatneft.$presets, base.$presets);
7
7
  $shadows: map-collect('shadow', tatneft.$presets, base.$presets);
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  &_circle {
11
- border-radius: var(--radius-#{$tokenType}-circle)
11
+ border-radius: var(--radius-#{$tokenType}-circle);
12
12
  }
13
13
 
14
14
  &_rounded {
@@ -1,4 +1,4 @@
1
- @import "util/color-util.scss";
1
+ @import 'util/color-util.scss';
2
2
 
3
3
  .progress {
4
4
  width: 100%;
@@ -22,7 +22,8 @@
22
22
  background: var(--color-primary-50);
23
23
  }
24
24
 
25
- &:hover &-slider, &-slider_visible {
25
+ &:hover &-slider,
26
+ &-slider_visible {
26
27
  cursor: grab;
27
28
  }
28
29
  }
package/style/radio.scss CHANGED
@@ -1,5 +1,5 @@
1
- @import "util/font-util.scss";
2
- @import "util/color-util.scss";
1
+ @import 'util/font-util.scss';
2
+ @import 'util/color-util.scss';
3
3
 
4
4
  .radio {
5
5
  display: grid;
@@ -12,7 +12,6 @@
12
12
  align-items: center;
13
13
  @include getFont($fonts, 'body-3');
14
14
 
15
-
16
15
  &_disabled {
17
16
  filter: grayscale(50%);
18
17
  color: var(--color-text-40);
@@ -40,7 +39,6 @@
40
39
  background-color: var(--color-text-5);
41
40
  color: var(--color-text-40);
42
41
  border: solid 1px var(--color-text-30);
43
-
44
42
  }
45
43
 
46
44
  &-small-icon {
package/style/reset.scss CHANGED
@@ -2,7 +2,9 @@ html {
2
2
  font-size: 10px;
3
3
  }
4
4
 
5
- *, *::after, *::before {
5
+ *,
6
+ *::after,
7
+ *::before {
6
8
  box-sizing: border-box;
7
9
  padding: 0;
8
10
  margin: 0;
@@ -1,4 +1,4 @@
1
- @import "util/color-util.scss";
1
+ @import 'util/color-util.scss';
2
2
 
3
3
  .resize {
4
4
  &-panel {
@@ -13,11 +13,14 @@
13
13
  fill: var(--color-text-20);
14
14
  z-index: 10;
15
15
 
16
- &_active, &:hover {
16
+ &_active,
17
+ &:hover {
17
18
  fill: var(--color-text-90);
18
19
  }
19
20
 
20
- &_left, &_right, &_vertical {
21
+ &_left,
22
+ &_right,
23
+ &_vertical {
21
24
  height: 100%;
22
25
  top: 0;
23
26
  }
@@ -30,7 +33,8 @@
30
33
  left: 100%;
31
34
  }
32
35
 
33
- &_top, &_bottom {
36
+ &_top,
37
+ &_bottom {
34
38
  width: 100%;
35
39
  left: 0;
36
40
  }
@@ -45,11 +49,13 @@
45
49
  }
46
50
 
47
51
  &-drag {
48
- &_horizontal:hover, &_horizontal#{&}_active {
52
+ &_horizontal:hover,
53
+ &_horizontal#{&}_active {
49
54
  cursor: row-resize;
50
55
  }
51
56
 
52
- &_vertical:hover, &_vertical#{&}_active {
57
+ &_vertical:hover,
58
+ &_vertical#{&}_active {
53
59
  cursor: col-resize;
54
60
  }
55
61
  }
package/style/scroll.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import "util/color-util.scss";
1
+ @import 'util/color-util.scss';
2
2
 
3
3
  ::-webkit-scrollbar-button {
4
4
  width: 4px;
package/style/select.scss CHANGED
@@ -1,6 +1,6 @@
1
- @import "util/color-util.scss";
2
- @import "util/font-util.scss";
3
- @import "presets/view-types.scss";
1
+ @import 'util/color-util.scss';
2
+ @import 'util/font-util.scss';
3
+ @import 'presets/view-types.scss';
4
4
 
5
5
  .select {
6
6
  display: inline-flex;
@@ -72,7 +72,8 @@
72
72
  }
73
73
  }
74
74
 
75
- &:focus:not(&_disabled) &-head, &_open &-head {
75
+ &:focus:not(&_disabled) &-head,
76
+ &_open &-head {
76
77
  border-color: var(--color-primary-50);
77
78
  }
78
79
 
package/style/shadow.scss CHANGED
@@ -1,3 +1,3 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
- @import "util/shadow-util.scss";
1
+ @use 'sass:map';
2
+ @use 'sass:list';
3
+ @import 'util/shadow-util.scss';
@@ -1,5 +1,5 @@
1
- @import "util/shadow-util.scss";
2
- @import "util/color-util.scss";
1
+ @import 'util/shadow-util.scss';
2
+ @import 'util/color-util.scss';
3
3
 
4
4
  .sidebar {
5
5
  position: fixed;
package/style/sizing.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import "common.scss";
1
+ @import 'common.scss';
2
2
 
3
3
  @for $i from 0 through $spacingLength {
4
4
  .height-#{$i} {
@@ -1,4 +1,4 @@
1
- @import "util/color-util.scss";
1
+ @import 'util/color-util.scss';
2
2
 
3
3
  .skeleton-pulse {
4
4
  height: 100%;
@@ -9,11 +9,10 @@
9
9
 
10
10
  @keyframes pulse {
11
11
  0% {
12
- background-position: 0% 0%
12
+ background-position: 0% 0%;
13
13
  }
14
14
  100% {
15
- background-position: -135% 0%
15
+ background-position: -135% 0%;
16
16
  }
17
17
  }
18
-
19
18
  }
@@ -1,4 +1,4 @@
1
- @import "common.scss";
1
+ @import 'common.scss';
2
2
 
3
3
  $spacingTypes: margin, padding;
4
4
 
package/style/switch.scss CHANGED
@@ -1,5 +1,5 @@
1
- @import "util/font-util.scss";
2
- @import "util/color-util.scss";
1
+ @import 'util/font-util.scss';
2
+ @import 'util/color-util.scss';
3
3
 
4
4
  .switch {
5
5
  display: inline-flex;
@@ -38,4 +38,3 @@
38
38
  }
39
39
  }
40
40
  }
41
-