@ng-doc/app 18.3.1 → 18.4.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 (352) hide show
  1. package/components/playground/base-playground.d.ts +1 -1
  2. package/fesm2022/ng-doc-app-classes-default-search-engine.mjs.map +1 -1
  3. package/fesm2022/ng-doc-app-components-api-list.mjs +4 -4
  4. package/fesm2022/ng-doc-app-components-api-list.mjs.map +1 -1
  5. package/fesm2022/ng-doc-app-components-breadcrumb.mjs +4 -4
  6. package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -1
  7. package/fesm2022/ng-doc-app-components-code.mjs +4 -4
  8. package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
  9. package/fesm2022/ng-doc-app-components-copy-button.mjs +3 -4
  10. package/fesm2022/ng-doc-app-components-copy-button.mjs.map +1 -1
  11. package/fesm2022/ng-doc-app-components-demo-displayer.mjs +4 -4
  12. package/fesm2022/ng-doc-app-components-demo-displayer.mjs.map +1 -1
  13. package/fesm2022/ng-doc-app-components-demo-pane.mjs +4 -4
  14. package/fesm2022/ng-doc-app-components-demo-pane.mjs.map +1 -1
  15. package/fesm2022/ng-doc-app-components-demo.mjs +4 -4
  16. package/fesm2022/ng-doc-app-components-demo.mjs.map +1 -1
  17. package/fesm2022/ng-doc-app-components-fullscreen-button.mjs +4 -4
  18. package/fesm2022/ng-doc-app-components-fullscreen-button.mjs.map +1 -1
  19. package/fesm2022/ng-doc-app-components-heading-anchor.mjs +4 -4
  20. package/fesm2022/ng-doc-app-components-heading-anchor.mjs.map +1 -1
  21. package/fesm2022/ng-doc-app-components-image-viewer.mjs +4 -4
  22. package/fesm2022/ng-doc-app-components-image-viewer.mjs.map +1 -1
  23. package/fesm2022/ng-doc-app-components-kind-icon.mjs +3 -3
  24. package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -1
  25. package/fesm2022/ng-doc-app-components-link.mjs +4 -4
  26. package/fesm2022/ng-doc-app-components-link.mjs.map +1 -1
  27. package/fesm2022/ng-doc-app-components-mermaid-viewer.mjs +4 -4
  28. package/fesm2022/ng-doc-app-components-mermaid-viewer.mjs.map +1 -1
  29. package/fesm2022/ng-doc-app-components-navbar.mjs +4 -4
  30. package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -1
  31. package/fesm2022/ng-doc-app-components-page-header.mjs +4 -4
  32. package/fesm2022/ng-doc-app-components-page-header.mjs.map +1 -1
  33. package/fesm2022/ng-doc-app-components-page-link.mjs +4 -4
  34. package/fesm2022/ng-doc-app-components-page-link.mjs.map +1 -1
  35. package/fesm2022/ng-doc-app-components-page-navigation.mjs +4 -4
  36. package/fesm2022/ng-doc-app-components-page-navigation.mjs.map +1 -1
  37. package/fesm2022/ng-doc-app-components-page-wrapper.mjs +4 -4
  38. package/fesm2022/ng-doc-app-components-page-wrapper.mjs.map +1 -1
  39. package/fesm2022/ng-doc-app-components-page.mjs +5 -5
  40. package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
  41. package/fesm2022/ng-doc-app-components-playground.mjs +19 -19
  42. package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
  43. package/fesm2022/ng-doc-app-components-root.mjs +10 -10
  44. package/fesm2022/ng-doc-app-components-root.mjs.map +1 -1
  45. package/fesm2022/ng-doc-app-components-search-dialog.mjs +4 -4
  46. package/fesm2022/ng-doc-app-components-search-dialog.mjs.map +1 -1
  47. package/fesm2022/ng-doc-app-components-search-result.mjs +4 -4
  48. package/fesm2022/ng-doc-app-components-search-result.mjs.map +1 -1
  49. package/fesm2022/ng-doc-app-components-search.mjs +4 -4
  50. package/fesm2022/ng-doc-app-components-search.mjs.map +1 -1
  51. package/fesm2022/ng-doc-app-components-sidebar.mjs +13 -13
  52. package/fesm2022/ng-doc-app-components-sidebar.mjs.map +1 -1
  53. package/fesm2022/ng-doc-app-components-tabs.mjs +4 -4
  54. package/fesm2022/ng-doc-app-components-tabs.mjs.map +1 -1
  55. package/fesm2022/ng-doc-app-components-theme-toggle.mjs +4 -4
  56. package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -1
  57. package/fesm2022/ng-doc-app-components-toc.mjs +8 -8
  58. package/fesm2022/ng-doc-app-components-toc.mjs.map +1 -1
  59. package/fesm2022/ng-doc-app-directives-code-highlighter.mjs +3 -3
  60. package/fesm2022/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
  61. package/fesm2022/ng-doc-app-directives-route-active.mjs +3 -3
  62. package/fesm2022/ng-doc-app-directives-route-active.mjs.map +1 -1
  63. package/fesm2022/ng-doc-app-helpers.mjs.map +1 -1
  64. package/fesm2022/ng-doc-app-pipes-decode-uri-component.mjs +3 -3
  65. package/fesm2022/ng-doc-app-pipes-decode-uri-component.mjs.map +1 -1
  66. package/fesm2022/ng-doc-app-pipes-extract-value.mjs +3 -3
  67. package/fesm2022/ng-doc-app-pipes-extract-value.mjs.map +1 -1
  68. package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +3 -3
  69. package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
  70. package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +3 -3
  71. package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
  72. package/fesm2022/ng-doc-app-processors-page-processor.mjs +3 -3
  73. package/fesm2022/ng-doc-app-processors-page-processor.mjs.map +1 -1
  74. package/fesm2022/ng-doc-app-processors-processors-tooltip.mjs +4 -4
  75. package/fesm2022/ng-doc-app-processors-processors-tooltip.mjs.map +1 -1
  76. package/fesm2022/ng-doc-app-processors-processors.mjs.map +1 -1
  77. package/fesm2022/ng-doc-app-providers-mermaid.mjs.map +1 -1
  78. package/fesm2022/ng-doc-app-providers-ng-doc-app.mjs +7 -17
  79. package/fesm2022/ng-doc-app-providers-ng-doc-app.mjs.map +1 -1
  80. package/fesm2022/ng-doc-app-providers-page-skeleton.mjs.map +1 -1
  81. package/fesm2022/ng-doc-app-providers-playground-demo.mjs.map +1 -1
  82. package/fesm2022/ng-doc-app-providers-search-engine.mjs.map +1 -1
  83. package/fesm2022/ng-doc-app-providers-type-control.mjs.map +1 -1
  84. package/fesm2022/ng-doc-app-services-highlighter.mjs +3 -3
  85. package/fesm2022/ng-doc-app-services-highlighter.mjs.map +1 -1
  86. package/fesm2022/ng-doc-app-services-sidebar.mjs +3 -3
  87. package/fesm2022/ng-doc-app-services-sidebar.mjs.map +1 -1
  88. package/fesm2022/ng-doc-app-services-store.mjs +3 -3
  89. package/fesm2022/ng-doc-app-services-store.mjs.map +1 -1
  90. package/fesm2022/ng-doc-app-services-theme.mjs +3 -3
  91. package/fesm2022/ng-doc-app-services-theme.mjs.map +1 -1
  92. package/fesm2022/ng-doc-app-tokens.mjs.map +1 -1
  93. package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +4 -4
  94. package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
  95. package/fesm2022/ng-doc-app-type-controls-number-control.mjs +4 -4
  96. package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
  97. package/fesm2022/ng-doc-app-type-controls-string-control.mjs +4 -4
  98. package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
  99. package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +4 -4
  100. package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
  101. package/package.json +7 -151
  102. package/providers/ng-doc-app/provide-ng-doc-app.d.ts +2 -2
  103. package/styles/themes/dark.css +22 -22
  104. package/esm2022/classes/default-search-engine/default-search-engine.mjs +0 -64
  105. package/esm2022/classes/default-search-engine/index.mjs +0 -2
  106. package/esm2022/classes/default-search-engine/ng-doc-app-classes-default-search-engine.mjs +0 -5
  107. package/esm2022/classes/index.mjs +0 -4
  108. package/esm2022/classes/ng-doc-app-classes.mjs +0 -5
  109. package/esm2022/classes/root-page/index.mjs +0 -2
  110. package/esm2022/classes/root-page/ng-doc-app-classes-root-page.mjs +0 -5
  111. package/esm2022/classes/root-page/root-page.mjs +0 -6
  112. package/esm2022/classes/search-engine/index.mjs +0 -2
  113. package/esm2022/classes/search-engine/ng-doc-app-classes-search-engine.mjs +0 -5
  114. package/esm2022/classes/search-engine/search-engine.mjs +0 -6
  115. package/esm2022/components/api-list/api-list.component.mjs +0 -91
  116. package/esm2022/components/api-list/index.mjs +0 -2
  117. package/esm2022/components/api-list/ng-doc-app-components-api-list.mjs +0 -5
  118. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +0 -19
  119. package/esm2022/components/breadcrumb/index.mjs +0 -2
  120. package/esm2022/components/breadcrumb/ng-doc-app-components-breadcrumb.mjs +0 -5
  121. package/esm2022/components/code/code.component.mjs +0 -51
  122. package/esm2022/components/code/index.mjs +0 -2
  123. package/esm2022/components/code/ng-doc-app-components-code.mjs +0 -5
  124. package/esm2022/components/copy-button/copy-button.component.mjs +0 -61
  125. package/esm2022/components/copy-button/index.mjs +0 -2
  126. package/esm2022/components/copy-button/ng-doc-app-components-copy-button.mjs +0 -5
  127. package/esm2022/components/demo/demo.component.mjs +0 -66
  128. package/esm2022/components/demo/index.mjs +0 -2
  129. package/esm2022/components/demo/ng-doc-app-components-demo.mjs +0 -5
  130. package/esm2022/components/demo-displayer/demo-displayer.component.mjs +0 -53
  131. package/esm2022/components/demo-displayer/index.mjs +0 -2
  132. package/esm2022/components/demo-displayer/ng-doc-app-components-demo-displayer.mjs +0 -5
  133. package/esm2022/components/demo-pane/demo-pane.component.mjs +0 -62
  134. package/esm2022/components/demo-pane/index.mjs +0 -2
  135. package/esm2022/components/demo-pane/ng-doc-app-components-demo-pane.mjs +0 -5
  136. package/esm2022/components/fullscreen-button/fullscreen-button.component.mjs +0 -22
  137. package/esm2022/components/fullscreen-button/index.mjs +0 -2
  138. package/esm2022/components/fullscreen-button/ng-doc-app-components-fullscreen-button.mjs +0 -5
  139. package/esm2022/components/heading-anchor/heading-anchor.component.mjs +0 -38
  140. package/esm2022/components/heading-anchor/index.mjs +0 -2
  141. package/esm2022/components/heading-anchor/ng-doc-app-components-heading-anchor.mjs +0 -5
  142. package/esm2022/components/image-viewer/image-viewer.component.mjs +0 -80
  143. package/esm2022/components/image-viewer/index.mjs +0 -2
  144. package/esm2022/components/image-viewer/ng-doc-app-components-image-viewer.mjs +0 -5
  145. package/esm2022/components/index.mjs +0 -29
  146. package/esm2022/components/kind-icon/index.mjs +0 -2
  147. package/esm2022/components/kind-icon/kind-icon.component.mjs +0 -31
  148. package/esm2022/components/kind-icon/ng-doc-app-components-kind-icon.mjs +0 -5
  149. package/esm2022/components/link/index.mjs +0 -2
  150. package/esm2022/components/link/link.component.mjs +0 -17
  151. package/esm2022/components/link/ng-doc-app-components-link.mjs +0 -5
  152. package/esm2022/components/mermaid-viewer/index.mjs +0 -2
  153. package/esm2022/components/mermaid-viewer/mermaid-viewer.component.mjs +0 -55
  154. package/esm2022/components/mermaid-viewer/ng-doc-app-components-mermaid-viewer.mjs +0 -5
  155. package/esm2022/components/navbar/index.mjs +0 -2
  156. package/esm2022/components/navbar/navbar.component.mjs +0 -89
  157. package/esm2022/components/navbar/ng-doc-app-components-navbar.mjs +0 -5
  158. package/esm2022/components/ng-doc-app-components.mjs +0 -5
  159. package/esm2022/components/page/index.mjs +0 -2
  160. package/esm2022/components/page/ng-doc-app-components-page.mjs +0 -5
  161. package/esm2022/components/page/page.component.mjs +0 -75
  162. package/esm2022/components/page-header/index.mjs +0 -2
  163. package/esm2022/components/page-header/ng-doc-app-components-page-header.mjs +0 -5
  164. package/esm2022/components/page-header/page-header.component.mjs +0 -19
  165. package/esm2022/components/page-link/index.mjs +0 -2
  166. package/esm2022/components/page-link/ng-doc-app-components-page-link.mjs +0 -5
  167. package/esm2022/components/page-link/page-link.component.mjs +0 -46
  168. package/esm2022/components/page-navigation/index.mjs +0 -2
  169. package/esm2022/components/page-navigation/ng-doc-app-components-page-navigation.mjs +0 -5
  170. package/esm2022/components/page-navigation/page-navigation.component.mjs +0 -28
  171. package/esm2022/components/page-wrapper/index.mjs +0 -2
  172. package/esm2022/components/page-wrapper/ng-doc-app-components-page-wrapper.mjs +0 -5
  173. package/esm2022/components/page-wrapper/page-wrapper.component.mjs +0 -87
  174. package/esm2022/components/playground/base-playground.mjs +0 -87
  175. package/esm2022/components/playground/index.mjs +0 -8
  176. package/esm2022/components/playground/ng-doc-app-components-playground.mjs +0 -5
  177. package/esm2022/components/playground/playground-demo/playground-demo.component.mjs +0 -143
  178. package/esm2022/components/playground/playground-form.mjs +0 -2
  179. package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +0 -145
  180. package/esm2022/components/playground/playground-property/playground-property.component.mjs +0 -67
  181. package/esm2022/components/playground/playground-property-control.mjs +0 -2
  182. package/esm2022/components/playground/playground.component.mjs +0 -101
  183. package/esm2022/components/root/index.mjs +0 -2
  184. package/esm2022/components/root/ng-doc-app-components-root.mjs +0 -5
  185. package/esm2022/components/root/root.component.mjs +0 -99
  186. package/esm2022/components/search/index.mjs +0 -2
  187. package/esm2022/components/search/ng-doc-app-components-search.mjs +0 -5
  188. package/esm2022/components/search/search.component.mjs +0 -75
  189. package/esm2022/components/search-dialog/index.mjs +0 -2
  190. package/esm2022/components/search-dialog/ng-doc-app-components-search-dialog.mjs +0 -5
  191. package/esm2022/components/search-dialog/search-dialog.component.mjs +0 -74
  192. package/esm2022/components/search-result/index.mjs +0 -2
  193. package/esm2022/components/search-result/ng-doc-app-components-search-result.mjs +0 -5
  194. package/esm2022/components/search-result/search-result.component.mjs +0 -50
  195. package/esm2022/components/sidebar/index.mjs +0 -2
  196. package/esm2022/components/sidebar/ng-doc-app-components-sidebar.mjs +0 -5
  197. package/esm2022/components/sidebar/sidebar-category/sidebar-category.component.mjs +0 -79
  198. package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +0 -23
  199. package/esm2022/components/sidebar/sidebar.component.mjs +0 -34
  200. package/esm2022/components/tabs/index.mjs +0 -2
  201. package/esm2022/components/tabs/ng-doc-app-components-tabs.mjs +0 -5
  202. package/esm2022/components/tabs/tabs.component.mjs +0 -34
  203. package/esm2022/components/theme-toggle/index.mjs +0 -2
  204. package/esm2022/components/theme-toggle/ng-doc-app-components-theme-toggle.mjs +0 -5
  205. package/esm2022/components/theme-toggle/theme-toggle.component.mjs +0 -41
  206. package/esm2022/components/toc/index.mjs +0 -3
  207. package/esm2022/components/toc/ng-doc-app-components-toc.mjs +0 -5
  208. package/esm2022/components/toc/toc-element/toc-element.component.mjs +0 -34
  209. package/esm2022/components/toc/toc.component.mjs +0 -93
  210. package/esm2022/constants/index.mjs +0 -2
  211. package/esm2022/constants/ng-doc-app-constants.mjs +0 -5
  212. package/esm2022/constants/store-keys.mjs +0 -2
  213. package/esm2022/defaults/default-processors/default-processors.mjs +0 -20
  214. package/esm2022/defaults/default-processors/index.mjs +0 -2
  215. package/esm2022/defaults/default-processors/ng-doc-app-defaults-default-processors.mjs +0 -5
  216. package/esm2022/defaults/default-skeleton/default-skeleton.mjs +0 -7
  217. package/esm2022/defaults/default-skeleton/index.mjs +0 -2
  218. package/esm2022/defaults/default-skeleton/ng-doc-app-defaults-default-skeleton.mjs +0 -5
  219. package/esm2022/defaults/index.mjs +0 -3
  220. package/esm2022/defaults/ng-doc-app-defaults.mjs +0 -5
  221. package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +0 -26
  222. package/esm2022/directives/code-highlighter/index.mjs +0 -2
  223. package/esm2022/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs +0 -5
  224. package/esm2022/directives/index.mjs +0 -3
  225. package/esm2022/directives/ng-doc-app-directives.mjs +0 -5
  226. package/esm2022/directives/route-active/index.mjs +0 -2
  227. package/esm2022/directives/route-active/ng-doc-app-directives-route-active.mjs +0 -5
  228. package/esm2022/directives/route-active/route-active.directive.mjs +0 -54
  229. package/esm2022/helpers/as-boolean.mjs +0 -15
  230. package/esm2022/helpers/create-component.mjs +0 -16
  231. package/esm2022/helpers/format-html.mjs +0 -16
  232. package/esm2022/helpers/generate-toc.mjs +0 -33
  233. package/esm2022/helpers/index.mjs +0 -8
  234. package/esm2022/helpers/is-dark-os-theme.mjs +0 -7
  235. package/esm2022/helpers/is-external-link.mjs +0 -10
  236. package/esm2022/helpers/is-playground-property.mjs +0 -9
  237. package/esm2022/helpers/ng-doc-app-helpers.mjs +0 -5
  238. package/esm2022/index.mjs +0 -15
  239. package/esm2022/interfaces/context.mjs +0 -2
  240. package/esm2022/interfaces/demo-assets.mjs +0 -2
  241. package/esm2022/interfaces/index.mjs +0 -14
  242. package/esm2022/interfaces/navigation.mjs +0 -2
  243. package/esm2022/interfaces/ng-doc-app-interfaces.mjs +0 -5
  244. package/esm2022/interfaces/page-processor.mjs +0 -2
  245. package/esm2022/interfaces/page-skeleton.mjs +0 -2
  246. package/esm2022/interfaces/processor-options.mjs +0 -2
  247. package/esm2022/interfaces/provided-type-control.mjs +0 -2
  248. package/esm2022/interfaces/search-result.mjs +0 -2
  249. package/esm2022/interfaces/tab.mjs +0 -2
  250. package/esm2022/interfaces/theme.mjs +0 -2
  251. package/esm2022/interfaces/toc-item.mjs +0 -2
  252. package/esm2022/interfaces/type-control-provider-options.mjs +0 -2
  253. package/esm2022/interfaces/type-control.mjs +0 -2
  254. package/esm2022/ng-doc-app.mjs +0 -5
  255. package/esm2022/pipes/decode-uri-component/decode-uri-component.pipe.mjs +0 -22
  256. package/esm2022/pipes/decode-uri-component/index.mjs +0 -2
  257. package/esm2022/pipes/decode-uri-component/ng-doc-app-pipes-decode-uri-component.mjs +0 -5
  258. package/esm2022/pipes/extract-value/extract-value.pipe.mjs +0 -18
  259. package/esm2022/pipes/extract-value/index.mjs +0 -2
  260. package/esm2022/pipes/extract-value/ng-doc-app-pipes-extract-value.mjs +0 -5
  261. package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +0 -17
  262. package/esm2022/pipes/filter-by-text/index.mjs +0 -2
  263. package/esm2022/pipes/filter-by-text/ng-doc-app-pipes-filter-by-text.mjs +0 -5
  264. package/esm2022/pipes/index.mjs +0 -5
  265. package/esm2022/pipes/ng-doc-app-pipes.mjs +0 -5
  266. package/esm2022/pipes/sanitize-html/index.mjs +0 -2
  267. package/esm2022/pipes/sanitize-html/ng-doc-app-pipes-sanitize-html.mjs +0 -5
  268. package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -22
  269. package/esm2022/processors/index.mjs +0 -3
  270. package/esm2022/processors/ng-doc-app-processors.mjs +0 -5
  271. package/esm2022/processors/page-processor/index.mjs +0 -2
  272. package/esm2022/processors/page-processor/ng-doc-app-processors-page-processor.mjs +0 -5
  273. package/esm2022/processors/page-processor/page-processor.component.mjs +0 -74
  274. package/esm2022/processors/processors/blockquote.processor.mjs +0 -13
  275. package/esm2022/processors/processors/code.processor.mjs +0 -14
  276. package/esm2022/processors/processors/demo-pane.processor.mjs +0 -12
  277. package/esm2022/processors/processors/demo.processor.mjs +0 -12
  278. package/esm2022/processors/processors/heading-anchor.processor.mjs +0 -12
  279. package/esm2022/processors/processors/icon.processor.mjs +0 -12
  280. package/esm2022/processors/processors/image.processor.mjs +0 -19
  281. package/esm2022/processors/processors/index.mjs +0 -13
  282. package/esm2022/processors/processors/link/index.mjs +0 -2
  283. package/esm2022/processors/processors/link/link.processor.mjs +0 -13
  284. package/esm2022/processors/processors/link/ng-doc-app-processors-processors-link.mjs +0 -5
  285. package/esm2022/processors/processors/mermaid.processor.mjs +0 -11
  286. package/esm2022/processors/processors/ng-doc-app-processors-processors.mjs +0 -5
  287. package/esm2022/processors/processors/playground.processor.mjs +0 -20
  288. package/esm2022/processors/processors/tabs.processor.mjs +0 -28
  289. package/esm2022/processors/processors/tooltip/index.mjs +0 -2
  290. package/esm2022/processors/processors/tooltip/ng-doc-app-processors-processors-tooltip.mjs +0 -5
  291. package/esm2022/processors/processors/tooltip/tooltip.processor.mjs +0 -56
  292. package/esm2022/providers/index.mjs +0 -7
  293. package/esm2022/providers/mermaid/index.mjs +0 -2
  294. package/esm2022/providers/mermaid/ng-doc-app-providers-mermaid.mjs +0 -5
  295. package/esm2022/providers/mermaid/provide-mermaid.mjs +0 -16
  296. package/esm2022/providers/ng-doc-app/index.mjs +0 -2
  297. package/esm2022/providers/ng-doc-app/ng-doc-app-providers-ng-doc-app.mjs +0 -5
  298. package/esm2022/providers/ng-doc-app/provide-ng-doc-app.mjs +0 -33
  299. package/esm2022/providers/ng-doc-app-providers.mjs +0 -5
  300. package/esm2022/providers/page-skeleton/index.mjs +0 -2
  301. package/esm2022/providers/page-skeleton/ng-doc-app-providers-page-skeleton.mjs +0 -5
  302. package/esm2022/providers/page-skeleton/provide-page-skeleton.mjs +0 -9
  303. package/esm2022/providers/playground-demo/index.mjs +0 -2
  304. package/esm2022/providers/playground-demo/ng-doc-app-providers-playground-demo.mjs +0 -5
  305. package/esm2022/providers/playground-demo/provide-playground-demo.mjs +0 -29
  306. package/esm2022/providers/search-engine/index.mjs +0 -2
  307. package/esm2022/providers/search-engine/ng-doc-app-providers-search-engine.mjs +0 -5
  308. package/esm2022/providers/search-engine/provide-search-engine.mjs +0 -16
  309. package/esm2022/providers/type-control/index.mjs +0 -2
  310. package/esm2022/providers/type-control/ng-doc-app-providers-type-control.mjs +0 -5
  311. package/esm2022/providers/type-control/provide-type-control.mjs +0 -32
  312. package/esm2022/services/highlighter/highlighter.service.mjs +0 -39
  313. package/esm2022/services/highlighter/index.mjs +0 -2
  314. package/esm2022/services/highlighter/ng-doc-app-services-highlighter.mjs +0 -5
  315. package/esm2022/services/index.mjs +0 -4
  316. package/esm2022/services/ng-doc-app-services.mjs +0 -5
  317. package/esm2022/services/sidebar/index.mjs +0 -2
  318. package/esm2022/services/sidebar/ng-doc-app-services-sidebar.mjs +0 -5
  319. package/esm2022/services/sidebar/sidebar.service.mjs +0 -84
  320. package/esm2022/services/store/index.mjs +0 -2
  321. package/esm2022/services/store/ng-doc-app-services-store.mjs +0 -5
  322. package/esm2022/services/store/store.service.mjs +0 -26
  323. package/esm2022/services/theme/index.mjs +0 -2
  324. package/esm2022/services/theme/ng-doc-app-services-theme.mjs +0 -5
  325. package/esm2022/services/theme/theme.service.mjs +0 -50
  326. package/esm2022/tokens/context.mjs +0 -3
  327. package/esm2022/tokens/index.mjs +0 -9
  328. package/esm2022/tokens/mermaid.mjs +0 -3
  329. package/esm2022/tokens/ng-doc-app-tokens.mjs +0 -5
  330. package/esm2022/tokens/page-processor.mjs +0 -28
  331. package/esm2022/tokens/page-skeleton.mjs +0 -3
  332. package/esm2022/tokens/route-prefix.mjs +0 -3
  333. package/esm2022/tokens/shiki-theme.mjs +0 -3
  334. package/esm2022/tokens/theme.mjs +0 -28
  335. package/esm2022/tokens/type-control.mjs +0 -3
  336. package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +0 -25
  337. package/esm2022/type-controls/boolean-control/index.mjs +0 -2
  338. package/esm2022/type-controls/boolean-control/ng-doc-app-type-controls-boolean-control.mjs +0 -5
  339. package/esm2022/type-controls/index.mjs +0 -5
  340. package/esm2022/type-controls/ng-doc-app-type-controls.mjs +0 -5
  341. package/esm2022/type-controls/number-control/index.mjs +0 -2
  342. package/esm2022/type-controls/number-control/ng-doc-app-type-controls-number-control.mjs +0 -5
  343. package/esm2022/type-controls/number-control/number-control.component.mjs +0 -33
  344. package/esm2022/type-controls/string-control/index.mjs +0 -2
  345. package/esm2022/type-controls/string-control/ng-doc-app-type-controls-string-control.mjs +0 -5
  346. package/esm2022/type-controls/string-control/string-control.component.mjs +0 -36
  347. package/esm2022/type-controls/type-alias-control/index.mjs +0 -2
  348. package/esm2022/type-controls/type-alias-control/ng-doc-app-type-controls-type-alias-control.mjs +0 -5
  349. package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +0 -47
  350. package/esm2022/types/index.mjs +0 -2
  351. package/esm2022/types/ng-doc-app-types.mjs +0 -5
  352. package/esm2022/types/typed-form.mjs +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-services-theme.mjs","sources":["../../../../libs/app/services/theme/theme.service.ts","../../../../libs/app/services/theme/ng-doc-app-services-theme.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { inject, Injectable } from '@angular/core';\nimport { NG_DOC_STORE_THEME_KEY } from '@ng-doc/app/constants';\nimport { NgDocStoreService } from '@ng-doc/app/services/store';\nimport { UntilDestroy } from '@ngneat/until-destroy';\nimport { Observable, Subject } from 'rxjs';\n\n/**\n * Service for managing themes.\n */\n@Injectable({ providedIn: 'root' })\n@UntilDestroy()\nexport class NgDocThemeService {\n protected readonly document = inject(DOCUMENT);\n protected readonly store = inject(NgDocStoreService);\n protected readonly change$ = new Subject<string | null>();\n protected readonly documentElement = this.document.documentElement;\n\n /**\n * Returns the current theme.\n */\n get currentTheme(): string | null {\n return document.documentElement.getAttribute('data-theme');\n }\n\n themeChanges(): Observable<string | null> {\n return this.change$.asObservable();\n }\n\n /**\n * Sets the theme by id.\n * @param id - Theme id. If not provided, the theme will be removed.\n */\n set(id?: string): void {\n id\n ? this.documentElement.setAttribute('data-theme', id)\n : this.documentElement.removeAttribute('data-theme');\n\n this.store.set(NG_DOC_STORE_THEME_KEY, id ?? '');\n this.change$.next(id ?? null);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAOA;;AAEG;AAGU,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;AACc,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5B,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,OAAO,EAAiB,CAAC;AACvC,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC;AAyBpE,KAAA;AAvBC;;AAEG;AACH,IAAA,IAAI,YAAY,GAAA;QACd,OAAO,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;KAC5D;IAED,YAAY,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC;KACpC;AAED;;;AAGG;AACH,IAAA,GAAG,CAAC,EAAW,EAAA;QACb,EAAE;cACE,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,YAAY,EAAE,EAAE,CAAC;cACnD,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAEvD,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,CAAC;KAC/B;8GA5BU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cAFJ,MAAM,EAAA,CAAA,CAAA,EAAA;;AAEnB,iBAAiB,GAAA,UAAA,CAAA;AAD7B,IAAA,YAAY,EAAE;AACF,CAAA,EAAA,iBAAiB,CA6B7B,CAAA;2FA7BY,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAF7B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACVlC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-services-theme.mjs","sources":["../../../../libs/app/services/theme/theme.service.ts","../../../../libs/app/services/theme/ng-doc-app-services-theme.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { inject, Injectable } from '@angular/core';\nimport { NG_DOC_STORE_THEME_KEY } from '@ng-doc/app/constants';\nimport { NgDocStoreService } from '@ng-doc/app/services/store';\nimport { UntilDestroy } from '@ngneat/until-destroy';\nimport { Observable, Subject } from 'rxjs';\n\n/**\n * Service for managing themes.\n */\n@Injectable({ providedIn: 'root' })\n@UntilDestroy()\nexport class NgDocThemeService {\n protected readonly document = inject(DOCUMENT);\n protected readonly store = inject(NgDocStoreService);\n protected readonly change$ = new Subject<string | null>();\n protected readonly documentElement = this.document.documentElement;\n\n /**\n * Returns the current theme.\n */\n get currentTheme(): string | null {\n return document.documentElement.getAttribute('data-theme');\n }\n\n themeChanges(): Observable<string | null> {\n return this.change$.asObservable();\n }\n\n /**\n * Sets the theme by id.\n * @param id - Theme id. If not provided, the theme will be removed.\n */\n set(id?: string): void {\n id\n ? this.documentElement.setAttribute('data-theme', id)\n : this.documentElement.removeAttribute('data-theme');\n\n this.store.set(NG_DOC_STORE_THEME_KEY, id ?? '');\n this.change$.next(id ?? null);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAOA;;AAEG;AAGU,IAAA,iBAAiB,GAAvB,MAAM,iBAAiB,CAAA;AAAvB,IAAA,WAAA,GAAA;AACc,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACjC,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,OAAO,EAAiB;AACtC,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe;AAyBnE;AAvBC;;AAEG;AACH,IAAA,IAAI,YAAY,GAAA;QACd,OAAO,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,YAAY,CAAC;;IAG5D,YAAY,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;;AAGpC;;;AAGG;AACH,IAAA,GAAG,CAAC,EAAW,EAAA;QACb;cACI,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,YAAY,EAAE,EAAE;cAClD,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,YAAY,CAAC;QAEtD,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,CAAC;QAChD,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC;;8GA3BpB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cAFJ,MAAM,EAAA,CAAA,CAAA;;AAEnB,iBAAiB,GAAA,UAAA,CAAA;AAD7B,IAAA,YAAY;AACA,CAAA,EAAA,iBAAiB,CA6B7B;2FA7BY,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAF7B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACVlC;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-tokens.mjs","sources":["../../../../libs/app/tokens/context.ts","../../../../libs/app/tokens/mermaid.ts","../../../../libs/app/tokens/page-processor.ts","../../../../libs/app/tokens/page-skeleton.ts","../../../../libs/app/tokens/route-prefix.ts","../../../../libs/app/tokens/shiki-theme.ts","../../../../libs/app/tokens/theme.ts","../../../../libs/app/tokens/type-control.ts","../../../../libs/app/tokens/ng-doc-app-tokens.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { NgDocContext } from '@ng-doc/app/interfaces';\n\nexport const NG_DOC_CONTEXT: InjectionToken<NgDocContext> = new InjectionToken<NgDocContext>(\n\t'NG_DOC_CONTEXT',\n);\n","import { InjectionToken } from '@angular/core';\nimport type { Mermaid } from 'mermaid';\n\nexport const NG_DOC_MERMAID = new InjectionToken<Mermaid>('NG_DOC_MERMAID');\n","import { InjectionToken, Provider } from '@angular/core';\nimport { NgDocPageProcessor } from '@ng-doc/app/interfaces';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\n\nexport const NG_DOC_PAGE_PROCESSOR: InjectionToken<NgDocPageProcessor<unknown>> =\n new InjectionToken<NgDocPageProcessor<unknown>>('NG_DOC_PAGE_PROCESSOR');\nexport const NG_DOC_PAGE_CUSTOM_PROCESSOR: InjectionToken<NgDocPageProcessor<unknown>> =\n new InjectionToken<NgDocPageProcessor<unknown>>('NG_DOC_PAGE_CUSTOM_PROCESSOR');\n\n/**\n * Provide a main processor to replace html nodes with an Angular component.\n * Main processors are run before custom processors.\n * @param processors - The processor to provide.\n */\nexport function provideMainPageProcessor(\n processors: NgDocPageProcessor<unknown> | Array<NgDocPageProcessor<unknown>>,\n): Provider[] {\n return asArray(processors).map((processor) => ({\n provide: NG_DOC_PAGE_PROCESSOR,\n useValue: processor,\n multi: true,\n }));\n}\n\n/**\n * Provide a processor to replace html nodes with an Angular component.\n * @param processors - The processor to provide.\n */\nexport function providePageProcessor<T>(\n processors: NgDocPageProcessor<T> | Array<NgDocPageProcessor<T>>,\n): Provider[] {\n return asArray(processors).map((processor) => ({\n provide: NG_DOC_PAGE_CUSTOM_PROCESSOR,\n useValue: processor,\n multi: true,\n }));\n}\n","import { InjectionToken } from '@angular/core';\nimport { NgDocPageSkeleton } from '@ng-doc/app/interfaces';\n\nexport const NG_DOC_PAGE_SKELETON: InjectionToken<NgDocPageSkeleton> =\n\tnew InjectionToken<NgDocPageSkeleton>('NG_DOC_PAGE_SKELETON');\n","import { InjectionToken } from '@angular/core';\n\nexport const NG_DOC_ROUTE_PREFIX = new InjectionToken<string>('NG_DOC_ROUTE_PREFIX');\n","import { InjectionToken } from '@angular/core';\n\nexport interface NgDocShikiTheme {\n light: string;\n dark: string;\n}\n\nexport const NG_DOC_SHIKI_THEME = new InjectionToken<NgDocShikiTheme>('NG_DOC_SHIKI_THEME');\n","import { InjectionToken } from '@angular/core';\nimport { NgDocTheme } from '@ng-doc/app/interfaces';\n\n/**\n * Token that can be used to provide custom theme.\n * You must compile your theme to CSS and add it to `assets` so that NgDoc can load it dynamically.\n *\n * You always should provide custom themes in root of your application with `multi: true` parameter.\n *\n * For example\n * ```typescript\n * @NgModule({\n * declarations: [AppComponent],\n * imports: [],\n * providers: [\n * {provide: NG_DOC_THEME, useValue: {id: 'CustomTheme', path: '/assets/themes/custom.css'}, multi: true}\n * ],\n * bootstrap: [AppComponent],\n * })\n * export class AppModule {}\n * ```\n */\nexport const NG_DOC_THEME: InjectionToken<NgDocTheme> = new InjectionToken<NgDocTheme>(\n\t`NG_DOC_THEME`,\n);\n\n/**\n * Default theme for application if user didn't change it manually.\n *\n * You can provide this token in the root of you application, to set theme by default.\n */\nexport const NG_DOC_DEFAULT_THEME_ID: InjectionToken<string> = new InjectionToken<string>(\n\t`NG_DOC_DEFAULT_THEME`,\n);\n","import { InjectionToken } from '@angular/core';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\n\nexport const NG_DOC_TYPE_CONTROL: InjectionToken<NgDocTypeControl> =\n\tnew InjectionToken<NgDocTypeControl>('NG_DOC_TYPE_CONTROL');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAGa,cAAc,GAAiC,IAAI,cAAc,CAC7E,gBAAgB;;MCDJ,cAAc,GAAG,IAAI,cAAc,CAAU,gBAAgB;;MCC7D,qBAAqB,GAChC,IAAI,cAAc,CAA8B,uBAAuB,EAAE;MAC9D,4BAA4B,GACvC,IAAI,cAAc,CAA8B,8BAA8B,EAAE;AAElF;;;;AAIG;AACG,SAAU,wBAAwB,CACtC,UAA4E,EAAA;AAE5E,IAAA,OAAO,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,MAAM;AAC7C,QAAA,OAAO,EAAE,qBAAqB;AAC9B,QAAA,QAAQ,EAAE,SAAS;AACnB,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;AAGG;AACG,SAAU,oBAAoB,CAClC,UAAgE,EAAA;AAEhE,IAAA,OAAO,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,MAAM;AAC7C,QAAA,OAAO,EAAE,4BAA4B;AACrC,QAAA,QAAQ,EAAE,SAAS;AACnB,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC,CAAC;AACN;;MCjCa,oBAAoB,GAChC,IAAI,cAAc,CAAoB,sBAAsB;;MCFhD,mBAAmB,GAAG,IAAI,cAAc,CAAS,qBAAqB;;MCKtE,kBAAkB,GAAG,IAAI,cAAc,CAAkB,oBAAoB;;ACJ1F;;;;;;;;;;;;;;;;;;AAkBG;MACU,YAAY,GAA+B,IAAI,cAAc,CACzE,CAAc,YAAA,CAAA,EACb;AAEF;;;;AAIG;MACU,uBAAuB,GAA2B,IAAI,cAAc,CAChF,CAAsB,oBAAA,CAAA;;MC7BV,mBAAmB,GAC/B,IAAI,cAAc,CAAmB,qBAAqB;;ACJ3D;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-tokens.mjs","sources":["../../../../libs/app/tokens/context.ts","../../../../libs/app/tokens/mermaid.ts","../../../../libs/app/tokens/page-processor.ts","../../../../libs/app/tokens/page-skeleton.ts","../../../../libs/app/tokens/route-prefix.ts","../../../../libs/app/tokens/shiki-theme.ts","../../../../libs/app/tokens/theme.ts","../../../../libs/app/tokens/type-control.ts","../../../../libs/app/tokens/ng-doc-app-tokens.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { NgDocContext } from '@ng-doc/app/interfaces';\n\nexport const NG_DOC_CONTEXT: InjectionToken<NgDocContext> = new InjectionToken<NgDocContext>(\n\t'NG_DOC_CONTEXT',\n);\n","import { InjectionToken } from '@angular/core';\nimport type { Mermaid } from 'mermaid';\n\nexport const NG_DOC_MERMAID = new InjectionToken<Mermaid>('NG_DOC_MERMAID');\n","import { InjectionToken, Provider } from '@angular/core';\nimport { NgDocPageProcessor } from '@ng-doc/app/interfaces';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\n\nexport const NG_DOC_PAGE_PROCESSOR: InjectionToken<NgDocPageProcessor<unknown>> =\n new InjectionToken<NgDocPageProcessor<unknown>>('NG_DOC_PAGE_PROCESSOR');\nexport const NG_DOC_PAGE_CUSTOM_PROCESSOR: InjectionToken<NgDocPageProcessor<unknown>> =\n new InjectionToken<NgDocPageProcessor<unknown>>('NG_DOC_PAGE_CUSTOM_PROCESSOR');\n\n/**\n * Provide a main processor to replace html nodes with an Angular component.\n * Main processors are run before custom processors.\n * @param processors - The processor to provide.\n */\nexport function provideMainPageProcessor(\n processors: NgDocPageProcessor<unknown> | Array<NgDocPageProcessor<unknown>>,\n): Provider[] {\n return asArray(processors).map((processor) => ({\n provide: NG_DOC_PAGE_PROCESSOR,\n useValue: processor,\n multi: true,\n }));\n}\n\n/**\n * Provide a processor to replace html nodes with an Angular component.\n * @param processors - The processor to provide.\n */\nexport function providePageProcessor<T>(\n processors: NgDocPageProcessor<T> | Array<NgDocPageProcessor<T>>,\n): Provider[] {\n return asArray(processors).map((processor) => ({\n provide: NG_DOC_PAGE_CUSTOM_PROCESSOR,\n useValue: processor,\n multi: true,\n }));\n}\n","import { InjectionToken } from '@angular/core';\nimport { NgDocPageSkeleton } from '@ng-doc/app/interfaces';\n\nexport const NG_DOC_PAGE_SKELETON: InjectionToken<NgDocPageSkeleton> =\n\tnew InjectionToken<NgDocPageSkeleton>('NG_DOC_PAGE_SKELETON');\n","import { InjectionToken } from '@angular/core';\n\nexport const NG_DOC_ROUTE_PREFIX = new InjectionToken<string>('NG_DOC_ROUTE_PREFIX');\n","import { InjectionToken } from '@angular/core';\n\nexport interface NgDocShikiTheme {\n light: string;\n dark: string;\n}\n\nexport const NG_DOC_SHIKI_THEME = new InjectionToken<NgDocShikiTheme>('NG_DOC_SHIKI_THEME');\n","import { InjectionToken } from '@angular/core';\nimport { NgDocTheme } from '@ng-doc/app/interfaces';\n\n/**\n * Token that can be used to provide custom theme.\n * You must compile your theme to CSS and add it to `assets` so that NgDoc can load it dynamically.\n *\n * You always should provide custom themes in root of your application with `multi: true` parameter.\n *\n * For example\n * ```typescript\n * @NgModule({\n * declarations: [AppComponent],\n * imports: [],\n * providers: [\n * {provide: NG_DOC_THEME, useValue: {id: 'CustomTheme', path: '/assets/themes/custom.css'}, multi: true}\n * ],\n * bootstrap: [AppComponent],\n * })\n * export class AppModule {}\n * ```\n */\nexport const NG_DOC_THEME: InjectionToken<NgDocTheme> = new InjectionToken<NgDocTheme>(\n\t`NG_DOC_THEME`,\n);\n\n/**\n * Default theme for application if user didn't change it manually.\n *\n * You can provide this token in the root of you application, to set theme by default.\n */\nexport const NG_DOC_DEFAULT_THEME_ID: InjectionToken<string> = new InjectionToken<string>(\n\t`NG_DOC_DEFAULT_THEME`,\n);\n","import { InjectionToken } from '@angular/core';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\n\nexport const NG_DOC_TYPE_CONTROL: InjectionToken<NgDocTypeControl> =\n\tnew InjectionToken<NgDocTypeControl>('NG_DOC_TYPE_CONTROL');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAGa,cAAc,GAAiC,IAAI,cAAc,CAC7E,gBAAgB;;MCDJ,cAAc,GAAG,IAAI,cAAc,CAAU,gBAAgB;;MCC7D,qBAAqB,GAChC,IAAI,cAAc,CAA8B,uBAAuB;MAC5D,4BAA4B,GACvC,IAAI,cAAc,CAA8B,8BAA8B;AAEhF;;;;AAIG;AACG,SAAU,wBAAwB,CACtC,UAA4E,EAAA;AAE5E,IAAA,OAAO,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,MAAM;AAC7C,QAAA,OAAO,EAAE,qBAAqB;AAC9B,QAAA,QAAQ,EAAE,SAAS;AACnB,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC;AACL;AAEA;;;AAGG;AACG,SAAU,oBAAoB,CAClC,UAAgE,EAAA;AAEhE,IAAA,OAAO,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,MAAM;AAC7C,QAAA,OAAO,EAAE,4BAA4B;AACrC,QAAA,QAAQ,EAAE,SAAS;AACnB,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA,CAAC,CAAC;AACL;;MCjCa,oBAAoB,GAChC,IAAI,cAAc,CAAoB,sBAAsB;;MCFhD,mBAAmB,GAAG,IAAI,cAAc,CAAS,qBAAqB;;MCKtE,kBAAkB,GAAG,IAAI,cAAc,CAAkB,oBAAoB;;ACJ1F;;;;;;;;;;;;;;;;;;AAkBG;MACU,YAAY,GAA+B,IAAI,cAAc,CACzE,CAAc,YAAA,CAAA;AAGf;;;;AAIG;MACU,uBAAuB,GAA2B,IAAI,cAAc,CAChF,CAAsB,oBAAA,CAAA;;MC7BV,mBAAmB,GAC/B,IAAI,cAAc,CAAmB,qBAAqB;;ACJ3D;;AAEG;;;;"}
@@ -16,12 +16,12 @@ class NgDocBooleanControlComponent extends DIControl {
16
16
  updateModel(obj) {
17
17
  super.updateModel(obj ? obj : !this.defaultValue ? this.defaultValue : false);
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocBooleanControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: NgDocBooleanControlComponent, isStandalone: true, selector: "ng-doc-boolean-control", providers: [provideHostControl(NgDocBooleanControlComponent)], usesInheritance: true, ngImport: i0, template: "<ng-doc-checkbox [ngDocTooltip]=\"tooltipTemplate\" [canOpen]=\"!!description\">\n\t{{ name }}\n\t<ng-template #tooltipTemplate>\n\t\t<div [innerHTML]=\"description | ngDocSanitizeHtml\"></div>\n\t</ng-template>\n</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"], dependencies: [{ kind: "component", type: NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "pipe", type: NgDocSanitizeHtmlPipe, name: "ngDocSanitizeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocBooleanControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocBooleanControlComponent, isStandalone: true, selector: "ng-doc-boolean-control", providers: [provideHostControl(NgDocBooleanControlComponent)], usesInheritance: true, ngImport: i0, template: "<ng-doc-checkbox [ngDocTooltip]=\"tooltipTemplate\" [canOpen]=\"!!description\">\n\t{{ name }}\n\t<ng-template #tooltipTemplate>\n\t\t<div [innerHTML]=\"description | ngDocSanitizeHtml\"></div>\n\t</ng-template>\n</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"], dependencies: [{ kind: "component", type: NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "pipe", type: NgDocSanitizeHtmlPipe, name: "ngDocSanitizeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocBooleanControlComponent, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocBooleanControlComponent, decorators: [{
23
23
  type: Component,
24
- args: [{ selector: 'ng-doc-boolean-control', providers: [provideHostControl(NgDocBooleanControlComponent)], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgDocCheckboxComponent, NgDocTooltipDirective, NgDocSanitizeHtmlPipe], template: "<ng-doc-checkbox [ngDocTooltip]=\"tooltipTemplate\" [canOpen]=\"!!description\">\n\t{{ name }}\n\t<ng-template #tooltipTemplate>\n\t\t<div [innerHTML]=\"description | ngDocSanitizeHtml\"></div>\n\t</ng-template>\n</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"] }]
24
+ args: [{ selector: 'ng-doc-boolean-control', providers: [provideHostControl(NgDocBooleanControlComponent)], changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgDocCheckboxComponent, NgDocTooltipDirective, NgDocSanitizeHtmlPipe], template: "<ng-doc-checkbox [ngDocTooltip]=\"tooltipTemplate\" [canOpen]=\"!!description\">\n\t{{ name }}\n\t<ng-template #tooltipTemplate>\n\t\t<div [innerHTML]=\"description | ngDocSanitizeHtml\"></div>\n\t</ng-template>\n</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"] }]
25
25
  }], ctorParameters: () => [] });
26
26
 
27
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-type-controls-boolean-control.mjs","sources":["../../../../libs/app/type-controls/boolean-control/boolean-control.component.ts","../../../../libs/app/type-controls/boolean-control/boolean-control.component.html","../../../../libs/app/type-controls/boolean-control/ng-doc-app-type-controls-boolean-control.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport { NgDocSanitizeHtmlPipe } from '@ng-doc/app/pipes';\nimport { NgDocCheckboxComponent, NgDocTooltipDirective } from '@ng-doc/ui-kit';\nimport { DIControl, provideHostControl } from 'di-controls';\n\n@Component({\n\tselector: 'ng-doc-boolean-control',\n\ttemplateUrl: './boolean-control.component.html',\n\tstyleUrls: ['./boolean-control.component.scss'],\n\tproviders: [provideHostControl(NgDocBooleanControlComponent)],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgDocCheckboxComponent, NgDocTooltipDirective, NgDocSanitizeHtmlPipe],\n})\nexport class NgDocBooleanControlComponent\n\textends DIControl<boolean | undefined>\n\timplements NgDocTypeControl<boolean | undefined>\n{\n\tdefault?: boolean;\n\n\tname: string = '';\n\tdescription: string = '';\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tget defaultValue(): boolean | undefined {\n\t\treturn Object.prototype.hasOwnProperty.call(this, 'default') ? this.default : false;\n\t}\n\n\toverride updateModel(obj: boolean | null | undefined) {\n\t\tsuper.updateModel(obj ? obj : !this.defaultValue ? this.defaultValue : false);\n\t}\n}\n","<ng-doc-checkbox [ngDocTooltip]=\"tooltipTemplate\" [canOpen]=\"!!description\">\n\t{{ name }}\n\t<ng-template #tooltipTemplate>\n\t\t<div [innerHTML]=\"description | ngDocSanitizeHtml\"></div>\n\t</ng-template>\n</ng-doc-checkbox>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAeM,MAAO,4BACZ,SAAQ,SAA8B,CAAA;AAQtC,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;QAJT,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAClB,IAAW,CAAA,WAAA,GAAW,EAAE,CAAC;KAIxB;AAED,IAAA,IAAI,YAAY,GAAA;QACf,OAAO,MAAM,CAA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AAA,eAAA,EAC5C,uBAAuB,CAAC,MAAM,EACnC,UAAA,EAAA,IAAI,WACP,CAAC,sBAAsB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,EAAA,QAAA,EAAA,2OAAA,EAAA,MAAA,EAAA,CAAA,yCAAA,CAAA,EAAA,CAAA;;;AEbhF;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-type-controls-boolean-control.mjs","sources":["../../../../libs/app/type-controls/boolean-control/boolean-control.component.ts","../../../../libs/app/type-controls/boolean-control/boolean-control.component.html","../../../../libs/app/type-controls/boolean-control/ng-doc-app-type-controls-boolean-control.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport { NgDocSanitizeHtmlPipe } from '@ng-doc/app/pipes';\nimport { NgDocCheckboxComponent, NgDocTooltipDirective } from '@ng-doc/ui-kit';\nimport { DIControl, provideHostControl } from 'di-controls';\n\n@Component({\n selector: 'ng-doc-boolean-control',\n templateUrl: './boolean-control.component.html',\n styleUrls: ['./boolean-control.component.scss'],\n providers: [provideHostControl(NgDocBooleanControlComponent)],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgDocCheckboxComponent, NgDocTooltipDirective, NgDocSanitizeHtmlPipe],\n})\nexport class NgDocBooleanControlComponent\n extends DIControl<boolean | undefined>\n implements NgDocTypeControl<boolean | undefined>\n{\n default?: boolean;\n\n name: string = '';\n description: string = '';\n\n constructor() {\n super();\n }\n\n get defaultValue(): boolean | undefined {\n return Object.prototype.hasOwnProperty.call(this, 'default') ? this.default : false;\n }\n\n override updateModel(obj: boolean | null | undefined) {\n super.updateModel(obj ? obj : !this.defaultValue ? this.defaultValue : false);\n }\n}\n","<ng-doc-checkbox [ngDocTooltip]=\"tooltipTemplate\" [canOpen]=\"!!description\">\n\t{{ name }}\n\t<ng-template #tooltipTemplate>\n\t\t<div [innerHTML]=\"description | ngDocSanitizeHtml\"></div>\n\t</ng-template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AAE,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAEnE,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBARxC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wBAAwB,aAGvB,CAAC,kBAAkB,CAA8B,4BAAA,CAAA,CAAC,mBAC5C,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,EAAA,QAAA,EAAA,2OAAA,EAAA,MAAA,EAAA,CAAA,yCAAA,CAAA,EAAA;;;AEZjF;;AAEG;;;;"}
@@ -13,12 +13,12 @@ class NgDocNumberControlComponent extends DIControl {
13
13
  changeModel(value) {
14
14
  this.updateModel(value === null && this.default ? this.default : value);
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocNumberControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: NgDocNumberControlComponent, isStandalone: true, selector: "ng-doc-number-control", inputs: { default: "default" }, usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputNumber type=\"number\" [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "component", type: NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "align"] }, { kind: "directive", type: DIControlSilencerDirective, selector: "[diControlSilencer]" }, { kind: "directive", type: NgDocInputNumberDirective, selector: "input[ngDocInputNumber]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon], button[ng-doc-button-icon-raised], a[ng-doc-button-icon-raised], button[ng-doc-button-icon-transparent], a[ng-doc-button-icon-transparent]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "customIcon", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocNumberControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocNumberControlComponent, isStandalone: true, selector: "ng-doc-number-control", inputs: { default: "default" }, usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputNumber type=\"number\" [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "component", type: NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "align"] }, { kind: "directive", type: DIControlSilencerDirective, selector: "[diControlSilencer]" }, { kind: "directive", type: NgDocInputNumberDirective, selector: "input[ngDocInputNumber]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon], button[ng-doc-button-icon-raised], a[ng-doc-button-icon-raised], button[ng-doc-button-icon-transparent], a[ng-doc-button-icon-transparent]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "customIcon", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocNumberControlComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocNumberControlComponent, decorators: [{
20
20
  type: Component,
21
- args: [{ selector: 'ng-doc-number-control', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
21
+ args: [{ selector: 'ng-doc-number-control', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
22
22
  NgDocInputWrapperComponent,
23
23
  DIControlSilencerDirective,
24
24
  NgDocInputNumberDirective,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-type-controls-number-control.mjs","sources":["../../../../libs/app/type-controls/number-control/number-control.component.ts","../../../../libs/app/type-controls/number-control/number-control.component.html","../../../../libs/app/type-controls/number-control/ng-doc-app-type-controls-number-control.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport {\n\tNgDocButtonIconComponent,\n\tNgDocFocusableDirective,\n\tNgDocIconComponent,\n\tNgDocInputNumberDirective,\n\tNgDocInputWrapperComponent,\n} from '@ng-doc/ui-kit';\nimport { DIControl, DIControlSilencerDirective } from 'di-controls';\n\n@Component({\n\tselector: 'ng-doc-number-control',\n\ttemplateUrl: './number-control.component.html',\n\tstyleUrls: ['./number-control.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocInputWrapperComponent,\n\t\tDIControlSilencerDirective,\n\t\tNgDocInputNumberDirective,\n\t\tFormsModule,\n\t\tNgIf,\n\t\tNgDocButtonIconComponent,\n\t\tNgDocFocusableDirective,\n\t\tNgDocIconComponent,\n\t],\n})\nexport class NgDocNumberControlComponent\n\textends DIControl<number>\n\timplements NgDocTypeControl<number>\n{\n\t@Input()\n\tdefault?: number;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tchangeModel(value: number | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.default : value);\n\t}\n}\n","<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputNumber type=\"number\" [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA8BM,MAAO,2BACZ,SAAQ,SAAiB,CAAA;AAMzB,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC/B,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;KACxE;8GAbW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,wIC9BxC,0hBAgBA,EAAA,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QAAA,EAAA,0hBAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,CAAA;wDAOD,OAAO,EAAA,CAAA;sBADN,KAAK;;;AElCP;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-type-controls-number-control.mjs","sources":["../../../../libs/app/type-controls/number-control/number-control.component.ts","../../../../libs/app/type-controls/number-control/number-control.component.html","../../../../libs/app/type-controls/number-control/ng-doc-app-type-controls-number-control.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport {\n NgDocButtonIconComponent,\n NgDocFocusableDirective,\n NgDocIconComponent,\n NgDocInputNumberDirective,\n NgDocInputWrapperComponent,\n} from '@ng-doc/ui-kit';\nimport { DIControl, DIControlSilencerDirective } from 'di-controls';\n\n@Component({\n selector: 'ng-doc-number-control',\n templateUrl: './number-control.component.html',\n styleUrls: ['./number-control.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgDocInputWrapperComponent,\n DIControlSilencerDirective,\n NgDocInputNumberDirective,\n FormsModule,\n NgIf,\n NgDocButtonIconComponent,\n NgDocFocusableDirective,\n NgDocIconComponent,\n ],\n})\nexport class NgDocNumberControlComponent\n extends DIControl<number>\n implements NgDocTypeControl<number>\n{\n @Input()\n default?: number;\n\n constructor() {\n super();\n }\n\n changeModel(value: number | null): void {\n this.updateModel(value === null && this.default ? this.default : value);\n }\n}\n","<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputNumber type=\"number\" [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n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AwB,EACxB,QAAA,EAAA,+LAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,uBAAuB,uHACvB,kBAAkB,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,YAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGT,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAhBvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,EAGhB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACtC,OAAA,EAAA;wBACP,0BAA0B;wBAC1B,0BAA0B;wBAC1B,yBAAyB;wBACzB,WAAW;wBACX,IAAI;wBACJ,wBAAwB;wBACxB,uBAAuB;wBACvB,kBAAkB;AACnB,qBAAA,EAAA,QAAA,EAAA,0hBAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;wDAOD,OAAO,EAAA,CAAA;sBADN;;;AEjCH;;AAEG;;;;"}
@@ -16,12 +16,12 @@ class NgDocStringControlComponent extends DIControl {
16
16
  writeValue(value) {
17
17
  super.writeValue(value);
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocStringControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: NgDocStringControlComponent, isStandalone: true, selector: "ng-doc-string-control", inputs: { default: "default" }, usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputString [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "align"] }, { kind: "directive", type: NgDocInputStringDirective, selector: "input[ngDocInputString]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon], button[ng-doc-button-icon-raised], a[ng-doc-button-icon-raised], button[ng-doc-button-icon-transparent], a[ng-doc-button-icon-transparent]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "customIcon", "size"] }, { kind: "directive", type: DIControlSilencerDirective, selector: "[diControlSilencer]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocStringControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocStringControlComponent, isStandalone: true, selector: "ng-doc-string-control", inputs: { default: "default" }, usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputString [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "align"] }, { kind: "directive", type: NgDocInputStringDirective, selector: "input[ngDocInputString]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon], button[ng-doc-button-icon-raised], a[ng-doc-button-icon-raised], button[ng-doc-button-icon-transparent], a[ng-doc-button-icon-transparent]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "customIcon", "size"] }, { kind: "directive", type: DIControlSilencerDirective, selector: "[diControlSilencer]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocStringControlComponent, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocStringControlComponent, decorators: [{
23
23
  type: Component,
24
- args: [{ selector: 'ng-doc-string-control', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
24
+ args: [{ selector: 'ng-doc-string-control', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
25
25
  FormsModule,
26
26
  NgDocInputWrapperComponent,
27
27
  NgDocInputStringDirective,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-type-controls-string-control.mjs","sources":["../../../../libs/app/type-controls/string-control/string-control.component.ts","../../../../libs/app/type-controls/string-control/string-control.component.html","../../../../libs/app/type-controls/string-control/ng-doc-app-type-controls-string-control.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport {\n\tNgDocButtonIconComponent,\n\tNgDocFocusableDirective,\n\tNgDocIconComponent,\n\tNgDocInputStringDirective,\n\tNgDocInputWrapperComponent,\n} from '@ng-doc/ui-kit';\nimport { DIControl, DIControlSilencerDirective } from 'di-controls';\n\n@Component({\n\tselector: 'ng-doc-string-control',\n\ttemplateUrl: './string-control.component.html',\n\tstyleUrls: ['./string-control.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tFormsModule,\n\t\tNgDocInputWrapperComponent,\n\t\tNgDocInputStringDirective,\n\t\tNgIf,\n\t\tNgDocButtonIconComponent,\n\t\tNgDocFocusableDirective,\n\t\tNgDocIconComponent,\n\t\tDIControlSilencerDirective,\n\t],\n})\nexport class NgDocStringControlComponent\n\textends DIControl<string>\n\timplements NgDocTypeControl<string>\n{\n\t@Input()\n\tdefault?: string;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tchangeModel(value: string | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.default : value);\n\t}\n\n\toverride writeValue(value: string | null) {\n\t\tsuper.writeValue(value);\n\t}\n}\n","<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputString [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA8BM,MAAO,2BACZ,SAAQ,SAAiB,CAAA;AAMzB,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC/B,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;KACxE;AAEQ,IAAA,UAAU,CAAC,KAAoB,EAAA;AACvC,QAAA,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;KACxB;8GAjBW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAA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,CAAA,gBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,kBAAkB,gGAClB,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGf,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAjBvC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,mBAGhB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACR,WAAW;wBACX,0BAA0B;wBAC1B,yBAAyB;wBACzB,IAAI;wBACJ,wBAAwB;wBACxB,uBAAuB;wBACvB,kBAAkB;wBAClB,0BAA0B;AAC1B,qBAAA,EAAA,QAAA,EAAA,wgBAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,CAAA;wDAOD,OAAO,EAAA,CAAA;sBADN,KAAK;;;AElCP;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-type-controls-string-control.mjs","sources":["../../../../libs/app/type-controls/string-control/string-control.component.ts","../../../../libs/app/type-controls/string-control/string-control.component.html","../../../../libs/app/type-controls/string-control/ng-doc-app-type-controls-string-control.ts"],"sourcesContent":["import { NgIf } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport {\n NgDocButtonIconComponent,\n NgDocFocusableDirective,\n NgDocIconComponent,\n NgDocInputStringDirective,\n NgDocInputWrapperComponent,\n} from '@ng-doc/ui-kit';\nimport { DIControl, DIControlSilencerDirective } from 'di-controls';\n\n@Component({\n selector: 'ng-doc-string-control',\n templateUrl: './string-control.component.html',\n styleUrls: ['./string-control.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n FormsModule,\n NgDocInputWrapperComponent,\n NgDocInputStringDirective,\n NgIf,\n NgDocButtonIconComponent,\n NgDocFocusableDirective,\n NgDocIconComponent,\n DIControlSilencerDirective,\n ],\n})\nexport class NgDocStringControlComponent\n extends DIControl<string>\n implements NgDocTypeControl<string>\n{\n @Input()\n default?: string;\n\n constructor() {\n super();\n }\n\n changeModel(value: string | null): void {\n this.updateModel(value === null && this.default ? this.default : value);\n }\n\n override writeValue(value: string | null) {\n super.writeValue(value);\n }\n}\n","<ng-doc-input-wrapper diControlSilencer>\n <input ngDocInputString [ngModel]=\"model()\" (ngModelChange)=\"changeModel($event)\" />\n <button\n ng-doc-button-icon-transparent\n ngDocInputWrapperRight\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n</ng-doc-input-wrapper>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA6BM,MAAO,2BACX,SAAQ,SAAiB,CAAA;AAMzB,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;AAGT,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC9B,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;AAGhE,IAAA,UAAU,CAAC,KAAoB,EAAA;AACtC,QAAA,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;;8GAhBd,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAA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kBAAkB,gGAClB,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGjB,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAhBvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,EAGhB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACtC,OAAA,EAAA;wBACP,WAAW;wBACX,0BAA0B;wBAC1B,yBAAyB;wBACzB,IAAI;wBACJ,wBAAwB;wBACxB,uBAAuB;wBACvB,kBAAkB;wBAClB,0BAA0B;AAC3B,qBAAA,EAAA,QAAA,EAAA,wgBAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;wDAOD,OAAO,EAAA,CAAA;sBADN;;;AEjCH;;AAEG;;;;"}
@@ -18,12 +18,12 @@ class NgDocTypeAliasControlComponent extends DIControl {
18
18
  changeModel(value) {
19
19
  this.updateModel(value === null && this.default ? this.default : value);
20
20
  }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocTypeAliasControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.1", type: NgDocTypeAliasControlComponent, isStandalone: true, selector: "ng-doc-type-alias-control", inputs: { default: "default" }, usesInheritance: true, ngImport: i0, template: "<ng-doc-combobox\n [ngModel]=\"model()\"\n [readonly]=\"true\"\n [valueContent]=\"valueTemplate\"\n [clearButton]=\"false\"\n [rightContent]=\"rightContent\"\n (ngModelChange)=\"changeModel($event)\">\n <ng-doc-list *ngDocData>\n <ng-container *ngFor=\"let option of options\">\n <ng-container *ngIf=\"isManual ? option : (option | ngDocExtractValue) as value\">\n <ng-doc-option [value]=\"value\">\n <ng-container\n *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value }\"></ng-container>\n </ng-doc-option>\n </ng-container>\n </ng-container>\n </ng-doc-list>\n <ng-template let-value #valueTemplate>\n <div ng-doc-text>\n <ng-doc-kind-icon\n [kind]=\"typeOf(value)\"\n [type]=\"'type'\"\n [ngDocTooltip]=\"typeOf(value)\"\n positions=\"left-center\"\n ngDocTextLeft>\n </ng-doc-kind-icon>\n <div>{{ value }}</div>\n <span ng-doc-text color=\"muted\" size=\"small\" *ngIf=\"value === default\" ngDocTextRight\n >[default]</span\n >\n </div>\n </ng-template>\n <ng-template #rightContent>\n <button\n ng-doc-button-icon-transparent\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n </ng-template>\n</ng-doc-combobox>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "component", type: NgDocComboboxComponent, selector: "ng-doc-combobox", inputs: ["readonly", "placeholder", "clearButton", "rightContent", "valueContent"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgDocDataDirective, selector: "[ngDocData]" }, { kind: "component", type: NgDocListComponent, selector: "ng-doc-list" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocOptionComponent, selector: "ng-doc-option" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "component", type: NgDocKindIconComponent, selector: "ng-doc-kind-icon", inputs: ["kind", "type", "size"] }, { kind: "directive", type: NgDocTextLeftDirective, selector: "[ngDocTextLeft]" }, { kind: "directive", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "directive", type: NgDocTextRightDirective, selector: "[ngDocTextRight]" }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon], button[ng-doc-button-icon-raised], a[ng-doc-button-icon-raised], button[ng-doc-button-icon-transparent], a[ng-doc-button-icon-transparent]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "customIcon", "size"] }, { kind: "pipe", type: NgDocExtractValuePipe, name: "ngDocExtractValue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocTypeAliasControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocTypeAliasControlComponent, isStandalone: true, selector: "ng-doc-type-alias-control", inputs: { default: "default" }, usesInheritance: true, ngImport: i0, template: "<ng-doc-combobox\n [ngModel]=\"model()\"\n [readonly]=\"true\"\n [valueContent]=\"valueTemplate\"\n [clearButton]=\"false\"\n [rightContent]=\"rightContent\"\n (ngModelChange)=\"changeModel($event)\">\n <ng-doc-list *ngDocData>\n <ng-container *ngFor=\"let option of options\">\n <ng-container *ngIf=\"isManual ? option : (option | ngDocExtractValue) as value\">\n <ng-doc-option [value]=\"value\">\n <ng-container\n *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value }\"></ng-container>\n </ng-doc-option>\n </ng-container>\n </ng-container>\n </ng-doc-list>\n <ng-template let-value #valueTemplate>\n <div ng-doc-text>\n <ng-doc-kind-icon\n [kind]=\"typeOf(value)\"\n [type]=\"'type'\"\n [ngDocTooltip]=\"typeOf(value)\"\n positions=\"left-center\"\n ngDocTextLeft>\n </ng-doc-kind-icon>\n <div>{{ value }}</div>\n <span ng-doc-text color=\"muted\" size=\"small\" *ngIf=\"value === default\" ngDocTextRight\n >[default]</span\n >\n </div>\n </ng-template>\n <ng-template #rightContent>\n <button\n ng-doc-button-icon-transparent\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n </ng-template>\n</ng-doc-combobox>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "component", type: NgDocComboboxComponent, selector: "ng-doc-combobox", inputs: ["readonly", "placeholder", "clearButton", "rightContent", "valueContent"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgDocDataDirective, selector: "[ngDocData]" }, { kind: "component", type: NgDocListComponent, selector: "ng-doc-list" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocOptionComponent, selector: "ng-doc-option" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "component", type: NgDocKindIconComponent, selector: "ng-doc-kind-icon", inputs: ["kind", "type", "size"] }, { kind: "directive", type: NgDocTextLeftDirective, selector: "[ngDocTextLeft]" }, { kind: "directive", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "directive", type: NgDocTextRightDirective, selector: "[ngDocTextRight]" }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon], button[ng-doc-button-icon-raised], a[ng-doc-button-icon-raised], button[ng-doc-button-icon-transparent], a[ng-doc-button-icon-transparent]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "customIcon", "size"] }, { kind: "pipe", type: NgDocExtractValuePipe, name: "ngDocExtractValue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocTypeAliasControlComponent, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocTypeAliasControlComponent, decorators: [{
25
25
  type: Component,
26
- args: [{ selector: 'ng-doc-type-alias-control', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
26
+ args: [{ selector: 'ng-doc-type-alias-control', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
27
27
  NgDocComboboxComponent,
28
28
  FormsModule,
29
29
  NgDocDataDirective,
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-type-controls-type-alias-control.mjs","sources":["../../../../libs/app/type-controls/type-alias-control/type-alias-control.component.ts","../../../../libs/app/type-controls/type-alias-control/type-alias-control.component.html","../../../../libs/app/type-controls/type-alias-control/ng-doc-app-type-controls-type-alias-control.ts"],"sourcesContent":["import { NgFor, NgIf, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgDocKindIconComponent } from '@ng-doc/app/components/kind-icon';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport { NgDocExtractValuePipe } from '@ng-doc/app/pipes/extract-value';\nimport {\n NgDocButtonIconComponent,\n NgDocComboboxComponent,\n NgDocDataDirective,\n NgDocFocusableDirective,\n NgDocIconComponent,\n NgDocListComponent,\n NgDocOptionComponent,\n NgDocTextComponent,\n NgDocTextLeftDirective,\n NgDocTextRightDirective,\n NgDocTooltipDirective,\n} from '@ng-doc/ui-kit';\nimport { DIControl } from 'di-controls';\n\n@Component({\n selector: 'ng-doc-type-alias-control',\n templateUrl: './type-alias-control.component.html',\n styleUrls: ['./type-alias-control.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n NgDocComboboxComponent,\n FormsModule,\n NgDocDataDirective,\n NgDocListComponent,\n NgFor,\n NgIf,\n NgDocOptionComponent,\n NgTemplateOutlet,\n NgDocTextComponent,\n NgDocKindIconComponent,\n NgDocTextLeftDirective,\n NgDocTooltipDirective,\n NgDocTextRightDirective,\n NgDocButtonIconComponent,\n NgDocFocusableDirective,\n NgDocIconComponent,\n NgDocExtractValuePipe,\n ],\n})\nexport class NgDocTypeAliasControlComponent<T> extends DIControl<T> implements NgDocTypeControl<T> {\n @Input()\n default?: T;\n\n options?: string[];\n\n isManual?: boolean;\n\n constructor() {\n super();\n }\n\n typeOf(value: unknown): string {\n return typeof value;\n }\n\n changeModel(value: T | null): void {\n this.updateModel(value === null && this.default ? this.default : value);\n }\n}\n","<ng-doc-combobox\n [ngModel]=\"model()\"\n [readonly]=\"true\"\n [valueContent]=\"valueTemplate\"\n [clearButton]=\"false\"\n [rightContent]=\"rightContent\"\n (ngModelChange)=\"changeModel($event)\">\n <ng-doc-list *ngDocData>\n <ng-container *ngFor=\"let option of options\">\n <ng-container *ngIf=\"isManual ? option : (option | ngDocExtractValue) as value\">\n <ng-doc-option [value]=\"value\">\n <ng-container\n *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value }\"></ng-container>\n </ng-doc-option>\n </ng-container>\n </ng-container>\n </ng-doc-list>\n <ng-template let-value #valueTemplate>\n <div ng-doc-text>\n <ng-doc-kind-icon\n [kind]=\"typeOf(value)\"\n [type]=\"'type'\"\n [ngDocTooltip]=\"typeOf(value)\"\n positions=\"left-center\"\n ngDocTextLeft>\n </ng-doc-kind-icon>\n <div>{{ value }}</div>\n <span ng-doc-text color=\"muted\" size=\"small\" *ngIf=\"value === default\" ngDocTextRight\n >[default]</span\n >\n </div>\n </ng-template>\n <ng-template #rightContent>\n <button\n ng-doc-button-icon-transparent\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n </ng-template>\n</ng-doc-combobox>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AA+C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.mjs","sources":["../../../../libs/app/type-controls/type-alias-control/type-alias-control.component.ts","../../../../libs/app/type-controls/type-alias-control/type-alias-control.component.html","../../../../libs/app/type-controls/type-alias-control/ng-doc-app-type-controls-type-alias-control.ts"],"sourcesContent":["import { NgFor, NgIf, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { NgDocKindIconComponent } from '@ng-doc/app/components/kind-icon';\nimport { NgDocTypeControl } from '@ng-doc/app/interfaces';\nimport { NgDocExtractValuePipe } from '@ng-doc/app/pipes/extract-value';\nimport {\n NgDocButtonIconComponent,\n NgDocComboboxComponent,\n NgDocDataDirective,\n NgDocFocusableDirective,\n NgDocIconComponent,\n NgDocListComponent,\n NgDocOptionComponent,\n NgDocTextComponent,\n NgDocTextLeftDirective,\n NgDocTextRightDirective,\n NgDocTooltipDirective,\n} from '@ng-doc/ui-kit';\nimport { DIControl } from 'di-controls';\n\n@Component({\n selector: 'ng-doc-type-alias-control',\n templateUrl: './type-alias-control.component.html',\n styleUrls: ['./type-alias-control.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgDocComboboxComponent,\n FormsModule,\n NgDocDataDirective,\n NgDocListComponent,\n NgFor,\n NgIf,\n NgDocOptionComponent,\n NgTemplateOutlet,\n NgDocTextComponent,\n NgDocKindIconComponent,\n NgDocTextLeftDirective,\n NgDocTooltipDirective,\n NgDocTextRightDirective,\n NgDocButtonIconComponent,\n NgDocFocusableDirective,\n NgDocIconComponent,\n NgDocExtractValuePipe,\n ],\n})\nexport class NgDocTypeAliasControlComponent<T> extends DIControl<T> implements NgDocTypeControl<T> {\n @Input()\n default?: T;\n\n options?: string[];\n\n isManual?: boolean;\n\n constructor() {\n super();\n }\n\n typeOf(value: unknown): string {\n return typeof value;\n }\n\n changeModel(value: T | null): void {\n this.updateModel(value === null && this.default ? this.default : value);\n }\n}\n","<ng-doc-combobox\n [ngModel]=\"model()\"\n [readonly]=\"true\"\n [valueContent]=\"valueTemplate\"\n [clearButton]=\"false\"\n [rightContent]=\"rightContent\"\n (ngModelChange)=\"changeModel($event)\">\n <ng-doc-list *ngDocData>\n <ng-container *ngFor=\"let option of options\">\n <ng-container *ngIf=\"isManual ? option : (option | ngDocExtractValue) as value\">\n <ng-doc-option [value]=\"value\">\n <ng-container\n *ngTemplateOutlet=\"valueTemplate; context: { $implicit: value }\"></ng-container>\n </ng-doc-option>\n </ng-container>\n </ng-container>\n </ng-doc-list>\n <ng-template let-value #valueTemplate>\n <div ng-doc-text>\n <ng-doc-kind-icon\n [kind]=\"typeOf(value)\"\n [type]=\"'type'\"\n [ngDocTooltip]=\"typeOf(value)\"\n positions=\"left-center\"\n ngDocTextLeft>\n </ng-doc-kind-icon>\n <div>{{ value }}</div>\n <span ng-doc-text color=\"muted\" size=\"small\" *ngIf=\"value === default\" ngDocTextRight\n >[default]</span\n >\n </div>\n </ng-template>\n <ng-template #rightContent>\n <button\n ng-doc-button-icon-transparent\n size=\"large\"\n [ngDocFocusable]=\"false\"\n [disabled]=\"disabled\"\n [rounded]=\"false\"\n (click)=\"updateModel(default ?? null)\"\n (focusout)=\"touch()\"\n *ngIf=\"model() && model() !== default\">\n <ng-doc-icon icon=\"x\"></ng-doc-icon>\n </button>\n </ng-template>\n</ng-doc-combobox>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AA8CM,MAAO,8BAAkC,SAAQ,SAAY,CAAA;AAQjE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;AAGT,IAAA,MAAM,CAAC,KAAc,EAAA;QACnB,OAAO,OAAO,KAAK;;AAGrB,IAAA,WAAW,CAAC,KAAe,EAAA;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;8GAjB9D,8BAA8B,EAAA,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