@mojawork/ui-docs 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/README.md +22 -0
  2. package/bin/serve.mjs +73 -0
  3. package/catalog/atoms/background.md +130 -0
  4. package/catalog/atoms/barcode.md +285 -0
  5. package/catalog/atoms/buzzer.md +210 -0
  6. package/catalog/atoms/card.md +174 -0
  7. package/catalog/atoms/chart.md +236 -0
  8. package/catalog/atoms/clock.md +252 -0
  9. package/catalog/atoms/copy-value.md +203 -0
  10. package/catalog/atoms/image-grid.md +208 -0
  11. package/catalog/atoms/image-slider.md +216 -0
  12. package/catalog/atoms/lang-selector.md +237 -0
  13. package/catalog/atoms/mosaic.md +366 -0
  14. package/catalog/atoms/placeholder.md +157 -0
  15. package/catalog/atoms/qr-code.md +334 -0
  16. package/catalog/atoms/rating.md +176 -0
  17. package/catalog/atoms/reader-doc.md +404 -0
  18. package/catalog/atoms/text-animate.md +122 -0
  19. package/catalog/atoms/thumb.md +153 -0
  20. package/catalog/atoms/timer.md +111 -0
  21. package/catalog/atoms/typewriter.md +132 -0
  22. package/catalog/cdk/splitter.md +63 -0
  23. package/catalog/cdk/table.md +188 -0
  24. package/catalog/forms/autocomplete.md +304 -0
  25. package/catalog/forms/checkbox.md +218 -0
  26. package/catalog/forms/input.md +193 -0
  27. package/catalog/forms/slider.md +142 -0
  28. package/catalog/forms/switch.md +188 -0
  29. package/catalog/guide.json +1209 -0
  30. package/catalog/layout/header.md +167 -0
  31. package/catalog/layout/main.md +158 -0
  32. package/catalog/layout/media-screen.md +163 -0
  33. package/catalog/layout/nav.md +181 -0
  34. package/catalog/layout/overlay.md +256 -0
  35. package/catalog/layout/spinner.md +94 -0
  36. package/catalog/layout/splitter.md +331 -0
  37. package/catalog/layout/tabs.md +144 -0
  38. package/catalog/layout/top-scroll-bottom.md +98 -0
  39. package/catalog/manifest.json +482 -0
  40. package/catalog/mcp.json +44 -0
  41. package/catalog/molecules/image-editor.md +285 -0
  42. package/catalog/usage.md +137 -0
  43. package/catalog/version.json +4 -0
  44. package/package.json +10 -0
  45. package/storybook/1183.da25800b.iframe.bundle.js +1 -0
  46. package/storybook/1255.2abec879.iframe.bundle.js +2 -0
  47. package/storybook/1255.2abec879.iframe.bundle.js.LICENSE.txt +5 -0
  48. package/storybook/1516.52d2dae7.iframe.bundle.js +2 -0
  49. package/storybook/1516.52d2dae7.iframe.bundle.js.LICENSE.txt +5 -0
  50. package/storybook/2033.c705a7ce.iframe.bundle.js +1 -0
  51. package/storybook/2089.32694489.iframe.bundle.js +1 -0
  52. package/storybook/2096.431fc8f5.iframe.bundle.js +1 -0
  53. package/storybook/2127.29f153d2.iframe.bundle.js +2 -0
  54. package/storybook/2127.29f153d2.iframe.bundle.js.LICENSE.txt +7 -0
  55. package/storybook/2228.77650ef1.iframe.bundle.js +2 -0
  56. package/storybook/2228.77650ef1.iframe.bundle.js.LICENSE.txt +1 -0
  57. package/storybook/2249.6e6782ab.iframe.bundle.js +1 -0
  58. package/storybook/2639.29baa8af.iframe.bundle.js +1 -0
  59. package/storybook/2844.c9f47654.iframe.bundle.js +1 -0
  60. package/storybook/2971.edb202b4.iframe.bundle.js +1 -0
  61. package/storybook/3899.55560628.iframe.bundle.js +2 -0
  62. package/storybook/3899.55560628.iframe.bundle.js.LICENSE.txt +5 -0
  63. package/storybook/3968.69b812e4.iframe.bundle.js +1 -0
  64. package/storybook/4255.eeeaf087.iframe.bundle.js +111 -0
  65. package/storybook/4255.eeeaf087.iframe.bundle.js.LICENSE.txt +49 -0
  66. package/storybook/4255.eeeaf087.iframe.bundle.js.map +1 -0
  67. package/storybook/4425.368129b3.iframe.bundle.js +2 -0
  68. package/storybook/4425.368129b3.iframe.bundle.js.LICENSE.txt +5 -0
  69. package/storybook/4476.f8e4115f.iframe.bundle.js +1 -0
  70. package/storybook/4495.d1c8cc8d.iframe.bundle.js +1 -0
  71. package/storybook/4555.066c242d.iframe.bundle.js +1 -0
  72. package/storybook/4755.e4656207.iframe.bundle.js +23 -0
  73. package/storybook/4755.e4656207.iframe.bundle.js.LICENSE.txt +14 -0
  74. package/storybook/4755.e4656207.iframe.bundle.js.map +1 -0
  75. package/storybook/4935.8959522b.iframe.bundle.js +1 -0
  76. package/storybook/5568.c6172f92.iframe.bundle.js +1 -0
  77. package/storybook/5944.810cb147.iframe.bundle.js +1 -0
  78. package/storybook/6115.7f1470ef.iframe.bundle.js +1 -0
  79. package/storybook/6169.eaeed989.iframe.bundle.js +2 -0
  80. package/storybook/6169.eaeed989.iframe.bundle.js.LICENSE.txt +5 -0
  81. package/storybook/6202.b8ca0e90.iframe.bundle.js +2 -0
  82. package/storybook/6202.b8ca0e90.iframe.bundle.js.LICENSE.txt +5 -0
  83. package/storybook/660.18f0458e.iframe.bundle.js +1 -0
  84. package/storybook/6824.f5eb8bb7.iframe.bundle.js +1 -0
  85. package/storybook/7316.5b024e94.iframe.bundle.js +1 -0
  86. package/storybook/7749.2a853795.iframe.bundle.js +1 -0
  87. package/storybook/8051.719eb790.iframe.bundle.js +1 -0
  88. package/storybook/813.805c1e5f.iframe.bundle.js +1 -0
  89. package/storybook/8448.1baeb046.iframe.bundle.js +1 -0
  90. package/storybook/871.428deceb.iframe.bundle.js +1 -0
  91. package/storybook/8819.220ca21d.iframe.bundle.js +1 -0
  92. package/storybook/9045.a50616e9.iframe.bundle.js +2 -0
  93. package/storybook/9045.a50616e9.iframe.bundle.js.LICENSE.txt +5 -0
  94. package/storybook/9560.668052f3.iframe.bundle.js +7 -0
  95. package/storybook/9560.668052f3.iframe.bundle.js.map +1 -0
  96. package/storybook/973.67f44bb0.iframe.bundle.js +1 -0
  97. package/storybook/9850.28367747.iframe.bundle.js +1 -0
  98. package/storybook/9946.36014b4e.iframe.bundle.js +1 -0
  99. package/storybook/MaterialIcons-Regular.woff2 +0 -0
  100. package/storybook/MaterialIconsOutlined-Regular.woff2 +0 -0
  101. package/storybook/PetMe64.ttf +0 -0
  102. package/storybook/_external-mwork-banner-docs-mdx.0d5549a0.iframe.bundle.js +1 -0
  103. package/storybook/_external-mwork-banner-mwork-banner-stories.d44f6917.iframe.bundle.js +1 -0
  104. package/storybook/_external-mwork-basic-interpreter-docs-mdx.03c6205c.iframe.bundle.js +1 -0
  105. package/storybook/_external-mwork-basic-interpreter-mwork-basic-interpreter-stories.3252a9b8.iframe.bundle.js +1 -0
  106. package/storybook/_external-mwork-music-player-docs-mdx.6f943768.iframe.bundle.js +1 -0
  107. package/storybook/_external-mwork-music-player-mwork-music-player-stories.08fbf651.iframe.bundle.js +1 -0
  108. package/storybook/assets/fonts/PETME64-LICENSE.txt +20 -0
  109. package/storybook/assets/fonts/PetMe64.ttf +0 -0
  110. package/storybook/assets/fonts/icons/MaterialIcons-Regular.woff2 +0 -0
  111. package/storybook/assets/fonts/icons/MaterialIconsOutlined-Regular.woff2 +0 -0
  112. package/storybook/assets/ui/documents/demo.pdf +42 -0
  113. package/storybook/assets/ui/i18n/de-DE.json +1 -0
  114. package/storybook/assets/ui/i18n/en-EN.json +2 -0
  115. package/storybook/assets/ui/i18n/ui/de-DE.json +95 -0
  116. package/storybook/assets/ui/i18n/ui/en-EN.json +95 -0
  117. package/storybook/assets/ui/images/600x600.png +0 -0
  118. package/storybook/assets/ui/images/600x800.png +0 -0
  119. package/storybook/assets/ui/images/800x600.png +0 -0
  120. package/storybook/assets/ui/images/unknown.gif +0 -0
  121. package/storybook/atoms-_electrons-form-error-message-docs-mdx.5b9e78fe.iframe.bundle.js +1 -0
  122. package/storybook/atoms-_electrons-form-error-message-form-error-message-component-stories.7f749acc.iframe.bundle.js +1 -0
  123. package/storybook/atoms-background-background-component-stories.b6b50c0c.iframe.bundle.js +1 -0
  124. package/storybook/atoms-background-docs-mdx.4f102c17.iframe.bundle.js +1 -0
  125. package/storybook/atoms-barcode-barcode-component-stories.dc462559.iframe.bundle.js +1 -0
  126. package/storybook/atoms-barcode-docs-mdx.b74c501b.iframe.bundle.js +1 -0
  127. package/storybook/atoms-buzzer-buzzer-component-stories.13ee130d.iframe.bundle.js +1 -0
  128. package/storybook/atoms-buzzer-docs-mdx.23eb1913.iframe.bundle.js +1 -0
  129. package/storybook/atoms-card-card-component-stories.065b34e9.iframe.bundle.js +1 -0
  130. package/storybook/atoms-card-docs-mdx.7d276114.iframe.bundle.js +1 -0
  131. package/storybook/atoms-chart-chart-component-stories.5247b7cb.iframe.bundle.js +1 -0
  132. package/storybook/atoms-chart-docs-mdx.204609d4.iframe.bundle.js +1 -0
  133. package/storybook/atoms-clock-clock-component-stories.d1464731.iframe.bundle.js +1 -0
  134. package/storybook/atoms-clock-docs-mdx.501e6780.iframe.bundle.js +1 -0
  135. package/storybook/atoms-copy-value-copy-value-component-stories.58d3956a.iframe.bundle.js +1 -0
  136. package/storybook/atoms-copy-value-docs-mdx.f404dcd2.iframe.bundle.js +1 -0
  137. package/storybook/atoms-image-grid-docs-mdx.18b4df2a.iframe.bundle.js +1 -0
  138. package/storybook/atoms-image-grid-image-grid-component-stories.a0a92d9e.iframe.bundle.js +1 -0
  139. package/storybook/atoms-image-slider-docs-mdx.c616bb37.iframe.bundle.js +1 -0
  140. package/storybook/atoms-image-slider-image-slider-component-stories.484b9c41.iframe.bundle.js +1 -0
  141. package/storybook/atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js +2 -0
  142. package/storybook/atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js.LICENSE.txt +5 -0
  143. package/storybook/atoms-lang-selector-lang-selector-component-stories.41d7efd1.iframe.bundle.js +2 -0
  144. package/storybook/atoms-lang-selector-lang-selector-component-stories.41d7efd1.iframe.bundle.js.LICENSE.txt +5 -0
  145. package/storybook/atoms-mosaic-docs-mdx.1aebfbdf.iframe.bundle.js +1 -0
  146. package/storybook/atoms-mosaic-mosaic-component-stories.0a6bc043.iframe.bundle.js +1 -0
  147. package/storybook/atoms-placeholder-docs-mdx.cd2f3976.iframe.bundle.js +1 -0
  148. package/storybook/atoms-placeholder-placeholder-component-stories.bc221534.iframe.bundle.js +1 -0
  149. package/storybook/atoms-qr-code-docs-mdx.4202568d.iframe.bundle.js +1 -0
  150. package/storybook/atoms-qr-code-qr-code-component-stories.5018e2b0.iframe.bundle.js +1 -0
  151. package/storybook/atoms-rating-docs-mdx.32fa4104.iframe.bundle.js +1 -0
  152. package/storybook/atoms-rating-rating-component-stories.982db47d.iframe.bundle.js +1 -0
  153. package/storybook/atoms-reader-doc-docs-mdx.0688c3b9.iframe.bundle.js +1 -0
  154. package/storybook/atoms-reader-doc-reader-doc-component-stories.a6fec57d.iframe.bundle.js +1 -0
  155. package/storybook/atoms-text-animate-docs-mdx.05e1baf4.iframe.bundle.js +1 -0
  156. package/storybook/atoms-text-animate-text-animate-component-stories.8041c0f1.iframe.bundle.js +1 -0
  157. package/storybook/atoms-thumb-docs-mdx.2143ad01.iframe.bundle.js +1 -0
  158. package/storybook/atoms-thumb-thumb-component-stories.06f51d03.iframe.bundle.js +1 -0
  159. package/storybook/atoms-timer-docs-mdx.6f724cc8.iframe.bundle.js +1 -0
  160. package/storybook/atoms-timer-timer-component-stories.9bee1037.iframe.bundle.js +1 -0
  161. package/storybook/atoms-typewriter-docs-mdx.3b1088c0.iframe.bundle.js +1 -0
  162. package/storybook/atoms-typewriter-typewriter-component-stories.4fefc019.iframe.bundle.js +1 -0
  163. package/storybook/cdk-components-drag-and-drop-splitter-docs-mdx.f12088fd.iframe.bundle.js +1 -0
  164. package/storybook/cdk-components-drag-and-drop-splitter-splitter-component-stories.286b5171.iframe.bundle.js +1 -0
  165. package/storybook/cdk-components-table-docs-mdx.cc2c11e7.iframe.bundle.js +1 -0
  166. package/storybook/cdk-components-table-table-component-stories.db9212fd.iframe.bundle.js +1 -0
  167. package/storybook/examples-burger-menu-stories.0a083a75.iframe.bundle.js +1 -0
  168. package/storybook/examples-docs-mdx.3111f2c6.iframe.bundle.js +1 -0
  169. package/storybook/examples-image-grid-slider-docs-mdx.9e38157e.iframe.bundle.js +1 -0
  170. package/storybook/examples-image-grid-slider-image-grid-slider-stories.028c8c2b.iframe.bundle.js +1 -0
  171. package/storybook/examples-layout-docs-mdx.bbacdfd2.iframe.bundle.js +1 -0
  172. package/storybook/examples-layout-layout-stories.05cd891f.iframe.bundle.js +1 -0
  173. package/storybook/examples-table-edit-focus-docs-mdx.3c0d1611.iframe.bundle.js +1 -0
  174. package/storybook/examples-table-edit-focus-table-edit-focus-stories.c79e214a.iframe.bundle.js +1 -0
  175. package/storybook/examples-transloco-docs-mdx.97df7022.iframe.bundle.js +2 -0
  176. package/storybook/examples-transloco-docs-mdx.97df7022.iframe.bundle.js.LICENSE.txt +5 -0
  177. package/storybook/examples-transloco-transloco-component-stories.5baea2e2.iframe.bundle.js +2 -0
  178. package/storybook/examples-transloco-transloco-component-stories.5baea2e2.iframe.bundle.js.LICENSE.txt +5 -0
  179. package/storybook/favicon-wrapper.svg +46 -0
  180. package/storybook/favicon.svg +1 -0
  181. package/storybook/forms-autocomplete-autocomplete-component-stories.443544e0.iframe.bundle.js +2 -0
  182. package/storybook/forms-autocomplete-autocomplete-component-stories.443544e0.iframe.bundle.js.LICENSE.txt +5 -0
  183. package/storybook/forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js +2 -0
  184. package/storybook/forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js.LICENSE.txt +5 -0
  185. package/storybook/forms-autofocus-autofocus-stories.2e94d887.iframe.bundle.js +1 -0
  186. package/storybook/forms-autofocus-docs-mdx.39611362.iframe.bundle.js +1 -0
  187. package/storybook/forms-checkbox-checkbox-component-stories.d45b4f0d.iframe.bundle.js +1 -0
  188. package/storybook/forms-checkbox-docs-mdx.74036eb7.iframe.bundle.js +1 -0
  189. package/storybook/forms-input-docs-mdx.72d0e99a.iframe.bundle.js +1 -0
  190. package/storybook/forms-input-input-component-stories.609db3f0.iframe.bundle.js +1 -0
  191. package/storybook/forms-slider-docs-mdx.120cefc6.iframe.bundle.js +1 -0
  192. package/storybook/forms-slider-slider-component-stories.058fb9b1.iframe.bundle.js +1 -0
  193. package/storybook/forms-switch-docs-mdx.9d58a341.iframe.bundle.js +1 -0
  194. package/storybook/forms-switch-switch-component-stories.bf67d7c9.iframe.bundle.js +1 -0
  195. package/storybook/forms-validators-docs-mdx.ebb47a43.iframe.bundle.js +1 -0
  196. package/storybook/forms-validators-validators-component-stories.9525f97b.iframe.bundle.js +1 -0
  197. package/storybook/home-guide-mdx.1a176b15.iframe.bundle.js +1 -0
  198. package/storybook/home-overview-mdx.d0cf448a.iframe.bundle.js +1 -0
  199. package/storybook/home-tips-mdx.26df81d8.iframe.bundle.js +1 -0
  200. package/storybook/home-usage-mdx.7ba89dd0.iframe.bundle.js +1 -0
  201. package/storybook/iframe.html +558 -0
  202. package/storybook/index.html +155 -0
  203. package/storybook/index.json +1 -0
  204. package/storybook/layout-main-docs-mdx.4c9208c5.iframe.bundle.js +1 -0
  205. package/storybook/layout-main-main-component-stories.788c0c54.iframe.bundle.js +1 -0
  206. package/storybook/layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js +2 -0
  207. package/storybook/layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js.LICENSE.txt +5 -0
  208. package/storybook/layout-media-screen-media-screen-component-stories.7941c064.iframe.bundle.js +2 -0
  209. package/storybook/layout-media-screen-media-screen-component-stories.7941c064.iframe.bundle.js.LICENSE.txt +5 -0
  210. package/storybook/layout-nav-docs-mdx.cc919f94.iframe.bundle.js +1 -0
  211. package/storybook/layout-nav-nav-component-stories.766738fc.iframe.bundle.js +1 -0
  212. package/storybook/layout-overlay-docs-mdx.823351e0.iframe.bundle.js +1 -0
  213. package/storybook/layout-overlay-header-docs-mdx.394033ca.iframe.bundle.js +1 -0
  214. package/storybook/layout-overlay-header-header-component-stories.5eaef192.iframe.bundle.js +1 -0
  215. package/storybook/layout-overlay-overlay-component-stories.01f6cd84.iframe.bundle.js +1 -0
  216. package/storybook/layout-spinner-docs-mdx.4be572c0.iframe.bundle.js +1 -0
  217. package/storybook/layout-spinner-spinner-component-stories.ab8245c6.iframe.bundle.js +1 -0
  218. package/storybook/layout-splitter-docs-mdx.bf161b39.iframe.bundle.js +1 -0
  219. package/storybook/layout-splitter-splitter-component-stories.46b8b112.iframe.bundle.js +1 -0
  220. package/storybook/layout-tabs-docs-mdx.89d83606.iframe.bundle.js +1 -0
  221. package/storybook/layout-tabs-tabs-component-stories.8602cefa.iframe.bundle.js +1 -0
  222. package/storybook/layout-top-scroll-bottom-docs-mdx.ddc061f8.iframe.bundle.js +1 -0
  223. package/storybook/layout-top-scroll-bottom-top-scroll-bottom-component-stories.9ee7055f.iframe.bundle.js +1 -0
  224. package/storybook/main.2d116a57.iframe.bundle.js +1 -0
  225. package/storybook/main.a402659c6a0734088d14.css +2101 -0
  226. package/storybook/mocker-runtime-injected.js +1 -0
  227. package/storybook/molecules-image-editor-docs-mdx.119ea12a.iframe.bundle.js +1 -0
  228. package/storybook/molecules-image-editor-image-editor-component-stories.56467f17.iframe.bundle.js +1 -0
  229. package/storybook/nunito-sans-bold-italic.woff2 +0 -0
  230. package/storybook/nunito-sans-bold.woff2 +0 -0
  231. package/storybook/nunito-sans-italic.woff2 +0 -0
  232. package/storybook/nunito-sans-regular.woff2 +0 -0
  233. package/storybook/project.json +1 -0
  234. package/storybook/runtime~main.a9b8ab83.iframe.bundle.js +1 -0
  235. package/storybook/sb-addons/docs-1/manager-bundle.js +3 -0
  236. package/storybook/sb-addons/libs-ui-storybook-2/manager-bundle.js +3 -0
  237. package/storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +630 -0
  238. package/storybook/sb-common-assets/favicon-wrapper.svg +46 -0
  239. package/storybook/sb-common-assets/favicon.svg +1 -0
  240. package/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  241. package/storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  242. package/storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  243. package/storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  244. package/storybook/sb-manager/globals-runtime.js +76714 -0
  245. package/storybook/sb-manager/globals.js +24 -0
  246. package/storybook/sb-manager/manager-stores.js +23 -0
  247. package/storybook/sb-manager/runtime.js +27451 -0
  248. package/storybook/sb-preview/globals.js +20 -0
  249. package/storybook/sb-preview/runtime.js +35491 -0
  250. package/storybook/styling-colors-colors-component-stories.58031f40.iframe.bundle.js +1 -0
  251. package/storybook/styling-colors-docs-mdx.95c504e4.iframe.bundle.js +1 -0
  252. package/storybook/styling-css-variables-docs-mdx.48afb4f3.iframe.bundle.js +1 -0
  253. package/storybook/styling-forms-docs-mdx.943e72f2.iframe.bundle.js +1 -0
  254. package/storybook/styling-forms-forms-component-stories.8af76278.iframe.bundle.js +1 -0
  255. package/storybook/styling-icons-docs-mdx.e1001dfd.iframe.bundle.js +1 -0
  256. package/storybook/styling-icons-icons-component-stories.2dd8c6f8.iframe.bundle.js +1 -0
  257. package/storybook/styling-layers-docs-mdx.5039dc45.iframe.bundle.js +1 -0
  258. package/storybook/styling-tags-docs-mdx.23ab2316.iframe.bundle.js +1 -0
  259. package/storybook/styling-tags-tags-component-stories.7a64bd20.iframe.bundle.js +1 -0
  260. package/storybook/styling-ui-tags-docs-mdx.8f75631d.iframe.bundle.js +1 -0
  261. package/storybook/styling-ui-tags-ui-tags-component-stories.2ec3109b.iframe.bundle.js +1 -0
  262. package/storybook/version.json +4 -0
  263. package/version.json +4 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[947],{"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/splitter/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_splitter_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/layout/splitter/splitter.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_layout_splitter_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-layout-splitter.json");function _createMdxContent(props){const _components={a:"a",code:"code",h3:"h3",h4:"h4",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_splitter_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"layout-splitter",children:"Layout: Splitter"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"A versatile layout component that divides the view into a header and two side-by-side panels (left and right)."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Divides a view into a header and two side-by-side panels (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[splitter-header]"}),",\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[splitter-left]"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[splitter-right]"}),"), with buttons to change the direction,\nzoom and go fullscreen; given an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"id"}),", it remembers that layout per instance\nand restores it without animation. It arranges the three slots and nothing\nelse — no resizing by drag, no collapsing of a panel, no content of its own.\nDrag and drop between two lists is ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-cdk-drag-drop-splitter"}),", a different\nthing with a similar name."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-layout-splitter",entry:_guide_ui_layout_splitter_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"overview",children:"Overview"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutSplitterComponent"})," is designed for complex interfaces requiring a header and dual-pane content. Theme toggling is delegated to the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutService"}),". When an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"id"})," is provided, the splitter persists its ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"direction, zoom and fullscreen"})," per instance via ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"@ngx-pwa/local-storage"})," and restores them on init — so several splitters each remember their own last layout independently (zoom/fullscreen are re-applied through the shared layout service)."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The restored layout is applied ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"without animation"})," so it appears instantly on load; the direction transition only plays in response to a user clicking one of the layout buttons."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-splitter",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/layout-splitter--splitter",children:"Example: Splitter"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"arguments-props",children:"Arguments (Props)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"id"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"string"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"undefined"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Unique key used to persist and restore this splitter's direction. Without it the direction is not saved."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"defaultDirection"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'left' | 'center' | 'right' | 'split'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'center'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Initial direction used before any persisted value is restored."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"defaultPanelOrder"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'left-first' | 'right-first'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'left-first'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Which panel comes first before the user says otherwise, and before a persisted order is restored."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"layoutAction"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Show/hide layout management buttons (zoom, fullscreen)."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"themeAction"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Show/hide the theme toggle button."})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"outputs",children:"Outputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Output"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"animating"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})," when a direction change starts animating,\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"false"})," once it has settled (a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"transitionend"})," on\nthe panel row, with a timeout as a fallback for changes that animate\nnothing). Use it to lighten heavy panel content for the duration."]})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"directionChange"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"UiLayoutSplitterDirectionsType"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The active split direction: emitted once after initialisation (the\ndefault or the restored persisted state) and again on every direction\nchange. Lets a consumer adapt its layout to the state — e.g. relocate\na panel while the splitter is stacked (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"split"}),") — without\nreaching into the component."]})})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"swapping-the-panels",children:"Swapping the panels"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Swap panels"})," button turns the two panels around. Side by side they trade\nsides; stacked — below ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ms5"}),", or in ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"split"})," at any width — they trade top and\nbottom. It is one action with one meaning, and the button lights up while the\nright panel is the one in front."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"The panels are moved, not painted elsewhere."})," The two ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<section>"})," elements\nchange places in the document, so the reading order, the screen-reader order\nand the tab order are the same order in both layouts. Shifting them with CSS\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"order"})," would have been a line of stylesheet and a lie: it moves pixels and\nleaves the focus where it was."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Moving has a price, and it is worth knowing before a heavy panel goes in. In\nthe DOM a move is a removal followed by an insertion, so anything the browser\nattached to those nodes starts over: an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<iframe>"})," reloads, a playing ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<video>"}),"\nresets, a scrolled panel is back at the top. Angular rebuilds nothing —\ncomponent state and typed-in values survive. The focus is put back where it\nwas. The price is paid on a deliberate press, not on every resize."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Like the direction, the order is remembered per ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"id"})," and ignored while the\ncontrols are locked; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"swapPanels()"})," stays callable either way. Where a page\nknows its own better starting point, ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"defaultPanelOrder"})," sets it — a mask whose\nform matters more than its list can open with the form in front, on the phone\nas well as on the desk."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"published-panel-widths-css-variables",children:"Published panel widths (CSS variables)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The grid sizes both panels in ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"fr"})," units, so their pixel widths exist only at\nruntime. Since a variable set on the host would reach descendants only, the\ncomponent publishes the measured widths on ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<body>"})," — that way content\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"outside"})," the splitter (an overlay that lines up with a panel, a ruler, an\ninspector) can use them too. A ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ResizeObserver"})," keeps them in sync with\ndirection changes, zoom, fullscreen and window resizing."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Variable"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Value"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"When"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-splitter-left-width"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Width of the left panel in px"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Always"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-splitter-right-width"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Width of the right panel in px"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Always"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-splitter-<id>-left-width"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Same value, scoped to this instance"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Only with an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"id"})]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"--ui-splitter-<id>-right-width"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Same value, scoped to this instance"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Only with an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"id"})]})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The unscoped names always carry the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"last measured"})," splitter. With more than\none instance on a page, give each an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"id"})," and read the scoped names."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["While a direction change is animating, measuring pauses and a single reading is\ntaken at the end (a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"transitionend"})," on the panel row, with a timeout as a\nfallback). Publishing a new value on every frame would invalidate the styles of\nthe whole page each time and make the change stutter — and nobody needs the\nintermediate widths."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The same state is announced through the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"animating"})," output: ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"true"})," when the\nchange starts, ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"false"})," when it has settled. What else should happen meanwhile is\nthe consumer's decision — a panel holding a long table may want to drop its\ncontent for the duration (laying it out on every frame is the expensive part of\nthe change), a light panel can ignore the event entirely. The component itself\nonly pauses its own measuring; it never touches projected content."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["They are written to ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<body>"})," rather than ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:":root"})," on purpose: the config wrapper\nregenerates the entire ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:":root"})," style attribute and would wipe them."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"control-buttons--tooltips",children:"Control buttons & tooltips"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The button bar exposes the layout controls. Each button carries a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"title"}),"\ntooltip resolved through Transloco (namespace ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"splitter.*"}),"), so the labels are\ntranslatable and stay in sync across languages."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Icon"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Action"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Transloco key"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Tooltip (EN)"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"border_left"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Direction ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"left"})," (left panel wide)"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.direction.left"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Enlarge left panel"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"border_vertical"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Direction ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"center"})," (equal panels)"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.direction.center"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Split evenly"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"border_right"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Direction ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"right"})," (right panel wide)"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.direction.right"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Enlarge right panel"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"border_horizontal"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Direction ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"split"})," (panels stacked)"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.direction.split"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Stack panels"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"swap_horiz"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Swap the two panels (lit while the right one is in front)"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.swap"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Swap panels"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"zoom_out_map"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Toggle fullscreen (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"layoutAction"}),")"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.fullscreen"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Toggle fullscreen"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"center_focus_strong"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Toggle zoom (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"layoutAction"}),")"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.zoom"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Toggle zoom"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"invert_colors"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Toggle theme (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"themeAction"}),")"]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"splitter.theme"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Switch theme"})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The library ships these keys in its own i18n assets\n(",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"static/assets/ui/i18n/ui/*.json"}),") — a consuming app only has to load the ui\ntranslation files into its Transloco setup. Where they are not loaded, the raw\nkey is shown as the tooltip."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"active-state",children:"Active state"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The buttons reflect the current layout state: the button of the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"active\ndirection"})," is always highlighted, and the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"fullscreen"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"zoom"})," buttons\nare highlighted while their mode is switched on. Highlighted buttons carry the\nclass ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"active"})," and are colored with the theme-aware token ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"var(--ui-c-focus)"}),'.\nThe theme button has no active state — light and dark are equal peers, neither\ncounts as "on". The highlighting is driven by signals (the zoom/fullscreen\nstate of the layout service is mirrored into the component), so it also stays\nin sync when the public methods ',(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"setDirection()"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"fullscreen()"})," or ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"zoom()"}),"\nare called programmatically."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"locking-the-controls",children:"Locking the controls"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The public signal ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"locked"})," (default ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"false"}),") mutes the button bar: while\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"locked()"})," is ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"true"}),", clicks on the control buttons do nothing. Only the\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"buttons"})," are locked — the public methods (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"setDirection()"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"fullscreen()"}),",\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"zoom()"}),", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"theme()"}),") stay callable, so a programmatic driver (e.g. an intro\nchoreography) can steer the splitter while the visitor cannot. The buttons\nkeep their normal look and their active highlighting; deliberately no\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"disabled"})," attribute is used, because a disabled button swallows all pointer\nevents and would hide the interaction from listeners further up the page."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"content-slots-ng-content",children:"Content Slots (ng-content)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The component uses named slots for organization:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[splitter-header]"}),": Content for the header area of the splitter."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[splitter-left]"}),": Content for the left panel."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[splitter-right]"}),": Content for the right panel."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-integration",children:"Example Integration"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<ui-layout-main>\n <div main-header>Application Header</div>\n\n <ui-layout-splitter main-content [layoutAction]="false">\n <div splitter-header>\n <button class="ui-icon">star</button>\n <span>Header - Component Actions</span>\n </div>\n <div splitter-left>Left Side Content</div>\n <div splitter-right>Right Side Content</div>\n </ui-layout-splitter>\n\n <div main-footer>Application Footer</div>\n</ui-layout-main>\n'})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[6331],{"./libs/ui/src/lib/layout/splitter/splitter.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{J:()=>UiLayoutSplitterComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var splitter_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/splitter/splitter.component.css?ngResource"),splitter_componentngResource_default=__webpack_require__.n(splitter_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ngneat_transloco=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs"),ngx_pwa_local_storage=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");const DIRECTIONS=new Set(["left","center","right","split"]),PANEL_ORDERS=new Set(["left-first","right-first"]);let UiLayoutSplitterComponent=class UiLayoutSplitterComponent{layoutService=(0,_effect_chunk2.WQX)(layout_service.u);storage=(0,_effect_chunk2.WQX)(ngx_pwa_local_storage.AX);id=(0,core.input)();defaultDirection=(0,core.input)("center");defaultPanelOrder=(0,core.input)("left-first");layoutAction=(0,core.input)(!0);themeAction=(0,core.input)(!0);animating=(0,core.output)();directionChange=(0,core.output)();direction=(0,_effect_chunk2.vPA)("center");panelOrder=(0,_effect_chunk2.vPA)("left-first");locked=(0,_effect_chunk2.vPA)(!1);zoomActive=(0,_effect_chunk2.vPA)(!1);fullscreenActive=(0,_effect_chunk2.vPA)(!1);syncActionStates(){this.zoomActive.set("zoom"===this.layoutService.settings.zoom),this.fullscreenActive.set("fullscreen"===this.layoutService.settings.fullscreen)}animate=(0,_effect_chunk2.vPA)(!1);ngOnInit(){this.direction.set(this.defaultDirection()),this.panelOrder.set(this.defaultPanelOrder());const key=this.storageKey();if(!key)return this.directionChange.emit(this.direction()),this.syncActionStates(),void this.enableAnimations();this.storage.get(key).subscribe(value=>{const state=value??{};state.direction&&DIRECTIONS.has(state.direction)&&this.direction.set(state.direction),state.panelOrder&&PANEL_ORDERS.has(state.panelOrder)&&(this.panelOrder.set(state.panelOrder),this.applyPanelOrder()),this.directionChange.emit(this.direction()),state.zoom&&this.layoutService.handleZoom(state.zoom),state.fullscreen&&this.layoutService.handleFullScreen(state.fullscreen),this.syncActionStates(),this.enableAnimations()})}enableAnimations(){setTimeout(()=>this.animate.set(!0))}leftPanel=(0,core.viewChild)("leftPanel");rightPanel=(0,core.viewChild)("rightPanel");panelObserver=null;ngAfterViewInit(){const left=this.leftPanel()?.nativeElement,right=this.rightPanel()?.nativeElement;left&&right&&(this.applyPanelOrder(),this.publishPanelWidths(left,right),"undefined"!=typeof ResizeObserver&&(this.panelObserver=new ResizeObserver(()=>this.publishPanelWidths(left,right)),this.panelObserver.observe(left),this.panelObserver.observe(right)))}ngOnDestroy(){this.panelObserver?.disconnect(),this.resumeTimer&&clearTimeout(this.resumeTimer)}publishPanelWidths(left,right){if(this.directionAnimating())return;const id=this.id(),write=(side,element)=>{const width=`${element.getBoundingClientRect().width}px`;document.body.style.setProperty(`--ui-splitter-${side}-width`,width),id&&document.body.style.setProperty(`--ui-splitter-${id}-${side}-width`,width)};write("left",left),write("right",right)}applyPanelOrder(){const left=this.leftPanel()?.nativeElement,right=this.rightPanel()?.nativeElement;if(!left||!right)return;const parent=left.parentElement;if(!parent)return;const rightFirst="right-first"===this.panelOrder(),first=rightFirst?right:left,second=rightFirst?left:right;if(first.nextElementSibling===second)return;const focused=document.activeElement instanceof HTMLElement&&parent.contains(document.activeElement)?document.activeElement:null;second.before(first),focused?.focus()}onSwapClick(){this.locked()||this.swapPanels()}onDirectionClick(type){this.locked()||this.setDirection(type)}onFullscreenClick(){this.locked()||this.fullscreen()}onZoomClick(){this.locked()||this.zoom()}onThemeClick(){this.locked()||this.theme()}swapPanels(){this.panelOrder.update(order=>"left-first"===order?"right-first":"left-first"),this.applyPanelOrder(),this.persist()}setDirection(type){this.direction.set(type),this.directionChange.emit(type),this.pauseMeasuring(),this.persist()}directionAnimating=(0,_effect_chunk2.vPA)(!1);resumeTimer=null;pauseMeasuring(){this.directionAnimating.set(!0),this.animating.emit(!0),this.resumeTimer&&clearTimeout(this.resumeTimer),this.resumeTimer=setTimeout(()=>this.resumeMeasuring(),1e3)}onDirectionSettled(event){event.target===event.currentTarget&&this.resumeMeasuring()}resumeMeasuring(){if(this.resumeTimer&&(clearTimeout(this.resumeTimer),this.resumeTimer=null),!this.directionAnimating())return;this.directionAnimating.set(!1),this.animating.emit(!1);const left=this.leftPanel()?.nativeElement,right=this.rightPanel()?.nativeElement;left&&right&&this.publishPanelWidths(left,right)}fullscreen(){this.layoutService.handleFullScreen(),this.syncActionStates(),this.persist()}zoom(){this.layoutService.handleZoom(),this.syncActionStates(),this.persist()}theme(){this.layoutService.handleTheme(null,null)}persist(){const key=this.storageKey();if(!key)return;const state={direction:this.direction(),panelOrder:this.panelOrder(),zoom:this.layoutService.settings.zoom,fullscreen:this.layoutService.settings.fullscreen};this.storage.set(key,state).subscribe()}storageKey(){const id=this.id();return id?`ui-layout-splitter:${id}`:null}static propDecorators={id:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"id",required:!1,transform:void 0}]}],defaultDirection:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"defaultDirection",required:!1,transform:void 0}]}],defaultPanelOrder:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"defaultPanelOrder",required:!1,transform:void 0}]}],layoutAction:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"layoutAction",required:!1,transform:void 0}]}],themeAction:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"themeAction",required:!1,transform:void 0}]}],animating:[{type:_debug_node_chunk.k7i,args:["animating"]}],directionChange:[{type:_debug_node_chunk.k7i,args:["directionChange"]}],leftPanel:[{type:core.ViewChild,args:["leftPanel",{isSignal:!0}]}],rightPanel:[{type:core.ViewChild,args:["rightPanel",{isSignal:!0}]}]}};UiLayoutSplitterComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-splitter",template:'<div class="_splitter">\n <nav class="_navigation">\n <div class="_actions">\n <ng-content select="[splitter-header]"></ng-content>\n </div>\n <div class="_display">\n <button\n class="ui-icon"\n [class.active]="direction() === \'right\'"\n [title]="\'splitter.direction.right\' | transloco"\n (click)="onDirectionClick(\'right\')"\n >\n border_right\n </button>\n <button\n class="ui-icon"\n [class.active]="direction() === \'center\'"\n [title]="\'splitter.direction.center\' | transloco"\n (click)="onDirectionClick(\'center\')"\n >\n border_vertical\n </button>\n <button\n class="ui-icon"\n [class.active]="direction() === \'left\'"\n [title]="\'splitter.direction.left\' | transloco"\n (click)="onDirectionClick(\'left\')"\n >\n border_left\n </button>\n <button\n class="ui-icon"\n [class.active]="direction() === \'split\'"\n [title]="\'splitter.direction.split\' | transloco"\n (click)="onDirectionClick(\'split\')"\n >\n border_horizontal\n </button>\n <button\n class="ui-icon"\n [class.active]="panelOrder() === \'right-first\'"\n [title]="\'splitter.swap\' | transloco"\n (click)="onSwapClick()"\n >\n swap_horiz\n </button>\n @if (layoutAction()) {\n <button\n class="ui-icon"\n [class.active]="fullscreenActive()"\n [title]="\'splitter.fullscreen\' | transloco"\n (click)="onFullscreenClick()"\n >\n zoom_out_map\n </button>\n }\n @if (layoutAction()) {\n <button\n class="ui-icon"\n [class.active]="zoomActive()"\n [title]="\'splitter.zoom\' | transloco"\n (click)="onZoomClick()"\n >\n center_focus_strong\n </button>\n }\n @if (themeAction()) {\n <button\n class="ui-icon"\n [title]="\'splitter.theme\' | transloco"\n (click)="onThemeClick()"\n >\n invert_colors\n </button>\n }\n </div>\n </nav>\n <div\n class="_bottom"\n [class]="\'_-\' + direction()"\n [class._-animate]="animate()"\n (transitionend)="onDirectionSettled($event)"\n >\n <section #leftPanel>\n <ng-content select="[splitter-left]"></ng-content>\n </section>\n <section #rightPanel>\n <ng-content select="[splitter-right]"></ng-content>\n </section>\n </div>\n</div>\n',imports:[ngneat_transloco.Kj],styles:[splitter_componentngResource_default()]})],UiLayoutSplitterComponent)},"./libs/ui/src/lib/layout/splitter/splitter.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Splitter:()=>Splitter,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _angular_forms__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/forms/fesm2022/forms.mjs"),_storybook_angular__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),_config_ui_config_types__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),_transloco_modules_transloco_storybook_module__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./libs/ui/src/lib/transloco-modules/transloco-storybook.module.ts"),_main_main_component__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/layout/main/main.component.ts"),_splitter_component__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/src/lib/layout/splitter/splitter.component.ts");const __WEBPACK_DEFAULT_EXPORT__={title:"Layout/Splitter",decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_1__.Iz)({providers:[],declarations:[],imports:[_angular_forms__WEBPACK_IMPORTED_MODULE_0__.YN,_transloco_modules_transloco_storybook_module__WEBPACK_IMPORTED_MODULE_3__.o,_main_main_component__WEBPACK_IMPORTED_MODULE_4__.z,_splitter_component__WEBPACK_IMPORTED_MODULE_5__.J]})],argTypes:{layoutAction:{control:"boolean"},themeAction:{control:"boolean"},defaultPanelOrder:{control:"inline-radio",options:["left-first","right-first"]}}},Splitter={args:{layoutAction:!0,themeAction:!0,defaultPanelOrder:"left-first"},render:args=>({props:{...args,prefix:_config_ui_config_types__WEBPACK_IMPORTED_MODULE_2__.Q},template:'\n <ui-layout-main [cssPrefix]="prefix">\n <div main-header>\n <div class="flex p-4">header</div>\n </div>\n\n <div main-content class="p-4">\n <ui-layout-splitter id="storybook-splitter" [layoutAction]="layoutAction" [themeAction]="themeAction" [defaultPanelOrder]="defaultPanelOrder">\n <div splitter-header>\n <div class="flex gap-4">\n <button type="button" class="ui-icon">star</button>\n <span>Header - Component Actions</span>\n </div>\n </div>\n <div splitter-left>\n <div class="flex p-4 border border-c-primary">left</div>\n </div>\n <div splitter-right>\n <div class="flex p-4 border border-c-primary">right</div>\n </div>\n </ui-layout-splitter>\n</div>\n\n <div main-footer><div class="flex p-4">footer</div></div>\n </ui-layout-main>\n '})},__namedExportsOrder=["Splitter"];Splitter.parameters={...Splitter.parameters,docs:{...Splitter.parameters?.docs,source:{originalSource:'{\n args: {\n layoutAction: true,\n themeAction: true,\n defaultPanelOrder: \'left-first\'\n },\n render: args => {\n return {\n props: {\n ...args,\n prefix: uiConfigStorybookCssPrefix\n },\n template: `\n <ui-layout-main [cssPrefix]="prefix">\n <div main-header>\n <div class="flex p-4">header</div>\n </div>\n\n <div main-content class="p-4">\n <ui-layout-splitter id="storybook-splitter" [layoutAction]="layoutAction" [themeAction]="themeAction" [defaultPanelOrder]="defaultPanelOrder">\n <div splitter-header>\n <div class="flex gap-4">\n <button type="button" class="ui-icon">star</button>\n <span>Header - Component Actions</span>\n </div>\n </div>\n <div splitter-left>\n <div class="flex p-4 border border-c-primary">left</div>\n </div>\n <div splitter-right>\n <div class="flex p-4 border border-c-primary">right</div>\n </div>\n </ui-layout-splitter>\n</div>\n\n <div main-footer><div class="flex p-4">footer</div></div>\n </ui-layout-main>\n `\n };\n }\n}',...Splitter.parameters?.docs?.source}}}},"./libs/ui/src/lib/layout/splitter/splitter.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n._splitter {\n display: flex;\n flex-flow: column;\n\n ._navigation {\n display: flex;\n justify-content: space-between;\n /* padding: $spacer * 0.25; */\n margin-bottom: calc(var(--ui-spacer) * 0.5);\n padding-bottom: calc(var(--ui-spacer) * 0.5);\n\n border-bottom: var(--ui-border-width) solid var(--ui-c-fourthly);\n\n ._actions {\n display: flex;\n justify-content: flex-end;\n button {\n margin-right: calc(var(--ui-spacer) * 0.5);\n }\n }\n\n ._display {\n display: flex;\n justify-content: flex-start;\n button {\n margin-left: calc(var(--ui-spacer) * 0.5);\n\n &.active {\n color: var(--ui-c-focus);\n }\n }\n }\n\n @media (max-width: 1024px) {\n display: none;\n }\n }\n\n ._bottom {\n display: grid;\n\n grid-template-columns: 1fr 1fr;\n grid-gap: calc(var(--ui-spacer) * 0.25);\n\n /* Animate direction changes only after the initial (persisted) state has\n been restored — the `_-animate` modifier is added once the component is\n ready, so a restored layout appears instantly. */\n &._-animate {\n transition: var(--ui-time) ease-in;\n }\n\n > section {\n /* background-color: var(--ui-cb-secondary); */\n border-radius: var(--ui-border-radius);\n /* padding: $spacer * 0.25; */\n /* Grid items default to min-width: auto and never shrink below their\n content — wide content (e.g. tables) would blow the panel out of\n the viewport instead of scrolling inside it. */\n min-width: 0;\n }\n\n &._-left {\n grid-template-columns: 3fr 1fr;\n }\n\n &._-center {\n grid-template-columns: 1fr 1fr;\n }\n\n &._-right {\n grid-template-columns: 1fr 3fr;\n }\n\n &._-split {\n grid-template-columns: 1fr;\n }\n\n /* --- breakpoint 01 - 03 --- */\n @media (max-width: 1024px) {\n &._-left,\n &._-center,\n &._-right {\n grid-template-columns: 1fr;\n }\n }\n\n /* The panel order is deliberately NOT expressed here. `order` would move\n the pixels and leave the focus behind, so reading order and tab order\n would disagree; the component moves the two sections in the DOM instead\n and this grid simply lays out whatever it finds. */\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[6892,8753],{"./libs/ui/.storybook/demos/header/header.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>UiInternHeaderComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var header_componentngResource=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.css?ngResource"),header_componentngResource_default=__webpack_require__.n(header_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiInternHeaderComponent=class UiInternHeaderComponent{layoutService=(0,_effect_chunk2.WQX)(layout_service.u);theme=(0,core.input)(null);display=(0,core.input)(!1,{transform:core.booleanAttribute});onTop=(0,core.input)(!1,{transform:core.booleanAttribute});ngOnInit(){this.layoutService.handleTheme(this.theme(),ui_config_types.Q)}ngOnDestroy(){this.layoutService.handleTheme("theme-light",ui_config_types.Q)}setTheme(){this.layoutService.handleTheme(null,ui_config_types.Q)}static propDecorators={theme:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"theme",required:!1,transform:void 0}]}],display:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"display",required:!1,transform:void 0}]}],onTop:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"onTop",required:!1,transform:void 0}]}]}};UiInternHeaderComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-intern-header",template:'@if (display()) {\n <button class="ui" [class._on-top]="onTop()" (click)="setTheme()">\n switch Theme\n </button>\n}\n',encapsulation:_debug_node_chunk.gXe.Emulated,standalone:!0,imports:[_common_module_chunk.MD],styles:[header_componentngResource_default()]})],UiInternHeaderComponent)},"./libs/ui/src/config/ui-config.types.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>uiConfigStorybookCssPrefix,y:()=>uiConfigTypes});const uiConfigStorybookCssPrefix="ui-storybook ",uiConfigTypes={mainID:"ui-main",mainClass:"ui-main",storeName:"ui-layout"}},"./libs/ui/src/lib/layout/_service/layout.service.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>UiLayoutService});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/config/ui-config.types.ts");let UiLayoutService=class UiLayoutService{storage=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__.AX);settings={cssPrefix:"",theme:null,zoom:null,fullscreen:null,direction:"center",layoutSize:null};setStorage(){this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}handleInit(config){this.settings.cssPrefix=config.cssPrefix,this.settings.theme=config.theme,this.settings.zoom=config.zoom?"zoom":"x-zoom",this.settings.fullscreen=config.fullscreen?"fullscreen":"x-fullscreen",this.handleFullScreen(this.settings.fullscreen),this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data),this.setStorage(),this.setTheme(null)})}setTheme(theme){document.body.className=theme?`${this.settings.cssPrefix} ${theme}`:`${this.settings.cssPrefix} ${this.settings.theme}`}getTheme(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.theme}getMainClass(){return`${_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.mainClass} ${this.settings.zoom} ${this.settings.fullscreen}`}handleFullScreen(init){init?this.settings.fullscreen=init:"fullscreen"===this.settings.fullscreen?this.settings.fullscreen="x-fullscreen":this.settings.fullscreen="fullscreen",this.setStorage()}handleZoom(init){init?this.settings.zoom=init:"zoom"===this.settings.zoom?this.settings.zoom="x-zoom":this.settings.zoom="zoom",this.setStorage()}handleTheme(theme,prefix){return prefix&&(this.settings.cssPrefix=prefix),theme?(this.setTheme(theme),this.settings.theme=theme):(this.settings.theme="theme-light"===this.settings.theme?"theme-dark":"theme-light",this.setTheme(null)),this.setStorage(),this.settings.theme}handleDirection(type){this.settings.direction=type,this.setStorage()}setLayoutSize(sizes){this.settings.layoutSize=sizes,this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}getLayoutSize(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.layoutSize}};UiLayoutService=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__._qm)({providedIn:"root"})],UiLayoutService)},"./libs/ui/src/lib/layout/tabs/tabs.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>UiLayoutTabsComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var tabs_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/tabs/tabs.component.css?ngResource"),tabs_componentngResource_default=__webpack_require__.n(tabs_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs");let UiLayoutTabsComponent=class UiLayoutTabsComponent{el=(0,_effect_chunk2.WQX)(_debug_node_chunk.aKT);tabNames=(0,core.input)([]);activeTab=(0,core.input)(0);activeTabChange=(0,core.output)();activeTabValue=0;tabNamesValue=[];ngOnInit(){this.activeTabValue=this.activeTab(),this.tabNamesValue=[...this.tabNames()],this.activeContent(this.activeTabValue)}ngOnChanges(){this.activeTabValue=this.activeTab(),this.tabNamesValue=[...this.tabNames()],this.activeContent(this.activeTabValue)}active(index){this.activeTabValue=index,this.activeContent(index),this.activeTabChange.emit(index)}defaultLabels(count){0===this.tabNamesValue.length&&(this.tabNamesValue=[...Array.from({length:count}).keys()].map(key=>`0${(key+1).toString()}`))}activeContent(index){const contents=this.el.nativeElement.querySelectorAll("._bottom")[0].childNodes;this.defaultLabels(contents.length),contents.forEach((content,contentIndex)=>{const element=content;element.classList.remove("_-active"),contentIndex===index&&element.classList.add("_-active")})}static propDecorators={tabNames:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"tabNames",required:!1,transform:void 0}]}],activeTab:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"activeTab",required:!1,transform:void 0}]}],activeTabChange:[{type:_debug_node_chunk.k7i,args:["activeTabChange"]}]}};UiLayoutTabsComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-tabs",template:'\x3c!-- Real buttons, not clickable divs: Tab reaches them, Enter and Space\n switch natively — no synthetic key handling. `role="tab"` and\n `aria-selected` say which one is open. Tracked by index, not by name:\n two tabs may carry the same label. --\x3e\n<header role="tablist">\n @for (name of tabNamesValue; track $index; let i = $index) {\n <button\n type="button"\n role="tab"\n class="_tab-selector"\n [class._-active]="i === activeTabValue"\n [attr.aria-selected]="i === activeTabValue"\n (click)="active(i)"\n >\n {{ name }}\n </button>\n }\n</header>\n<div class="_bottom">\n <ng-content></ng-content>\n</div>\n',encapsulation:_debug_node_chunk.gXe.None,styles:[tabs_componentngResource_default()]})],UiLayoutTabsComponent)},"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/tabs/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_tabs_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_layout_tabs_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-layout-tabs.json");function _createMdxContent(props){const _components={a:"a",code:"code",em:"em",h3:"h3",hr:"hr",p:"p",pre:"pre",strong:"strong",...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_tabs_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"layout-tabs",children:"Layout: Tabs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Flexible tabbed navigation for organizing content into discrete sections."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Switches between projected ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<section>"})," blocks, one per name in ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tabNames"}),",\nwith real buttons in a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tablist"})," the keyboard reaches. Labels are generated\nwhen none are given; the active tab can be set and is reported. It keeps the\nsections in the DOM and switches what is visible; it does not route, lazy-load\nor remember the active tab across a reload."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-layout-tabs",entry:_guide_ui_layout_tabs_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"overview",children:"Overview"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutTabsComponent"})," provides a clean interface for switching between different views or content blocks. It automatically generates tab labels if none are provided, and supports custom labels and active tab management."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The tab selectors are real buttons in a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:'role="tablist"'})," — Tab reaches them,\nEnter and Space switch natively, and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"aria-selected"})," says which panel is\nopen."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"tabNames"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"string[]"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"[]"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Custom labels for each tab. If empty, numeric labels (01, 02, ...) are generated based on content count."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"activeTab"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"number"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"0"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Index of the currently active tab."})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"outputs",children:"Outputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Output"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("tbody",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"activeTabChange"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"number"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Emits the index of the newly selected tab."})]})})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"content-projection",children:"Content Projection"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Place your content sections directly inside the component. Each direct child will be treated as a separate tab panel."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.em,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"usage"})})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:"<ui-layout-tabs [tabNames]=\"['first', 'second', 'third']\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n</ui-layout-tabs>\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"demo",children:"Demo"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.Hl,{of:_tabs_component_stories__WEBPACK_IMPORTED_MODULE_4__.TabsDefault}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"custom-labels",children:"Custom labels"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/layout-tabs--tabs-custom-labels",children:"Open story: Custom labels"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"two-way-active-tab",children:"Two-way active tab"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[(activeTab)]"})," keeps the caller's index in sync while the user switches:"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/layout-tabs--tabs-active-tab-change",children:"Open story: Active tab change"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TabsActiveTabChange:()=>TabsActiveTabChange,TabsCustomLabels:()=>TabsCustomLabels,TabsDefault:()=>TabsDefault,TabsThemes:()=>TabsThemes,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _angular_forms__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/forms/fesm2022/forms.mjs"),_storybook_angular__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),_storybook_demos_header_header_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.ts"),_tabs_component__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./libs/ui/src/lib/layout/tabs/tabs.component.ts");const __WEBPACK_DEFAULT_EXPORT__={title:"Layout/Tabs",decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_1__.Iz)({providers:[],imports:[_storybook_demos_header_header_component__WEBPACK_IMPORTED_MODULE_2__.b,_angular_forms__WEBPACK_IMPORTED_MODULE_0__.YN,_tabs_component__WEBPACK_IMPORTED_MODULE_3__.q]})],argTypes:{activeTab:{control:{type:"range",min:0,max:5,step:1}},tabNames:{control:"object"}}},TabsDefault={args:{activeTab:0,tabNames:[]},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab" [tabNames]="tabNames">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n <section>04</section>\n <section>05</section>\n <section>06</section>\n <section>07</section>\n <section>08</section>\n <section>09</section>\n </ui-layout-tabs>\n </section>\n '})},TabsCustomLabels={args:{activeTab:2,tabNames:["first","second","third","fourth"]},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab" [tabNames]="tabNames">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n '})},TabsActiveTabChange={args:{activeTab:1},render:args=>({props:{...args},template:"\n <ui-intern-header theme=\"theme-light\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <h3>&#64;Output activeTabChange: {{activeTab}}</h3>\n <ui-layout-tabs [(activeTab)]=\"activeTab\" [tabNames]=\"['first','second','third','fourth']\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n "})},TabsThemes={args:{activeTab:1,display:!0},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-dark" [onTop]="true" [display]="display"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n </ui-layout-tabs>\n </section>\n '})},__namedExportsOrder=["TabsDefault","TabsCustomLabels","TabsActiveTabChange","TabsThemes"];TabsDefault.parameters={...TabsDefault.parameters,docs:{...TabsDefault.parameters?.docs,source:{originalSource:'{\n args: {\n activeTab: 0,\n tabNames: []\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-light"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab" [tabNames]="tabNames">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n <section>04</section>\n <section>05</section>\n <section>06</section>\n <section>07</section>\n <section>08</section>\n <section>09</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}',...TabsDefault.parameters?.docs?.source}}},TabsCustomLabels.parameters={...TabsCustomLabels.parameters,docs:{...TabsCustomLabels.parameters?.docs,source:{originalSource:"{\n args: {\n activeTab: 2,\n tabNames: ['first', 'second', 'third', 'fourth']\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme=\"theme-light\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <ui-layout-tabs [activeTab]=\"activeTab\" [tabNames]=\"tabNames\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}",...TabsCustomLabels.parameters?.docs?.source}}},TabsActiveTabChange.parameters={...TabsActiveTabChange.parameters,docs:{...TabsActiveTabChange.parameters?.docs,source:{originalSource:"{\n args: {\n activeTab: 1\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme=\"theme-light\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <h3>&#64;Output activeTabChange: {{activeTab}}</h3>\n <ui-layout-tabs [(activeTab)]=\"activeTab\" [tabNames]=\"['first','second','third','fourth']\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}",...TabsActiveTabChange.parameters?.docs?.source}}},TabsThemes.parameters={...TabsThemes.parameters,docs:{...TabsThemes.parameters?.docs,source:{originalSource:'{\n args: {\n activeTab: 1,\n display: true\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-dark" [onTop]="true" [display]="display"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}',...TabsThemes.parameters?.docs?.source}}}},"./libs/ui/.storybook/demos/header/header.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"/* The intern header is reduced to just the theme switch button, pinned to the */\n/* bottom-left corner of the Storybook canvas. */\nbutton {\n position: fixed;\n bottom: calc(var(--ui-spacer) * 0.5);\n left: calc(var(--ui-spacer) * 0.5);\n z-index: 1000;\n\n &._on-top {\n z-index: 10000;\n }\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()},"./libs/ui/src/lib/layout/tabs/tabs.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\nui-layout-tabs {\n /* scope only for component - encapsulation is set to ViewEncapsulation.None */\n display: flex;\n flex-flow: column;\n\n header {\n display: flex;\n padding: calc(var(--ui-spacer) * 0.25);\n padding-bottom: 0;\n /* background-color: var(--ui-cb-secondary); */\n\n ._tab-selector {\n display: flex;\n /* A button now (it always acted like one) — strip the native face so\n the class keeps the exact look the div had. */\n appearance: none;\n border: 0;\n font: inherit;\n color: inherit;\n cursor: pointer;\n background-color: var(--ui-c-fourthly);\n padding: calc(var(--ui-spacer) * 0.2);\n border-radius: var(--ui-border-radius) var(--ui-border-radius) 0 0;\n margin: calc(var(--ui-spacer) * 0.08);\n margin-bottom: 0;\n line-height: 0.8;\n\n &:first-of-type {\n margin-left: 0;\n }\n\n &:last-of-type {\n margin-right: 0;\n }\n\n &._-active {\n background-color: var(--ui-c-background);\n border: var(--ui-border-width) solid var(--ui-c-fourthly);\n border-bottom: 0;\n transform: translateY(var(--ui-border-width));\n }\n\n /* The house focus ring — the underscore class is outside the global\n button rules, so the ring is declared here. */\n &:focus-visible {\n outline: none;\n box-shadow: 0 0 calc(var(--ui-button-shadow) * 2) 0 var(--ui-c-focus);\n }\n }\n }\n\n ._bottom {\n display: flex;\n flex-flow: column;\n background-color: var(--ui-c-background);\n border: var(--ui-border-width) solid var(--ui-c-fourthly);\n border-radius: var(--ui-border-radius);\n padding: calc(var(--ui-spacer) * 0.25);\n height: 100%;\n\n > * {\n display: none;\n }\n\n > *._-active {\n display: flex;\n }\n }\n}\n\n/* --- breakpoint 01 - 03 --- */\n@media (max-width: 768px) {\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[8753],{"./libs/ui/.storybook/demos/header/header.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>UiInternHeaderComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var header_componentngResource=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.css?ngResource"),header_componentngResource_default=__webpack_require__.n(header_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiInternHeaderComponent=class UiInternHeaderComponent{layoutService=(0,_effect_chunk2.WQX)(layout_service.u);theme=(0,core.input)(null);display=(0,core.input)(!1,{transform:core.booleanAttribute});onTop=(0,core.input)(!1,{transform:core.booleanAttribute});ngOnInit(){this.layoutService.handleTheme(this.theme(),ui_config_types.Q)}ngOnDestroy(){this.layoutService.handleTheme("theme-light",ui_config_types.Q)}setTheme(){this.layoutService.handleTheme(null,ui_config_types.Q)}static propDecorators={theme:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"theme",required:!1,transform:void 0}]}],display:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"display",required:!1,transform:void 0}]}],onTop:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"onTop",required:!1,transform:void 0}]}]}};UiInternHeaderComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-intern-header",template:'@if (display()) {\n <button class="ui" [class._on-top]="onTop()" (click)="setTheme()">\n switch Theme\n </button>\n}\n',encapsulation:_debug_node_chunk.gXe.Emulated,standalone:!0,imports:[_common_module_chunk.MD],styles:[header_componentngResource_default()]})],UiInternHeaderComponent)},"./libs/ui/src/config/ui-config.types.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>uiConfigStorybookCssPrefix,y:()=>uiConfigTypes});const uiConfigStorybookCssPrefix="ui-storybook ",uiConfigTypes={mainID:"ui-main",mainClass:"ui-main",storeName:"ui-layout"}},"./libs/ui/src/lib/layout/_service/layout.service.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>UiLayoutService});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/config/ui-config.types.ts");let UiLayoutService=class UiLayoutService{storage=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__.AX);settings={cssPrefix:"",theme:null,zoom:null,fullscreen:null,direction:"center",layoutSize:null};setStorage(){this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}handleInit(config){this.settings.cssPrefix=config.cssPrefix,this.settings.theme=config.theme,this.settings.zoom=config.zoom?"zoom":"x-zoom",this.settings.fullscreen=config.fullscreen?"fullscreen":"x-fullscreen",this.handleFullScreen(this.settings.fullscreen),this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data),this.setStorage(),this.setTheme(null)})}setTheme(theme){document.body.className=theme?`${this.settings.cssPrefix} ${theme}`:`${this.settings.cssPrefix} ${this.settings.theme}`}getTheme(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.theme}getMainClass(){return`${_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.mainClass} ${this.settings.zoom} ${this.settings.fullscreen}`}handleFullScreen(init){init?this.settings.fullscreen=init:"fullscreen"===this.settings.fullscreen?this.settings.fullscreen="x-fullscreen":this.settings.fullscreen="fullscreen",this.setStorage()}handleZoom(init){init?this.settings.zoom=init:"zoom"===this.settings.zoom?this.settings.zoom="x-zoom":this.settings.zoom="zoom",this.setStorage()}handleTheme(theme,prefix){return prefix&&(this.settings.cssPrefix=prefix),theme?(this.setTheme(theme),this.settings.theme=theme):(this.settings.theme="theme-light"===this.settings.theme?"theme-dark":"theme-light",this.setTheme(null)),this.setStorage(),this.settings.theme}handleDirection(type){this.settings.direction=type,this.setStorage()}setLayoutSize(sizes){this.settings.layoutSize=sizes,this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}getLayoutSize(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.layoutSize}};UiLayoutService=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__._qm)({providedIn:"root"})],UiLayoutService)},"./libs/ui/src/lib/layout/tabs/tabs.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{q:()=>UiLayoutTabsComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var tabs_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/tabs/tabs.component.css?ngResource"),tabs_componentngResource_default=__webpack_require__.n(tabs_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs");let UiLayoutTabsComponent=class UiLayoutTabsComponent{el=(0,_effect_chunk2.WQX)(_debug_node_chunk.aKT);tabNames=(0,core.input)([]);activeTab=(0,core.input)(0);activeTabChange=(0,core.output)();activeTabValue=0;tabNamesValue=[];ngOnInit(){this.activeTabValue=this.activeTab(),this.tabNamesValue=[...this.tabNames()],this.activeContent(this.activeTabValue)}ngOnChanges(){this.activeTabValue=this.activeTab(),this.tabNamesValue=[...this.tabNames()],this.activeContent(this.activeTabValue)}active(index){this.activeTabValue=index,this.activeContent(index),this.activeTabChange.emit(index)}defaultLabels(count){0===this.tabNamesValue.length&&(this.tabNamesValue=[...Array.from({length:count}).keys()].map(key=>`0${(key+1).toString()}`))}activeContent(index){const contents=this.el.nativeElement.querySelectorAll("._bottom")[0].childNodes;this.defaultLabels(contents.length),contents.forEach((content,contentIndex)=>{const element=content;element.classList.remove("_-active"),contentIndex===index&&element.classList.add("_-active")})}static propDecorators={tabNames:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"tabNames",required:!1,transform:void 0}]}],activeTab:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"activeTab",required:!1,transform:void 0}]}],activeTabChange:[{type:_debug_node_chunk.k7i,args:["activeTabChange"]}]}};UiLayoutTabsComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-tabs",template:'\x3c!-- Real buttons, not clickable divs: Tab reaches them, Enter and Space\n switch natively — no synthetic key handling. `role="tab"` and\n `aria-selected` say which one is open. Tracked by index, not by name:\n two tabs may carry the same label. --\x3e\n<header role="tablist">\n @for (name of tabNamesValue; track $index; let i = $index) {\n <button\n type="button"\n role="tab"\n class="_tab-selector"\n [class._-active]="i === activeTabValue"\n [attr.aria-selected]="i === activeTabValue"\n (click)="active(i)"\n >\n {{ name }}\n </button>\n }\n</header>\n<div class="_bottom">\n <ng-content></ng-content>\n</div>\n',encapsulation:_debug_node_chunk.gXe.None,styles:[tabs_componentngResource_default()]})],UiLayoutTabsComponent)},"./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TabsActiveTabChange:()=>TabsActiveTabChange,TabsCustomLabels:()=>TabsCustomLabels,TabsDefault:()=>TabsDefault,TabsThemes:()=>TabsThemes,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _angular_forms__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/forms/fesm2022/forms.mjs"),_storybook_angular__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),_storybook_demos_header_header_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.ts"),_tabs_component__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./libs/ui/src/lib/layout/tabs/tabs.component.ts");const __WEBPACK_DEFAULT_EXPORT__={title:"Layout/Tabs",decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_1__.Iz)({providers:[],imports:[_storybook_demos_header_header_component__WEBPACK_IMPORTED_MODULE_2__.b,_angular_forms__WEBPACK_IMPORTED_MODULE_0__.YN,_tabs_component__WEBPACK_IMPORTED_MODULE_3__.q]})],argTypes:{activeTab:{control:{type:"range",min:0,max:5,step:1}},tabNames:{control:"object"}}},TabsDefault={args:{activeTab:0,tabNames:[]},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab" [tabNames]="tabNames">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n <section>04</section>\n <section>05</section>\n <section>06</section>\n <section>07</section>\n <section>08</section>\n <section>09</section>\n </ui-layout-tabs>\n </section>\n '})},TabsCustomLabels={args:{activeTab:2,tabNames:["first","second","third","fourth"]},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab" [tabNames]="tabNames">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n '})},TabsActiveTabChange={args:{activeTab:1},render:args=>({props:{...args},template:"\n <ui-intern-header theme=\"theme-light\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <h3>&#64;Output activeTabChange: {{activeTab}}</h3>\n <ui-layout-tabs [(activeTab)]=\"activeTab\" [tabNames]=\"['first','second','third','fourth']\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n "})},TabsThemes={args:{activeTab:1,display:!0},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-dark" [onTop]="true" [display]="display"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n </ui-layout-tabs>\n </section>\n '})},__namedExportsOrder=["TabsDefault","TabsCustomLabels","TabsActiveTabChange","TabsThemes"];TabsDefault.parameters={...TabsDefault.parameters,docs:{...TabsDefault.parameters?.docs,source:{originalSource:'{\n args: {\n activeTab: 0,\n tabNames: []\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-light"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab" [tabNames]="tabNames">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n <section>04</section>\n <section>05</section>\n <section>06</section>\n <section>07</section>\n <section>08</section>\n <section>09</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}',...TabsDefault.parameters?.docs?.source}}},TabsCustomLabels.parameters={...TabsCustomLabels.parameters,docs:{...TabsCustomLabels.parameters?.docs,source:{originalSource:"{\n args: {\n activeTab: 2,\n tabNames: ['first', 'second', 'third', 'fourth']\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme=\"theme-light\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <ui-layout-tabs [activeTab]=\"activeTab\" [tabNames]=\"tabNames\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}",...TabsCustomLabels.parameters?.docs?.source}}},TabsActiveTabChange.parameters={...TabsActiveTabChange.parameters,docs:{...TabsActiveTabChange.parameters?.docs,source:{originalSource:"{\n args: {\n activeTab: 1\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme=\"theme-light\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <h3>&#64;Output activeTabChange: {{activeTab}}</h3>\n <ui-layout-tabs [(activeTab)]=\"activeTab\" [tabNames]=\"['first','second','third','fourth']\">\n <section>panel of first</section>\n <section>panel of second</section>\n <section>panel of third</section>\n <section>panel of fourth</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}",...TabsActiveTabChange.parameters?.docs?.source}}},TabsThemes.parameters={...TabsThemes.parameters,docs:{...TabsThemes.parameters?.docs,source:{originalSource:'{\n args: {\n activeTab: 1,\n display: true\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-dark" [onTop]="true" [display]="display"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-layout-tabs [activeTab]="activeTab">\n <section>01</section>\n <section>02</section>\n <section>03</section>\n </ui-layout-tabs>\n </section>\n `\n };\n }\n}',...TabsThemes.parameters?.docs?.source}}}},"./libs/ui/.storybook/demos/header/header.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"/* The intern header is reduced to just the theme switch button, pinned to the */\n/* bottom-left corner of the Storybook canvas. */\nbutton {\n position: fixed;\n bottom: calc(var(--ui-spacer) * 0.5);\n left: calc(var(--ui-spacer) * 0.5);\n z-index: 1000;\n\n &._on-top {\n z-index: 10000;\n }\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()},"./libs/ui/src/lib/layout/tabs/tabs.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\nui-layout-tabs {\n /* scope only for component - encapsulation is set to ViewEncapsulation.None */\n display: flex;\n flex-flow: column;\n\n header {\n display: flex;\n padding: calc(var(--ui-spacer) * 0.25);\n padding-bottom: 0;\n /* background-color: var(--ui-cb-secondary); */\n\n ._tab-selector {\n display: flex;\n /* A button now (it always acted like one) — strip the native face so\n the class keeps the exact look the div had. */\n appearance: none;\n border: 0;\n font: inherit;\n color: inherit;\n cursor: pointer;\n background-color: var(--ui-c-fourthly);\n padding: calc(var(--ui-spacer) * 0.2);\n border-radius: var(--ui-border-radius) var(--ui-border-radius) 0 0;\n margin: calc(var(--ui-spacer) * 0.08);\n margin-bottom: 0;\n line-height: 0.8;\n\n &:first-of-type {\n margin-left: 0;\n }\n\n &:last-of-type {\n margin-right: 0;\n }\n\n &._-active {\n background-color: var(--ui-c-background);\n border: var(--ui-border-width) solid var(--ui-c-fourthly);\n border-bottom: 0;\n transform: translateY(var(--ui-border-width));\n }\n\n /* The house focus ring — the underscore class is outside the global\n button rules, so the ring is declared here. */\n &:focus-visible {\n outline: none;\n box-shadow: 0 0 calc(var(--ui-button-shadow) * 2) 0 var(--ui-c-focus);\n }\n }\n }\n\n ._bottom {\n display: flex;\n flex-flow: column;\n background-color: var(--ui-c-background);\n border: var(--ui-border-width) solid var(--ui-c-fourthly);\n border-radius: var(--ui-border-radius);\n padding: calc(var(--ui-spacer) * 0.25);\n height: 100%;\n\n > * {\n display: none;\n }\n\n > *._-active {\n display: flex;\n }\n }\n}\n\n/* --- breakpoint 01 - 03 --- */\n@media (max-width: 768px) {\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[3073,9779],{"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/top-scroll-bottom/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_top_scroll_bottom_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_layout_top_scroll_bottom_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-layout-top-scroll-bottom.json");function _createMdxContent(props){const _components={a:"a",code:"code",h3:"h3",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_top_scroll_bottom_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.hE,{children:"Layout: TopScrollBottom"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.Pd,{children:"A specialized layout component providing a fixed header, a scrollable content area, and a fixed footer."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["A fixed header, a scrolling middle and a fixed footer, sized to the content\nheight ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutService"})," reports and scrolling inside its own box — the page\nbehind it is never touched. It is used once per view, inside the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"main-content"}),"\nslot of ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-layout-main"}),", and nowhere else. A header or footer slot that\nreceives nothing collapses instead of leaving an empty bar."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-layout-top-scroll-bottom",entry:_guide_ui_layout_top_scroll_bottom_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"overview",children:"Overview"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutTopScrollBottomComponent"})," is designed to be used within ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-layout-main"}),". It sizes itself to the content height reported by the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutService"})," and scrolls ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"inside its own content area"})," (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"overflow: auto"}),") — the page behind it is never touched."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-top-scroll-bottom",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/layout-top-scroll-bottom--top-scroll-bottom",children:"Example: Top Scroll Bottom"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"usage-constraints",children:"Usage Constraints"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Single Instance:"})," This component should only be used once per view/route."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Parent Requirement:"})," Must be placed inside the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"main-content"})," slot of a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-layout-main"})," component."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Scroll Handling:"})," Scrolling happens inside the component's own content area (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"overflow: auto"}),"); the component sets its own height from the layout service and never touches the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"body"}),"."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"content-slots-ng-content",children:"Content Slots (ng-content)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The component uses multiple named slots to organize content:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[header]"})," (optional): Content to be displayed at the top of the scrollable area (sticky/fixed)."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[content]"}),": The main scrollable content area."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"[footer]"})," (optional): Content to be displayed at the bottom of the scrollable area (sticky/fixed)."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["A slot renders only while its section is enabled ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"and"})," actually received\nprojected content — an empty header or footer collapses instead of leaving an\nempty colored bar."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"header"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Whether the header slot is rendered at all."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"footer"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Whether the footer slot is rendered at all."})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-integration",children:"Example Integration"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:"<ui-layout-main>\n <div main-header>Application Header</div>\n\n <ui-layout-top-scroll-bottom main-content>\n <div header>Fixed Header Content</div>\n <div content>\n \x3c!-- Long scrollable content goes here --\x3e\n </div>\n <div footer>Fixed Footer Content</div>\n </ui-layout-top-scroll-bottom>\n\n <div main-footer>Application Footer</div>\n</ui-layout-main>\n"})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TopScrollBottom:()=>TopScrollBottom,__namedExportsOrder:()=>__namedExportsOrder,default:()=>top_scroll_bottom_component_stories});var dist=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),main_component=__webpack_require__("./libs/ui/src/lib/layout/main/main.component.ts"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var top_scroll_bottom_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.css?ngResource"),top_scroll_bottom_componentngResource_default=__webpack_require__.n(top_scroll_bottom_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),ngx_pwa_local_storage=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiLayoutTopScrollBottomComponent=class UiLayoutTopScrollBottomComponent{element=(0,_effect_chunk2.WQX)(_debug_node_chunk.aKT);storage=(0,_effect_chunk2.WQX)(ngx_pwa_local_storage.AX);layoutService=(0,_effect_chunk2.WQX)(layout_service.u);header=(0,core.input)(!0);footer=(0,core.input)(!0);subscription=new Subscription.yU;contentSize=null;headerValue=(0,_effect_chunk2.vPA)(!0);footerValue=(0,_effect_chunk2.vPA)(!0);headerElement=(0,core.viewChild)("headerElement");footerElement=(0,core.viewChild)("footerElement");constructor(){(0,_debug_node_chunk.mal)(()=>{this.headerValue.set(this.header()&&0!==(this.headerElement()?.nativeElement.children.length??0)),this.footerValue.set(this.footer()&&0!==(this.footerElement()?.nativeElement.children.length??0))})}ngOnInit(){this.headerValue.set(this.header()),this.footerValue.set(this.footer()),this.subscription.add(this.storage.watch(ui_config_types.y.storeName).subscribe(()=>{this.contentSize=this.layoutService.getLayoutSize()?.content??null,this.contentSize&&this.element.nativeElement.setAttribute("style",`height:${this.contentSize.height}px`)}))}ngOnDestroy(){this.subscription.unsubscribe()}static ctorParameters=()=>[];static propDecorators={header:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"header",required:!1,transform:void 0}]}],footer:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"footer",required:!1,transform:void 0}]}],headerElement:[{type:core.ViewChild,args:["headerElement",{isSignal:!0}]}],footerElement:[{type:core.ViewChild,args:["footerElement",{isSignal:!0}]}]}};UiLayoutTopScrollBottomComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-top-scroll-bottom, ui-top-scroll-bottom",template:'<div class="_wrapper">\n @if (headerValue()) {\n <header #headerElement>\n <ng-content select="[header]"></ng-content>\n </header>\n }\n\n <div class="_content">\n <ng-content select="[content]"></ng-content>\n </div>\n\n @if (footerValue()) {\n <footer #footerElement>\n <ng-content select="[footer]"></ng-content>\n </footer>\n }\n</div>\n',encapsulation:_debug_node_chunk.gXe.Emulated,styles:[top_scroll_bottom_componentngResource_default()]}),(0,tslib_es6.Sn)("design:paramtypes",[])],UiLayoutTopScrollBottomComponent);const meta={title:"Layout/Top Scroll Bottom",decorators:[(0,dist.Iz)({providers:[],declarations:[],imports:[main_component.z,UiLayoutTopScrollBottomComponent]})],argTypes:{header:{control:"boolean"},footer:{control:"boolean"}}},loop=times=>{let output="";for(let i=0;i<times;i++)output=`${output} - content - ${i}<br>`;return output},top_scroll_bottom_component_stories=meta,TopScrollBottom={args:{header:!0,footer:!0},render:args=>({props:{...args,prefix:ui_config_types.Q},template:`\n <ui-layout-main [cssPrefix]="prefix">\n <strong main-header class="flex p-4 bg-[var(--ui-c-secondary)]">layout header</strong>\n <ui-layout-top-scroll-bottom main-content [header]="header" [footer]="footer">\n <span class="flex p-4" header>component header</span>\n <span class="flex p-4" content>${loop(100)}</span>\n <span class="flex p-4" footer>component footer</span>\n </ui-layout-top-scroll-bottom>\n <strong main-footer class="flex p-4 bg-[var(--ui-c-secondary)]">layout footer</strong>\n </ui-layout-main>\n `})},__namedExportsOrder=["TopScrollBottom"];TopScrollBottom.parameters={...TopScrollBottom.parameters,docs:{...TopScrollBottom.parameters?.docs,source:{originalSource:'{\n args: {\n header: true,\n footer: true\n },\n render: args => {\n return {\n props: {\n ...args,\n prefix: uiConfigStorybookCssPrefix\n },\n template: `\n <ui-layout-main [cssPrefix]="prefix">\n <strong main-header class="flex p-4 bg-[var(--ui-c-secondary)]">layout header</strong>\n <ui-layout-top-scroll-bottom main-content [header]="header" [footer]="footer">\n <span class="flex p-4" header>component header</span>\n <span class="flex p-4" content>${loop(100)}</span>\n <span class="flex p-4" footer>component footer</span>\n </ui-layout-top-scroll-bottom>\n <strong main-footer class="flex p-4 bg-[var(--ui-c-secondary)]">layout footer</strong>\n </ui-layout-main>\n `\n };\n }\n}',...TopScrollBottom.parameters?.docs?.source}}}},"./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n:host {\n position: relative;\n display: flex;\n width: 100%;\n max-height: 100%;\n ._wrapper,\n header,\n ._content,\n footer {\n display: flex;\n flex-flow: column;\n width: 100%;\n }\n\n header {\n background-color: var(--ui-c-primary);\n flex: 0 0;\n }\n\n ._content {\n flex: 1 1;\n background-color: var(--ui-c-background);\n overflow: auto;\n }\n\n footer {\n flex: 0 0;\n background-color: var(--ui-c-primary);\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[9779],{"./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TopScrollBottom:()=>TopScrollBottom,__namedExportsOrder:()=>__namedExportsOrder,default:()=>top_scroll_bottom_component_stories});var dist=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),main_component=__webpack_require__("./libs/ui/src/lib/layout/main/main.component.ts"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var top_scroll_bottom_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.css?ngResource"),top_scroll_bottom_componentngResource_default=__webpack_require__.n(top_scroll_bottom_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),ngx_pwa_local_storage=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiLayoutTopScrollBottomComponent=class UiLayoutTopScrollBottomComponent{element=(0,_effect_chunk2.WQX)(_debug_node_chunk.aKT);storage=(0,_effect_chunk2.WQX)(ngx_pwa_local_storage.AX);layoutService=(0,_effect_chunk2.WQX)(layout_service.u);header=(0,core.input)(!0);footer=(0,core.input)(!0);subscription=new Subscription.yU;contentSize=null;headerValue=(0,_effect_chunk2.vPA)(!0);footerValue=(0,_effect_chunk2.vPA)(!0);headerElement=(0,core.viewChild)("headerElement");footerElement=(0,core.viewChild)("footerElement");constructor(){(0,_debug_node_chunk.mal)(()=>{this.headerValue.set(this.header()&&0!==(this.headerElement()?.nativeElement.children.length??0)),this.footerValue.set(this.footer()&&0!==(this.footerElement()?.nativeElement.children.length??0))})}ngOnInit(){this.headerValue.set(this.header()),this.footerValue.set(this.footer()),this.subscription.add(this.storage.watch(ui_config_types.y.storeName).subscribe(()=>{this.contentSize=this.layoutService.getLayoutSize()?.content??null,this.contentSize&&this.element.nativeElement.setAttribute("style",`height:${this.contentSize.height}px`)}))}ngOnDestroy(){this.subscription.unsubscribe()}static ctorParameters=()=>[];static propDecorators={header:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"header",required:!1,transform:void 0}]}],footer:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"footer",required:!1,transform:void 0}]}],headerElement:[{type:core.ViewChild,args:["headerElement",{isSignal:!0}]}],footerElement:[{type:core.ViewChild,args:["footerElement",{isSignal:!0}]}]}};UiLayoutTopScrollBottomComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-top-scroll-bottom, ui-top-scroll-bottom",template:'<div class="_wrapper">\n @if (headerValue()) {\n <header #headerElement>\n <ng-content select="[header]"></ng-content>\n </header>\n }\n\n <div class="_content">\n <ng-content select="[content]"></ng-content>\n </div>\n\n @if (footerValue()) {\n <footer #footerElement>\n <ng-content select="[footer]"></ng-content>\n </footer>\n }\n</div>\n',encapsulation:_debug_node_chunk.gXe.Emulated,styles:[top_scroll_bottom_componentngResource_default()]}),(0,tslib_es6.Sn)("design:paramtypes",[])],UiLayoutTopScrollBottomComponent);const meta={title:"Layout/Top Scroll Bottom",decorators:[(0,dist.Iz)({providers:[],declarations:[],imports:[main_component.z,UiLayoutTopScrollBottomComponent]})],argTypes:{header:{control:"boolean"},footer:{control:"boolean"}}},loop=times=>{let output="";for(let i=0;i<times;i++)output=`${output} - content - ${i}<br>`;return output},top_scroll_bottom_component_stories=meta,TopScrollBottom={args:{header:!0,footer:!0},render:args=>({props:{...args,prefix:ui_config_types.Q},template:`\n <ui-layout-main [cssPrefix]="prefix">\n <strong main-header class="flex p-4 bg-[var(--ui-c-secondary)]">layout header</strong>\n <ui-layout-top-scroll-bottom main-content [header]="header" [footer]="footer">\n <span class="flex p-4" header>component header</span>\n <span class="flex p-4" content>${loop(100)}</span>\n <span class="flex p-4" footer>component footer</span>\n </ui-layout-top-scroll-bottom>\n <strong main-footer class="flex p-4 bg-[var(--ui-c-secondary)]">layout footer</strong>\n </ui-layout-main>\n `})},__namedExportsOrder=["TopScrollBottom"];TopScrollBottom.parameters={...TopScrollBottom.parameters,docs:{...TopScrollBottom.parameters?.docs,source:{originalSource:'{\n args: {\n header: true,\n footer: true\n },\n render: args => {\n return {\n props: {\n ...args,\n prefix: uiConfigStorybookCssPrefix\n },\n template: `\n <ui-layout-main [cssPrefix]="prefix">\n <strong main-header class="flex p-4 bg-[var(--ui-c-secondary)]">layout header</strong>\n <ui-layout-top-scroll-bottom main-content [header]="header" [footer]="footer">\n <span class="flex p-4" header>component header</span>\n <span class="flex p-4" content>${loop(100)}</span>\n <span class="flex p-4" footer>component footer</span>\n </ui-layout-top-scroll-bottom>\n <strong main-footer class="flex p-4 bg-[var(--ui-c-secondary)]">layout footer</strong>\n </ui-layout-main>\n `\n };\n }\n}',...TopScrollBottom.parameters?.docs?.source}}}},"./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n:host {\n position: relative;\n display: flex;\n width: 100%;\n max-height: 100%;\n ._wrapper,\n header,\n ._content,\n footer {\n display: flex;\n flex-flow: column;\n width: 100%;\n }\n\n header {\n background-color: var(--ui-c-primary);\n flex: 0 0;\n }\n\n ._content {\n flex: 1 1;\n background-color: var(--ui-c-background);\n overflow: auto;\n }\n\n footer {\n flex: 0 0;\n background-color: var(--ui-c-primary);\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[8792],{"./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$"(module,__unused_webpack_exports,__webpack_require__){var map={"./examples/image-grid-slider/docs.mdx":["./libs/ui/.storybook/demos/examples/image-grid-slider/docs.mdx",[2096,4255,4555,9045,7316,943]],"./examples/layout/docs.mdx":["./libs/ui/.storybook/demos/examples/layout/docs.mdx",[2096,4255,4425,4555,2249,1255,1481]],"./examples/table-edit-focus/docs.mdx":["./libs/ui/.storybook/demos/examples/table-edit-focus/docs.mdx",[2096,4255,6169,660,973,4555,7749,5493]],"./examples/transloco/docs.mdx":["./libs/ui/.storybook/demos/examples/transloco/docs.mdx",[2096,4255,4555,6768]],"./styling/colors/docs.mdx":["./libs/ui/.storybook/demos/styling/colors/docs.mdx",[2096,4255,1838]],"./styling/css-variables/docs.mdx":["./libs/ui/.storybook/demos/styling/css-variables/docs.mdx",[4255,7893]],"./styling/forms/docs.mdx":["./libs/ui/.storybook/demos/styling/forms/docs.mdx",[2096,4255,6169,4555,1516,3857]],"./styling/icons/docs.mdx":["./libs/ui/.storybook/demos/styling/icons/docs.mdx",[2096,4255,6169,1516,7653,8092]],"./styling/layers/docs.mdx":["./libs/ui/.storybook/demos/styling/layers/docs.mdx",[4255,7600]],"./styling/tags/docs.mdx":["./libs/ui/.storybook/demos/styling/tags/docs.mdx",[2096,4255,1927]],"./styling/ui-tags/docs.mdx":["./libs/ui/.storybook/demos/styling/ui-tags/docs.mdx",[2096,4255,3338]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$",module.exports=webpackAsyncContext},"./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$"(module,__unused_webpack_exports,__webpack_require__){var map={"./examples/image-grid-slider/image-grid-slider.stories":["./libs/ui/.storybook/demos/examples/image-grid-slider/image-grid-slider.stories.ts",[2096,9045,7316,8938]],"./examples/image-grid-slider/image-grid-slider.stories.ts":["./libs/ui/.storybook/demos/examples/image-grid-slider/image-grid-slider.stories.ts",[2096,9045,7316,8938]],"./examples/layout/layout.stories":["./libs/ui/.storybook/demos/examples/layout/layout.stories.ts",[2096,4425,2249,1255,5684]],"./examples/layout/layout.stories.ts":["./libs/ui/.storybook/demos/examples/layout/layout.stories.ts",[2096,4425,2249,1255,5684]],"./examples/table-edit-focus/table-edit-focus.stories":["./libs/ui/.storybook/demos/examples/table-edit-focus/table-edit-focus.stories.ts",[2096,6169,660,973,7749,9836]],"./examples/table-edit-focus/table-edit-focus.stories.ts":["./libs/ui/.storybook/demos/examples/table-edit-focus/table-edit-focus.stories.ts",[2096,6169,660,973,7749,9836]],"./examples/transloco/transloco.component.stories":["./libs/ui/.storybook/demos/examples/transloco/transloco.component.stories.ts",[2096,9044]],"./examples/transloco/transloco.component.stories.ts":["./libs/ui/.storybook/demos/examples/transloco/transloco.component.stories.ts",[2096,9044]],"./styling/colors/colors.component.stories":["./libs/ui/.storybook/demos/styling/colors/colors.component.stories.ts",[2096,5995]],"./styling/colors/colors.component.stories.ts":["./libs/ui/.storybook/demos/styling/colors/colors.component.stories.ts",[2096,5995]],"./styling/forms/forms.component.stories":["./libs/ui/.storybook/demos/styling/forms/forms.component.stories.ts",[2096,6169,1516,1977]],"./styling/forms/forms.component.stories.ts":["./libs/ui/.storybook/demos/styling/forms/forms.component.stories.ts",[2096,6169,1516,1977]],"./styling/icons/icons.component.stories":["./libs/ui/.storybook/demos/styling/icons/icons.component.stories.ts",[2096,6169,1516,7653]],"./styling/icons/icons.component.stories.ts":["./libs/ui/.storybook/demos/styling/icons/icons.component.stories.ts",[2096,6169,1516,7653]],"./styling/tags/tags.component.stories":["./libs/ui/.storybook/demos/styling/tags/tags.component.stories.ts",[2096,1165]],"./styling/tags/tags.component.stories.ts":["./libs/ui/.storybook/demos/styling/tags/tags.component.stories.ts",[2096,1165]],"./styling/ui-tags/ui-tags.component.stories":["./libs/ui/.storybook/demos/styling/ui-tags/ui-tags.component.stories.ts",[2096,5233]],"./styling/ui-tags/ui-tags.component.stories.ts":["./libs/ui/.storybook/demos/styling/ui-tags/ui-tags.component.stories.ts",[2096,5233]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$",module.exports=webpackAsyncContext},"./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$"(module,__unused_webpack_exports,__webpack_require__){var map={"./_external/mwork-banner/docs.mdx":["./libs/ui/src/lib/_external/mwork-banner/docs.mdx",[4255,2228,6501]],"./_external/mwork-basic-interpreter/docs.mdx":["./libs/ui/src/lib/_external/mwork-basic-interpreter/docs.mdx",[4255,2228,3752]],"./_external/mwork-music-player/docs.mdx":["./libs/ui/src/lib/_external/mwork-music-player/docs.mdx",[4255,2228,3260]],"./atoms/_electrons/form-error-message/docs.mdx":["./libs/ui/src/lib/atoms/_electrons/form-error-message/docs.mdx",[2096,4255,2074]],"./atoms/background/docs.mdx":["./libs/ui/src/lib/atoms/background/docs.mdx",[2096,4255,4555,2006]],"./atoms/barcode/docs.mdx":["./libs/ui/src/lib/atoms/barcode/docs.mdx",[4255,4555,9918]],"./atoms/buzzer/docs.mdx":["./libs/ui/src/lib/atoms/buzzer/docs.mdx",[2096,4255,4555,4320]],"./atoms/card/docs.mdx":["./libs/ui/src/lib/atoms/card/docs.mdx",[2096,4255,6169,4555,8852]],"./atoms/chart/docs.mdx":["./libs/ui/src/lib/atoms/chart/docs.mdx",[2096,4255,4555,6978]],"./atoms/clock/docs.mdx":["./libs/ui/src/lib/atoms/clock/docs.mdx",[4255,4555,5084]],"./atoms/copy-value/docs.mdx":["./libs/ui/src/lib/atoms/copy-value/docs.mdx",[4255,4555,3007]],"./atoms/image-grid/docs.mdx":["./libs/ui/src/lib/atoms/image-grid/docs.mdx",[2096,4255,6169,4555,9045,8039,3146]],"./atoms/image-slider/docs.mdx":["./libs/ui/src/lib/atoms/image-slider/docs.mdx",[2096,4255,4555,9045,7316,7947]],"./atoms/lang-selector/docs.mdx":["./libs/ui/src/lib/atoms/lang-selector/docs.mdx",[2096,4255,4555,2960]],"./atoms/mosaic/docs.mdx":["./libs/ui/src/lib/atoms/mosaic/docs.mdx",[2096,4255,4555,2831,1954]],"./atoms/placeholder/docs.mdx":["./libs/ui/src/lib/atoms/placeholder/docs.mdx",[4255,4555,6203]],"./atoms/qr-code/docs.mdx":["./libs/ui/src/lib/atoms/qr-code/docs.mdx",[4255,4555,2193]],"./atoms/rating/docs.mdx":["./libs/ui/src/lib/atoms/rating/docs.mdx",[4255,4555,7819]],"./atoms/reader-doc/docs.mdx":["./libs/ui/src/lib/atoms/reader-doc/docs.mdx",[4255,1183,4555,3999,3550]],"./atoms/text-animate/docs.mdx":["./libs/ui/src/lib/atoms/text-animate/docs.mdx",[2096,4255,6169,4555,4067]],"./atoms/thumb/docs.mdx":["./libs/ui/src/lib/atoms/thumb/docs.mdx",[2096,4255,4425,4555,5370]],"./atoms/timer/docs.mdx":["./libs/ui/src/lib/atoms/timer/docs.mdx",[4255,4555,4447]],"./atoms/typewriter/docs.mdx":["./libs/ui/src/lib/atoms/typewriter/docs.mdx",[4255,4555,4806]],"./cdk/components/drag-and-drop-splitter/docs.mdx":["./libs/ui/src/lib/cdk/components/drag-and-drop-splitter/docs.mdx",[2096,4255,660,2844,4555,1327]],"./cdk/components/table/docs.mdx":["./libs/ui/src/lib/cdk/components/table/docs.mdx",[2096,4255,6169,660,2844,973,4555,7749,6569]],"./examples/docs.mdx":["./libs/ui/src/lib/examples/docs.mdx",[4255,4555,813,1296]],"./forms/autocomplete/docs.mdx":["./libs/ui/src/lib/forms/autocomplete/docs.mdx",[2096,4255,6169,4555,7837]],"./forms/autofocus/docs.mdx":["./libs/ui/src/lib/forms/autofocus/docs.mdx",[2096,4255,6169,1516,166]],"./forms/checkbox/docs.mdx":["./libs/ui/src/lib/forms/checkbox/docs.mdx",[2096,4255,6169,4555,8108]],"./forms/input/docs.mdx":["./libs/ui/src/lib/forms/input/docs.mdx",[2096,4255,6169,4555,1516,4939]],"./forms/slider/docs.mdx":["./libs/ui/src/lib/forms/slider/docs.mdx",[2096,4255,6169,4555,6202,6252]],"./forms/switch/docs.mdx":["./libs/ui/src/lib/forms/switch/docs.mdx",[2096,4255,6169,4555,977]],"./forms/validators/docs.mdx":["./libs/ui/src/lib/forms/validators/docs.mdx",[2096,4255,6169,1516,7586]],"./home/guide.mdx":["./libs/ui/src/lib/home/guide.mdx",[4255,4555,3767]],"./home/overview.mdx":["./libs/ui/src/lib/home/overview.mdx",[4255,128]],"./home/tips.mdx":["./libs/ui/src/lib/home/tips.mdx",[4255,3143]],"./home/usage.mdx":["./libs/ui/src/lib/home/usage.mdx",[4255,3842]],"./layout/main/docs.mdx":["./libs/ui/src/lib/layout/main/docs.mdx",[2096,4255,4555,2249,3837]],"./layout/media-screen/docs.mdx":["./libs/ui/src/lib/layout/media-screen/docs.mdx",[4255,4555,3151]],"./layout/nav/docs.mdx":["./libs/ui/src/lib/layout/nav/docs.mdx",[2096,4255,4425,4555,1255,9653]],"./layout/overlay/docs.mdx":["./libs/ui/src/lib/layout/overlay/docs.mdx",[2096,4255,6169,4555,813,6659,2168]],"./layout/overlay/header/docs.mdx":["./libs/ui/src/lib/layout/overlay/header/docs.mdx",[4255,4555,813,9042]],"./layout/spinner/docs.mdx":["./libs/ui/src/lib/layout/spinner/docs.mdx",[2096,4255,6169,4555,365]],"./layout/splitter/docs.mdx":["./libs/ui/src/lib/layout/splitter/docs.mdx",[2096,4255,6169,4555,2249,6331,947]],"./layout/tabs/docs.mdx":["./libs/ui/src/lib/layout/tabs/docs.mdx",[2096,4255,6169,4555,6892]],"./layout/top-scroll-bottom/docs.mdx":["./libs/ui/src/lib/layout/top-scroll-bottom/docs.mdx",[2096,4255,4555,2249,3073]],"./molecules/image-editor/docs.mdx":["./libs/ui/src/lib/molecules/image-editor/docs.mdx",[2096,4255,6169,4555,813,6202,8180,3190]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$",module.exports=webpackAsyncContext},"./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$"(module,__unused_webpack_exports,__webpack_require__){var map={"./_external/mwork-banner/mwork-banner.stories":["./libs/ui/src/lib/_external/mwork-banner/mwork-banner.stories.ts",[2228,7867]],"./_external/mwork-banner/mwork-banner.stories.ts":["./libs/ui/src/lib/_external/mwork-banner/mwork-banner.stories.ts",[2228,7867]],"./_external/mwork-basic-interpreter/mwork-basic-interpreter.stories":["./libs/ui/src/lib/_external/mwork-basic-interpreter/mwork-basic-interpreter.stories.ts",[2228,2379]],"./_external/mwork-basic-interpreter/mwork-basic-interpreter.stories.ts":["./libs/ui/src/lib/_external/mwork-basic-interpreter/mwork-basic-interpreter.stories.ts",[2228,2379]],"./_external/mwork-music-player/mwork-music-player.stories":["./libs/ui/src/lib/_external/mwork-music-player/mwork-music-player.stories.ts",[2228,1365]],"./_external/mwork-music-player/mwork-music-player.stories.ts":["./libs/ui/src/lib/_external/mwork-music-player/mwork-music-player.stories.ts",[2228,1365]],"./atoms/_electrons/form-error-message/form-error-message.component.stories":["./libs/ui/src/lib/atoms/_electrons/form-error-message/form-error-message.component.stories.ts",[2096,1322]],"./atoms/_electrons/form-error-message/form-error-message.component.stories.ts":["./libs/ui/src/lib/atoms/_electrons/form-error-message/form-error-message.component.stories.ts",[2096,1322]],"./atoms/background/background.component.stories":["./libs/ui/src/lib/atoms/background/background.component.stories.ts",[2096,4855]],"./atoms/background/background.component.stories.ts":["./libs/ui/src/lib/atoms/background/background.component.stories.ts",[2096,4855]],"./atoms/barcode/barcode.component.stories":["./libs/ui/src/lib/atoms/barcode/barcode.component.stories.ts",[9217]],"./atoms/barcode/barcode.component.stories.ts":["./libs/ui/src/lib/atoms/barcode/barcode.component.stories.ts",[9217]],"./atoms/buzzer/buzzer.component.stories":["./libs/ui/src/lib/atoms/buzzer/buzzer.component.stories.ts",[2096,7419]],"./atoms/buzzer/buzzer.component.stories.ts":["./libs/ui/src/lib/atoms/buzzer/buzzer.component.stories.ts",[2096,7419]],"./atoms/card/card.component.stories":["./libs/ui/src/lib/atoms/card/card.component.stories.ts",[2096,6169,4947]],"./atoms/card/card.component.stories.ts":["./libs/ui/src/lib/atoms/card/card.component.stories.ts",[2096,6169,4947]],"./atoms/chart/chart.component.stories":["./libs/ui/src/lib/atoms/chart/chart.component.stories.ts",[2096,2425]],"./atoms/chart/chart.component.stories.ts":["./libs/ui/src/lib/atoms/chart/chart.component.stories.ts",[2096,2425]],"./atoms/clock/clock.component.stories":["./libs/ui/src/lib/atoms/clock/clock.component.stories.ts",[1809]],"./atoms/clock/clock.component.stories.ts":["./libs/ui/src/lib/atoms/clock/clock.component.stories.ts",[1809]],"./atoms/copy-value/copy-value.component.stories":["./libs/ui/src/lib/atoms/copy-value/copy-value.component.stories.ts",[3853]],"./atoms/copy-value/copy-value.component.stories.ts":["./libs/ui/src/lib/atoms/copy-value/copy-value.component.stories.ts",[3853]],"./atoms/image-grid/image-grid.component.stories":["./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts",[2096,6169,9045,8039]],"./atoms/image-grid/image-grid.component.stories.ts":["./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts",[2096,6169,9045,8039]],"./atoms/image-slider/image-slider.component.stories":["./libs/ui/src/lib/atoms/image-slider/image-slider.component.stories.ts",[2096,9045,7316,1461]],"./atoms/image-slider/image-slider.component.stories.ts":["./libs/ui/src/lib/atoms/image-slider/image-slider.component.stories.ts",[2096,9045,7316,1461]],"./atoms/lang-selector/lang-selector.component.stories":["./libs/ui/src/lib/atoms/lang-selector/lang-selector.component.stories.ts",[2096,3277]],"./atoms/lang-selector/lang-selector.component.stories.ts":["./libs/ui/src/lib/atoms/lang-selector/lang-selector.component.stories.ts",[2096,3277]],"./atoms/mosaic/mosaic.component.stories":["./libs/ui/src/lib/atoms/mosaic/mosaic.component.stories.ts",[2096,2831]],"./atoms/mosaic/mosaic.component.stories.ts":["./libs/ui/src/lib/atoms/mosaic/mosaic.component.stories.ts",[2096,2831]],"./atoms/placeholder/placeholder.component.stories":["./libs/ui/src/lib/atoms/placeholder/placeholder.component.stories.ts",[3045]],"./atoms/placeholder/placeholder.component.stories.ts":["./libs/ui/src/lib/atoms/placeholder/placeholder.component.stories.ts",[3045]],"./atoms/qr-code/qr-code.component.stories":["./libs/ui/src/lib/atoms/qr-code/qr-code.component.stories.ts",[4365]],"./atoms/qr-code/qr-code.component.stories.ts":["./libs/ui/src/lib/atoms/qr-code/qr-code.component.stories.ts",[4365]],"./atoms/rating/rating.component.stories":["./libs/ui/src/lib/atoms/rating/rating.component.stories.ts",[3685]],"./atoms/rating/rating.component.stories.ts":["./libs/ui/src/lib/atoms/rating/rating.component.stories.ts",[3685]],"./atoms/reader-doc/reader-doc.component.stories":["./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.stories.ts",[1183,3999]],"./atoms/reader-doc/reader-doc.component.stories.ts":["./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.stories.ts",[1183,3999]],"./atoms/text-animate/text-animate.component.stories":["./libs/ui/src/lib/atoms/text-animate/text-animate.component.stories.ts",[2096,6169,7877]],"./atoms/text-animate/text-animate.component.stories.ts":["./libs/ui/src/lib/atoms/text-animate/text-animate.component.stories.ts",[2096,6169,7877]],"./atoms/thumb/thumb.component.stories":["./libs/ui/src/lib/atoms/thumb/thumb.component.stories.ts",[2096,4425,3925]],"./atoms/thumb/thumb.component.stories.ts":["./libs/ui/src/lib/atoms/thumb/thumb.component.stories.ts",[2096,4425,3925]],"./atoms/timer/timer.component.stories":["./libs/ui/src/lib/atoms/timer/timer.component.stories.ts",[6189]],"./atoms/timer/timer.component.stories.ts":["./libs/ui/src/lib/atoms/timer/timer.component.stories.ts",[6189]],"./atoms/typewriter/typewriter.component.stories":["./libs/ui/src/lib/atoms/typewriter/typewriter.component.stories.ts",[4713]],"./atoms/typewriter/typewriter.component.stories.ts":["./libs/ui/src/lib/atoms/typewriter/typewriter.component.stories.ts",[4713]],"./cdk/components/drag-and-drop-splitter/splitter.component.stories":["./libs/ui/src/lib/cdk/components/drag-and-drop-splitter/splitter.component.stories.ts",[2096,660,2844,4271]],"./cdk/components/drag-and-drop-splitter/splitter.component.stories.ts":["./libs/ui/src/lib/cdk/components/drag-and-drop-splitter/splitter.component.stories.ts",[2096,660,2844,4271]],"./cdk/components/table/table.component.stories":["./libs/ui/src/lib/cdk/components/table/table.component.stories.ts",[2096,6169,660,2844,973,7749,6212]],"./cdk/components/table/table.component.stories.ts":["./libs/ui/src/lib/cdk/components/table/table.component.stories.ts",[2096,6169,660,2844,973,7749,6212]],"./examples/burger-menu.stories":["./libs/ui/src/lib/examples/burger-menu.stories.ts",[813,9652]],"./examples/burger-menu.stories.ts":["./libs/ui/src/lib/examples/burger-menu.stories.ts",[813,9652]],"./forms/autocomplete/autocomplete.component.stories":["./libs/ui/src/lib/forms/autocomplete/autocomplete.component.stories.ts",[2096,6169,1860]],"./forms/autocomplete/autocomplete.component.stories.ts":["./libs/ui/src/lib/forms/autocomplete/autocomplete.component.stories.ts",[2096,6169,1860]],"./forms/autofocus/autofocus.stories":["./libs/ui/src/lib/forms/autofocus/autofocus.stories.ts",[2096,6169,1516,9236]],"./forms/autofocus/autofocus.stories.ts":["./libs/ui/src/lib/forms/autofocus/autofocus.stories.ts",[2096,6169,1516,9236]],"./forms/checkbox/checkbox.component.stories":["./libs/ui/src/lib/forms/checkbox/checkbox.component.stories.ts",[2096,6169,3678]],"./forms/checkbox/checkbox.component.stories.ts":["./libs/ui/src/lib/forms/checkbox/checkbox.component.stories.ts",[2096,6169,3678]],"./forms/input/input.component.stories":["./libs/ui/src/lib/forms/input/input.component.stories.ts",[2096,6169,1516,1686]],"./forms/input/input.component.stories.ts":["./libs/ui/src/lib/forms/input/input.component.stories.ts",[2096,6169,1516,1686]],"./forms/slider/slider.component.stories":["./libs/ui/src/lib/forms/slider/slider.component.stories.ts",[2096,6169,6202,6922]],"./forms/slider/slider.component.stories.ts":["./libs/ui/src/lib/forms/slider/slider.component.stories.ts",[2096,6169,6202,6922]],"./forms/switch/switch.component.stories":["./libs/ui/src/lib/forms/switch/switch.component.stories.ts",[2096,6169,3048]],"./forms/switch/switch.component.stories.ts":["./libs/ui/src/lib/forms/switch/switch.component.stories.ts",[2096,6169,3048]],"./forms/validators/validators.component.stories":["./libs/ui/src/lib/forms/validators/validators.component.stories.ts",[2096,6169,1516,6354]],"./forms/validators/validators.component.stories.ts":["./libs/ui/src/lib/forms/validators/validators.component.stories.ts",[2096,6169,1516,6354]],"./layout/main/main.component.stories":["./libs/ui/src/lib/layout/main/main.component.stories.ts",[2096,2249,7683]],"./layout/main/main.component.stories.ts":["./libs/ui/src/lib/layout/main/main.component.stories.ts",[2096,2249,7683]],"./layout/media-screen/media-screen.component.stories":["./libs/ui/src/lib/layout/media-screen/media-screen.component.stories.ts",[3651]],"./layout/media-screen/media-screen.component.stories.ts":["./libs/ui/src/lib/layout/media-screen/media-screen.component.stories.ts",[3651]],"./layout/nav/nav.component.stories":["./libs/ui/src/lib/layout/nav/nav.component.stories.ts",[2096,4425,1255,9475]],"./layout/nav/nav.component.stories.ts":["./libs/ui/src/lib/layout/nav/nav.component.stories.ts",[2096,4425,1255,9475]],"./layout/overlay/header/header.component.stories":["./libs/ui/src/lib/layout/overlay/header/header.component.stories.ts",[813,9240]],"./layout/overlay/header/header.component.stories.ts":["./libs/ui/src/lib/layout/overlay/header/header.component.stories.ts",[813,9240]],"./layout/overlay/overlay.component.stories":["./libs/ui/src/lib/layout/overlay/overlay.component.stories.ts",[2096,6169,813,6659]],"./layout/overlay/overlay.component.stories.ts":["./libs/ui/src/lib/layout/overlay/overlay.component.stories.ts",[2096,6169,813,6659]],"./layout/spinner/spinner.component.stories":["./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts",[2096,6169,1043]],"./layout/spinner/spinner.component.stories.ts":["./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts",[2096,6169,1043]],"./layout/splitter/splitter.component.stories":["./libs/ui/src/lib/layout/splitter/splitter.component.stories.ts",[2096,6169,2249,6331]],"./layout/splitter/splitter.component.stories.ts":["./libs/ui/src/lib/layout/splitter/splitter.component.stories.ts",[2096,6169,2249,6331]],"./layout/tabs/tabs.component.stories":["./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts",[2096,6169,8753]],"./layout/tabs/tabs.component.stories.ts":["./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts",[2096,6169,8753]],"./layout/top-scroll-bottom/top-scroll-bottom.component.stories":["./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts",[2096,2249,9779]],"./layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts":["./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts",[2096,2249,9779]],"./molecules/image-editor/image-editor.component.stories":["./libs/ui/src/lib/molecules/image-editor/image-editor.component.stories.ts",[2096,6169,813,6202,8180]],"./molecules/image-editor/image-editor.component.stories.ts":["./libs/ui/src/lib/molecules/image-editor/image-editor.component.stories.ts",[2096,6169,813,6202,8180]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$",module.exports=webpackAsyncContext},"./libs/ui/src/lib/transloco-modules/transloco-storybook.module.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{o:()=>TranslocoStorybookModule});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_common_http__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/common/fesm2022/_module-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs"),_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@ngneat/transloco-locale/fesm2022/ngneat-transloco-locale.mjs"),_ngneat_transloco_messageformat__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@ngneat/transloco-messageformat/fesm2022/ngneat-transloco-messageformat.mjs");let TranslocoHttpLoader=class TranslocoHttpLoader{http=(0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.WQX)(_angular_common_http__WEBPACK_IMPORTED_MODULE_1__.Qq);getTranslation(lang){return this.http.get(`assets/ui/i18n/ui/${lang}.json`)}};TranslocoHttpLoader=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__._qm)({providedIn:"root"})],TranslocoHttpLoader);let TranslocoStorybookModule=class TranslocoStorybookModule{};TranslocoStorybookModule=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.UQu)({exports:[_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__.Q8,_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__.C],imports:[_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__.Q8,_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__.C],providers:[(0,_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__.$o)({config:{availableLangs:[{id:"en-EN",label:"EN"},{id:"de-DE",label:"DE"}],defaultLang:"de-DE",reRenderOnLangChange:!0,prodMode:!(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.isDevMode)(),missingHandler:{logMissingKey:!0}},loader:TranslocoHttpLoader}),(0,_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__.Ne)({localeConfig:{global:{date:{dateStyle:"medium",timeStyle:"medium"}}}}),(0,_ngneat_transloco_messageformat__WEBPACK_IMPORTED_MODULE_7__.vj)()]})],TranslocoStorybookModule)},"./libs/ui/.storybook/preview.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,preview:()=>preview});var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/common/fesm2022/_module-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngneat_transloco__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs"),_storybook_angular__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/firstValueFrom.js"),storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("storybook/internal/core-events"),storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("storybook/preview-api"),_src_lib_transloco_modules_transloco_storybook_module__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./libs/ui/src/lib/transloco-modules/transloco-storybook.module.ts");const channel=storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_7__.addons.getChannel(),cleanupHandler=()=>{["#uiNavMain","#uiNavHome"].forEach(id=>{const el=document.querySelector(id);el&&el.remove()})};channel.on(storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_6__.STORY_CHANGED,cleanupHandler),channel.on(storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_6__.DOCS_RENDERED,cleanupHandler);const preview={parameters:{actions:{disable:!0},interactions:{disable:!0},options:{storySort:{order:["Home",["Introduction","Guide","Tips & Tricks"],"Layout","Molecules","CDK","Forms",["Input","*","Electrons"],"Atoms","Styling",["CSS Variables","Colors","*"],"Examples","External"]}}},decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_4__.L4)({providers:[(0,_angular_common_http__WEBPACK_IMPORTED_MODULE_0__.$R)(),(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.oKB)(_src_lib_transloco_modules_transloco_storybook_module__WEBPACK_IMPORTED_MODULE_8__.o),(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.phd)(()=>{const transloco=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngneat_transloco__WEBPACK_IMPORTED_MODULE_3__.JO);return transloco.setActiveLang("en-EN"),(0,rxjs__WEBPACK_IMPORTED_MODULE_5__._)(transloco.load("en-EN"))})]})]},__WEBPACK_DEFAULT_EXPORT__=preview},"./storybook-config-entry.js"(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("storybook/internal/channels"),csf=(__webpack_require__("storybook/internal/core-events"),__webpack_require__("./node_modules/storybook/dist/csf/index.js")),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/preview-api"),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");const pipeline=x=>x(),importers=[function(){var _ref=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/src\/lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.mdx)$/.exec(path))return;const pathRemainder=path.substring(18);return __webpack_require__("./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$")("./"+pathRemainder)});return function(_x){return _ref.apply(this,arguments)}}(),function(){var _ref2=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/src\/lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|ts|tsx))$/.exec(path))return;const pathRemainder=path.substring(18);return __webpack_require__("./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$")("./"+pathRemainder)});return function(_x2){return _ref2.apply(this,arguments)}}(),function(){var _ref3=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/\.storybook\/demos(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.mdx)$/.exec(path))return;const pathRemainder=path.substring(27);return __webpack_require__("./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$")("./"+pathRemainder)});return function(_x3){return _ref3.apply(this,arguments)}}(),function(){var _ref4=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/\.storybook\/demos(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|ts|tsx))$/.exec(path))return;const pathRemainder=path.substring(27);return __webpack_require__("./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$")("./"+pathRemainder)});return function(_x4){return _ref4.apply(this,arguments)}}()];function _importFn(){return(_importFn=(0,asyncToGenerator.A)(function*(path){for(let i=0;i<importers.length;i++){const moduleExports=yield pipeline(()=>importers[i](path));if(moduleExports)return moduleExports}})).apply(this,arguments)}const channel=(0,external_STORYBOOK_MODULE_CHANNELS_.createBrowserChannel)({page:"preview"});external_STORYBOOK_MODULE_PREVIEW_API_.addons.setChannel(channel),"DEVELOPMENT"===external_STORYBOOK_MODULE_GLOBAL_.global.CONFIG_TYPE&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const preview=new external_STORYBOOK_MODULE_PREVIEW_API_.PreviewWeb(function importFn(_x5){return _importFn.apply(this,arguments)},()=>{const previewAnnotations=[__webpack_require__("./node_modules/@storybook/angular/dist/client/preview-prod.js"),__webpack_require__("./node_modules/@storybook/angular/dist/client/config.js"),__webpack_require__("./node_modules/@storybook/angular/dist/client/docs/config.js"),__webpack_require__("./node_modules/@storybook/addon-docs/preview.js"),__webpack_require__("./libs/ui/.storybook/preview.ts")],userPreview=previewAnnotations[previewAnnotations.length-1]?.default;return(0,csf.bU)(userPreview)?userPreview.composed:(0,external_STORYBOOK_MODULE_PREVIEW_API_.composeConfigs)(previewAnnotations)});window.__STORYBOOK_PREVIEW__=preview,window.__STORYBOOK_STORY_STORE__=preview.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=channel},"./libs/ui/src/styles/storybook.css?ngGlobalStyle"(){},"./libs/ui/src/styles/tailwind.css?ngGlobalStyle"(){},"./node_modules/storybook/dist/_browser-chunks sync recursive"(module){function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/storybook/dist/_browser-chunks sync recursive",module.exports=webpackEmptyContext},"storybook/actions"(module){"use strict";module.exports=__STORYBOOK_MODULE_ACTIONS__},"storybook/internal/channels"(module){"use strict";module.exports=__STORYBOOK_MODULE_CHANNELS__},"storybook/internal/client-logger"(module){"use strict";module.exports=__STORYBOOK_MODULE_CLIENT_LOGGER__},"storybook/internal/preview-errors"(module){"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__},"storybook/internal/core-events"(module){"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS__},"@storybook/global"(module){"use strict";module.exports=__STORYBOOK_MODULE_GLOBAL__},"storybook/preview-api"(module){"use strict";module.exports=__STORYBOOK_MODULE_PREVIEW_API__},"storybook/test"(module){"use strict";module.exports=__STORYBOOK_MODULE_TEST__},"storybook/internal/types"(module){"use strict";module.exports=__STORYBOOK_MODULE_TYPES__}},__webpack_require__=>{var __webpack_exec__=moduleId=>__webpack_require__(__webpack_require__.s=moduleId);__webpack_require__.O(0,[4755],()=>(__webpack_exec__("./node_modules/@angular/compiler/fesm2022/compiler.mjs"),__webpack_exec__("./storybook-config-entry.js"),__webpack_exec__("./libs/ui/src/styles/tailwind.css?ngGlobalStyle"),__webpack_exec__("./libs/ui/src/styles/storybook.css?ngGlobalStyle")));__webpack_require__.O()}]);