@ng-doc/app 16.2.0 → 16.3.0-beta.1

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 (284) hide show
  1. package/classes/root-page/root-page.d.ts +2 -3
  2. package/components/api-list/api-list.component.d.ts +1 -1
  3. package/components/api-list/api-list.module.d.ts +6 -7
  4. package/components/breadcrumb/breadcrumb.component.d.ts +1 -1
  5. package/components/breadcrumb/index.d.ts +1 -2
  6. package/components/code/code.component.d.ts +1 -1
  7. package/components/code/index.d.ts +0 -1
  8. package/components/demo/demo.component.d.ts +1 -1
  9. package/components/demo/index.d.ts +0 -1
  10. package/components/demo-displayer/demo-displayer.component.d.ts +1 -1
  11. package/components/demo-displayer/index.d.ts +0 -1
  12. package/components/demo-pane/demo-pane.component.d.ts +1 -1
  13. package/components/demo-pane/index.d.ts +0 -1
  14. package/components/kind-icon/index.d.ts +0 -1
  15. package/components/kind-icon/kind-icon.component.d.ts +1 -1
  16. package/components/link/index.d.ts +0 -1
  17. package/components/link/link.component.d.ts +1 -1
  18. package/components/navbar/navbar.component.d.ts +1 -1
  19. package/components/navbar/navbar.module.d.ts +1 -7
  20. package/components/page/page.component.d.ts +1 -1
  21. package/components/page/page.module.d.ts +5 -10
  22. package/components/page-link/index.d.ts +0 -1
  23. package/components/page-link/page-link.component.d.ts +1 -1
  24. package/components/playground/index.d.ts +0 -1
  25. package/components/playground/playground-demo/playground-demo.component.d.ts +1 -1
  26. package/components/playground/playground-properties/playground-properties.component.d.ts +1 -1
  27. package/components/playground/playground-property/playground-property.component.d.ts +1 -1
  28. package/components/playground/playground.component.d.ts +1 -1
  29. package/components/root/index.d.ts +0 -1
  30. package/components/root/root.component.d.ts +3 -3
  31. package/components/search/search.component.d.ts +1 -1
  32. package/components/search/search.module.d.ts +6 -7
  33. package/components/search-result/index.d.ts +0 -1
  34. package/components/search-result/search-result.component.d.ts +1 -1
  35. package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +1 -1
  36. package/components/sidebar/sidebar-item/sidebar-item.component.d.ts +1 -1
  37. package/components/sidebar/sidebar.component.d.ts +1 -1
  38. package/components/sidebar/sidebar.module.d.ts +1 -13
  39. package/components/theme-toggle/index.d.ts +0 -1
  40. package/components/theme-toggle/theme-toggle.component.d.ts +1 -1
  41. package/components/toc/index.d.ts +0 -1
  42. package/components/toc/toc-element/toc-element.component.d.ts +1 -1
  43. package/components/toc/toc.component.d.ts +1 -1
  44. package/directives/code-highlighter/code-highlighter.directive.d.ts +1 -1
  45. package/directives/code-highlighter/index.d.ts +0 -1
  46. package/directives/route-active/index.d.ts +0 -1
  47. package/directives/route-active/route-active.directive.d.ts +1 -1
  48. package/esm2022/classes/root-page/root-page.mjs +1 -1
  49. package/esm2022/components/api-list/api-list.component.mjs +29 -8
  50. package/esm2022/components/api-list/api-list.module.mjs +5 -54
  51. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +6 -6
  52. package/esm2022/components/breadcrumb/index.mjs +2 -3
  53. package/esm2022/components/code/code.component.mjs +16 -7
  54. package/esm2022/components/code/index.mjs +1 -2
  55. package/esm2022/components/demo/demo.component.mjs +19 -10
  56. package/esm2022/components/demo/index.mjs +1 -2
  57. package/esm2022/components/demo-displayer/demo-displayer.component.mjs +17 -7
  58. package/esm2022/components/demo-displayer/index.mjs +1 -2
  59. package/esm2022/components/demo-pane/demo-pane.component.mjs +20 -9
  60. package/esm2022/components/demo-pane/index.mjs +1 -2
  61. package/esm2022/components/kind-icon/index.mjs +1 -2
  62. package/esm2022/components/kind-icon/kind-icon.component.mjs +3 -3
  63. package/esm2022/components/link/index.mjs +1 -2
  64. package/esm2022/components/link/link.component.mjs +4 -4
  65. package/esm2022/components/navbar/navbar.component.mjs +16 -10
  66. package/esm2022/components/navbar/navbar.module.mjs +4 -28
  67. package/esm2022/components/page/page.component.mjs +31 -10
  68. package/esm2022/components/page/page.module.mjs +5 -59
  69. package/esm2022/components/page-link/index.mjs +1 -2
  70. package/esm2022/components/page-link/page-link.component.mjs +5 -5
  71. package/esm2022/components/playground/index.mjs +1 -2
  72. package/esm2022/components/playground/playground-demo/playground-demo.component.mjs +5 -5
  73. package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +23 -8
  74. package/esm2022/components/playground/playground-property/playground-property.component.mjs +4 -4
  75. package/esm2022/components/playground/playground.component.mjs +8 -8
  76. package/esm2022/components/root/index.mjs +1 -2
  77. package/esm2022/components/root/root.component.mjs +11 -9
  78. package/esm2022/components/search/search.component.mjs +34 -10
  79. package/esm2022/components/search/search.module.mjs +5 -69
  80. package/esm2022/components/search-result/index.mjs +1 -2
  81. package/esm2022/components/search-result/search-result.component.mjs +7 -7
  82. package/esm2022/components/sidebar/sidebar-category/sidebar-category.component.mjs +18 -11
  83. package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +5 -6
  84. package/esm2022/components/sidebar/sidebar.component.mjs +6 -6
  85. package/esm2022/components/sidebar/sidebar.module.mjs +4 -46
  86. package/esm2022/components/theme-toggle/index.mjs +1 -2
  87. package/esm2022/components/theme-toggle/theme-toggle.component.mjs +5 -5
  88. package/esm2022/components/toc/index.mjs +1 -2
  89. package/esm2022/components/toc/toc-element/toc-element.component.mjs +3 -3
  90. package/esm2022/components/toc/toc.component.mjs +4 -6
  91. package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +3 -2
  92. package/esm2022/directives/code-highlighter/index.mjs +1 -2
  93. package/esm2022/directives/route-active/index.mjs +1 -2
  94. package/esm2022/directives/route-active/route-active.directive.mjs +3 -2
  95. package/esm2022/modules/root/ng-doc.module.mjs +6 -6
  96. package/esm2022/pipes/extract-value/extract-value.pipe.mjs +3 -2
  97. package/esm2022/pipes/extract-value/index.mjs +1 -2
  98. package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +3 -2
  99. package/esm2022/pipes/filter-by-text/index.mjs +1 -2
  100. package/esm2022/pipes/sanitize-html/index.mjs +1 -2
  101. package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +3 -2
  102. package/esm2022/processors/blockquote-processor/blockquote-processor.directive.mjs +3 -2
  103. package/esm2022/processors/blockquote-processor/index.mjs +1 -2
  104. package/esm2022/processors/code-processor/code-processor.directive.mjs +3 -2
  105. package/esm2022/processors/code-processor/index.mjs +1 -2
  106. package/esm2022/processors/demo-pane-processor/demo-pane-processor.directive.mjs +3 -2
  107. package/esm2022/processors/demo-pane-processor/index.mjs +1 -2
  108. package/esm2022/processors/demo-processor/demo-processor.directive.mjs +3 -2
  109. package/esm2022/processors/demo-processor/index.mjs +1 -2
  110. package/esm2022/processors/icon-processor/icon-processor.directive.mjs +3 -2
  111. package/esm2022/processors/icon-processor/index.mjs +1 -2
  112. package/esm2022/processors/link-processor/index.mjs +1 -2
  113. package/esm2022/processors/link-processor/link-processor.directive.mjs +3 -2
  114. package/esm2022/processors/playground-processor/index.mjs +1 -2
  115. package/esm2022/processors/playground-processor/playground-processor.directive.mjs +3 -2
  116. package/esm2022/processors/tooltip-processor/index.mjs +1 -2
  117. package/esm2022/processors/tooltip-processor/tooltip-processor.directive.mjs +3 -2
  118. package/esm2022/processors/tooltip-processor/tooltip-wrapper.component.mjs +5 -5
  119. package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +4 -4
  120. package/esm2022/type-controls/boolean-control/boolean-control.module.mjs +4 -6
  121. package/esm2022/type-controls/number-control/number-control.component.mjs +18 -8
  122. package/esm2022/type-controls/number-control/number-control.module.mjs +4 -32
  123. package/esm2022/type-controls/string-control/string-control.component.mjs +18 -8
  124. package/esm2022/type-controls/string-control/string-control.module.mjs +4 -36
  125. package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +27 -8
  126. package/esm2022/type-controls/type-alias-control/type-alias-control.module.mjs +5 -46
  127. package/fesm2022/ng-doc-app-classes-root-page.mjs.map +1 -1
  128. package/fesm2022/ng-doc-app-components-api-list.mjs +31 -61
  129. package/fesm2022/ng-doc-app-components-api-list.mjs.map +1 -1
  130. package/fesm2022/ng-doc-app-components-breadcrumb.mjs +6 -22
  131. package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -1
  132. package/fesm2022/ng-doc-app-components-code.mjs +17 -49
  133. package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
  134. package/fesm2022/ng-doc-app-components-demo-displayer.mjs +18 -53
  135. package/fesm2022/ng-doc-app-components-demo-displayer.mjs.map +1 -1
  136. package/fesm2022/ng-doc-app-components-demo-pane.mjs +20 -26
  137. package/fesm2022/ng-doc-app-components-demo-pane.mjs.map +1 -1
  138. package/fesm2022/ng-doc-app-components-demo.mjs +19 -48
  139. package/fesm2022/ng-doc-app-components-demo.mjs.map +1 -1
  140. package/fesm2022/ng-doc-app-components-kind-icon.mjs +4 -19
  141. package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -1
  142. package/fesm2022/ng-doc-app-components-link.mjs +5 -21
  143. package/fesm2022/ng-doc-app-components-link.mjs.map +1 -1
  144. package/fesm2022/ng-doc-app-components-navbar.mjs +18 -36
  145. package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -1
  146. package/fesm2022/ng-doc-app-components-page-link.mjs +5 -21
  147. package/fesm2022/ng-doc-app-components-page-link.mjs.map +1 -1
  148. package/fesm2022/ng-doc-app-components-page.mjs +33 -67
  149. package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
  150. package/fesm2022/ng-doc-app-components-playground.mjs +141 -204
  151. package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
  152. package/fesm2022/ng-doc-app-components-root.mjs +12 -26
  153. package/fesm2022/ng-doc-app-components-root.mjs.map +1 -1
  154. package/fesm2022/ng-doc-app-components-search-result.mjs +8 -26
  155. package/fesm2022/ng-doc-app-components-search-result.mjs.map +1 -1
  156. package/fesm2022/ng-doc-app-components-search.mjs +35 -78
  157. package/fesm2022/ng-doc-app-components-search.mjs.map +1 -1
  158. package/fesm2022/ng-doc-app-components-sidebar.mjs +25 -57
  159. package/fesm2022/ng-doc-app-components-sidebar.mjs.map +1 -1
  160. package/fesm2022/ng-doc-app-components-theme-toggle.mjs +6 -22
  161. package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -1
  162. package/fesm2022/ng-doc-app-components-toc.mjs +9 -24
  163. package/fesm2022/ng-doc-app-components-toc.mjs.map +1 -1
  164. package/fesm2022/ng-doc-app-directives-code-highlighter.mjs +4 -16
  165. package/fesm2022/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
  166. package/fesm2022/ng-doc-app-directives-route-active.mjs +4 -18
  167. package/fesm2022/ng-doc-app-directives-route-active.mjs.map +1 -1
  168. package/fesm2022/ng-doc-app-modules-root.mjs +5 -5
  169. package/fesm2022/ng-doc-app-modules-root.mjs.map +1 -1
  170. package/fesm2022/ng-doc-app-pipes-extract-value.mjs +4 -16
  171. package/fesm2022/ng-doc-app-pipes-extract-value.mjs.map +1 -1
  172. package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +4 -16
  173. package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
  174. package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +4 -16
  175. package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
  176. package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs +5 -18
  177. package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
  178. package/fesm2022/ng-doc-app-processors-code-processor.mjs +5 -18
  179. package/fesm2022/ng-doc-app-processors-code-processor.mjs.map +1 -1
  180. package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs +5 -18
  181. package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -1
  182. package/fesm2022/ng-doc-app-processors-demo-processor.mjs +5 -18
  183. package/fesm2022/ng-doc-app-processors-demo-processor.mjs.map +1 -1
  184. package/fesm2022/ng-doc-app-processors-icon-processor.mjs +4 -16
  185. package/fesm2022/ng-doc-app-processors-icon-processor.mjs.map +1 -1
  186. package/fesm2022/ng-doc-app-processors-link-processor.mjs +4 -16
  187. package/fesm2022/ng-doc-app-processors-link-processor.mjs.map +1 -1
  188. package/fesm2022/ng-doc-app-processors-playground-processor.mjs +5 -18
  189. package/fesm2022/ng-doc-app-processors-playground-processor.mjs.map +1 -1
  190. package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs +8 -22
  191. package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
  192. package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +6 -8
  193. package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
  194. package/fesm2022/ng-doc-app-type-controls-number-control.mjs +19 -39
  195. package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
  196. package/fesm2022/ng-doc-app-type-controls-string-control.mjs +19 -43
  197. package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
  198. package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +29 -54
  199. package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
  200. package/modules/root/ng-doc.module.d.ts +1 -1
  201. package/package.json +3 -3
  202. package/pipes/extract-value/extract-value.pipe.d.ts +1 -1
  203. package/pipes/extract-value/index.d.ts +0 -1
  204. package/pipes/filter-by-text/filter-by-text.pipe.d.ts +1 -1
  205. package/pipes/filter-by-text/index.d.ts +0 -1
  206. package/pipes/sanitize-html/index.d.ts +0 -1
  207. package/pipes/sanitize-html/sanitize-html.pipe.d.ts +1 -1
  208. package/processors/blockquote-processor/blockquote-processor.directive.d.ts +1 -1
  209. package/processors/blockquote-processor/index.d.ts +0 -1
  210. package/processors/code-processor/code-processor.directive.d.ts +1 -1
  211. package/processors/code-processor/index.d.ts +0 -1
  212. package/processors/demo-pane-processor/demo-pane-processor.directive.d.ts +1 -1
  213. package/processors/demo-pane-processor/index.d.ts +0 -1
  214. package/processors/demo-processor/demo-processor.directive.d.ts +1 -1
  215. package/processors/demo-processor/index.d.ts +0 -1
  216. package/processors/icon-processor/icon-processor.directive.d.ts +1 -1
  217. package/processors/icon-processor/index.d.ts +0 -1
  218. package/processors/link-processor/index.d.ts +0 -1
  219. package/processors/link-processor/link-processor.directive.d.ts +1 -1
  220. package/processors/playground-processor/index.d.ts +0 -1
  221. package/processors/playground-processor/playground-processor.directive.d.ts +1 -1
  222. package/processors/tooltip-processor/index.d.ts +0 -1
  223. package/processors/tooltip-processor/tooltip-processor.directive.d.ts +1 -1
  224. package/processors/tooltip-processor/tooltip-wrapper.component.d.ts +1 -1
  225. package/type-controls/boolean-control/boolean-control.component.d.ts +1 -1
  226. package/type-controls/boolean-control/boolean-control.module.d.ts +3 -4
  227. package/type-controls/number-control/number-control.component.d.ts +1 -1
  228. package/type-controls/number-control/number-control.module.d.ts +5 -6
  229. package/type-controls/string-control/string-control.component.d.ts +1 -1
  230. package/type-controls/string-control/string-control.module.d.ts +5 -7
  231. package/type-controls/type-alias-control/type-alias-control.component.d.ts +1 -1
  232. package/type-controls/type-alias-control/type-alias-control.module.d.ts +5 -7
  233. package/components/breadcrumb/breadcrumb.module.d.ts +0 -10
  234. package/components/code/code.module.d.ts +0 -11
  235. package/components/demo/demo.module.d.ts +0 -12
  236. package/components/demo-displayer/demo-displayer.module.d.ts +0 -12
  237. package/components/demo-pane/demo-pane.module.d.ts +0 -11
  238. package/components/kind-icon/kind-icon.module.d.ts +0 -8
  239. package/components/link/link.module.d.ts +0 -9
  240. package/components/page-link/page-link.module.d.ts +0 -9
  241. package/components/playground/playground.module.d.ts +0 -15
  242. package/components/root/root.module.d.ts +0 -10
  243. package/components/search-result/search-result.module.d.ts +0 -11
  244. package/components/theme-toggle/theme-toggle.module.d.ts +0 -9
  245. package/components/toc/toc.module.d.ts +0 -11
  246. package/directives/code-highlighter/code-highlighter.module.d.ts +0 -7
  247. package/directives/route-active/route-active.module.d.ts +0 -8
  248. package/esm2022/components/breadcrumb/breadcrumb.module.mjs +0 -21
  249. package/esm2022/components/code/code.module.mjs +0 -45
  250. package/esm2022/components/demo/demo.module.mjs +0 -43
  251. package/esm2022/components/demo-displayer/demo-displayer.module.mjs +0 -49
  252. package/esm2022/components/demo-pane/demo-pane.module.mjs +0 -22
  253. package/esm2022/components/kind-icon/kind-icon.module.mjs +0 -19
  254. package/esm2022/components/link/link.module.mjs +0 -20
  255. package/esm2022/components/page-link/page-link.module.mjs +0 -20
  256. package/esm2022/components/playground/playground.module.mjs +0 -86
  257. package/esm2022/components/root/root.module.mjs +0 -21
  258. package/esm2022/components/search-result/search-result.module.mjs +0 -22
  259. package/esm2022/components/theme-toggle/theme-toggle.module.mjs +0 -20
  260. package/esm2022/components/toc/toc.module.mjs +0 -22
  261. package/esm2022/directives/code-highlighter/code-highlighter.module.mjs +0 -17
  262. package/esm2022/directives/route-active/route-active.module.mjs +0 -19
  263. package/esm2022/pipes/extract-value/extract-value.module.mjs +0 -17
  264. package/esm2022/pipes/filter-by-text/filter-by-text.module.mjs +0 -17
  265. package/esm2022/pipes/sanitize-html/sanitize-html.module.mjs +0 -17
  266. package/esm2022/processors/blockquote-processor/blockquote-processor.module.mjs +0 -19
  267. package/esm2022/processors/code-processor/code-processor.module.mjs +0 -19
  268. package/esm2022/processors/demo-pane-processor/demo-pane-processor.module.mjs +0 -19
  269. package/esm2022/processors/demo-processor/demo-processor.module.mjs +0 -19
  270. package/esm2022/processors/icon-processor/icon-processor.module.mjs +0 -17
  271. package/esm2022/processors/link-processor/link-processor.module.mjs +0 -17
  272. package/esm2022/processors/playground-processor/playground-processor.module.mjs +0 -19
  273. package/esm2022/processors/tooltip-processor/tooltip-processor.module.mjs +0 -20
  274. package/pipes/extract-value/extract-value.module.d.ts +0 -7
  275. package/pipes/filter-by-text/filter-by-text.module.d.ts +0 -7
  276. package/pipes/sanitize-html/sanitize-html.module.d.ts +0 -7
  277. package/processors/blockquote-processor/blockquote-processor.module.d.ts +0 -8
  278. package/processors/code-processor/code-processor.module.d.ts +0 -8
  279. package/processors/demo-pane-processor/demo-pane-processor.module.d.ts +0 -8
  280. package/processors/demo-processor/demo-processor.module.d.ts +0 -8
  281. package/processors/icon-processor/icon-processor.module.d.ts +0 -7
  282. package/processors/link-processor/link-processor.module.d.ts +0 -7
  283. package/processors/playground-processor/playground-processor.module.d.ts +0 -8
  284. package/processors/tooltip-processor/tooltip-processor.module.d.ts +0 -9
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, Directive, NgModule } from '@angular/core';
2
+ import { ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, Directive } from '@angular/core';
3
3
  import { NgDocHtmlProcessor } from '@ng-doc/app/processors/html-processor';
4
- import * as i1 from '@ng-doc/ui-kit';
5
- import { NgDocTooltipModule } from '@ng-doc/ui-kit';
4
+ import { NgDocTooltipDirective } from '@ng-doc/ui-kit';
6
5
 
7
6
  class NgDocTooltipWrapperComponent {
8
7
  constructor(changeDetectorRef) {
@@ -17,7 +16,7 @@ class NgDocTooltipWrapperComponent {
17
16
  }
18
17
  }
19
18
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipWrapperComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipWrapperComponent, selector: "ng-doc-tooltip-wrapper", inputs: { content: "content" }, viewQueries: [{ propertyName: "contentProjection", first: true, predicate: ["contentProjection"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
19
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipWrapperComponent, isStandalone: true, selector: "ng-doc-tooltip-wrapper", inputs: { content: "content" }, viewQueries: [{ propertyName: "contentProjection", first: true, predicate: ["contentProjection"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
21
20
  <div
22
21
  class="content-projection"
23
22
  [ngDocTooltip]="content ?? ''"
@@ -27,7 +26,7 @@ class NgDocTooltipWrapperComponent {
27
26
  >
28
27
  <ng-content></ng-content>
29
28
  </div>
30
- `, isInline: true, styles: [".content-projection{display:unset}\n"], dependencies: [{ kind: "directive", type: i1.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
+ `, isInline: true, styles: [".content-projection{display:unset}\n"], dependencies: [{ 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
30
  }
32
31
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipWrapperComponent, decorators: [{
33
32
  type: Component,
@@ -41,7 +40,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
41
40
  >
42
41
  <ng-content></ng-content>
43
42
  </div>
44
- `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".content-projection{display:unset}\n"] }]
43
+ `, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgDocTooltipDirective], styles: [".content-projection{display:unset}\n"] }]
45
44
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { content: [{
46
45
  type: Input
47
46
  }], contentProjection: [{
@@ -64,32 +63,19 @@ class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor {
64
63
  };
65
64
  }
66
65
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
67
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipProcessorDirective, selector: "[ngDocTooltipProcessor]", usesInheritance: true, ngImport: i0 }); }
66
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipProcessorDirective, isStandalone: true, selector: "[ngDocTooltipProcessor]", usesInheritance: true, ngImport: i0 }); }
68
67
  }
69
68
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorDirective, decorators: [{
70
69
  type: Directive,
71
70
  args: [{
72
71
  selector: '[ngDocTooltipProcessor]',
72
+ standalone: true,
73
73
  }]
74
74
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }]; } });
75
75
 
76
- class NgDocTooltipProcessorModule {
77
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
78
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorModule, declarations: [NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent], imports: [NgDocTooltipModule], exports: [NgDocTooltipProcessorDirective] }); }
79
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorModule, imports: [NgDocTooltipModule] }); }
80
- }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipProcessorModule, decorators: [{
82
- type: NgModule,
83
- args: [{
84
- declarations: [NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent],
85
- exports: [NgDocTooltipProcessorDirective],
86
- imports: [NgDocTooltipModule],
87
- }]
88
- }] });
89
-
90
76
  /**
91
77
  * Generated bundle index. Do not edit.
92
78
  */
93
79
 
94
- export { NgDocTooltipProcessorDirective, NgDocTooltipProcessorModule, NgDocTooltipWrapperComponent };
80
+ export { NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent };
95
81
  //# sourceMappingURL=ng-doc-app-processors-tooltip-processor.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-processors-tooltip-processor.mjs","sources":["../../../../libs/app/processors/tooltip-processor/tooltip-wrapper.component.ts","../../../../libs/app/processors/tooltip-processor/tooltip-processor.directive.ts","../../../../libs/app/processors/tooltip-processor/tooltip-processor.module.ts","../../../../libs/app/processors/tooltip-processor/ng-doc-app-processors-tooltip-processor.ts"],"sourcesContent":["import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tInput,\n\tViewChild,\n} from '@angular/core';\n\n@Component({\n\tselector: 'ng-doc-tooltip-wrapper',\n\ttemplate: `\n\t\t<div\n\t\t\tclass=\"content-projection\"\n\t\t\t[ngDocTooltip]=\"content ?? ''\"\n\t\t\t[displayOrigin]=\"tooltipElement ?? contentProjection\"\n\t\t\t[pointerOrigin]=\"tooltipElement ?? contentProjection\"\n\t\t\t#contentProjection\n\t\t>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`,\n\tstyles: [\n\t\t`\n\t\t\t.content-projection {\n\t\t\t\tdisplay: unset;\n\t\t\t}\n\t\t`,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocTooltipWrapperComponent implements AfterViewInit {\n\t@Input()\n\tcontent?: string;\n\n\tprotected tooltipElement: HTMLElement | null = null;\n\n\t@ViewChild('contentProjection', {read: ElementRef, static: true})\n\tprivate contentProjection?: ElementRef<HTMLElement>;\n\n\tconstructor(private readonly changeDetectorRef: ChangeDetectorRef) {}\n\n\tngAfterViewInit(): void {\n\t\tif (this.contentProjection) {\n\t\t\tconst element: Element | null = this.contentProjection.nativeElement.querySelector('[ngDocTooltip]');\n\n\t\t\tthis.tooltipElement = element instanceof HTMLElement ? element : null;\n\n\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t}\n\t}\n}\n","import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\nimport {NgDocTooltipWrapperComponent} from './tooltip-wrapper.component';\n\n@Directive({\n\tselector: '[ngDocTooltipProcessor]',\n})\nexport class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor<NgDocTooltipWrapperComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `[ngDocTooltip]`, NgDocTooltipWrapperComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocTooltipWrapperComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tcontent: element.getAttribute('ngDocTooltip') ?? '',\n\t\t\t},\n\t\t\tcontent: [[element.cloneNode(true)]],\n\t\t};\n\t}\n}\n","import {NgModule} from '@angular/core';\nimport {NgDocTooltipModule} from '@ng-doc/ui-kit';\n\nimport {NgDocTooltipProcessorDirective} from './tooltip-processor.directive';\nimport {NgDocTooltipWrapperComponent} from './tooltip-wrapper.component';\n\n@NgModule({\n\tdeclarations: [NgDocTooltipProcessorDirective, NgDocTooltipWrapperComponent],\n\texports: [NgDocTooltipProcessorDirective],\n\timports: [NgDocTooltipModule],\n})\nexport class NgDocTooltipProcessorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport *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A,EAAA,CAAA;AACT,oBAAA,YAAY,EAAE,CAAC,8BAA8B,EAAE,4BAA4B,CAAC;oBAC5E,OAAO,EAAE,CAAC,8BAA8B,CAAC;oBACzC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC7B,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-processors-tooltip-processor.mjs","sources":["../../../../libs/app/processors/tooltip-processor/tooltip-wrapper.component.ts","../../../../libs/app/processors/tooltip-processor/tooltip-processor.directive.ts","../../../../libs/app/processors/tooltip-processor/ng-doc-app-processors-tooltip-processor.ts"],"sourcesContent":["import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tInput,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocTooltipDirective} from '@ng-doc/ui-kit';\n\n@Component({\n\tselector: 'ng-doc-tooltip-wrapper',\n\ttemplate: `\n\t\t<div\n\t\t\tclass=\"content-projection\"\n\t\t\t[ngDocTooltip]=\"content ?? ''\"\n\t\t\t[displayOrigin]=\"tooltipElement ?? contentProjection\"\n\t\t\t[pointerOrigin]=\"tooltipElement ?? contentProjection\"\n\t\t\t#contentProjection\n\t\t>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t`,\n\tstyles: [\n\t\t`\n\t\t\t.content-projection {\n\t\t\t\tdisplay: unset;\n\t\t\t}\n\t\t`,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgDocTooltipDirective],\n})\nexport class NgDocTooltipWrapperComponent implements AfterViewInit {\n\t@Input()\n\tcontent?: string;\n\n\tprotected tooltipElement: HTMLElement | null = null;\n\n\t@ViewChild('contentProjection', {read: ElementRef, static: true})\n\tprivate contentProjection?: ElementRef<HTMLElement>;\n\n\tconstructor(private readonly changeDetectorRef: ChangeDetectorRef) {}\n\n\tngAfterViewInit(): void {\n\t\tif (this.contentProjection) {\n\t\t\tconst element: Element | null = this.contentProjection.nativeElement.querySelector('[ngDocTooltip]');\n\n\t\t\tthis.tooltipElement = element instanceof HTMLElement ? element : null;\n\n\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t}\n\t}\n}\n","import {Directive, ElementRef, ViewContainerRef} from '@angular/core';\nimport {NgDocProcessorOptions} from '@ng-doc/app/interfaces';\nimport {NgDocHtmlProcessor} from '@ng-doc/app/processors/html-processor';\n\nimport {NgDocTooltipWrapperComponent} from './tooltip-wrapper.component';\n\n@Directive({\n\tselector: '[ngDocTooltipProcessor]',\n\tstandalone: true,\n})\nexport class NgDocTooltipProcessorDirective extends NgDocHtmlProcessor<NgDocTooltipWrapperComponent> {\n\tconstructor(\n\t\tprotected override readonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly viewContainerRef: ViewContainerRef,\n\t) {\n\t\tsuper(elementRef, viewContainerRef, `[ngDocTooltip]`, NgDocTooltipWrapperComponent);\n\t}\n\n\tprotected override extractComponentOptions(element: Element): NgDocProcessorOptions<NgDocTooltipWrapperComponent> {\n\t\treturn {\n\t\t\tinputs: {\n\t\t\t\tcontent: element.getAttribute('ngDocTooltip') ?? '',\n\t\t\t},\n\t\t\tcontent: [[element.cloneNode(true)]],\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAWA,MAwBa,4BAA4B,CAAA;AASxC,IAAA,WAAA,CAA6B,iBAAoC,EAAA;QAApC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QALvD,IAAc,CAAA,cAAA,GAAuB,IAAI,CAAC;KAKiB;IAErE,eAAe,GAAA;QACd,IAAI,IAAI,CAAC,iBAAiB,EAAE;AAC3B,YAAA,MAAM,OAAO,GAAmB,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;AAErG,YAAA,IAAI,CAAC,cAAc,GAAG,OAAO,YAAY,WAAW,GAAG,OA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eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAJ1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { NgDocCheckboxComponent, NgDocTooltipDirective } from '@ng-doc/ui-kit';
3
4
  import { FlControlHost, provideControlHost } from 'flex-controls';
4
- import * as i1 from '@ng-doc/ui-kit';
5
- import { NgDocCheckboxModule, NgDocTooltipModule } from '@ng-doc/ui-kit';
6
5
  import { CommonModule } from '@angular/common';
7
6
  import { provideTypeControl } from '@ng-doc/app/helpers';
8
7
 
@@ -14,24 +13,23 @@ class NgDocBooleanControlComponent extends FlControlHost {
14
13
  this.controlChange.subscribe(() => this.onTouched());
15
14
  }
16
15
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocBooleanControlComponent, selector: "ng-doc-boolean-control", providers: [provideControlHost(NgDocBooleanControlComponent)], usesInheritance: true, ngImport: i0, template: "<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"], dependencies: [{ kind: "component", type: i1.NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: i1.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocBooleanControlComponent, isStandalone: true, selector: "ng-doc-boolean-control", providers: [provideControlHost(NgDocBooleanControlComponent)], usesInheritance: true, ngImport: i0, template: "<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
17
  }
19
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlComponent, decorators: [{
20
19
  type: Component,
21
- args: [{ selector: 'ng-doc-boolean-control', providers: [provideControlHost(NgDocBooleanControlComponent)], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"] }]
20
+ args: [{ selector: 'ng-doc-boolean-control', providers: [provideControlHost(NgDocBooleanControlComponent)], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgDocCheckboxComponent, NgDocTooltipDirective], template: "<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n", styles: [":host{display:inline-flex;width:100%}\n"] }]
22
21
  }], ctorParameters: function () { return []; } });
23
22
 
24
23
  const provider = provideTypeControl('boolean', NgDocBooleanControlComponent, { hideLabel: true, order: 40 });
25
24
  class NgDocBooleanControlModule {
26
25
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlModule, declarations: [NgDocBooleanControlComponent], imports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule], exports: [NgDocBooleanControlComponent] }); }
28
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlModule, providers: [provider], imports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule] }); }
26
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlModule, imports: [CommonModule, NgDocBooleanControlComponent], exports: [NgDocBooleanControlComponent] }); }
27
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlModule, providers: [provider], imports: [CommonModule, NgDocBooleanControlComponent] }); }
29
28
  }
30
29
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBooleanControlModule, decorators: [{
31
30
  type: NgModule,
32
31
  args: [{
33
- declarations: [NgDocBooleanControlComponent],
34
- imports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule],
32
+ imports: [CommonModule, NgDocBooleanControlComponent],
35
33
  providers: [provider],
36
34
  exports: [NgDocBooleanControlComponent],
37
35
  }]
@@ -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/boolean-control.module.ts","../../../../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 {FlControlHost, provideControlHost} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-boolean-control',\n\ttemplateUrl: './boolean-control.component.html',\n\tstyleUrls: ['./boolean-control.component.scss'],\n\tproviders: [provideControlHost(NgDocBooleanControlComponent)],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocBooleanControlComponent extends FlControlHost<string | undefined> implements NgDocTypeControl {\n\tname: string = '';\n\tdescription: string = '';\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis.controlChange.subscribe(() => this.onTouched());\n\t}\n}\n","<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\nimport {NgDocCheckboxModule, NgDocTooltipModule} from '@ng-doc/ui-kit';\n\nimport {NgDocBooleanControlComponent} from './boolean-control.component';\n\nconst provider: Provider = provideTypeControl('boolean', NgDocBooleanControlComponent, {hideLabel: true, order: 40});\n\n@NgModule({\n\tdeclarations: [NgDocBooleanControlComponent],\n\timports: [CommonModule, NgDocCheckboxModule, NgDocTooltipModule],\n\tproviders: [provider],\n\texports: [NgDocBooleanControlComponent],\n})\nexport class NgDocBooleanControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAIA,MAOa,4BAA6B,SAAQ,aAAiC,CAAA;AAIlF,I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8B,CAAC,EAC5C,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4GAAA,EAAA,MAAA,EAAA,CAAA,yCAAA,CAAA,EAAA,CAAA;;;AEFhD,MAAM,QAAQ,GAAa,kBAAkB,CAAC,SAAS,EAAE,4BAA4B,EAAE,EAAC,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAC,CAAC,CAAC;AAErH,MAMa,yBAAyB,CAAA;8GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAzB,yBAAyB,EAAA,YAAA,EAAA,CALtB,4BAA4B,CACjC,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAErD,4BAA4B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAE1B,yBAAyB,EAAA,SAAA,EAH1B,CAAC,QAAQ,CAAC,YADX,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAInD,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,4BAA4B,CAAC;AAC5C,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,CAAC;oBAChE,SAAS,EAAE,CAAC,QAAQ,CAAC;oBACrB,OAAO,EAAE,CAAC,4BAA4B,CAAC;AACvC,iBAAA,CAAA;;;ACdD;;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/boolean-control.module.ts","../../../../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 {NgDocCheckboxComponent, NgDocTooltipDirective} from '@ng-doc/ui-kit';\nimport {FlControlHost, provideControlHost} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-boolean-control',\n\ttemplateUrl: './boolean-control.component.html',\n\tstyleUrls: ['./boolean-control.component.scss'],\n\tproviders: [provideControlHost(NgDocBooleanControlComponent)],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgDocCheckboxComponent, NgDocTooltipDirective],\n})\nexport class NgDocBooleanControlComponent extends FlControlHost<string | undefined> implements NgDocTypeControl {\n\tname: string = '';\n\tdescription: string = '';\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis.controlChange.subscribe(() => this.onTouched());\n\t}\n}\n","<ng-doc-checkbox [ngDocTooltip]=\"description\" [canOpen]=\"!!description\">{{ name }}</ng-doc-checkbox>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\n\nimport {NgDocBooleanControlComponent} from './boolean-control.component';\n\nconst provider: Provider = provideTypeControl('boolean', NgDocBooleanControlComponent, {hideLabel: true, order: 40});\n\n@NgModule({\n\timports: [CommonModule, NgDocBooleanControlComponent],\n\tproviders: [provider],\n\texports: [NgDocBooleanControlComponent],\n})\nexport class NgDocBooleanControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAKA,MASa,4BAA6B,SAAQ,aAAiC,CAAA;AAIlF,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;QAJT,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAClB,IAAW,CAAA,WAAA,GAAW,EAAE,CAAC;AAKxB,QAAA,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,SA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C,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
@@ -1,14 +1,12 @@
1
+ import { NgIf, CommonModule } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
3
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
4
+ import * as i2 from '@angular/forms';
5
+ import { FormsModule } from '@angular/forms';
3
6
  import { extractValue } from '@ng-doc/core/helpers/extract-value';
4
- import * as i4 from 'flex-controls';
7
+ import { NgDocInputWrapperComponent, NgDocInputNumberDirective, NgDocButtonIconComponent, NgDocFocusableDirective, NgDocIconComponent } from '@ng-doc/ui-kit';
8
+ import * as i1 from 'flex-controls';
5
9
  import { FlControl, FlControlSilencerModule } from 'flex-controls';
6
- import * as i1 from '@angular/common';
7
- import { CommonModule } from '@angular/common';
8
- import * as i2 from '@ng-doc/ui-kit';
9
- import { NgDocInputWrapperModule, NgDocInputNumberModule, NgDocClearControlModule, NgDocButtonIconModule, NgDocFocusableModule, NgDocIconModule } from '@ng-doc/ui-kit';
10
- import * as i3 from '@angular/forms';
11
- import { FormsModule } from '@angular/forms';
12
10
  import { provideTypeControl } from '@ng-doc/app/helpers';
13
11
 
14
12
  class NgDocNumberControlComponent extends FlControl {
@@ -22,50 +20,32 @@ class NgDocNumberControlComponent extends FlControl {
22
20
  this.updateModel(value === null && this.default ? this.defaultValue : value);
23
21
  }
24
22
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocNumberControlComponent, selector: "ng-doc-number-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "leftContent", "rightContent", "align"] }, { kind: "directive", type: i2.NgDocInputNumberDirective, selector: "input[ngDocInputNumber]" }, { kind: "directive", type: i3.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: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.FlControlSilencerDirective, selector: "[flControlSilencer]" }, { kind: "component", type: i2.NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "directive", type: i2.NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: i2.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocNumberControlComponent, isStandalone: true, selector: "ng-doc-number-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\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", "leftContent", "rightContent", "align"] }, { kind: "ngmodule", type: FlControlSilencerModule }, { kind: "directive", type: i1.FlControlSilencerDirective, selector: "[flControlSilencer]" }, { kind: "directive", type: NgDocInputNumberDirective, selector: "input[ngDocInputNumber]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
24
  }
27
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlComponent, decorators: [{
28
26
  type: Component,
29
- args: [{ selector: 'ng-doc-number-control', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"] }]
27
+ args: [{ selector: 'ng-doc-number-control', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
28
+ NgDocInputWrapperComponent,
29
+ FlControlSilencerModule,
30
+ NgDocInputNumberDirective,
31
+ FormsModule,
32
+ NgIf,
33
+ NgDocButtonIconComponent,
34
+ NgDocFocusableDirective,
35
+ NgDocIconComponent,
36
+ ], template: "<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"] }]
30
37
  }], ctorParameters: function () { return []; } });
31
38
 
32
39
  const provider = provideTypeControl('number', NgDocNumberControlComponent, { order: 30 });
33
40
  class NgDocNumberControlModule {
34
41
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
35
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlModule, declarations: [NgDocNumberControlComponent], imports: [CommonModule,
36
- NgDocInputWrapperModule,
37
- NgDocInputNumberModule,
38
- NgDocClearControlModule,
39
- FormsModule,
40
- FlControlSilencerModule,
41
- NgDocButtonIconModule,
42
- NgDocFocusableModule,
43
- NgDocIconModule], exports: [NgDocNumberControlComponent] }); }
44
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlModule, providers: [provider], imports: [CommonModule,
45
- NgDocInputWrapperModule,
46
- NgDocInputNumberModule,
47
- NgDocClearControlModule,
48
- FormsModule,
49
- FlControlSilencerModule,
50
- NgDocButtonIconModule,
51
- NgDocFocusableModule,
52
- NgDocIconModule] }); }
42
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlModule, imports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocNumberControlComponent], exports: [NgDocNumberControlComponent] }); }
43
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlModule, providers: [provider], imports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocNumberControlComponent] }); }
53
44
  }
54
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNumberControlModule, decorators: [{
55
46
  type: NgModule,
56
47
  args: [{
57
- declarations: [NgDocNumberControlComponent],
58
- imports: [
59
- CommonModule,
60
- NgDocInputWrapperModule,
61
- NgDocInputNumberModule,
62
- NgDocClearControlModule,
63
- FormsModule,
64
- FlControlSilencerModule,
65
- NgDocButtonIconModule,
66
- NgDocFocusableModule,
67
- NgDocIconModule,
68
- ],
48
+ imports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocNumberControlComponent],
69
49
  providers: [provider],
70
50
  exports: [NgDocNumberControlComponent],
71
51
  }]
@@ -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/number-control.module.ts","../../../../libs/app/type-controls/number-control/ng-doc-app-type-controls-number-control.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {NgDocTypeControl} from '@ng-doc/app/interfaces';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {FlControl} from 'flex-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})\nexport class NgDocNumberControlComponent extends FlControl<number> implements NgDocTypeControl {\n\tdefault: string | undefined;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tget defaultValue(): number | null {\n\t\treturn this.default ? (extractValue(this.default) as number) : null;\n\t}\n\n\tchangeModel(value: number | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.defaultValue : value);\n\t}\n}\n","<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\nimport {\n\tNgDocButtonIconModule,\n\tNgDocClearControlModule,\n\tNgDocFocusableModule,\n\tNgDocIconModule,\n\tNgDocInputNumberModule,\n\tNgDocInputWrapperModule,\n} from '@ng-doc/ui-kit';\nimport {FlControlSilencerModule} from 'flex-controls';\n\nimport {NgDocNumberControlComponent} from './number-control.component';\n\nconst provider: Provider = provideTypeControl('number', NgDocNumberControlComponent, {order: 30});\n\n@NgModule({\n\tdeclarations: [NgDocNumberControlComponent],\n\timports: [\n\t\tCommonModule,\n\t\tNgDocInputWrapperModule,\n\t\tNgDocInputNumberModule,\n\t\tNgDocClearControlModule,\n\t\tFormsModule,\n\t\tFlControlSilencerModule,\n\t\tNgDocButtonIconModule,\n\t\tNgDocFocusableModule,\n\t\tNgDocIconModule,\n\t],\n\tproviders: [provider],\n\texports: [NgDocNumberControlComponent],\n})\nexport class NgDocNumberControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKA,MAMa,2BAA4B,SAAQ,SAAiB,CAAA;AAGjE,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,IAAI,YAAY,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,GAAI,YAAY,CAAC,IAAI,CAAC,OAAO,CAAY,GAAG,IAAI,CAAC;KACpE;AAED,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC/B,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC;KAC7E;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,oFCXxC,2lBAiBA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAAA,aAAA,EAAA,cAAA,EAAA,OAAA,C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AC3C,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,uBAAuB;wBACvB,sBAAsB;wBACtB,uBAAuB;wBACvB,WAAW;wBACX,uBAAuB;wBACvB,qBAAqB;wBACrB,oBAAoB;wBACpB,eAAe;AACf,qBAAA;oBACD,SAAS,EAAE,CAAC,QAAQ,CAAC;oBACrB,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACjCD;;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/number-control.module.ts","../../../../libs/app/type-controls/number-control/ng-doc-app-type-controls-number-control.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {NgDocTypeControl} from '@ng-doc/app/interfaces';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {\n\tNgDocButtonIconComponent,\n\tNgDocFocusableDirective,\n\tNgDocIconComponent,\n\tNgDocInputNumberDirective,\n\tNgDocInputWrapperComponent,\n} from '@ng-doc/ui-kit';\nimport {FlControl, FlControlSilencerModule} from 'flex-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\tFlControlSilencerModule,\n\t\tNgDocInputNumberDirective,\n\t\tFormsModule,\n\t\tNgIf,\n\t\tNgDocButtonIconComponent,\n\t\tNgDocFocusableDirective,\n\t\tNgDocIconComponent,\n\t],\n})\nexport class NgDocNumberControlComponent extends FlControl<number> implements NgDocTypeControl {\n\tdefault: string | undefined;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tget defaultValue(): number | null {\n\t\treturn this.default ? (extractValue(this.default) as number) : null;\n\t}\n\n\tchangeModel(value: number | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.defaultValue : value);\n\t}\n}\n","<ng-doc-input-wrapper flControlSilencer [rightContent]=\"rightContent\">\n\t<input ngDocInputNumber type=\"number\" [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\nimport {FlControlSilencerModule} from 'flex-controls';\n\nimport {NgDocNumberControlComponent} from './number-control.component';\n\nconst provider: Provider = provideTypeControl('number', NgDocNumberControlComponent, {order: 30});\n\n@NgModule({\n\timports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocNumberControlComponent],\n\tproviders: [provider],\n\texports: [NgDocNumberControlComponent],\n})\nexport class NgDocNumberControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAcA,MAiBa,2BAA4B,SAAQ,SAAiB,CAAA;AAGjE,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,IAAI,YAAY,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,GAAI,YAAY,CAAC,IAAI,CAAC,OAAO,CAAY,GAAG,IAAI,CAAC;KACpE;AAED,IAAA,WAAW,CAAC,K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,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,uBAAuB,EAAE,2BAA2B,CAAC;oBAC1F,SAAS,EAAE,CAAC,QAAQ,CAAC;oBACrB,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -1,16 +1,13 @@
1
+ import { NgIf, CommonModule } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
3
  import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
4
+ import * as i2 from '@angular/forms';
5
+ import { FormsModule } from '@angular/forms';
3
6
  import { extractValue } from '@ng-doc/core/helpers/extract-value';
4
- import * as i4 from 'flex-controls';
7
+ import { NgDocInputWrapperComponent, NgDocInputStringDirective, NgDocButtonIconComponent, NgDocFocusableDirective, NgDocIconComponent } from '@ng-doc/ui-kit';
8
+ import * as i1 from 'flex-controls';
5
9
  import { FlControl, FlControlSilencerModule } from 'flex-controls';
6
- import * as i1 from '@angular/common';
7
- import { CommonModule } from '@angular/common';
8
- import * as i2 from '@ng-doc/ui-kit';
9
- import { NgDocInputWrapperModule, NgDocInputStringModule, NgDocClearControlModule, NgDocIconModule, NgDocButtonIconModule, NgDocFocusableModule } from '@ng-doc/ui-kit';
10
- import * as i3 from '@angular/forms';
11
- import { FormsModule } from '@angular/forms';
12
10
  import { provideTypeControl } from '@ng-doc/app/helpers';
13
- import { NgDocExtractValueModule } from '@ng-doc/app/pipes/extract-value';
14
11
 
15
12
  class NgDocStringControlComponent extends FlControl {
16
13
  constructor() {
@@ -23,53 +20,32 @@ class NgDocStringControlComponent extends FlControl {
23
20
  this.updateModel(value === null && this.default ? this.defaultValue : value);
24
21
  }
25
22
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocStringControlComponent, selector: "ng-doc-string-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgDocInputWrapperComponent, selector: "ng-doc-input-wrapper", inputs: ["blurContent", "blurContext", "leftContent", "rightContent", "align"] }, { kind: "directive", type: i2.NgDocInputStringDirective, selector: "input[ngDocInputString]" }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.FlControlSilencerDirective, selector: "[flControlSilencer]" }, { kind: "component", type: i2.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "component", type: i2.NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "directive", type: i2.NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocStringControlComponent, isStandalone: true, selector: "ng-doc-string-control", usesInheritance: true, ngImport: i0, template: "<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\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", "leftContent", "rightContent", "align"] }, { kind: "ngmodule", type: FlControlSilencerModule }, { kind: "directive", type: i1.FlControlSilencerDirective, selector: "[flControlSilencer]" }, { kind: "directive", type: NgDocInputStringDirective, selector: "input[ngDocInputString]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: ["ngDocFocusable"], exportAs: ["ngDocFocusable"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
24
  }
28
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlComponent, decorators: [{
29
26
  type: Component,
30
- args: [{ selector: 'ng-doc-string-control', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"] }]
27
+ args: [{ selector: 'ng-doc-string-control', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
28
+ NgDocInputWrapperComponent,
29
+ FlControlSilencerModule,
30
+ NgDocInputStringDirective,
31
+ FormsModule,
32
+ NgIf,
33
+ NgDocButtonIconComponent,
34
+ NgDocFocusableDirective,
35
+ NgDocIconComponent,
36
+ ], template: "<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n", styles: [":host{display:block;width:100%}\n"] }]
31
37
  }], ctorParameters: function () { return []; } });
32
38
 
33
39
  const provider = provideTypeControl('string', NgDocStringControlComponent, { order: 20 });
34
40
  class NgDocStringControlModule {
35
41
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
36
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlModule, declarations: [NgDocStringControlComponent], imports: [CommonModule,
37
- NgDocInputWrapperModule,
38
- NgDocInputStringModule,
39
- NgDocClearControlModule,
40
- FormsModule,
41
- FlControlSilencerModule,
42
- NgDocExtractValueModule,
43
- NgDocIconModule,
44
- NgDocButtonIconModule,
45
- NgDocFocusableModule], exports: [NgDocStringControlComponent] }); }
46
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlModule, providers: [provider], imports: [CommonModule,
47
- NgDocInputWrapperModule,
48
- NgDocInputStringModule,
49
- NgDocClearControlModule,
50
- FormsModule,
51
- FlControlSilencerModule,
52
- NgDocExtractValueModule,
53
- NgDocIconModule,
54
- NgDocButtonIconModule,
55
- NgDocFocusableModule] }); }
42
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlModule, imports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocStringControlComponent], exports: [NgDocStringControlComponent] }); }
43
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlModule, providers: [provider], imports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocStringControlComponent] }); }
56
44
  }
57
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocStringControlModule, decorators: [{
58
46
  type: NgModule,
59
47
  args: [{
60
- declarations: [NgDocStringControlComponent],
61
- imports: [
62
- CommonModule,
63
- NgDocInputWrapperModule,
64
- NgDocInputStringModule,
65
- NgDocClearControlModule,
66
- FormsModule,
67
- FlControlSilencerModule,
68
- NgDocExtractValueModule,
69
- NgDocIconModule,
70
- NgDocButtonIconModule,
71
- NgDocFocusableModule,
72
- ],
48
+ imports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocStringControlComponent],
73
49
  providers: [provider],
74
50
  exports: [NgDocStringControlComponent],
75
51
  }]
@@ -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/string-control.module.ts","../../../../libs/app/type-controls/string-control/ng-doc-app-type-controls-string-control.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {NgDocTypeControl} from '@ng-doc/app/interfaces';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {FlControl} from 'flex-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})\nexport class NgDocStringControlComponent extends FlControl<string> implements NgDocTypeControl {\n\tdefault?: string;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tget defaultValue(): string | null {\n\t\treturn this.default ? (extractValue(this.default) as string) : null;\n\t}\n\n\tchangeModel(value: string | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.defaultValue : value);\n\t}\n}\n","<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\nimport {NgDocExtractValueModule} from '@ng-doc/app/pipes/extract-value';\nimport {\n\tNgDocButtonIconModule,\n\tNgDocClearControlModule,\n\tNgDocFocusableModule,\n\tNgDocIconModule,\n\tNgDocInputStringModule,\n\tNgDocInputWrapperModule,\n} from '@ng-doc/ui-kit';\nimport {FlControlSilencerModule} from 'flex-controls';\n\nimport {NgDocStringControlComponent} from './string-control.component';\n\nconst provider: Provider = provideTypeControl('string', NgDocStringControlComponent, {order: 20});\n\n@NgModule({\n\tdeclarations: [NgDocStringControlComponent],\n\timports: [\n\t\tCommonModule,\n\t\tNgDocInputWrapperModule,\n\t\tNgDocInputStringModule,\n\t\tNgDocClearControlModule,\n\t\tFormsModule,\n\t\tFlControlSilencerModule,\n\t\tNgDocExtractValueModule,\n\t\tNgDocIconModule,\n\t\tNgDocButtonIconModule,\n\t\tNgDocFocusableModule,\n\t],\n\tproviders: [provider],\n\texports: [NgDocStringControlComponent],\n})\nexport class NgDocStringControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAKA,MAMa,2BAA4B,SAAQ,SAAiB,CAAA;AAGjE,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,IAAI,YAAY,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,GAAI,YAAY,CAAC,IAAI,CAAC,OAAO,CAAY,GAAG,IAAI,CAAC;KACpE;AAED,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC/B,IAAI,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC;KAC7E;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,oFCXxC,2kBAiBA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,QAAA,EAAA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2BAA2B,CAAC;AAC3C,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,uBAAuB;wBACvB,sBAAsB;wBACtB,uBAAuB;wBACvB,WAAW;wBACX,uBAAuB;wBACvB,uBAAuB;wBACvB,eAAe;wBACf,qBAAqB;wBACrB,oBAAoB;AACpB,qBAAA;oBACD,SAAS,EAAE,CAAC,QAAQ,CAAC;oBACrB,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACnCD;;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/string-control.module.ts","../../../../libs/app/type-controls/string-control/ng-doc-app-type-controls-string-control.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {NgDocTypeControl} from '@ng-doc/app/interfaces';\nimport {extractValue} from '@ng-doc/core/helpers/extract-value';\nimport {\n\tNgDocButtonIconComponent,\n\tNgDocFocusableDirective,\n\tNgDocIconComponent,\n\tNgDocInputStringDirective,\n\tNgDocInputWrapperComponent,\n} from '@ng-doc/ui-kit';\nimport {FlControl, FlControlSilencerModule} from 'flex-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\tNgDocInputWrapperComponent,\n\t\tFlControlSilencerModule,\n\t\tNgDocInputStringDirective,\n\t\tFormsModule,\n\t\tNgIf,\n\t\tNgDocButtonIconComponent,\n\t\tNgDocFocusableDirective,\n\t\tNgDocIconComponent,\n\t],\n})\nexport class NgDocStringControlComponent extends FlControl<string> implements NgDocTypeControl {\n\tdefault?: string;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tget defaultValue(): string | null {\n\t\treturn this.default ? (extractValue(this.default) as string) : null;\n\t}\n\n\tchangeModel(value: string | null): void {\n\t\tthis.updateModel(value === null && this.default ? this.defaultValue : value);\n\t}\n}\n","<ng-doc-input-wrapper [rightContent]=\"rightContent\" flControlSilencer>\n\t<input ngDocInputString [ngModel]=\"model\" (ngModelChange)=\"changeModel($event)\">\n\t<ng-template #rightContent>\n\t\t<button\n\t\t\tng-doc-button-icon\n\t\t\tsize=\"large\"\n\t\t\t[ngDocFocusable]=\"false\"\n\t\t\t[disabled]=\"disabled\"\n\t\t\t[rounded]=\"false\"\n\t\t\t(click)=\"updateModel(defaultValue)\"\n\t\t\t(focusout)=\"onTouched()\"\n\t\t\t*ngIf=\"model && model !== defaultValue\"\n\t\t>\n\t\t\t<ng-doc-icon icon=\"x\"></ng-doc-icon>\n\t\t</button>\n\t</ng-template>\n</ng-doc-input-wrapper>\n","import {CommonModule} from '@angular/common';\nimport {NgModule, Provider} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {provideTypeControl} from '@ng-doc/app/helpers';\nimport {FlControlSilencerModule} from 'flex-controls';\n\nimport {NgDocStringControlComponent} from './string-control.component';\n\nconst provider: Provider = provideTypeControl('string', NgDocStringControlComponent, {order: 20});\n\n@NgModule({\n\timports: [CommonModule, FormsModule, FlControlSilencerModule, NgDocStringControlComponent],\n\tproviders: [provider],\n\texports: [NgDocStringControlComponent],\n})\nexport class NgDocStringControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAcA,MAiBa,2BAA4B,SAAQ,SAAiB,CAAA;AAGjE,IAAA,WAAA,GAAA;AACC,QAAA,KAAK,EAAE,CAAC;KACR;AAED,IAAA,IAAI,YAAY,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,OAAO,GAAI,YAAY,CAAC,IAAI,CAAC,OAAO,CAAY,GAAG,IAAI,CAAC;KACpE;AAED,IAAA,WAAW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