@taiga-ui/addon-doc 3.58.0 → 3.59.0-canary.10da730

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 (239) hide show
  1. package/components/code/code.component.d.ts +1 -1
  2. package/components/copy/copy.component.d.ts +1 -1
  3. package/components/demo/demo.component.d.ts +3 -3
  4. package/components/doc-tab/doc-tab.component.d.ts +1 -1
  5. package/components/documentation/documentation-property-connector.directive.d.ts +3 -3
  6. package/components/documentation/documentation.component.d.ts +1 -1
  7. package/components/documentation/pipes/cleaner.pipe.d.ts +1 -1
  8. package/components/documentation/pipes/color.pipe.d.ts +1 -1
  9. package/components/documentation/pipes/inspect.pipe.d.ts +1 -1
  10. package/components/documentation/pipes/opacity.pipe.d.ts +1 -1
  11. package/components/documentation/pipes/optional.pipe.d.ts +1 -1
  12. package/components/documentation/pipes/primitive-polymorpheus-content.pipe.d.ts +1 -1
  13. package/components/documentation/pipes/strip-optional.pipe.d.ts +1 -1
  14. package/components/documentation/pipes/type-reference.pipe.d.ts +1 -1
  15. package/components/example/example-get-tabs.pipe.d.ts +1 -1
  16. package/components/example/example.component.d.ts +1 -1
  17. package/components/internal/header/header.component.d.ts +1 -1
  18. package/components/internal/input-opacity/input-opacity.directive.d.ts +1 -1
  19. package/components/internal/see-also/see-also.component.d.ts +1 -1
  20. package/components/internal/source-code/source-code.component.d.ts +1 -1
  21. package/components/language-switcher/language-switcher.component.d.ts +3 -3
  22. package/components/main/main.component.d.ts +1 -1
  23. package/components/navigation/navigation.component.d.ts +3 -3
  24. package/components/page/page-tab.directive.d.ts +1 -1
  25. package/components/page/page.component.d.ts +1 -1
  26. package/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
  27. package/directives/text-code/text-code.directive.d.ts +1 -1
  28. package/{esm2015/addon-doc.module.js → esm2020/addon-doc.module.mjs} +4 -4
  29. package/esm2020/components/code/code.component.mjs +42 -0
  30. package/{esm2015/components/code/code.module.js → esm2020/components/code/code.module.mjs} +9 -11
  31. package/esm2020/components/copy/copy.component.mjs +35 -0
  32. package/{esm2015/components/copy/copy.module.js → esm2020/components/copy/copy.module.mjs} +5 -5
  33. package/esm2020/components/demo/demo.component.mjs +179 -0
  34. package/{esm2015/components/demo/demo.module.js → esm2020/components/demo/demo.module.mjs} +23 -25
  35. package/esm2020/components/doc-tab/doc-tab.component.mjs +17 -0
  36. package/{esm2015/components/doc-tab/doc-tab.module.js → esm2020/components/doc-tab/doc-tab.module.mjs} +5 -5
  37. package/{esm2015/components/documentation/documentation-property-connector.directive.js → esm2020/components/documentation/documentation-property-connector.directive.mjs} +8 -5
  38. package/esm2020/components/documentation/documentation.component.mjs +109 -0
  39. package/{esm2015/components/documentation/documentation.module.js → esm2020/components/documentation/documentation.module.mjs} +22 -24
  40. package/{esm2015/components/documentation/pipes/cleaner.pipe.js → esm2020/components/documentation/pipes/cleaner.pipe.mjs} +3 -3
  41. package/{esm2015/components/documentation/pipes/color.pipe.js → esm2020/components/documentation/pipes/color.pipe.mjs} +3 -3
  42. package/{esm2015/components/documentation/pipes/inspect.pipe.js → esm2020/components/documentation/pipes/inspect.pipe.mjs} +3 -3
  43. package/{esm2015/components/documentation/pipes/opacity.pipe.js → esm2020/components/documentation/pipes/opacity.pipe.mjs} +3 -3
  44. package/{esm2015/components/documentation/pipes/optional.pipe.js → esm2020/components/documentation/pipes/optional.pipe.mjs} +3 -3
  45. package/{esm2015/components/documentation/pipes/primitive-polymorpheus-content.pipe.js → esm2020/components/documentation/pipes/primitive-polymorpheus-content.pipe.mjs} +3 -3
  46. package/{esm2015/components/documentation/pipes/strip-optional.pipe.js → esm2020/components/documentation/pipes/strip-optional.pipe.mjs} +3 -3
  47. package/esm2020/components/documentation/pipes/type-reference.pipe.mjs +31 -0
  48. package/{esm2015/components/example/example-get-tabs.pipe.js → esm2020/components/example/example-get-tabs.pipe.mjs} +3 -3
  49. package/esm2020/components/example/example.component.mjs +150 -0
  50. package/{esm2015/components/example/example.module.js → esm2020/components/example/example.module.mjs} +13 -15
  51. package/esm2020/components/internal/header/header.component.mjs +54 -0
  52. package/{esm2015/components/internal/header/header.module.js → esm2020/components/internal/header/header.module.mjs} +10 -12
  53. package/{esm2015/components/internal/input-opacity/input-opacity.directive.js → esm2020/components/internal/input-opacity/input-opacity.directive.mjs} +8 -8
  54. package/{esm2015/components/internal/input-opacity/input-opacity.module.js → esm2020/components/internal/input-opacity/input-opacity.module.mjs} +4 -4
  55. package/esm2020/components/internal/see-also/see-also.component.mjs +31 -0
  56. package/{esm2015/components/internal/see-also/see-also.module.js → esm2020/components/internal/see-also/see-also.module.mjs} +5 -5
  57. package/{esm2015/components/internal/source-code/source-code.component.js → esm2020/components/internal/source-code/source-code.component.mjs} +7 -11
  58. package/{esm2015/components/internal/source-code/source-code.module.js → esm2020/components/internal/source-code/source-code.module.mjs} +5 -5
  59. package/esm2020/components/language-switcher/language-switcher.component.mjs +61 -0
  60. package/{esm2015/components/language-switcher/language-switcher.module.js → esm2020/components/language-switcher/language-switcher.module.mjs} +9 -11
  61. package/esm2020/components/main/main.component.mjs +59 -0
  62. package/{esm2015/components/main/main.module.js → esm2020/components/main/main.module.mjs} +14 -16
  63. package/esm2020/components/navigation/navigation.component.mjs +213 -0
  64. package/{esm2015/components/navigation/navigation.module.js → esm2020/components/navigation/navigation.module.mjs} +24 -26
  65. package/esm2020/components/navigation/navigation.providers.mjs +48 -0
  66. package/{esm2015/components/page/page-tab.directive.js → esm2020/components/page/page-tab.directive.mjs} +3 -3
  67. package/esm2020/components/page/page.component.mjs +56 -0
  68. package/{esm2015/components/page/page.module.js → esm2020/components/page/page.module.mjs} +11 -13
  69. package/esm2020/directives/scroll-into-view/scroll-into-view.directive.mjs +44 -0
  70. package/{esm2015/directives/scroll-into-view/scroll-into-view.module.js → esm2020/directives/scroll-into-view/scroll-into-view.module.mjs} +4 -4
  71. package/{esm2015/directives/text-code/text-code.directive.js → esm2020/directives/text-code/text-code.directive.mjs} +3 -3
  72. package/{esm2015/directives/text-code/text-code.module.js → esm2020/directives/text-code/text-code.module.mjs} +4 -4
  73. package/{esm2015/services/theme-night.service.js → esm2020/services/theme-night.service.mjs} +4 -4
  74. package/{esm2015/services/theme.service.js → esm2020/services/theme.service.mjs} +4 -4
  75. package/esm2020/tokens/page-loaded.mjs +7 -0
  76. package/esm2020/tokens/pages.mjs +9 -0
  77. package/esm2020/utils/coerce-boolean.mjs +4 -0
  78. package/{esm2015/utils/coerce-value.js → esm2020/utils/coerce-value.mjs} +2 -2
  79. package/esm2020/utils/raw-load-record.mjs +11 -0
  80. package/esm2020/utils/raw-load.mjs +4 -0
  81. package/esm2020/utils/sort-pages.mjs +26 -0
  82. package/esm2020/utils/to-flat-map-pages.mjs +22 -0
  83. package/esm2020/utils/type-reference-parser.mjs +24 -0
  84. package/fesm2015/taiga-ui-addon-doc-components.mjs +1909 -0
  85. package/fesm2015/taiga-ui-addon-doc-components.mjs.map +1 -0
  86. package/fesm2015/taiga-ui-addon-doc-directives.mjs +99 -0
  87. package/fesm2015/taiga-ui-addon-doc-directives.mjs.map +1 -0
  88. package/fesm2015/{taiga-ui-addon-doc-interfaces.js → taiga-ui-addon-doc-interfaces.mjs} +1 -1
  89. package/fesm2015/taiga-ui-addon-doc-interfaces.mjs.map +1 -0
  90. package/fesm2015/{taiga-ui-addon-doc-languages.js → taiga-ui-addon-doc-languages.mjs} +1 -1
  91. package/fesm2015/taiga-ui-addon-doc-languages.mjs.map +1 -0
  92. package/fesm2015/taiga-ui-addon-doc-services.mjs +97 -0
  93. package/fesm2015/taiga-ui-addon-doc-services.mjs.map +1 -0
  94. package/fesm2015/{taiga-ui-addon-doc-tokens.js → taiga-ui-addon-doc-tokens.mjs} +2 -3
  95. package/fesm2015/taiga-ui-addon-doc-tokens.mjs.map +1 -0
  96. package/fesm2015/taiga-ui-addon-doc-types.mjs +4 -0
  97. package/fesm2015/taiga-ui-addon-doc-types.mjs.map +1 -0
  98. package/fesm2015/{taiga-ui-addon-doc-utils.js → taiga-ui-addon-doc-utils.mjs} +7 -6
  99. package/fesm2015/taiga-ui-addon-doc-utils.mjs.map +1 -0
  100. package/fesm2015/{taiga-ui-addon-doc.js → taiga-ui-addon-doc.mjs} +5 -5
  101. package/fesm2015/taiga-ui-addon-doc.mjs.map +1 -0
  102. package/{fesm2015/taiga-ui-addon-doc-components.js → fesm2020/taiga-ui-addon-doc-components.mjs} +351 -441
  103. package/fesm2020/taiga-ui-addon-doc-components.mjs.map +1 -0
  104. package/{fesm2015/taiga-ui-addon-doc-directives.js → fesm2020/taiga-ui-addon-doc-directives.mjs} +19 -20
  105. package/fesm2020/taiga-ui-addon-doc-directives.mjs.map +1 -0
  106. package/fesm2020/taiga-ui-addon-doc-interfaces.mjs +12 -0
  107. package/fesm2020/taiga-ui-addon-doc-interfaces.mjs.map +1 -0
  108. package/fesm2020/taiga-ui-addon-doc-languages.mjs +46 -0
  109. package/fesm2020/taiga-ui-addon-doc-languages.mjs.map +1 -0
  110. package/{fesm2015/taiga-ui-addon-doc-services.js → fesm2020/taiga-ui-addon-doc-services.mjs} +7 -7
  111. package/fesm2020/taiga-ui-addon-doc-services.mjs.map +1 -0
  112. package/fesm2020/taiga-ui-addon-doc-tokens.mjs +148 -0
  113. package/fesm2020/taiga-ui-addon-doc-tokens.mjs.map +1 -0
  114. package/fesm2020/taiga-ui-addon-doc-types.mjs +4 -0
  115. package/fesm2020/taiga-ui-addon-doc-types.mjs.map +1 -0
  116. package/fesm2020/taiga-ui-addon-doc-utils.mjs +275 -0
  117. package/fesm2020/taiga-ui-addon-doc-utils.mjs.map +1 -0
  118. package/fesm2020/taiga-ui-addon-doc.mjs +49 -0
  119. package/fesm2020/taiga-ui-addon-doc.mjs.map +1 -0
  120. package/interfaces/page.d.ts +3 -3
  121. package/package.json +115 -38
  122. package/tokens/pages.d.ts +4 -2
  123. package/types/pages.d.ts +1 -1
  124. package/utils/type-reference-parser.d.ts +1 -1
  125. package/bundles/taiga-ui-addon-doc-components.umd.js +0 -2549
  126. package/bundles/taiga-ui-addon-doc-components.umd.js.map +0 -1
  127. package/bundles/taiga-ui-addon-doc-directives.umd.js +0 -140
  128. package/bundles/taiga-ui-addon-doc-directives.umd.js.map +0 -1
  129. package/bundles/taiga-ui-addon-doc-interfaces.umd.js +0 -22
  130. package/bundles/taiga-ui-addon-doc-interfaces.umd.js.map +0 -1
  131. package/bundles/taiga-ui-addon-doc-languages.umd.js +0 -54
  132. package/bundles/taiga-ui-addon-doc-languages.umd.js.map +0 -1
  133. package/bundles/taiga-ui-addon-doc-services.umd.js +0 -457
  134. package/bundles/taiga-ui-addon-doc-services.umd.js.map +0 -1
  135. package/bundles/taiga-ui-addon-doc-tokens.umd.js +0 -179
  136. package/bundles/taiga-ui-addon-doc-tokens.umd.js.map +0 -1
  137. package/bundles/taiga-ui-addon-doc-types.umd.js +0 -11
  138. package/bundles/taiga-ui-addon-doc-types.umd.js.map +0 -1
  139. package/bundles/taiga-ui-addon-doc-utils.umd.js +0 -671
  140. package/bundles/taiga-ui-addon-doc-utils.umd.js.map +0 -1
  141. package/bundles/taiga-ui-addon-doc.umd.js +0 -117
  142. package/bundles/taiga-ui-addon-doc.umd.js.map +0 -1
  143. package/components/package.json +0 -10
  144. package/components/taiga-ui-addon-doc-components.d.ts +0 -5
  145. package/directives/package.json +0 -10
  146. package/directives/taiga-ui-addon-doc-directives.d.ts +0 -5
  147. package/esm2015/components/code/code.component.js +0 -48
  148. package/esm2015/components/copy/copy.component.js +0 -42
  149. package/esm2015/components/demo/demo.component.js +0 -183
  150. package/esm2015/components/doc-tab/doc-tab.component.js +0 -22
  151. package/esm2015/components/documentation/documentation.component.js +0 -117
  152. package/esm2015/components/documentation/pipes/type-reference.pipe.js +0 -34
  153. package/esm2015/components/example/example.component.js +0 -152
  154. package/esm2015/components/internal/header/header.component.js +0 -60
  155. package/esm2015/components/internal/see-also/see-also.component.js +0 -37
  156. package/esm2015/components/language-switcher/language-switcher.component.js +0 -67
  157. package/esm2015/components/main/main.component.js +0 -68
  158. package/esm2015/components/navigation/navigation.component.js +0 -221
  159. package/esm2015/components/navigation/navigation.providers.js +0 -48
  160. package/esm2015/components/page/page.component.js +0 -62
  161. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +0 -45
  162. package/esm2015/tokens/page-loaded.js +0 -8
  163. package/esm2015/tokens/pages.js +0 -9
  164. package/esm2015/utils/coerce-boolean.js +0 -4
  165. package/esm2015/utils/raw-load-record.js +0 -14
  166. package/esm2015/utils/raw-load.js +0 -7
  167. package/esm2015/utils/sort-pages.js +0 -23
  168. package/esm2015/utils/to-flat-map-pages.js +0 -23
  169. package/esm2015/utils/type-reference-parser.js +0 -24
  170. package/fesm2015/taiga-ui-addon-doc-components.js.map +0 -1
  171. package/fesm2015/taiga-ui-addon-doc-directives.js.map +0 -1
  172. package/fesm2015/taiga-ui-addon-doc-interfaces.js.map +0 -1
  173. package/fesm2015/taiga-ui-addon-doc-languages.js.map +0 -1
  174. package/fesm2015/taiga-ui-addon-doc-services.js.map +0 -1
  175. package/fesm2015/taiga-ui-addon-doc-tokens.js.map +0 -1
  176. package/fesm2015/taiga-ui-addon-doc-types.js +0 -4
  177. package/fesm2015/taiga-ui-addon-doc-types.js.map +0 -1
  178. package/fesm2015/taiga-ui-addon-doc-utils.js.map +0 -1
  179. package/fesm2015/taiga-ui-addon-doc.js.map +0 -1
  180. package/interfaces/package.json +0 -10
  181. package/interfaces/taiga-ui-addon-doc-interfaces.d.ts +0 -5
  182. package/languages/package.json +0 -10
  183. package/languages/taiga-ui-addon-doc-languages.d.ts +0 -5
  184. package/services/package.json +0 -10
  185. package/services/taiga-ui-addon-doc-services.d.ts +0 -5
  186. package/taiga-ui-addon-doc.d.ts +0 -5
  187. package/tokens/package.json +0 -10
  188. package/tokens/taiga-ui-addon-doc-tokens.d.ts +0 -5
  189. package/types/package.json +0 -10
  190. package/types/taiga-ui-addon-doc-types.d.ts +0 -5
  191. package/utils/package.json +0 -10
  192. package/utils/taiga-ui-addon-doc-utils.d.ts +0 -5
  193. /package/{esm2015/components/example/example.options.js → esm2020/components/example/example.options.mjs} +0 -0
  194. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  195. /package/{esm2015/components/page/page.providers.js → esm2020/components/page/page.providers.mjs} +0 -0
  196. /package/{esm2015/components/taiga-ui-addon-doc-components.js → esm2020/components/taiga-ui-addon-doc-components.mjs} +0 -0
  197. /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
  198. /package/{esm2015/directives/taiga-ui-addon-doc-directives.js → esm2020/directives/taiga-ui-addon-doc-directives.mjs} +0 -0
  199. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  200. /package/{esm2015/interfaces/code-editor.js → esm2020/interfaces/code-editor.mjs} +0 -0
  201. /package/{esm2015/interfaces/demo-params.js → esm2020/interfaces/demo-params.mjs} +0 -0
  202. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  203. /package/{esm2015/interfaces/page.js → esm2020/interfaces/page.mjs} +0 -0
  204. /package/{esm2015/interfaces/source-code-path-options.js → esm2020/interfaces/source-code-path-options.mjs} +0 -0
  205. /package/{esm2015/interfaces/taiga-ui-addon-doc-interfaces.js → esm2020/interfaces/taiga-ui-addon-doc-interfaces.mjs} +0 -0
  206. /package/{esm2015/languages/index.js → esm2020/languages/index.mjs} +0 -0
  207. /package/{esm2015/languages/russian.js → esm2020/languages/russian.mjs} +0 -0
  208. /package/{esm2015/languages/taiga-ui-addon-doc-languages.js → esm2020/languages/taiga-ui-addon-doc-languages.mjs} +0 -0
  209. /package/{esm2015/services/index.js → esm2020/services/index.mjs} +0 -0
  210. /package/{esm2015/services/taiga-ui-addon-doc-services.js → esm2020/services/taiga-ui-addon-doc-services.mjs} +0 -0
  211. /package/{esm2015/services/theme-night.options.js → esm2020/services/theme-night.options.mjs} +0 -0
  212. /package/{esm2015/services/theme.options.js → esm2020/services/theme.options.mjs} +0 -0
  213. /package/{esm2015/taiga-ui-addon-doc.js → esm2020/taiga-ui-addon-doc.mjs} +0 -0
  214. /package/{esm2015/tokens/code-actions.js → esm2020/tokens/code-actions.mjs} +0 -0
  215. /package/{esm2015/tokens/code-editor.js → esm2020/tokens/code-editor.mjs} +0 -0
  216. /package/{esm2015/tokens/default-tabs.js → esm2020/tokens/default-tabs.mjs} +0 -0
  217. /package/{esm2015/tokens/doc-icons.js → esm2020/tokens/doc-icons.mjs} +0 -0
  218. /package/{esm2015/tokens/example-content-processor.js → esm2020/tokens/example-content-processor.mjs} +0 -0
  219. /package/{esm2015/tokens/excluded-properties.js → esm2020/tokens/excluded-properties.mjs} +0 -0
  220. /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
  221. /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
  222. /package/{esm2015/tokens/logo.js → esm2020/tokens/logo.mjs} +0 -0
  223. /package/{esm2015/tokens/scroll-behavior.js → esm2020/tokens/scroll-behavior.mjs} +0 -0
  224. /package/{esm2015/tokens/see-also.js → esm2020/tokens/see-also.mjs} +0 -0
  225. /package/{esm2015/tokens/source-code.js → esm2020/tokens/source-code.mjs} +0 -0
  226. /package/{esm2015/tokens/taiga-ui-addon-doc-tokens.js → esm2020/tokens/taiga-ui-addon-doc-tokens.mjs} +0 -0
  227. /package/{esm2015/tokens/title.js → esm2020/tokens/title.mjs} +0 -0
  228. /package/{esm2015/tokens/type-reference-handler.js → esm2020/tokens/type-reference-handler.mjs} +0 -0
  229. /package/{esm2015/tokens/url-state-handler.js → esm2020/tokens/url-state-handler.mjs} +0 -0
  230. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  231. /package/{esm2015/types/pages.js → esm2020/types/pages.mjs} +0 -0
  232. /package/{esm2015/types/taiga-ui-addon-doc-types.js → esm2020/types/taiga-ui-addon-doc-types.mjs} +0 -0
  233. /package/{esm2015/utils/generate-routes.js → esm2020/utils/generate-routes.mjs} +0 -0
  234. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  235. /package/{esm2015/utils/inspect.js → esm2020/utils/inspect.mjs} +0 -0
  236. /package/{esm2015/utils/is-page-group.js → esm2020/utils/is-page-group.mjs} +0 -0
  237. /package/{esm2015/utils/parse-code-block.js → esm2020/utils/parse-code-block.mjs} +0 -0
  238. /package/{esm2015/utils/taiga-ui-addon-doc-utils.js → esm2020/utils/taiga-ui-addon-doc-utils.mjs} +0 -0
  239. /package/{esm2015/utils/transliterate-keyboard-layout.js → esm2020/utils/transliterate-keyboard-layout.mjs} +0 -0
@@ -13,5 +13,5 @@ export declare class TuiDocCodeComponent {
13
13
  set code(code: TuiRawLoaderContent);
14
14
  get hasFilename(): boolean;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocCodeComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocCodeComponent, "tui-doc-code", never, { "filename": "filename"; "code": "code"; }, {}, never, ["*"]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocCodeComponent, "tui-doc-code", never, { "filename": "filename"; "code": "code"; }, {}, never, ["*"], false, never>;
17
17
  }
@@ -7,5 +7,5 @@ export declare class TuiDocCopyComponent {
7
7
  get copied$(): Observable<boolean>;
8
8
  onClick(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocCopyComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocCopyComponent, "tui-doc-copy", never, {}, {}, never, ["*"]>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocCopyComponent, "tui-doc-copy", never, {}, {}, never, ["*"], false, never>;
11
11
  }
@@ -1,6 +1,6 @@
1
1
  import { Location } from '@angular/common';
2
2
  import { ElementRef, OnInit, TemplateRef } from '@angular/core';
3
- import { AbstractControl, FormGroup } from '@angular/forms';
3
+ import { AbstractControl, UntypedFormGroup } from '@angular/forms';
4
4
  import { UrlSerializer, UrlTree } from '@angular/router';
5
5
  import { TuiStringHandler } from '@taiga-ui/cdk';
6
6
  import { TuiBrightness } from '@taiga-ui/core';
@@ -21,7 +21,7 @@ export declare class TuiDocDemoComponent implements OnInit {
21
21
  control: AbstractControl | null;
22
22
  sticky: boolean;
23
23
  readonly template: TemplateRef<Record<string, unknown>> | null;
24
- testForm?: FormGroup;
24
+ testForm?: UntypedFormGroup;
25
25
  readonly updateOnVariants: readonly ["change", "blur", "submit"];
26
26
  updateOn: 'blur' | 'change' | 'submit';
27
27
  opaque: boolean;
@@ -45,5 +45,5 @@ export declare class TuiDocDemoComponent implements OnInit {
45
45
  private getUrlTree;
46
46
  private get params();
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocDemoComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocDemoComponent, "tui-doc-demo", never, { "control": "control"; "sticky": "sticky"; }, {}, ["template"], ["*"]>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocDemoComponent, "tui-doc-demo", never, { "control": "control"; "sticky": "sticky"; }, {}, ["template"], ["*"], false, never>;
49
49
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class TuiDocTabComponent {
3
3
  src: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocTabComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocTabComponent, "tui-doc-tab", never, { "src": "src"; }, {}, never, ["*"]>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocTabComponent, "tui-doc-tab", never, { "src": "src"; }, {}, never, ["*"], false, never>;
6
6
  }
@@ -5,12 +5,12 @@ import { TuiStringHandler } from '@taiga-ui/cdk';
5
5
  import { TuiAlertService } from '@taiga-ui/core';
6
6
  import { BehaviorSubject, Subject } from 'rxjs';
7
7
  import * as i0 from "@angular/core";
8
- export declare type TuiDocumentationPropertyType = 'input-output' | 'input' | 'output' | null;
8
+ export type TuiDocumentationPropertyType = 'input-output' | 'input' | 'output' | null;
9
9
  /**
10
10
  * @deprecated: use {@link TuiDocumentationPropertyType}
11
11
  * TODO: remove in v4.0
12
12
  */
13
- export declare type DocumentationPropertyType = TuiDocumentationPropertyType;
13
+ export type DocumentationPropertyType = TuiDocumentationPropertyType;
14
14
  export declare class TuiDocDocumentationPropertyConnectorDirective<T> implements OnInit, OnChanges {
15
15
  readonly template: TemplateRef<Record<string, unknown>>;
16
16
  private readonly locationRef;
@@ -38,5 +38,5 @@ export declare class TuiDocDocumentationPropertyConnectorDirective<T> implements
38
38
  private parseParams;
39
39
  private setQueryParam;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocDocumentationPropertyConnectorDirective<any>, never>;
41
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDocDocumentationPropertyConnectorDirective<any>, "ng-template[documentationPropertyName]", ["documentationProperty"], { "documentationPropertyName": "documentationPropertyName"; "documentationPropertyMode": "documentationPropertyMode"; "documentationPropertyType": "documentationPropertyType"; "documentationPropertyValue": "documentationPropertyValue"; "documentationPropertyDeprecated": "documentationPropertyDeprecated"; "documentationPropertyValues": "documentationPropertyValues"; }, { "documentationPropertyValueChange": "documentationPropertyValueChange"; }, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDocDocumentationPropertyConnectorDirective<any>, "ng-template[documentationPropertyName]", ["documentationProperty"], { "documentationPropertyName": "documentationPropertyName"; "documentationPropertyMode": "documentationPropertyMode"; "documentationPropertyType": "documentationPropertyType"; "documentationPropertyValue": "documentationPropertyValue"; "documentationPropertyDeprecated": "documentationPropertyDeprecated"; "documentationPropertyValues": "documentationPropertyValues"; }, { "documentationPropertyValueChange": "documentationPropertyValueChange"; }, never, never, false, never>;
42
42
  }
@@ -26,5 +26,5 @@ export declare class TuiDocDocumentationComponent implements AfterContentInit {
26
26
  onColorChange(connector: TuiDocDocumentationPropertyConnectorDirective<string>, color: string): void;
27
27
  onOpacityChange(connector: TuiDocDocumentationPropertyConnectorDirective<string>, opacity: number | null): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocDocumentationComponent, [null, null, null, { self: true; }, null, null]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocDocumentationComponent, "tui-doc-documentation", never, { "heading": "heading"; "showValues": "showValues"; "isAPI": "isAPI"; }, {}, ["propertiesConnectors"], ["*"]>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocDocumentationComponent, "tui-doc-documentation", never, { "heading": "heading"; "showValues": "showValues"; "isAPI": "isAPI"; }, {}, ["propertiesConnectors"], ["*"], false, never>;
30
30
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiShowCleanerPipe implements PipeTransform {
4
4
  transform(type: string): boolean;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiShowCleanerPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiShowCleanerPipe, "tuiShowCleanerPipe">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiShowCleanerPipe, "tuiShowCleanerPipe", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiGetColorPipe implements PipeTransform {
4
4
  transform(color: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiGetColorPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiGetColorPipe, "tuiGetColorPipe">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiGetColorPipe, "tuiGetColorPipe", false>;
7
7
  }
@@ -5,5 +5,5 @@ export declare class TuiInspectPipe implements PipeTransform {
5
5
  constructor(isE2E: boolean);
6
6
  transform(value: unknown, depth?: number): string;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInspectPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiInspectPipe, "tuiInspectAny">;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiInspectPipe, "tuiInspectAny", false>;
9
9
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiGetOpacityPipe implements PipeTransform {
4
4
  transform(color: string): number;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiGetOpacityPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiGetOpacityPipe, "tuiGetOpacity">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiGetOpacityPipe, "tuiGetOpacity", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiIsOptionalPipe implements PipeTransform {
4
4
  transform(name: string): boolean;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiIsOptionalPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiIsOptionalPipe, "tuiIsOptionalPipe">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiIsOptionalPipe, "tuiIsOptionalPipe", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiIsPrimitivePolymorpheusContentPipe implements PipeTransform {
4
4
  transform(value: unknown): boolean;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiIsPrimitivePolymorpheusContentPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiIsPrimitivePolymorpheusContentPipe, "tuiIsPrimitivePolymorpheusContentPipe">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiIsPrimitivePolymorpheusContentPipe, "tuiIsPrimitivePolymorpheusContentPipe", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiStripOptionalPipe implements PipeTransform {
4
4
  transform(name: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiStripOptionalPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiStripOptionalPipe, "tuiStripOptionalPipe">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiStripOptionalPipe, "tuiStripOptionalPipe", false>;
7
7
  }
@@ -12,5 +12,5 @@ export declare class TuiDocTypeReferencePipe implements PipeTransform {
12
12
  reference: string | null;
13
13
  }>;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocTypeReferencePipe, never>;
15
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiDocTypeReferencePipe, "tuiDocTypeReference">;
15
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiDocTypeReferencePipe, "tuiDocTypeReference", false>;
16
16
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiDocExampleGetTabsPipe implements PipeTransform {
4
4
  transform(content: Record<string, string>, defaultTab: string): string[];
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocExampleGetTabsPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiDocExampleGetTabsPipe, "tuiDocExampleGetTabs">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiDocExampleGetTabsPipe, "tuiDocExampleGetTabs", false>;
7
7
  }
@@ -42,5 +42,5 @@ export declare class TuiDocExampleComponent {
42
42
  edit(files: Record<string, string>): void;
43
43
  private setFragmentWithoutRedirect;
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocExampleComponent, [null, null, null, null, null, { optional: true; }, null, null, null, null, null, null, null]>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocExampleComponent, "tui-doc-example", never, { "id": "id"; "heading": "heading"; "description": "description"; "content": "content"; "fullsize": "fullsize"; "componentName": "componentName"; }, {}, never, ["*"]>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocExampleComponent, "tui-doc-example", never, { "id": "id"; "heading": "heading"; "description": "description"; "content": "content"; "fullsize": "fullsize"; "componentName": "componentName"; }, {}, never, ["*"], false, never>;
46
46
  }
@@ -15,5 +15,5 @@ export declare class TuiDocHeaderComponent {
15
15
  onClick(): void;
16
16
  onActiveZone(active: boolean): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocHeaderComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocHeaderComponent, "header[tuiDocHeader]", never, {}, {}, never, ["*"]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocHeaderComponent, "header[tuiDocHeader]", never, {}, {}, never, ["*"], false, never>;
19
19
  }
@@ -7,5 +7,5 @@ export declare class TuiInputOpacityDirective {
7
7
  set tuiInputOpacity(opacity: number);
8
8
  constructor(renderer: Renderer2, focusable: TuiFocusableElementAccessor);
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputOpacityDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputOpacityDirective, "[tuiInputOpacity]", never, { "tuiInputOpacity": "tuiInputOpacity"; }, {}, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputOpacityDirective, "[tuiInputOpacity]", never, { "tuiInputOpacity": "tuiInputOpacity"; }, {}, never, never, false, never>;
11
11
  }
@@ -7,5 +7,5 @@ export declare class TuiDocSeeAlsoComponent {
7
7
  constructor(text: string, pages: Map<string, TuiDocPage>);
8
8
  getRouterLink(pageTitle: string): string;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocSeeAlsoComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocSeeAlsoComponent, "tui-doc-see-also", never, { "seeAlso": "seeAlso"; }, {}, never, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocSeeAlsoComponent, "tui-doc-see-also", never, { "seeAlso": "seeAlso"; }, {}, never, never, false, never>;
11
11
  }
@@ -15,5 +15,5 @@ export declare class TuiDocSourceCodeComponent {
15
15
  pathIsUrl(path: string): boolean;
16
16
  private getPathOptions;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocSourceCodeComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocSourceCodeComponent, "tui-doc-source-code", never, { "header": "header"; "package": "package"; "type": "type"; "path": "path"; }, {}, never, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocSourceCodeComponent, "tui-doc-source-code", never, { "header": "header"; "package": "package"; "type": "type"; "path": "path"; }, {}, never, never, false, never>;
19
19
  }
@@ -1,11 +1,11 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { UntypedFormControl } from '@angular/forms';
2
2
  import { TuiFlagPipe } from '@taiga-ui/core';
3
3
  import { TuiCountryIsoCode, TuiLanguageName, TuiLanguageSwitcher } from '@taiga-ui/i18n';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiLanguageSwitcherComponent {
6
6
  readonly switcher: TuiLanguageSwitcher;
7
7
  private readonly flagPipe;
8
- readonly language: FormControl;
8
+ readonly language: UntypedFormControl;
9
9
  readonly flags: Map<string, TuiCountryIsoCode>;
10
10
  readonly names: TuiLanguageName[];
11
11
  constructor(switcher: TuiLanguageSwitcher, flagPipe: TuiFlagPipe);
@@ -15,5 +15,5 @@ export declare class TuiLanguageSwitcherComponent {
15
15
  */
16
16
  getFlagPath(code?: TuiCountryIsoCode): string | null;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiLanguageSwitcherComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLanguageSwitcherComponent, "tui-language-switcher", never, {}, {}, never, ["*"]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiLanguageSwitcherComponent, "tui-language-switcher", never, {}, {}, never, ["*"], false, never>;
19
19
  }
@@ -12,5 +12,5 @@ export declare class TuiDocMainComponent {
12
12
  get mode(): TuiBrightness | null;
13
13
  get icon(): string;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocMainComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocMainComponent, "tui-doc-main", never, {}, {}, never, ["tuiDocNavigation", "tuiDocHeader", "tuiOverContent", "tuiOverDialogs", "tuiOverAlerts", "tuiOverPortals", "tuiOverHints"]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocMainComponent, "tui-doc-main", never, {}, {}, never, ["tuiDocNavigation", "tuiDocHeader", "tuiOverContent", "tuiOverDialogs", "tuiOverAlerts", "tuiOverPortals", "tuiOverHints"], false, never>;
16
16
  }
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
2
+ import { UntypedFormControl } from '@angular/forms';
3
3
  import { Title } from '@angular/platform-browser';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { TuiDocPage } from '@taiga-ui/addon-doc/interfaces';
@@ -27,7 +27,7 @@ export declare class TuiDocNavigationComponent {
27
27
  openPagesArr: boolean[];
28
28
  openPagesGroupsArr: boolean[];
29
29
  active: string;
30
- readonly search: FormControl;
30
+ readonly search: UntypedFormControl;
31
31
  readonly filtered$: Observable<readonly (readonly TuiDocPage[])[]>;
32
32
  readonly mode$: Observable<TuiBrightness>;
33
33
  constructor(cdr: ChangeDetectorRef, titleService: Title, title$: Observable<string>, mode: TuiModeDirective, sidebar: unknown, labels: string[], items: readonly TuiDocPages[], searchText: string, router: Router, activatedRoute: ActivatedRoute, destroy$: Observable<void>, readyToScroll$: Observable<boolean>, docIcons: TuiDocIcons, icons: TuiCommonIcons, doc: Document);
@@ -44,5 +44,5 @@ export declare class TuiDocNavigationComponent {
44
44
  private openActivePageGroup;
45
45
  private navigateToAnchorLink;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocNavigationComponent, [null, null, null, null, { optional: true; }, null, null, null, null, null, { self: true; }, null, null, null, null]>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocNavigationComponent, "tui-doc-navigation", never, {}, {}, never, ["*"]>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocNavigationComponent, "tui-doc-navigation", never, {}, {}, never, ["*"], false, never>;
48
48
  }
@@ -5,5 +5,5 @@ export declare class TuiDocPageTabConnectorDirective {
5
5
  pageTab?: string | '';
6
6
  constructor(template: TemplateRef<Record<string, unknown>>);
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocPageTabConnectorDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDocPageTabConnectorDirective, "[pageTab]", never, { "pageTab": "pageTab"; }, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDocPageTabConnectorDirective, "[pageTab]", never, { "pageTab": "pageTab"; }, {}, never, never, false, never>;
9
9
  }
@@ -16,5 +16,5 @@ export declare class TuiDocPageComponent {
16
16
  constructor(defaultTabs: readonly string[], seeAlso: readonly string[]);
17
17
  get showSeeAlso(): boolean;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocPageComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocPageComponent, "tui-doc-page", never, { "header": "header"; "package": "package"; "type": "type"; "path": "path"; "deprecated": "deprecated"; }, {}, ["tabConnectors"], ["*"]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocPageComponent, "tui-doc-page", never, { "header": "header"; "package": "package"; "type": "type"; "path": "path"; "deprecated": "deprecated"; }, {}, ["tabConnectors"], ["*"], false, never>;
20
20
  }
@@ -8,5 +8,5 @@ export declare class TuiScrollIntoViewLinkDirective {
8
8
  private readonly scroll$;
9
9
  constructor(destroy$: TuiDestroyService, { nativeElement }: ElementRef<HTMLElement>, readyToScroll$: Observable<boolean>);
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollIntoViewLinkDirective, [{ self: true; }, null, null]>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollIntoViewLinkDirective, "[tuiScrollIntoViewLink]", never, { "tuiScrollIntoViewLink": "tuiScrollIntoViewLink"; }, {}, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollIntoViewLinkDirective, "[tuiScrollIntoViewLink]", never, { "tuiScrollIntoViewLink": "tuiScrollIntoViewLink"; }, {}, never, never, false, never>;
12
12
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class TuiTextCodeDirective {
3
3
  code: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextCodeDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextCodeDirective, "code[tuiText]", never, { "code": "tuiText"; }, {}, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextCodeDirective, "code[tuiText]", never, { "code": "tuiText"; }, {}, never, never, false, never>;
6
6
  }
@@ -5,18 +5,18 @@ import { tuiGenerateRoutes } from '@taiga-ui/addon-doc/utils';
5
5
  import * as i0 from "@angular/core";
6
6
  export class TuiAddonDocModule {
7
7
  }
8
- TuiAddonDocModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAddonDocModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- TuiAddonDocModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAddonDocModule, exports: [TuiDocCodeModule,
8
+ TuiAddonDocModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAddonDocModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ TuiAddonDocModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiAddonDocModule, exports: [TuiDocCodeModule,
10
10
  TuiDocDemoModule,
11
11
  TuiDocDocumentationModule,
12
12
  TuiDocPageModule,
13
13
  TuiDocExampleModule] });
14
- TuiAddonDocModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAddonDocModule, imports: [TuiDocCodeModule,
14
+ TuiAddonDocModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAddonDocModule, imports: [TuiDocCodeModule,
15
15
  TuiDocDemoModule,
16
16
  TuiDocDocumentationModule,
17
17
  TuiDocPageModule,
18
18
  TuiDocExampleModule] });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAddonDocModule, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAddonDocModule, decorators: [{
20
20
  type: NgModule,
21
21
  args: [{
22
22
  exports: [
@@ -0,0 +1,42 @@
1
+ import { ChangeDetectionStrategy, Component, HostBinding, Inject, Input, } from '@angular/core';
2
+ import { TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR } from '@taiga-ui/addon-doc/tokens';
3
+ import { tuiRawLoad } from '@taiga-ui/addon-doc/utils';
4
+ import { BehaviorSubject, map, startWith, Subject, switchMap, timer } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "ngx-highlightjs";
8
+ import * as i3 from "@taiga-ui/core";
9
+ import * as i4 from "@angular/cdk/clipboard";
10
+ export class TuiDocCodeComponent {
11
+ constructor(markdownCodeProcessor) {
12
+ this.markdownCodeProcessor = markdownCodeProcessor;
13
+ this.rawLoader$$ = new BehaviorSubject('');
14
+ this.filename = '';
15
+ this.copy$ = new Subject();
16
+ this.icon$ = this.copy$.pipe(switchMap(() => timer(2000).pipe(map(() => 'tuiIconCopyLarge'), startWith('tuiIconCheckLarge'))));
17
+ this.processor$ = this.rawLoader$$.pipe(switchMap(tuiRawLoad), map((value) => this.markdownCodeProcessor(value)));
18
+ }
19
+ set code(code) {
20
+ this.rawLoader$$.next(code);
21
+ }
22
+ get hasFilename() {
23
+ return !!this.filename;
24
+ }
25
+ }
26
+ TuiDocCodeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCodeComponent, deps: [{ token: TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR }], target: i0.ɵɵFactoryTarget.Component });
27
+ TuiDocCodeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiDocCodeComponent, selector: "tui-doc-code", inputs: { filename: "filename", code: "code" }, host: { properties: { "class._has-filename": "this.hasFilename" } }, ngImport: i0, template: "<p\n *ngIf=\"filename\"\n class=\"t-header\"\n>\n {{ filename }}\n</p>\n<pre\n *ngFor=\"let content of processor$ | async\"\n class=\"t-code\"\n>\n <code [lineNumbers]=\"true\" [highlight]=\"content\"></code>\n <div class=\"t-code-actions\">\n <button\n tuiIconButton\n appearance=\"icon\"\n size=\"xs\"\n class=\"t-copy-button\"\n [icon]=\"(icon$ | async) || 'tuiIconCopyLarge'\"\n [cdkCopyToClipboard]=\"content\"\n (click)=\"copy$.next()\"\n >\n </button>\n <ng-content></ng-content>\n </div>\n</pre>\n", styles: [":host{display:block}.t-header{font:var(--tui-font-text-s);font-weight:700}.t-header+.t-code{border-radius:.25rem}.t-code{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code ::ng-deep .hljs-ln{width:-webkit-max-content;width:max-content}.t-code+.t-code{margin-top:1rem}.t-code-actions{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}:host-context(tui-root._mobile) .t-code-actions{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button::ng-deep+*:not(:empty){margin-right:.375rem}.hljs:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs:not(:empty)::-webkit-scrollbar,.hljs:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}:host-context(tui-root._mobile) .hljs:not(:empty){padding:1rem}.t-code-actions,.hljs:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions,.hljs:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.Highlight, selector: "[highlight]", inputs: ["highlight", "languages", "lineNumbers"], outputs: ["highlighted"] }, { kind: "component", type: i3.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { kind: "directive", type: i4.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCodeComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'tui-doc-code', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p\n *ngIf=\"filename\"\n class=\"t-header\"\n>\n {{ filename }}\n</p>\n<pre\n *ngFor=\"let content of processor$ | async\"\n class=\"t-code\"\n>\n <code [lineNumbers]=\"true\" [highlight]=\"content\"></code>\n <div class=\"t-code-actions\">\n <button\n tuiIconButton\n appearance=\"icon\"\n size=\"xs\"\n class=\"t-copy-button\"\n [icon]=\"(icon$ | async) || 'tuiIconCopyLarge'\"\n [cdkCopyToClipboard]=\"content\"\n (click)=\"copy$.next()\"\n >\n </button>\n <ng-content></ng-content>\n </div>\n</pre>\n", styles: [":host{display:block}.t-header{font:var(--tui-font-text-s);font-weight:700}.t-header+.t-code{border-radius:.25rem}.t-code{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-base-03)}.t-code ::ng-deep .hljs-ln{width:-webkit-max-content;width:max-content}.t-code+.t-code{margin-top:1rem}.t-code-actions{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}:host-context(tui-root._mobile) .t-code-actions{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-base-04)}.t-copy-button::ng-deep+*:not(:empty){margin-right:.375rem}.hljs:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs:not(:empty)::-webkit-scrollbar,.hljs:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:.375rem solid transparent}.hljs:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}:host-context(tui-root._mobile) .hljs:not(:empty){padding:1rem}.t-code-actions,.hljs:not(:empty){background:var(--tui-base-01)}@supports (background: color-mix(in srgb,var(--tui-base-01),#222 2%)){.t-code-actions,.hljs:not(:empty){background:color-mix(in srgb,var(--tui-base-01),#222 2%)}}\n"] }]
31
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
32
+ type: Inject,
33
+ args: [TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR]
34
+ }] }]; }, propDecorators: { filename: [{
35
+ type: Input
36
+ }], code: [{
37
+ type: Input
38
+ }], hasFilename: [{
39
+ type: HostBinding,
40
+ args: ['class._has-filename']
41
+ }] } });
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29kZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1kb2MvY29tcG9uZW50cy9jb2RlL2NvZGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWRkb24tZG9jL2NvbXBvbmVudHMvY29kZS9jb2RlLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsV0FBVyxFQUNYLE1BQU0sRUFDTixLQUFLLEdBQ1IsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFDLHVDQUF1QyxFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFDbkYsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBRXJELE9BQU8sRUFBQyxlQUFlLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBRSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLE1BQU0sQ0FBQzs7Ozs7O0FBUWhGLE1BQU0sT0FBTyxtQkFBbUI7SUFzQjVCLFlBRWEscUJBQW1EO1FBQW5ELDBCQUFxQixHQUFyQixxQkFBcUIsQ0FBOEI7UUF2Qi9DLGdC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pXG4gICAgZ2V0IGhhc0ZpbGVuYW1lKCk6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gISF0aGlzLmZpbGVuYW1lO1xuICAgIH1cbn1cbiIsIjxwXG4gICAgKm5nSWY9XCJmaWxlbmFtZVwiXG4gICAgY2xhc3M9XCJ0LWhlYWRlclwiXG4+XG4gICAge3sgZmlsZW5hbWUgfX1cbjwvcD5cbjxwcmVcbiAgICAqbmdGb3I9XCJsZXQgY29udGVudCBvZiBwcm9jZXNzb3IkIHwgYXN5bmNcIlxuICAgIGNsYXNzPVwidC1jb2RlXCJcbj5cbiAgICA8Y29kZSBbbGluZU51bWJlcnNdPVwidHJ1ZVwiIFtoaWdobGlnaHRdPVwiY29udGVudFwiPjwvY29kZT5cbiAgICA8ZGl2IGNsYXNzPVwidC1jb2RlLWFjdGlvbnNcIj5cbiAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgdHVpSWNvbkJ1dHRvblxuICAgICAgICAgICAgYXBwZWFyYW5jZT1cImljb25cIlxuICAgICAgICAgICAgc2l6ZT1cInhzXCJcbiAgICAgICAgICAgIGNsYXNzPVwidC1jb3B5LWJ1dHRvblwiXG4gICAgICAgICAgICBbaWNvbl09XCIoaWNvbiQgfCBhc3luYykgfHwgJ3R1aUljb25Db3B5TGFyZ2UnXCJcbiAgICAgICAgICAgIFtjZGtDb3B5VG9DbGlwYm9hcmRdPVwiY29udGVudFwiXG4gICAgICAgICAgICAoY2xpY2spPVwiY29weSQubmV4dCgpXCJcbiAgICAgICAgPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuPC9wcmU+XG4iXX0=
@@ -7,20 +7,18 @@ import { TuiDocCodeComponent } from './code.component';
7
7
  import * as i0 from "@angular/core";
8
8
  export class TuiDocCodeModule {
9
9
  }
10
- TuiDocCodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- TuiDocCodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCodeModule, declarations: [TuiDocCodeComponent], imports: [CommonModule,
10
+ TuiDocCodeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ TuiDocCodeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCodeModule, declarations: [TuiDocCodeComponent], imports: [CommonModule,
12
12
  TuiSvgModule,
13
13
  HighlightModule,
14
14
  TuiButtonModule,
15
15
  ClipboardModule], exports: [TuiDocCodeComponent] });
16
- TuiDocCodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCodeModule, imports: [[
17
- CommonModule,
18
- TuiSvgModule,
19
- HighlightModule,
20
- TuiButtonModule,
21
- ClipboardModule,
22
- ]] });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCodeModule, decorators: [{
16
+ TuiDocCodeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCodeModule, imports: [CommonModule,
17
+ TuiSvgModule,
18
+ HighlightModule,
19
+ TuiButtonModule,
20
+ ClipboardModule] });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCodeModule, decorators: [{
24
22
  type: NgModule,
25
23
  args: [{
26
24
  imports: [
@@ -34,4 +32,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
34
32
  exports: [TuiDocCodeComponent],
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bGV9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7VHVpQnV0dG9uTW9kdWxlLCBUdWlTdmdNb2R1bGV9IGZyb20gJ0B0YWlnYS11aS9jb3JlJztcbmltcG9ydCB7SGlnaGxpZ2h0TW9kdWxlfSBmcm9tICduZ3gtaGlnaGxpZ2h0anMnO1xuXG5pbXBvcnQge1R1aURvY0NvZGVDb21wb25lbnR9IGZyb20gJy4vY29kZS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBUdWlTdmdNb2R1bGUsXG4gICAgICAgIEhpZ2hsaWdodE1vZHVsZSxcbiAgICAgICAgVHVpQnV0dG9uTW9kdWxlLFxuICAgICAgICBDbGlwYm9hcmRNb2R1bGUsXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlEb2NDb2RlQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbVHVpRG9jQ29kZUNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aURvY0NvZGVNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,35 @@
1
+ import { __decorate } from "tslib";
2
+ import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
3
+ import { ALWAYS_FALSE_HANDLER, TuiDestroyService, tuiPure } from '@taiga-ui/cdk';
4
+ import { TUI_COPY_TEXTS } from '@taiga-ui/kit';
5
+ import { map, startWith, Subject, switchMap, timer } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common";
8
+ import * as i2 from "@taiga-ui/core";
9
+ import * as i3 from "rxjs";
10
+ const COPIED_TIMEOUT = 1500;
11
+ export class TuiDocCopyComponent {
12
+ constructor(texts$) {
13
+ this.texts$ = texts$;
14
+ this.copy$ = new Subject();
15
+ }
16
+ get copied$() {
17
+ return this.copy$.pipe(switchMap(() => timer(COPIED_TIMEOUT).pipe(map(ALWAYS_FALSE_HANDLER), startWith(true))));
18
+ }
19
+ onClick() {
20
+ this.copy$.next();
21
+ }
22
+ }
23
+ TuiDocCopyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCopyComponent, deps: [{ token: TUI_COPY_TEXTS }], target: i0.ɵɵFactoryTarget.Component });
24
+ TuiDocCopyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiDocCopyComponent, selector: "tui-doc-copy", providers: [TuiDestroyService], ngImport: i0, template: "<button\n *ngIf=\"texts$ | async as texts\"\n appearance=\"\"\n size=\"s\"\n tuiButton\n type=\"button\"\n class=\"t-copy\"\n [title]=\"texts[0]\"\n (click)=\"onClick()\"\n>\n <span\n class=\"t-content\"\n [class.t-content_moved]=\"copied$ | async\"\n >\n <span\n class=\"t-initial\"\n [attr.data-text]=\"texts[0]\"\n >\n <ng-content></ng-content>\n </span>\n {{ texts[1] }}\n </span>\n</button>\n", styles: [":host{position:relative;display:inline-block;vertical-align:middle;border-radius:var(--tui-radius-m)}.t-copy{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:100%;color:var(--tui-text-01);background:var(--tui-base-01);overflow:hidden}.t-copy:hover{background:var(--tui-base-02)}.t-initial{white-space:nowrap}.t-initial:empty:before{content:attr(data-text)}.t-content{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;flex-direction:column;transform:translateY(1rem);text-align:center;line-height:2rem}.t-content_moved{transform:translateY(-1rem)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
+ __decorate([
26
+ tuiPure
27
+ ], TuiDocCopyComponent.prototype, "copied$", null);
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCopyComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'tui-doc-copy', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TuiDestroyService], template: "<button\n *ngIf=\"texts$ | async as texts\"\n appearance=\"\"\n size=\"s\"\n tuiButton\n type=\"button\"\n class=\"t-copy\"\n [title]=\"texts[0]\"\n (click)=\"onClick()\"\n>\n <span\n class=\"t-content\"\n [class.t-content_moved]=\"copied$ | async\"\n >\n <span\n class=\"t-initial\"\n [attr.data-text]=\"texts[0]\"\n >\n <ng-content></ng-content>\n </span>\n {{ texts[1] }}\n </span>\n</button>\n", styles: [":host{position:relative;display:inline-block;vertical-align:middle;border-radius:var(--tui-radius-m)}.t-copy{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:100%;color:var(--tui-text-01);background:var(--tui-base-01);overflow:hidden}.t-copy:hover{background:var(--tui-base-02)}.t-initial{white-space:nowrap}.t-initial:empty:before{content:attr(data-text)}.t-content{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;flex-direction:column;transform:translateY(1rem);text-align:center;line-height:2rem}.t-content_moved{transform:translateY(-1rem)}\n"] }]
31
+ }], ctorParameters: function () { return [{ type: i3.Observable, decorators: [{
32
+ type: Inject,
33
+ args: [TUI_COPY_TEXTS]
34
+ }] }]; }, propDecorators: { copied$: [] } });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29weS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi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cbiAgICAgICAgICAgIFthdHRyLmRhdGEtdGV4dF09XCJ0ZXh0c1swXVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9zcGFuPlxuICAgICAgICB7eyB0ZXh0c1sxXSB9fVxuICAgIDwvc3Bhbj5cbjwvYnV0dG9uPlxuIl19
@@ -5,10 +5,10 @@ import { TuiDocCopyComponent } from './copy.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export class TuiDocCopyModule {
7
7
  }
8
- TuiDocCopyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
- TuiDocCopyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCopyModule, declarations: [TuiDocCopyComponent], imports: [CommonModule, TuiButtonModule], exports: [TuiDocCopyComponent] });
10
- TuiDocCopyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCopyModule, imports: [[CommonModule, TuiButtonModule]] });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDocCopyModule, decorators: [{
8
+ TuiDocCopyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9
+ TuiDocCopyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCopyModule, declarations: [TuiDocCopyComponent], imports: [CommonModule, TuiButtonModule], exports: [TuiDocCopyComponent] });
10
+ TuiDocCopyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCopyModule, imports: [CommonModule, TuiButtonModule] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDocCopyModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  imports: [CommonModule, TuiButtonModule],
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
16
16
  exports: [TuiDocCopyComponent],
17
17
  }]
18
18
  }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29weS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1kb2MvY29tcG9uZW50cy9jb3B5L2NvcHkubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUUvQyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSxrQkFBa0IsQ0FBQzs7QUFPckQsTUFBTSxPQUFPLGdCQUFnQjs7OEdBQWhCLGdCQUFnQjsrR0FBaEIsZ0JBQWdCLGlCQUhWLG1CQUFtQixhQUR4QixZQUFZLEVBQUUsZUFBZSxhQUU3QixtQkFBbUI7K0dBRXBCLGdCQUFnQixZQUpoQixDQUFDLFlBQVksRUFBRSxlQUFlLENBQUM7NEZBSS9CLGdCQUFnQjtrQkFMNUIsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsZUFBZSxDQUFDO29CQUN4QyxZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0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