@taiga-ui/cdk 3.60.0-canary.8108863 → 3.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/bundles/taiga-ui-cdk-abstract.umd.js +971 -1117
  2. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-coercion.umd.js +1 -1
  4. package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
  5. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +505 -651
  6. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +404 -550
  8. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js +590 -736
  10. package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-constants.umd.js +80 -80
  12. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-date-time.umd.js +33 -179
  14. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-decorators.umd.js +10 -156
  16. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +434 -580
  18. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +706 -852
  20. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  21. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +426 -572
  22. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  23. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +410 -556
  24. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  25. package/bundles/taiga-ui-cdk-directives-resizer.umd.js +482 -628
  26. package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +1 -1
  27. package/bundles/taiga-ui-cdk-exceptions.umd.js +426 -572
  28. package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-observables.umd.js +9 -9
  30. package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
  31. package/bundles/taiga-ui-cdk-pipes-filter.umd.js +373 -519
  32. package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-pipes-is-present.umd.js +1 -1
  34. package/bundles/taiga-ui-cdk-pipes-is-present.umd.js.map +1 -1
  35. package/bundles/taiga-ui-cdk-pipes-keys.umd.js +1 -1
  36. package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
  37. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +373 -519
  38. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  39. package/bundles/taiga-ui-cdk-pipes-replace.umd.js +2 -2
  40. package/bundles/taiga-ui-cdk-pipes-replace.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-services.umd.js +841 -984
  42. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  43. package/bundles/taiga-ui-cdk-tokens.umd.js +650 -796
  44. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-utils-browser.umd.js +8 -8
  46. package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
  47. package/bundles/taiga-ui-cdk-utils-color.umd.js +26 -172
  48. package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -1
  49. package/bundles/taiga-ui-cdk-utils-dom.umd.js +11 -11
  50. package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
  51. package/bundles/taiga-ui-cdk-utils-focus.umd.js +19 -19
  52. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  53. package/bundles/taiga-ui-cdk-utils-format.umd.js +1 -1
  54. package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
  55. package/bundles/taiga-ui-cdk-utils-math.umd.js +7 -7
  56. package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
  57. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +21 -167
  58. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  59. package/bundles/taiga-ui-cdk-utils-os.umd.js +1 -1
  60. package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
  61. package/bundles/taiga-ui-cdk-utils-svg.umd.js +11 -11
  62. package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
  63. package/constants/version.d.ts +1 -1
  64. package/constants/version.js +1 -1
  65. package/esm2015/abstract/control.js +4 -4
  66. package/esm2015/abstract/interactive.js +7 -7
  67. package/esm2015/abstract/portal-host.js +2 -2
  68. package/esm2015/abstract/theme-switcher.js +2 -2
  69. package/esm2015/coercion/coerce-boolean-property.js +2 -2
  70. package/esm2015/components/dropdown-host/dropdown-portal.service.js +3 -3
  71. package/esm2015/constants/parent-animation.js +4 -4
  72. package/esm2015/constants/svg-node-filter.js +2 -2
  73. package/esm2015/constants/unicode-chars.js +13 -13
  74. package/esm2015/constants/used-icons.js +64 -64
  75. package/esm2015/constants/version.js +2 -2
  76. package/esm2015/date-time/date-format.js +2 -2
  77. package/esm2015/date-time/date-separator.js +2 -2
  78. package/esm2015/date-time/day-range.js +3 -3
  79. package/esm2015/date-time/day.js +14 -14
  80. package/esm2015/date-time/month.js +2 -2
  81. package/esm2015/date-time/time.js +7 -7
  82. package/esm2015/date-time/year.js +2 -2
  83. package/esm2015/decorators/pure.js +5 -5
  84. package/esm2015/directives/auto-focus/autofocus.options.js +2 -2
  85. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +2 -2
  86. package/esm2015/directives/auto-focus/handlers/default.handler.js +2 -2
  87. package/esm2015/directives/auto-focus/handlers/ios.handler.js +28 -28
  88. package/esm2015/directives/hovered/hovered.service.js +3 -3
  89. package/esm2015/exceptions/computed-document.exception.js +2 -2
  90. package/esm2015/exceptions/document-selection.exception.js +2 -2
  91. package/esm2015/exceptions/invalid-day.exception.js +2 -2
  92. package/esm2015/exceptions/invalid-month.exception.js +2 -2
  93. package/esm2015/exceptions/invalid-year.exception.js +2 -2
  94. package/esm2015/exceptions/no-host.exception.js +2 -2
  95. package/esm2015/exceptions/owner-document.exception.js +2 -2
  96. package/esm2015/exceptions/pure.exception.js +2 -2
  97. package/esm2015/exceptions/table-sort-key.exception.js +2 -2
  98. package/esm2015/exceptions/ts-parser.exception.js +2 -2
  99. package/esm2015/exceptions/value-changes.exception.js +2 -2
  100. package/esm2015/exceptions/value-present.exception.js +2 -2
  101. package/esm2015/exceptions/xml-parsing.exception.js +2 -2
  102. package/esm2015/observables/drag-and-drop-from.js +2 -2
  103. package/esm2015/observables/focus-visible-observable.js +5 -5
  104. package/esm2015/observables/is-observed.js +2 -2
  105. package/esm2015/observables/mouse-drag-finish-from.js +2 -2
  106. package/esm2015/observables/pressed-observable.js +2 -2
  107. package/esm2015/observables/scroll-from.js +2 -2
  108. package/esm2015/pipes/filter/filter.pipe.js +2 -2
  109. package/esm2015/pipes/is-present/is-present.pipe.js +2 -2
  110. package/esm2015/pipes/keys/keys.pipe.js +2 -2
  111. package/esm2015/pipes/mapper/mapper.pipe.js +2 -2
  112. package/esm2015/pipes/replace/replace.pipe.js +3 -3
  113. package/esm2015/services/directive-styles.service.js +6 -3
  114. package/esm2015/services/id.service.js +4 -4
  115. package/esm2015/services/obscured.service.js +2 -2
  116. package/esm2015/services/pan.service.js +5 -5
  117. package/esm2015/services/parents-scroll.service.js +2 -2
  118. package/esm2015/services/scroll.service.js +8 -8
  119. package/esm2015/services/static-request.service.js +4 -4
  120. package/esm2015/services/swipe.service.js +2 -2
  121. package/esm2015/services/zoom.service.js +3 -3
  122. package/esm2015/tokens/active-element.js +9 -9
  123. package/esm2015/tokens/base-href.js +2 -2
  124. package/esm2015/tokens/ensure-base-href.js +4 -4
  125. package/esm2015/tokens/focusable-item-accessor.js +2 -2
  126. package/esm2015/tokens/fonts-ready.js +2 -2
  127. package/esm2015/tokens/is-firefox.js +2 -2
  128. package/esm2015/tokens/is-stackblitz.js +2 -2
  129. package/esm2015/tokens/platform.js +5 -5
  130. package/esm2015/tokens/touch-supported.js +2 -2
  131. package/esm2015/tokens/window-size.js +5 -5
  132. package/esm2015/utils/browser/is-edge-older-than.js +2 -2
  133. package/esm2015/utils/browser/is-edge.js +2 -2
  134. package/esm2015/utils/browser/is-firefox.js +2 -2
  135. package/esm2015/utils/browser/is-safari.js +6 -6
  136. package/esm2015/utils/color/hex-to-rgb.js +4 -4
  137. package/esm2015/utils/color/hex-to-rgba.js +5 -5
  138. package/esm2015/utils/color/parse-color.js +7 -7
  139. package/esm2015/utils/color/rgb-to-hex.js +2 -2
  140. package/esm2015/utils/color/rgba-to-hex.js +7 -7
  141. package/esm2015/utils/dom/element-checks.js +4 -4
  142. package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
  143. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
  144. package/esm2015/utils/dom/get-element-offset.js +2 -2
  145. package/esm2015/utils/dom/retarget-boundary-crossing.js +4 -4
  146. package/esm2015/utils/focus/is-native-keyboard-focusable.js +14 -14
  147. package/esm2015/utils/focus/is-native-mouse-focusable.js +3 -3
  148. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
  149. package/esm2015/utils/format/px.js +2 -2
  150. package/esm2015/utils/math/round-with.js +4 -4
  151. package/esm2015/utils/math/round.js +5 -5
  152. package/esm2015/utils/miscellaneous/clean-object.js +2 -2
  153. package/esm2015/utils/miscellaneous/create-token.js +2 -2
  154. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
  155. package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
  156. package/esm2015/utils/miscellaneous/is-number.js +2 -2
  157. package/esm2015/utils/miscellaneous/is-object.js +2 -2
  158. package/esm2015/utils/miscellaneous/is-string.js +2 -2
  159. package/esm2015/utils/miscellaneous/is-valid-url.js +8 -8
  160. package/esm2015/utils/os/is-apple-platform.js +2 -2
  161. package/esm2015/utils/svg/svg-linear-gradient-processor.js +12 -12
  162. package/fesm2015/taiga-ui-cdk-abstract.js +11 -11
  163. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  164. package/fesm2015/taiga-ui-cdk-coercion.js +1 -1
  165. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  166. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +2 -2
  167. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  168. package/fesm2015/taiga-ui-cdk-constants.js +80 -80
  169. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  170. package/fesm2015/taiga-ui-cdk-date-time.js +25 -25
  171. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  172. package/fesm2015/taiga-ui-cdk-decorators.js +4 -4
  173. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  174. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +30 -30
  175. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  176. package/fesm2015/taiga-ui-cdk-directives-hovered.js +2 -2
  177. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  178. package/fesm2015/taiga-ui-cdk-exceptions.js +13 -13
  179. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  180. package/fesm2015/taiga-ui-cdk-observables.js +9 -9
  181. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  182. package/fesm2015/taiga-ui-cdk-pipes-filter.js +1 -1
  183. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  184. package/fesm2015/taiga-ui-cdk-pipes-is-present.js +1 -1
  185. package/fesm2015/taiga-ui-cdk-pipes-is-present.js.map +1 -1
  186. package/fesm2015/taiga-ui-cdk-pipes-keys.js +1 -1
  187. package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
  188. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +1 -1
  189. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  190. package/fesm2015/taiga-ui-cdk-pipes-replace.js +2 -2
  191. package/fesm2015/taiga-ui-cdk-pipes-replace.js.map +1 -1
  192. package/fesm2015/taiga-ui-cdk-services.js +27 -24
  193. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  194. package/fesm2015/taiga-ui-cdk-tokens.js +25 -25
  195. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  196. package/fesm2015/taiga-ui-cdk-utils-browser.js +8 -8
  197. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  198. package/fesm2015/taiga-ui-cdk-utils-color.js +20 -20
  199. package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -1
  200. package/fesm2015/taiga-ui-cdk-utils-dom.js +11 -11
  201. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  202. package/fesm2015/taiga-ui-cdk-utils-focus.js +19 -19
  203. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  204. package/fesm2015/taiga-ui-cdk-utils-format.js +1 -1
  205. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  206. package/fesm2015/taiga-ui-cdk-utils-math.js +7 -7
  207. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  208. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +15 -15
  209. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  210. package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
  211. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  212. package/fesm2015/taiga-ui-cdk-utils-svg.js +11 -11
  213. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  214. package/package.json +69 -69
  215. package/schematics/constants/file-globs.js +24 -24
  216. package/schematics/constants/taiga-styles.js +4 -4
  217. package/schematics/ng-add/constants/modules.js +12 -12
  218. package/schematics/ng-add/constants/packages.js +1 -1
  219. package/schematics/ng-add/constants/versions.js +3 -3
  220. package/schematics/ng-add/index.js +10 -10
  221. package/schematics/ng-add/steps/add-taiga-icons.js +4 -4
  222. package/schematics/ng-add/steps/add-taiga-modules.js +14 -14
  223. package/schematics/ng-add/steps/wrap-with-tui-root.js +12 -12
  224. package/schematics/ng-update/steps/icons/replace-imports.js +2 -2
  225. package/schematics/ng-update/steps/remove-module.js +2 -2
  226. package/schematics/ng-update/steps/rename-types.js +5 -5
  227. package/schematics/ng-update/steps/replace-deep-import.js +4 -4
  228. package/schematics/ng-update/steps/replace-enums.js +2 -2
  229. package/schematics/ng-update/steps/replace-identifier.js +2 -2
  230. package/schematics/ng-update/steps/replace-services.js +4 -4
  231. package/schematics/ng-update/steps/show-warnings.js +1 -1
  232. package/schematics/ng-update/utils/replace-text.js +1 -1
  233. package/schematics/ng-update/utils/templates/replace-tag.js +1 -1
  234. package/schematics/ng-update/v3/constants/breakpoints.js +27 -27
  235. package/schematics/ng-update/v3/constants/constants.js +187 -187
  236. package/schematics/ng-update/v3/constants/deprecated-functions.js +405 -405
  237. package/schematics/ng-update/v3/constants/enums.js +153 -153
  238. package/schematics/ng-update/v3/constants/modules.js +4 -4
  239. package/schematics/ng-update/v3/constants/services.js +16 -16
  240. package/schematics/ng-update/v3/constants/templates.js +295 -295
  241. package/schematics/ng-update/v3/constants/tui-interactive-selectors.js +50 -50
  242. package/schematics/ng-update/v3/constants/types.js +88 -88
  243. package/schematics/ng-update/v3/constants/warnings.js +62 -62
  244. package/schematics/ng-update/v3/index.js +7 -7
  245. package/schematics/ng-update/v3/steps/migrate-date-time.js +42 -42
  246. package/schematics/ng-update/v3/steps/migrate-polymorpheus.js +14 -14
  247. package/schematics/ng-update/v3/steps/migrate-progress.js +6 -6
  248. package/schematics/ng-update/v3/steps/migrate-sliders/index.js +4 -4
  249. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +27 -27
  250. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +26 -26
  251. package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +7 -7
  252. package/schematics/ng-update/v3/steps/migrate-templates.js +18 -18
  253. package/schematics/ng-update/v3/steps/migrate-textfield-controller.js +33 -33
  254. package/schematics/ng-update/v3/steps/miscellaneous.js +16 -16
  255. package/schematics/ng-update/v3/steps/replace-functions.js +17 -17
  256. package/schematics/ng-update/v3/steps/replace-styles.js +12 -12
  257. package/schematics/ng-update/v3-30/constants/constants.js +2 -2
  258. package/schematics/ng-update/v3-30/constants/icons.js +494 -494
  259. package/schematics/ng-update/v3-30/index.js +4 -4
  260. package/schematics/ng-update/v3-35/constants/constants.js +2 -2
  261. package/schematics/ng-update/v3-35/constants/icons.js +1266 -1266
  262. package/schematics/ng-update/v3-35/index.js +5 -5
  263. package/schematics/ng-update/v3-36/index.js +6 -6
  264. package/schematics/ng-update/v3-40/index.js +11 -11
  265. package/schematics/ng-update/v3-5/index.js +1 -1
  266. package/schematics/ng-update/v3-5/steps/migrate-expand-templates.js +7 -7
  267. package/schematics/ng-update/v4/index.js +2 -2
  268. package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js +19 -19
  269. package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +21 -21
  270. package/schematics/ng-update/v4/steps/constants/html-comments.js +9 -9
  271. package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +21 -21
  272. package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js +4 -4
  273. package/schematics/ng-update/v4/steps/constants/tags-to-replace.js +2 -2
  274. package/schematics/ng-update/v4/steps/migrate-templates.js +3 -3
  275. package/schematics/ng-update/v4/steps/restore-tui-mapper.js +6 -6
  276. package/schematics/ng-update/v4/steps/restore-tui-matcher.js +6 -6
  277. package/schematics/ng-update/v4/steps/templates/migrate-avatar.js +14 -14
  278. package/schematics/ng-update/v4/steps/templates/migrate-badge.js +3 -3
  279. package/schematics/ng-update/v4/steps/templates/toggles/common.js +5 -5
  280. package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js +4 -4
  281. package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.js +4 -4
  282. package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.js +4 -4
  283. package/schematics/utils/add-import-to-component.js +1 -1
  284. package/schematics/utils/angular/is-standalone-component.js +3 -3
  285. package/schematics/utils/angular/ng-component.js +1 -1
  286. package/schematics/utils/angular/ng-module.js +1 -1
  287. package/schematics/utils/angular-json-manipulations.js +5 -5
  288. package/schematics/utils/colored-log.js +11 -11
  289. package/schematics/utils/create-angular-json.js +3 -3
  290. package/schematics/utils/get-component-from-identifier.js +1 -1
  291. package/schematics/utils/get-named-import-references.js +1 -1
  292. package/schematics/utils/get-projects.js +2 -2
  293. package/schematics/utils/get-standalone-bootstrap-function.js +1 -1
  294. package/schematics/utils/insert-todo.js +1 -1
  295. package/schematics/utils/is-ci.js +1 -1
  296. package/schematics/utils/progress.js +2 -2
  297. package/schematics/utils/project-root.js +1 -1
  298. package/schematics/utils/push-to-array-property.js +1 -1
  299. package/schematics/utils/templates/elements.js +1 -1
  300. package/schematics/utils/templates/get-component-templates.js +5 -5
  301. package/schematics/utils/templates/ng-component-input-manipulations.js +5 -5
  302. package/schematics/utils/templates/template-resource.js +3 -3
  303. package/services/directive-styles.service.d.ts +3 -2
  304. package/utils/miscellaneous/is-string.js +1 -1
@@ -5,661 +5,661 @@ const elements_1 = require("../../../utils/templates/elements");
5
5
  const tui_interactive_selectors_1 = require("./tui-interactive-selectors");
6
6
  exports.ATTRS_TO_REPLACE = [
7
7
  {
8
- from: { attrName: `tuiResizableColumn`, withAttrsNames: [`tuiResizableColumn`] },
9
- to: { attrName: `tuiTh [resizable]="true"` },
8
+ from: { attrName: 'tuiResizableColumn', withAttrsNames: ['tuiResizableColumn'] },
9
+ to: { attrName: 'tuiTh [resizable]="true"' },
10
10
  },
11
11
  {
12
12
  from: {
13
- attrName: `new`,
13
+ attrName: 'new',
14
14
  withTagNames: [
15
- `tui-editor`,
16
- `tui-range`,
17
- `tui-input-range`,
18
- `tui-input-slider`,
19
- `tui-feed-item`,
15
+ 'tui-editor',
16
+ 'tui-range',
17
+ 'tui-input-range',
18
+ 'tui-input-slider',
19
+ 'tui-feed-item',
20
20
  ],
21
21
  },
22
- to: { attrName: `` },
22
+ to: { attrName: '' },
23
23
  },
24
24
  {
25
25
  from: {
26
- attrName: `[hovered]`,
27
- withTagNames: [`tui-wrapper`],
28
- withAttrsNames: [`tuiWrapper`],
26
+ attrName: '[hovered]',
27
+ withTagNames: ['tui-wrapper'],
28
+ withAttrsNames: ['tuiWrapper'],
29
29
  },
30
30
  to: {
31
- attrName: `[hover]`,
31
+ attrName: '[hover]',
32
32
  },
33
33
  },
34
34
  {
35
35
  from: {
36
- attrName: `[pressed]`,
37
- withTagNames: [`tui-wrapper`],
38
- withAttrsNames: [`tuiWrapper`],
36
+ attrName: '[pressed]',
37
+ withTagNames: ['tui-wrapper'],
38
+ withAttrsNames: ['tuiWrapper'],
39
39
  },
40
40
  to: {
41
- attrName: `[active]`,
41
+ attrName: '[active]',
42
42
  },
43
43
  },
44
44
  {
45
45
  from: {
46
- attrName: `[label]`,
47
- withAttrsNames: [`tuiLabel`],
46
+ attrName: '[label]',
47
+ withAttrsNames: ['tuiLabel'],
48
48
  },
49
49
  to: {
50
- attrName: `[tuiLabel]`,
50
+ attrName: '[tuiLabel]',
51
51
  },
52
52
  },
53
53
  {
54
54
  from: {
55
- attrName: `label`,
56
- withAttrsNames: [`tuiLabel`],
55
+ attrName: 'label',
56
+ withAttrsNames: ['tuiLabel'],
57
57
  },
58
58
  to: {
59
- attrName: `tuiLabel`,
59
+ attrName: 'tuiLabel',
60
60
  },
61
61
  },
62
62
  {
63
63
  from: {
64
- attrName: `[state]`,
65
- withAttrsNames: [`tuiStep`],
64
+ attrName: '[state]',
65
+ withAttrsNames: ['tuiStep'],
66
66
  },
67
67
  to: {
68
- attrName: `[stepState]`,
68
+ attrName: '[stepState]',
69
69
  },
70
70
  },
71
71
  {
72
72
  from: {
73
- attrName: `state`,
74
- withAttrsNames: [`tuiStep`],
73
+ attrName: 'state',
74
+ withAttrsNames: ['tuiStep'],
75
75
  },
76
76
  to: {
77
- attrName: `stepState`,
77
+ attrName: 'stepState',
78
78
  },
79
79
  },
80
80
  {
81
81
  from: {
82
- attrName: `[focused]`,
83
- withTagNames: [`tui-wrapper`],
84
- withAttrsNames: [`tuiWrapper`],
82
+ attrName: '[focused]',
83
+ withTagNames: ['tui-wrapper'],
84
+ withAttrsNames: ['tuiWrapper'],
85
85
  },
86
86
  to: {
87
- attrName: `[focus]`,
87
+ attrName: '[focus]',
88
88
  },
89
89
  },
90
90
  {
91
91
  from: {
92
- attrName: `[pseudoPressed]`,
92
+ attrName: '[pseudoPressed]',
93
93
  withTagNames: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
94
94
  },
95
95
  to: {
96
- attrName: `[pseudoActive]`,
96
+ attrName: '[pseudoActive]',
97
97
  },
98
98
  },
99
99
  {
100
100
  from: {
101
- attrName: `[pseudoHovered]`,
101
+ attrName: '[pseudoHovered]',
102
102
  withTagNames: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
103
103
  },
104
104
  to: {
105
- attrName: `[pseudoHover]`,
105
+ attrName: '[pseudoHover]',
106
106
  },
107
107
  },
108
108
  {
109
109
  from: {
110
- attrName: `[pseudoFocused]`,
110
+ attrName: '[pseudoFocused]',
111
111
  withTagNames: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
112
112
  },
113
113
  to: {
114
- attrName: `[pseudoFocus]`,
114
+ attrName: '[pseudoFocus]',
115
115
  },
116
116
  },
117
117
  {
118
118
  from: {
119
- attrName: `[pseudoHovered]`,
120
- withAttrsNames: [`tuiButton`, `tuiIconButton`],
119
+ attrName: '[pseudoHovered]',
120
+ withAttrsNames: ['tuiButton', 'tuiIconButton'],
121
121
  },
122
122
  to: {
123
- attrName: `[pseudoHover]`,
123
+ attrName: '[pseudoHover]',
124
124
  },
125
125
  },
126
126
  {
127
127
  from: {
128
- attrName: `[pseudoFocused]`,
129
- withAttrsNames: [`tuiButton`, `tuiIconButton`],
128
+ attrName: '[pseudoFocused]',
129
+ withAttrsNames: ['tuiButton', 'tuiIconButton'],
130
130
  },
131
131
  to: {
132
- attrName: `[pseudoFocus]`,
132
+ attrName: '[pseudoFocus]',
133
133
  },
134
134
  },
135
135
  {
136
136
  from: {
137
- attrName: `[pseudoPressed]`,
138
- withAttrsNames: [`tuiButton`, `tuiIconButton`],
137
+ attrName: '[pseudoPressed]',
138
+ withAttrsNames: ['tuiButton', 'tuiIconButton'],
139
139
  },
140
140
  to: {
141
- attrName: `[pseudoActive]`,
141
+ attrName: '[pseudoActive]',
142
142
  },
143
143
  },
144
144
  {
145
145
  from: {
146
- attrName: `(rangeChange)`,
147
- withTagNames: [`tui-calendar-range`],
146
+ attrName: '(rangeChange)',
147
+ withTagNames: ['tui-calendar-range'],
148
148
  },
149
149
  to: {
150
- attrName: `(valueChange)`,
150
+ attrName: '(valueChange)',
151
151
  },
152
152
  },
153
153
  {
154
154
  from: {
155
- attrName: `[quantum]`,
156
- withAttrsNames: [`tuiSlider`],
157
- withTagNames: [`tui-slider`],
155
+ attrName: '[quantum]',
156
+ withAttrsNames: ['tuiSlider'],
157
+ withTagNames: ['tui-slider'],
158
158
  },
159
159
  to: {
160
- attrName: `[step]`,
160
+ attrName: '[step]',
161
161
  },
162
162
  },
163
163
  {
164
164
  from: {
165
- attrName: `[quantum]`,
166
- withTagNames: [`tui-range`],
165
+ attrName: '[quantum]',
166
+ withTagNames: ['tui-range'],
167
167
  },
168
168
  to: {
169
- attrName: `[step]`,
169
+ attrName: '[step]',
170
170
  },
171
171
  },
172
172
  {
173
173
  from: {
174
- attrName: `*tuiTab`,
175
- withTagNames: [`*`],
174
+ attrName: '*tuiTab',
175
+ withTagNames: ['*'],
176
176
  },
177
177
  to: {
178
- attrName: `*tuiItem`,
178
+ attrName: '*tuiItem',
179
179
  },
180
180
  },
181
181
  {
182
182
  from: {
183
- attrName: `*tuiBreadcrumb`,
184
- withTagNames: [`*`],
183
+ attrName: '*tuiBreadcrumb',
184
+ withTagNames: ['*'],
185
185
  },
186
186
  to: {
187
- attrName: `*tuiItem`,
187
+ attrName: '*tuiItem',
188
188
  },
189
189
  },
190
190
  {
191
191
  from: {
192
- attrName: `tuiToolbarTool`,
193
- withTagNames: [`*`],
192
+ attrName: 'tuiToolbarTool',
193
+ withTagNames: ['*'],
194
194
  },
195
195
  to: {
196
- attrName: `tuiItem`,
196
+ attrName: 'tuiItem',
197
197
  },
198
198
  },
199
199
  {
200
200
  from: {
201
- attrName: `tuiManualHint`,
202
- withTagNames: [`*`],
201
+ attrName: 'tuiManualHint',
202
+ withTagNames: ['*'],
203
203
  },
204
204
  to: {
205
- attrName: `tuiHint`,
205
+ attrName: 'tuiHint',
206
206
  },
207
207
  },
208
208
  {
209
209
  from: {
210
- attrName: `[tuiManualHint]`,
211
- withTagNames: [`*`],
210
+ attrName: '[tuiManualHint]',
211
+ withTagNames: ['*'],
212
212
  },
213
213
  to: {
214
- attrName: `[tuiHint]`,
214
+ attrName: '[tuiHint]',
215
215
  },
216
216
  },
217
217
  {
218
218
  from: {
219
- attrName: `[tuiManualHintShow]`,
220
- withTagNames: [`*`],
219
+ attrName: '[tuiManualHintShow]',
220
+ withTagNames: ['*'],
221
221
  },
222
222
  to: {
223
- attrName: `[tuiHintManual]`,
223
+ attrName: '[tuiHintManual]',
224
224
  },
225
225
  },
226
226
  {
227
227
  from: {
228
- attrName: `[tuiPointerHint]`,
229
- withTagNames: [`*`],
228
+ attrName: '[tuiPointerHint]',
229
+ withTagNames: ['*'],
230
230
  },
231
231
  to: {
232
- attrName: `tuiHintPointer [tuiHint]`,
232
+ attrName: 'tuiHintPointer [tuiHint]',
233
233
  },
234
234
  },
235
235
  {
236
236
  from: {
237
- attrName: `tuiPointerHint`,
238
- withTagNames: [`*`],
237
+ attrName: 'tuiPointerHint',
238
+ withTagNames: ['*'],
239
239
  },
240
240
  to: {
241
- attrName: `tuiHintPointer tuiHint`,
241
+ attrName: 'tuiHintPointer tuiHint',
242
242
  },
243
243
  },
244
244
  {
245
245
  from: {
246
- attrName: `messageMode`,
247
- withTagNames: [`tui-input-copy`],
246
+ attrName: 'messageMode',
247
+ withTagNames: ['tui-input-copy'],
248
248
  },
249
249
  to: {
250
- attrName: `messageAppearance`,
250
+ attrName: 'messageAppearance',
251
251
  },
252
252
  },
253
253
  {
254
254
  from: {
255
- attrName: `[messageMode]`,
256
- withTagNames: [`tui-input-copy`],
255
+ attrName: '[messageMode]',
256
+ withTagNames: ['tui-input-copy'],
257
257
  },
258
258
  to: {
259
- attrName: `[messageAppearance]`,
259
+ attrName: '[messageAppearance]',
260
260
  },
261
261
  },
262
262
  {
263
263
  from: {
264
- attrName: `[hintMode]`,
265
- withTagNames: [`tui-bar-chart`],
264
+ attrName: '[hintMode]',
265
+ withTagNames: ['tui-bar-chart'],
266
266
  },
267
267
  to: {
268
- attrName: `[tuiHintAppearance]`,
268
+ attrName: '[tuiHintAppearance]',
269
269
  },
270
270
  },
271
271
  {
272
272
  from: {
273
- attrName: `tuiHintMode`,
274
- withTagNames: [`*`],
273
+ attrName: 'tuiHintMode',
274
+ withTagNames: ['*'],
275
275
  },
276
276
  to: {
277
- attrName: `tuiHintAppearance`,
277
+ attrName: 'tuiHintAppearance',
278
278
  },
279
279
  },
280
280
  {
281
281
  from: {
282
- attrName: `[tuiHintMode]`,
283
- withTagNames: [`*`],
282
+ attrName: '[tuiHintMode]',
283
+ withTagNames: ['*'],
284
284
  },
285
285
  to: {
286
- attrName: `[tuiHintAppearance]`,
286
+ attrName: '[tuiHintAppearance]',
287
287
  },
288
288
  },
289
289
  {
290
290
  from: {
291
- attrName: `mode`,
292
- withTagNames: [`tui-tooltip`],
291
+ attrName: 'mode',
292
+ withTagNames: ['tui-tooltip'],
293
293
  },
294
294
  to: {
295
- attrName: `appearance`,
295
+ attrName: 'appearance',
296
296
  },
297
297
  },
298
298
  {
299
299
  from: {
300
- attrName: `[mode]`,
301
- withTagNames: [`tui-tooltip`],
300
+ attrName: '[mode]',
301
+ withTagNames: ['tui-tooltip'],
302
302
  },
303
303
  to: {
304
- attrName: `[appearance]`,
304
+ attrName: '[appearance]',
305
305
  },
306
306
  },
307
307
  {
308
308
  from: {
309
- attrName: `[itemLabel]`,
310
- withTagNames: [`tui-feed-item`],
309
+ attrName: '[itemLabel]',
310
+ withTagNames: ['tui-feed-item'],
311
311
  },
312
312
  to: {
313
- attrName: `[description]`,
313
+ attrName: '[description]',
314
314
  },
315
315
  },
316
316
  {
317
317
  from: {
318
- attrName: `[itemValue]`,
319
- withTagNames: [`tui-feed-item`],
318
+ attrName: '[itemValue]',
319
+ withTagNames: ['tui-feed-item'],
320
320
  },
321
321
  to: {
322
- attrName: `[title]`,
322
+ attrName: '[title]',
323
323
  },
324
324
  },
325
325
  {
326
326
  from: {
327
- attrName: `[sumLabel]`,
328
- withTagNames: [`tui-feed-item`],
327
+ attrName: '[sumLabel]',
328
+ withTagNames: ['tui-feed-item'],
329
329
  },
330
330
  to: {
331
- attrName: `[secondaryDescription]`,
331
+ attrName: '[secondaryDescription]',
332
332
  },
333
333
  },
334
334
  {
335
335
  from: {
336
- attrName: `[sumValue]`,
337
- withTagNames: [`tui-feed-item`],
336
+ attrName: '[sumValue]',
337
+ withTagNames: ['tui-feed-item'],
338
338
  },
339
339
  to: {
340
- attrName: `[secondaryTitle]`,
340
+ attrName: '[secondaryTitle]',
341
341
  },
342
342
  },
343
343
  {
344
344
  from: {
345
- attrName: `tuiDropdown`,
346
- withTagNames: [`*`],
345
+ attrName: 'tuiDropdown',
346
+ withTagNames: ['*'],
347
347
  },
348
348
  to: {
349
- attrName: `tuiDropdownManual`,
349
+ attrName: 'tuiDropdownManual',
350
350
  },
351
351
  },
352
352
  {
353
353
  from: {
354
- attrName: `[tuiDropdown]`,
355
- withTagNames: [`*`],
354
+ attrName: '[tuiDropdown]',
355
+ withTagNames: ['*'],
356
356
  },
357
357
  to: {
358
- attrName: `[tuiDropdownManual]`,
358
+ attrName: '[tuiDropdownManual]',
359
359
  },
360
360
  },
361
361
  {
362
362
  from: {
363
- attrName: `tuiDropdownContent`,
364
- withTagNames: [`*`],
363
+ attrName: 'tuiDropdownContent',
364
+ withTagNames: ['*'],
365
365
  },
366
366
  to: {
367
- attrName: `tuiDropdown`,
367
+ attrName: 'tuiDropdown',
368
368
  },
369
369
  },
370
370
  {
371
371
  from: {
372
- attrName: `[tuiDropdownContent]`,
373
- withTagNames: [`*`],
372
+ attrName: '[tuiDropdownContent]',
373
+ withTagNames: ['*'],
374
374
  },
375
375
  to: {
376
- attrName: `[tuiDropdown]`,
376
+ attrName: '[tuiDropdown]',
377
377
  },
378
378
  },
379
379
  {
380
380
  from: {
381
- attrName: `tuiDropdownContext`,
382
- withTagNames: [`*`],
381
+ attrName: 'tuiDropdownContext',
382
+ withTagNames: ['*'],
383
383
  },
384
384
  to: {
385
- attrName: `tuiDropdownContext tuiDropdown`,
385
+ attrName: 'tuiDropdownContext tuiDropdown',
386
386
  },
387
387
  },
388
388
  {
389
389
  from: {
390
- attrName: `[tuiDropdownContext]`,
391
- withTagNames: [`*`],
390
+ attrName: '[tuiDropdownContext]',
391
+ withTagNames: ['*'],
392
392
  },
393
393
  to: {
394
- attrName: `tuiDropdownContext [tuiDropdown]`,
394
+ attrName: 'tuiDropdownContext [tuiDropdown]',
395
395
  },
396
396
  },
397
397
  {
398
398
  from: {
399
- attrName: `tuiTextfieldExampleText`,
400
- withTagNames: [`tui-input-tag`, `tui-multi-select`],
399
+ attrName: 'tuiTextfieldExampleText',
400
+ withTagNames: ['tui-input-tag', 'tui-multi-select'],
401
401
  },
402
402
  to: {
403
- attrName: `placeholder`,
403
+ attrName: 'placeholder',
404
404
  },
405
405
  },
406
406
  {
407
407
  from: {
408
- attrName: `tuiTextfieldMaxLength`,
409
- withTagNames: [`tui-input-tag`, `tui-text-area`],
408
+ attrName: 'tuiTextfieldMaxLength',
409
+ withTagNames: ['tui-input-tag', 'tui-text-area'],
410
410
  },
411
411
  to: {
412
- attrName: `maxLength`,
412
+ attrName: 'maxLength',
413
413
  },
414
414
  },
415
415
  {
416
416
  from: {
417
- attrName: `[tuiTextfieldExampleText]`,
418
- withTagNames: [`tui-input-tag`, `tui-multi-select`],
417
+ attrName: '[tuiTextfieldExampleText]',
418
+ withTagNames: ['tui-input-tag', 'tui-multi-select'],
419
419
  },
420
420
  to: {
421
- attrName: `[placeholder]`,
421
+ attrName: '[placeholder]',
422
422
  },
423
423
  },
424
424
  {
425
425
  from: {
426
- attrName: `[tuiTextfieldMaxLength]`,
427
- withTagNames: [`tui-input-tag`, `tui-text-area`],
426
+ attrName: '[tuiTextfieldMaxLength]',
427
+ withTagNames: ['tui-input-tag', 'tui-text-area'],
428
428
  },
429
429
  to: {
430
- attrName: `[maxLength]`,
430
+ attrName: '[maxLength]',
431
431
  },
432
432
  },
433
433
  {
434
434
  from: {
435
- attrName: `[tuiHintId]`,
436
- withTagNames: [`*`],
435
+ attrName: '[tuiHintId]',
436
+ withTagNames: ['*'],
437
437
  },
438
438
  to: {
439
- attrName: `[tuiHintDescribe]`,
439
+ attrName: '[tuiHintDescribe]',
440
440
  },
441
441
  },
442
442
  {
443
443
  from: {
444
- attrName: `tuiHintId`,
445
- withTagNames: [`*`],
444
+ attrName: 'tuiHintId',
445
+ withTagNames: ['*'],
446
446
  },
447
447
  to: {
448
- attrName: `tuiHintDescribe`,
448
+ attrName: 'tuiHintDescribe',
449
449
  },
450
450
  },
451
451
  {
452
452
  from: {
453
- attrName: `[tuiDescribedBy]`,
454
- withTagNames: [`*`],
453
+ attrName: '[tuiDescribedBy]',
454
+ withTagNames: ['*'],
455
455
  },
456
456
  to: {
457
- attrName: `[id]`,
457
+ attrName: '[id]',
458
458
  },
459
459
  },
460
460
  {
461
461
  from: {
462
- attrName: `tuiDescribedBy`,
463
- withTagNames: [`*`],
462
+ attrName: 'tuiDescribedBy',
463
+ withTagNames: ['*'],
464
464
  },
465
465
  to: {
466
- attrName: `id`,
466
+ attrName: 'id',
467
467
  },
468
468
  },
469
469
  {
470
470
  from: {
471
- attrName: `[tuiDropdownSided]`,
472
- withTagNames: [`tui-hosted-dropdown`],
471
+ attrName: '[tuiDropdownSided]',
472
+ withTagNames: ['tui-hosted-dropdown'],
473
473
  },
474
474
  to: {
475
- attrName: `[sided]`,
475
+ attrName: '[sided]',
476
476
  },
477
477
  },
478
478
  {
479
479
  from: {
480
- attrName: `tuiDropdownSided`,
481
- withTagNames: [`tui-hosted-dropdown`],
480
+ attrName: 'tuiDropdownSided',
481
+ withTagNames: ['tui-hosted-dropdown'],
482
482
  },
483
483
  to: {
484
- attrName: `[sided]="true"`,
484
+ attrName: '[sided]="true"',
485
485
  },
486
486
  },
487
487
  ];
488
488
  exports.INPUTS_TO_REMOVE = [
489
489
  {
490
- inputName: `iconAlign`,
491
- tags: [`tui-input`, `tui-primitive-textfield`, `tui-input-tag`],
490
+ inputName: 'iconAlign',
491
+ tags: ['tui-input', 'tui-primitive-textfield', 'tui-input-tag'],
492
492
  },
493
493
  {
494
- inputName: `tuiLabel`,
495
- tags: [`label`],
494
+ inputName: 'tuiLabel',
495
+ tags: ['label'],
496
496
  },
497
497
  ];
498
498
  exports.TAGS_TO_REPLACE = [
499
499
  {
500
- from: `tui-group`,
501
- to: `div`,
502
- addAttributes: [`tuiGroup`],
500
+ from: 'tui-group',
501
+ to: 'div',
502
+ addAttributes: ['tuiGroup'],
503
503
  },
504
504
  {
505
- from: `tui-wrapper`,
506
- to: `div`,
507
- addAttributes: [`tuiWrapper`],
505
+ from: 'tui-wrapper',
506
+ to: 'div',
507
+ addAttributes: ['tuiWrapper'],
508
508
  },
509
509
  {
510
- from: `tui-slider`,
511
- to: `input`,
512
- addAttributes: [`tuiSlider`, `type="range"`],
510
+ from: 'tui-slider',
511
+ to: 'input',
512
+ addAttributes: ['tuiSlider', 'type="range"'],
513
513
  },
514
514
  {
515
- from: `tui-action`,
516
- to: `button`,
517
- addAttributes: [`tuiAction`],
515
+ from: 'tui-action',
516
+ to: 'button',
517
+ addAttributes: ['tuiAction'],
518
518
  },
519
519
  ];
520
520
  exports.ATTR_TO_DIRECTIVE = [
521
521
  {
522
- componentSelector: `tui-primitive-textfield`,
523
- inputProperty: `(autofilledChange)`,
524
- directive: `(tuiAutofilledChange)`,
522
+ componentSelector: 'tui-primitive-textfield',
523
+ inputProperty: '(autofilledChange)',
524
+ directive: '(tuiAutofilledChange)',
525
525
  directiveModule: {
526
- name: `TuiAutofilledModule`,
527
- moduleSpecifier: `@taiga-ui/cdk`,
526
+ name: 'TuiAutofilledModule',
527
+ moduleSpecifier: '@taiga-ui/cdk',
528
528
  },
529
529
  },
530
530
  {
531
531
  componentSelector: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
532
- inputProperty: `(pressedChange)`,
533
- directive: `(tuiPressedChange)`,
532
+ inputProperty: '(pressedChange)',
533
+ directive: '(tuiPressedChange)',
534
534
  directiveModule: {
535
- name: `TuiPressedModule`,
536
- moduleSpecifier: `@taiga-ui/cdk`,
535
+ name: 'TuiPressedModule',
536
+ moduleSpecifier: '@taiga-ui/cdk',
537
537
  },
538
538
  },
539
539
  {
540
540
  componentSelector: tui_interactive_selectors_1.TUI_INTERACTIVE_SELECTORS,
541
- inputProperty: `(hoveredChange)`,
542
- directive: `(tuiHoveredChange)`,
541
+ inputProperty: '(hoveredChange)',
542
+ directive: '(tuiHoveredChange)',
543
543
  directiveModule: {
544
- name: `TuiHoveredModule`,
545
- moduleSpecifier: `@taiga-ui/cdk`,
544
+ name: 'TuiHoveredModule',
545
+ moduleSpecifier: '@taiga-ui/cdk',
546
546
  },
547
547
  },
548
548
  {
549
- componentSelector: `tui-input-slider`,
550
- inputProperty: `size`,
551
- directive: `tuiTextfieldSize`,
549
+ componentSelector: 'tui-input-slider',
550
+ inputProperty: 'size',
551
+ directive: 'tuiTextfieldSize',
552
552
  directiveModule: {
553
- name: `TuiTextfieldControllerModule`,
554
- moduleSpecifier: `@taiga-ui/core`,
553
+ name: 'TuiTextfieldControllerModule',
554
+ moduleSpecifier: '@taiga-ui/core',
555
555
  },
556
556
  },
557
557
  {
558
- componentSelector: `tui-input-slider`,
559
- inputProperty: `secondary`,
560
- directive: `tuiTextfieldCustomContent`,
558
+ componentSelector: 'tui-input-slider',
559
+ inputProperty: 'secondary',
560
+ directive: 'tuiTextfieldCustomContent',
561
561
  directiveModule: {
562
- name: `TuiTextfieldControllerModule`,
563
- moduleSpecifier: `@taiga-ui/core`,
562
+ name: 'TuiTextfieldControllerModule',
563
+ moduleSpecifier: '@taiga-ui/core',
564
564
  },
565
565
  },
566
566
  {
567
- componentSelector: `tui-input-range`,
568
- inputProperty: `size`,
569
- directive: `tuiTextfieldSize`,
567
+ componentSelector: 'tui-input-range',
568
+ inputProperty: 'size',
569
+ directive: 'tuiTextfieldSize',
570
570
  directiveModule: {
571
- name: `TuiTextfieldControllerModule`,
572
- moduleSpecifier: `@taiga-ui/core`,
571
+ name: 'TuiTextfieldControllerModule',
572
+ moduleSpecifier: '@taiga-ui/core',
573
573
  },
574
574
  },
575
575
  {
576
- componentSelector: `tui-input`,
577
- inputProperty: `icon`,
578
- directive: `tuiTextfieldIcon`,
576
+ componentSelector: 'tui-input',
577
+ inputProperty: 'icon',
578
+ directive: 'tuiTextfieldIcon',
579
579
  directiveModule: {
580
- name: `TuiTextfieldControllerModule`,
581
- moduleSpecifier: `@taiga-ui/core`,
580
+ name: 'TuiTextfieldControllerModule',
581
+ moduleSpecifier: '@taiga-ui/core',
582
582
  },
583
- filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`; },
583
+ filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === 'iconalign')) === null || _a === void 0 ? void 0 : _a.value) === 'right'; },
584
584
  },
585
585
  {
586
- componentSelector: `tui-input`,
587
- inputProperty: `icon`,
588
- directive: `tuiTextfieldIconLeft`,
586
+ componentSelector: 'tui-input',
587
+ inputProperty: 'icon',
588
+ directive: 'tuiTextfieldIconLeft',
589
589
  directiveModule: {
590
- name: `TuiTextfieldControllerModule`,
591
- moduleSpecifier: `@taiga-ui/core`,
590
+ name: 'TuiTextfieldControllerModule',
591
+ moduleSpecifier: '@taiga-ui/core',
592
592
  },
593
593
  filterFn: element => {
594
594
  var _a;
595
- return !elements_1.hasElementAttribute(element, `iconAlign`) ||
596
- ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`;
595
+ return !elements_1.hasElementAttribute(element, 'iconAlign') ||
596
+ ((_a = element.attrs.find(attr => attr.name === 'iconalign')) === null || _a === void 0 ? void 0 : _a.value) === 'left';
597
597
  },
598
598
  },
599
599
  {
600
- componentSelector: `tui-primitive-textfield`,
601
- inputProperty: `iconContent`,
602
- directive: `tuiTextfieldIcon`,
600
+ componentSelector: 'tui-primitive-textfield',
601
+ inputProperty: 'iconContent',
602
+ directive: 'tuiTextfieldIcon',
603
603
  directiveModule: {
604
- name: `TuiTextfieldControllerModule`,
605
- moduleSpecifier: `@taiga-ui/core`,
604
+ name: 'TuiTextfieldControllerModule',
605
+ moduleSpecifier: '@taiga-ui/core',
606
606
  },
607
607
  filterFn: element => {
608
608
  var _a;
609
- return !elements_1.hasElementAttribute(element, `iconAlign`) ||
610
- ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`;
609
+ return !elements_1.hasElementAttribute(element, 'iconAlign') ||
610
+ ((_a = element.attrs.find(attr => attr.name === 'iconalign')) === null || _a === void 0 ? void 0 : _a.value) === 'right';
611
611
  },
612
612
  },
613
613
  {
614
- componentSelector: `tui-primitive-textfield`,
615
- inputProperty: `iconContent`,
616
- directive: `tuiTextfieldIconLeft`,
614
+ componentSelector: 'tui-primitive-textfield',
615
+ inputProperty: 'iconContent',
616
+ directive: 'tuiTextfieldIconLeft',
617
617
  directiveModule: {
618
- name: `TuiTextfieldControllerModule`,
619
- moduleSpecifier: `@taiga-ui/core`,
618
+ name: 'TuiTextfieldControllerModule',
619
+ moduleSpecifier: '@taiga-ui/core',
620
620
  },
621
- filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
621
+ filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === 'iconalign')) === null || _a === void 0 ? void 0 : _a.value) === 'left'; },
622
622
  },
623
623
  {
624
- componentSelector: `tui-input-tag`,
625
- inputProperty: `icon`,
626
- directive: `tuiTextfieldIcon`,
624
+ componentSelector: 'tui-input-tag',
625
+ inputProperty: 'icon',
626
+ directive: 'tuiTextfieldIcon',
627
627
  directiveModule: {
628
- name: `TuiTextfieldControllerModule`,
629
- moduleSpecifier: `@taiga-ui/core`,
628
+ name: 'TuiTextfieldControllerModule',
629
+ moduleSpecifier: '@taiga-ui/core',
630
630
  },
631
631
  filterFn: element => {
632
632
  var _a;
633
- return !elements_1.hasElementAttribute(element, `iconAlign`) ||
634
- ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `right`;
633
+ return !elements_1.hasElementAttribute(element, 'iconAlign') ||
634
+ ((_a = element.attrs.find(attr => attr.name === 'iconalign')) === null || _a === void 0 ? void 0 : _a.value) === 'right';
635
635
  },
636
636
  },
637
637
  {
638
- componentSelector: `tui-input-tag`,
639
- inputProperty: `icon`,
640
- directive: `tuiTextfieldIconLeft`,
638
+ componentSelector: 'tui-input-tag',
639
+ inputProperty: 'icon',
640
+ directive: 'tuiTextfieldIconLeft',
641
641
  directiveModule: {
642
- name: `TuiTextfieldControllerModule`,
643
- moduleSpecifier: `@taiga-ui/core`,
642
+ name: 'TuiTextfieldControllerModule',
643
+ moduleSpecifier: '@taiga-ui/core',
644
644
  },
645
- filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === `iconalign`)) === null || _a === void 0 ? void 0 : _a.value) === `left`; },
645
+ filterFn: element => { var _a; return ((_a = element.attrs.find(attr => attr.name === 'iconalign')) === null || _a === void 0 ? void 0 : _a.value) === 'left'; },
646
646
  },
647
647
  {
648
- componentSelector: `*`,
649
- inputProperty: `scrollIntoView`,
650
- directive: `tuiScrollIntoViewLink`,
648
+ componentSelector: '*',
649
+ inputProperty: 'scrollIntoView',
650
+ directive: 'tuiScrollIntoViewLink',
651
651
  directiveModule: {
652
- name: `TuiScrollIntoViewLinkModule`,
653
- moduleSpecifier: `@taiga-ui/addon-doc`,
652
+ name: 'TuiScrollIntoViewLinkModule',
653
+ moduleSpecifier: '@taiga-ui/addon-doc',
654
654
  },
655
655
  },
656
656
  {
657
- componentSelector: [`tui-bar-chart`, `tui-pie-chart`, `tui-line-chart`],
658
- inputProperty: `hintContent`,
659
- directive: `tuiHintContent`,
657
+ componentSelector: ['tui-bar-chart', 'tui-pie-chart', 'tui-line-chart'],
658
+ inputProperty: 'hintContent',
659
+ directive: 'tuiHintContent',
660
660
  directiveModule: {
661
- name: `TuiHintControllerModule`,
662
- moduleSpecifier: `@taiga-ui/core`,
661
+ name: 'TuiHintControllerModule',
662
+ moduleSpecifier: '@taiga-ui/core',
663
663
  },
664
664
  },
665
665
  ];
@@ -671,74 +671,74 @@ exports.ATTR_TO_DIRECTIVE = [
671
671
  exports.TRUTHY_BOOLEAN_INPUT_TO_HTML_BINARY_ATTRIBUTE = [];
672
672
  exports.TEMPLATE_COMMENTS = [
673
673
  {
674
- tag: `tui-input-slider`,
675
- withAttr: `pluralize`,
676
- comment: `[pluralize] => Use [postfix] instead. See https://taiga-ui.dev/components/input-slider/API?postfix=apples`,
674
+ tag: 'tui-input-slider',
675
+ withAttr: 'pluralize',
676
+ comment: '[pluralize] => Use [postfix] instead. See https://taiga-ui.dev/components/input-slider/API?postfix=apples',
677
677
  },
678
678
  {
679
- tag: `tui-input-slider`,
680
- withAttr: `segmentsPluralize`,
681
- comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-slider#slider-segments`,
679
+ tag: 'tui-input-slider',
680
+ withAttr: 'segmentsPluralize',
681
+ comment: 'See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-slider#slider-segments',
682
682
  },
683
683
  {
684
- tag: `tui-input-range`,
685
- withAttr: `segmentsPluralize`,
686
- comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-range#segments`,
684
+ tag: 'tui-input-range',
685
+ withAttr: 'segmentsPluralize',
686
+ comment: 'See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/input-range#segments',
687
687
  },
688
688
  {
689
- tag: `tui-range`,
690
- withAttr: `pluralize`,
691
- comment: `See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/range#segments`,
689
+ tag: 'tui-range',
690
+ withAttr: 'pluralize',
691
+ comment: 'See examples how create labels for ticks without this property (outside the component): https://taiga-ui.dev/components/range#segments',
692
692
  },
693
693
  {
694
- tag: `tui-range`,
695
- withAttr: `steps`,
696
- comment: `This component has new API. Use property [step] instead. See: https://taiga-ui.dev/components/range/API`,
694
+ tag: 'tui-range',
695
+ withAttr: 'steps',
696
+ comment: 'This component has new API. Use property [step] instead. See: https://taiga-ui.dev/components/range/API',
697
697
  },
698
698
  {
699
- tag: `tui-preview-host`,
700
- withAttr: `ngProjectAs`,
701
- comment: `"Preview"-component no longer needs it and requires only import of TuiPreviewModule to the main module. See "Setup"-section: https://taiga-ui.dev/components/preview/Setup`,
699
+ tag: 'tui-preview-host',
700
+ withAttr: 'ngProjectAs',
701
+ comment: '"Preview"-component no longer needs it and requires only import of TuiPreviewModule to the main module. See "Setup"-section: https://taiga-ui.dev/components/preview/Setup',
702
702
  },
703
703
  {
704
- tag: `tui-progress`,
705
- withAttr: `value`,
706
- comment: `This legacy component was replaced by 3 new ones (https://taiga-ui.dev/components/progress-bar | https://taiga-ui.dev/components/progress-circle | https://taiga-ui.dev/components/progress-segmented ) `,
704
+ tag: 'tui-progress',
705
+ withAttr: 'value',
706
+ comment: 'This legacy component was replaced by 3 new ones (https://taiga-ui.dev/components/progress-bar | https://taiga-ui.dev/components/progress-circle | https://taiga-ui.dev/components/progress-segmented ) ',
707
707
  },
708
708
  {
709
- tag: `tui-input-file`,
710
- withAttr: `loadingFiles`,
711
- comment: `This legacy component was replaced by new one (https://taiga-ui.dev/components/input-files) `,
709
+ tag: 'tui-input-file',
710
+ withAttr: 'loadingFiles',
711
+ comment: 'This legacy component was replaced by new one (https://taiga-ui.dev/components/input-files) ',
712
712
  },
713
713
  {
714
- tag: `tui-input-tag`,
715
- withAttr: `allowSpaces`,
716
- comment: `Use property [separator] to forbid spaces. See example: https://taiga-ui.dev/components/input-tag#no-spaces-inside-tags`,
714
+ tag: 'tui-input-tag',
715
+ withAttr: 'allowSpaces',
716
+ comment: 'Use property [separator] to forbid spaces. See example: https://taiga-ui.dev/components/input-tag#no-spaces-inside-tags',
717
717
  },
718
718
  {
719
- tag: `tui-preview-pagination`,
720
- withAttr: `lastIndex`,
721
- comment: `Use property [length] instead. See example: https://taiga-ui.dev/components/preview`,
719
+ tag: 'tui-preview-pagination',
720
+ withAttr: 'lastIndex',
721
+ comment: 'Use property [length] instead. See example: https://taiga-ui.dev/components/preview',
722
722
  },
723
723
  ];
724
724
  exports.REPLACE_ATTR_VALUE = [
725
725
  {
726
- attrNames: [`tuiHintDirection`],
726
+ attrNames: ['tuiHintDirection'],
727
727
  values: [
728
- { from: `bottom-middle`, to: `bottom` },
729
- { from: `top-middle`, to: `top` },
728
+ { from: 'bottom-middle', to: 'bottom' },
729
+ { from: 'top-middle', to: 'top' },
730
730
  ],
731
731
  },
732
732
  {
733
- attrNames: [`ngProjectAs`],
734
- values: [{ from: `tuiOverNotifications`, to: `tuiOverAlerts` }],
733
+ attrNames: ['ngProjectAs'],
734
+ values: [{ from: 'tuiOverNotifications', to: 'tuiOverAlerts' }],
735
735
  },
736
736
  {
737
- attrNames: [`direction`],
738
- withTagNames: [`tui-tooltip`],
737
+ attrNames: ['direction'],
738
+ withTagNames: ['tui-tooltip'],
739
739
  values: [
740
- { from: `bottom-middle`, to: `bottom` },
741
- { from: `top-middle`, to: `top` },
740
+ { from: 'bottom-middle', to: 'bottom' },
741
+ { from: 'top-middle', to: 'top' },
742
742
  ],
743
743
  },
744
744
  ];