@koobiq/components 18.1.0 → 18.2.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 (328) hide show
  1. package/accordion/README.md +0 -0
  2. package/accordion/_accordion-theme.scss +62 -0
  3. package/accordion/accordion-content.d.ts +6 -0
  4. package/accordion/accordion-header.d.ts +6 -0
  5. package/accordion/accordion-item.d.ts +6 -0
  6. package/accordion/accordion-tokens.scss +45 -0
  7. package/accordion/accordion-trigger.component.d.ts +11 -0
  8. package/accordion/accordion-trigger.component.scss +79 -0
  9. package/accordion/accordion.component.d.ts +20 -0
  10. package/accordion/accordion.component.scss +66 -0
  11. package/accordion/accordion.module.d.ts +12 -0
  12. package/accordion/index.d.ts +1 -0
  13. package/accordion/public-api.d.ts +6 -0
  14. package/alert/_alert-theme.scss +3 -3
  15. package/alert/alert-tokens.scss +3 -3
  16. package/alert/alert.component.scss +40 -39
  17. package/autocomplete/_autocomplete-theme.scss +2 -2
  18. package/autocomplete/autocomplete.scss +6 -6
  19. package/badge/_badge-theme.scss +5 -5
  20. package/badge/badge.component.scss +16 -16
  21. package/button/_button-base.scss +6 -6
  22. package/button/_button-theme.scss +11 -11
  23. package/button/button.dropdown-trigger.directive.d.ts +14 -0
  24. package/button/button.module.d.ts +2 -1
  25. package/button/button.scss +8 -8
  26. package/button/public-api.d.ts +1 -0
  27. package/button-toggle/_button-toggle-theme.scss +5 -5
  28. package/button-toggle/button-toggle.scss +11 -11
  29. package/checkbox/_checkbox-theme.scss +22 -22
  30. package/checkbox/checkbox-tokens.scss +2 -2
  31. package/checkbox/checkbox.scss +16 -16
  32. package/code-block/_code-block-theme.scss +15 -15
  33. package/code-block/actionbar.component.scss +4 -4
  34. package/code-block/code-block.scss +18 -19
  35. package/core/forms/_forms-theme.scss +2 -2
  36. package/core/forms/_forms.scss +12 -12
  37. package/core/option/_optgroup-theme.scss +2 -2
  38. package/core/option/_option-action-theme.scss +6 -6
  39. package/core/option/_option-theme.scss +5 -5
  40. package/core/option/action.d.ts +1 -1
  41. package/core/option/action.scss +2 -2
  42. package/core/option/optgroup.scss +1 -1
  43. package/core/pop-up/pop-up-trigger.d.ts +3 -3
  44. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +8 -8
  45. package/core/selection/pseudo-checkbox/pseudo-checkbox-tokens.scss +2 -2
  46. package/core/selection/pseudo-checkbox/pseudo-checkbox.scss +8 -8
  47. package/core/styles/common/_groups.scss +4 -4
  48. package/core/styles/common/_list.scss +19 -19
  49. package/core/styles/common/_popup.scss +3 -3
  50. package/core/styles/common/_select.scss +13 -13
  51. package/core/styles/common/_tokens.scss +8 -19
  52. package/core/styles/theming/_scrollbar-theme.scss +11 -11
  53. package/core/styles/visual/_layout.scss +13 -13
  54. package/datepicker/_datepicker-theme.scss +15 -15
  55. package/datepicker/calendar-body.scss +2 -2
  56. package/datepicker/calendar-header.scss +3 -3
  57. package/datepicker/calendar.scss +6 -6
  58. package/datepicker/datepicker-content.scss +4 -4
  59. package/datepicker/datepicker-toggle.scss +2 -2
  60. package/divider/_divider-theme.scss +1 -1
  61. package/divider/divider.scss +6 -6
  62. package/dl/_dl-theme.scss +2 -2
  63. package/dl/dl.scss +4 -4
  64. package/dropdown/_dropdown-theme.scss +7 -7
  65. package/dropdown/dropdown-item.scss +2 -2
  66. package/dropdown/dropdown.scss +5 -5
  67. package/empty-state/_empty-state-theme.scss +4 -4
  68. package/empty-state/empty-state.scss +18 -20
  69. package/esm2022/accordion/accordion-content.mjs +19 -0
  70. package/esm2022/accordion/accordion-header.mjs +19 -0
  71. package/esm2022/accordion/accordion-item.mjs +25 -0
  72. package/esm2022/accordion/accordion-trigger.component.mjs +60 -0
  73. package/esm2022/accordion/accordion.component.mjs +40 -0
  74. package/esm2022/accordion/accordion.module.mjs +44 -0
  75. package/esm2022/accordion/index.mjs +2 -0
  76. package/esm2022/accordion/koobiq-components-accordion.mjs +5 -0
  77. package/esm2022/accordion/public-api.mjs +7 -0
  78. package/esm2022/alert/alert.component.mjs +2 -2
  79. package/esm2022/autocomplete/autocomplete.component.mjs +2 -2
  80. package/esm2022/badge/badge.component.mjs +2 -2
  81. package/esm2022/button/button.component.mjs +2 -2
  82. package/esm2022/button/button.dropdown-trigger.directive.mjs +28 -0
  83. package/esm2022/button/button.module.mjs +10 -5
  84. package/esm2022/button/public-api.mjs +2 -1
  85. package/esm2022/button-toggle/button-toggle.component.mjs +2 -2
  86. package/esm2022/checkbox/checkbox.mjs +2 -2
  87. package/esm2022/code-block/actionbar.component.mjs +2 -2
  88. package/esm2022/code-block/code-block.component.mjs +2 -2
  89. package/esm2022/core/option/action.mjs +7 -10
  90. package/esm2022/core/option/optgroup.mjs +2 -2
  91. package/esm2022/core/option/option.mjs +2 -2
  92. package/esm2022/core/pop-up/pop-up-trigger.mjs +12 -12
  93. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -2
  94. package/esm2022/core/version.mjs +2 -2
  95. package/esm2022/datepicker/calendar-body.component.mjs +2 -2
  96. package/esm2022/datepicker/calendar-header.component.mjs +2 -2
  97. package/esm2022/datepicker/calendar.component.mjs +2 -2
  98. package/esm2022/datepicker/datepicker-toggle.component.mjs +2 -2
  99. package/esm2022/datepicker/datepicker.component.mjs +3 -3
  100. package/esm2022/divider/divider.component.mjs +2 -2
  101. package/esm2022/dl/dl.component.mjs +2 -2
  102. package/esm2022/dropdown/dropdown-item.component.mjs +2 -2
  103. package/esm2022/dropdown/dropdown.component.mjs +3 -3
  104. package/esm2022/empty-state/empty-state.component.mjs +2 -2
  105. package/esm2022/file-upload/multiple-file-upload.component.mjs +2 -2
  106. package/esm2022/file-upload/single-file-upload.component.mjs +2 -2
  107. package/esm2022/form-field/cleaner.mjs +2 -2
  108. package/esm2022/form-field/form-field.mjs +9 -10
  109. package/esm2022/form-field/hint.mjs +2 -2
  110. package/esm2022/form-field/password-hint.mjs +2 -2
  111. package/esm2022/form-field/password-toggle.mjs +2 -2
  112. package/esm2022/form-field/stepper.mjs +2 -2
  113. package/esm2022/icon/icon-button.component.mjs +2 -2
  114. package/esm2022/icon/icon-item.component.mjs +2 -2
  115. package/esm2022/icon/icon.component.mjs +2 -2
  116. package/esm2022/list/list-selection.component.mjs +10 -14
  117. package/esm2022/list/list.component.mjs +2 -2
  118. package/esm2022/loader-overlay/loader-overlay.component.mjs +2 -2
  119. package/esm2022/markdown/markdown.component.mjs +2 -2
  120. package/esm2022/modal/modal.component.mjs +5 -7
  121. package/esm2022/navbar/navbar-item.component.mjs +8 -11
  122. package/esm2022/navbar/navbar.component.mjs +14 -15
  123. package/esm2022/navbar/vertical-navbar.component.mjs +2 -2
  124. package/esm2022/popover/popover-confirm.component.mjs +5 -5
  125. package/esm2022/popover/popover.component.mjs +3 -3
  126. package/esm2022/progress-bar/progress-bar.component.mjs +2 -2
  127. package/esm2022/progress-spinner/progress-spinner.component.mjs +2 -2
  128. package/esm2022/radio/radio.component.mjs +2 -2
  129. package/esm2022/risk-level/risk-level.component.mjs +2 -2
  130. package/esm2022/scrollbar/scrollbar.component.mjs +3 -3
  131. package/esm2022/select/select.component.mjs +17 -16
  132. package/esm2022/sidepanel/sidepanel-container.component.mjs +3 -3
  133. package/esm2022/splitter/splitter.component.mjs +3 -3
  134. package/esm2022/table/table.component.mjs +2 -2
  135. package/esm2022/tabs/paginated-tab-header.mjs +10 -12
  136. package/esm2022/tabs/tab-group.component.mjs +2 -2
  137. package/esm2022/tabs/tab-header.component.mjs +2 -2
  138. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -2
  139. package/esm2022/tags/tag-list.component.mjs +11 -13
  140. package/esm2022/tags/tag.component.mjs +2 -2
  141. package/esm2022/timezone/timezone-option.component.mjs +2 -2
  142. package/esm2022/timezone/timezone-select.component.mjs +2 -2
  143. package/esm2022/toast/toast-container.component.mjs +2 -2
  144. package/esm2022/toast/toast.component.mjs +7 -8
  145. package/esm2022/toggle/toggle.component.mjs +3 -3
  146. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  147. package/esm2022/tree/padding.directive.mjs +3 -9
  148. package/esm2022/tree/toggle.mjs +2 -2
  149. package/esm2022/tree/tree-base.mjs +5 -8
  150. package/esm2022/tree/tree-option.component.mjs +2 -2
  151. package/esm2022/tree/tree-selection.component.mjs +12 -15
  152. package/esm2022/tree/tree.mjs +2 -2
  153. package/esm2022/tree-select/tree-select.component.mjs +15 -15
  154. package/fesm2022/koobiq-components-accordion.mjs +189 -0
  155. package/fesm2022/koobiq-components-accordion.mjs.map +1 -0
  156. package/fesm2022/koobiq-components-alert.mjs +2 -2
  157. package/fesm2022/koobiq-components-alert.mjs.map +1 -1
  158. package/fesm2022/koobiq-components-autocomplete.mjs +2 -2
  159. package/fesm2022/koobiq-components-autocomplete.mjs.map +1 -1
  160. package/fesm2022/koobiq-components-badge.mjs +2 -2
  161. package/fesm2022/koobiq-components-badge.mjs.map +1 -1
  162. package/fesm2022/koobiq-components-button-toggle.mjs +2 -2
  163. package/fesm2022/koobiq-components-button-toggle.mjs.map +1 -1
  164. package/fesm2022/koobiq-components-button.mjs +38 -8
  165. package/fesm2022/koobiq-components-button.mjs.map +1 -1
  166. package/fesm2022/koobiq-components-checkbox.mjs +2 -2
  167. package/fesm2022/koobiq-components-checkbox.mjs.map +1 -1
  168. package/fesm2022/koobiq-components-code-block.mjs +4 -4
  169. package/fesm2022/koobiq-components-code-block.mjs.map +1 -1
  170. package/fesm2022/koobiq-components-core.mjs +22 -23
  171. package/fesm2022/koobiq-components-core.mjs.map +1 -1
  172. package/fesm2022/koobiq-components-datepicker.mjs +10 -10
  173. package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
  174. package/fesm2022/koobiq-components-divider.mjs +2 -2
  175. package/fesm2022/koobiq-components-divider.mjs.map +1 -1
  176. package/fesm2022/koobiq-components-dl.mjs +2 -2
  177. package/fesm2022/koobiq-components-dl.mjs.map +1 -1
  178. package/fesm2022/koobiq-components-dropdown.mjs +4 -4
  179. package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
  180. package/fesm2022/koobiq-components-empty-state.mjs +2 -2
  181. package/fesm2022/koobiq-components-empty-state.mjs.map +1 -1
  182. package/fesm2022/koobiq-components-file-upload.mjs +4 -4
  183. package/fesm2022/koobiq-components-file-upload.mjs.map +1 -1
  184. package/fesm2022/koobiq-components-form-field.mjs +18 -19
  185. package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
  186. package/fesm2022/koobiq-components-icon.mjs +6 -6
  187. package/fesm2022/koobiq-components-icon.mjs.map +1 -1
  188. package/fesm2022/koobiq-components-list.mjs +11 -15
  189. package/fesm2022/koobiq-components-list.mjs.map +1 -1
  190. package/fesm2022/koobiq-components-loader-overlay.mjs +2 -2
  191. package/fesm2022/koobiq-components-loader-overlay.mjs.map +1 -1
  192. package/fesm2022/koobiq-components-markdown.mjs +2 -2
  193. package/fesm2022/koobiq-components-markdown.mjs.map +1 -1
  194. package/fesm2022/koobiq-components-modal.mjs +4 -6
  195. package/fesm2022/koobiq-components-modal.mjs.map +1 -1
  196. package/fesm2022/koobiq-components-navbar.mjs +19 -24
  197. package/fesm2022/koobiq-components-navbar.mjs.map +1 -1
  198. package/fesm2022/koobiq-components-popover.mjs +7 -7
  199. package/fesm2022/koobiq-components-popover.mjs.map +1 -1
  200. package/fesm2022/koobiq-components-progress-bar.mjs +2 -2
  201. package/fesm2022/koobiq-components-progress-bar.mjs.map +1 -1
  202. package/fesm2022/koobiq-components-progress-spinner.mjs +2 -2
  203. package/fesm2022/koobiq-components-progress-spinner.mjs.map +1 -1
  204. package/fesm2022/koobiq-components-radio.mjs +2 -2
  205. package/fesm2022/koobiq-components-radio.mjs.map +1 -1
  206. package/fesm2022/koobiq-components-risk-level.mjs +2 -2
  207. package/fesm2022/koobiq-components-risk-level.mjs.map +1 -1
  208. package/fesm2022/koobiq-components-scrollbar.mjs +2 -2
  209. package/fesm2022/koobiq-components-scrollbar.mjs.map +1 -1
  210. package/fesm2022/koobiq-components-select.mjs +17 -16
  211. package/fesm2022/koobiq-components-select.mjs.map +1 -1
  212. package/fesm2022/koobiq-components-sidepanel.mjs +2 -2
  213. package/fesm2022/koobiq-components-sidepanel.mjs.map +1 -1
  214. package/fesm2022/koobiq-components-splitter.mjs +2 -2
  215. package/fesm2022/koobiq-components-splitter.mjs.map +1 -1
  216. package/fesm2022/koobiq-components-table.mjs +2 -2
  217. package/fesm2022/koobiq-components-table.mjs.map +1 -1
  218. package/fesm2022/koobiq-components-tabs.mjs +15 -17
  219. package/fesm2022/koobiq-components-tabs.mjs.map +1 -1
  220. package/fesm2022/koobiq-components-tags.mjs +11 -13
  221. package/fesm2022/koobiq-components-tags.mjs.map +1 -1
  222. package/fesm2022/koobiq-components-timezone.mjs +4 -4
  223. package/fesm2022/koobiq-components-timezone.mjs.map +1 -1
  224. package/fesm2022/koobiq-components-toast.mjs +8 -9
  225. package/fesm2022/koobiq-components-toast.mjs.map +1 -1
  226. package/fesm2022/koobiq-components-toggle.mjs +2 -2
  227. package/fesm2022/koobiq-components-toggle.mjs.map +1 -1
  228. package/fesm2022/koobiq-components-tooltip.mjs +2 -2
  229. package/fesm2022/koobiq-components-tooltip.mjs.map +1 -1
  230. package/fesm2022/koobiq-components-tree-select.mjs +14 -14
  231. package/fesm2022/koobiq-components-tree-select.mjs.map +1 -1
  232. package/fesm2022/koobiq-components-tree.mjs +21 -32
  233. package/fesm2022/koobiq-components-tree.mjs.map +1 -1
  234. package/file-upload/_file-upload-theme.scss +27 -29
  235. package/file-upload/multiple-file-upload.component.scss +26 -26
  236. package/file-upload/single-file-upload.component.scss +8 -8
  237. package/form-field/_form-field-theme.scss +14 -14
  238. package/form-field/_hint-theme.scss +2 -2
  239. package/form-field/cleaner.scss +2 -2
  240. package/form-field/form-field.d.ts +1 -1
  241. package/form-field/form-field.scss +10 -10
  242. package/form-field/hint.scss +4 -4
  243. package/form-field/password-toggle.scss +2 -2
  244. package/form-field/stepper.scss +3 -3
  245. package/icon/_icon-button-theme.scss +26 -26
  246. package/icon/_icon-item-theme.scss +2 -2
  247. package/icon/_icon-theme.scss +6 -6
  248. package/icon/icon-button.scss +2 -4
  249. package/icon/icon-item.scss +2 -4
  250. package/input/input.scss +2 -2
  251. package/link/_link-theme.scss +11 -11
  252. package/list/_list-theme.scss +6 -6
  253. package/list/list-selection.component.d.ts +2 -4
  254. package/list/list.scss +1 -1
  255. package/loader-overlay/_loader-overlay-theme.scss +6 -6
  256. package/loader-overlay/loader-overlay.scss +8 -8
  257. package/markdown/_markdown-theme.scss +27 -27
  258. package/markdown/markdown-tokens.scss +17 -17
  259. package/markdown/markdown.scss +29 -29
  260. package/modal/_modal-confirm.scss +1 -1
  261. package/modal/_modal-theme.scss +9 -12
  262. package/modal/modal.scss +12 -13
  263. package/navbar/_navbar-item_horizontal.scss +20 -20
  264. package/navbar/_navbar-item_vertical.scss +28 -28
  265. package/navbar/_navbar-theme.scss +8 -8
  266. package/navbar/navbar-brand.scss +23 -23
  267. package/navbar/navbar-divider.scss +3 -3
  268. package/navbar/navbar-item.component.d.ts +2 -3
  269. package/navbar/navbar-item.scss +6 -6
  270. package/navbar/navbar.component.d.ts +7 -5
  271. package/navbar/navbar.scss +1 -1
  272. package/navbar/vertical-navbar.scss +2 -2
  273. package/package.json +14 -7
  274. package/popover/_popover-theme.scss +7 -7
  275. package/popover/popover.scss +17 -18
  276. package/prebuilt-themes/dark-theme.css +1 -1
  277. package/prebuilt-themes/light-theme.css +1 -1
  278. package/prebuilt-themes/theme.css +1 -1
  279. package/progress-bar/_progress-bar-theme.scss +4 -4
  280. package/progress-bar/progress-bar.scss +5 -5
  281. package/progress-spinner/_progress-spinner-theme.scss +3 -3
  282. package/progress-spinner/progress-spinner.scss +7 -7
  283. package/radio/_radio-theme.scss +9 -9
  284. package/radio/radio.scss +14 -14
  285. package/risk-level/_risk-level-theme.scss +5 -5
  286. package/risk-level/risk-level.component.scss +3 -3
  287. package/schematics/ng-add/index.js +23 -6
  288. package/scrollbar/_scrollbar-component-theme.scss +12 -12
  289. package/scrollbar/scrollbar.component.scss +6 -6
  290. package/select/_select-theme.scss +9 -9
  291. package/select/select.component.d.ts +1 -2
  292. package/select/select.scss +2 -2
  293. package/sidepanel/_sidepanel-theme.scss +4 -4
  294. package/sidepanel/sidepanel.scss +14 -16
  295. package/splitter/_splitter-theme.scss +1 -1
  296. package/table/_table-theme.scss +5 -5
  297. package/table/table.scss +12 -12
  298. package/tabs/_tabs-common.scss +3 -3
  299. package/tabs/_tabs-theme.scss +13 -13
  300. package/tabs/paginated-tab-header.d.ts +1 -3
  301. package/tabs/tab-group.scss +1 -1
  302. package/tabs/tab-header.scss +3 -2
  303. package/tabs/tab-nav-bar/tab-nav-bar.scss +1 -1
  304. package/tags/_tag-theme.scss +5 -5
  305. package/tags/tag-list.component.d.ts +1 -2
  306. package/tags/tag-list.scss +5 -5
  307. package/tags/tag.scss +4 -4
  308. package/textarea/textarea.scss +2 -2
  309. package/timepicker/timepicker.scss +1 -1
  310. package/timezone/_timezone-option-theme.scss +3 -3
  311. package/timezone/timezone-option.component.scss +4 -4
  312. package/timezone/timezone-select.component.scss +1 -1
  313. package/toast/_toast-theme.scss +4 -4
  314. package/toast/toast-container.component.scss +3 -3
  315. package/toast/toast.component.d.ts +0 -1
  316. package/toast/toast.component.scss +21 -21
  317. package/toggle/_toggle-theme.scss +8 -8
  318. package/toggle/toggle.scss +8 -8
  319. package/tooltip/_tooltip-theme.scss +5 -5
  320. package/tooltip/tooltip.scss +7 -7
  321. package/tree/_tree-theme.scss +6 -6
  322. package/tree/padding.directive.d.ts +2 -4
  323. package/tree/toggle.scss +2 -2
  324. package/tree/tree-base.d.ts +2 -3
  325. package/tree/tree-option.scss +4 -4
  326. package/tree/tree-selection.component.d.ts +2 -4
  327. package/tree-select/_tree-select-theme.scss +7 -7
  328. package/tree-select/tree-select.component.d.ts +1 -2
@@ -93,7 +93,7 @@ class KbqMarkdown {
93
93
  class="markdown-output"
94
94
  [innerHtml]="resultHtml"
95
95
  ></div>
96
- `, isInline: true, styles: ["@charset \"UTF-8\";.kbq-markdown{display:block}.kbq-markdown .markdown-input{display:none}.kbq-markdown .markdown-output{flex:1}.kbq-markdown .kbq-markdown__h1{margin-top:var(--kbq-markdown-h1-size-margin-top, 0);margin-bottom:var(--kbq-markdown-h1-size-margin-bottom, 16px)}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h2{margin-top:var(--kbq-markdown-h2-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h2-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h3{margin-top:var(--kbq-markdown-h3-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h3-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h4{margin-top:var(--kbq-markdown-h4-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h4-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h5{margin-top:var(--kbq-markdown-h5-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h5-size-margin-bottom, 8px)}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h6{margin-top:var(--kbq-markdown-h6-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h6-size-margin-bottom, 8px)}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__a{display:inline-block;text-decoration:none;cursor:pointer;border-bottom-style:solid;border-bottom-width:1px;transition:color ease-out .3s}.kbq-markdown .kbq-markdown__p{margin-top:var(--kbq-markdown-p-size-margin-top, 12px);margin-bottom:var(--kbq-markdown-p-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__ul,.kbq-markdown .kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top, 12px);margin-bottom:var(--kbq-markdown-list-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__ul>li,.kbq-markdown .kbq-markdown__ol>li{margin-bottom:var(--kbq-markdown-list-size-item-margin-bottom, 4px)}.kbq-markdown .kbq-markdown__ul{position:relative;list-style:none;padding:var(--kbq-markdown-list-size-ul-padding, 0 0 0 24px)}.kbq-markdown .kbq-markdown__ul>li:before{content:\"\\2014\";display:block;position:absolute;width:24px;text-align:left;left:0}.kbq-markdown .kbq-markdown__ol{list-style:none;padding:0;counter-reset:li}.kbq-markdown .kbq-markdown__ol>li:before{content:counter(li) \".\";counter-increment:li;padding-right:var(--kbq-markdown-list-size-ol-number-padding-right, 4px)}.kbq-markdown .kbq-markdown__ol>li>*{display:inline-block}.kbq-markdown .kbq-markdown__p+.kbq-markdown__ul,.kbq-markdown .kbq-markdown__p+.kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top-after-paragraph, -8px)}.kbq-markdown .kbq-markdown__blockquote{margin-top:var(--kbq-markdown-blockquote-size-margin-top, 12px);margin-left:0;margin-bottom:var(--kbq-markdown-blockquote-size-margin-bottom, 12px);margin-right:0;border-left-width:var(--kbq-markdown-blockquote-size-line-width, 4px);border-left-style:solid;padding:var(--kbq-markdown-blockquote-size-padding, 2px 12px)}.kbq-markdown .kbq-markdown__blockquote>.kbq-markdown__p{margin-top:0;margin-bottom:0}.kbq-markdown .kbq-markdown__pre{position:relative;overflow-x:auto;margin-top:var(--kbq-markdown-code-size-multiline-margin-top, 12px);margin-bottom:var(--kbq-markdown-code-size-multiline-margin-bottom, 24px);padding:var(--kbq-markdown-code-size-multiline-padding, 12px 16px)}.kbq-markdown .kbq-markdown__pre,.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{border-radius:var(--kbq-markdown-code-size-border-radius, 8px);border-width:var(--kbq-markdown-code-size-border-width, 1px);border-style:solid}.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{padding:var(--kbq-markdown-code-size-inline-padding, 0 4px)}.kbq-markdown .kbq-markdown__img{max-width:100%;margin-top:var(--kbq-markdown-image-size-margin-top, 12px);margin-bottom:var(--kbq-markdown-image-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__img+em{display:block;margin-top:var(--kbq-markdown-image-size-caption-margin-top, -8px);margin-bottom:var(--kbq-markdown-image-size-caption-margin-bottom, 24px)}.kbq-markdown .kbq-markdown__hr{border-top:none;border-left:none;border-right:none;border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-hr-size-width, 1px);margin:var(--kbq-markdown-hr-size-margin-vertical, 24px) 0}.kbq-markdown .kbq-markdown__table{max-width:100%;overflow-x:auto;display:table;border-collapse:collapse;margin-bottom:var(--kbq-markdown-table-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__table td{vertical-align:top}.kbq-markdown .kbq-markdown__table th,.kbq-markdown .kbq-markdown__table td{padding:var(--kbq-markdown-table-size-padding, 8px);font-weight:400}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead{border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-table-size-border-width, 1px);text-align:left}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:last-child{padding-right:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:last-child{padding-right:0}.docs-live-example.kbq-markdown{margin-bottom:128px}\n", ".kbq-markdown{--kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h1-size-margin-top: 0;--kbq-markdown-h1-size-margin-bottom: var(--kbq-size-l);--kbq-markdown-h1-font-default-font-size: var(--kbq-md-typography-md-h1-font-size);--kbq-markdown-h1-font-default-line-height: var(--kbq-md-typography-md-h1-line-height);--kbq-markdown-h1-font-default-letter-spacing: var(--kbq-md-typography-md-h1-letter-spacing);--kbq-markdown-h1-font-default-font-weight: var(--kbq-md-typography-md-h1-font-weight);--kbq-markdown-h1-font-default-font-family: var(--kbq-md-typography-md-h1-font-family);--kbq-markdown-h1-font-default-text-transform: var(--kbq-md-typography-md-h1-text-transform);--kbq-markdown-h1-font-default-font-feature-settings: var(--kbq-md-typography-md-h1-font-feature-settings);--kbq-markdown-h2-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h2-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h2-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h2-font-default-font-size: var(--kbq-md-typography-md-h2-font-size);--kbq-markdown-h2-font-default-line-height: var(--kbq-md-typography-md-h2-line-height);--kbq-markdown-h2-font-default-letter-spacing: var(--kbq-md-typography-md-h2-letter-spacing);--kbq-markdown-h2-font-default-font-weight: var(--kbq-md-typography-md-h2-font-weight);--kbq-markdown-h2-font-default-font-family: var(--kbq-md-typography-md-h2-font-family);--kbq-markdown-h2-font-default-text-transform: var(--kbq-md-typography-md-h2-text-transform);--kbq-markdown-h2-font-default-font-feature-settings: var(--kbq-md-typography-md-h2-font-feature-settings);--kbq-markdown-h3-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h3-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h3-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h3-font-default-font-size: var(--kbq-md-typography-md-h3-font-size);--kbq-markdown-h3-font-default-line-height: var(--kbq-md-typography-md-h3-line-height);--kbq-markdown-h3-font-default-letter-spacing: var(--kbq-md-typography-md-h3-letter-spacing);--kbq-markdown-h3-font-default-font-weight: var(--kbq-md-typography-md-h3-font-weight);--kbq-markdown-h3-font-default-font-family: var(--kbq-md-typography-md-h3-font-family);--kbq-markdown-h3-font-default-text-transform: var(--kbq-md-typography-md-h3-text-transform);--kbq-markdown-h3-font-default-font-feature-settings: var(--kbq-md-typography-md-h3-font-feature-settings);--kbq-markdown-h4-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h4-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h4-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h4-font-default-font-size: var(--kbq-md-typography-md-h4-font-size);--kbq-markdown-h4-font-default-line-height: var(--kbq-md-typography-md-h4-line-height);--kbq-markdown-h4-font-default-letter-spacing: var(--kbq-md-typography-md-h4-letter-spacing);--kbq-markdown-h4-font-default-font-weight: var(--kbq-md-typography-md-h4-font-weight);--kbq-markdown-h4-font-default-font-family: var(--kbq-md-typography-md-h4-font-family);--kbq-markdown-h4-font-default-text-transform: var(--kbq-md-typography-md-h4-text-transform);--kbq-markdown-h4-font-default-font-feature-settings: var(--kbq-md-typography-md-h4-font-feature-settings);--kbq-markdown-h5-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h5-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h5-size-margin-bottom: var(--kbq-size-s);--kbq-markdown-h5-font-default-font-size: var(--kbq-md-typography-md-h5-font-size);--kbq-markdown-h5-font-default-line-height: var(--kbq-md-typography-md-h5-line-height);--kbq-markdown-h5-font-default-letter-spacing: var(--kbq-md-typography-md-h5-letter-spacing);--kbq-markdown-h5-font-default-font-weight: var(--kbq-md-typography-md-h5-font-weight);--kbq-markdown-h5-font-default-font-family: var(--kbq-md-typography-md-h5-font-family);--kbq-markdown-h5-font-default-text-transform: var(--kbq-md-typography-md-h5-text-transform);--kbq-markdown-h5-font-default-font-feature-settings: var(--kbq-md-typography-md-h5-font-feature-settings);--kbq-markdown-h6-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h6-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h6-size-margin-bottom: var(--kbq-size-s);--kbq-markdown-h6-font-default-font-size: var(--kbq-md-typography-md-h6-font-size);--kbq-markdown-h6-font-default-line-height: var(--kbq-md-typography-md-h6-line-height);--kbq-markdown-h6-font-default-letter-spacing: var(--kbq-md-typography-md-h6-letter-spacing);--kbq-markdown-h6-font-default-font-weight: var(--kbq-md-typography-md-h6-font-weight);--kbq-markdown-h6-font-default-font-family: var(--kbq-md-typography-md-h6-font-family);--kbq-markdown-h6-font-default-text-transform: var(--kbq-md-typography-md-h6-text-transform);--kbq-markdown-h6-font-default-font-feature-settings: var(--kbq-md-typography-md-h6-font-feature-settings);--kbq-markdown-p-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-p-size-margin-top: var(--kbq-size-m);--kbq-markdown-p-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-p-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-p-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-p-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-p-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-p-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-p-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-p-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-list-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-list-size-margin-top: var(--kbq-size-m);--kbq-markdown-list-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-list-size-margin-top-after-paragraph: -var(--kbq-size-s);--kbq-markdown-list-size-ol-number-padding-right: var(--kbq-size-xxs);--kbq-markdown-list-size-ul-padding: 0 0 0 var(--kbq-size-xxl);--kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-xxs);--kbq-markdown-list-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-list-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-list-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-list-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-list-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-list-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-list-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-blockquote-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-blockquote-size-margin-top: var(--kbq-size-m);--kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-blockquote-size-padding: var(--kbq-size-3xs) var(--kbq-size-m);--kbq-markdown-blockquote-size-line-width: var(--kbq-size-xxs);--kbq-markdown-blockquote-size-border-radius: 0;--kbq-markdown-blockquote-size-border-width: 0;--kbq-markdown-blockquote-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-blockquote-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-blockquote-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-blockquote-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-blockquote-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-blockquote-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-blockquote-font-default-font-feature-settings: var( --kbq-md-typography-md-body-font-feature-settings );--kbq-markdown-code-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-m);--kbq-markdown-code-size-multiline-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-code-size-inline-padding: 0 var(--kbq-size-xxs);--kbq-markdown-code-size-multiline-padding: var(--kbq-size-m) var(--kbq-size-l);--kbq-markdown-code-size-border-radius: var(--kbq-size-border-radius);--kbq-markdown-code-size-border-width: var(--kbq-size-border-width);--kbq-markdown-code-font-default-font-size: var(--kbq-md-typography-md-body-mono-font-size);--kbq-markdown-code-font-default-line-height: var(--kbq-md-typography-md-body-mono-line-height);--kbq-markdown-code-font-default-letter-spacing: var(--kbq-md-typography-md-body-mono-letter-spacing);--kbq-markdown-code-font-default-font-weight: var(--kbq-md-typography-md-body-mono-font-weight);--kbq-markdown-code-font-default-font-family: var(--kbq-md-typography-md-body-mono-font-family);--kbq-markdown-code-font-default-text-transform: var(--kbq-md-typography-md-body-mono-text-transform);--kbq-markdown-code-font-default-font-feature-settings: var(--kbq-md-typography-md-body-mono-font-feature-settings);--kbq-markdown-link-size-icon-margin: var(--kbq-link-size-normal-content-padding);--kbq-markdown-link-size-state-focused-outline-offset: var(--kbq-link-size-state-focused-outline-offset);--kbq-markdown-link-size-state-focused-outline-width: var(--kbq-link-size-state-focused-outline-width);--kbq-markdown-link-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-link-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-link-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-link-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-link-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-link-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-link-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-image-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-image-size-margin-top: var(--kbq-size-m);--kbq-markdown-image-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-image-size-caption-margin-top: -var(--kbq-size-s);--kbq-markdown-image-size-caption-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-image-font-caption-font-size: var(--kbq-md-typography-md-caption-font-size);--kbq-markdown-image-font-caption-line-height: var(--kbq-md-typography-md-caption-line-height);--kbq-markdown-image-font-caption-letter-spacing: var(--kbq-md-typography-md-caption-letter-spacing);--kbq-markdown-image-font-caption-font-weight: var(--kbq-md-typography-md-caption-font-weight);--kbq-markdown-image-font-caption-font-family: var(--kbq-md-typography-md-caption-font-family);--kbq-markdown-image-font-caption-text-transform: var(--kbq-md-typography-md-caption-text-transform);--kbq-markdown-image-font-caption-font-feature-settings: var(--kbq-md-typography-md-caption-font-feature-settings);--kbq-markdown-hr-size-width: 1px;--kbq-markdown-hr-size-margin-vertical: var(--kbq-size-xxl);--kbq-markdown-table-size-border-width: var(--kbq-size-border-width);--kbq-markdown-table-size-padding: var(--kbq-size-s);--kbq-markdown-table-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-table-font-header-font-size: var(--kbq-md-typography-md-table-header-font-size);--kbq-markdown-table-font-header-line-height: var(--kbq-md-typography-md-table-header-line-height);--kbq-markdown-table-font-header-letter-spacing: var(--kbq-md-typography-md-table-header-letter-spacing);--kbq-markdown-table-font-header-font-weight: var(--kbq-md-typography-md-table-header-font-weight);--kbq-markdown-table-font-header-font-family: var(--kbq-md-typography-md-table-header-font-family);--kbq-markdown-table-font-header-text-transform: var(--kbq-md-typography-md-table-header-text-transform);--kbq-markdown-table-font-header-font-feature-settings: var( --kbq-md-typography-md-table-header-font-feature-settings );--kbq-markdown-table-font-body-font-size: var(--kbq-md-typography-md-table-cell-font-size);--kbq-markdown-table-font-body-line-height: var(--kbq-md-typography-md-table-cell-line-height);--kbq-markdown-table-font-body-letter-spacing: var(--kbq-md-typography-md-table-cell-letter-spacing);--kbq-markdown-table-font-body-font-weight: var(--kbq-md-typography-md-table-cell-font-weight);--kbq-markdown-table-font-body-font-family: var(--kbq-md-typography-md-table-cell-font-family);--kbq-markdown-table-font-body-text-transform: var(--kbq-md-typography-md-table-cell-text-transform);--kbq-markdown-table-font-body-font-feature-settings: var(--kbq-md-typography-md-table-cell-font-feature-settings);--kbq-markdown-size-max-width: 650px;--kbq-markdown-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: transparent;--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: transparent;--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
96
+ `, isInline: true, styles: ["@charset \"UTF-8\";.kbq-markdown{display:block}.kbq-markdown .markdown-input{display:none}.kbq-markdown .markdown-output{flex:1}.kbq-markdown .kbq-markdown__h1{margin-top:var(--kbq-markdown-h1-size-margin-top);margin-bottom:var(--kbq-markdown-h1-size-margin-bottom)}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h2{margin-top:var(--kbq-markdown-h2-size-margin-top);margin-bottom:var(--kbq-markdown-h2-size-margin-bottom)}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h3{margin-top:var(--kbq-markdown-h3-size-margin-top);margin-bottom:var(--kbq-markdown-h3-size-margin-bottom)}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h4{margin-top:var(--kbq-markdown-h4-size-margin-top);margin-bottom:var(--kbq-markdown-h4-size-margin-bottom)}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h5{margin-top:var(--kbq-markdown-h5-size-margin-top);margin-bottom:var(--kbq-markdown-h5-size-margin-bottom)}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h6{margin-top:var(--kbq-markdown-h6-size-margin-top);margin-bottom:var(--kbq-markdown-h6-size-margin-bottom)}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__a{display:inline-block;text-decoration:none;cursor:pointer;border-bottom-style:solid;border-bottom-width:1px;transition:color ease-out .3s}.kbq-markdown .kbq-markdown__p{margin-top:var(--kbq-markdown-p-size-margin-top);margin-bottom:var(--kbq-markdown-p-size-margin-bottom)}.kbq-markdown .kbq-markdown__ul,.kbq-markdown .kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top);margin-bottom:var(--kbq-markdown-list-size-margin-bottom)}.kbq-markdown .kbq-markdown__ul>li,.kbq-markdown .kbq-markdown__ol>li{margin-bottom:var(--kbq-markdown-list-size-item-margin-bottom)}.kbq-markdown .kbq-markdown__ul{position:relative;list-style:none;padding:var(--kbq-markdown-list-size-ul-padding)}.kbq-markdown .kbq-markdown__ul>li:before{content:\"\\2014\";display:block;position:absolute;width:24px;text-align:left;left:0}.kbq-markdown .kbq-markdown__ol{list-style:none;padding:0;counter-reset:li}.kbq-markdown .kbq-markdown__ol>li:before{content:counter(li) \".\";counter-increment:li;padding-right:var(--kbq-markdown-list-size-ol-number-padding-right)}.kbq-markdown .kbq-markdown__ol>li>*{display:inline-block}.kbq-markdown .kbq-markdown__p+.kbq-markdown__ul,.kbq-markdown .kbq-markdown__p+.kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top-after-paragraph)}.kbq-markdown .kbq-markdown__blockquote{margin-top:var(--kbq-markdown-blockquote-size-margin-top);margin-left:0;margin-bottom:var(--kbq-markdown-blockquote-size-margin-bottom);margin-right:0;border-left-width:var(--kbq-markdown-blockquote-size-line-width);border-left-style:solid;padding:var(--kbq-markdown-blockquote-size-padding)}.kbq-markdown .kbq-markdown__blockquote>.kbq-markdown__p{margin-top:0;margin-bottom:0}.kbq-markdown .kbq-markdown__pre{position:relative;overflow-x:auto;margin-top:var(--kbq-markdown-code-size-multiline-margin-top);margin-bottom:var(--kbq-markdown-code-size-multiline-margin-bottom);padding:var(--kbq-markdown-code-size-multiline-padding)}.kbq-markdown .kbq-markdown__pre,.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{border-radius:var(--kbq-markdown-code-size-border-radius);border-width:var(--kbq-markdown-code-size-border-width);border-style:solid}.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{padding:var(--kbq-markdown-code-size-inline-padding)}.kbq-markdown .kbq-markdown__img{max-width:100%;margin-top:var(--kbq-markdown-image-size-margin-top);margin-bottom:var(--kbq-markdown-image-size-margin-bottom)}.kbq-markdown .kbq-markdown__img+em{display:block;margin-top:var(--kbq-markdown-image-size-caption-margin-top);margin-bottom:var(--kbq-markdown-image-size-caption-margin-bottom)}.kbq-markdown .kbq-markdown__hr{border-top:none;border-left:none;border-right:none;border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-hr-size-width);margin:var(--kbq-markdown-hr-size-margin-vertical) 0}.kbq-markdown .kbq-markdown__table{max-width:100%;overflow-x:auto;display:table;border-collapse:collapse;margin-bottom:var(--kbq-markdown-table-size-margin-bottom)}.kbq-markdown .kbq-markdown__table td{vertical-align:top}.kbq-markdown .kbq-markdown__table th,.kbq-markdown .kbq-markdown__table td{padding:var(--kbq-markdown-table-size-padding);font-weight:400}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead{border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-table-size-border-width);text-align:left}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:last-child{padding-right:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:last-child{padding-right:0}.docs-live-example.kbq-markdown{margin-bottom:128px}\n", ".kbq-markdown{--kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h1-size-margin-top: 0;--kbq-markdown-h1-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h1-font-default-font-size: var(--kbq-md-typography-md-h1-font-size);--kbq-markdown-h1-font-default-line-height: var(--kbq-md-typography-md-h1-line-height);--kbq-markdown-h1-font-default-letter-spacing: var(--kbq-md-typography-md-h1-letter-spacing);--kbq-markdown-h1-font-default-font-weight: var(--kbq-md-typography-md-h1-font-weight);--kbq-markdown-h1-font-default-font-family: var(--kbq-md-typography-md-h1-font-family);--kbq-markdown-h1-font-default-text-transform: var(--kbq-md-typography-md-h1-text-transform);--kbq-markdown-h1-font-default-font-feature-settings: var(--kbq-md-typography-md-h1-font-feature-settings);--kbq-markdown-h2-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h2-size-margin-top: var(--kbq-size-3xl);--kbq-markdown-h2-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h2-font-default-font-size: var(--kbq-md-typography-md-h2-font-size);--kbq-markdown-h2-font-default-line-height: var(--kbq-md-typography-md-h2-line-height);--kbq-markdown-h2-font-default-letter-spacing: var(--kbq-md-typography-md-h2-letter-spacing);--kbq-markdown-h2-font-default-font-weight: var(--kbq-md-typography-md-h2-font-weight);--kbq-markdown-h2-font-default-font-family: var(--kbq-md-typography-md-h2-font-family);--kbq-markdown-h2-font-default-text-transform: var(--kbq-md-typography-md-h2-text-transform);--kbq-markdown-h2-font-default-font-feature-settings: var(--kbq-md-typography-md-h2-font-feature-settings);--kbq-markdown-h3-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h3-size-margin-top: 28px;--kbq-markdown-h3-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h3-font-default-font-size: var(--kbq-md-typography-md-h3-font-size);--kbq-markdown-h3-font-default-line-height: var(--kbq-md-typography-md-h3-line-height);--kbq-markdown-h3-font-default-letter-spacing: var(--kbq-md-typography-md-h3-letter-spacing);--kbq-markdown-h3-font-default-font-weight: var(--kbq-md-typography-md-h3-font-weight);--kbq-markdown-h3-font-default-font-family: var(--kbq-md-typography-md-h3-font-family);--kbq-markdown-h3-font-default-text-transform: var(--kbq-md-typography-md-h3-text-transform);--kbq-markdown-h3-font-default-font-feature-settings: var(--kbq-md-typography-md-h3-font-feature-settings);--kbq-markdown-h4-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h4-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h4-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h4-font-default-font-size: var(--kbq-md-typography-md-h4-font-size);--kbq-markdown-h4-font-default-line-height: var(--kbq-md-typography-md-h4-line-height);--kbq-markdown-h4-font-default-letter-spacing: var(--kbq-md-typography-md-h4-letter-spacing);--kbq-markdown-h4-font-default-font-weight: var(--kbq-md-typography-md-h4-font-weight);--kbq-markdown-h4-font-default-font-family: var(--kbq-md-typography-md-h4-font-family);--kbq-markdown-h4-font-default-text-transform: var(--kbq-md-typography-md-h4-text-transform);--kbq-markdown-h4-font-default-font-feature-settings: var(--kbq-md-typography-md-h4-font-feature-settings);--kbq-markdown-h5-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h5-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h5-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h5-font-default-font-size: var(--kbq-md-typography-md-h5-font-size);--kbq-markdown-h5-font-default-line-height: var(--kbq-md-typography-md-h5-line-height);--kbq-markdown-h5-font-default-letter-spacing: var(--kbq-md-typography-md-h5-letter-spacing);--kbq-markdown-h5-font-default-font-weight: var(--kbq-md-typography-md-h5-font-weight);--kbq-markdown-h5-font-default-font-family: var(--kbq-md-typography-md-h5-font-family);--kbq-markdown-h5-font-default-text-transform: var(--kbq-md-typography-md-h5-text-transform);--kbq-markdown-h5-font-default-font-feature-settings: var(--kbq-md-typography-md-h5-font-feature-settings);--kbq-markdown-h6-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h6-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h6-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h6-font-default-font-size: var(--kbq-md-typography-md-h6-font-size);--kbq-markdown-h6-font-default-line-height: var(--kbq-md-typography-md-h6-line-height);--kbq-markdown-h6-font-default-letter-spacing: var(--kbq-md-typography-md-h6-letter-spacing);--kbq-markdown-h6-font-default-font-weight: var(--kbq-md-typography-md-h6-font-weight);--kbq-markdown-h6-font-default-font-family: var(--kbq-md-typography-md-h6-font-family);--kbq-markdown-h6-font-default-text-transform: var(--kbq-md-typography-md-h6-text-transform);--kbq-markdown-h6-font-default-font-feature-settings: var(--kbq-md-typography-md-h6-font-feature-settings);--kbq-markdown-p-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-p-size-margin-top: var(--kbq-size-m);--kbq-markdown-p-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-p-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-p-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-p-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-p-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-p-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-p-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-p-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-list-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-list-size-margin-top: var(--kbq-size-m);--kbq-markdown-list-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-list-size-margin-top-after-paragraph: -var(--kbq-size-s);--kbq-markdown-list-size-ol-number-padding-right: var(--kbq-size-xxs);--kbq-markdown-list-size-ul-padding: 0 0 0 var(--kbq-size-xxl);--kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-s);--kbq-markdown-list-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-list-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-list-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-list-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-list-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-list-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-list-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-blockquote-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-blockquote-size-margin-top: var(--kbq-size-xl);--kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-blockquote-size-padding: var(--kbq-size-m) var(--kbq-size-l);--kbq-markdown-blockquote-size-line-width: var(--kbq-size-xxs);--kbq-markdown-blockquote-size-border-radius: 0;--kbq-markdown-blockquote-size-border-width: 0;--kbq-markdown-blockquote-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-blockquote-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-blockquote-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-blockquote-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-blockquote-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-blockquote-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-blockquote-font-default-font-feature-settings: var( --kbq-md-typography-md-body-font-feature-settings );--kbq-markdown-code-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-s);--kbq-markdown-code-size-multiline-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-code-size-inline-padding: 0 var(--kbq-size-xxs);--kbq-markdown-code-size-multiline-padding: 14px var(--kbq-size-xl);--kbq-markdown-code-size-border-radius: var(--kbq-size-border-radius);--kbq-markdown-code-size-border-width: var(--kbq-size-border-width);--kbq-markdown-code-font-default-font-size: var(--kbq-md-typography-md-body-mono-font-size);--kbq-markdown-code-font-default-line-height: var(--kbq-md-typography-md-body-mono-line-height);--kbq-markdown-code-font-default-letter-spacing: var(--kbq-md-typography-md-body-mono-letter-spacing);--kbq-markdown-code-font-default-font-weight: var(--kbq-md-typography-md-body-mono-font-weight);--kbq-markdown-code-font-default-font-family: var(--kbq-md-typography-md-body-mono-font-family);--kbq-markdown-code-font-default-text-transform: var(--kbq-md-typography-md-body-mono-text-transform);--kbq-markdown-code-font-default-font-feature-settings: var(--kbq-md-typography-md-body-mono-font-feature-settings);--kbq-markdown-link-size-icon-margin: var(--kbq-link-size-normal-content-padding);--kbq-markdown-link-size-state-focused-outline-offset: var(--kbq-link-size-state-focused-outline-offset);--kbq-markdown-link-size-state-focused-outline-width: var(--kbq-link-size-state-focused-outline-width);--kbq-markdown-link-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-link-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-link-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-link-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-link-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-link-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-link-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-image-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-image-size-margin-top: var(--kbq-size-s);--kbq-markdown-image-size-margin-bottom: var(--kbq-size-s);--kbq-markdown-image-size-caption-margin-top: -var(--kbq-size-s);--kbq-markdown-image-size-caption-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-image-font-caption-font-size: var(--kbq-md-typography-md-caption-font-size);--kbq-markdown-image-font-caption-line-height: var(--kbq-md-typography-md-caption-line-height);--kbq-markdown-image-font-caption-letter-spacing: var(--kbq-md-typography-md-caption-letter-spacing);--kbq-markdown-image-font-caption-font-weight: var(--kbq-md-typography-md-caption-font-weight);--kbq-markdown-image-font-caption-font-family: var(--kbq-md-typography-md-caption-font-family);--kbq-markdown-image-font-caption-text-transform: var(--kbq-md-typography-md-caption-text-transform);--kbq-markdown-image-font-caption-font-feature-settings: var(--kbq-md-typography-md-caption-font-feature-settings);--kbq-markdown-hr-size-width: 1px;--kbq-markdown-hr-size-margin-vertical: var(--kbq-size-l);--kbq-markdown-table-size-border-width: var(--kbq-size-border-width);--kbq-markdown-table-size-padding: var(--kbq-size-s);--kbq-markdown-table-size-margin-bottom: var(--kbq-size-l);--kbq-markdown-table-font-header-font-size: var(--kbq-md-typography-md-table-header-font-size);--kbq-markdown-table-font-header-line-height: var(--kbq-md-typography-md-table-header-line-height);--kbq-markdown-table-font-header-letter-spacing: var(--kbq-md-typography-md-table-header-letter-spacing);--kbq-markdown-table-font-header-font-weight: var(--kbq-md-typography-md-table-header-font-weight);--kbq-markdown-table-font-header-font-family: var(--kbq-md-typography-md-table-header-font-family);--kbq-markdown-table-font-header-text-transform: var(--kbq-md-typography-md-table-header-text-transform);--kbq-markdown-table-font-header-font-feature-settings: var( --kbq-md-typography-md-table-header-font-feature-settings );--kbq-markdown-table-font-body-font-size: var(--kbq-md-typography-md-table-cell-font-size);--kbq-markdown-table-font-body-line-height: var(--kbq-md-typography-md-table-cell-line-height);--kbq-markdown-table-font-body-letter-spacing: var(--kbq-md-typography-md-table-cell-letter-spacing);--kbq-markdown-table-font-body-font-weight: var(--kbq-md-typography-md-table-cell-font-weight);--kbq-markdown-table-font-body-font-family: var(--kbq-md-typography-md-table-cell-font-family);--kbq-markdown-table-font-body-text-transform: var(--kbq-md-typography-md-table-cell-text-transform);--kbq-markdown-table-font-body-font-feature-settings: var(--kbq-md-typography-md-table-cell-font-feature-settings);--kbq-markdown-size-max-width: 650px;--kbq-markdown-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
97
97
  }
98
98
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KbqMarkdown, decorators: [{
99
99
  type: Component,
@@ -109,7 +109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImpor
109
109
  ></div>
110
110
  `, host: {
111
111
  class: 'kbq-markdown'
112
- }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["@charset \"UTF-8\";.kbq-markdown{display:block}.kbq-markdown .markdown-input{display:none}.kbq-markdown .markdown-output{flex:1}.kbq-markdown .kbq-markdown__h1{margin-top:var(--kbq-markdown-h1-size-margin-top, 0);margin-bottom:var(--kbq-markdown-h1-size-margin-bottom, 16px)}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h2{margin-top:var(--kbq-markdown-h2-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h2-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h3{margin-top:var(--kbq-markdown-h3-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h3-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h4{margin-top:var(--kbq-markdown-h4-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h4-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h5{margin-top:var(--kbq-markdown-h5-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h5-size-margin-bottom, 8px)}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h6{margin-top:var(--kbq-markdown-h6-size-margin-top, 24px);margin-bottom:var(--kbq-markdown-h6-size-margin-bottom, 8px)}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__a{display:inline-block;text-decoration:none;cursor:pointer;border-bottom-style:solid;border-bottom-width:1px;transition:color ease-out .3s}.kbq-markdown .kbq-markdown__p{margin-top:var(--kbq-markdown-p-size-margin-top, 12px);margin-bottom:var(--kbq-markdown-p-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__ul,.kbq-markdown .kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top, 12px);margin-bottom:var(--kbq-markdown-list-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__ul>li,.kbq-markdown .kbq-markdown__ol>li{margin-bottom:var(--kbq-markdown-list-size-item-margin-bottom, 4px)}.kbq-markdown .kbq-markdown__ul{position:relative;list-style:none;padding:var(--kbq-markdown-list-size-ul-padding, 0 0 0 24px)}.kbq-markdown .kbq-markdown__ul>li:before{content:\"\\2014\";display:block;position:absolute;width:24px;text-align:left;left:0}.kbq-markdown .kbq-markdown__ol{list-style:none;padding:0;counter-reset:li}.kbq-markdown .kbq-markdown__ol>li:before{content:counter(li) \".\";counter-increment:li;padding-right:var(--kbq-markdown-list-size-ol-number-padding-right, 4px)}.kbq-markdown .kbq-markdown__ol>li>*{display:inline-block}.kbq-markdown .kbq-markdown__p+.kbq-markdown__ul,.kbq-markdown .kbq-markdown__p+.kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top-after-paragraph, -8px)}.kbq-markdown .kbq-markdown__blockquote{margin-top:var(--kbq-markdown-blockquote-size-margin-top, 12px);margin-left:0;margin-bottom:var(--kbq-markdown-blockquote-size-margin-bottom, 12px);margin-right:0;border-left-width:var(--kbq-markdown-blockquote-size-line-width, 4px);border-left-style:solid;padding:var(--kbq-markdown-blockquote-size-padding, 2px 12px)}.kbq-markdown .kbq-markdown__blockquote>.kbq-markdown__p{margin-top:0;margin-bottom:0}.kbq-markdown .kbq-markdown__pre{position:relative;overflow-x:auto;margin-top:var(--kbq-markdown-code-size-multiline-margin-top, 12px);margin-bottom:var(--kbq-markdown-code-size-multiline-margin-bottom, 24px);padding:var(--kbq-markdown-code-size-multiline-padding, 12px 16px)}.kbq-markdown .kbq-markdown__pre,.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{border-radius:var(--kbq-markdown-code-size-border-radius, 8px);border-width:var(--kbq-markdown-code-size-border-width, 1px);border-style:solid}.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{padding:var(--kbq-markdown-code-size-inline-padding, 0 4px)}.kbq-markdown .kbq-markdown__img{max-width:100%;margin-top:var(--kbq-markdown-image-size-margin-top, 12px);margin-bottom:var(--kbq-markdown-image-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__img+em{display:block;margin-top:var(--kbq-markdown-image-size-caption-margin-top, -8px);margin-bottom:var(--kbq-markdown-image-size-caption-margin-bottom, 24px)}.kbq-markdown .kbq-markdown__hr{border-top:none;border-left:none;border-right:none;border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-hr-size-width, 1px);margin:var(--kbq-markdown-hr-size-margin-vertical, 24px) 0}.kbq-markdown .kbq-markdown__table{max-width:100%;overflow-x:auto;display:table;border-collapse:collapse;margin-bottom:var(--kbq-markdown-table-size-margin-bottom, 12px)}.kbq-markdown .kbq-markdown__table td{vertical-align:top}.kbq-markdown .kbq-markdown__table th,.kbq-markdown .kbq-markdown__table td{padding:var(--kbq-markdown-table-size-padding, 8px);font-weight:400}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead{border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-table-size-border-width, 1px);text-align:left}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:last-child{padding-right:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:last-child{padding-right:0}.docs-live-example.kbq-markdown{margin-bottom:128px}\n", ".kbq-markdown{--kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h1-size-margin-top: 0;--kbq-markdown-h1-size-margin-bottom: var(--kbq-size-l);--kbq-markdown-h1-font-default-font-size: var(--kbq-md-typography-md-h1-font-size);--kbq-markdown-h1-font-default-line-height: var(--kbq-md-typography-md-h1-line-height);--kbq-markdown-h1-font-default-letter-spacing: var(--kbq-md-typography-md-h1-letter-spacing);--kbq-markdown-h1-font-default-font-weight: var(--kbq-md-typography-md-h1-font-weight);--kbq-markdown-h1-font-default-font-family: var(--kbq-md-typography-md-h1-font-family);--kbq-markdown-h1-font-default-text-transform: var(--kbq-md-typography-md-h1-text-transform);--kbq-markdown-h1-font-default-font-feature-settings: var(--kbq-md-typography-md-h1-font-feature-settings);--kbq-markdown-h2-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h2-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h2-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h2-font-default-font-size: var(--kbq-md-typography-md-h2-font-size);--kbq-markdown-h2-font-default-line-height: var(--kbq-md-typography-md-h2-line-height);--kbq-markdown-h2-font-default-letter-spacing: var(--kbq-md-typography-md-h2-letter-spacing);--kbq-markdown-h2-font-default-font-weight: var(--kbq-md-typography-md-h2-font-weight);--kbq-markdown-h2-font-default-font-family: var(--kbq-md-typography-md-h2-font-family);--kbq-markdown-h2-font-default-text-transform: var(--kbq-md-typography-md-h2-text-transform);--kbq-markdown-h2-font-default-font-feature-settings: var(--kbq-md-typography-md-h2-font-feature-settings);--kbq-markdown-h3-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h3-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h3-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h3-font-default-font-size: var(--kbq-md-typography-md-h3-font-size);--kbq-markdown-h3-font-default-line-height: var(--kbq-md-typography-md-h3-line-height);--kbq-markdown-h3-font-default-letter-spacing: var(--kbq-md-typography-md-h3-letter-spacing);--kbq-markdown-h3-font-default-font-weight: var(--kbq-md-typography-md-h3-font-weight);--kbq-markdown-h3-font-default-font-family: var(--kbq-md-typography-md-h3-font-family);--kbq-markdown-h3-font-default-text-transform: var(--kbq-md-typography-md-h3-text-transform);--kbq-markdown-h3-font-default-font-feature-settings: var(--kbq-md-typography-md-h3-font-feature-settings);--kbq-markdown-h4-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h4-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h4-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h4-font-default-font-size: var(--kbq-md-typography-md-h4-font-size);--kbq-markdown-h4-font-default-line-height: var(--kbq-md-typography-md-h4-line-height);--kbq-markdown-h4-font-default-letter-spacing: var(--kbq-md-typography-md-h4-letter-spacing);--kbq-markdown-h4-font-default-font-weight: var(--kbq-md-typography-md-h4-font-weight);--kbq-markdown-h4-font-default-font-family: var(--kbq-md-typography-md-h4-font-family);--kbq-markdown-h4-font-default-text-transform: var(--kbq-md-typography-md-h4-text-transform);--kbq-markdown-h4-font-default-font-feature-settings: var(--kbq-md-typography-md-h4-font-feature-settings);--kbq-markdown-h5-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h5-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h5-size-margin-bottom: var(--kbq-size-s);--kbq-markdown-h5-font-default-font-size: var(--kbq-md-typography-md-h5-font-size);--kbq-markdown-h5-font-default-line-height: var(--kbq-md-typography-md-h5-line-height);--kbq-markdown-h5-font-default-letter-spacing: var(--kbq-md-typography-md-h5-letter-spacing);--kbq-markdown-h5-font-default-font-weight: var(--kbq-md-typography-md-h5-font-weight);--kbq-markdown-h5-font-default-font-family: var(--kbq-md-typography-md-h5-font-family);--kbq-markdown-h5-font-default-text-transform: var(--kbq-md-typography-md-h5-text-transform);--kbq-markdown-h5-font-default-font-feature-settings: var(--kbq-md-typography-md-h5-font-feature-settings);--kbq-markdown-h6-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h6-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h6-size-margin-bottom: var(--kbq-size-s);--kbq-markdown-h6-font-default-font-size: var(--kbq-md-typography-md-h6-font-size);--kbq-markdown-h6-font-default-line-height: var(--kbq-md-typography-md-h6-line-height);--kbq-markdown-h6-font-default-letter-spacing: var(--kbq-md-typography-md-h6-letter-spacing);--kbq-markdown-h6-font-default-font-weight: var(--kbq-md-typography-md-h6-font-weight);--kbq-markdown-h6-font-default-font-family: var(--kbq-md-typography-md-h6-font-family);--kbq-markdown-h6-font-default-text-transform: var(--kbq-md-typography-md-h6-text-transform);--kbq-markdown-h6-font-default-font-feature-settings: var(--kbq-md-typography-md-h6-font-feature-settings);--kbq-markdown-p-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-p-size-margin-top: var(--kbq-size-m);--kbq-markdown-p-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-p-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-p-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-p-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-p-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-p-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-p-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-p-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-list-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-list-size-margin-top: var(--kbq-size-m);--kbq-markdown-list-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-list-size-margin-top-after-paragraph: -var(--kbq-size-s);--kbq-markdown-list-size-ol-number-padding-right: var(--kbq-size-xxs);--kbq-markdown-list-size-ul-padding: 0 0 0 var(--kbq-size-xxl);--kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-xxs);--kbq-markdown-list-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-list-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-list-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-list-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-list-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-list-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-list-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-blockquote-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-blockquote-size-margin-top: var(--kbq-size-m);--kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-blockquote-size-padding: var(--kbq-size-3xs) var(--kbq-size-m);--kbq-markdown-blockquote-size-line-width: var(--kbq-size-xxs);--kbq-markdown-blockquote-size-border-radius: 0;--kbq-markdown-blockquote-size-border-width: 0;--kbq-markdown-blockquote-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-blockquote-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-blockquote-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-blockquote-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-blockquote-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-blockquote-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-blockquote-font-default-font-feature-settings: var( --kbq-md-typography-md-body-font-feature-settings );--kbq-markdown-code-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-m);--kbq-markdown-code-size-multiline-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-code-size-inline-padding: 0 var(--kbq-size-xxs);--kbq-markdown-code-size-multiline-padding: var(--kbq-size-m) var(--kbq-size-l);--kbq-markdown-code-size-border-radius: var(--kbq-size-border-radius);--kbq-markdown-code-size-border-width: var(--kbq-size-border-width);--kbq-markdown-code-font-default-font-size: var(--kbq-md-typography-md-body-mono-font-size);--kbq-markdown-code-font-default-line-height: var(--kbq-md-typography-md-body-mono-line-height);--kbq-markdown-code-font-default-letter-spacing: var(--kbq-md-typography-md-body-mono-letter-spacing);--kbq-markdown-code-font-default-font-weight: var(--kbq-md-typography-md-body-mono-font-weight);--kbq-markdown-code-font-default-font-family: var(--kbq-md-typography-md-body-mono-font-family);--kbq-markdown-code-font-default-text-transform: var(--kbq-md-typography-md-body-mono-text-transform);--kbq-markdown-code-font-default-font-feature-settings: var(--kbq-md-typography-md-body-mono-font-feature-settings);--kbq-markdown-link-size-icon-margin: var(--kbq-link-size-normal-content-padding);--kbq-markdown-link-size-state-focused-outline-offset: var(--kbq-link-size-state-focused-outline-offset);--kbq-markdown-link-size-state-focused-outline-width: var(--kbq-link-size-state-focused-outline-width);--kbq-markdown-link-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-link-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-link-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-link-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-link-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-link-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-link-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-image-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-image-size-margin-top: var(--kbq-size-m);--kbq-markdown-image-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-image-size-caption-margin-top: -var(--kbq-size-s);--kbq-markdown-image-size-caption-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-image-font-caption-font-size: var(--kbq-md-typography-md-caption-font-size);--kbq-markdown-image-font-caption-line-height: var(--kbq-md-typography-md-caption-line-height);--kbq-markdown-image-font-caption-letter-spacing: var(--kbq-md-typography-md-caption-letter-spacing);--kbq-markdown-image-font-caption-font-weight: var(--kbq-md-typography-md-caption-font-weight);--kbq-markdown-image-font-caption-font-family: var(--kbq-md-typography-md-caption-font-family);--kbq-markdown-image-font-caption-text-transform: var(--kbq-md-typography-md-caption-text-transform);--kbq-markdown-image-font-caption-font-feature-settings: var(--kbq-md-typography-md-caption-font-feature-settings);--kbq-markdown-hr-size-width: 1px;--kbq-markdown-hr-size-margin-vertical: var(--kbq-size-xxl);--kbq-markdown-table-size-border-width: var(--kbq-size-border-width);--kbq-markdown-table-size-padding: var(--kbq-size-s);--kbq-markdown-table-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-table-font-header-font-size: var(--kbq-md-typography-md-table-header-font-size);--kbq-markdown-table-font-header-line-height: var(--kbq-md-typography-md-table-header-line-height);--kbq-markdown-table-font-header-letter-spacing: var(--kbq-md-typography-md-table-header-letter-spacing);--kbq-markdown-table-font-header-font-weight: var(--kbq-md-typography-md-table-header-font-weight);--kbq-markdown-table-font-header-font-family: var(--kbq-md-typography-md-table-header-font-family);--kbq-markdown-table-font-header-text-transform: var(--kbq-md-typography-md-table-header-text-transform);--kbq-markdown-table-font-header-font-feature-settings: var( --kbq-md-typography-md-table-header-font-feature-settings );--kbq-markdown-table-font-body-font-size: var(--kbq-md-typography-md-table-cell-font-size);--kbq-markdown-table-font-body-line-height: var(--kbq-md-typography-md-table-cell-line-height);--kbq-markdown-table-font-body-letter-spacing: var(--kbq-md-typography-md-table-cell-letter-spacing);--kbq-markdown-table-font-body-font-weight: var(--kbq-md-typography-md-table-cell-font-weight);--kbq-markdown-table-font-body-font-family: var(--kbq-md-typography-md-table-cell-font-family);--kbq-markdown-table-font-body-text-transform: var(--kbq-md-typography-md-table-cell-text-transform);--kbq-markdown-table-font-body-font-feature-settings: var(--kbq-md-typography-md-table-cell-font-feature-settings);--kbq-markdown-size-max-width: 650px;--kbq-markdown-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: transparent;--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: transparent;--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}\n"] }]
112
+ }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["@charset \"UTF-8\";.kbq-markdown{display:block}.kbq-markdown .markdown-input{display:none}.kbq-markdown .markdown-output{flex:1}.kbq-markdown .kbq-markdown__h1{margin-top:var(--kbq-markdown-h1-size-margin-top);margin-bottom:var(--kbq-markdown-h1-size-margin-bottom)}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h1+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h2{margin-top:var(--kbq-markdown-h2-size-margin-top);margin-bottom:var(--kbq-markdown-h2-size-margin-bottom)}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h2+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h3{margin-top:var(--kbq-markdown-h3-size-margin-top);margin-bottom:var(--kbq-markdown-h3-size-margin-bottom)}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h3+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h4{margin-top:var(--kbq-markdown-h4-size-margin-top);margin-bottom:var(--kbq-markdown-h4-size-margin-bottom)}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h4+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h5{margin-top:var(--kbq-markdown-h5-size-margin-top);margin-bottom:var(--kbq-markdown-h5-size-margin-bottom)}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h5+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__h6{margin-top:var(--kbq-markdown-h6-size-margin-top);margin-bottom:var(--kbq-markdown-h6-size-margin-bottom)}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h1{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h2{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h3{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h4{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h5{margin-top:0}.kbq-markdown .kbq-markdown__h6+.kbq-markdown__h6{margin-top:0}.kbq-markdown .kbq-markdown__a{display:inline-block;text-decoration:none;cursor:pointer;border-bottom-style:solid;border-bottom-width:1px;transition:color ease-out .3s}.kbq-markdown .kbq-markdown__p{margin-top:var(--kbq-markdown-p-size-margin-top);margin-bottom:var(--kbq-markdown-p-size-margin-bottom)}.kbq-markdown .kbq-markdown__ul,.kbq-markdown .kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top);margin-bottom:var(--kbq-markdown-list-size-margin-bottom)}.kbq-markdown .kbq-markdown__ul>li,.kbq-markdown .kbq-markdown__ol>li{margin-bottom:var(--kbq-markdown-list-size-item-margin-bottom)}.kbq-markdown .kbq-markdown__ul{position:relative;list-style:none;padding:var(--kbq-markdown-list-size-ul-padding)}.kbq-markdown .kbq-markdown__ul>li:before{content:\"\\2014\";display:block;position:absolute;width:24px;text-align:left;left:0}.kbq-markdown .kbq-markdown__ol{list-style:none;padding:0;counter-reset:li}.kbq-markdown .kbq-markdown__ol>li:before{content:counter(li) \".\";counter-increment:li;padding-right:var(--kbq-markdown-list-size-ol-number-padding-right)}.kbq-markdown .kbq-markdown__ol>li>*{display:inline-block}.kbq-markdown .kbq-markdown__p+.kbq-markdown__ul,.kbq-markdown .kbq-markdown__p+.kbq-markdown__ol{margin-top:var(--kbq-markdown-list-size-margin-top-after-paragraph)}.kbq-markdown .kbq-markdown__blockquote{margin-top:var(--kbq-markdown-blockquote-size-margin-top);margin-left:0;margin-bottom:var(--kbq-markdown-blockquote-size-margin-bottom);margin-right:0;border-left-width:var(--kbq-markdown-blockquote-size-line-width);border-left-style:solid;padding:var(--kbq-markdown-blockquote-size-padding)}.kbq-markdown .kbq-markdown__blockquote>.kbq-markdown__p{margin-top:0;margin-bottom:0}.kbq-markdown .kbq-markdown__pre{position:relative;overflow-x:auto;margin-top:var(--kbq-markdown-code-size-multiline-margin-top);margin-bottom:var(--kbq-markdown-code-size-multiline-margin-bottom);padding:var(--kbq-markdown-code-size-multiline-padding)}.kbq-markdown .kbq-markdown__pre,.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{border-radius:var(--kbq-markdown-code-size-border-radius);border-width:var(--kbq-markdown-code-size-border-width);border-style:solid}.kbq-markdown .kbq-markdown__p>.kbq-markdown__code{padding:var(--kbq-markdown-code-size-inline-padding)}.kbq-markdown .kbq-markdown__img{max-width:100%;margin-top:var(--kbq-markdown-image-size-margin-top);margin-bottom:var(--kbq-markdown-image-size-margin-bottom)}.kbq-markdown .kbq-markdown__img+em{display:block;margin-top:var(--kbq-markdown-image-size-caption-margin-top);margin-bottom:var(--kbq-markdown-image-size-caption-margin-bottom)}.kbq-markdown .kbq-markdown__hr{border-top:none;border-left:none;border-right:none;border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-hr-size-width);margin:var(--kbq-markdown-hr-size-margin-vertical) 0}.kbq-markdown .kbq-markdown__table{max-width:100%;overflow-x:auto;display:table;border-collapse:collapse;margin-bottom:var(--kbq-markdown-table-size-margin-bottom)}.kbq-markdown .kbq-markdown__table td{vertical-align:top}.kbq-markdown .kbq-markdown__table th,.kbq-markdown .kbq-markdown__table td{padding:var(--kbq-markdown-table-size-padding);font-weight:400}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead{border-bottom-style:solid;border-bottom-width:var(--kbq-markdown-table-size-border-width);text-align:left}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__thead th:last-child{padding-right:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:first-child{padding-left:0}.kbq-markdown .kbq-markdown__table>.kbq-markdown__tbody td:last-child{padding-right:0}.docs-live-example.kbq-markdown{margin-bottom:128px}\n", ".kbq-markdown{--kbq-markdown-h1-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h1-size-margin-top: 0;--kbq-markdown-h1-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h1-font-default-font-size: var(--kbq-md-typography-md-h1-font-size);--kbq-markdown-h1-font-default-line-height: var(--kbq-md-typography-md-h1-line-height);--kbq-markdown-h1-font-default-letter-spacing: var(--kbq-md-typography-md-h1-letter-spacing);--kbq-markdown-h1-font-default-font-weight: var(--kbq-md-typography-md-h1-font-weight);--kbq-markdown-h1-font-default-font-family: var(--kbq-md-typography-md-h1-font-family);--kbq-markdown-h1-font-default-text-transform: var(--kbq-md-typography-md-h1-text-transform);--kbq-markdown-h1-font-default-font-feature-settings: var(--kbq-md-typography-md-h1-font-feature-settings);--kbq-markdown-h2-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h2-size-margin-top: var(--kbq-size-3xl);--kbq-markdown-h2-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h2-font-default-font-size: var(--kbq-md-typography-md-h2-font-size);--kbq-markdown-h2-font-default-line-height: var(--kbq-md-typography-md-h2-line-height);--kbq-markdown-h2-font-default-letter-spacing: var(--kbq-md-typography-md-h2-letter-spacing);--kbq-markdown-h2-font-default-font-weight: var(--kbq-md-typography-md-h2-font-weight);--kbq-markdown-h2-font-default-font-family: var(--kbq-md-typography-md-h2-font-family);--kbq-markdown-h2-font-default-text-transform: var(--kbq-md-typography-md-h2-text-transform);--kbq-markdown-h2-font-default-font-feature-settings: var(--kbq-md-typography-md-h2-font-feature-settings);--kbq-markdown-h3-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h3-size-margin-top: 28px;--kbq-markdown-h3-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h3-font-default-font-size: var(--kbq-md-typography-md-h3-font-size);--kbq-markdown-h3-font-default-line-height: var(--kbq-md-typography-md-h3-line-height);--kbq-markdown-h3-font-default-letter-spacing: var(--kbq-md-typography-md-h3-letter-spacing);--kbq-markdown-h3-font-default-font-weight: var(--kbq-md-typography-md-h3-font-weight);--kbq-markdown-h3-font-default-font-family: var(--kbq-md-typography-md-h3-font-family);--kbq-markdown-h3-font-default-text-transform: var(--kbq-md-typography-md-h3-text-transform);--kbq-markdown-h3-font-default-font-feature-settings: var(--kbq-md-typography-md-h3-font-feature-settings);--kbq-markdown-h4-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h4-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h4-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h4-font-default-font-size: var(--kbq-md-typography-md-h4-font-size);--kbq-markdown-h4-font-default-line-height: var(--kbq-md-typography-md-h4-line-height);--kbq-markdown-h4-font-default-letter-spacing: var(--kbq-md-typography-md-h4-letter-spacing);--kbq-markdown-h4-font-default-font-weight: var(--kbq-md-typography-md-h4-font-weight);--kbq-markdown-h4-font-default-font-family: var(--kbq-md-typography-md-h4-font-family);--kbq-markdown-h4-font-default-text-transform: var(--kbq-md-typography-md-h4-text-transform);--kbq-markdown-h4-font-default-font-feature-settings: var(--kbq-md-typography-md-h4-font-feature-settings);--kbq-markdown-h5-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h5-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h5-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h5-font-default-font-size: var(--kbq-md-typography-md-h5-font-size);--kbq-markdown-h5-font-default-line-height: var(--kbq-md-typography-md-h5-line-height);--kbq-markdown-h5-font-default-letter-spacing: var(--kbq-md-typography-md-h5-letter-spacing);--kbq-markdown-h5-font-default-font-weight: var(--kbq-md-typography-md-h5-font-weight);--kbq-markdown-h5-font-default-font-family: var(--kbq-md-typography-md-h5-font-family);--kbq-markdown-h5-font-default-text-transform: var(--kbq-md-typography-md-h5-text-transform);--kbq-markdown-h5-font-default-font-feature-settings: var(--kbq-md-typography-md-h5-font-feature-settings);--kbq-markdown-h6-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-h6-size-margin-top: var(--kbq-size-xxl);--kbq-markdown-h6-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-h6-font-default-font-size: var(--kbq-md-typography-md-h6-font-size);--kbq-markdown-h6-font-default-line-height: var(--kbq-md-typography-md-h6-line-height);--kbq-markdown-h6-font-default-letter-spacing: var(--kbq-md-typography-md-h6-letter-spacing);--kbq-markdown-h6-font-default-font-weight: var(--kbq-md-typography-md-h6-font-weight);--kbq-markdown-h6-font-default-font-family: var(--kbq-md-typography-md-h6-font-family);--kbq-markdown-h6-font-default-text-transform: var(--kbq-md-typography-md-h6-text-transform);--kbq-markdown-h6-font-default-font-feature-settings: var(--kbq-md-typography-md-h6-font-feature-settings);--kbq-markdown-p-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-p-size-margin-top: var(--kbq-size-m);--kbq-markdown-p-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-p-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-p-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-p-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-p-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-p-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-p-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-p-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-list-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-list-size-margin-top: var(--kbq-size-m);--kbq-markdown-list-size-margin-bottom: var(--kbq-size-m);--kbq-markdown-list-size-margin-top-after-paragraph: -var(--kbq-size-s);--kbq-markdown-list-size-ol-number-padding-right: var(--kbq-size-xxs);--kbq-markdown-list-size-ul-padding: 0 0 0 var(--kbq-size-xxl);--kbq-markdown-list-size-item-margin-bottom: var(--kbq-size-s);--kbq-markdown-list-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-list-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-list-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-list-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-list-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-list-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-list-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-blockquote-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-blockquote-size-margin-top: var(--kbq-size-xl);--kbq-markdown-blockquote-size-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-blockquote-size-padding: var(--kbq-size-m) var(--kbq-size-l);--kbq-markdown-blockquote-size-line-width: var(--kbq-size-xxs);--kbq-markdown-blockquote-size-border-radius: 0;--kbq-markdown-blockquote-size-border-width: 0;--kbq-markdown-blockquote-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-blockquote-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-blockquote-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-blockquote-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-blockquote-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-blockquote-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-blockquote-font-default-font-feature-settings: var( --kbq-md-typography-md-body-font-feature-settings );--kbq-markdown-code-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-code-size-multiline-margin-top: var(--kbq-size-s);--kbq-markdown-code-size-multiline-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-code-size-inline-padding: 0 var(--kbq-size-xxs);--kbq-markdown-code-size-multiline-padding: 14px var(--kbq-size-xl);--kbq-markdown-code-size-border-radius: var(--kbq-size-border-radius);--kbq-markdown-code-size-border-width: var(--kbq-size-border-width);--kbq-markdown-code-font-default-font-size: var(--kbq-md-typography-md-body-mono-font-size);--kbq-markdown-code-font-default-line-height: var(--kbq-md-typography-md-body-mono-line-height);--kbq-markdown-code-font-default-letter-spacing: var(--kbq-md-typography-md-body-mono-letter-spacing);--kbq-markdown-code-font-default-font-weight: var(--kbq-md-typography-md-body-mono-font-weight);--kbq-markdown-code-font-default-font-family: var(--kbq-md-typography-md-body-mono-font-family);--kbq-markdown-code-font-default-text-transform: var(--kbq-md-typography-md-body-mono-text-transform);--kbq-markdown-code-font-default-font-feature-settings: var(--kbq-md-typography-md-body-mono-font-feature-settings);--kbq-markdown-link-size-icon-margin: var(--kbq-link-size-normal-content-padding);--kbq-markdown-link-size-state-focused-outline-offset: var(--kbq-link-size-state-focused-outline-offset);--kbq-markdown-link-size-state-focused-outline-width: var(--kbq-link-size-state-focused-outline-width);--kbq-markdown-link-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-link-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-link-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-link-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-link-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-link-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-link-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings);--kbq-markdown-image-size-max-width: var(--kbq-markdown-size-max-width);--kbq-markdown-image-size-margin-top: var(--kbq-size-s);--kbq-markdown-image-size-margin-bottom: var(--kbq-size-s);--kbq-markdown-image-size-caption-margin-top: -var(--kbq-size-s);--kbq-markdown-image-size-caption-margin-bottom: var(--kbq-size-xxl);--kbq-markdown-image-font-caption-font-size: var(--kbq-md-typography-md-caption-font-size);--kbq-markdown-image-font-caption-line-height: var(--kbq-md-typography-md-caption-line-height);--kbq-markdown-image-font-caption-letter-spacing: var(--kbq-md-typography-md-caption-letter-spacing);--kbq-markdown-image-font-caption-font-weight: var(--kbq-md-typography-md-caption-font-weight);--kbq-markdown-image-font-caption-font-family: var(--kbq-md-typography-md-caption-font-family);--kbq-markdown-image-font-caption-text-transform: var(--kbq-md-typography-md-caption-text-transform);--kbq-markdown-image-font-caption-font-feature-settings: var(--kbq-md-typography-md-caption-font-feature-settings);--kbq-markdown-hr-size-width: 1px;--kbq-markdown-hr-size-margin-vertical: var(--kbq-size-l);--kbq-markdown-table-size-border-width: var(--kbq-size-border-width);--kbq-markdown-table-size-padding: var(--kbq-size-s);--kbq-markdown-table-size-margin-bottom: var(--kbq-size-l);--kbq-markdown-table-font-header-font-size: var(--kbq-md-typography-md-table-header-font-size);--kbq-markdown-table-font-header-line-height: var(--kbq-md-typography-md-table-header-line-height);--kbq-markdown-table-font-header-letter-spacing: var(--kbq-md-typography-md-table-header-letter-spacing);--kbq-markdown-table-font-header-font-weight: var(--kbq-md-typography-md-table-header-font-weight);--kbq-markdown-table-font-header-font-family: var(--kbq-md-typography-md-table-header-font-family);--kbq-markdown-table-font-header-text-transform: var(--kbq-md-typography-md-table-header-text-transform);--kbq-markdown-table-font-header-font-feature-settings: var( --kbq-md-typography-md-table-header-font-feature-settings );--kbq-markdown-table-font-body-font-size: var(--kbq-md-typography-md-table-cell-font-size);--kbq-markdown-table-font-body-line-height: var(--kbq-md-typography-md-table-cell-line-height);--kbq-markdown-table-font-body-letter-spacing: var(--kbq-md-typography-md-table-cell-letter-spacing);--kbq-markdown-table-font-body-font-weight: var(--kbq-md-typography-md-table-cell-font-weight);--kbq-markdown-table-font-body-font-family: var(--kbq-md-typography-md-table-cell-font-family);--kbq-markdown-table-font-body-text-transform: var(--kbq-md-typography-md-table-cell-text-transform);--kbq-markdown-table-font-body-font-feature-settings: var(--kbq-md-typography-md-table-cell-font-feature-settings);--kbq-markdown-size-max-width: 650px;--kbq-markdown-font-default-font-size: var(--kbq-md-typography-md-body-font-size);--kbq-markdown-font-default-line-height: var(--kbq-md-typography-md-body-line-height);--kbq-markdown-font-default-letter-spacing: var(--kbq-md-typography-md-body-letter-spacing);--kbq-markdown-font-default-font-weight: var(--kbq-md-typography-md-body-font-weight);--kbq-markdown-font-default-font-family: var(--kbq-md-typography-md-body-font-family);--kbq-markdown-font-default-text-transform: var(--kbq-md-typography-md-body-text-transform);--kbq-markdown-font-default-font-feature-settings: var(--kbq-md-typography-md-body-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-markdown-h1-color: var(--kbq-foreground-contrast);--kbq-markdown-h2-color: var(--kbq-foreground-contrast);--kbq-markdown-h3-color: var(--kbq-foreground-contrast);--kbq-markdown-h4-color: var(--kbq-foreground-contrast);--kbq-markdown-h5-color: var(--kbq-foreground-contrast);--kbq-markdown-h6-color: var(--kbq-foreground-contrast);--kbq-markdown-p-color: var(--kbq-foreground-contrast);--kbq-markdown-list-color: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-text: var(--kbq-foreground-contrast);--kbq-markdown-blockquote-line: var(--kbq-foreground-border);--kbq-markdown-blockquote-background: var(--kbq-background-contrast-fade);--kbq-markdown-blockquote-border: transparent;--kbq-markdown-code-text: var(--kbq-foreground-contrast);--kbq-markdown-code-background: var(--kbq-background-background-less-contrast);--kbq-markdown-code-border: var(--kbq-line-contrast-less);--kbq-markdown-link-text: var(--kbq-link-text);--kbq-markdown-link-border-bottom: var(--kbq-link-border-bottom);--kbq-markdown-link-state-visited-text: var(--kbq-link-state-visited-text);--kbq-markdown-link-state-visited-border-bottom: var(--kbq-link-state-visited-border-bottom);--kbq-markdown-link-state-hover-text: var(--kbq-link-state-hover-text);--kbq-markdown-link-state-hover-border-bottom: var(--kbq-link-state-hover-border-bottom);--kbq-markdown-link-state-active: var(--kbq-link-state-active-text);--kbq-markdown-link-state-focused-outline: var(--kbq-link-state-focused-outline);--kbq-markdown-image-caption-text: var(--kbq-foreground-text-less-contrast);--kbq-markdown-hr-color: var(--kbq-line-contrast-less);--kbq-markdown-table-header: var(--kbq-foreground-text-less-contrast);--kbq-markdown-table-body: var(--kbq-foreground-contrast);--kbq-markdown-table-border: var(--kbq-line-contrast-less)}\n"] }]
113
113
  }], ctorParameters: () => [{ type: KbqMarkdownService }, { type: i2.DomSanitizer }, { type: i0.ChangeDetectorRef }], propDecorators: { contentWrapper: [{
114
114
  type: ViewChild,
115
115
  args: ['contentWrapper']
@@ -1 +1 @@
1
- {"version":3,"file":"koobiq-components-markdown.mjs","sources":["../../../packages/components/markdown/markdown.values.ts","../../../packages/components/markdown/markdown.service.ts","../../../packages/components/markdown/markdown.component.ts","../../../packages/components/markdown/markdown.module.ts","../../../packages/components/markdown/koobiq-components-markdown.ts"],"sourcesContent":["export const MARKDOWN_TAGS_TO_CLASS_ALIAS = [\n 'a',\n 'blockquote',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'hr',\n 'li',\n 'ol',\n 'table',\n 'tbody',\n 'thead',\n 'td',\n 'tr',\n 'ul',\n 'pre',\n 'code',\n 'img'\n];\n\n// separating th and p to prevent it's conflict with thead and pre\nexport const MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS = [\n 'th',\n 'p'\n];\nexport const CLASS_PREFIX: string = 'kbq-markdown';\n","import { Injectable } from '@angular/core';\nimport { marked } from 'marked';\nimport { CLASS_PREFIX, MARKDOWN_TAGS_TO_CLASS_ALIAS, MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS } from './markdown.values';\n\n@Injectable()\nexport class KbqMarkdownService {\n parseToHtml(markdown: string): string {\n return this.transform(marked.parse(markdown));\n }\n\n private transform(htmlContent: string): string {\n let transformed = htmlContent;\n\n MARKDOWN_TAGS_TO_CLASS_ALIAS.forEach((tag) => {\n transformed = transformed.replace(\n new RegExp(`<${tag}`, 'g'),\n (_match: string) => `<${tag} class=\"${CLASS_PREFIX}__${tag}\"`\n );\n });\n\n MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS.forEach((tag) => {\n transformed = transformed.replace(\n new RegExp(`<${tag}\\s*>`, 'g'),\n (_match: string) => `<${tag} class=\"${CLASS_PREFIX}__${tag}\">`\n );\n });\n\n return transformed;\n }\n}\n","import {\n AfterContentChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { KbqMarkdownService } from './markdown.service';\n\n@Component({\n selector: 'kbq-markdown',\n styleUrls: ['./markdown.scss', 'markdown-tokens.scss'],\n // no need format line with ng-content it's broke textContent for markdownService.parseToHtml()\n template: `\n <pre\n class=\"markdown-input\"\n #contentWrapper\n ngPreserveWhitespaces\n ><ng-content /></pre>\n <div\n class=\"markdown-output\"\n [innerHtml]=\"resultHtml\"\n ></div>\n `,\n host: {\n class: 'kbq-markdown'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class KbqMarkdown implements AfterContentChecked {\n @ViewChild('contentWrapper') contentWrapper: ElementRef;\n\n @Input()\n get markdownText(): string | null {\n return this._markdownText;\n }\n\n set markdownText(value: string | null) {\n if (value && this.markdownText !== value) {\n this.resultHtml = this.getResultHTML(value);\n }\n\n this._markdownText = value;\n }\n\n private _markdownText: string | null = null;\n\n resultHtml: SafeHtml = '';\n\n constructor(\n private markdownService: KbqMarkdownService,\n private sanitizer: DomSanitizer,\n private cdr: ChangeDetectorRef\n ) {}\n\n ngAfterContentChecked(): void {\n if (!this.markdownText && this.contentWrapper?.nativeElement.textContent) {\n this.resultHtml = this.getResultHTML(this.contentWrapper.nativeElement.textContent);\n this.cdr.detectChanges();\n }\n }\n\n private getResultHTML(value): SafeHtml {\n return this.sanitizer.bypassSecurityTrustHtml(this.markdownService.parseToHtml(value));\n }\n}\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { KbqCommonModule } from '@koobiq/components/core';\nimport { KbqMarkdown } from './markdown.component';\nimport { KbqMarkdownService } from './markdown.service';\n\n@NgModule({\n imports: [A11yModule, KbqCommonModule, FormsModule],\n exports: [KbqMarkdown],\n declarations: [KbqMarkdown],\n providers: [KbqMarkdownService]\n})\nexport class KbqMarkdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.KbqMarkdownService"],"mappings":"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"}
1
+ {"version":3,"file":"koobiq-components-markdown.mjs","sources":["../../../packages/components/markdown/markdown.values.ts","../../../packages/components/markdown/markdown.service.ts","../../../packages/components/markdown/markdown.component.ts","../../../packages/components/markdown/markdown.module.ts","../../../packages/components/markdown/koobiq-components-markdown.ts"],"sourcesContent":["export const MARKDOWN_TAGS_TO_CLASS_ALIAS = [\n 'a',\n 'blockquote',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'hr',\n 'li',\n 'ol',\n 'table',\n 'tbody',\n 'thead',\n 'td',\n 'tr',\n 'ul',\n 'pre',\n 'code',\n 'img'\n];\n\n// separating th and p to prevent it's conflict with thead and pre\nexport const MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS = [\n 'th',\n 'p'\n];\nexport const CLASS_PREFIX: string = 'kbq-markdown';\n","import { Injectable } from '@angular/core';\nimport { marked } from 'marked';\nimport { CLASS_PREFIX, MARKDOWN_TAGS_TO_CLASS_ALIAS, MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS } from './markdown.values';\n\n@Injectable()\nexport class KbqMarkdownService {\n parseToHtml(markdown: string): string {\n return this.transform(marked.parse(markdown));\n }\n\n private transform(htmlContent: string): string {\n let transformed = htmlContent;\n\n MARKDOWN_TAGS_TO_CLASS_ALIAS.forEach((tag) => {\n transformed = transformed.replace(\n new RegExp(`<${tag}`, 'g'),\n (_match: string) => `<${tag} class=\"${CLASS_PREFIX}__${tag}\"`\n );\n });\n\n MARKDOWN_WHOLE_TAGS_TO_CLASS_ALIAS.forEach((tag) => {\n transformed = transformed.replace(\n new RegExp(`<${tag}\\s*>`, 'g'),\n (_match: string) => `<${tag} class=\"${CLASS_PREFIX}__${tag}\">`\n );\n });\n\n return transformed;\n }\n}\n","import {\n AfterContentChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { KbqMarkdownService } from './markdown.service';\n\n@Component({\n selector: 'kbq-markdown',\n styleUrls: ['./markdown.scss', 'markdown-tokens.scss'],\n // no need format line with ng-content it's broke textContent for markdownService.parseToHtml()\n template: `\n <pre\n class=\"markdown-input\"\n #contentWrapper\n ngPreserveWhitespaces\n ><ng-content /></pre>\n <div\n class=\"markdown-output\"\n [innerHtml]=\"resultHtml\"\n ></div>\n `,\n host: {\n class: 'kbq-markdown'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class KbqMarkdown implements AfterContentChecked {\n @ViewChild('contentWrapper') contentWrapper: ElementRef;\n\n @Input()\n get markdownText(): string | null {\n return this._markdownText;\n }\n\n set markdownText(value: string | null) {\n if (value && this.markdownText !== value) {\n this.resultHtml = this.getResultHTML(value);\n }\n\n this._markdownText = value;\n }\n\n private _markdownText: string | null = null;\n\n resultHtml: SafeHtml = '';\n\n constructor(\n private markdownService: KbqMarkdownService,\n private sanitizer: DomSanitizer,\n private cdr: ChangeDetectorRef\n ) {}\n\n ngAfterContentChecked(): void {\n if (!this.markdownText && this.contentWrapper?.nativeElement.textContent) {\n this.resultHtml = this.getResultHTML(this.contentWrapper.nativeElement.textContent);\n this.cdr.detectChanges();\n }\n }\n\n private getResultHTML(value): SafeHtml {\n return this.sanitizer.bypassSecurityTrustHtml(this.markdownService.parseToHtml(value));\n }\n}\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { KbqCommonModule } from '@koobiq/components/core';\nimport { KbqMarkdown } from './markdown.component';\nimport { KbqMarkdownService } from './markdown.service';\n\n@NgModule({\n imports: [A11yModule, KbqCommonModule, FormsModule],\n exports: [KbqMarkdown],\n declarations: [KbqMarkdown],\n providers: [KbqMarkdownService]\n})\nexport class KbqMarkdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.KbqMarkdownService"],"mappings":"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"}
@@ -297,11 +297,9 @@ class KbqModalComponent extends KbqModalRef {
297
297
  if (!nativeElement) {
298
298
  return;
299
299
  }
300
- const scrollTop = nativeElement.scrollTop;
301
- const offsetHeight = nativeElement.offsetHeight;
302
- const scrollHeight = nativeElement.scrollHeight;
300
+ const { scrollTop, offsetHeight, scrollHeight } = nativeElement;
303
301
  this.isTopOverflow = scrollTop > 0;
304
- this.isBottomOverflow = (scrollTop + offsetHeight) < scrollHeight;
302
+ this.isBottomOverflow = scrollTop + offsetHeight < scrollHeight;
305
303
  }
306
304
  open() {
307
305
  this.focusedElementBeforeOpen = this.document.activeElement;
@@ -576,13 +574,13 @@ class KbqModalComponent extends KbqModalRef {
576
574
  }
577
575
  }
578
576
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KbqModalComponent, deps: [{ token: i1.Overlay }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: KbqModalControlService }, { token: i0.ChangeDetectorRef }, { token: i3.FocusMonitor }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
579
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KbqModalComponent, selector: "kbq-modal", inputs: { kbqModalType: "kbqModalType", kbqComponent: "kbqComponent", kbqContent: "kbqContent", kbqComponentParams: "kbqComponentParams", kbqFooter: "kbqFooter", kbqVisible: "kbqVisible", kbqWidth: "kbqWidth", kbqSize: "kbqSize", kbqWrapClassName: "kbqWrapClassName", kbqClassName: "kbqClassName", kbqStyle: "kbqStyle", kbqTitle: "kbqTitle", kbqCloseByESC: "kbqCloseByESC", kbqClosable: "kbqClosable", kbqMask: "kbqMask", kbqMaskClosable: "kbqMaskClosable", kbqMaskStyle: "kbqMaskStyle", kbqBodyStyle: "kbqBodyStyle", kbqOkText: "kbqOkText", kbqOkType: "kbqOkType", kbqRestoreFocus: "kbqRestoreFocus", kbqOkLoading: "kbqOkLoading", kbqOnOk: "kbqOnOk", kbqCancelText: "kbqCancelText", kbqCancelLoading: "kbqCancelLoading", kbqOnCancel: "kbqOnCancel", kbqGetContainer: "kbqGetContainer" }, outputs: { kbqVisibleChange: "kbqVisibleChange", kbqAfterOpen: "kbqAfterOpen", kbqAfterClose: "kbqAfterClose", kbqOnOk: "kbqOnOk", kbqOnCancel: "kbqOnCancel" }, host: { listeners: { "keydown": "onKeyDown($event)" } }, viewQueries: [{ propertyName: "modalContainer", first: true, predicate: ["modalContainer"], descendants: true, static: true }, { propertyName: "bodyContainer", first: true, predicate: ["bodyContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "modalBody", first: true, predicate: ["modalBody"], descendants: true }, { propertyName: "autoFocusedButtons", predicate: ["autoFocusedButton"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<!-- Compatible: the <ng-content> can appear only once -->\n<ng-template #tplOriginContent>\n <ng-content />\n</ng-template>\n\n<div>\n @if (kbqMask) {\n <div\n class=\"kbq-modal-mask\"\n [class.kbq-modal-mask-hidden]=\"hidden\"\n [ngClass]=\"maskAnimationClassMap\"\n [ngStyle]=\"kbqMaskStyle\"\n ></div>\n }\n\n <div\n tabindex=\"-1\"\n class=\"kbq-modal-wrap {{ kbqWrapClassName }}\"\n [style.display]=\"hidden ? 'none' : ''\"\n (mousedown)=\"onClickMask($event)\"\n >\n <div\n #modalContainer\n class=\"kbq-modal {{ kbqClassName }} kbq-modal_{{ kbqSize }}\"\n [class.kbq-modal_no-footer]=\"!kbqFooter\"\n [ngClass]=\"modalAnimationClassMap\"\n [ngStyle]=\"kbqStyle\"\n [style.transform-origin]=\"transformOrigin\"\n [style.width]=\"kbqWidth | toCssUnit\"\n >\n <div\n cdkTrapFocus\n class=\"kbq-modal-content\"\n >\n @switch (true) {\n @case (isModalType('default')) {\n <ng-container [ngTemplateOutlet]=\"tplContentDefault\" />\n }\n @case (isModalType('confirm')) {\n <ng-container [ngTemplateOutlet]=\"tplContentConfirm\" />\n }\n @case (isModalType('custom')) {\n <ng-container [ngTemplateOutlet]=\"tplContentCustom\" />\n }\n }\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #tplContentCustom>\n <ng-container #bodyContainer />\n</ng-template>\n\n<!-- [Predefined] Default Modal Content -->\n<ng-template #tplContentDefault>\n @if (kbqTitle) {\n <div\n kbq-title\n class=\"kbq-modal-header\"\n [class.kbq-modal-body_top-overflow]=\"isTopOverflow\"\n >\n <div class=\"kbq-modal-title\">\n @switch (true) {\n @case (isTemplateRef(kbqTitle)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqTitle)\" />\n }\n @case (isNonEmptyString(kbqTitle)) {\n <div [innerHTML]=\"kbqTitle\"></div>\n }\n }\n </div>\n @if (kbqClosable) {\n <button\n kbq-button\n class=\"kbq-modal-close kbq-button_transparent\"\n [color]=\"'contrast'\"\n (click)=\"onClickCloseBtn()\"\n >\n <i\n kbq-icon=\"kbq-xmark_16\"\n [color]=\"componentColors.Contrast\"\n ></i>\n </button>\n }\n </div>\n }\n <div\n #modalBody\n class=\"kbq-modal-body kbq-scrollbar\"\n [ngStyle]=\"kbqBodyStyle\"\n (scroll)=\"checkOverflow()\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqFooter || kbqOkText || kbqCancelText) {\n <div\n class=\"kbq-modal-footer\"\n [class.kbq-modal-body_bottom-overflow]=\"isBottomOverflow\"\n >\n @switch (true) {\n @case (isTemplateRef(kbqFooter)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqFooter)\" />\n }\n @case (isNonEmptyString(kbqFooter)) {\n <div [innerHTML]=\"kbqFooter\"></div>\n }\n @case (isModalButtons(kbqFooter)) {\n @for (button of $any(kbqFooter); track button) {\n @if (getButtonCallableProp(button, 'show')) {\n <button\n kbq-button\n [attr.autofocus]=\"button.autoFocus\"\n [attr.kbq-modal-main-action]=\"button.kbqModalMainAction\"\n [class.kbq-progress]=\"getButtonCallableProp(button, 'loading')\"\n [color]=\"button.type\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n (click)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </button>\n }\n }\n }\n @default {\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"componentColors.Contrast\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n }\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Default Modal Content -->\n\n<!-- [Predefined] Confirm Modal Content -->\n<ng-template #tplContentConfirm>\n <div\n class=\"kbq-modal-body\"\n [ngStyle]=\"kbqBodyStyle\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqOkText || kbqCancelText) {\n <div class=\"kbq-confirm-footer\">\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"kbqOkType\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Confirm Modal Content -->\n", styles: [".kbq-confirm .kbq-modal-close{display:none}.kbq-confirm .kbq-confirm-footer{display:flex;gap:var(--kbq-modal-size-footer-content-gap-horizontal, 16px)}.kbq-modal{box-sizing:border-box;position:relative;top:48px;border-radius:var(--kbq-modal-size-border-radius, 8px);width:auto;margin:0 auto;list-style:none}.kbq-modal.zoom-enter,.kbq-modal.zoom-appear{animation-duration:.3s;transform:none;opacity:0}.kbq-modal.kbq-modal_small{width:var(--kbq-modal-size-small-width, 400px)}.kbq-modal.kbq-modal_medium{width:var(--kbq-modal-size-medium-width, 640px)}.kbq-modal.kbq-modal_large{width:var(--kbq-modal-size-large-width, 960px)}.kbq-modal .kbq-modal-close{position:absolute;top:16px;right:8px}.kbq-modal-wrap{position:fixed;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;outline:0}.kbq-modal-content{position:relative;border-radius:var(--kbq-modal-size-border-radius, 8px);background-clip:padding-box}.kbq-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--kbq-modal-size-header-padding-vertical, 16px) var(--kbq-modal-size-header-padding-right, 48px) var(--kbq-modal-size-header-padding-vertical, 16px) var(--kbq-modal-size-header-padding-left, 24px)}.kbq-modal-header+.kbq-modal-body{padding-top:var(--kbq-modal-size-content-padding-top, 0)}.kbq-modal-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.kbq-modal-body{display:block;overflow-y:auto;max-height:calc(100vh - 260px);padding:var(--kbq-modal-size-content-padding-top-without-header, 24px) var(--kbq-modal-size-content-padding-horizontal, 24px) var(--kbq-modal-size-content-padding-bottom, 8px) var(--kbq-modal-size-content-padding-horizontal, 24px);word-wrap:break-word}.kbq-modal-body>*{position:relative}.kbq-modal-footer,.kbq-confirm-footer{display:flex;align-items:center;padding:var(--kbq-modal-size-footer-padding-vertical, 20px) var(--kbq-modal-size-footer-padding-horizontal, 24px);gap:var(--kbq-modal-size-footer-content-gap-horizontal, 16px)}.kbq-modal-mask{position:fixed;inset:0;height:100%}.kbq-modal-mask.kbq-modal-mask-hidden{display:none}.kbq-modal-open{overflow:hidden}.kbq-modal{background:var(--kbq-modal-container-background, );box-shadow:var(--kbq-modal-container-box-shadow, )}.kbq-modal .kbq-modal-header .kbq-modal-title{color:var(--kbq-modal-header-text-color, )}.kbq-modal .kbq-modal-header .kbq-modal-close{color:var(--kbq-modal-close-button-color, )}.kbq-modal .kbq-modal-content{color:var(--kbq-modal-content-text-color, )}.kbq-modal .kbq-modal-header.kbq-modal-body_top-overflow{box-shadow:var(--kbq-modal-body-top-shadow, )}.kbq-modal .kbq-modal-footer.kbq-modal-body_bottom-overflow{box-shadow:var(--kbq-modal-body-bottom-shadow, )}.kbq-modal-mask{background-color:var(--kbq-modal-overlay-background, )}.kbq-modal-title{font-size:var(--kbq-modal-font-header-font-size, 20px);font-weight:var(--kbq-modal-font-header-font-weight, 700);line-height:var(--kbq-modal-font-header-line-height, 28px);font-family:var(--kbq-modal-font-header-font-family, \"TT-Positive\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif);text-transform:var(--kbq-modal-font-header-text-transform, );font-feature-settings:var(--kbq-modal-font-header-font-feature-settings, \"calt\", \"kern\", \"liga\");letter-spacing:var(--kbq-modal-font-header-letter-spacing, normal)}.kbq-modal-body{font-size:var(--kbq-modal-font-content-font-size, 14px);font-weight:var(--kbq-modal-font-content-font-weight, normal);line-height:var(--kbq-modal-font-content-line-height, 20px);font-family:var(--kbq-modal-font-content-font-family, Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif);text-transform:var(--kbq-modal-font-content-text-transform, );font-feature-settings:var(--kbq-modal-font-content-font-feature-settings, \"calt\", \"kern\", \"liga\", \"ss01\", \"ss04\");letter-spacing:var(--kbq-modal-font-content-letter-spacing, -.006em)}\n", ".kbq-modal{--kbq-modal-size-small-width: 400px;--kbq-modal-size-medium-width: 640px;--kbq-modal-size-large-width: 960px;--kbq-modal-size-border-radius: var(--kbq-size-s);--kbq-modal-size-header-padding-vertical: var(--kbq-size-l);--kbq-modal-size-header-padding-left: var(--kbq-size-xxl);--kbq-modal-size-header-padding-right: var(--kbq-size-5xl);--kbq-modal-size-close-button-margin-left: var(--kbq-size-s);--kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-content-padding-top: 0;--kbq-modal-size-content-padding-bottom: var(--kbq-size-s);--kbq-modal-size-content-padding-top-without-header: var(--kbq-size-xxl);--kbq-modal-size-content-padding-bottom-without-footer: var(--kbq-size-4xl);--kbq-modal-size-footer-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-footer-padding-vertical: var(--kbq-size-xl);--kbq-modal-size-footer-content-gap-horizontal: var(--kbq-size-l);--kbq-modal-font-header-font-size: var(--kbq-typography-title-font-size);--kbq-modal-font-header-line-height: var(--kbq-typography-title-line-height);--kbq-modal-font-header-letter-spacing: var(--kbq-typography-title-letter-spacing);--kbq-modal-font-header-font-weight: var(--kbq-typography-title-font-weight);--kbq-modal-font-header-font-family: var(--kbq-typography-title-font-family);--kbq-modal-font-header-text-transform: var(--kbq-typography-title-text-transform);--kbq-modal-font-header-font-feature-settings: var(--kbq-typography-title-font-feature-settings);--kbq-modal-font-content-font-size: var(--kbq-typography-text-normal-font-size);--kbq-modal-font-content-line-height: var(--kbq-typography-text-normal-line-height);--kbq-modal-font-content-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);--kbq-modal-font-content-font-weight: var(--kbq-typography-text-normal-font-weight);--kbq-modal-font-content-font-family: var(--kbq-typography-text-normal-font-family);--kbq-modal-font-content-text-transform: var(--kbq-typography-text-normal-text-transform);--kbq-modal-font-content-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}\n"], dependencies: [{ kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: i4.KbqButton, selector: "[kbq-button]", inputs: ["color", "tabIndex", "kbqStyle", "disabled"] }, { kind: "directive", type: i4.KbqButtonCssStyler, selector: "[kbq-button]" }, { kind: "component", type: i5.KbqIcon, selector: "[kbq-icon]", inputs: ["color", "small", "autoColor"] }, { kind: "directive", type: i6.KbqTitleDirective, selector: "[kbq-title]", exportAs: ["kbqTitle"] }, { kind: "directive", type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: CssUnitPipe, name: "toCssUnit" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
577
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KbqModalComponent, selector: "kbq-modal", inputs: { kbqModalType: "kbqModalType", kbqComponent: "kbqComponent", kbqContent: "kbqContent", kbqComponentParams: "kbqComponentParams", kbqFooter: "kbqFooter", kbqVisible: "kbqVisible", kbqWidth: "kbqWidth", kbqSize: "kbqSize", kbqWrapClassName: "kbqWrapClassName", kbqClassName: "kbqClassName", kbqStyle: "kbqStyle", kbqTitle: "kbqTitle", kbqCloseByESC: "kbqCloseByESC", kbqClosable: "kbqClosable", kbqMask: "kbqMask", kbqMaskClosable: "kbqMaskClosable", kbqMaskStyle: "kbqMaskStyle", kbqBodyStyle: "kbqBodyStyle", kbqOkText: "kbqOkText", kbqOkType: "kbqOkType", kbqRestoreFocus: "kbqRestoreFocus", kbqOkLoading: "kbqOkLoading", kbqOnOk: "kbqOnOk", kbqCancelText: "kbqCancelText", kbqCancelLoading: "kbqCancelLoading", kbqOnCancel: "kbqOnCancel", kbqGetContainer: "kbqGetContainer" }, outputs: { kbqVisibleChange: "kbqVisibleChange", kbqAfterOpen: "kbqAfterOpen", kbqAfterClose: "kbqAfterClose", kbqOnOk: "kbqOnOk", kbqOnCancel: "kbqOnCancel" }, host: { listeners: { "keydown": "onKeyDown($event)" } }, viewQueries: [{ propertyName: "modalContainer", first: true, predicate: ["modalContainer"], descendants: true, static: true }, { propertyName: "bodyContainer", first: true, predicate: ["bodyContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "modalBody", first: true, predicate: ["modalBody"], descendants: true }, { propertyName: "autoFocusedButtons", predicate: ["autoFocusedButton"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<!-- Compatible: the <ng-content> can appear only once -->\n<ng-template #tplOriginContent>\n <ng-content />\n</ng-template>\n\n<div>\n @if (kbqMask) {\n <div\n class=\"kbq-modal-mask\"\n [class.kbq-modal-mask-hidden]=\"hidden\"\n [ngClass]=\"maskAnimationClassMap\"\n [ngStyle]=\"kbqMaskStyle\"\n ></div>\n }\n\n <div\n tabindex=\"-1\"\n class=\"kbq-modal-wrap {{ kbqWrapClassName }}\"\n [style.display]=\"hidden ? 'none' : ''\"\n (mousedown)=\"onClickMask($event)\"\n >\n <div\n #modalContainer\n class=\"kbq-modal {{ kbqClassName }} kbq-modal_{{ kbqSize }}\"\n [class.kbq-modal_no-footer]=\"!kbqFooter\"\n [ngClass]=\"modalAnimationClassMap\"\n [ngStyle]=\"kbqStyle\"\n [style.transform-origin]=\"transformOrigin\"\n [style.width]=\"kbqWidth | toCssUnit\"\n >\n <div\n cdkTrapFocus\n class=\"kbq-modal-content\"\n >\n @switch (true) {\n @case (isModalType('default')) {\n <ng-container [ngTemplateOutlet]=\"tplContentDefault\" />\n }\n @case (isModalType('confirm')) {\n <ng-container [ngTemplateOutlet]=\"tplContentConfirm\" />\n }\n @case (isModalType('custom')) {\n <ng-container [ngTemplateOutlet]=\"tplContentCustom\" />\n }\n }\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #tplContentCustom>\n <ng-container #bodyContainer />\n</ng-template>\n\n<!-- [Predefined] Default Modal Content -->\n<ng-template #tplContentDefault>\n @if (kbqTitle) {\n <div\n kbq-title\n class=\"kbq-modal-header\"\n [class.kbq-modal-body_top-overflow]=\"isTopOverflow\"\n >\n <div class=\"kbq-modal-title\">\n @switch (true) {\n @case (isTemplateRef(kbqTitle)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqTitle)\" />\n }\n @case (isNonEmptyString(kbqTitle)) {\n <div [innerHTML]=\"kbqTitle\"></div>\n }\n }\n </div>\n @if (kbqClosable) {\n <button\n kbq-button\n class=\"kbq-modal-close kbq-button_transparent\"\n [color]=\"'contrast'\"\n (click)=\"onClickCloseBtn()\"\n >\n <i\n kbq-icon=\"kbq-xmark_16\"\n [color]=\"componentColors.Contrast\"\n ></i>\n </button>\n }\n </div>\n }\n <div\n #modalBody\n class=\"kbq-modal-body kbq-scrollbar\"\n [ngStyle]=\"kbqBodyStyle\"\n (scroll)=\"checkOverflow()\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqFooter || kbqOkText || kbqCancelText) {\n <div\n class=\"kbq-modal-footer\"\n [class.kbq-modal-body_bottom-overflow]=\"isBottomOverflow\"\n >\n @switch (true) {\n @case (isTemplateRef(kbqFooter)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqFooter)\" />\n }\n @case (isNonEmptyString(kbqFooter)) {\n <div [innerHTML]=\"kbqFooter\"></div>\n }\n @case (isModalButtons(kbqFooter)) {\n @for (button of $any(kbqFooter); track button) {\n @if (getButtonCallableProp(button, 'show')) {\n <button\n kbq-button\n [attr.autofocus]=\"button.autoFocus\"\n [attr.kbq-modal-main-action]=\"button.kbqModalMainAction\"\n [class.kbq-progress]=\"getButtonCallableProp(button, 'loading')\"\n [color]=\"button.type\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n (click)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </button>\n }\n }\n }\n @default {\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"componentColors.Contrast\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n }\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Default Modal Content -->\n\n<!-- [Predefined] Confirm Modal Content -->\n<ng-template #tplContentConfirm>\n <div\n class=\"kbq-modal-body\"\n [ngStyle]=\"kbqBodyStyle\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqOkText || kbqCancelText) {\n <div class=\"kbq-confirm-footer\">\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"kbqOkType\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Confirm Modal Content -->\n", styles: [".kbq-confirm .kbq-modal-close{display:none}.kbq-confirm .kbq-confirm-footer{display:flex;gap:var(--kbq-modal-size-footer-content-gap-horizontal)}.kbq-modal{box-sizing:border-box;position:relative;top:48px;border-radius:var(--kbq-modal-size-border-radius);width:auto;margin:0 auto;list-style:none}.kbq-modal.zoom-enter,.kbq-modal.zoom-appear{animation-duration:.3s;transform:none;opacity:0}.kbq-modal.kbq-modal_small{width:var(--kbq-modal-size-small-width)}.kbq-modal.kbq-modal_medium{width:var(--kbq-modal-size-medium-width)}.kbq-modal.kbq-modal_large{width:var(--kbq-modal-size-large-width)}.kbq-modal .kbq-modal-close{position:absolute;top:16px;right:8px}.kbq-modal-wrap{position:fixed;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;outline:0}.kbq-modal-content{position:relative;border-radius:var(--kbq-modal-size-border-radius);background-clip:padding-box}.kbq-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-right) var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-left)}.kbq-modal-header+.kbq-modal-body{padding-top:var(--kbq-modal-size-content-padding-top)}.kbq-modal-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.kbq-modal-body{display:block;overflow-y:auto;max-height:calc(100vh - 260px);padding:var(--kbq-modal-size-content-padding-top-without-header) var(--kbq-modal-size-content-padding-horizontal) var(--kbq-modal-size-content-padding-bottom) var(--kbq-modal-size-content-padding-horizontal);word-wrap:break-word}.kbq-modal-body>*{position:relative}.kbq-modal-footer,.kbq-confirm-footer{display:flex;align-items:center;padding:var(--kbq-modal-size-footer-padding-vertical) var(--kbq-modal-size-footer-padding-horizontal);gap:var(--kbq-modal-size-footer-content-gap-horizontal)}.kbq-modal-mask{position:fixed;inset:0;height:100%}.kbq-modal-mask.kbq-modal-mask-hidden{display:none}.kbq-modal-open{overflow:hidden}.kbq-modal{background:var(--kbq-modal-container-background);box-shadow:var(--kbq-modal-container-box-shadow)}.kbq-modal .kbq-modal-header .kbq-modal-title{color:var(--kbq-modal-header-text-color)}.kbq-modal .kbq-modal-header .kbq-modal-close{color:var(--kbq-modal-close-button-color)}.kbq-modal .kbq-modal-content{color:var(--kbq-modal-content-text-color)}.kbq-modal .kbq-modal-header.kbq-modal-body_top-overflow{box-shadow:var(--kbq-shadow-overflow-normal-bottom)}.kbq-modal .kbq-modal-footer.kbq-modal-body_bottom-overflow{box-shadow:var(--kbq-shadow-overflow-normal-top)}.kbq-modal-mask{background-color:var(--kbq-modal-overlay-background)}.kbq-modal-title{font-size:var(--kbq-modal-font-header-font-size);font-weight:var(--kbq-modal-font-header-font-weight);line-height:var(--kbq-modal-font-header-line-height);font-family:var(--kbq-modal-font-header-font-family);text-transform:var(--kbq-modal-font-header-text-transform);font-feature-settings:var(--kbq-modal-font-header-font-feature-settings);letter-spacing:var(--kbq-modal-font-header-letter-spacing)}.kbq-modal-body{font-size:var(--kbq-modal-font-content-font-size);font-weight:var(--kbq-modal-font-content-font-weight);line-height:var(--kbq-modal-font-content-line-height);font-family:var(--kbq-modal-font-content-font-family);text-transform:var(--kbq-modal-font-content-text-transform);font-feature-settings:var(--kbq-modal-font-content-font-feature-settings);letter-spacing:var(--kbq-modal-font-content-letter-spacing)}\n", ".kbq-modal{--kbq-modal-size-small-width: 400px;--kbq-modal-size-medium-width: 640px;--kbq-modal-size-large-width: 960px;--kbq-modal-size-border-radius: var(--kbq-size-s);--kbq-modal-size-header-padding-vertical: var(--kbq-size-l);--kbq-modal-size-header-padding-left: var(--kbq-size-xxl);--kbq-modal-size-header-padding-right: var(--kbq-size-5xl);--kbq-modal-size-close-button-margin-left: var(--kbq-size-s);--kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-content-padding-top: 0;--kbq-modal-size-content-padding-bottom: var(--kbq-size-s);--kbq-modal-size-content-padding-top-without-header: var(--kbq-size-xxl);--kbq-modal-size-content-padding-bottom-without-footer: var(--kbq-size-4xl);--kbq-modal-size-footer-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-footer-padding-vertical: var(--kbq-size-xl);--kbq-modal-size-footer-content-gap-horizontal: var(--kbq-size-l);--kbq-modal-font-header-font-size: var(--kbq-typography-title-font-size);--kbq-modal-font-header-line-height: var(--kbq-typography-title-line-height);--kbq-modal-font-header-letter-spacing: var(--kbq-typography-title-letter-spacing);--kbq-modal-font-header-font-weight: var(--kbq-typography-title-font-weight);--kbq-modal-font-header-font-family: var(--kbq-typography-title-font-family);--kbq-modal-font-header-text-transform: var(--kbq-typography-title-text-transform);--kbq-modal-font-header-font-feature-settings: var(--kbq-typography-title-font-feature-settings);--kbq-modal-font-content-font-size: var(--kbq-typography-text-normal-font-size);--kbq-modal-font-content-line-height: var(--kbq-typography-text-normal-line-height);--kbq-modal-font-content-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);--kbq-modal-font-content-font-weight: var(--kbq-typography-text-normal-font-weight);--kbq-modal-font-content-font-family: var(--kbq-typography-text-normal-font-family);--kbq-modal-font-content-text-transform: var(--kbq-typography-text-normal-text-transform);--kbq-modal-font-content-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}\n"], dependencies: [{ kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: i4.KbqButton, selector: "[kbq-button]", inputs: ["color", "tabIndex", "kbqStyle", "disabled"] }, { kind: "directive", type: i4.KbqButtonCssStyler, selector: "[kbq-button]" }, { kind: "component", type: i5.KbqIcon, selector: "[kbq-icon]", inputs: ["color", "small", "autoColor"] }, { kind: "directive", type: i6.KbqTitleDirective, selector: "[kbq-title]", exportAs: ["kbqTitle"] }, { kind: "directive", type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: CssUnitPipe, name: "toCssUnit" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
580
578
  }
581
579
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KbqModalComponent, decorators: [{
582
580
  type: Component,
583
581
  args: [{ selector: 'kbq-modal', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
584
582
  '(keydown)': 'onKeyDown($event)'
585
- }, template: "<!-- Compatible: the <ng-content> can appear only once -->\n<ng-template #tplOriginContent>\n <ng-content />\n</ng-template>\n\n<div>\n @if (kbqMask) {\n <div\n class=\"kbq-modal-mask\"\n [class.kbq-modal-mask-hidden]=\"hidden\"\n [ngClass]=\"maskAnimationClassMap\"\n [ngStyle]=\"kbqMaskStyle\"\n ></div>\n }\n\n <div\n tabindex=\"-1\"\n class=\"kbq-modal-wrap {{ kbqWrapClassName }}\"\n [style.display]=\"hidden ? 'none' : ''\"\n (mousedown)=\"onClickMask($event)\"\n >\n <div\n #modalContainer\n class=\"kbq-modal {{ kbqClassName }} kbq-modal_{{ kbqSize }}\"\n [class.kbq-modal_no-footer]=\"!kbqFooter\"\n [ngClass]=\"modalAnimationClassMap\"\n [ngStyle]=\"kbqStyle\"\n [style.transform-origin]=\"transformOrigin\"\n [style.width]=\"kbqWidth | toCssUnit\"\n >\n <div\n cdkTrapFocus\n class=\"kbq-modal-content\"\n >\n @switch (true) {\n @case (isModalType('default')) {\n <ng-container [ngTemplateOutlet]=\"tplContentDefault\" />\n }\n @case (isModalType('confirm')) {\n <ng-container [ngTemplateOutlet]=\"tplContentConfirm\" />\n }\n @case (isModalType('custom')) {\n <ng-container [ngTemplateOutlet]=\"tplContentCustom\" />\n }\n }\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #tplContentCustom>\n <ng-container #bodyContainer />\n</ng-template>\n\n<!-- [Predefined] Default Modal Content -->\n<ng-template #tplContentDefault>\n @if (kbqTitle) {\n <div\n kbq-title\n class=\"kbq-modal-header\"\n [class.kbq-modal-body_top-overflow]=\"isTopOverflow\"\n >\n <div class=\"kbq-modal-title\">\n @switch (true) {\n @case (isTemplateRef(kbqTitle)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqTitle)\" />\n }\n @case (isNonEmptyString(kbqTitle)) {\n <div [innerHTML]=\"kbqTitle\"></div>\n }\n }\n </div>\n @if (kbqClosable) {\n <button\n kbq-button\n class=\"kbq-modal-close kbq-button_transparent\"\n [color]=\"'contrast'\"\n (click)=\"onClickCloseBtn()\"\n >\n <i\n kbq-icon=\"kbq-xmark_16\"\n [color]=\"componentColors.Contrast\"\n ></i>\n </button>\n }\n </div>\n }\n <div\n #modalBody\n class=\"kbq-modal-body kbq-scrollbar\"\n [ngStyle]=\"kbqBodyStyle\"\n (scroll)=\"checkOverflow()\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqFooter || kbqOkText || kbqCancelText) {\n <div\n class=\"kbq-modal-footer\"\n [class.kbq-modal-body_bottom-overflow]=\"isBottomOverflow\"\n >\n @switch (true) {\n @case (isTemplateRef(kbqFooter)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqFooter)\" />\n }\n @case (isNonEmptyString(kbqFooter)) {\n <div [innerHTML]=\"kbqFooter\"></div>\n }\n @case (isModalButtons(kbqFooter)) {\n @for (button of $any(kbqFooter); track button) {\n @if (getButtonCallableProp(button, 'show')) {\n <button\n kbq-button\n [attr.autofocus]=\"button.autoFocus\"\n [attr.kbq-modal-main-action]=\"button.kbqModalMainAction\"\n [class.kbq-progress]=\"getButtonCallableProp(button, 'loading')\"\n [color]=\"button.type\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n (click)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </button>\n }\n }\n }\n @default {\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"componentColors.Contrast\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n }\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Default Modal Content -->\n\n<!-- [Predefined] Confirm Modal Content -->\n<ng-template #tplContentConfirm>\n <div\n class=\"kbq-modal-body\"\n [ngStyle]=\"kbqBodyStyle\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqOkText || kbqCancelText) {\n <div class=\"kbq-confirm-footer\">\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"kbqOkType\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Confirm Modal Content -->\n", styles: [".kbq-confirm .kbq-modal-close{display:none}.kbq-confirm .kbq-confirm-footer{display:flex;gap:var(--kbq-modal-size-footer-content-gap-horizontal, 16px)}.kbq-modal{box-sizing:border-box;position:relative;top:48px;border-radius:var(--kbq-modal-size-border-radius, 8px);width:auto;margin:0 auto;list-style:none}.kbq-modal.zoom-enter,.kbq-modal.zoom-appear{animation-duration:.3s;transform:none;opacity:0}.kbq-modal.kbq-modal_small{width:var(--kbq-modal-size-small-width, 400px)}.kbq-modal.kbq-modal_medium{width:var(--kbq-modal-size-medium-width, 640px)}.kbq-modal.kbq-modal_large{width:var(--kbq-modal-size-large-width, 960px)}.kbq-modal .kbq-modal-close{position:absolute;top:16px;right:8px}.kbq-modal-wrap{position:fixed;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;outline:0}.kbq-modal-content{position:relative;border-radius:var(--kbq-modal-size-border-radius, 8px);background-clip:padding-box}.kbq-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--kbq-modal-size-header-padding-vertical, 16px) var(--kbq-modal-size-header-padding-right, 48px) var(--kbq-modal-size-header-padding-vertical, 16px) var(--kbq-modal-size-header-padding-left, 24px)}.kbq-modal-header+.kbq-modal-body{padding-top:var(--kbq-modal-size-content-padding-top, 0)}.kbq-modal-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.kbq-modal-body{display:block;overflow-y:auto;max-height:calc(100vh - 260px);padding:var(--kbq-modal-size-content-padding-top-without-header, 24px) var(--kbq-modal-size-content-padding-horizontal, 24px) var(--kbq-modal-size-content-padding-bottom, 8px) var(--kbq-modal-size-content-padding-horizontal, 24px);word-wrap:break-word}.kbq-modal-body>*{position:relative}.kbq-modal-footer,.kbq-confirm-footer{display:flex;align-items:center;padding:var(--kbq-modal-size-footer-padding-vertical, 20px) var(--kbq-modal-size-footer-padding-horizontal, 24px);gap:var(--kbq-modal-size-footer-content-gap-horizontal, 16px)}.kbq-modal-mask{position:fixed;inset:0;height:100%}.kbq-modal-mask.kbq-modal-mask-hidden{display:none}.kbq-modal-open{overflow:hidden}.kbq-modal{background:var(--kbq-modal-container-background, );box-shadow:var(--kbq-modal-container-box-shadow, )}.kbq-modal .kbq-modal-header .kbq-modal-title{color:var(--kbq-modal-header-text-color, )}.kbq-modal .kbq-modal-header .kbq-modal-close{color:var(--kbq-modal-close-button-color, )}.kbq-modal .kbq-modal-content{color:var(--kbq-modal-content-text-color, )}.kbq-modal .kbq-modal-header.kbq-modal-body_top-overflow{box-shadow:var(--kbq-modal-body-top-shadow, )}.kbq-modal .kbq-modal-footer.kbq-modal-body_bottom-overflow{box-shadow:var(--kbq-modal-body-bottom-shadow, )}.kbq-modal-mask{background-color:var(--kbq-modal-overlay-background, )}.kbq-modal-title{font-size:var(--kbq-modal-font-header-font-size, 20px);font-weight:var(--kbq-modal-font-header-font-weight, 700);line-height:var(--kbq-modal-font-header-line-height, 28px);font-family:var(--kbq-modal-font-header-font-family, \"TT-Positive\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif);text-transform:var(--kbq-modal-font-header-text-transform, );font-feature-settings:var(--kbq-modal-font-header-font-feature-settings, \"calt\", \"kern\", \"liga\");letter-spacing:var(--kbq-modal-font-header-letter-spacing, normal)}.kbq-modal-body{font-size:var(--kbq-modal-font-content-font-size, 14px);font-weight:var(--kbq-modal-font-content-font-weight, normal);line-height:var(--kbq-modal-font-content-line-height, 20px);font-family:var(--kbq-modal-font-content-font-family, Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Arial, sans-serif);text-transform:var(--kbq-modal-font-content-text-transform, );font-feature-settings:var(--kbq-modal-font-content-font-feature-settings, \"calt\", \"kern\", \"liga\", \"ss01\", \"ss04\");letter-spacing:var(--kbq-modal-font-content-letter-spacing, -.006em)}\n", ".kbq-modal{--kbq-modal-size-small-width: 400px;--kbq-modal-size-medium-width: 640px;--kbq-modal-size-large-width: 960px;--kbq-modal-size-border-radius: var(--kbq-size-s);--kbq-modal-size-header-padding-vertical: var(--kbq-size-l);--kbq-modal-size-header-padding-left: var(--kbq-size-xxl);--kbq-modal-size-header-padding-right: var(--kbq-size-5xl);--kbq-modal-size-close-button-margin-left: var(--kbq-size-s);--kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-content-padding-top: 0;--kbq-modal-size-content-padding-bottom: var(--kbq-size-s);--kbq-modal-size-content-padding-top-without-header: var(--kbq-size-xxl);--kbq-modal-size-content-padding-bottom-without-footer: var(--kbq-size-4xl);--kbq-modal-size-footer-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-footer-padding-vertical: var(--kbq-size-xl);--kbq-modal-size-footer-content-gap-horizontal: var(--kbq-size-l);--kbq-modal-font-header-font-size: var(--kbq-typography-title-font-size);--kbq-modal-font-header-line-height: var(--kbq-typography-title-line-height);--kbq-modal-font-header-letter-spacing: var(--kbq-typography-title-letter-spacing);--kbq-modal-font-header-font-weight: var(--kbq-typography-title-font-weight);--kbq-modal-font-header-font-family: var(--kbq-typography-title-font-family);--kbq-modal-font-header-text-transform: var(--kbq-typography-title-text-transform);--kbq-modal-font-header-font-feature-settings: var(--kbq-typography-title-font-feature-settings);--kbq-modal-font-content-font-size: var(--kbq-typography-text-normal-font-size);--kbq-modal-font-content-line-height: var(--kbq-typography-text-normal-line-height);--kbq-modal-font-content-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);--kbq-modal-font-content-font-weight: var(--kbq-typography-text-normal-font-weight);--kbq-modal-font-content-font-family: var(--kbq-typography-text-normal-font-family);--kbq-modal-font-content-text-transform: var(--kbq-typography-text-normal-text-transform);--kbq-modal-font-content-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}\n"] }]
583
+ }, template: "<!-- Compatible: the <ng-content> can appear only once -->\n<ng-template #tplOriginContent>\n <ng-content />\n</ng-template>\n\n<div>\n @if (kbqMask) {\n <div\n class=\"kbq-modal-mask\"\n [class.kbq-modal-mask-hidden]=\"hidden\"\n [ngClass]=\"maskAnimationClassMap\"\n [ngStyle]=\"kbqMaskStyle\"\n ></div>\n }\n\n <div\n tabindex=\"-1\"\n class=\"kbq-modal-wrap {{ kbqWrapClassName }}\"\n [style.display]=\"hidden ? 'none' : ''\"\n (mousedown)=\"onClickMask($event)\"\n >\n <div\n #modalContainer\n class=\"kbq-modal {{ kbqClassName }} kbq-modal_{{ kbqSize }}\"\n [class.kbq-modal_no-footer]=\"!kbqFooter\"\n [ngClass]=\"modalAnimationClassMap\"\n [ngStyle]=\"kbqStyle\"\n [style.transform-origin]=\"transformOrigin\"\n [style.width]=\"kbqWidth | toCssUnit\"\n >\n <div\n cdkTrapFocus\n class=\"kbq-modal-content\"\n >\n @switch (true) {\n @case (isModalType('default')) {\n <ng-container [ngTemplateOutlet]=\"tplContentDefault\" />\n }\n @case (isModalType('confirm')) {\n <ng-container [ngTemplateOutlet]=\"tplContentConfirm\" />\n }\n @case (isModalType('custom')) {\n <ng-container [ngTemplateOutlet]=\"tplContentCustom\" />\n }\n }\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #tplContentCustom>\n <ng-container #bodyContainer />\n</ng-template>\n\n<!-- [Predefined] Default Modal Content -->\n<ng-template #tplContentDefault>\n @if (kbqTitle) {\n <div\n kbq-title\n class=\"kbq-modal-header\"\n [class.kbq-modal-body_top-overflow]=\"isTopOverflow\"\n >\n <div class=\"kbq-modal-title\">\n @switch (true) {\n @case (isTemplateRef(kbqTitle)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqTitle)\" />\n }\n @case (isNonEmptyString(kbqTitle)) {\n <div [innerHTML]=\"kbqTitle\"></div>\n }\n }\n </div>\n @if (kbqClosable) {\n <button\n kbq-button\n class=\"kbq-modal-close kbq-button_transparent\"\n [color]=\"'contrast'\"\n (click)=\"onClickCloseBtn()\"\n >\n <i\n kbq-icon=\"kbq-xmark_16\"\n [color]=\"componentColors.Contrast\"\n ></i>\n </button>\n }\n </div>\n }\n <div\n #modalBody\n class=\"kbq-modal-body kbq-scrollbar\"\n [ngStyle]=\"kbqBodyStyle\"\n (scroll)=\"checkOverflow()\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqFooter || kbqOkText || kbqCancelText) {\n <div\n class=\"kbq-modal-footer\"\n [class.kbq-modal-body_bottom-overflow]=\"isBottomOverflow\"\n >\n @switch (true) {\n @case (isTemplateRef(kbqFooter)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqFooter)\" />\n }\n @case (isNonEmptyString(kbqFooter)) {\n <div [innerHTML]=\"kbqFooter\"></div>\n }\n @case (isModalButtons(kbqFooter)) {\n @for (button of $any(kbqFooter); track button) {\n @if (getButtonCallableProp(button, 'show')) {\n <button\n kbq-button\n [attr.autofocus]=\"button.autoFocus\"\n [attr.kbq-modal-main-action]=\"button.kbqModalMainAction\"\n [class.kbq-progress]=\"getButtonCallableProp(button, 'loading')\"\n [color]=\"button.type\"\n [disabled]=\"getButtonCallableProp(button, 'disabled')\"\n (click)=\"onButtonClick(button)\"\n >\n {{ button.label }}\n </button>\n }\n }\n }\n @default {\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"componentColors.Contrast\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n }\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Default Modal Content -->\n\n<!-- [Predefined] Confirm Modal Content -->\n<ng-template #tplContentConfirm>\n <div\n class=\"kbq-modal-body\"\n [ngStyle]=\"kbqBodyStyle\"\n >\n <ng-container #bodyContainer>\n @if (!isComponent(kbqContent)) {\n @switch (true) {\n @case (isTemplateRef(kbqContent)) {\n <ng-container [ngTemplateOutlet]=\"$any(kbqContent)\" />\n }\n @case (isNonEmptyString(kbqContent)) {\n <div [innerHTML]=\"kbqContent\"></div>\n }\n @default {\n <ng-container [ngTemplateOutlet]=\"tplOriginContent\" />\n }\n }\n }\n </ng-container>\n </div>\n @if (kbqOkText || kbqCancelText) {\n <div class=\"kbq-confirm-footer\">\n @if (kbqOkText) {\n <button\n kbq-button\n [attr.autofocus]=\"true\"\n [color]=\"kbqOkType\"\n (click)=\"onClickOkCancel('ok')\"\n >\n {{ okText }}\n </button>\n }\n @if (kbqCancelText) {\n <button\n kbq-button\n (click)=\"onClickOkCancel('cancel')\"\n >\n {{ cancelText }}\n </button>\n }\n </div>\n }\n</ng-template>\n<!-- /[Predefined] Confirm Modal Content -->\n", styles: [".kbq-confirm .kbq-modal-close{display:none}.kbq-confirm .kbq-confirm-footer{display:flex;gap:var(--kbq-modal-size-footer-content-gap-horizontal)}.kbq-modal{box-sizing:border-box;position:relative;top:48px;border-radius:var(--kbq-modal-size-border-radius);width:auto;margin:0 auto;list-style:none}.kbq-modal.zoom-enter,.kbq-modal.zoom-appear{animation-duration:.3s;transform:none;opacity:0}.kbq-modal.kbq-modal_small{width:var(--kbq-modal-size-small-width)}.kbq-modal.kbq-modal_medium{width:var(--kbq-modal-size-medium-width)}.kbq-modal.kbq-modal_large{width:var(--kbq-modal-size-large-width)}.kbq-modal .kbq-modal-close{position:absolute;top:16px;right:8px}.kbq-modal-wrap{position:fixed;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;outline:0}.kbq-modal-content{position:relative;border-radius:var(--kbq-modal-size-border-radius);background-clip:padding-box}.kbq-modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-right) var(--kbq-modal-size-header-padding-vertical) var(--kbq-modal-size-header-padding-left)}.kbq-modal-header+.kbq-modal-body{padding-top:var(--kbq-modal-size-content-padding-top)}.kbq-modal-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.kbq-modal-body{display:block;overflow-y:auto;max-height:calc(100vh - 260px);padding:var(--kbq-modal-size-content-padding-top-without-header) var(--kbq-modal-size-content-padding-horizontal) var(--kbq-modal-size-content-padding-bottom) var(--kbq-modal-size-content-padding-horizontal);word-wrap:break-word}.kbq-modal-body>*{position:relative}.kbq-modal-footer,.kbq-confirm-footer{display:flex;align-items:center;padding:var(--kbq-modal-size-footer-padding-vertical) var(--kbq-modal-size-footer-padding-horizontal);gap:var(--kbq-modal-size-footer-content-gap-horizontal)}.kbq-modal-mask{position:fixed;inset:0;height:100%}.kbq-modal-mask.kbq-modal-mask-hidden{display:none}.kbq-modal-open{overflow:hidden}.kbq-modal{background:var(--kbq-modal-container-background);box-shadow:var(--kbq-modal-container-box-shadow)}.kbq-modal .kbq-modal-header .kbq-modal-title{color:var(--kbq-modal-header-text-color)}.kbq-modal .kbq-modal-header .kbq-modal-close{color:var(--kbq-modal-close-button-color)}.kbq-modal .kbq-modal-content{color:var(--kbq-modal-content-text-color)}.kbq-modal .kbq-modal-header.kbq-modal-body_top-overflow{box-shadow:var(--kbq-shadow-overflow-normal-bottom)}.kbq-modal .kbq-modal-footer.kbq-modal-body_bottom-overflow{box-shadow:var(--kbq-shadow-overflow-normal-top)}.kbq-modal-mask{background-color:var(--kbq-modal-overlay-background)}.kbq-modal-title{font-size:var(--kbq-modal-font-header-font-size);font-weight:var(--kbq-modal-font-header-font-weight);line-height:var(--kbq-modal-font-header-line-height);font-family:var(--kbq-modal-font-header-font-family);text-transform:var(--kbq-modal-font-header-text-transform);font-feature-settings:var(--kbq-modal-font-header-font-feature-settings);letter-spacing:var(--kbq-modal-font-header-letter-spacing)}.kbq-modal-body{font-size:var(--kbq-modal-font-content-font-size);font-weight:var(--kbq-modal-font-content-font-weight);line-height:var(--kbq-modal-font-content-line-height);font-family:var(--kbq-modal-font-content-font-family);text-transform:var(--kbq-modal-font-content-text-transform);font-feature-settings:var(--kbq-modal-font-content-font-feature-settings);letter-spacing:var(--kbq-modal-font-content-letter-spacing)}\n", ".kbq-modal{--kbq-modal-size-small-width: 400px;--kbq-modal-size-medium-width: 640px;--kbq-modal-size-large-width: 960px;--kbq-modal-size-border-radius: var(--kbq-size-s);--kbq-modal-size-header-padding-vertical: var(--kbq-size-l);--kbq-modal-size-header-padding-left: var(--kbq-size-xxl);--kbq-modal-size-header-padding-right: var(--kbq-size-5xl);--kbq-modal-size-close-button-margin-left: var(--kbq-size-s);--kbq-modal-size-content-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-content-padding-top: 0;--kbq-modal-size-content-padding-bottom: var(--kbq-size-s);--kbq-modal-size-content-padding-top-without-header: var(--kbq-size-xxl);--kbq-modal-size-content-padding-bottom-without-footer: var(--kbq-size-4xl);--kbq-modal-size-footer-padding-horizontal: var(--kbq-size-xxl);--kbq-modal-size-footer-padding-vertical: var(--kbq-size-xl);--kbq-modal-size-footer-content-gap-horizontal: var(--kbq-size-l);--kbq-modal-font-header-font-size: var(--kbq-typography-title-font-size);--kbq-modal-font-header-line-height: var(--kbq-typography-title-line-height);--kbq-modal-font-header-letter-spacing: var(--kbq-typography-title-letter-spacing);--kbq-modal-font-header-font-weight: var(--kbq-typography-title-font-weight);--kbq-modal-font-header-font-family: var(--kbq-typography-title-font-family);--kbq-modal-font-header-text-transform: var(--kbq-typography-title-text-transform);--kbq-modal-font-header-font-feature-settings: var(--kbq-typography-title-font-feature-settings);--kbq-modal-font-content-font-size: var(--kbq-typography-text-normal-font-size);--kbq-modal-font-content-line-height: var(--kbq-typography-text-normal-line-height);--kbq-modal-font-content-letter-spacing: var(--kbq-typography-text-normal-letter-spacing);--kbq-modal-font-content-font-weight: var(--kbq-typography-text-normal-font-weight);--kbq-modal-font-content-font-family: var(--kbq-typography-text-normal-font-family);--kbq-modal-font-content-text-transform: var(--kbq-typography-text-normal-text-transform);--kbq-modal-font-content-font-feature-settings: var(--kbq-typography-text-normal-font-feature-settings)}:where(.kbq-light,.theme-light,.kbq-theme-light){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}:where(.kbq-dark,.theme-dark,.kbq-theme-dark){--kbq-modal-overlay-background: var(--kbq-background-overlay);--kbq-modal-container-background: var(--kbq-background-card);--kbq-modal-container-box-shadow: var(--kbq-shadow-overlay);--kbq-modal-close-button-color: var(--kbq-icon-contrast);--kbq-modal-header-text-color: var(--kbq-foreground-contrast);--kbq-modal-content-text-color: var(--kbq-foreground-contrast)}\n"] }]
586
584
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: KbqModalControlService }, { type: i0.ChangeDetectorRef }, { type: i3.FocusMonitor }, { type: undefined, decorators: [{
587
585
  type: Inject,
588
586
  args: [DOCUMENT]