@ngstarter-ui/components 22.3.6 → 22.4.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 (476) hide show
  1. package/README.md +27 -0
  2. package/ai/component-registry.json +186 -101
  3. package/fesm2022/attachment-block-BK9QxVjq.mjs +163 -0
  4. package/fesm2022/attachment-block-BK9QxVjq.mjs.map +1 -0
  5. package/fesm2022/callout-block-Bl4GZYz8.mjs +196 -0
  6. package/fesm2022/callout-block-Bl4GZYz8.mjs.map +1 -0
  7. package/fesm2022/code-block.component-DCRD-9iP.mjs +393 -0
  8. package/fesm2022/code-block.component-DCRD-9iP.mjs.map +1 -0
  9. package/fesm2022/content-builder.store-D622mHxt.mjs +328 -0
  10. package/fesm2022/content-builder.store-D622mHxt.mjs.map +1 -0
  11. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs +1110 -0
  12. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs.map +1 -0
  13. package/fesm2022/cursor-controller-DKfBII1n.mjs +55 -0
  14. package/fesm2022/cursor-controller-DKfBII1n.mjs.map +1 -0
  15. package/fesm2022/default-converters-9oSKDsXP.mjs +140 -0
  16. package/fesm2022/default-converters-9oSKDsXP.mjs.map +1 -0
  17. package/fesm2022/divider-block.component-Dvgeq_D0.mjs +148 -0
  18. package/fesm2022/divider-block.component-Dvgeq_D0.mjs.map +1 -0
  19. package/fesm2022/embed-block-CYkOv4Wt.mjs +565 -0
  20. package/fesm2022/embed-block-CYkOv4Wt.mjs.map +1 -0
  21. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs +122 -0
  22. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs.map +1 -0
  23. package/fesm2022/gallery-block-DT3uIURY.mjs +365 -0
  24. package/fesm2022/gallery-block-DT3uIURY.mjs.map +1 -0
  25. package/fesm2022/grid-block-ZVDT3m8-.mjs +504 -0
  26. package/fesm2022/grid-block-ZVDT3m8-.mjs.map +1 -0
  27. package/fesm2022/heading-block.component-iCpJGTMh.mjs +274 -0
  28. package/fesm2022/heading-block.component-iCpJGTMh.mjs.map +1 -0
  29. package/fesm2022/html-utils-DywL8gGa.mjs +24 -0
  30. package/fesm2022/html-utils-DywL8gGa.mjs.map +1 -0
  31. package/fesm2022/image-block.component-DJ7-HCR8.mjs +285 -0
  32. package/fesm2022/image-block.component-DJ7-HCR8.mjs.map +1 -0
  33. package/fesm2022/list-block.component-qFIebEBO.mjs +312 -0
  34. package/fesm2022/list-block.component-qFIebEBO.mjs.map +1 -0
  35. package/fesm2022/nested-blocks-CXhgXJ1H.mjs +345 -0
  36. package/fesm2022/nested-blocks-CXhgXJ1H.mjs.map +1 -0
  37. package/fesm2022/ngstarter-ui-components-action-required.mjs +150 -45
  38. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
  39. package/fesm2022/ngstarter-ui-components-alert.mjs +318 -133
  40. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
  41. package/fesm2022/ngstarter-ui-components-announcement.mjs +280 -88
  42. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
  43. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +647 -386
  44. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
  45. package/fesm2022/ngstarter-ui-components-avatar.mjs +715 -482
  46. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
  47. package/fesm2022/ngstarter-ui-components-badge.mjs +308 -97
  48. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
  49. package/fesm2022/ngstarter-ui-components-block-loader.mjs +164 -47
  50. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
  51. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +278 -315
  52. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -1
  53. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +707 -205
  54. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
  55. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +518 -175
  56. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
  57. package/fesm2022/ngstarter-ui-components-button.mjs +294 -68
  58. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
  59. package/fesm2022/ngstarter-ui-components-calendar.mjs +442 -250
  60. package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
  61. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +159 -47
  62. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
  63. package/fesm2022/ngstarter-ui-components-card.mjs +619 -194
  64. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
  65. package/fesm2022/ngstarter-ui-components-carousel.mjs +1012 -634
  66. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
  67. package/fesm2022/ngstarter-ui-components-checkbox.mjs +715 -308
  68. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
  69. package/fesm2022/ngstarter-ui-components-chips.mjs +1397 -667
  70. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
  71. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +519 -357
  72. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
  73. package/fesm2022/ngstarter-ui-components-color-picker.mjs +1218 -604
  74. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
  75. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +265 -134
  76. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
  77. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +190 -71
  78. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
  79. package/fesm2022/ngstarter-ui-components-command-bar.mjs +197 -58
  80. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
  81. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +2212 -1128
  82. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
  83. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +269 -183
  84. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
  85. package/fesm2022/ngstarter-ui-components-confirm.mjs +164 -86
  86. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
  87. package/fesm2022/ngstarter-ui-components-content-editor.mjs +6240 -2
  88. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -1
  89. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +244 -108
  90. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
  91. package/fesm2022/ngstarter-ui-components-core.mjs +2110 -1592
  92. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
  93. package/fesm2022/ngstarter-ui-components-country-select.mjs +1970 -588
  94. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
  95. package/fesm2022/ngstarter-ui-components-crop.mjs +249 -191
  96. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
  97. package/fesm2022/ngstarter-ui-components-currency-select.mjs +1658 -452
  98. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
  99. package/fesm2022/ngstarter-ui-components-data-view.mjs +4538 -2497
  100. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
  101. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +357 -157
  102. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
  103. package/fesm2022/ngstarter-ui-components-datepicker.mjs +2587 -1264
  104. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
  105. package/fesm2022/ngstarter-ui-components-dialog.mjs +681 -385
  106. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
  107. package/fesm2022/ngstarter-ui-components-digit-roller.mjs +1000 -750
  108. package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
  109. package/fesm2022/ngstarter-ui-components-divider.mjs +164 -41
  110. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
  111. package/fesm2022/ngstarter-ui-components-drawer.mjs +218 -143
  112. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
  113. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +345 -247
  114. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
  115. package/fesm2022/ngstarter-ui-components-empty-state.mjs +244 -74
  116. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -1
  117. package/fesm2022/ngstarter-ui-components-events.mjs +467 -126
  118. package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
  119. package/fesm2022/ngstarter-ui-components-expand.mjs +191 -59
  120. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
  121. package/fesm2022/ngstarter-ui-components-expansion.mjs +529 -193
  122. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
  123. package/fesm2022/ngstarter-ui-components-file-type.mjs +270 -171
  124. package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
  125. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +741 -352
  126. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
  127. package/fesm2022/ngstarter-ui-components-form-builder.mjs +9032 -6964
  128. package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
  129. package/fesm2022/ngstarter-ui-components-form-field.mjs +741 -276
  130. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
  131. package/fesm2022/ngstarter-ui-components-gauge.mjs +155 -43
  132. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
  133. package/fesm2022/ngstarter-ui-components-grid.mjs +197 -81
  134. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
  135. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +881 -740
  136. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
  137. package/fesm2022/ngstarter-ui-components-headless-editor.mjs +3573 -3656
  138. package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
  139. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +277 -204
  140. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
  141. package/fesm2022/ngstarter-ui-components-icon.mjs +209 -182
  142. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
  143. package/fesm2022/ngstarter-ui-components-image-designer.mjs +5096 -4066
  144. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
  145. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +45 -19
  146. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
  147. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +333 -154
  148. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
  149. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +564 -358
  150. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
  151. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +246 -167
  152. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
  153. package/fesm2022/ngstarter-ui-components-incidents.mjs +732 -258
  154. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
  155. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +244 -182
  156. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
  157. package/fesm2022/ngstarter-ui-components-input-mask.mjs +314 -174
  158. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
  159. package/fesm2022/ngstarter-ui-components-input-validator.mjs +45 -69
  160. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -1
  161. package/fesm2022/ngstarter-ui-components-input.mjs +303 -161
  162. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
  163. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +504 -159
  164. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
  165. package/fesm2022/ngstarter-ui-components-kbd.mjs +86 -30
  166. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
  167. package/fesm2022/ngstarter-ui-components-layout.mjs +681 -220
  168. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
  169. package/fesm2022/ngstarter-ui-components-list.mjs +968 -281
  170. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
  171. package/fesm2022/ngstarter-ui-components-logo.mjs +181 -51
  172. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
  173. package/fesm2022/ngstarter-ui-components-marquee.mjs +226 -147
  174. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
  175. package/fesm2022/ngstarter-ui-components-menu.mjs +1686 -1091
  176. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
  177. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +1541 -943
  178. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
  179. package/fesm2022/ngstarter-ui-components-navigation.mjs +1035 -455
  180. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
  181. package/fesm2022/ngstarter-ui-components-notifications.mjs +678 -230
  182. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
  183. package/fesm2022/ngstarter-ui-components-number-input.mjs +616 -316
  184. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
  185. package/fesm2022/ngstarter-ui-components-option.mjs +405 -163
  186. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
  187. package/fesm2022/ngstarter-ui-components-overlay.mjs +107 -111
  188. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -1
  189. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +131 -76
  190. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
  191. package/fesm2022/ngstarter-ui-components-paginator.mjs +543 -295
  192. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
  193. package/fesm2022/ngstarter-ui-components-password-strength.mjs +785 -340
  194. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
  195. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +3705 -2695
  196. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
  197. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +1179 -851
  198. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
  199. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +2973 -2070
  200. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
  201. package/fesm2022/ngstarter-ui-components-phone-input.mjs +2081 -770
  202. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
  203. package/fesm2022/ngstarter-ui-components-pin-input.mjs +366 -198
  204. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
  205. package/fesm2022/ngstarter-ui-components-popover.mjs +558 -308
  206. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
  207. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +178 -73
  208. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
  209. package/fesm2022/ngstarter-ui-components-radio-card.mjs +301 -105
  210. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
  211. package/fesm2022/ngstarter-ui-components-radio.mjs +417 -157
  212. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
  213. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +208 -88
  214. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
  215. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +123 -74
  216. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
  217. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +197 -95
  218. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
  219. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +383 -245
  220. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
  221. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +705 -581
  222. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
  223. package/fesm2022/ngstarter-ui-components-segmented.mjs +422 -220
  224. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
  225. package/fesm2022/ngstarter-ui-components-select.mjs +1862 -1159
  226. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
  227. package/fesm2022/ngstarter-ui-components-side-panel.mjs +313 -118
  228. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
  229. package/fesm2022/ngstarter-ui-components-sidebar.mjs +1239 -470
  230. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
  231. package/fesm2022/ngstarter-ui-components-sidenav.mjs +664 -354
  232. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
  233. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1092 -643
  234. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
  235. package/fesm2022/ngstarter-ui-components-skeleton.mjs +153 -43
  236. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
  237. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +425 -108
  238. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
  239. package/fesm2022/ngstarter-ui-components-slider.mjs +645 -487
  240. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
  241. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +372 -354
  242. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
  243. package/fesm2022/ngstarter-ui-components-sort.mjs +378 -147
  244. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
  245. package/fesm2022/ngstarter-ui-components-spinner.mjs +242 -76
  246. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
  247. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +142 -91
  248. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
  249. package/fesm2022/ngstarter-ui-components-split.mjs +1067 -929
  250. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
  251. package/fesm2022/ngstarter-ui-components-step-tracker.mjs +617 -331
  252. package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
  253. package/fesm2022/ngstarter-ui-components-stepper.mjs +357 -126
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
  255. package/fesm2022/ngstarter-ui-components-suggestions.mjs +259 -72
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
  257. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +674 -267
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
  259. package/fesm2022/ngstarter-ui-components-table.mjs +1144 -662
  260. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
  261. package/fesm2022/ngstarter-ui-components-tabs.mjs +1236 -615
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
  263. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +414 -216
  264. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
  265. package/fesm2022/ngstarter-ui-components-tiles.mjs +939 -647
  266. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
  267. package/fesm2022/ngstarter-ui-components-timeline.mjs +418 -122
  268. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
  269. package/fesm2022/ngstarter-ui-components-timepicker.mjs +870 -508
  270. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
  271. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +651 -371
  272. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
  273. package/fesm2022/ngstarter-ui-components-toolbar.mjs +727 -320
  274. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
  275. package/fesm2022/ngstarter-ui-components-tooltip.mjs +601 -521
  276. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -1
  277. package/fesm2022/ngstarter-ui-components-tree-select.mjs +1197 -434
  278. package/fesm2022/ngstarter-ui-components-tree-select.mjs.map +1 -1
  279. package/fesm2022/ngstarter-ui-components-tree.mjs +1821 -1262
  280. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
  281. package/fesm2022/ngstarter-ui-components-upload.mjs +1059 -345
  282. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
  283. package/fesm2022/ngstarter-ui-components-video-player.mjs +763 -533
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
  285. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +630 -229
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
  287. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +40 -17
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
  289. package/fesm2022/ngstarter-ui-components-whiteboard.mjs +3039 -1803
  290. package/fesm2022/ngstarter-ui-components-whiteboard.mjs.map +1 -1
  291. package/fesm2022/ngstarter-ui-components.mjs +3 -5
  292. package/fesm2022/ngstarter-ui-components.mjs.map +1 -1
  293. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs +264 -0
  294. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs.map +1 -0
  295. package/fesm2022/plain-text-settings-BnxCxLhA.mjs +354 -0
  296. package/fesm2022/plain-text-settings-BnxCxLhA.mjs.map +1 -0
  297. package/fesm2022/quote-block.component-tRmrU97F.mjs +309 -0
  298. package/fesm2022/quote-block.component-tRmrU97F.mjs.map +1 -0
  299. package/fesm2022/table-block.component-BuzRRggv.mjs +1859 -0
  300. package/fesm2022/table-block.component-BuzRRggv.mjs.map +1 -0
  301. package/fesm2022/toggle-block-C5Jo2YDf.mjs +150 -0
  302. package/fesm2022/toggle-block-C5Jo2YDf.mjs.map +1 -0
  303. package/fesm2022/upload-status-tZ0x0BUB.mjs +107 -0
  304. package/fesm2022/upload-status-tZ0x0BUB.mjs.map +1 -0
  305. package/fesm2022/video-block.component-CpAXibm6.mjs +312 -0
  306. package/fesm2022/video-block.component-CpAXibm6.mjs.map +1 -0
  307. package/package.json +11 -10
  308. package/styles/_tokens.scss +1 -0
  309. package/types/ngstarter-ui-components-action-required.d.ts +34 -14
  310. package/types/ngstarter-ui-components-alert.d.ts +53 -44
  311. package/types/ngstarter-ui-components-announcement.d.ts +74 -53
  312. package/types/ngstarter-ui-components-autocomplete.d.ts +141 -84
  313. package/types/ngstarter-ui-components-avatar.d.ts +113 -66
  314. package/types/ngstarter-ui-components-badge.d.ts +73 -37
  315. package/types/ngstarter-ui-components-block-loader.d.ts +32 -20
  316. package/types/ngstarter-ui-components-bottom-sheet.d.ts +125 -132
  317. package/types/ngstarter-ui-components-breadcrumbs.d.ts +93 -88
  318. package/types/ngstarter-ui-components-button-toggle.d.ts +124 -54
  319. package/types/ngstarter-ui-components-button.d.ts +69 -27
  320. package/types/ngstarter-ui-components-calendar.d.ts +123 -71
  321. package/types/ngstarter-ui-components-card-overlay.d.ts +31 -19
  322. package/types/ngstarter-ui-components-card.d.ts +75 -71
  323. package/types/ngstarter-ui-components-carousel.d.ts +115 -69
  324. package/types/ngstarter-ui-components-checkbox.d.ts +183 -86
  325. package/types/ngstarter-ui-components-chips.d.ts +288 -195
  326. package/types/ngstarter-ui-components-code-highlighter.d.ts +71 -28
  327. package/types/ngstarter-ui-components-color-picker.d.ts +140 -89
  328. package/types/ngstarter-ui-components-color-scheme.d.ts +43 -52
  329. package/types/ngstarter-ui-components-color-switcher.d.ts +46 -26
  330. package/types/ngstarter-ui-components-command-bar.d.ts +40 -26
  331. package/types/ngstarter-ui-components-comment-editor.d.ts +311 -235
  332. package/types/ngstarter-ui-components-comparison-slider.d.ts +41 -40
  333. package/types/ngstarter-ui-components-confirm.d.ts +24 -29
  334. package/types/ngstarter-ui-components-content-editor.d.ts +1482 -998
  335. package/types/ngstarter-ui-components-cookie-popup.d.ts +43 -38
  336. package/types/ngstarter-ui-components-core.d.ts +513 -467
  337. package/types/ngstarter-ui-components-country-select.d.ts +170 -97
  338. package/types/ngstarter-ui-components-crop.d.ts +67 -52
  339. package/types/ngstarter-ui-components-currency-select.d.ts +127 -90
  340. package/types/ngstarter-ui-components-data-view.d.ts +811 -567
  341. package/types/ngstarter-ui-components-date-format-select.d.ts +90 -58
  342. package/types/ngstarter-ui-components-datepicker.d.ts +589 -373
  343. package/types/ngstarter-ui-components-dialog.d.ts +138 -116
  344. package/types/ngstarter-ui-components-digit-roller.d.ts +228 -131
  345. package/types/ngstarter-ui-components-divider.d.ts +29 -17
  346. package/types/ngstarter-ui-components-drawer.d.ts +39 -30
  347. package/types/ngstarter-ui-components-emoji-picker.d.ts +69 -47
  348. package/types/ngstarter-ui-components-empty-state.d.ts +20 -28
  349. package/types/ngstarter-ui-components-events.d.ts +73 -57
  350. package/types/ngstarter-ui-components-expand.d.ts +55 -25
  351. package/types/ngstarter-ui-components-expansion.d.ts +93 -64
  352. package/types/ngstarter-ui-components-file-type.d.ts +53 -27
  353. package/types/ngstarter-ui-components-filter-builder.d.ts +131 -100
  354. package/types/ngstarter-ui-components-form-builder.d.ts +1094 -881
  355. package/types/ngstarter-ui-components-form-field.d.ts +116 -105
  356. package/types/ngstarter-ui-components-gauge.d.ts +32 -20
  357. package/types/ngstarter-ui-components-grid.d.ts +66 -50
  358. package/types/ngstarter-ui-components-guided-tour.d.ts +250 -222
  359. package/types/ngstarter-ui-components-headless-editor.d.ts +708 -658
  360. package/types/ngstarter-ui-components-headless-stepper.d.ts +84 -64
  361. package/types/ngstarter-ui-components-icon.d.ts +39 -38
  362. package/types/ngstarter-ui-components-image-designer.d.ts +422 -341
  363. package/types/ngstarter-ui-components-image-placeholder.d.ts +5 -8
  364. package/types/ngstarter-ui-components-image-resizer.d.ts +40 -33
  365. package/types/ngstarter-ui-components-image-viewer.d.ts +67 -54
  366. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +29 -33
  367. package/types/ngstarter-ui-components-incidents.d.ts +97 -104
  368. package/types/ngstarter-ui-components-inline-text-edit.d.ts +54 -39
  369. package/types/ngstarter-ui-components-input-mask.d.ts +54 -34
  370. package/types/ngstarter-ui-components-input-validator.d.ts +7 -11
  371. package/types/ngstarter-ui-components-input.d.ts +82 -54
  372. package/types/ngstarter-ui-components-kanban-board.d.ts +76 -63
  373. package/types/ngstarter-ui-components-kbd.d.ts +8 -12
  374. package/types/ngstarter-ui-components-layout.d.ts +131 -87
  375. package/types/ngstarter-ui-components-list.d.ts +123 -88
  376. package/types/ngstarter-ui-components-logo.d.ts +21 -21
  377. package/types/ngstarter-ui-components-marquee.d.ts +41 -34
  378. package/types/ngstarter-ui-components-menu.d.ts +329 -221
  379. package/types/ngstarter-ui-components-micro-chart.d.ts +385 -186
  380. package/types/ngstarter-ui-components-navigation.d.ts +186 -125
  381. package/types/ngstarter-ui-components-notifications.d.ts +104 -89
  382. package/types/ngstarter-ui-components-number-input.d.ts +138 -96
  383. package/types/ngstarter-ui-components-option.d.ts +102 -68
  384. package/types/ngstarter-ui-components-overlay.d.ts +7 -12
  385. package/types/ngstarter-ui-components-page-loading-bar.d.ts +23 -20
  386. package/types/ngstarter-ui-components-paginator.d.ts +171 -129
  387. package/types/ngstarter-ui-components-password-strength.d.ts +217 -102
  388. package/types/ngstarter-ui-components-pdf-builder.d.ts +717 -649
  389. package/types/ngstarter-ui-components-pdf-signer.d.ts +202 -142
  390. package/types/ngstarter-ui-components-pdf-viewer.d.ts +544 -385
  391. package/types/ngstarter-ui-components-phone-input.d.ts +175 -115
  392. package/types/ngstarter-ui-components-pin-input.d.ts +83 -45
  393. package/types/ngstarter-ui-components-popover.d.ts +128 -89
  394. package/types/ngstarter-ui-components-progress-bar.d.ts +49 -30
  395. package/types/ngstarter-ui-components-radio-card.d.ts +50 -34
  396. package/types/ngstarter-ui-components-radio.d.ts +100 -47
  397. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -29
  398. package/types/ngstarter-ui-components-resizable-container.d.ts +30 -25
  399. package/types/ngstarter-ui-components-screen-loader.d.ts +38 -32
  400. package/types/ngstarter-ui-components-scroll-spy.d.ts +56 -60
  401. package/types/ngstarter-ui-components-scrollbar-area.d.ts +116 -86
  402. package/types/ngstarter-ui-components-segmented.d.ts +93 -61
  403. package/types/ngstarter-ui-components-select.d.ts +366 -266
  404. package/types/ngstarter-ui-components-side-panel.d.ts +59 -40
  405. package/types/ngstarter-ui-components-sidebar.d.ts +208 -154
  406. package/types/ngstarter-ui-components-sidenav.d.ts +136 -78
  407. package/types/ngstarter-ui-components-signature-pad.d.ts +165 -92
  408. package/types/ngstarter-ui-components-skeleton.d.ts +18 -17
  409. package/types/ngstarter-ui-components-slide-toggle.d.ts +113 -44
  410. package/types/ngstarter-ui-components-slider.d.ts +123 -82
  411. package/types/ngstarter-ui-components-snack-bar.d.ts +126 -134
  412. package/types/ngstarter-ui-components-sort.d.ts +99 -63
  413. package/types/ngstarter-ui-components-spinner.d.ts +49 -27
  414. package/types/ngstarter-ui-components-splash-screen.d.ts +34 -29
  415. package/types/ngstarter-ui-components-split.d.ts +276 -195
  416. package/types/ngstarter-ui-components-step-tracker.d.ts +102 -83
  417. package/types/ngstarter-ui-components-stepper.d.ts +57 -43
  418. package/types/ngstarter-ui-components-suggestions.d.ts +41 -28
  419. package/types/ngstarter-ui-components-tab-panel.d.ts +110 -83
  420. package/types/ngstarter-ui-components-table.d.ts +256 -228
  421. package/types/ngstarter-ui-components-tabs.d.ts +231 -138
  422. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +40 -34
  423. package/types/ngstarter-ui-components-tiles.d.ts +166 -104
  424. package/types/ngstarter-ui-components-timeline.d.ts +45 -57
  425. package/types/ngstarter-ui-components-timepicker.d.ts +166 -111
  426. package/types/ngstarter-ui-components-timezone-select.d.ts +110 -70
  427. package/types/ngstarter-ui-components-toolbar.d.ts +89 -72
  428. package/types/ngstarter-ui-components-tooltip.d.ts +89 -52
  429. package/types/ngstarter-ui-components-tree-select.d.ts +182 -105
  430. package/types/ngstarter-ui-components-tree.d.ts +355 -229
  431. package/types/ngstarter-ui-components-upload.d.ts +216 -131
  432. package/types/ngstarter-ui-components-video-player.d.ts +130 -67
  433. package/types/ngstarter-ui-components-video-viewer.d.ts +140 -91
  434. package/types/ngstarter-ui-components-visual-builder.d.ts +5 -8
  435. package/types/ngstarter-ui-components-whiteboard.d.ts +412 -339
  436. package/types/ngstarter-ui-components.d.ts +2 -2
  437. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs +0 -35
  438. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs.map +0 -1
  439. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs +0 -26
  440. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs.map +0 -1
  441. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs +0 -220
  442. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs.map +0 -1
  443. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +0 -99
  444. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +0 -1
  445. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs +0 -40
  446. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs.map +0 -1
  447. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs +0 -375
  448. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs.map +0 -1
  449. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs +0 -80
  450. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs.map +0 -1
  451. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs +0 -65
  452. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs.map +0 -1
  453. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs +0 -137
  454. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs.map +0 -1
  455. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs +0 -113
  456. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs.map +0 -1
  457. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs +0 -188
  458. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs.map +0 -1
  459. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs +0 -117
  460. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs.map +0 -1
  461. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs +0 -4464
  462. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs.map +0 -1
  463. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs +0 -132
  464. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs.map +0 -1
  465. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs +0 -171
  466. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs.map +0 -1
  467. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs +0 -1653
  468. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs.map +0 -1
  469. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs +0 -20
  470. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs.map +0 -1
  471. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +0 -19
  472. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +0 -1
  473. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.mjs +0 -134
  474. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.mjs.map +0 -1
  475. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs +0 -159
  476. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map +0 -1
@@ -1,361 +1,523 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, input, booleanAttribute, signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { DomSanitizer } from '@angular/platform-browser';
4
- import { codeToHtml } from 'shiki';
5
- import { Button } from '@ngstarter-ui/components/button';
6
- import { Icon } from '@ngstarter-ui/components/icon';
7
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, booleanAttribute, computed, inject, input, signal } from "@angular/core";
3
+ import { Icon } from "@ngstarter-ui/components/icon";
4
+ import { Button } from "@ngstarter-ui/components/button";
5
+ import { DomSanitizer } from "@angular/platform-browser";
6
+ import { codeToHtml } from "shiki";
8
7
  const removeDiffPrefix = (node) => {
9
- if (!node.children || node.children.length === 0)
10
- return;
11
- const firstChild = node.children[0];
12
- if (firstChild.type === 'element' && firstChild.children && firstChild.children.length > 0) {
13
- const textNode = firstChild.children[0];
14
- if (textNode.type === 'text' && (textNode.value.startsWith('+') || textNode.value.startsWith('-'))) {
15
- textNode.value = textNode.value.slice(1);
16
- if (textNode.value === '' && firstChild.children.length === 1) {
17
- node.children.shift();
18
- }
19
- }
20
- }
21
- else if (firstChild.type === 'text' && (firstChild.value.startsWith('+') || firstChild.value.startsWith('-'))) {
22
- firstChild.value = firstChild.value.slice(1);
23
- if (firstChild.value === '') {
24
- node.children.shift();
25
- }
26
- }
8
+ if (!node.children || node.children.length === 0) return;
9
+ const firstChild = node.children[0];
10
+ if (firstChild.type === "element" && firstChild.children && firstChild.children.length > 0) {
11
+ const textNode = firstChild.children[0];
12
+ if (textNode.type === "text" && (textNode.value.startsWith("+") || textNode.value.startsWith("-"))) {
13
+ textNode.value = textNode.value.slice(1);
14
+ if (textNode.value === "" && firstChild.children.length === 1) node.children.shift();
15
+ }
16
+ } else if (firstChild.type === "text" && (firstChild.value.startsWith("+") || firstChild.value.startsWith("-"))) {
17
+ firstChild.value = firstChild.value.slice(1);
18
+ if (firstChild.value === "") node.children.shift();
19
+ }
27
20
  };
28
- const diffTransformer = {
29
- line(node, line) {
30
- if (this.options.lang === 'diff' || this.options.diff) {
31
- const lineTokens = this.tokens[line - 1];
32
- const text = lineTokens.map(token => token.content).join('');
33
- if (text.startsWith('+')) {
34
- this.addClassToHast(node, 'diff add');
35
- removeDiffPrefix(node);
36
- }
37
- else if (text.startsWith('-')) {
38
- this.addClassToHast(node, 'diff remove');
39
- removeDiffPrefix(node);
40
- }
41
- }
42
- }
21
+ const diffTransformer = { line(node, line) {
22
+ if (this.options.lang === "diff" || this.options.diff) {
23
+ const text = this.tokens[line - 1].map((token) => token.content).join("");
24
+ if (text.startsWith("+")) {
25
+ this.addClassToHast(node, "diff add");
26
+ removeDiffPrefix(node);
27
+ } else if (text.startsWith("-")) {
28
+ this.addClassToHast(node, "diff remove");
29
+ removeDiffPrefix(node);
30
+ }
31
+ }
32
+ } };
33
+ var CodeHighlighter = class CodeHighlighter {
34
+ sanitizer = inject(DomSanitizer);
35
+ code = input.required(...ngDevMode ? [{ debugName: "code" }] : /* istanbul ignore next */ []);
36
+ language = input("none", ...ngDevMode ? [{ debugName: "language" }] : /* istanbul ignore next */ []);
37
+ theme = input("github-light", ...ngDevMode ? [{ debugName: "theme" }] : /* istanbul ignore next */ []);
38
+ title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
39
+ diff = input(false, ...ngDevMode ? [{ debugName: "diff" }] : /* istanbul ignore next */ []);
40
+ highlightLines = input([], ...ngDevMode ? [{ debugName: "highlightLines" }] : /* istanbul ignore next */ []);
41
+ showLanguage = input(false, {
42
+ ...ngDevMode ? { debugName: "showLanguage" } : /* istanbul ignore next */ {},
43
+ transform: booleanAttribute
44
+ });
45
+ showCopyButton = input(false, {
46
+ ...ngDevMode ? { debugName: "showCopyButton" } : /* istanbul ignore next */ {},
47
+ transform: booleanAttribute
48
+ });
49
+ disableOverflow = input(false, {
50
+ ...ngDevMode ? { debugName: "disableOverflow" } : /* istanbul ignore next */ {},
51
+ transform: booleanAttribute
52
+ });
53
+ content = signal(null, ...ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []);
54
+ isLoading = signal(false, ...ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []);
55
+ displayedLanguage = computed(() => {
56
+ const lang = this.language();
57
+ if (!lang || lang === "none") return "";
58
+ return {
59
+ "1c": "1C",
60
+ "abap": "ABAP",
61
+ "actionscript-3": "ActionScript 3",
62
+ "ada": "Ada",
63
+ "apache": "Apache",
64
+ "apex": "Apex",
65
+ "apl": "APL",
66
+ "applescript": "AppleScript",
67
+ "ara": "Ara",
68
+ "asm": "Assembly",
69
+ "astro": "Astro",
70
+ "awk": "AWK",
71
+ "ballerina": "Ballerina",
72
+ "bash": "Bash",
73
+ "sh": "Bash",
74
+ "batch": "Batch",
75
+ "berry": "Berry",
76
+ "bibtex": "BibTeX",
77
+ "bicep": "Bicep",
78
+ "blade": "Blade",
79
+ "c": "C",
80
+ "cadence": "Cadence",
81
+ "clarity": "Clarity",
82
+ "clojure": "Clojure",
83
+ "clj": "Clojure",
84
+ "cmake": "CMake",
85
+ "cobol": "COBOL",
86
+ "codeql": "CodeQL",
87
+ "coffee": "CoffeeScript",
88
+ "cpp": "C++",
89
+ "csharp": "C#",
90
+ "cs": "C#",
91
+ "css": "CSS",
92
+ "cue": "CUE",
93
+ "cypher": "Cypher",
94
+ "d": "D",
95
+ "dart": "Dart",
96
+ "dax": "DAX",
97
+ "diff": "Diff",
98
+ "docker": "Docker",
99
+ "dockerfile": "Dockerfile",
100
+ "dream-maker": "Dream Maker",
101
+ "elixir": "Elixir",
102
+ "elm": "Elm",
103
+ "erb": "ERB",
104
+ "erlang": "Erlang",
105
+ "fish": "Fish",
106
+ "fsharp": "F#",
107
+ "fs": "F#",
108
+ "gdresource": "GDResource",
109
+ "gdscript": "GDScript",
110
+ "gdshader": "GDShader",
111
+ "gherkin": "Gherkin",
112
+ "git-commit": "Git Commit",
113
+ "git-rebase": "Git Rebase",
114
+ "glimmer-js": "Glimmer JS",
115
+ "gljs": "Glimmer JS",
116
+ "glsl": "GLSL",
117
+ "gnuplot": "Gnuplot",
118
+ "go": "Go",
119
+ "graphql": "GraphQL",
120
+ "groovy": "Groovy",
121
+ "hack": "Hack",
122
+ "haml": "Haml",
123
+ "handlebars": "Handlebars",
124
+ "hbs": "Handlebars",
125
+ "haskell": "Haskell",
126
+ "hs": "Haskell",
127
+ "hcl": "HCL",
128
+ "hjson": "Hjson",
129
+ "hlsl": "HLSL",
130
+ "html": "HTML",
131
+ "http": "HTTP",
132
+ "imba": "Imba",
133
+ "ini": "INI",
134
+ "java": "Java",
135
+ "javascript": "JavaScript",
136
+ "js": "JavaScript",
137
+ "jinja-html": "Jinja HTML",
138
+ "jjson": "JJSON",
139
+ "json": "JSON",
140
+ "json5": "JSON5",
141
+ "jsonc": "JSONC",
142
+ "jsonnet": "Jsonnet",
143
+ "jssm": "JSSM",
144
+ "jsx": "JSX",
145
+ "julia": "Julia",
146
+ "kotlin": "Kotlin",
147
+ "kt": "Kotlin",
148
+ "kts": "Kotlin",
149
+ "kusto": "Kusto",
150
+ "latex": "LaTeX",
151
+ "lat": "LaTeX",
152
+ "tex": "LaTeX",
153
+ "lean": "Lean",
154
+ "less": "Less",
155
+ "liquid": "Liquid",
156
+ "lisp": "Lisp",
157
+ "logo": "Logo",
158
+ "lua": "Lua",
159
+ "make": "Make",
160
+ "makefile": "Makefile",
161
+ "markdown": "Markdown",
162
+ "md": "Markdown",
163
+ "marko": "Marko",
164
+ "matlab": "MATLAB",
165
+ "mdx": "MDX",
166
+ "mermaid": "Mermaid",
167
+ "mipsasm": "MIPS Assembly",
168
+ "mips": "MIPS Assembly",
169
+ "mojolicious": "Mojolicious",
170
+ "move": "Move",
171
+ "narrat": "Narrat",
172
+ "nextflow": "Nextflow",
173
+ "nginx": "Nginx",
174
+ "nim": "Nim",
175
+ "nix": "Nix",
176
+ "objective-c": "Objective-C",
177
+ "objc": "Objective-C",
178
+ "objective-cpp": "Objective-C++",
179
+ "ocaml": "OCaml",
180
+ "pascal": "Pascal",
181
+ "perl": "Perl",
182
+ "pl": "Perl",
183
+ "php": "PHP",
184
+ "plsql": "PL/SQL",
185
+ "postcss": "PostCSS",
186
+ "powerquery": "PowerQuery",
187
+ "powershell": "PowerShell",
188
+ "ps1": "PowerShell",
189
+ "prisma": "Prisma",
190
+ "prolog": "Prolog",
191
+ "proto": "Protocol Buffers",
192
+ "pug": "Pug",
193
+ "jade": "Pug",
194
+ "puppet": "Puppet",
195
+ "purescript": "PureScript",
196
+ "python": "Python",
197
+ "py": "Python",
198
+ "r": "R",
199
+ "raku": "Raku",
200
+ "razor": "Razor",
201
+ "reg": "Registry",
202
+ "rel": "Rel",
203
+ "riscv": "RISC-V",
204
+ "rst": "reStructuredText",
205
+ "ruby": "Ruby",
206
+ "rb": "Ruby",
207
+ "rust": "Rust",
208
+ "rs": "Rust",
209
+ "sas": "SAS",
210
+ "sass": "Sass",
211
+ "scala": "Scala",
212
+ "scheme": "Scheme",
213
+ "scss": "SCSS",
214
+ "shaderlab": "ShaderLab",
215
+ "shader": "ShaderLab",
216
+ "shell": "Shell",
217
+ "shellscript": "Shell",
218
+ "smalltalk": "Smalltalk",
219
+ "solidity": "Solidity",
220
+ "sparql": "SPARQL",
221
+ "sql": "SQL",
222
+ "ssh-config": "SSH Config",
223
+ "stata": "Stata",
224
+ "stylus": "Stylus",
225
+ "styl": "Stylus",
226
+ "svelte": "Svelte",
227
+ "swift": "Swift",
228
+ "system-verilog": "SystemVerilog",
229
+ "tasl": "Tasl",
230
+ "tcl": "Tcl",
231
+ "terraform": "Terraform",
232
+ "tf": "Terraform",
233
+ "toml": "TOML",
234
+ "tsx": "TSX",
235
+ "turtle": "Turtle",
236
+ "twig": "Twig",
237
+ "typescript": "TypeScript",
238
+ "ts": "TypeScript",
239
+ "v": "V",
240
+ "vb": "Visual Basic",
241
+ "verilog": "Verilog",
242
+ "vhdl": "VHDL",
243
+ "viml": "VimL",
244
+ "vim": "VimL",
245
+ "vue": "Vue",
246
+ "vyper": "Vyper",
247
+ "wasm": "WebAssembly",
248
+ "wenyan": "Wenyan",
249
+ "wgsl": "WGSL",
250
+ "wolfram": "Wolfram",
251
+ "xml": "XML",
252
+ "xsl": "XSL",
253
+ "yaml": "YAML",
254
+ "yml": "YAML",
255
+ "zenscript": "ZenScript",
256
+ "zig": "Zig",
257
+ "zsh": "Zsh"
258
+ }[lang.toLowerCase()] || lang;
259
+ }, ...ngDevMode ? [{ debugName: "displayedLanguage" }] : /* istanbul ignore next */ []);
260
+ getHighlightTransformer() {
261
+ const highlights = this.highlightLines();
262
+ if (!highlights || Array.isArray(highlights) && highlights.length === 0) return {};
263
+ const isHighlighted = (line) => {
264
+ if (Array.isArray(highlights[0])) return highlights.some(([start, end]) => line >= start && line <= end);
265
+ else {
266
+ const [start, end] = highlights;
267
+ return line >= start && line <= end;
268
+ }
269
+ };
270
+ return { line(node, line) {
271
+ if (isHighlighted(line)) this.addClassToHast(node, "highlighted");
272
+ } };
273
+ }
274
+ async ngOnChanges(changes) {
275
+ const code = this.code() ?? "";
276
+ if (code.length === 0) {
277
+ this.isLoading.set(false);
278
+ this.content.set(this.sanitizer.bypassSecurityTrustHtml("<pre class=\"shiki\"><code></code></pre>"));
279
+ return;
280
+ }
281
+ this.isLoading.set(true);
282
+ try {
283
+ const highlighted = await codeToHtml(code, {
284
+ lang: this.language(),
285
+ theme: this.theme(),
286
+ colorReplacements: { "github-light": { "#fff": "light-dark(var(--ngs-code-highlighter-bg), #f6f8fa)" } },
287
+ transformers: [diffTransformer, this.getHighlightTransformer()],
288
+ diff: this.diff()
289
+ });
290
+ this.content.set(this.sanitizer.bypassSecurityTrustHtml(highlighted));
291
+ } catch (e) {
292
+ const fallback = `<pre class="shiki"><code>${code.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")}</code></pre>`;
293
+ this.content.set(this.sanitizer.bypassSecurityTrustHtml(fallback));
294
+ console.error("CodeHighlighter error:", e);
295
+ } finally {
296
+ this.isLoading.set(false);
297
+ }
298
+ }
299
+ copied = signal(false, ...ngDevMode ? [{ debugName: "copied" }] : /* istanbul ignore next */ []);
300
+ copyTimeout;
301
+ copyCode() {
302
+ if (this.code()) {
303
+ navigator.clipboard.writeText(this.code());
304
+ this.copied.set(true);
305
+ if (this.copyTimeout) clearTimeout(this.copyTimeout);
306
+ this.copyTimeout = setTimeout(() => {
307
+ this.copied.set(false);
308
+ this.copyTimeout = void 0;
309
+ }, 2e3);
310
+ }
311
+ }
312
+ static ɵfac = i0.ɵɵngDeclareFactory({
313
+ minVersion: "12.0.0",
314
+ version: "22.3.0",
315
+ ngImport: i0,
316
+ type: CodeHighlighter,
317
+ deps: [],
318
+ target: i0.ɵɵFactoryTarget.Component
319
+ });
320
+ static ɵcmp = i0.ɵɵngDeclareComponent({
321
+ minVersion: "17.0.0",
322
+ version: "22.3.0",
323
+ type: CodeHighlighter,
324
+ isStandalone: true,
325
+ selector: "ngs-code-highlighter",
326
+ inputs: {
327
+ code: {
328
+ classPropertyName: "code",
329
+ publicName: "code",
330
+ isSignal: true,
331
+ isRequired: true,
332
+ transformFunction: null
333
+ },
334
+ language: {
335
+ classPropertyName: "language",
336
+ publicName: "language",
337
+ isSignal: true,
338
+ isRequired: false,
339
+ transformFunction: null
340
+ },
341
+ theme: {
342
+ classPropertyName: "theme",
343
+ publicName: "theme",
344
+ isSignal: true,
345
+ isRequired: false,
346
+ transformFunction: null
347
+ },
348
+ title: {
349
+ classPropertyName: "title",
350
+ publicName: "title",
351
+ isSignal: true,
352
+ isRequired: false,
353
+ transformFunction: null
354
+ },
355
+ diff: {
356
+ classPropertyName: "diff",
357
+ publicName: "diff",
358
+ isSignal: true,
359
+ isRequired: false,
360
+ transformFunction: null
361
+ },
362
+ highlightLines: {
363
+ classPropertyName: "highlightLines",
364
+ publicName: "highlightLines",
365
+ isSignal: true,
366
+ isRequired: false,
367
+ transformFunction: null
368
+ },
369
+ showLanguage: {
370
+ classPropertyName: "showLanguage",
371
+ publicName: "showLanguage",
372
+ isSignal: true,
373
+ isRequired: false,
374
+ transformFunction: null
375
+ },
376
+ showCopyButton: {
377
+ classPropertyName: "showCopyButton",
378
+ publicName: "showCopyButton",
379
+ isSignal: true,
380
+ isRequired: false,
381
+ transformFunction: null
382
+ },
383
+ disableOverflow: {
384
+ classPropertyName: "disableOverflow",
385
+ publicName: "disableOverflow",
386
+ isSignal: true,
387
+ isRequired: false,
388
+ transformFunction: null
389
+ }
390
+ },
391
+ host: {
392
+ properties: { "class.overflow-disabled": "disableOverflow()" },
393
+ classAttribute: "ngs-code-highlighter not-prose"
394
+ },
395
+ exportAs: ["ngsCodeHighlighter"],
396
+ usesOnChanges: true,
397
+ ngImport: i0,
398
+ template: "<figure class=\"h-full\">\n @if (title()) {\n <figcaption>\n @if (title()) {\n <span class=\"title\">{{ title() }}</span>\n }\n </figcaption>\n }\n\n <div class=\"content relative h-full\">\n @if (showLanguage()) {\n <div class=\"languageName\">{{ displayedLanguage() }}</div>\n }\n\n @if (showCopyButton()) {\n <span class=\"absolute top-2 right-2\">\n <button\n ngsIconButton\n (click)=\"copyCode()\"\n >\n <ngs-icon\n [name]=\"copied() ? 'fluent:checkmark-24-regular' : 'fluent:copy-24-regular'\"\n [class.text-green-500]=\"copied()\"\n />\n </button>\n </span>\n }\n\n @if (content()) {\n <div class=\"code-output\" [innerHTML]=\"content()\"></div>\n } @else if (isLoading()) {\n <div class=\"loading\">Loading…</div>\n }\n </div>\n</figure>\n",
399
+ styles: [":host{--ngs-code-highlighter-bg: var(--ngs-color-surface-container, #f6f8fa);--ngs-code-highlighter-padding: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-margin: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-title-padding: calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 3) var(--spacing, .25rem) calc(var(--spacing, .25rem) * 3);--ngs-code-highlighter-title-color: var(--ngs-color-neutral-500);display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}:host figure{border-radius:var(--ngs-radius-lg, .75rem)}:host figcaption{border-radius:inherit;border-end-start-radius:0;border-end-end-radius:0;font-size:var(--ngs-font-size-xs);font-weight:500;padding:var(--ngs-code-highlighter-title-padding);background:var(--ngs-code-highlighter-bg);color:var(--ngs-code-highlighter-title-color);position:relative;z-index:1}:host figcaption:after{content:\"\";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--ngs-code-highlighter-bg)}:host .languageName{font-size:var(--ngs-font-size-sm);font-weight:600;padding:0 calc(var(--spacing, .25rem) * 6);width:max-content;margin-bottom:calc(var(--spacing, .25rem) * 4);margin-top:calc(var(--spacing, .25rem) * -1);position:relative}:host ::ng-deep pre{border-radius:inherit;padding:var(--ngs-code-highlighter-padding) 0;line-height:1.75;font-size:var(--ngs-font-size-sm);position:relative}:host ::ng-deep pre code{display:grid}:host ::ng-deep pre .line{padding-left:calc(var(--spacing, .25rem) * 6);padding-right:var(--ngs-code-highlighter-padding);min-height:1.75em}:host ::ng-deep pre .line.diff.remove{background-color:var(--ngs-color-danger);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.remove{background-color:color-mix(in srgb,var(--ngs-color-danger),transparent 85%)}}:host ::ng-deep pre .line.diff.remove:before{content:\"-\";color:var(--ngs-color-danger);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.diff.add{background-color:var(--ngs-color-success);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.add{background-color:color-mix(in srgb,var(--ngs-color-success),transparent 85%)}}:host ::ng-deep pre .line.diff.add:before{content:\"+\";color:var(--ngs-color-success);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.highlighted{background-color:var(--ngs-color-primary);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.highlighted{background-color:color-mix(in srgb,var(--ngs-color-primary),transparent 92%)}}:host ::ng-deep code{white-space:pre}:host .content{overflow:auto;border-radius:inherit;background:var(--ngs-code-highlighter-bg)}:host .content .code-output{border-radius:inherit}:host .content button{color:inherit}:host .content button ngs-icon.text-green-500{color:var(--ngs-color-success)!important}:host figcaption+.content{border-start-start-radius:0;border-start-end-radius:0}:host.overflow-disabled .content{overflow:visible}:host.overflow-disabled ::ng-deep pre,:host.overflow-disabled ::ng-deep code{width:max-content;min-width:100%}:host.loading{opacity:.6}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
400
+ dependencies: [{
401
+ kind: "component",
402
+ type: Button,
403
+ selector: "\n button[ngsButton], button[ngsIconButton],\n a[ngsButton], a[ngsIconButton]\n ",
404
+ inputs: [
405
+ "ngsButton",
406
+ "ngsIconButton",
407
+ "loading",
408
+ "disabled",
409
+ "disabledInteractive",
410
+ "disableRipple",
411
+ "reverse",
412
+ "fullWidth",
413
+ "hideTextOnMobile"
414
+ ],
415
+ exportAs: ["ngsButton"]
416
+ }, {
417
+ kind: "component",
418
+ type: Icon,
419
+ selector: "ngs-icon",
420
+ inputs: ["name"],
421
+ exportAs: ["ngsIcon"]
422
+ }],
423
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
424
+ });
43
425
  };
44
- class CodeHighlighter {
45
- sanitizer = inject(DomSanitizer);
46
- code = input.required(/* @ts-ignore */
47
- ...(ngDevMode ? [{ debugName: "code" }] : /* istanbul ignore next */ []));
48
- language = input('none', /* @ts-ignore */
49
- ...(ngDevMode ? [{ debugName: "language" }] : /* istanbul ignore next */ []));
50
- theme = input('github-light', /* @ts-ignore */
51
- ...(ngDevMode ? [{ debugName: "theme" }] : /* istanbul ignore next */ []));
52
- title = input(null, /* @ts-ignore */
53
- ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
54
- diff = input(false, /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "diff" }] : /* istanbul ignore next */ []));
56
- highlightLines = input([], /* @ts-ignore */
57
- ...(ngDevMode ? [{ debugName: "highlightLines" }] : /* istanbul ignore next */ []));
58
- showLanguage = input(false, { ...(ngDevMode ? { debugName: "showLanguage" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
59
- showCopyButton = input(false, { ...(ngDevMode ? { debugName: "showCopyButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
60
- disableOverflow = input(false, { ...(ngDevMode ? { debugName: "disableOverflow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
61
- content = signal(null, /* @ts-ignore */
62
- ...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
63
- isLoading = signal(false, /* @ts-ignore */
64
- ...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
65
- displayedLanguage = computed(() => {
66
- const lang = this.language();
67
- if (!lang || lang === 'none')
68
- return '';
69
- const langMap = {
70
- '1c': '1C',
71
- 'abap': 'ABAP',
72
- 'actionscript-3': 'ActionScript 3',
73
- 'ada': 'Ada',
74
- 'apache': 'Apache',
75
- 'apex': 'Apex',
76
- 'apl': 'APL',
77
- 'applescript': 'AppleScript',
78
- 'ara': 'Ara',
79
- 'asm': 'Assembly',
80
- 'astro': 'Astro',
81
- 'awk': 'AWK',
82
- 'ballerina': 'Ballerina',
83
- 'bash': 'Bash',
84
- 'sh': 'Bash',
85
- 'batch': 'Batch',
86
- 'berry': 'Berry',
87
- 'bibtex': 'BibTeX',
88
- 'bicep': 'Bicep',
89
- 'blade': 'Blade',
90
- 'c': 'C',
91
- 'cadence': 'Cadence',
92
- 'clarity': 'Clarity',
93
- 'clojure': 'Clojure',
94
- 'clj': 'Clojure',
95
- 'cmake': 'CMake',
96
- 'cobol': 'COBOL',
97
- 'codeql': 'CodeQL',
98
- 'coffee': 'CoffeeScript',
99
- 'cpp': 'C++',
100
- 'csharp': 'C#',
101
- 'cs': 'C#',
102
- 'css': 'CSS',
103
- 'cue': 'CUE',
104
- 'cypher': 'Cypher',
105
- 'd': 'D',
106
- 'dart': 'Dart',
107
- 'dax': 'DAX',
108
- 'diff': 'Diff',
109
- 'docker': 'Docker',
110
- 'dockerfile': 'Dockerfile',
111
- 'dream-maker': 'Dream Maker',
112
- 'elixir': 'Elixir',
113
- 'elm': 'Elm',
114
- 'erb': 'ERB',
115
- 'erlang': 'Erlang',
116
- 'fish': 'Fish',
117
- 'fsharp': 'F#',
118
- 'fs': 'F#',
119
- 'gdresource': 'GDResource',
120
- 'gdscript': 'GDScript',
121
- 'gdshader': 'GDShader',
122
- 'gherkin': 'Gherkin',
123
- 'git-commit': 'Git Commit',
124
- 'git-rebase': 'Git Rebase',
125
- 'glimmer-js': 'Glimmer JS',
126
- 'gljs': 'Glimmer JS',
127
- 'glsl': 'GLSL',
128
- 'gnuplot': 'Gnuplot',
129
- 'go': 'Go',
130
- 'graphql': 'GraphQL',
131
- 'groovy': 'Groovy',
132
- 'hack': 'Hack',
133
- 'haml': 'Haml',
134
- 'handlebars': 'Handlebars',
135
- 'hbs': 'Handlebars',
136
- 'haskell': 'Haskell',
137
- 'hs': 'Haskell',
138
- 'hcl': 'HCL',
139
- 'hjson': 'Hjson',
140
- 'hlsl': 'HLSL',
141
- 'html': 'HTML',
142
- 'http': 'HTTP',
143
- 'imba': 'Imba',
144
- 'ini': 'INI',
145
- 'java': 'Java',
146
- 'javascript': 'JavaScript',
147
- 'js': 'JavaScript',
148
- 'jinja-html': 'Jinja HTML',
149
- 'jjson': 'JJSON',
150
- 'json': 'JSON',
151
- 'json5': 'JSON5',
152
- 'jsonc': 'JSONC',
153
- 'jsonnet': 'Jsonnet',
154
- 'jssm': 'JSSM',
155
- 'jsx': 'JSX',
156
- 'julia': 'Julia',
157
- 'kotlin': 'Kotlin',
158
- 'kt': 'Kotlin',
159
- 'kts': 'Kotlin',
160
- 'kusto': 'Kusto',
161
- 'latex': 'LaTeX',
162
- 'lat': 'LaTeX',
163
- 'tex': 'LaTeX',
164
- 'lean': 'Lean',
165
- 'less': 'Less',
166
- 'liquid': 'Liquid',
167
- 'lisp': 'Lisp',
168
- 'logo': 'Logo',
169
- 'lua': 'Lua',
170
- 'make': 'Make',
171
- 'makefile': 'Makefile',
172
- 'markdown': 'Markdown',
173
- 'md': 'Markdown',
174
- 'marko': 'Marko',
175
- 'matlab': 'MATLAB',
176
- 'mdx': 'MDX',
177
- 'mermaid': 'Mermaid',
178
- 'mipsasm': 'MIPS Assembly',
179
- 'mips': 'MIPS Assembly',
180
- 'mojolicious': 'Mojolicious',
181
- 'move': 'Move',
182
- 'narrat': 'Narrat',
183
- 'nextflow': 'Nextflow',
184
- 'nginx': 'Nginx',
185
- 'nim': 'Nim',
186
- 'nix': 'Nix',
187
- 'objective-c': 'Objective-C',
188
- 'objc': 'Objective-C',
189
- 'objective-cpp': 'Objective-C++',
190
- 'ocaml': 'OCaml',
191
- 'pascal': 'Pascal',
192
- 'perl': 'Perl',
193
- 'pl': 'Perl',
194
- 'php': 'PHP',
195
- 'plsql': 'PL/SQL',
196
- 'postcss': 'PostCSS',
197
- 'powerquery': 'PowerQuery',
198
- 'powershell': 'PowerShell',
199
- 'ps1': 'PowerShell',
200
- 'prisma': 'Prisma',
201
- 'prolog': 'Prolog',
202
- 'proto': 'Protocol Buffers',
203
- 'pug': 'Pug',
204
- 'jade': 'Pug',
205
- 'puppet': 'Puppet',
206
- 'purescript': 'PureScript',
207
- 'python': 'Python',
208
- 'py': 'Python',
209
- 'r': 'R',
210
- 'raku': 'Raku',
211
- 'razor': 'Razor',
212
- 'reg': 'Registry',
213
- 'rel': 'Rel',
214
- 'riscv': 'RISC-V',
215
- 'rst': 'reStructuredText',
216
- 'ruby': 'Ruby',
217
- 'rb': 'Ruby',
218
- 'rust': 'Rust',
219
- 'rs': 'Rust',
220
- 'sas': 'SAS',
221
- 'sass': 'Sass',
222
- 'scala': 'Scala',
223
- 'scheme': 'Scheme',
224
- 'scss': 'SCSS',
225
- 'shaderlab': 'ShaderLab',
226
- 'shader': 'ShaderLab',
227
- 'shell': 'Shell',
228
- 'shellscript': 'Shell',
229
- 'smalltalk': 'Smalltalk',
230
- 'solidity': 'Solidity',
231
- 'sparql': 'SPARQL',
232
- 'sql': 'SQL',
233
- 'ssh-config': 'SSH Config',
234
- 'stata': 'Stata',
235
- 'stylus': 'Stylus',
236
- 'styl': 'Stylus',
237
- 'svelte': 'Svelte',
238
- 'swift': 'Swift',
239
- 'system-verilog': 'SystemVerilog',
240
- 'tasl': 'Tasl',
241
- 'tcl': 'Tcl',
242
- 'terraform': 'Terraform',
243
- 'tf': 'Terraform',
244
- 'toml': 'TOML',
245
- 'tsx': 'TSX',
246
- 'turtle': 'Turtle',
247
- 'twig': 'Twig',
248
- 'typescript': 'TypeScript',
249
- 'ts': 'TypeScript',
250
- 'v': 'V',
251
- 'vb': 'Visual Basic',
252
- 'verilog': 'Verilog',
253
- 'vhdl': 'VHDL',
254
- 'viml': 'VimL',
255
- 'vim': 'VimL',
256
- 'vue': 'Vue',
257
- 'vyper': 'Vyper',
258
- 'wasm': 'WebAssembly',
259
- 'wenyan': 'Wenyan',
260
- 'wgsl': 'WGSL',
261
- 'wolfram': 'Wolfram',
262
- 'xml': 'XML',
263
- 'xsl': 'XSL',
264
- 'yaml': 'YAML',
265
- 'yml': 'YAML',
266
- 'zenscript': 'ZenScript',
267
- 'zig': 'Zig',
268
- 'zsh': 'Zsh',
269
- };
270
- return langMap[lang.toLowerCase()] || lang;
271
- }, /* @ts-ignore */
272
- ...(ngDevMode ? [{ debugName: "displayedLanguage" }] : /* istanbul ignore next */ []));
273
- getHighlightTransformer() {
274
- const highlights = this.highlightLines();
275
- if (!highlights || (Array.isArray(highlights) && highlights.length === 0)) {
276
- return {};
277
- }
278
- const isHighlighted = (line) => {
279
- if (Array.isArray(highlights[0])) {
280
- return highlights.some(([start, end]) => line >= start && line <= end);
281
- }
282
- else {
283
- const [start, end] = highlights;
284
- return line >= start && line <= end;
285
- }
286
- };
287
- return {
288
- line(node, line) {
289
- if (isHighlighted(line)) {
290
- this.addClassToHast(node, 'highlighted');
291
- }
292
- }
293
- };
294
- }
295
- async ngOnChanges(changes) {
296
- const code = this.code() ?? '';
297
- if (code.length === 0) {
298
- this.isLoading.set(false);
299
- this.content.set(this.sanitizer.bypassSecurityTrustHtml('<pre class="shiki"><code></code></pre>'));
300
- return;
301
- }
302
- this.isLoading.set(true);
303
- try {
304
- const highlighted = await codeToHtml(code, {
305
- lang: this.language(),
306
- theme: this.theme(),
307
- transformers: [diffTransformer, this.getHighlightTransformer()],
308
- diff: this.diff()
309
- });
310
- this.content.set(this.sanitizer.bypassSecurityTrustHtml(highlighted));
311
- }
312
- catch (e) {
313
- // Fallback: raw code escaped inside pre
314
- const escaped = code
315
- .replace(/&/g, '&amp;')
316
- .replace(/</g, '&lt;')
317
- .replace(/>/g, '&gt;');
318
- const fallback = `<pre class="shiki"><code>${escaped}</code></pre>`;
319
- this.content.set(this.sanitizer.bypassSecurityTrustHtml(fallback));
320
- console.error('CodeHighlighter error:', e);
321
- }
322
- finally {
323
- this.isLoading.set(false);
324
- }
325
- }
326
- copied = signal(false, /* @ts-ignore */
327
- ...(ngDevMode ? [{ debugName: "copied" }] : /* istanbul ignore next */ []));
328
- copyTimeout;
329
- copyCode() {
330
- if (this.code()) {
331
- navigator.clipboard.writeText(this.code());
332
- this.copied.set(true);
333
- if (this.copyTimeout) {
334
- clearTimeout(this.copyTimeout);
335
- }
336
- this.copyTimeout = setTimeout(() => {
337
- this.copied.set(false);
338
- this.copyTimeout = undefined;
339
- }, 2000);
340
- }
341
- }
342
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CodeHighlighter, deps: [], target: i0.ɵɵFactoryTarget.Component });
343
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: CodeHighlighter, isStandalone: true, selector: "ngs-code-highlighter", inputs: { code: { classPropertyName: "code", publicName: "code", isSignal: true, isRequired: true, transformFunction: null }, language: { classPropertyName: "language", publicName: "language", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, diff: { classPropertyName: "diff", publicName: "diff", isSignal: true, isRequired: false, transformFunction: null }, highlightLines: { classPropertyName: "highlightLines", publicName: "highlightLines", isSignal: true, isRequired: false, transformFunction: null }, showLanguage: { classPropertyName: "showLanguage", publicName: "showLanguage", isSignal: true, isRequired: false, transformFunction: null }, showCopyButton: { classPropertyName: "showCopyButton", publicName: "showCopyButton", isSignal: true, isRequired: false, transformFunction: null }, disableOverflow: { classPropertyName: "disableOverflow", publicName: "disableOverflow", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.overflow-disabled": "disableOverflow()" }, classAttribute: "ngs-code-highlighter not-prose" }, exportAs: ["ngsCodeHighlighter"], usesOnChanges: true, ngImport: i0, template: "<figure class=\"h-full\">\n @if (title()) {\n <figcaption>\n @if (title()) {\n <span class=\"title\">{{ title() }}</span>\n }\n </figcaption>\n }\n\n <div class=\"content relative h-full\">\n @if (showLanguage()) {\n <div class=\"languageName\">{{ displayedLanguage() }}</div>\n }\n\n @if (showCopyButton()) {\n <span class=\"absolute top-2 right-2\">\n <button\n ngsIconButton\n (click)=\"copyCode()\"\n >\n <ngs-icon\n [name]=\"copied() ? 'fluent:checkmark-24-regular' : 'fluent:copy-24-regular'\"\n [class.text-green-500]=\"copied()\"\n />\n </button>\n </span>\n }\n\n <div>\n @if (content()) {\n <div [innerHTML]=\"content()\"></div>\n } @else if (isLoading()) {\n <div class=\"loading\">Loading\u2026</div>\n }\n </div>\n </div>\n</figure>\n", styles: [":host{--ngs-code-highlighter-bg: var(--ngs-color-background);--ngs-code-highlighter-padding: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-margin: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-title-padding: calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 3) var(--spacing, .25rem) calc(var(--spacing, .25rem) * 3);--ngs-code-highlighter-title-color: var(--ngs-color-neutral-500);display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}:host figcaption{font-size:var(--ngs-font-size-xs);font-weight:500;padding:var(--ngs-code-highlighter-title-padding);background:var(--ngs-code-highlighter-bg);color:var(--ngs-code-highlighter-title-color);position:relative;z-index:1}:host figcaption:after{content:\"\";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--ngs-code-highlighter-bg)}:host .languageName{font-size:var(--ngs-font-size-sm);font-weight:600;padding:0 calc(var(--spacing, .25rem) * 6);width:max-content;margin-bottom:calc(var(--spacing, .25rem) * 4);margin-top:calc(var(--spacing, .25rem) * -1);position:relative}:host ::ng-deep pre{padding:var(--ngs-code-highlighter-padding) 0;line-height:1.75;font-size:var(--ngs-font-size-sm);position:relative}:host ::ng-deep pre code{display:grid}:host ::ng-deep pre .line{padding-left:calc(var(--spacing, .25rem) * 6);padding-right:var(--ngs-code-highlighter-padding);min-height:1.75em}:host ::ng-deep pre .line.diff.remove{background-color:var(--ngs-color-danger);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.remove{background-color:color-mix(in srgb,var(--ngs-color-danger),transparent 85%)}}:host ::ng-deep pre .line.diff.remove:before{content:\"-\";color:var(--ngs-color-danger);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.diff.add{background-color:var(--ngs-color-success);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.add{background-color:color-mix(in srgb,var(--ngs-color-success),transparent 85%)}}:host ::ng-deep pre .line.diff.add:before{content:\"+\";color:var(--ngs-color-success);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.highlighted{background-color:var(--ngs-color-primary);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.highlighted{background-color:color-mix(in srgb,var(--ngs-color-primary),transparent 92%)}}:host ::ng-deep code{white-space:pre}:host .content{overflow:auto;background:var(--ngs-code-highlighter-bg)}:host .content button{color:inherit}:host .content button ngs-icon.text-green-500{color:var(--ngs-color-success)!important}:host.overflow-disabled .content{overflow:visible}:host.overflow-disabled ::ng-deep pre,:host.overflow-disabled ::ng-deep code{width:max-content;min-width:100%}:host.loading{opacity:.6}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }, { kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
344
- }
345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CodeHighlighter, decorators: [{
346
- type: Component,
347
- args: [{ selector: 'ngs-code-highlighter', exportAs: 'ngsCodeHighlighter', imports: [
348
- Button,
349
- Icon
350
- ], changeDetection: ChangeDetectionStrategy.OnPush, host: {
351
- 'class': 'ngs-code-highlighter not-prose',
352
- '[class.overflow-disabled]': 'disableOverflow()',
353
- }, template: "<figure class=\"h-full\">\n @if (title()) {\n <figcaption>\n @if (title()) {\n <span class=\"title\">{{ title() }}</span>\n }\n </figcaption>\n }\n\n <div class=\"content relative h-full\">\n @if (showLanguage()) {\n <div class=\"languageName\">{{ displayedLanguage() }}</div>\n }\n\n @if (showCopyButton()) {\n <span class=\"absolute top-2 right-2\">\n <button\n ngsIconButton\n (click)=\"copyCode()\"\n >\n <ngs-icon\n [name]=\"copied() ? 'fluent:checkmark-24-regular' : 'fluent:copy-24-regular'\"\n [class.text-green-500]=\"copied()\"\n />\n </button>\n </span>\n }\n\n <div>\n @if (content()) {\n <div [innerHTML]=\"content()\"></div>\n } @else if (isLoading()) {\n <div class=\"loading\">Loading\u2026</div>\n }\n </div>\n </div>\n</figure>\n", styles: [":host{--ngs-code-highlighter-bg: var(--ngs-color-background);--ngs-code-highlighter-padding: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-margin: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-title-padding: calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 3) var(--spacing, .25rem) calc(var(--spacing, .25rem) * 3);--ngs-code-highlighter-title-color: var(--ngs-color-neutral-500);display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}:host figcaption{font-size:var(--ngs-font-size-xs);font-weight:500;padding:var(--ngs-code-highlighter-title-padding);background:var(--ngs-code-highlighter-bg);color:var(--ngs-code-highlighter-title-color);position:relative;z-index:1}:host figcaption:after{content:\"\";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--ngs-code-highlighter-bg)}:host .languageName{font-size:var(--ngs-font-size-sm);font-weight:600;padding:0 calc(var(--spacing, .25rem) * 6);width:max-content;margin-bottom:calc(var(--spacing, .25rem) * 4);margin-top:calc(var(--spacing, .25rem) * -1);position:relative}:host ::ng-deep pre{padding:var(--ngs-code-highlighter-padding) 0;line-height:1.75;font-size:var(--ngs-font-size-sm);position:relative}:host ::ng-deep pre code{display:grid}:host ::ng-deep pre .line{padding-left:calc(var(--spacing, .25rem) * 6);padding-right:var(--ngs-code-highlighter-padding);min-height:1.75em}:host ::ng-deep pre .line.diff.remove{background-color:var(--ngs-color-danger);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.remove{background-color:color-mix(in srgb,var(--ngs-color-danger),transparent 85%)}}:host ::ng-deep pre .line.diff.remove:before{content:\"-\";color:var(--ngs-color-danger);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.diff.add{background-color:var(--ngs-color-success);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.add{background-color:color-mix(in srgb,var(--ngs-color-success),transparent 85%)}}:host ::ng-deep pre .line.diff.add:before{content:\"+\";color:var(--ngs-color-success);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.highlighted{background-color:var(--ngs-color-primary);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.highlighted{background-color:color-mix(in srgb,var(--ngs-color-primary),transparent 92%)}}:host ::ng-deep code{white-space:pre}:host .content{overflow:auto;background:var(--ngs-code-highlighter-bg)}:host .content button{color:inherit}:host .content button ngs-icon.text-green-500{color:var(--ngs-color-success)!important}:host.overflow-disabled .content{overflow:visible}:host.overflow-disabled ::ng-deep pre,:host.overflow-disabled ::ng-deep code{width:max-content;min-width:100%}:host.loading{opacity:.6}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
354
- }], propDecorators: { code: [{ type: i0.Input, args: [{ isSignal: true, alias: "code", required: true }] }], language: [{ type: i0.Input, args: [{ isSignal: true, alias: "language", required: false }] }], theme: [{ type: i0.Input, args: [{ isSignal: true, alias: "theme", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], diff: [{ type: i0.Input, args: [{ isSignal: true, alias: "diff", required: false }] }], highlightLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightLines", required: false }] }], showLanguage: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLanguage", required: false }] }], showCopyButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCopyButton", required: false }] }], disableOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableOverflow", required: false }] }] } });
355
-
356
- /**
357
- * Generated bundle index. Do not edit.
358
- */
359
-
426
+ i0.ɵɵngDeclareClassMetadata({
427
+ minVersion: "12.0.0",
428
+ version: "22.3.0",
429
+ ngImport: i0,
430
+ type: CodeHighlighter,
431
+ decorators: [{
432
+ type: Component,
433
+ args: [{
434
+ selector: "ngs-code-highlighter",
435
+ exportAs: "ngsCodeHighlighter",
436
+ imports: [Button, Icon],
437
+ changeDetection: ChangeDetectionStrategy.OnPush,
438
+ host: {
439
+ "class": "ngs-code-highlighter not-prose",
440
+ "[class.overflow-disabled]": "disableOverflow()"
441
+ },
442
+ template: "<figure class=\"h-full\">\n @if (title()) {\n <figcaption>\n @if (title()) {\n <span class=\"title\">{{ title() }}</span>\n }\n </figcaption>\n }\n\n <div class=\"content relative h-full\">\n @if (showLanguage()) {\n <div class=\"languageName\">{{ displayedLanguage() }}</div>\n }\n\n @if (showCopyButton()) {\n <span class=\"absolute top-2 right-2\">\n <button\n ngsIconButton\n (click)=\"copyCode()\"\n >\n <ngs-icon\n [name]=\"copied() ? 'fluent:checkmark-24-regular' : 'fluent:copy-24-regular'\"\n [class.text-green-500]=\"copied()\"\n />\n </button>\n </span>\n }\n\n @if (content()) {\n <div class=\"code-output\" [innerHTML]=\"content()\"></div>\n } @else if (isLoading()) {\n <div class=\"loading\">Loading…</div>\n }\n </div>\n</figure>\n",
443
+ styles: [":host{--ngs-code-highlighter-bg: var(--ngs-color-surface-container, #f6f8fa);--ngs-code-highlighter-padding: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-margin: calc(var(--spacing, .25rem) * 5);--ngs-code-highlighter-title-padding: calc(var(--spacing, .25rem) * 2) calc(var(--spacing, .25rem) * 3) var(--spacing, .25rem) calc(var(--spacing, .25rem) * 3);--ngs-code-highlighter-title-color: var(--ngs-color-neutral-500);display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}:host figure{border-radius:var(--ngs-radius-lg, .75rem)}:host figcaption{border-radius:inherit;border-end-start-radius:0;border-end-end-radius:0;font-size:var(--ngs-font-size-xs);font-weight:500;padding:var(--ngs-code-highlighter-title-padding);background:var(--ngs-code-highlighter-bg);color:var(--ngs-code-highlighter-title-color);position:relative;z-index:1}:host figcaption:after{content:\"\";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--ngs-code-highlighter-bg)}:host .languageName{font-size:var(--ngs-font-size-sm);font-weight:600;padding:0 calc(var(--spacing, .25rem) * 6);width:max-content;margin-bottom:calc(var(--spacing, .25rem) * 4);margin-top:calc(var(--spacing, .25rem) * -1);position:relative}:host ::ng-deep pre{border-radius:inherit;padding:var(--ngs-code-highlighter-padding) 0;line-height:1.75;font-size:var(--ngs-font-size-sm);position:relative}:host ::ng-deep pre code{display:grid}:host ::ng-deep pre .line{padding-left:calc(var(--spacing, .25rem) * 6);padding-right:var(--ngs-code-highlighter-padding);min-height:1.75em}:host ::ng-deep pre .line.diff.remove{background-color:var(--ngs-color-danger);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.remove{background-color:color-mix(in srgb,var(--ngs-color-danger),transparent 85%)}}:host ::ng-deep pre .line.diff.remove:before{content:\"-\";color:var(--ngs-color-danger);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.diff.add{background-color:var(--ngs-color-success);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.diff.add{background-color:color-mix(in srgb,var(--ngs-color-success),transparent 85%)}}:host ::ng-deep pre .line.diff.add:before{content:\"+\";color:var(--ngs-color-success);position:absolute;left:calc(var(--spacing, .25rem) * 2)}:host ::ng-deep pre .line.highlighted{background-color:var(--ngs-color-primary);display:inline-block;width:100%}@supports (color: color-mix(in lab,red,red)){:host ::ng-deep pre .line.highlighted{background-color:color-mix(in srgb,var(--ngs-color-primary),transparent 92%)}}:host ::ng-deep code{white-space:pre}:host .content{overflow:auto;border-radius:inherit;background:var(--ngs-code-highlighter-bg)}:host .content .code-output{border-radius:inherit}:host .content button{color:inherit}:host .content button ngs-icon.text-green-500{color:var(--ngs-color-success)!important}:host figcaption+.content{border-start-start-radius:0;border-start-end-radius:0}:host.overflow-disabled .content{overflow:visible}:host.overflow-disabled ::ng-deep pre,:host.overflow-disabled ::ng-deep code{width:max-content;min-width:100%}:host.loading{opacity:.6}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
444
+ }]
445
+ }],
446
+ propDecorators: {
447
+ code: [{
448
+ type: i0.Input,
449
+ args: [{
450
+ isSignal: true,
451
+ alias: "code",
452
+ required: true
453
+ }]
454
+ }],
455
+ language: [{
456
+ type: i0.Input,
457
+ args: [{
458
+ isSignal: true,
459
+ alias: "language",
460
+ required: false
461
+ }]
462
+ }],
463
+ theme: [{
464
+ type: i0.Input,
465
+ args: [{
466
+ isSignal: true,
467
+ alias: "theme",
468
+ required: false
469
+ }]
470
+ }],
471
+ title: [{
472
+ type: i0.Input,
473
+ args: [{
474
+ isSignal: true,
475
+ alias: "title",
476
+ required: false
477
+ }]
478
+ }],
479
+ diff: [{
480
+ type: i0.Input,
481
+ args: [{
482
+ isSignal: true,
483
+ alias: "diff",
484
+ required: false
485
+ }]
486
+ }],
487
+ highlightLines: [{
488
+ type: i0.Input,
489
+ args: [{
490
+ isSignal: true,
491
+ alias: "highlightLines",
492
+ required: false
493
+ }]
494
+ }],
495
+ showLanguage: [{
496
+ type: i0.Input,
497
+ args: [{
498
+ isSignal: true,
499
+ alias: "showLanguage",
500
+ required: false
501
+ }]
502
+ }],
503
+ showCopyButton: [{
504
+ type: i0.Input,
505
+ args: [{
506
+ isSignal: true,
507
+ alias: "showCopyButton",
508
+ required: false
509
+ }]
510
+ }],
511
+ disableOverflow: [{
512
+ type: i0.Input,
513
+ args: [{
514
+ isSignal: true,
515
+ alias: "disableOverflow",
516
+ required: false
517
+ }]
518
+ }]
519
+ }
520
+ });
360
521
  export { CodeHighlighter };
361
- //# sourceMappingURL=ngstarter-ui-components-code-highlighter.mjs.map
522
+
523
+ //# sourceMappingURL=ngstarter-ui-components-code-highlighter.mjs.map