atomicuilibrary 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1108) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/dist/cjs/category-section.cjs.entry.js +30 -0
  4. package/dist/cjs/component-size-DsYFUZcz.js +29 -0
  5. package/dist/cjs/dom-oP1E4Rd3.js +267 -0
  6. package/dist/cjs/event-bus-B6M2f8CQ.js +23 -0
  7. package/dist/cjs/exploration-project-tailwind.cjs.js +24 -0
  8. package/dist/cjs/focus-trap-i9T6oXLc.js +139 -0
  9. package/dist/cjs/index-ClkOYpT8.js +2275 -0
  10. package/dist/cjs/index.cjs.js +260 -0
  11. package/dist/cjs/layout-manager.cjs.entry.js +616 -0
  12. package/dist/cjs/library-card.cjs.entry.js +63 -0
  13. package/dist/cjs/lm-container_2.cjs.entry.js +79 -0
  14. package/dist/cjs/lm-panel_3.cjs.entry.js +108 -0
  15. package/dist/cjs/loader.cjs.js +12 -0
  16. package/dist/cjs/my-component.cjs.entry.js +33 -0
  17. package/dist/cjs/my-step.cjs.entry.js +29 -0
  18. package/dist/cjs/nav-bar.cjs.entry.js +247 -0
  19. package/dist/cjs/security-E1JcwxGc.js +1547 -0
  20. package/dist/cjs/smart-step.cjs.entry.js +47 -0
  21. package/dist/cjs/timeline-item.cjs.entry.js +29 -0
  22. package/dist/cjs/ui-accordion_10.cjs.entry.js +5733 -0
  23. package/dist/cjs/ui-advanced-data-table.cjs.entry.js +2684 -0
  24. package/dist/cjs/ui-anchor.cjs.entry.js +558 -0
  25. package/dist/cjs/ui-animate-on-scroll.cjs.entry.js +285 -0
  26. package/dist/cjs/ui-aside-panel.cjs.entry.js +638 -0
  27. package/dist/cjs/ui-avatar-group_3.cjs.entry.js +634 -0
  28. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +56 -0
  29. package/dist/cjs/ui-breadcrumb.cjs.entry.js +201 -0
  30. package/dist/cjs/ui-callout-banner.cjs.entry.js +291 -0
  31. package/dist/cjs/ui-card.cjs.entry.js +411 -0
  32. package/dist/cjs/ui-carousel.cjs.entry.js +547 -0
  33. package/dist/cjs/ui-checkbox-group.cjs.entry.js +330 -0
  34. package/dist/cjs/ui-checkbox.cjs.entry.js +260 -0
  35. package/dist/cjs/ui-code-editor.cjs.entry.js +961 -0
  36. package/dist/cjs/ui-code-preview.cjs.entry.js +315 -0
  37. package/dist/cjs/ui-color-controller.cjs.entry.js +150 -0
  38. package/dist/cjs/ui-color-picker.cjs.entry.js +658 -0
  39. package/dist/cjs/ui-command-palette.cjs.entry.js +178 -0
  40. package/dist/cjs/ui-dialog-box.cjs.entry.js +1808 -0
  41. package/dist/cjs/ui-dialog-content.cjs.entry.js +31 -0
  42. package/dist/cjs/ui-dialog-footer_2.cjs.entry.js +193 -0
  43. package/dist/cjs/ui-divider.cjs.entry.js +481 -0
  44. package/dist/cjs/ui-dock-host.cjs.entry.js +128 -0
  45. package/dist/cjs/ui-dock.cjs.entry.js +221 -0
  46. package/dist/cjs/ui-drag-drop.cjs.entry.js +172 -0
  47. package/dist/cjs/ui-dropdown_2.cjs.entry.js +1552 -0
  48. package/dist/cjs/ui-empty-state.cjs.entry.js +398 -0
  49. package/dist/cjs/ui-fab-item.cjs.entry.js +39 -0
  50. package/dist/cjs/ui-fab.cjs.entry.js +277 -0
  51. package/dist/cjs/ui-file-upload.cjs.entry.js +418 -0
  52. package/dist/cjs/ui-horizontal-nav.cjs.entry.js +135 -0
  53. package/dist/cjs/ui-image-button.cjs.entry.js +67 -0
  54. package/dist/cjs/ui-input-pair.cjs.entry.js +44 -0
  55. package/dist/cjs/ui-knob.cjs.entry.js +447 -0
  56. package/dist/cjs/ui-library.cjs.entry.js +134 -0
  57. package/dist/cjs/ui-list-group_2.cjs.entry.js +586 -0
  58. package/dist/cjs/ui-list.cjs.entry.js +732 -0
  59. package/dist/cjs/ui-masonry.cjs.entry.js +478 -0
  60. package/dist/cjs/ui-meter-group.cjs.entry.js +173 -0
  61. package/dist/cjs/ui-navigation-item.cjs.entry.js +104 -0
  62. package/dist/cjs/ui-number-input.cjs.entry.js +191 -0
  63. package/dist/cjs/ui-otp-input.cjs.entry.js +246 -0
  64. package/dist/cjs/ui-pagination_3.cjs.entry.js +1621 -0
  65. package/dist/cjs/ui-panel.cjs.entry.js +614 -0
  66. package/dist/cjs/ui-pattern-input.cjs.entry.js +278 -0
  67. package/dist/cjs/ui-popover.cjs.entry.js +517 -0
  68. package/dist/cjs/ui-progress.cjs.entry.js +516 -0
  69. package/dist/cjs/ui-radio-group.cjs.entry.js +205 -0
  70. package/dist/cjs/ui-radio.cjs.entry.js +206 -0
  71. package/dist/cjs/ui-range-slider.cjs.entry.js +637 -0
  72. package/dist/cjs/ui-resizable-panel.cjs.entry.js +484 -0
  73. package/dist/cjs/ui-scroll-top.cjs.entry.js +459 -0
  74. package/dist/cjs/ui-smart-context-menu.cjs.entry.js +376 -0
  75. package/dist/cjs/ui-smart-location-dropdown.cjs.entry.js +565 -0
  76. package/dist/cjs/ui-smart-stepper.cjs.entry.js +137 -0
  77. package/dist/cjs/ui-snackbar.cjs.entry.js +863 -0
  78. package/dist/cjs/ui-speed-dial.cjs.entry.js +520 -0
  79. package/dist/cjs/ui-speedometer.cjs.entry.js +428 -0
  80. package/dist/cjs/ui-splitter.cjs.entry.js +282 -0
  81. package/dist/cjs/ui-step.cjs.entry.js +30 -0
  82. package/dist/cjs/ui-stepper.cjs.entry.js +640 -0
  83. package/dist/cjs/ui-switch.cjs.entry.js +405 -0
  84. package/dist/cjs/ui-tabs.cjs.entry.js +703 -0
  85. package/dist/cjs/ui-tag.cjs.entry.js +299 -0
  86. package/dist/cjs/ui-timeline.cjs.entry.js +267 -0
  87. package/dist/cjs/ui-timer.cjs.entry.js +502 -0
  88. package/dist/cjs/ui-toolbar.cjs.entry.js +619 -0
  89. package/dist/cjs/ui-tooltip.cjs.entry.js +697 -0
  90. package/dist/cjs/ui-top-bar.cjs.entry.js +121 -0
  91. package/dist/cjs/ui-transfer-list.cjs.entry.js +592 -0
  92. package/dist/cjs/ui-tree.cjs.entry.js +874 -0
  93. package/dist/cjs/ui-workspace-manager.cjs.entry.js +1201 -0
  94. package/dist/cjs/utils-DVZ6gul6.js +26 -0
  95. package/dist/collection/assets/js/component-config.js +41 -0
  96. package/dist/collection/assets/js/demo-loader.js +147 -0
  97. package/dist/collection/assets/js/demo-nav.js +273 -0
  98. package/dist/collection/assets/js/demos/about-demo.js +60 -0
  99. package/dist/collection/assets/js/demos/accordion-demo.js +1954 -0
  100. package/dist/collection/assets/js/demos/advanced-data-table-demo.js +2952 -0
  101. package/dist/collection/assets/js/demos/anchor-demo.js +527 -0
  102. package/dist/collection/assets/js/demos/animate-on-scroll-demo.js +174 -0
  103. package/dist/collection/assets/js/demos/aside-panel-demo.js +1109 -0
  104. package/dist/collection/assets/js/demos/avatar-demo.js +508 -0
  105. package/dist/collection/assets/js/demos/badge-demo.js +620 -0
  106. package/dist/collection/assets/js/demos/breadcrumb-demo.js +365 -0
  107. package/dist/collection/assets/js/demos/button-demo.js +1223 -0
  108. package/dist/collection/assets/js/demos/button-toggle-demo.js +978 -0
  109. package/dist/collection/assets/js/demos/callout-banner-demo.js +366 -0
  110. package/dist/collection/assets/js/demos/card-demo.js +427 -0
  111. package/dist/collection/assets/js/demos/carousel-demo.js +360 -0
  112. package/dist/collection/assets/js/demos/checkbox-demo.js +489 -0
  113. package/dist/collection/assets/js/demos/code-preview-demo.js +216 -0
  114. package/dist/collection/assets/js/demos/color-picker-demo.js +117 -0
  115. package/dist/collection/assets/js/demos/command-palette-demo.js +105 -0
  116. package/dist/collection/assets/js/demos/complex-form-demo.js +45 -0
  117. package/dist/collection/assets/js/demos/context-menu-data.js +436 -0
  118. package/dist/collection/assets/js/demos/context-menu-demo.js +829 -0
  119. package/dist/collection/assets/js/demos/dashboard-demo.js +5 -0
  120. package/dist/collection/assets/js/demos/dialog-demo-temp.js +411 -0
  121. package/dist/collection/assets/js/demos/dialog-demo.js +2567 -0
  122. package/dist/collection/assets/js/demos/divider-demo.js +853 -0
  123. package/dist/collection/assets/js/demos/dock-demo.js +422 -0
  124. package/dist/collection/assets/js/demos/dock-host-init.js +117 -0
  125. package/dist/collection/assets/js/demos/dock-host-playground.js +59 -0
  126. package/dist/collection/assets/js/demos/documentation-demo.js +34 -0
  127. package/dist/collection/assets/js/demos/drag-drop-demo.js +132 -0
  128. package/dist/collection/assets/js/demos/dropdown-demo.js +1410 -0
  129. package/dist/collection/assets/js/demos/dropdown-subtitle-demo.js +18 -0
  130. package/dist/collection/assets/js/demos/empty-state-demo.js +580 -0
  131. package/dist/collection/assets/js/demos/fab-demo.js +374 -0
  132. package/dist/collection/assets/js/demos/file-upload-demo.js +171 -0
  133. package/dist/collection/assets/js/demos/home-components.js +750 -0
  134. package/dist/collection/assets/js/demos/home-demo.js +441 -0
  135. package/dist/collection/assets/js/demos/horizontal-nav-demo.js +277 -0
  136. package/dist/collection/assets/js/demos/icon-demo.js +380 -0
  137. package/dist/collection/assets/js/demos/input-demo.js +1932 -0
  138. package/dist/collection/assets/js/demos/knob-demo.js +570 -0
  139. package/dist/collection/assets/js/demos/layout-manager-demo.js +918 -0
  140. package/dist/collection/assets/js/demos/list-demo.js +1402 -0
  141. package/dist/collection/assets/js/demos/loader-demo.js +453 -0
  142. package/dist/collection/assets/js/demos/meter-group-demo.js +499 -0
  143. package/dist/collection/assets/js/demos/multi-level-context-menu-demo.js +924 -0
  144. package/dist/collection/assets/js/demos/my-profile-demo.js +237 -0
  145. package/dist/collection/assets/js/demos/nav-bar-demo.js +187 -0
  146. package/dist/collection/assets/js/demos/number-input-demo.js +242 -0
  147. package/dist/collection/assets/js/demos/overview-demo.js +11 -0
  148. package/dist/collection/assets/js/demos/pagination-demo.js +1042 -0
  149. package/dist/collection/assets/js/demos/panel-demo.js +789 -0
  150. package/dist/collection/assets/js/demos/pattern-input-demo.js +241 -0
  151. package/dist/collection/assets/js/demos/popover-demo.js +882 -0
  152. package/dist/collection/assets/js/demos/progress-demo.js +462 -0
  153. package/dist/collection/assets/js/demos/radio-demo.js +413 -0
  154. package/dist/collection/assets/js/demos/range-slider-demo.js +1217 -0
  155. package/dist/collection/assets/js/demos/rating-demo.js +383 -0
  156. package/dist/collection/assets/js/demos/scroll-top-demo.js +353 -0
  157. package/dist/collection/assets/js/demos/skeleton-demo.js +490 -0
  158. package/dist/collection/assets/js/demos/skeleton-performance-demo.js +26 -0
  159. package/dist/collection/assets/js/demos/smart-dialog-demo.js +552 -0
  160. package/dist/collection/assets/js/demos/smart-menu-demo.js +375 -0
  161. package/dist/collection/assets/js/demos/smart-stepper-demo.js +50 -0
  162. package/dist/collection/assets/js/demos/snackbar-demo.js +1040 -0
  163. package/dist/collection/assets/js/demos/speed-dial-demo.js +764 -0
  164. package/dist/collection/assets/js/demos/speedometer-demo.js +425 -0
  165. package/dist/collection/assets/js/demos/split-button-demo.js +201 -0
  166. package/dist/collection/assets/js/demos/stack-demo.js +228 -0
  167. package/dist/collection/assets/js/demos/stepper-demo.js +798 -0
  168. package/dist/collection/assets/js/demos/switch-demo.js +849 -0
  169. package/dist/collection/assets/js/demos/tabs-demo.js +1032 -0
  170. package/dist/collection/assets/js/demos/tag-demo.js +842 -0
  171. package/dist/collection/assets/js/demos/theme-selector-demo.js +466 -0
  172. package/dist/collection/assets/js/demos/timeline-demo.js +365 -0
  173. package/dist/collection/assets/js/demos/timeline-playground.js +59 -0
  174. package/dist/collection/assets/js/demos/timer-demo.js +313 -0
  175. package/dist/collection/assets/js/demos/toolbar-demo.js +643 -0
  176. package/dist/collection/assets/js/demos/tooltip-demo.js +730 -0
  177. package/dist/collection/assets/js/demos/top-bar-demo.js +417 -0
  178. package/dist/collection/assets/js/demos/transfer-list-demo.js +555 -0
  179. package/dist/collection/assets/js/demos/tree-demo.js +693 -0
  180. package/dist/collection/assets/js/demos/workspace-manager-demo.js +241 -0
  181. package/dist/collection/assets/js/index-boot.js +104 -0
  182. package/dist/collection/assets/js/nav-bar-demo.js +20 -0
  183. package/dist/collection/assets/js/nav-bar-init.js +119 -0
  184. package/dist/collection/assets/js/utils/layout-loader.js +80 -0
  185. package/dist/collection/collection-manifest.json +113 -0
  186. package/dist/collection/components/accordion/accordion.css +2090 -0
  187. package/dist/collection/components/accordion/accordion.js +2955 -0
  188. package/dist/collection/components/accordion/types.js +1 -0
  189. package/dist/collection/components/advanced-data-table/advanced-data-table.css +2606 -0
  190. package/dist/collection/components/advanced-data-table/advanced-data-table.js +5394 -0
  191. package/dist/collection/components/advanced-data-table/types.js +1 -0
  192. package/dist/collection/components/anchor/anchor.css +395 -0
  193. package/dist/collection/components/anchor/anchor.js +1404 -0
  194. package/dist/collection/components/anchor/types.js +1 -0
  195. package/dist/collection/components/animate-on-scroll/animate-on-scroll.css +804 -0
  196. package/dist/collection/components/animate-on-scroll/animate-on-scroll.js +696 -0
  197. package/dist/collection/components/aside-panel/aside-panel.css +472 -0
  198. package/dist/collection/components/aside-panel/aside-panel.js +1697 -0
  199. package/dist/collection/components/avatar/avatar.css +696 -0
  200. package/dist/collection/components/avatar/avatar.js +2007 -0
  201. package/dist/collection/components/avatar/types.js +1 -0
  202. package/dist/collection/components/avatar-group/avatar-group.css +253 -0
  203. package/dist/collection/components/avatar-group/avatar-group.js +405 -0
  204. package/dist/collection/components/avatar-group/types.js +1 -0
  205. package/dist/collection/components/badge/badge.css +580 -0
  206. package/dist/collection/components/badge/badge.js +723 -0
  207. package/dist/collection/components/badge/types.js +1 -0
  208. package/dist/collection/components/breadcrumb/breadcrumb-item.js +231 -0
  209. package/dist/collection/components/breadcrumb/breadcrumb.css +313 -0
  210. package/dist/collection/components/breadcrumb/breadcrumb.js +510 -0
  211. package/dist/collection/components/breadcrumb/types.js +1 -0
  212. package/dist/collection/components/button/button.css +1862 -0
  213. package/dist/collection/components/button/button.js +1380 -0
  214. package/dist/collection/components/button/types.js +1 -0
  215. package/dist/collection/components/button-toggle/button-toggle.css +97 -0
  216. package/dist/collection/components/button-toggle/button-toggle.js +620 -0
  217. package/dist/collection/components/button-toggle-group/button-toggle-group.css +401 -0
  218. package/dist/collection/components/button-toggle-group/button-toggle-group.js +1572 -0
  219. package/dist/collection/components/button-toggle-group/types.js +1 -0
  220. package/dist/collection/components/callout-banner/callout-banner.css +684 -0
  221. package/dist/collection/components/callout-banner/callout-banner.js +1076 -0
  222. package/dist/collection/components/callout-banner/types.js +1 -0
  223. package/dist/collection/components/card/card.css +663 -0
  224. package/dist/collection/components/card/card.js +1697 -0
  225. package/dist/collection/components/card/types.js +1 -0
  226. package/dist/collection/components/carousel/carousel.css +549 -0
  227. package/dist/collection/components/carousel/carousel.js +1512 -0
  228. package/dist/collection/components/carousel/types.js +1 -0
  229. package/dist/collection/components/checkbox/checkbox.css +863 -0
  230. package/dist/collection/components/checkbox/checkbox.js +1201 -0
  231. package/dist/collection/components/checkbox/types.js +1 -0
  232. package/dist/collection/components/checkbox-group/checkbox-group.css +223 -0
  233. package/dist/collection/components/checkbox-group/checkbox-group.js +1001 -0
  234. package/dist/collection/components/checkbox-group/types.js +1 -0
  235. package/dist/collection/components/code-editor/code-editor.css +1081 -0
  236. package/dist/collection/components/code-editor/code-editor.js +1211 -0
  237. package/dist/collection/components/code-editor/types.js +1 -0
  238. package/dist/collection/components/code-preview/types.js +1 -0
  239. package/dist/collection/components/code-preview/ui-code-preview.css +209 -0
  240. package/dist/collection/components/code-preview/ui-code-preview.js +548 -0
  241. package/dist/collection/components/color-controller/color-controller.css +108 -0
  242. package/dist/collection/components/color-controller/color-controller.js +224 -0
  243. package/dist/collection/components/color-picker/color-picker.css +323 -0
  244. package/dist/collection/components/color-picker/color-picker.js +1139 -0
  245. package/dist/collection/components/color-picker/types.js +1 -0
  246. package/dist/collection/components/command-palette/command-palette.css +260 -0
  247. package/dist/collection/components/command-palette/command-palette.js +429 -0
  248. package/dist/collection/components/command-palette/types.js +1 -0
  249. package/dist/collection/components/context-menu/context-menu.css +388 -0
  250. package/dist/collection/components/context-menu/context-menu.js +1412 -0
  251. package/dist/collection/components/context-menu/types.js +1 -0
  252. package/dist/collection/components/dialog-box/dialog-box.css +1261 -0
  253. package/dist/collection/components/dialog-box/dialog-box.js +4314 -0
  254. package/dist/collection/components/dialog-box/dialog-tray.css +268 -0
  255. package/dist/collection/components/dialog-box/types.js +1 -0
  256. package/dist/collection/components/dialog-content/dialog-content.css +83 -0
  257. package/dist/collection/components/dialog-content/dialog-content.js +96 -0
  258. package/dist/collection/components/dialog-footer/dialog-footer.css +89 -0
  259. package/dist/collection/components/dialog-footer/dialog-footer.js +94 -0
  260. package/dist/collection/components/dialog-footer/types.js +1 -0
  261. package/dist/collection/components/dialog-header/dialog-header.css +203 -0
  262. package/dist/collection/components/dialog-header/dialog-header.js +630 -0
  263. package/dist/collection/components/dialog-header/types.js +1 -0
  264. package/dist/collection/components/divider/divider.css +948 -0
  265. package/dist/collection/components/divider/divider.js +1612 -0
  266. package/dist/collection/components/divider/types.js +1 -0
  267. package/dist/collection/components/dock/dock.css +348 -0
  268. package/dist/collection/components/dock/dock.js +464 -0
  269. package/dist/collection/components/dock/types.js +1 -0
  270. package/dist/collection/components/dock-host/index.js +1 -0
  271. package/dist/collection/components/dock-host/types.js +1 -0
  272. package/dist/collection/components/dock-host/ui-dock-host.css +155 -0
  273. package/dist/collection/components/dock-host/ui-dock-host.js +226 -0
  274. package/dist/collection/components/drag-drop/drag-drop.css +103 -0
  275. package/dist/collection/components/drag-drop/drag-drop.js +385 -0
  276. package/dist/collection/components/drag-drop/types.js +1 -0
  277. package/dist/collection/components/dropdown/dropdown.css +1142 -0
  278. package/dist/collection/components/dropdown/dropdown.js +2033 -0
  279. package/dist/collection/components/dropdown/types.js +1 -0
  280. package/dist/collection/components/empty-state/empty-state.css +712 -0
  281. package/dist/collection/components/empty-state/empty-state.js +1256 -0
  282. package/dist/collection/components/empty-state/types.js +1 -0
  283. package/dist/collection/components/fab/fab.css +601 -0
  284. package/dist/collection/components/fab/fab.js +1124 -0
  285. package/dist/collection/components/fab-item/fab-item.css +107 -0
  286. package/dist/collection/components/fab-item/fab-item.js +177 -0
  287. package/dist/collection/components/fab-item/types.js +1 -0
  288. package/dist/collection/components/file-upload/file-upload.css +243 -0
  289. package/dist/collection/components/file-upload/file-upload.js +1022 -0
  290. package/dist/collection/components/file-upload/types.js +1 -0
  291. package/dist/collection/components/horizontal-nav/horizontal-nav.css +394 -0
  292. package/dist/collection/components/horizontal-nav/horizontal-nav.js +375 -0
  293. package/dist/collection/components/icon/icon.css +113 -0
  294. package/dist/collection/components/icon/icon.js +583 -0
  295. package/dist/collection/components/image-button/image-button.css +154 -0
  296. package/dist/collection/components/image-button/image-button.js +310 -0
  297. package/dist/collection/components/image-button/types.js +1 -0
  298. package/dist/collection/components/input/input.css +1544 -0
  299. package/dist/collection/components/input/input.js +3690 -0
  300. package/dist/collection/components/input/types.js +1 -0
  301. package/dist/collection/components/input-pair/input-pair.css +72 -0
  302. package/dist/collection/components/input-pair/input-pair.js +309 -0
  303. package/dist/collection/components/knob/knob.css +162 -0
  304. package/dist/collection/components/knob/knob.js +986 -0
  305. package/dist/collection/components/knob/types.js +1 -0
  306. package/dist/collection/components/layout-manager/layout-manager.css +41 -0
  307. package/dist/collection/components/layout-manager/layout-manager.js +525 -0
  308. package/dist/collection/components/layout-manager/lm-container/lm-container.css +117 -0
  309. package/dist/collection/components/layout-manager/lm-container/lm-container.js +110 -0
  310. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.css +0 -0
  311. package/dist/collection/components/layout-manager/lm-floating-window/lm-floating-window.js +49 -0
  312. package/dist/collection/components/layout-manager/lm-panel/lm-panel.css +97 -0
  313. package/dist/collection/components/layout-manager/lm-panel/lm-panel.js +58 -0
  314. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.css +57 -0
  315. package/dist/collection/components/layout-manager/lm-splitter/lm-splitter.js +120 -0
  316. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.css +149 -0
  317. package/dist/collection/components/layout-manager/lm-tabs/lm-tabs.js +130 -0
  318. package/dist/collection/components/layout-manager/types.js +1 -0
  319. package/dist/collection/components/library/category-section.css +147 -0
  320. package/dist/collection/components/library/category-section.js +139 -0
  321. package/dist/collection/components/library/data.js +74 -0
  322. package/dist/collection/components/library/library-card.css +181 -0
  323. package/dist/collection/components/library/library-card.js +203 -0
  324. package/dist/collection/components/library/library.css +358 -0
  325. package/dist/collection/components/library/library.js +91 -0
  326. package/dist/collection/components/list/list.css +1029 -0
  327. package/dist/collection/components/list/list.js +2167 -0
  328. package/dist/collection/components/list-group/list-group.css +275 -0
  329. package/dist/collection/components/list-group/list-group.js +356 -0
  330. package/dist/collection/components/list-item/list-item.css +1491 -0
  331. package/dist/collection/components/list-item/list-item.js +2184 -0
  332. package/dist/collection/components/masonry/masonry.css +414 -0
  333. package/dist/collection/components/masonry/masonry.js +1104 -0
  334. package/dist/collection/components/masonry/types.js +1 -0
  335. package/dist/collection/components/meter-group/meter-group.css +184 -0
  336. package/dist/collection/components/meter-group/meter-group.js +471 -0
  337. package/dist/collection/components/meter-group/types.js +1 -0
  338. package/dist/collection/components/my-component/my-component.css +27 -0
  339. package/dist/collection/components/my-component/my-component.js +95 -0
  340. package/dist/collection/components/my-step/my-step.css +25 -0
  341. package/dist/collection/components/my-step/my-step.js +237 -0
  342. package/dist/collection/components/nav-bar/nav-bar.css +448 -0
  343. package/dist/collection/components/nav-bar/nav-bar.js +608 -0
  344. package/dist/collection/components/number-input/number-input.css +200 -0
  345. package/dist/collection/components/number-input/number-input.js +695 -0
  346. package/dist/collection/components/otp-input/otp-input.css +243 -0
  347. package/dist/collection/components/otp-input/otp-input.js +761 -0
  348. package/dist/collection/components/otp-input/types.js +1 -0
  349. package/dist/collection/components/pagination/pagination.css +1399 -0
  350. package/dist/collection/components/pagination/pagination.js +2033 -0
  351. package/dist/collection/components/pagination/types.js +1 -0
  352. package/dist/collection/components/panel/panel.css +837 -0
  353. package/dist/collection/components/panel/panel.js +1842 -0
  354. package/dist/collection/components/panel/types.js +1 -0
  355. package/dist/collection/components/pattern-input/pattern-input.css +252 -0
  356. package/dist/collection/components/pattern-input/pattern-input.js +788 -0
  357. package/dist/collection/components/popover/popover.css +399 -0
  358. package/dist/collection/components/popover/popover.js +1449 -0
  359. package/dist/collection/components/popover/types.js +1 -0
  360. package/dist/collection/components/progress/progress.css +588 -0
  361. package/dist/collection/components/progress/progress.js +1414 -0
  362. package/dist/collection/components/progress/types.js +1 -0
  363. package/dist/collection/components/radio/radio.css +773 -0
  364. package/dist/collection/components/radio/radio.js +1059 -0
  365. package/dist/collection/components/radio/types.js +1 -0
  366. package/dist/collection/components/radio-group/radio-group.css +202 -0
  367. package/dist/collection/components/radio-group/radio-group.js +903 -0
  368. package/dist/collection/components/radio-group/types.js +1 -0
  369. package/dist/collection/components/range-slider/range-slider.css +602 -0
  370. package/dist/collection/components/range-slider/range-slider.js +1369 -0
  371. package/dist/collection/components/range-slider/types.js +1 -0
  372. package/dist/collection/components/rating/rating.css +768 -0
  373. package/dist/collection/components/rating/rating.js +1062 -0
  374. package/dist/collection/components/rating/types.js +1 -0
  375. package/dist/collection/components/resizable-panel/resizable-panel.css +247 -0
  376. package/dist/collection/components/resizable-panel/resizable-panel.js +874 -0
  377. package/dist/collection/components/resizable-panel/types.js +1 -0
  378. package/dist/collection/components/scroll-top/scroll-top.css +397 -0
  379. package/dist/collection/components/scroll-top/scroll-top.js +1178 -0
  380. package/dist/collection/components/scroll-top/types.js +1 -0
  381. package/dist/collection/components/skeleton/skeleton-loader.css +429 -0
  382. package/dist/collection/components/skeleton/skeleton-loader.js +1193 -0
  383. package/dist/collection/components/skeleton/types.js +1 -0
  384. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.css +357 -0
  385. package/dist/collection/components/smart-location-dropdown/smart-location-dropdown.js +1190 -0
  386. package/dist/collection/components/smart-location-dropdown/types.js +1 -0
  387. package/dist/collection/components/smart-menu/menu-item.interface.js +1 -0
  388. package/dist/collection/components/smart-menu/smart-menu.css +119 -0
  389. package/dist/collection/components/smart-menu/smart-menu.js +544 -0
  390. package/dist/collection/components/smart-stepper/smart-step.css +213 -0
  391. package/dist/collection/components/smart-stepper/smart-step.js +170 -0
  392. package/dist/collection/components/smart-stepper/smart-stepper.css +146 -0
  393. package/dist/collection/components/smart-stepper/smart-stepper.js +338 -0
  394. package/dist/collection/components/snackbar/snackbar.css +1480 -0
  395. package/dist/collection/components/snackbar/snackbar.js +1759 -0
  396. package/dist/collection/components/snackbar/types.js +1 -0
  397. package/dist/collection/components/speed-dial/speed-dial.css +478 -0
  398. package/dist/collection/components/speed-dial/speed-dial.js +1183 -0
  399. package/dist/collection/components/speed-dial/types.js +1 -0
  400. package/dist/collection/components/speedometer/speedometer.css +95 -0
  401. package/dist/collection/components/speedometer/speedometer.js +868 -0
  402. package/dist/collection/components/speedometer/types.js +1 -0
  403. package/dist/collection/components/splitter/splitter.css +269 -0
  404. package/dist/collection/components/splitter/splitter.js +713 -0
  405. package/dist/collection/components/splitter/types.js +1 -0
  406. package/dist/collection/components/stack/stack.css +269 -0
  407. package/dist/collection/components/stack/stack.js +297 -0
  408. package/dist/collection/components/stack/types.js +1 -0
  409. package/dist/collection/components/step/step.css +77 -0
  410. package/dist/collection/components/step/step.js +214 -0
  411. package/dist/collection/components/step/types.js +1 -0
  412. package/dist/collection/components/stepper/stepper.css +1079 -0
  413. package/dist/collection/components/stepper/stepper.js +1850 -0
  414. package/dist/collection/components/stepper/types.js +1 -0
  415. package/dist/collection/components/switch/switch.css +1099 -0
  416. package/dist/collection/components/switch/switch.js +1578 -0
  417. package/dist/collection/components/tabs/tabs.css +1355 -0
  418. package/dist/collection/components/tabs/tabs.js +1474 -0
  419. package/dist/collection/components/tabs/types.js +1 -0
  420. package/dist/collection/components/tag/tag.css +893 -0
  421. package/dist/collection/components/tag/tag.js +1119 -0
  422. package/dist/collection/components/tag/types.js +1 -0
  423. package/dist/collection/components/tag-group/tag-group.css +144 -0
  424. package/dist/collection/components/tag-group/tag-group.js +887 -0
  425. package/dist/collection/components/tag-group/types.js +1 -0
  426. package/dist/collection/components/timeline/timeline.css +1850 -0
  427. package/dist/collection/components/timeline/timeline.js +889 -0
  428. package/dist/collection/components/timeline/types.js +1 -0
  429. package/dist/collection/components/timeline/ui-timeline.stories.js +19 -0
  430. package/dist/collection/components/timeline-item/timeline-item.css +75 -0
  431. package/dist/collection/components/timeline-item/timeline-item.js +91 -0
  432. package/dist/collection/components/timer/timer.css +367 -0
  433. package/dist/collection/components/timer/timer.js +1292 -0
  434. package/dist/collection/components/timer/types.js +1 -0
  435. package/dist/collection/components/timer/ui-timer.stories.js +19 -0
  436. package/dist/collection/components/toggle-group/toggle-group.css +361 -0
  437. package/dist/collection/components/toggle-group/toggle-group.js +1212 -0
  438. package/dist/collection/components/toggle-group/types.js +1 -0
  439. package/dist/collection/components/toolbar/toolbar-types.js +1 -0
  440. package/dist/collection/components/toolbar/toolbar.css +1186 -0
  441. package/dist/collection/components/toolbar/toolbar.js +1635 -0
  442. package/dist/collection/components/tooltip/tooltip.css +609 -0
  443. package/dist/collection/components/tooltip/tooltip.js +1882 -0
  444. package/dist/collection/components/tooltip/types.js +1 -0
  445. package/dist/collection/components/top-bar/top-bar.css +274 -0
  446. package/dist/collection/components/top-bar/top-bar.js +383 -0
  447. package/dist/collection/components/transfer-list/transfer-list.css +520 -0
  448. package/dist/collection/components/transfer-list/transfer-list.js +1225 -0
  449. package/dist/collection/components/transfer-list/types.js +1 -0
  450. package/dist/collection/components/tree/tree.css +1197 -0
  451. package/dist/collection/components/tree/tree.js +2509 -0
  452. package/dist/collection/components/tree/types.js +1 -0
  453. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.css +830 -0
  454. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-bar.js +1231 -0
  455. package/dist/collection/components/ui-navigation-bar/navigation-bar/navigation-types.js +1 -0
  456. package/dist/collection/components/ui-navigation-bar/navigation-item.css +679 -0
  457. package/dist/collection/components/ui-navigation-bar/navigation-item.js +385 -0
  458. package/dist/collection/components/ui-navigation-bar/navigation-types.js +1 -0
  459. package/dist/collection/components/workspace-manager/types.js +1 -0
  460. package/dist/collection/components/workspace-manager/workspace-manager.css +1094 -0
  461. package/dist/collection/components/workspace-manager/workspace-manager.js +1914 -0
  462. package/dist/collection/components.js +51 -0
  463. package/dist/collection/index.js +108 -0
  464. package/dist/collection/service/drag-manager.js +23 -0
  465. package/dist/collection/service/event-bus.js +19 -0
  466. package/dist/collection/service/serialization.js +8 -0
  467. package/dist/collection/service/state-engine.js +247 -0
  468. package/dist/collection/service/theme-switcher.js +146 -0
  469. package/dist/collection/stories/Button.stories.js +15 -0
  470. package/dist/collection/types/common.js +1 -0
  471. package/dist/collection/types/index.js +4 -0
  472. package/dist/collection/utils/aria-live.js +60 -0
  473. package/dist/collection/utils/component-size.js +25 -0
  474. package/dist/collection/utils/dom.js +260 -0
  475. package/dist/collection/utils/focus-trap.js +135 -0
  476. package/dist/collection/utils/security.js +10 -0
  477. package/dist/collection/utils/test/setup-component-test-env.js +92 -0
  478. package/dist/collection/utils/utils.js +21 -0
  479. package/dist/collection/utils/validation.js +74 -0
  480. package/dist/components/avatar-group.js +1 -0
  481. package/dist/components/avatar.js +1 -0
  482. package/dist/components/badge.js +1 -0
  483. package/dist/components/button-toggle.js +1 -0
  484. package/dist/components/category-section.d.ts +11 -0
  485. package/dist/components/category-section.js +1 -0
  486. package/dist/components/category-section2.js +1 -0
  487. package/dist/components/checkbox.js +1 -0
  488. package/dist/components/context-menu.js +1 -0
  489. package/dist/components/dialog-footer.js +1 -0
  490. package/dist/components/dialog-header.js +1 -0
  491. package/dist/components/dom.js +1 -0
  492. package/dist/components/dropdown.js +1 -0
  493. package/dist/components/event-bus.js +1 -0
  494. package/dist/components/focus-trap.js +1 -0
  495. package/dist/components/icon.js +2 -0
  496. package/dist/components/index.d.ts +35 -0
  497. package/dist/components/index.js +1 -0
  498. package/dist/components/input.js +1 -0
  499. package/dist/components/layout-manager.d.ts +11 -0
  500. package/dist/components/layout-manager.js +1 -0
  501. package/dist/components/library-card.d.ts +11 -0
  502. package/dist/components/library-card.js +1 -0
  503. package/dist/components/library-card2.js +1 -0
  504. package/dist/components/list-group.js +1 -0
  505. package/dist/components/list-item.js +1 -0
  506. package/dist/components/lm-container.d.ts +11 -0
  507. package/dist/components/lm-container.js +1 -0
  508. package/dist/components/lm-container2.js +1 -0
  509. package/dist/components/lm-floating-window.d.ts +11 -0
  510. package/dist/components/lm-floating-window.js +1 -0
  511. package/dist/components/lm-floating-window2.js +1 -0
  512. package/dist/components/lm-panel.d.ts +11 -0
  513. package/dist/components/lm-panel.js +1 -0
  514. package/dist/components/lm-panel2.js +1 -0
  515. package/dist/components/lm-splitter.d.ts +11 -0
  516. package/dist/components/lm-splitter.js +1 -0
  517. package/dist/components/lm-splitter2.js +1 -0
  518. package/dist/components/lm-tabs.d.ts +11 -0
  519. package/dist/components/lm-tabs.js +1 -0
  520. package/dist/components/lm-tabs2.js +1 -0
  521. package/dist/components/my-component.d.ts +11 -0
  522. package/dist/components/my-component.js +1 -0
  523. package/dist/components/my-step.d.ts +11 -0
  524. package/dist/components/my-step.js +1 -0
  525. package/dist/components/nav-bar.d.ts +11 -0
  526. package/dist/components/nav-bar.js +1 -0
  527. package/dist/components/pagination.js +1 -0
  528. package/dist/components/radio.js +1 -0
  529. package/dist/components/range-slider.js +1 -0
  530. package/dist/components/rating.js +1 -0
  531. package/dist/components/resizable-panel.js +1 -0
  532. package/dist/components/skeleton-loader.js +1 -0
  533. package/dist/components/smart-step.d.ts +11 -0
  534. package/dist/components/smart-step.js +1 -0
  535. package/dist/components/stack.js +1 -0
  536. package/dist/components/switch.js +1 -0
  537. package/dist/components/tag-group.js +1 -0
  538. package/dist/components/tag.js +1 -0
  539. package/dist/components/timeline-item.d.ts +11 -0
  540. package/dist/components/timeline-item.js +1 -0
  541. package/dist/components/toggle-group.js +1 -0
  542. package/dist/components/tooltip.js +1 -0
  543. package/dist/components/ui-accordion.d.ts +11 -0
  544. package/dist/components/ui-accordion.js +1 -0
  545. package/dist/components/ui-advanced-data-table.d.ts +11 -0
  546. package/dist/components/ui-advanced-data-table.js +1 -0
  547. package/dist/components/ui-anchor.d.ts +11 -0
  548. package/dist/components/ui-anchor.js +1 -0
  549. package/dist/components/ui-animate-on-scroll.d.ts +11 -0
  550. package/dist/components/ui-animate-on-scroll.js +1 -0
  551. package/dist/components/ui-aside-panel.d.ts +11 -0
  552. package/dist/components/ui-aside-panel.js +1 -0
  553. package/dist/components/ui-avatar-group.d.ts +11 -0
  554. package/dist/components/ui-avatar-group.js +1 -0
  555. package/dist/components/ui-avatar.d.ts +11 -0
  556. package/dist/components/ui-avatar.js +1 -0
  557. package/dist/components/ui-badge.d.ts +11 -0
  558. package/dist/components/ui-badge.js +1 -0
  559. package/dist/components/ui-breadcrumb-item.d.ts +11 -0
  560. package/dist/components/ui-breadcrumb-item.js +1 -0
  561. package/dist/components/ui-breadcrumb.d.ts +11 -0
  562. package/dist/components/ui-breadcrumb.js +1 -0
  563. package/dist/components/ui-button-toggle-group.d.ts +11 -0
  564. package/dist/components/ui-button-toggle-group.js +1 -0
  565. package/dist/components/ui-button-toggle.d.ts +11 -0
  566. package/dist/components/ui-button-toggle.js +1 -0
  567. package/dist/components/ui-button.d.ts +11 -0
  568. package/dist/components/ui-button.js +1 -0
  569. package/dist/components/ui-callout-banner.d.ts +11 -0
  570. package/dist/components/ui-callout-banner.js +1 -0
  571. package/dist/components/ui-card.d.ts +11 -0
  572. package/dist/components/ui-card.js +1 -0
  573. package/dist/components/ui-carousel.d.ts +11 -0
  574. package/dist/components/ui-carousel.js +1 -0
  575. package/dist/components/ui-checkbox-group.d.ts +11 -0
  576. package/dist/components/ui-checkbox-group.js +1 -0
  577. package/dist/components/ui-checkbox.d.ts +11 -0
  578. package/dist/components/ui-checkbox.js +1 -0
  579. package/dist/components/ui-code-editor.d.ts +11 -0
  580. package/dist/components/ui-code-editor.js +1 -0
  581. package/dist/components/ui-code-preview.d.ts +11 -0
  582. package/dist/components/ui-code-preview.js +1 -0
  583. package/dist/components/ui-color-controller.d.ts +11 -0
  584. package/dist/components/ui-color-controller.js +1 -0
  585. package/dist/components/ui-color-picker.d.ts +11 -0
  586. package/dist/components/ui-color-picker.js +1 -0
  587. package/dist/components/ui-command-palette.d.ts +11 -0
  588. package/dist/components/ui-command-palette.js +1 -0
  589. package/dist/components/ui-context-menu.d.ts +11 -0
  590. package/dist/components/ui-context-menu.js +1 -0
  591. package/dist/components/ui-dialog-box.d.ts +11 -0
  592. package/dist/components/ui-dialog-box.js +1 -0
  593. package/dist/components/ui-dialog-content.d.ts +11 -0
  594. package/dist/components/ui-dialog-content.js +1 -0
  595. package/dist/components/ui-dialog-footer.d.ts +11 -0
  596. package/dist/components/ui-dialog-footer.js +1 -0
  597. package/dist/components/ui-dialog-header.d.ts +11 -0
  598. package/dist/components/ui-dialog-header.js +1 -0
  599. package/dist/components/ui-divider.d.ts +11 -0
  600. package/dist/components/ui-divider.js +1 -0
  601. package/dist/components/ui-dock-host.d.ts +11 -0
  602. package/dist/components/ui-dock-host.js +1 -0
  603. package/dist/components/ui-dock.d.ts +11 -0
  604. package/dist/components/ui-dock.js +1 -0
  605. package/dist/components/ui-drag-drop.d.ts +11 -0
  606. package/dist/components/ui-drag-drop.js +1 -0
  607. package/dist/components/ui-dropdown.d.ts +11 -0
  608. package/dist/components/ui-dropdown.js +1 -0
  609. package/dist/components/ui-empty-state.d.ts +11 -0
  610. package/dist/components/ui-empty-state.js +1 -0
  611. package/dist/components/ui-fab-item.d.ts +11 -0
  612. package/dist/components/ui-fab-item.js +1 -0
  613. package/dist/components/ui-fab.d.ts +11 -0
  614. package/dist/components/ui-fab.js +1 -0
  615. package/dist/components/ui-file-upload.d.ts +11 -0
  616. package/dist/components/ui-file-upload.js +1 -0
  617. package/dist/components/ui-horizontal-nav.d.ts +11 -0
  618. package/dist/components/ui-horizontal-nav.js +1 -0
  619. package/dist/components/ui-icon.d.ts +11 -0
  620. package/dist/components/ui-icon.js +1 -0
  621. package/dist/components/ui-image-button.d.ts +11 -0
  622. package/dist/components/ui-image-button.js +1 -0
  623. package/dist/components/ui-input-pair.d.ts +11 -0
  624. package/dist/components/ui-input-pair.js +1 -0
  625. package/dist/components/ui-input.d.ts +11 -0
  626. package/dist/components/ui-input.js +1 -0
  627. package/dist/components/ui-knob.d.ts +11 -0
  628. package/dist/components/ui-knob.js +1 -0
  629. package/dist/components/ui-library.d.ts +11 -0
  630. package/dist/components/ui-library.js +1 -0
  631. package/dist/components/ui-list-group.d.ts +11 -0
  632. package/dist/components/ui-list-group.js +1 -0
  633. package/dist/components/ui-list-item.d.ts +11 -0
  634. package/dist/components/ui-list-item.js +1 -0
  635. package/dist/components/ui-list.d.ts +11 -0
  636. package/dist/components/ui-list.js +1 -0
  637. package/dist/components/ui-masonry.d.ts +11 -0
  638. package/dist/components/ui-masonry.js +1 -0
  639. package/dist/components/ui-meter-group.d.ts +11 -0
  640. package/dist/components/ui-meter-group.js +1 -0
  641. package/dist/components/ui-navigation-bar.d.ts +11 -0
  642. package/dist/components/ui-navigation-bar.js +1 -0
  643. package/dist/components/ui-navigation-item.d.ts +11 -0
  644. package/dist/components/ui-navigation-item.js +1 -0
  645. package/dist/components/ui-number-input.d.ts +11 -0
  646. package/dist/components/ui-number-input.js +1 -0
  647. package/dist/components/ui-otp-input.d.ts +11 -0
  648. package/dist/components/ui-otp-input.js +1 -0
  649. package/dist/components/ui-pagination.d.ts +11 -0
  650. package/dist/components/ui-pagination.js +1 -0
  651. package/dist/components/ui-panel.d.ts +11 -0
  652. package/dist/components/ui-panel.js +1 -0
  653. package/dist/components/ui-pattern-input.d.ts +11 -0
  654. package/dist/components/ui-pattern-input.js +1 -0
  655. package/dist/components/ui-popover.d.ts +11 -0
  656. package/dist/components/ui-popover.js +1 -0
  657. package/dist/components/ui-progress.d.ts +11 -0
  658. package/dist/components/ui-progress.js +1 -0
  659. package/dist/components/ui-radio-group.d.ts +11 -0
  660. package/dist/components/ui-radio-group.js +1 -0
  661. package/dist/components/ui-radio.d.ts +11 -0
  662. package/dist/components/ui-radio.js +1 -0
  663. package/dist/components/ui-range-slider.d.ts +11 -0
  664. package/dist/components/ui-range-slider.js +1 -0
  665. package/dist/components/ui-rating.d.ts +11 -0
  666. package/dist/components/ui-rating.js +1 -0
  667. package/dist/components/ui-resizable-panel.d.ts +11 -0
  668. package/dist/components/ui-resizable-panel.js +1 -0
  669. package/dist/components/ui-scroll-top.d.ts +11 -0
  670. package/dist/components/ui-scroll-top.js +1 -0
  671. package/dist/components/ui-skeleton.d.ts +11 -0
  672. package/dist/components/ui-skeleton.js +1 -0
  673. package/dist/components/ui-smart-context-menu.d.ts +11 -0
  674. package/dist/components/ui-smart-context-menu.js +1 -0
  675. package/dist/components/ui-smart-location-dropdown.d.ts +11 -0
  676. package/dist/components/ui-smart-location-dropdown.js +1 -0
  677. package/dist/components/ui-smart-stepper.d.ts +11 -0
  678. package/dist/components/ui-smart-stepper.js +1 -0
  679. package/dist/components/ui-snackbar.d.ts +11 -0
  680. package/dist/components/ui-snackbar.js +1 -0
  681. package/dist/components/ui-speed-dial.d.ts +11 -0
  682. package/dist/components/ui-speed-dial.js +1 -0
  683. package/dist/components/ui-speedometer.d.ts +11 -0
  684. package/dist/components/ui-speedometer.js +1 -0
  685. package/dist/components/ui-splitter.d.ts +11 -0
  686. package/dist/components/ui-splitter.js +1 -0
  687. package/dist/components/ui-stack.d.ts +11 -0
  688. package/dist/components/ui-stack.js +1 -0
  689. package/dist/components/ui-step.d.ts +11 -0
  690. package/dist/components/ui-step.js +1 -0
  691. package/dist/components/ui-stepper.d.ts +11 -0
  692. package/dist/components/ui-stepper.js +1 -0
  693. package/dist/components/ui-switch.d.ts +11 -0
  694. package/dist/components/ui-switch.js +1 -0
  695. package/dist/components/ui-tabs.d.ts +11 -0
  696. package/dist/components/ui-tabs.js +1 -0
  697. package/dist/components/ui-tag-group.d.ts +11 -0
  698. package/dist/components/ui-tag-group.js +1 -0
  699. package/dist/components/ui-tag.d.ts +11 -0
  700. package/dist/components/ui-tag.js +1 -0
  701. package/dist/components/ui-timeline.d.ts +11 -0
  702. package/dist/components/ui-timeline.js +1 -0
  703. package/dist/components/ui-timer.d.ts +11 -0
  704. package/dist/components/ui-timer.js +1 -0
  705. package/dist/components/ui-toggle-group.d.ts +11 -0
  706. package/dist/components/ui-toggle-group.js +1 -0
  707. package/dist/components/ui-toolbar.d.ts +11 -0
  708. package/dist/components/ui-toolbar.js +1 -0
  709. package/dist/components/ui-tooltip.d.ts +11 -0
  710. package/dist/components/ui-tooltip.js +1 -0
  711. package/dist/components/ui-top-bar.d.ts +11 -0
  712. package/dist/components/ui-top-bar.js +1 -0
  713. package/dist/components/ui-transfer-list.d.ts +11 -0
  714. package/dist/components/ui-transfer-list.js +1 -0
  715. package/dist/components/ui-tree.d.ts +11 -0
  716. package/dist/components/ui-tree.js +1 -0
  717. package/dist/components/ui-workspace-manager.d.ts +11 -0
  718. package/dist/components/ui-workspace-manager.js +1 -0
  719. package/dist/components/utils.js +1 -0
  720. package/dist/esm/category-section.entry.js +28 -0
  721. package/dist/esm/component-size-C7gf39HE.js +27 -0
  722. package/dist/esm/dom-BMFah5q3.js +262 -0
  723. package/dist/esm/event-bus-vwwmWKs9.js +21 -0
  724. package/dist/esm/exploration-project-tailwind.js +20 -0
  725. package/dist/esm/focus-trap-BSQ8klD4.js +137 -0
  726. package/dist/esm/index-DUsoYu9r.js +2264 -0
  727. package/dist/esm/index.js +256 -0
  728. package/dist/esm/layout-manager.entry.js +614 -0
  729. package/dist/esm/library-card.entry.js +61 -0
  730. package/dist/esm/lm-container_2.entry.js +76 -0
  731. package/dist/esm/lm-panel_3.entry.js +104 -0
  732. package/dist/esm/loader.js +10 -0
  733. package/dist/esm/my-component.entry.js +31 -0
  734. package/dist/esm/my-step.entry.js +27 -0
  735. package/dist/esm/nav-bar.entry.js +245 -0
  736. package/dist/esm/security-D2WzX6vR.js +1545 -0
  737. package/dist/esm/smart-step.entry.js +45 -0
  738. package/dist/esm/timeline-item.entry.js +27 -0
  739. package/dist/esm/ui-accordion_10.entry.js +5722 -0
  740. package/dist/esm/ui-advanced-data-table.entry.js +2682 -0
  741. package/dist/esm/ui-anchor.entry.js +556 -0
  742. package/dist/esm/ui-animate-on-scroll.entry.js +283 -0
  743. package/dist/esm/ui-aside-panel.entry.js +636 -0
  744. package/dist/esm/ui-avatar-group_3.entry.js +630 -0
  745. package/dist/esm/ui-breadcrumb-item.entry.js +54 -0
  746. package/dist/esm/ui-breadcrumb.entry.js +199 -0
  747. package/dist/esm/ui-callout-banner.entry.js +289 -0
  748. package/dist/esm/ui-card.entry.js +409 -0
  749. package/dist/esm/ui-carousel.entry.js +545 -0
  750. package/dist/esm/ui-checkbox-group.entry.js +328 -0
  751. package/dist/esm/ui-checkbox.entry.js +258 -0
  752. package/dist/esm/ui-code-editor.entry.js +959 -0
  753. package/dist/esm/ui-code-preview.entry.js +313 -0
  754. package/dist/esm/ui-color-controller.entry.js +148 -0
  755. package/dist/esm/ui-color-picker.entry.js +656 -0
  756. package/dist/esm/ui-command-palette.entry.js +176 -0
  757. package/dist/esm/ui-dialog-box.entry.js +1806 -0
  758. package/dist/esm/ui-dialog-content.entry.js +29 -0
  759. package/dist/esm/ui-dialog-footer_2.entry.js +190 -0
  760. package/dist/esm/ui-divider.entry.js +479 -0
  761. package/dist/esm/ui-dock-host.entry.js +126 -0
  762. package/dist/esm/ui-dock.entry.js +219 -0
  763. package/dist/esm/ui-drag-drop.entry.js +170 -0
  764. package/dist/esm/ui-dropdown_2.entry.js +1549 -0
  765. package/dist/esm/ui-empty-state.entry.js +396 -0
  766. package/dist/esm/ui-fab-item.entry.js +37 -0
  767. package/dist/esm/ui-fab.entry.js +275 -0
  768. package/dist/esm/ui-file-upload.entry.js +416 -0
  769. package/dist/esm/ui-horizontal-nav.entry.js +133 -0
  770. package/dist/esm/ui-image-button.entry.js +65 -0
  771. package/dist/esm/ui-input-pair.entry.js +42 -0
  772. package/dist/esm/ui-knob.entry.js +445 -0
  773. package/dist/esm/ui-library.entry.js +132 -0
  774. package/dist/esm/ui-list-group_2.entry.js +583 -0
  775. package/dist/esm/ui-list.entry.js +730 -0
  776. package/dist/esm/ui-masonry.entry.js +476 -0
  777. package/dist/esm/ui-meter-group.entry.js +171 -0
  778. package/dist/esm/ui-navigation-item.entry.js +102 -0
  779. package/dist/esm/ui-number-input.entry.js +189 -0
  780. package/dist/esm/ui-otp-input.entry.js +244 -0
  781. package/dist/esm/ui-pagination_3.entry.js +1617 -0
  782. package/dist/esm/ui-panel.entry.js +612 -0
  783. package/dist/esm/ui-pattern-input.entry.js +276 -0
  784. package/dist/esm/ui-popover.entry.js +515 -0
  785. package/dist/esm/ui-progress.entry.js +514 -0
  786. package/dist/esm/ui-radio-group.entry.js +203 -0
  787. package/dist/esm/ui-radio.entry.js +204 -0
  788. package/dist/esm/ui-range-slider.entry.js +635 -0
  789. package/dist/esm/ui-resizable-panel.entry.js +482 -0
  790. package/dist/esm/ui-scroll-top.entry.js +457 -0
  791. package/dist/esm/ui-smart-context-menu.entry.js +374 -0
  792. package/dist/esm/ui-smart-location-dropdown.entry.js +563 -0
  793. package/dist/esm/ui-smart-stepper.entry.js +135 -0
  794. package/dist/esm/ui-snackbar.entry.js +861 -0
  795. package/dist/esm/ui-speed-dial.entry.js +518 -0
  796. package/dist/esm/ui-speedometer.entry.js +426 -0
  797. package/dist/esm/ui-splitter.entry.js +280 -0
  798. package/dist/esm/ui-step.entry.js +28 -0
  799. package/dist/esm/ui-stepper.entry.js +638 -0
  800. package/dist/esm/ui-switch.entry.js +403 -0
  801. package/dist/esm/ui-tabs.entry.js +701 -0
  802. package/dist/esm/ui-tag.entry.js +297 -0
  803. package/dist/esm/ui-timeline.entry.js +265 -0
  804. package/dist/esm/ui-timer.entry.js +500 -0
  805. package/dist/esm/ui-toolbar.entry.js +617 -0
  806. package/dist/esm/ui-tooltip.entry.js +695 -0
  807. package/dist/esm/ui-top-bar.entry.js +119 -0
  808. package/dist/esm/ui-transfer-list.entry.js +590 -0
  809. package/dist/esm/ui-tree.entry.js +872 -0
  810. package/dist/esm/ui-workspace-manager.entry.js +1199 -0
  811. package/dist/esm/utils-Ck6jDuhz.js +23 -0
  812. package/dist/exploration-project-tailwind/exploration-project-tailwind.css +1 -0
  813. package/dist/exploration-project-tailwind/exploration-project-tailwind.esm.js +1 -0
  814. package/dist/exploration-project-tailwind/index.esm.js +1 -0
  815. package/dist/exploration-project-tailwind/p-01c7db7a.entry.js +1 -0
  816. package/dist/exploration-project-tailwind/p-049744f9.entry.js +1 -0
  817. package/dist/exploration-project-tailwind/p-06f0c679.entry.js +1 -0
  818. package/dist/exploration-project-tailwind/p-0b004861.entry.js +1 -0
  819. package/dist/exploration-project-tailwind/p-0d31c9e9.entry.js +1 -0
  820. package/dist/exploration-project-tailwind/p-148e81df.entry.js +1 -0
  821. package/dist/exploration-project-tailwind/p-200241f8.entry.js +1 -0
  822. package/dist/exploration-project-tailwind/p-287dbf09.entry.js +1 -0
  823. package/dist/exploration-project-tailwind/p-2d273118.entry.js +1 -0
  824. package/dist/exploration-project-tailwind/p-2f1aebb3.entry.js +1 -0
  825. package/dist/exploration-project-tailwind/p-2f961934.entry.js +1 -0
  826. package/dist/exploration-project-tailwind/p-35296877.entry.js +1 -0
  827. package/dist/exploration-project-tailwind/p-36861546.entry.js +1 -0
  828. package/dist/exploration-project-tailwind/p-3d3d48fd.entry.js +1 -0
  829. package/dist/exploration-project-tailwind/p-41cd6bf0.entry.js +1 -0
  830. package/dist/exploration-project-tailwind/p-45482d86.entry.js +1 -0
  831. package/dist/exploration-project-tailwind/p-46596a28.entry.js +1 -0
  832. package/dist/exploration-project-tailwind/p-46efdea3.entry.js +1 -0
  833. package/dist/exploration-project-tailwind/p-47e2a7ee.entry.js +1 -0
  834. package/dist/exploration-project-tailwind/p-4d73c143.entry.js +1 -0
  835. package/dist/exploration-project-tailwind/p-4de419d5.entry.js +1 -0
  836. package/dist/exploration-project-tailwind/p-4f6bba75.entry.js +1 -0
  837. package/dist/exploration-project-tailwind/p-5508874f.entry.js +1 -0
  838. package/dist/exploration-project-tailwind/p-5ce0dbd8.entry.js +1 -0
  839. package/dist/exploration-project-tailwind/p-5e3e80ae.entry.js +1 -0
  840. package/dist/exploration-project-tailwind/p-61717490.entry.js +1 -0
  841. package/dist/exploration-project-tailwind/p-62352ef2.entry.js +1 -0
  842. package/dist/exploration-project-tailwind/p-64e3a484.entry.js +1 -0
  843. package/dist/exploration-project-tailwind/p-6ab80ead.entry.js +1 -0
  844. package/dist/exploration-project-tailwind/p-6e9694f2.entry.js +1 -0
  845. package/dist/exploration-project-tailwind/p-6fa9dc15.entry.js +1 -0
  846. package/dist/exploration-project-tailwind/p-70d82d79.entry.js +1 -0
  847. package/dist/exploration-project-tailwind/p-717dad1f.entry.js +1 -0
  848. package/dist/exploration-project-tailwind/p-7376ac95.entry.js +1 -0
  849. package/dist/exploration-project-tailwind/p-73d29a4a.entry.js +1 -0
  850. package/dist/exploration-project-tailwind/p-7515b1e3.entry.js +1 -0
  851. package/dist/exploration-project-tailwind/p-77124686.entry.js +1 -0
  852. package/dist/exploration-project-tailwind/p-77a21491.entry.js +1 -0
  853. package/dist/exploration-project-tailwind/p-77cc333a.entry.js +1 -0
  854. package/dist/exploration-project-tailwind/p-7f91d949.entry.js +1 -0
  855. package/dist/exploration-project-tailwind/p-807c6555.entry.js +1 -0
  856. package/dist/exploration-project-tailwind/p-81961fb1.entry.js +1 -0
  857. package/dist/exploration-project-tailwind/p-85bf89fd.entry.js +1 -0
  858. package/dist/exploration-project-tailwind/p-85e36111.entry.js +1 -0
  859. package/dist/exploration-project-tailwind/p-875be805.entry.js +1 -0
  860. package/dist/exploration-project-tailwind/p-898dd0fa.entry.js +1 -0
  861. package/dist/exploration-project-tailwind/p-8d951aef.entry.js +1 -0
  862. package/dist/exploration-project-tailwind/p-9d0c8760.entry.js +1 -0
  863. package/dist/exploration-project-tailwind/p-9fa70359.entry.js +1 -0
  864. package/dist/exploration-project-tailwind/p-9fc06ff0.entry.js +1 -0
  865. package/dist/exploration-project-tailwind/p-BMFah5q3.js +1 -0
  866. package/dist/exploration-project-tailwind/p-BSQ8klD4.js +1 -0
  867. package/dist/exploration-project-tailwind/p-C7gf39HE.js +1 -0
  868. package/dist/exploration-project-tailwind/p-Ck6jDuhz.js +1 -0
  869. package/dist/exploration-project-tailwind/p-D2WzX6vR.js +2 -0
  870. package/dist/exploration-project-tailwind/p-DUsoYu9r.js +2 -0
  871. package/dist/exploration-project-tailwind/p-a1ad32a2.entry.js +1 -0
  872. package/dist/exploration-project-tailwind/p-a3f465d9.entry.js +1 -0
  873. package/dist/exploration-project-tailwind/p-a42fdc33.entry.js +1 -0
  874. package/dist/exploration-project-tailwind/p-a4f52a76.entry.js +1 -0
  875. package/dist/exploration-project-tailwind/p-aa85ff78.entry.js +1 -0
  876. package/dist/exploration-project-tailwind/p-ab752761.entry.js +1 -0
  877. package/dist/exploration-project-tailwind/p-ba21fed3.entry.js +1 -0
  878. package/dist/exploration-project-tailwind/p-c174a372.entry.js +1 -0
  879. package/dist/exploration-project-tailwind/p-c2ca71ac.entry.js +1 -0
  880. package/dist/exploration-project-tailwind/p-c4ba7e52.entry.js +1 -0
  881. package/dist/exploration-project-tailwind/p-c5ddc817.entry.js +1 -0
  882. package/dist/exploration-project-tailwind/p-c69dd43e.entry.js +1 -0
  883. package/dist/exploration-project-tailwind/p-c6fd72e1.entry.js +1 -0
  884. package/dist/exploration-project-tailwind/p-c7e87fbb.entry.js +1 -0
  885. package/dist/exploration-project-tailwind/p-c87aeab6.entry.js +1 -0
  886. package/dist/exploration-project-tailwind/p-c90722ec.entry.js +1 -0
  887. package/dist/exploration-project-tailwind/p-ccb5c737.entry.js +1 -0
  888. package/dist/exploration-project-tailwind/p-ce1222a1.entry.js +1 -0
  889. package/dist/exploration-project-tailwind/p-d16c9635.entry.js +1 -0
  890. package/dist/exploration-project-tailwind/p-d2308a00.entry.js +1 -0
  891. package/dist/exploration-project-tailwind/p-d30e24bd.entry.js +1 -0
  892. package/dist/exploration-project-tailwind/p-d419eaf0.entry.js +1 -0
  893. package/dist/exploration-project-tailwind/p-debede45.entry.js +1 -0
  894. package/dist/exploration-project-tailwind/p-e5322e59.entry.js +1 -0
  895. package/dist/exploration-project-tailwind/p-e8ba0c95.entry.js +1 -0
  896. package/dist/exploration-project-tailwind/p-e90d5307.entry.js +1 -0
  897. package/dist/exploration-project-tailwind/p-ea51c5d8.entry.js +1 -0
  898. package/dist/exploration-project-tailwind/p-ecda1cc3.entry.js +1 -0
  899. package/dist/exploration-project-tailwind/p-f0830120.entry.js +1 -0
  900. package/dist/exploration-project-tailwind/p-f11e5cae.entry.js +1 -0
  901. package/dist/exploration-project-tailwind/p-f5719913.entry.js +1 -0
  902. package/dist/exploration-project-tailwind/p-ffb1754a.entry.js +1 -0
  903. package/dist/exploration-project-tailwind/p-vwwmWKs9.js +1 -0
  904. package/dist/index.cjs.js +1 -0
  905. package/dist/index.js +1 -0
  906. package/dist/types/components/accordion/accordion.d.ts +352 -0
  907. package/dist/types/components/accordion/types.d.ts +69 -0
  908. package/dist/types/components/advanced-data-table/advanced-data-table.d.ts +697 -0
  909. package/dist/types/components/advanced-data-table/types.d.ts +120 -0
  910. package/dist/types/components/anchor/anchor.d.ts +133 -0
  911. package/dist/types/components/anchor/types.d.ts +17 -0
  912. package/dist/types/components/animate-on-scroll/animate-on-scroll.d.ts +101 -0
  913. package/dist/types/components/aside-panel/aside-panel.d.ts +249 -0
  914. package/dist/types/components/avatar/avatar.d.ts +201 -0
  915. package/dist/types/components/avatar/types.d.ts +132 -0
  916. package/dist/types/components/avatar-group/avatar-group.d.ts +52 -0
  917. package/dist/types/components/avatar-group/types.d.ts +31 -0
  918. package/dist/types/components/badge/badge.d.ts +109 -0
  919. package/dist/types/components/badge/types.d.ts +6 -0
  920. package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +36 -0
  921. package/dist/types/components/breadcrumb/breadcrumb.d.ts +73 -0
  922. package/dist/types/components/breadcrumb/types.d.ts +5 -0
  923. package/dist/types/components/button/button.d.ts +133 -0
  924. package/dist/types/components/button/types.d.ts +1 -0
  925. package/dist/types/components/button-toggle/button-toggle.d.ts +64 -0
  926. package/dist/types/components/button-toggle-group/button-toggle-group.d.ts +141 -0
  927. package/dist/types/components/button-toggle-group/types.d.ts +7 -0
  928. package/dist/types/components/callout-banner/callout-banner.d.ts +115 -0
  929. package/dist/types/components/callout-banner/types.d.ts +7 -0
  930. package/dist/types/components/card/card.d.ts +160 -0
  931. package/dist/types/components/card/types.d.ts +13 -0
  932. package/dist/types/components/carousel/carousel.d.ts +150 -0
  933. package/dist/types/components/carousel/types.d.ts +8 -0
  934. package/dist/types/components/checkbox/checkbox.d.ts +92 -0
  935. package/dist/types/components/checkbox/types.d.ts +5 -0
  936. package/dist/types/components/checkbox-group/checkbox-group.d.ts +87 -0
  937. package/dist/types/components/checkbox-group/types.d.ts +8 -0
  938. package/dist/types/components/code-editor/code-editor.d.ts +147 -0
  939. package/dist/types/components/code-editor/types.d.ts +20 -0
  940. package/dist/types/components/code-preview/types.d.ts +5 -0
  941. package/dist/types/components/code-preview/ui-code-preview.d.ts +69 -0
  942. package/dist/types/components/color-controller/color-controller.d.ts +24 -0
  943. package/dist/types/components/color-picker/color-picker.d.ts +116 -0
  944. package/dist/types/components/color-picker/types.d.ts +24 -0
  945. package/dist/types/components/command-palette/command-palette.d.ts +41 -0
  946. package/dist/types/components/command-palette/types.d.ts +7 -0
  947. package/dist/types/components/context-menu/context-menu.d.ts +135 -0
  948. package/dist/types/components/context-menu/types.d.ts +20 -0
  949. package/dist/types/components/dialog-box/dialog-box.d.ts +648 -0
  950. package/dist/types/components/dialog-box/types.d.ts +1 -0
  951. package/dist/types/components/dialog-content/dialog-content.d.ts +9 -0
  952. package/dist/types/components/dialog-footer/dialog-footer.d.ts +9 -0
  953. package/dist/types/components/dialog-footer/types.d.ts +1 -0
  954. package/dist/types/components/dialog-header/dialog-header.d.ts +102 -0
  955. package/dist/types/components/dialog-header/types.d.ts +2 -0
  956. package/dist/types/components/divider/divider.d.ts +245 -0
  957. package/dist/types/components/divider/types.d.ts +14 -0
  958. package/dist/types/components/dock/dock.d.ts +37 -0
  959. package/dist/types/components/dock/types.d.ts +11 -0
  960. package/dist/types/components/dock-host/index.d.ts +1 -0
  961. package/dist/types/components/dock-host/types.d.ts +1 -0
  962. package/dist/types/components/dock-host/ui-dock-host.d.ts +23 -0
  963. package/dist/types/components/drag-drop/drag-drop.d.ts +52 -0
  964. package/dist/types/components/drag-drop/types.d.ts +9 -0
  965. package/dist/types/components/dropdown/dropdown.d.ts +264 -0
  966. package/dist/types/components/dropdown/types.d.ts +19 -0
  967. package/dist/types/components/empty-state/empty-state.d.ts +74 -0
  968. package/dist/types/components/empty-state/types.d.ts +13 -0
  969. package/dist/types/components/fab/fab.d.ts +73 -0
  970. package/dist/types/components/fab-item/fab-item.d.ts +14 -0
  971. package/dist/types/components/fab-item/types.d.ts +3 -0
  972. package/dist/types/components/file-upload/file-upload.d.ts +91 -0
  973. package/dist/types/components/file-upload/types.d.ts +15 -0
  974. package/dist/types/components/horizontal-nav/horizontal-nav.d.ts +68 -0
  975. package/dist/types/components/icon/icon.d.ts +66 -0
  976. package/dist/types/components/image-button/image-button.d.ts +31 -0
  977. package/dist/types/components/image-button/types.d.ts +1 -0
  978. package/dist/types/components/input/input.d.ts +217 -0
  979. package/dist/types/components/input/types.d.ts +6 -0
  980. package/dist/types/components/input-pair/input-pair.d.ts +28 -0
  981. package/dist/types/components/knob/knob.d.ts +147 -0
  982. package/dist/types/components/knob/types.d.ts +4 -0
  983. package/dist/types/components/layout-manager/layout-manager.d.ts +32 -0
  984. package/dist/types/components/layout-manager/lm-container/lm-container.d.ts +7 -0
  985. package/dist/types/components/layout-manager/lm-floating-window/lm-floating-window.d.ts +6 -0
  986. package/dist/types/components/layout-manager/lm-panel/lm-panel.d.ts +7 -0
  987. package/dist/types/components/layout-manager/lm-splitter/lm-splitter.d.ts +12 -0
  988. package/dist/types/components/layout-manager/lm-tabs/lm-tabs.d.ts +12 -0
  989. package/dist/types/components/layout-manager/types.d.ts +1 -0
  990. package/dist/types/components/library/category-section.d.ts +15 -0
  991. package/dist/types/components/library/data.d.ts +11 -0
  992. package/dist/types/components/library/library-card.d.ts +19 -0
  993. package/dist/types/components/library/library.d.ts +9 -0
  994. package/dist/types/components/list/list.d.ts +183 -0
  995. package/dist/types/components/list-group/list-group.d.ts +28 -0
  996. package/dist/types/components/list-item/list-item.d.ts +200 -0
  997. package/dist/types/components/masonry/masonry.d.ts +105 -0
  998. package/dist/types/components/masonry/types.d.ts +5 -0
  999. package/dist/types/components/meter-group/meter-group.d.ts +66 -0
  1000. package/dist/types/components/meter-group/types.d.ts +12 -0
  1001. package/dist/types/components/my-component/my-component.d.ts +16 -0
  1002. package/dist/types/components/my-step/index.d.ts +12 -0
  1003. package/dist/types/components/my-step/my-step.d.ts +13 -0
  1004. package/dist/types/components/nav-bar/nav-bar.d.ts +119 -0
  1005. package/dist/types/components/number-input/number-input.d.ts +72 -0
  1006. package/dist/types/components/otp-input/otp-input.d.ts +64 -0
  1007. package/dist/types/components/otp-input/types.d.ts +3 -0
  1008. package/dist/types/components/pagination/pagination.d.ts +295 -0
  1009. package/dist/types/components/pagination/types.d.ts +1 -0
  1010. package/dist/types/components/panel/panel.d.ts +275 -0
  1011. package/dist/types/components/panel/types.d.ts +7 -0
  1012. package/dist/types/components/pattern-input/pattern-input.d.ts +88 -0
  1013. package/dist/types/components/popover/popover.d.ts +161 -0
  1014. package/dist/types/components/popover/types.d.ts +3 -0
  1015. package/dist/types/components/progress/progress.d.ts +224 -0
  1016. package/dist/types/components/progress/types.d.ts +6 -0
  1017. package/dist/types/components/radio/radio.d.ts +87 -0
  1018. package/dist/types/components/radio/types.d.ts +7 -0
  1019. package/dist/types/components/radio-group/radio-group.d.ts +74 -0
  1020. package/dist/types/components/radio-group/types.d.ts +2 -0
  1021. package/dist/types/components/range-slider/range-slider.d.ts +201 -0
  1022. package/dist/types/components/range-slider/types.d.ts +4 -0
  1023. package/dist/types/components/rating/rating.d.ts +127 -0
  1024. package/dist/types/components/rating/types.d.ts +1 -0
  1025. package/dist/types/components/resizable-panel/resizable-panel.d.ts +59 -0
  1026. package/dist/types/components/resizable-panel/types.d.ts +11 -0
  1027. package/dist/types/components/scroll-top/scroll-top.d.ts +186 -0
  1028. package/dist/types/components/scroll-top/types.d.ts +1 -0
  1029. package/dist/types/components/skeleton/skeleton-loader.d.ts +149 -0
  1030. package/dist/types/components/skeleton/types.d.ts +1 -0
  1031. package/dist/types/components/smart-location-dropdown/smart-location-dropdown.d.ts +119 -0
  1032. package/dist/types/components/smart-location-dropdown/types.d.ts +37 -0
  1033. package/dist/types/components/smart-menu/menu-item.interface.d.ts +10 -0
  1034. package/dist/types/components/smart-menu/smart-menu.d.ts +64 -0
  1035. package/dist/types/components/smart-stepper/smart-step.d.ts +29 -0
  1036. package/dist/types/components/smart-stepper/smart-stepper.d.ts +53 -0
  1037. package/dist/types/components/snackbar/snackbar.d.ts +223 -0
  1038. package/dist/types/components/snackbar/types.d.ts +104 -0
  1039. package/dist/types/components/speed-dial/speed-dial.d.ts +171 -0
  1040. package/dist/types/components/speed-dial/types.d.ts +11 -0
  1041. package/dist/types/components/speedometer/speedometer.d.ts +125 -0
  1042. package/dist/types/components/speedometer/types.d.ts +8 -0
  1043. package/dist/types/components/splitter/splitter.d.ts +63 -0
  1044. package/dist/types/components/splitter/types.d.ts +9 -0
  1045. package/dist/types/components/stack/stack.d.ts +34 -0
  1046. package/dist/types/components/stack/types.d.ts +3 -0
  1047. package/dist/types/components/step/step.d.ts +16 -0
  1048. package/dist/types/components/step/types.d.ts +1 -0
  1049. package/dist/types/components/stepper/stepper.d.ts +218 -0
  1050. package/dist/types/components/stepper/types.d.ts +39 -0
  1051. package/dist/types/components/switch/switch.d.ts +162 -0
  1052. package/dist/types/components/tabs/tabs.d.ts +182 -0
  1053. package/dist/types/components/tabs/types.d.ts +17 -0
  1054. package/dist/types/components/tag/tag.d.ts +172 -0
  1055. package/dist/types/components/tag/types.d.ts +4 -0
  1056. package/dist/types/components/tag-group/tag-group.d.ts +107 -0
  1057. package/dist/types/components/tag-group/types.d.ts +2 -0
  1058. package/dist/types/components/timeline/timeline.d.ts +73 -0
  1059. package/dist/types/components/timeline/types.d.ts +28 -0
  1060. package/dist/types/components/timeline/ui-timeline.stories.d.ts +9 -0
  1061. package/dist/types/components/timeline-item/timeline-item.d.ts +15 -0
  1062. package/dist/types/components/timer/timer.d.ts +123 -0
  1063. package/dist/types/components/timer/types.d.ts +18 -0
  1064. package/dist/types/components/timer/ui-timer.stories.d.ts +9 -0
  1065. package/dist/types/components/toggle-group/toggle-group.d.ts +136 -0
  1066. package/dist/types/components/toggle-group/types.d.ts +5 -0
  1067. package/dist/types/components/toolbar/toolbar-types.d.ts +189 -0
  1068. package/dist/types/components/toolbar/toolbar.d.ts +150 -0
  1069. package/dist/types/components/tooltip/tooltip.d.ts +166 -0
  1070. package/dist/types/components/tooltip/types.d.ts +3 -0
  1071. package/dist/types/components/top-bar/top-bar.d.ts +76 -0
  1072. package/dist/types/components/transfer-list/transfer-list.d.ts +137 -0
  1073. package/dist/types/components/transfer-list/types.d.ts +13 -0
  1074. package/dist/types/components/tree/tree.d.ts +180 -0
  1075. package/dist/types/components/tree/types.d.ts +76 -0
  1076. package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-bar.d.ts +108 -0
  1077. package/dist/types/components/ui-navigation-bar/navigation-bar/navigation-types.d.ts +17 -0
  1078. package/dist/types/components/ui-navigation-bar/navigation-item.d.ts +26 -0
  1079. package/dist/types/components/ui-navigation-bar/navigation-types.d.ts +19 -0
  1080. package/dist/types/components/workspace-manager/types.d.ts +48 -0
  1081. package/dist/types/components/workspace-manager/workspace-manager.d.ts +211 -0
  1082. package/dist/types/components.d.ts +29634 -0
  1083. package/dist/types/index.d.ts +21 -0
  1084. package/dist/types/service/drag-manager.d.ts +8 -0
  1085. package/dist/types/service/event-bus.d.ts +9 -0
  1086. package/dist/types/service/serialization.d.ts +5 -0
  1087. package/dist/types/service/state-engine.d.ts +25 -0
  1088. package/dist/types/service/theme-switcher.d.ts +46 -0
  1089. package/dist/types/stencil-public-runtime.d.ts +1860 -0
  1090. package/dist/types/types/animation.type.d.ts +96 -0
  1091. package/dist/types/types/common.d.ts +52 -0
  1092. package/dist/types/types/common.type.d.ts +608 -0
  1093. package/dist/types/types/index.d.ts +37 -0
  1094. package/dist/types/types/text.type.d.ts +32 -0
  1095. package/dist/types/utils/aria-live.d.ts +20 -0
  1096. package/dist/types/utils/component-size.d.ts +2 -0
  1097. package/dist/types/utils/dom.d.ts +58 -0
  1098. package/dist/types/utils/focus-trap.d.ts +35 -0
  1099. package/dist/types/utils/security.d.ts +5 -0
  1100. package/dist/types/utils/test/setup-component-test-env.d.ts +14 -0
  1101. package/dist/types/utils/utils.d.ts +7 -0
  1102. package/dist/types/utils/validation.d.ts +43 -0
  1103. package/loader/cdn.js +1 -0
  1104. package/loader/index.cjs.js +1 -0
  1105. package/loader/index.d.ts +24 -0
  1106. package/loader/index.es2017.js +1 -0
  1107. package/loader/index.js +2 -0
  1108. package/package.json +77 -0
@@ -0,0 +1,1914 @@
1
+ import { h, Host } from "@stencil/core";
2
+ import { sanitizeHTML } from "../../utils/security";
3
+ import { getTransformedAncestorOffset, calculateUniversalPlacement, correctViewportCoordinates } from "../../utils/dom";
4
+ export class WorkspaceManager {
5
+ el;
6
+ /** Initial regions configuration */
7
+ regions = [];
8
+ handleRegionsChange() {
9
+ this.initRegions();
10
+ this.root = { ...this.root };
11
+ this.layoutVersion++;
12
+ }
13
+ /** Horizontal or vertical split for top-level regions */
14
+ direction = 'horizontal';
15
+ /** Persist sizes between reloads */
16
+ saveState = true;
17
+ /** LocalStorage key when saveState=true */
18
+ stateKey = 'layout-manager-state';
19
+ /** Root container node holding initial regions */
20
+ root;
21
+ panelsById = {};
22
+ popouts = {};
23
+ maximizedPanel;
24
+ preMaximizeState;
25
+ draggingPanel;
26
+ draggingPopout;
27
+ layoutVersion = 0; // Increment to force re-render of resizable panels
28
+ contextMenu;
29
+ tabActionsMenu;
30
+ floatingDropdown;
31
+ openDropdowns = {};
32
+ openActionsMenu = {};
33
+ regionsNeedingScroll = {};
34
+ minimizedRegions = {};
35
+ dragOverTarget;
36
+ floatingDropdownTrigger;
37
+ tabActionsMenuTrigger;
38
+ layoutChange;
39
+ panelAdded;
40
+ panelRemoved;
41
+ panelMoved;
42
+ panelPoppedOut;
43
+ panelDocked;
44
+ panelMaximized;
45
+ panelRestored;
46
+ regionAdded;
47
+ regionRemoved;
48
+ /** Get the current layout state */
49
+ async getLayoutState() {
50
+ return {
51
+ root: this.root,
52
+ panels: this.panelsById,
53
+ };
54
+ }
55
+ /** Clear all regions (reset to empty layout) */
56
+ async clearAllRegions() {
57
+ // Close all panels first (this should clear panelsById)
58
+ await this.closeAllPanels();
59
+ // Force clear all state
60
+ this.panelsById = {};
61
+ this.popouts = {};
62
+ this.maximizedPanel = undefined;
63
+ this.draggingPanel = undefined;
64
+ this.draggingPopout = undefined;
65
+ this.contextMenu = undefined;
66
+ this.tabActionsMenu = undefined;
67
+ this.openDropdowns = {};
68
+ this.openActionsMenu = {};
69
+ // Reset root to have no children
70
+ this.root = {
71
+ id: '__root__',
72
+ title: 'Root',
73
+ direction: this.direction,
74
+ children: [],
75
+ panels: [],
76
+ };
77
+ this.floatingDropdownTrigger = undefined;
78
+ this.tabActionsMenuTrigger = undefined;
79
+ this.emitLayoutChange();
80
+ }
81
+ handleScroll() {
82
+ if (this.floatingDropdown || this.tabActionsMenu) {
83
+ this.recalculateMenuPositions();
84
+ }
85
+ }
86
+ recalculateMenuPositions() {
87
+ requestAnimationFrame(() => {
88
+ if (this.floatingDropdown && this.floatingDropdownTrigger) {
89
+ const placement = calculateUniversalPlacement(this.floatingDropdownTrigger, {
90
+ menuWidth: 200,
91
+ menuHeight: 300,
92
+ gap: 4,
93
+ align: 'end'
94
+ });
95
+ this.floatingDropdown = {
96
+ ...this.floatingDropdown,
97
+ x: placement.left ?? 0,
98
+ y: placement.top ?? 0,
99
+ };
100
+ }
101
+ if (this.tabActionsMenu && this.tabActionsMenuTrigger) {
102
+ const placement = calculateUniversalPlacement(this.tabActionsMenuTrigger, {
103
+ menuWidth: 180,
104
+ menuHeight: 200,
105
+ gap: 4,
106
+ align: 'end'
107
+ });
108
+ this.tabActionsMenu = {
109
+ ...this.tabActionsMenu,
110
+ x: placement.left ?? 0,
111
+ y: placement.top ?? 0,
112
+ };
113
+ }
114
+ });
115
+ }
116
+ componentWillLoad() {
117
+ if (this.saveState) {
118
+ this.loadState();
119
+ }
120
+ if (!this.root || (this.root.children?.length === 0 && this.root.panels?.length === 0)) {
121
+ this.initRegions();
122
+ }
123
+ document.addEventListener('click', this.handleDocumentClick);
124
+ }
125
+ disconnectedCallback() {
126
+ document.removeEventListener('click', this.handleDocumentClick);
127
+ }
128
+ handleDocumentClick = (e) => {
129
+ // Close dropdowns if clicking outside
130
+ const target = e.target;
131
+ if (!target.closest('.lm-panel-dropdown-wrapper')) {
132
+ if (Object.values(this.openDropdowns).some(v => v)) {
133
+ this.openDropdowns = {};
134
+ }
135
+ }
136
+ if (!target.closest('.lm-actions-menu-wrapper')) {
137
+ if (Object.values(this.openActionsMenu).some(v => v)) {
138
+ this.openActionsMenu = {};
139
+ }
140
+ }
141
+ };
142
+ parseRegions() {
143
+ const parsed = typeof this.regions === 'string' ? JSON.parse(this.regions) : this.regions;
144
+ return (parsed || []).map((r) => ({
145
+ id: r.id,
146
+ title: r.title,
147
+ size: r.size ?? 25,
148
+ minSize: r.minSize,
149
+ maxSize: r.maxSize,
150
+ collapsible: r.collapsible ?? false,
151
+ }));
152
+ }
153
+ initRegions() {
154
+ const base = this.parseRegions();
155
+ const total = base.reduce((sum, r) => sum + (r.size || 0), 0) || 100;
156
+ const children = base.map(r => ({
157
+ ...r,
158
+ size: ((r.size || 100 / base.length) / total) * 100,
159
+ panels: [],
160
+ activePanelId: undefined,
161
+ }));
162
+ this.root = {
163
+ id: '__root__',
164
+ title: 'Root',
165
+ size: 100,
166
+ panels: [],
167
+ children,
168
+ direction: this.direction,
169
+ };
170
+ }
171
+ /** Add a panel into a region. If element is provided, it will be moved into the panel content. */
172
+ async addPanel(opts) {
173
+ const id = opts.id || `panel-${Date.now()}-${Math.floor(Math.random() * 1000)}`;
174
+ const region = this.findRegionNode(opts.regionId)?.node;
175
+ if (!region)
176
+ throw new Error(`Region not found: ${opts.regionId}`);
177
+ // For content-only regions, only allow the first panel and ignore all others
178
+ if (region.type === 'content-only') {
179
+ if (region.panels && region.panels.length > 0) {
180
+ return region.panels[0]; // Return the existing panel ID
181
+ }
182
+ }
183
+ const panel = {
184
+ id,
185
+ title: opts.title,
186
+ regionId: region.id,
187
+ closable: opts.closable !== false,
188
+ icon: opts.icon,
189
+ iconLibrary: opts.iconLibrary,
190
+ allowPopout: opts.allowPopout !== false,
191
+ element: opts.element,
192
+ html: opts.html,
193
+ };
194
+ // Force immutable update to trigger re-render
195
+ this.panelsById = { ...this.panelsById, [id]: panel };
196
+ region.panels = [...(region.panels || []), id];
197
+ region.activePanelId = id;
198
+ // Force root update to trigger re-render
199
+ this.root = { ...this.root };
200
+ this.panelAdded.emit(panel);
201
+ this.emitLayoutChange();
202
+ return id;
203
+ }
204
+ /** Remove a panel by id */
205
+ async removePanel(panelId) {
206
+ const panel = this.panelsById[panelId];
207
+ if (!panel)
208
+ return;
209
+ // Prevent removing pinned panels
210
+ if (panel.pinned) {
211
+ return;
212
+ }
213
+ // If this panel is maximized, restore first
214
+ if (this.maximizedPanel === panelId) {
215
+ this.maximizedPanel = undefined;
216
+ this.preMaximizeState = undefined;
217
+ }
218
+ const region = this.findRegionNode(panel.regionId)?.node;
219
+ if (region) {
220
+ region.panels = (region.panels || []).filter(id => id !== panelId);
221
+ if (region.activePanelId === panelId) {
222
+ region.activePanelId = region.panels[(region.panels || []).length - 1] || undefined;
223
+ }
224
+ }
225
+ const { [panelId]: removed, ...rest } = this.panelsById;
226
+ this.panelsById = rest;
227
+ const { [panelId]: removedPop, ...restPop } = this.popouts;
228
+ this.popouts = restPop;
229
+ this.root = { ...this.root };
230
+ this.panelRemoved.emit({ panelId, regionId: region?.id || '' });
231
+ this.emitLayoutChange();
232
+ }
233
+ /** Move a panel to another region */
234
+ async movePanel(panelId, targetRegionId, index) {
235
+ const panel = this.panelsById[panelId];
236
+ if (!panel)
237
+ throw new Error(`Panel not found: ${panelId}`);
238
+ const fromRegion = this.findRegionNode(panel.regionId)?.node;
239
+ const toRegion = this.findRegionNode(targetRegionId)?.node;
240
+ if (!toRegion)
241
+ throw new Error(`Target region not found: ${targetRegionId}`);
242
+ if (fromRegion) {
243
+ fromRegion.panels = (fromRegion.panels || []).filter(id => id !== panelId);
244
+ if (fromRegion.activePanelId === panelId) {
245
+ fromRegion.activePanelId = fromRegion.panels[(fromRegion.panels || []).length - 1] || undefined;
246
+ }
247
+ }
248
+ panel.regionId = toRegion.id;
249
+ const newPanels = [...(toRegion.panels || [])];
250
+ if (index === undefined || index < 0 || index > newPanels.length) {
251
+ newPanels.push(panelId);
252
+ }
253
+ else {
254
+ newPanels.splice(index, 0, panelId);
255
+ }
256
+ toRegion.panels = newPanels;
257
+ toRegion.activePanelId = panelId;
258
+ this.panelsById = { ...this.panelsById };
259
+ this.root = { ...this.root };
260
+ this.panelMoved.emit({ panelId, from: fromRegion?.id || '', to: toRegion.id });
261
+ this.emitLayoutChange();
262
+ }
263
+ /** Popout a panel (make floating). Removes from region but keeps alive in overlay */
264
+ async popoutPanel(panelId, position) {
265
+ const panel = this.panelsById[panelId];
266
+ if (!panel)
267
+ throw new Error(`Panel not found: ${panelId}`);
268
+ const region = this.findRegionNode(panel.regionId)?.node;
269
+ if (region) {
270
+ region.panels = (region.panels || []).filter(id => id !== panelId);
271
+ if (region.activePanelId === panelId) {
272
+ region.activePanelId = region.panels[(region.panels || []).length - 1] || undefined;
273
+ }
274
+ }
275
+ this.popouts = {
276
+ ...this.popouts,
277
+ [panelId]: {
278
+ x: position?.x ?? 100,
279
+ y: position?.y ?? 100,
280
+ width: position?.width ?? 400,
281
+ height: position?.height ?? 300,
282
+ },
283
+ };
284
+ this.root = { ...this.root };
285
+ this.panelPoppedOut.emit({ panelId });
286
+ this.emitLayoutChange();
287
+ }
288
+ /** Dock a popped-out panel back into a region */
289
+ async dockPanel(panelId, regionId, index) {
290
+ if (!this.popouts[panelId])
291
+ return;
292
+ const { [panelId]: removed, ...rest } = this.popouts;
293
+ this.popouts = rest;
294
+ await this.movePanel(panelId, regionId, index);
295
+ this.panelDocked.emit({ panelId, regionId });
296
+ }
297
+ /** Split a leaf region into two child regions */
298
+ async splitRegion(regionId, direction = 'horizontal') {
299
+ const found = this.findRegionNode(regionId);
300
+ if (!found)
301
+ throw new Error(`Region not found: ${regionId}`);
302
+ const { node } = found;
303
+ if (node.children && node.children.length)
304
+ return; // already split
305
+ // Create two child leaf regions and distribute existing panels
306
+ const r1 = { id: `${regionId}-a`, title: node.title, size: 50, panels: [], activePanelId: undefined };
307
+ const r2 = { id: `${regionId}-b`, title: node.title, size: 50, panels: [], activePanelId: undefined };
308
+ // Move current active to first
309
+ if (node.panels?.length) {
310
+ r1.panels = [...node.panels];
311
+ r1.activePanelId = node.activePanelId;
312
+ node.panels = [];
313
+ node.activePanelId = undefined;
314
+ }
315
+ node.children = [r1, r2];
316
+ node.direction = direction;
317
+ this.root = { ...this.root };
318
+ this.emitLayoutChange();
319
+ }
320
+ /** Maximize a panel to fill the entire layout */
321
+ async maximizePanel(panelId) {
322
+ if (!this.panelsById[panelId])
323
+ throw new Error(`Panel not found: ${panelId}`);
324
+ // Store current layout state before maximizing
325
+ this.preMaximizeState = {
326
+ root: JSON.parse(JSON.stringify(this.root)),
327
+ panelsById: JSON.parse(JSON.stringify(this.panelsById)),
328
+ };
329
+ this.maximizedPanel = panelId;
330
+ this.panelMaximized.emit({ panelId });
331
+ }
332
+ /** Restore a maximized panel to normal layout */
333
+ async restorePanel() {
334
+ if (!this.maximizedPanel)
335
+ return;
336
+ const panelId = this.maximizedPanel;
337
+ // Restore the pre-maximize state if available
338
+ if (this.preMaximizeState) {
339
+ // Validate that the state is still valid
340
+ if (this.preMaximizeState.root && this.preMaximizeState.panelsById) {
341
+ this.root = this.preMaximizeState.root;
342
+ this.panelsById = this.preMaximizeState.panelsById;
343
+ // Force a complete re-render by creating new object references
344
+ this.root = { ...this.root };
345
+ this.panelsById = { ...this.panelsById };
346
+ // Increment version to force resizable panels to re-initialize
347
+ this.layoutVersion++;
348
+ }
349
+ this.preMaximizeState = undefined;
350
+ }
351
+ this.maximizedPanel = undefined;
352
+ this.panelRestored.emit({ panelId });
353
+ // Emit layout change to notify consumers
354
+ this.emitLayoutChange();
355
+ }
356
+ /** Close all panels in a specific region */
357
+ async closeAllPanels(regionId) {
358
+ if (regionId) {
359
+ const found = this.findRegionNode(regionId);
360
+ if (!found || !found.node.panels)
361
+ return;
362
+ const panelIds = [...found.node.panels];
363
+ for (const id of panelIds) {
364
+ await this.removePanel(id);
365
+ }
366
+ }
367
+ else {
368
+ // Close all panels in all regions
369
+ const panelIds = Object.keys(this.panelsById);
370
+ for (const id of panelIds) {
371
+ await this.removePanel(id);
372
+ }
373
+ }
374
+ }
375
+ /** Merge a split region back to a single leaf (left child remains) */
376
+ async mergeRegion(regionId) {
377
+ const found = this.findRegionNode(regionId);
378
+ if (!found)
379
+ return;
380
+ const { node } = found;
381
+ if (!node.children || !node.children.length)
382
+ return;
383
+ const left = node.children[0];
384
+ // Adopt left child's panel state
385
+ node.panels = [...(left.panels || [])];
386
+ node.activePanelId = left.activePanelId;
387
+ node.children = undefined;
388
+ node.direction = undefined;
389
+ this.root = { ...this.root };
390
+ this.emitLayoutChange();
391
+ }
392
+ /** Create a new region */
393
+ async createRegion(config) {
394
+ // Prevent duplicates anywhere in the tree
395
+ if (this.findRegionNode(config.id))
396
+ return;
397
+ const children = this.root.children || [];
398
+ const total = children.reduce((s, r) => s + (r.size || 0), 0) || 100;
399
+ const newSize = config.size ?? 100 / (children.length + 1);
400
+ const normalizedNewSize = (newSize / (total + newSize)) * 100;
401
+ // Reduce existing regions proportionally
402
+ const adjusted = children.map(r => ({
403
+ ...r,
404
+ size: (r.size || 0) * (total / (total + newSize)),
405
+ }));
406
+ this.root.children = [
407
+ ...adjusted,
408
+ {
409
+ id: config.id,
410
+ title: config.title,
411
+ size: normalizedNewSize,
412
+ minSize: config.minSize,
413
+ maxSize: config.maxSize,
414
+ collapsible: config.collapsible ?? false,
415
+ panels: [],
416
+ activePanelId: undefined,
417
+ },
418
+ ];
419
+ this.emitLayoutChange();
420
+ }
421
+ /** Add a new region to the root layout */
422
+ async addRegion(opts) {
423
+ if (!this.root || !this.root.children) {
424
+ // Initialize root if not yet ready
425
+ this.root = { id: '__root__', title: 'Root', direction: this.direction, children: [], panels: [] };
426
+ }
427
+ const regionId = opts.id || `region-${Date.now()}`;
428
+ const title = opts.title || `Region ${this.root.children.length + 1}`;
429
+ const position = opts.position || 'end';
430
+ const type = opts.type || 'default';
431
+ // Check if region ID already exists
432
+ if (this.findRegionNode(regionId)) {
433
+ throw new Error(`Region with id '${regionId}' already exists`);
434
+ }
435
+ // Create new region
436
+ const newRegion = {
437
+ id: regionId,
438
+ title: title,
439
+ size: opts.size || 100 / (this.root.children.length + 1),
440
+ panels: [],
441
+ activePanelId: undefined,
442
+ type: type,
443
+ };
444
+ // Add to children
445
+ if (position === 'start') {
446
+ this.root.children = [newRegion, ...this.root.children];
447
+ }
448
+ else {
449
+ this.root.children = [...this.root.children, newRegion];
450
+ }
451
+ // Normalize sizes to ensure they sum to 100% (unless skipNormalization is true)
452
+ if (!opts.skipNormalization) {
453
+ const total = this.root.children.reduce((sum, r) => sum + (r.size || 0), 0);
454
+ this.root.children = this.root.children.map(r => ({
455
+ ...r,
456
+ size: ((r.size || 0) / total) * 100,
457
+ }));
458
+ }
459
+ this.root = { ...this.root };
460
+ this.emitLayoutChange();
461
+ this.regionAdded.emit({ regionId, title });
462
+ return regionId;
463
+ }
464
+ /** Normalize region sizes to sum to 100% */
465
+ async normalizeRegionSizes() {
466
+ if (!this.root || !this.root.children)
467
+ return;
468
+ const total = this.root.children.reduce((sum, r) => sum + (r.size || 0), 0);
469
+ if (total === 0)
470
+ return;
471
+ this.root.children = this.root.children.map(r => ({
472
+ ...r,
473
+ size: ((r.size || 0) / total) * 100,
474
+ }));
475
+ this.root = { ...this.root };
476
+ this.emitLayoutChange();
477
+ }
478
+ /** Remove a region (panels will be moved to the nearest region) */
479
+ async removeRegion(regionId) {
480
+ const found = this.findRegionNode(regionId);
481
+ if (!found)
482
+ return;
483
+ const { parent } = found;
484
+ if (!parent || !parent.children)
485
+ return; // do not remove root
486
+ const idx = parent.children.findIndex(c => c.id === regionId);
487
+ const removed = parent.children[idx];
488
+ const target = parent.children[idx - 1] || parent.children[idx + 1];
489
+ parent.children = parent.children.filter(c => c.id !== regionId);
490
+ if (target && removed && removed.panels?.length) {
491
+ target.panels = [...(target.panels || []), ...removed.panels];
492
+ target.activePanelId = target.activePanelId || removed.activePanelId || (target.panels || [])[(target.panels || []).length - 1];
493
+ }
494
+ // Rebalance sizes
495
+ const remaining = parent.children;
496
+ const total = remaining.reduce((s, r) => s + (r.size || 0), 0) || 100;
497
+ parent.children = remaining.map(r => ({ ...r, size: ((r.size || 0) / total) * 100 }));
498
+ this.root = { ...this.root };
499
+ this.emitLayoutChange();
500
+ this.regionRemoved.emit({ regionId });
501
+ }
502
+ onPanelPopout(ev) {
503
+ this.popoutPanel(ev.detail.panelId);
504
+ }
505
+ onPanelSelect(ev) {
506
+ const region = this.findRegionNode(ev.detail.regionId)?.node;
507
+ if (region) {
508
+ region.activePanelId = ev.detail.panelId;
509
+ this.root = { ...this.root };
510
+ this.emitLayoutChange();
511
+ }
512
+ }
513
+ emitLayoutChange() {
514
+ // Emit a flattened list of leaf regions for consumers
515
+ const regions = [];
516
+ const walk = (n) => {
517
+ if (n.children && n.children.length)
518
+ n.children.forEach(walk);
519
+ else
520
+ regions.push(n);
521
+ };
522
+ walk(this.root);
523
+ this.layoutChange.emit({ regions });
524
+ if (this.saveState) {
525
+ this.saveStateToStorage();
526
+ }
527
+ }
528
+ saveStateToStorage() {
529
+ try {
530
+ const panelsById = Object.fromEntries(Object.entries(this.panelsById).map(([id, panel]) => {
531
+ const { element, ...serializablePanel } = panel;
532
+ return [id, serializablePanel];
533
+ }));
534
+ const state = {
535
+ root: this.root,
536
+ panelsById,
537
+ minimizedRegions: this.minimizedRegions
538
+ };
539
+ localStorage.setItem(this.stateKey, JSON.stringify(state));
540
+ }
541
+ catch (e) {
542
+ console.error('[WorkspaceManager] Failed to save state', e);
543
+ }
544
+ }
545
+ loadState() {
546
+ try {
547
+ const saved = localStorage.getItem(this.stateKey);
548
+ if (saved) {
549
+ const state = JSON.parse(saved);
550
+ this.root = state.root;
551
+ this.panelsById = state.panelsById;
552
+ this.minimizedRegions = state.minimizedRegions || {};
553
+ }
554
+ }
555
+ catch (e) {
556
+ console.error('[WorkspaceManager] Failed to load state', e);
557
+ }
558
+ }
559
+ findRegionNode(id) {
560
+ let res;
561
+ const dfs = (n, parent) => {
562
+ if (n.id === id) {
563
+ res = { node: n, parent };
564
+ return;
565
+ }
566
+ if (n.children)
567
+ n.children.forEach(child => dfs(child, n));
568
+ };
569
+ dfs(this.root);
570
+ return res;
571
+ }
572
+ scrollTabs(regionId, direction) {
573
+ const tabsEl = document.querySelector(`[data-region-id="${regionId}"] .lm-tabs`);
574
+ if (!tabsEl)
575
+ return;
576
+ const scrollAmount = 200;
577
+ tabsEl.scrollBy({ left: direction === 'left' ? -scrollAmount : scrollAmount, behavior: 'smooth' });
578
+ }
579
+ togglePanelDropdown(regionId, event) {
580
+ event?.stopPropagation();
581
+ const isOpen = !this.openDropdowns[regionId];
582
+ this.openDropdowns = { ...this.openDropdowns, [regionId]: isOpen };
583
+ if (isOpen && event) {
584
+ this.floatingDropdownTrigger = event.currentTarget;
585
+ const placement = calculateUniversalPlacement(this.floatingDropdownTrigger, {
586
+ menuWidth: 200,
587
+ menuHeight: 300,
588
+ gap: 4,
589
+ align: 'end'
590
+ });
591
+ this.floatingDropdown = {
592
+ x: placement.left ?? 0,
593
+ y: placement.top ?? 0,
594
+ regionId,
595
+ type: 'panel',
596
+ };
597
+ }
598
+ else {
599
+ this.floatingDropdown = undefined;
600
+ this.floatingDropdownTrigger = undefined;
601
+ }
602
+ }
603
+ selectPanelFromDropdown(regionId, panelId) {
604
+ this.selectPanel(regionId, panelId);
605
+ this.openDropdowns = { ...this.openDropdowns, [regionId]: false };
606
+ this.floatingDropdown = undefined;
607
+ }
608
+ toggleActionsMenu(regionId, event) {
609
+ event?.stopPropagation();
610
+ const isOpen = !this.openActionsMenu[regionId];
611
+ this.openActionsMenu = { ...this.openActionsMenu, [regionId]: isOpen };
612
+ if (isOpen && event) {
613
+ this.floatingDropdownTrigger = event.currentTarget;
614
+ const placement = calculateUniversalPlacement(this.floatingDropdownTrigger, {
615
+ menuWidth: 200,
616
+ menuHeight: 300,
617
+ gap: 4,
618
+ align: 'end'
619
+ });
620
+ this.floatingDropdown = {
621
+ x: placement.left ?? 0,
622
+ y: placement.top ?? 0,
623
+ regionId,
624
+ type: 'actions',
625
+ };
626
+ }
627
+ else {
628
+ this.floatingDropdown = undefined;
629
+ this.floatingDropdownTrigger = undefined;
630
+ }
631
+ }
632
+ minimizeRegion(regionId) {
633
+ // Don't allow minimize while a panel is maximized
634
+ if (this.maximizedPanel) {
635
+ return;
636
+ }
637
+ const found = this.findRegionNode(regionId);
638
+ if (!found) {
639
+ return;
640
+ }
641
+ const region = found.node;
642
+ const parent = found.parent;
643
+ // Don't allow minimizing a region that contains the maximized panel
644
+ if (this.maximizedPanel) {
645
+ const panel = this.panelsById[this.maximizedPanel];
646
+ if (panel && panel.regionId === regionId) {
647
+ return;
648
+ }
649
+ }
650
+ // Get first panel's icon if available for the nav icon
651
+ const firstPanel = region.panels?.[0] ? this.panelsById[region.panels[0]] : null;
652
+ const icon = firstPanel?.icon || 'fas fa-window-minimize';
653
+ // Find region's index in parent and determine side
654
+ let index = -1;
655
+ let parentId;
656
+ let side = 'left';
657
+ if (parent && parent.children) {
658
+ index = parent.children.findIndex(c => c.id === regionId);
659
+ parentId = parent.id;
660
+ // Determine side based on position - first half is left, second half is right
661
+ const midPoint = Math.floor(parent.children.length / 2);
662
+ side = index < midPoint ? 'left' : 'right';
663
+ // Remove region from parent's children
664
+ const remaining = parent.children.filter(c => c.id !== regionId);
665
+ // Redistribute space to remaining siblings proportionally
666
+ if (remaining.length > 0) {
667
+ const currentTotal = remaining.reduce((sum, r) => sum + (r.size || 0), 0);
668
+ // Normalize all remaining regions to total 100%
669
+ if (currentTotal > 0) {
670
+ remaining.forEach(r => {
671
+ r.size = ((r.size || 0) / currentTotal) * 100;
672
+ });
673
+ }
674
+ else {
675
+ // If no sizes set, distribute equally
676
+ const equalSize = 100 / remaining.length;
677
+ remaining.forEach(r => {
678
+ r.size = equalSize;
679
+ });
680
+ }
681
+ }
682
+ parent.children = remaining;
683
+ }
684
+ else if (this.root.id === regionId) {
685
+ // Cannot minimize root region
686
+ return;
687
+ }
688
+ // Store minimized region info with full state
689
+ this.minimizedRegions = {
690
+ ...this.minimizedRegions,
691
+ [regionId]: {
692
+ title: region.title || regionId,
693
+ icon,
694
+ iconLibrary: firstPanel?.iconLibrary,
695
+ region: { ...region },
696
+ parentId,
697
+ index,
698
+ side,
699
+ },
700
+ };
701
+ // Increment version to force resizable panels to re-initialize with new sizes
702
+ this.layoutVersion++;
703
+ this.root = { ...this.root };
704
+ this.emitLayoutChange();
705
+ }
706
+ restoreRegion(regionId) {
707
+ const minimized = this.minimizedRegions[regionId];
708
+ if (!minimized) {
709
+ return;
710
+ }
711
+ const { region, parentId, index } = minimized;
712
+ // Find parent and restore region
713
+ if (parentId) {
714
+ const parentFound = this.findRegionNode(parentId);
715
+ if (parentFound && parentFound.node && parentFound.node.children) {
716
+ const parent = parentFound.node;
717
+ // Create a fresh copy of the region to avoid reference issues
718
+ const restoredRegion = JSON.parse(JSON.stringify(region));
719
+ // Insert region back at original position
720
+ const newChildren = [...(parent.children ?? [])];
721
+ newChildren.splice(index, 0, restoredRegion);
722
+ // Recalculate sizes
723
+ const totalSize = newChildren.reduce((sum, r) => sum + (r.size || 0), 0);
724
+ if (totalSize > 0) {
725
+ newChildren.forEach(r => {
726
+ r.size = ((r.size || 0) / totalSize) * 100;
727
+ });
728
+ }
729
+ parent.children = newChildren;
730
+ // Increment version to force resizable panels to re-initialize with correct sizes
731
+ this.layoutVersion++;
732
+ }
733
+ }
734
+ // Remove from minimized regions
735
+ const { [regionId]: removed, ...rest } = this.minimizedRegions;
736
+ this.minimizedRegions = rest;
737
+ this.root = { ...this.root };
738
+ this.emitLayoutChange();
739
+ }
740
+ closeAllAndRemoveRegion(regionId) {
741
+ const region = this.findRegionNode(regionId)?.node;
742
+ if (!region)
743
+ return;
744
+ // Close all panels in this region
745
+ const panelIds = [...region.panels];
746
+ panelIds.forEach(panelId => {
747
+ this.removePanel(panelId);
748
+ });
749
+ // Remove the region
750
+ this.removeRegion(regionId);
751
+ }
752
+ renderTabs(region) {
753
+ const panels = region.panels.map(id => this.panelsById[id]).filter(Boolean);
754
+ //const isDropdownOpen = this.openDropdowns[region.id];
755
+ const pinnedPanels = panels.filter(p => p.pinned);
756
+ const unpinnedPanels = panels.filter(p => !p.pinned);
757
+ const hasPinnedAndUnpinned = pinnedPanels.length > 0 && unpinnedPanels.length > 0;
758
+ const showScrollButtons = this.regionsNeedingScroll[region.id] || false;
759
+ return (h("div", { class: "lm-tabs-container", "data-region-id": region.id }, showScrollButtons && (h("ui-button", { variant: "ghost", size: "sm", icon: "chevron-left", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Scroll left", onClick: () => this.scrollTabs(region.id, 'left') })), h("div", { class: "lm-tabs", onDragOver: e => {
760
+ e.preventDefault();
761
+ this.handleDragOver(e, region.id);
762
+ }, onDragLeave: () => this.dragOverTarget = undefined, onDrop: e => this.handleTabDrop(e, region) }, panels.map((p, index) => {
763
+ const isPinned = p.pinned;
764
+ const isFirstUnpinned = !isPinned && index > 0 && panels[index - 1]?.pinned;
765
+ return (h("div", { key: p.id }, isFirstUnpinned && hasPinnedAndUnpinned && h("div", { class: "lm-tab-separator", title: "Pinned / Unpinned divider" }), h("div", { class: { 'lm-tab': true, 'active': region.activePanelId === p.id, 'pinned': !!isPinned }, draggable: true, onDragStart: e => this.handleTabDragStart(e, p, region), onContextMenu: e => this.openContextMenu(e, region.id, p.id), onClick: () => this.selectPanel(region.id, p.id) }, p.icon && h("ui-icon", { name: p.icon, library: p.iconLibrary || 'lucide' }), h("span", { class: "lm-tab-title" }, p.title), isPinned && (h("ui-icon", { name: "thumbtack", library: "fontawesome", class: "lm-tab-btn", title: "Unpin", onClick: (e) => {
766
+ e.stopPropagation();
767
+ this.togglePin(p.id);
768
+ } })), p.dirty && h("span", { class: "lm-dot", title: "Unsaved changes" }), h("ui-button", { variant: "ghost", size: "sm", icon: "ellipsis-v", iconLibrary: "fontawesome", ariaLabel: "More actions", onClick: (e) => {
769
+ e.stopPropagation();
770
+ const isOpen = !this.openDropdowns[`tab-${p.id}`];
771
+ this.openDropdowns = { ...this.openDropdowns, [`tab-${p.id}`]: isOpen };
772
+ if (isOpen) {
773
+ this.tabActionsMenuTrigger = e.currentTarget;
774
+ const rect = this.tabActionsMenuTrigger.getBoundingClientRect();
775
+ const offset = getTransformedAncestorOffset(this.el);
776
+ this.tabActionsMenu = {
777
+ x: rect.right - offset.x,
778
+ y: rect.bottom - offset.y + 4,
779
+ panelId: p.id,
780
+ };
781
+ }
782
+ else {
783
+ this.tabActionsMenu = undefined;
784
+ this.tabActionsMenuTrigger = undefined;
785
+ }
786
+ } }), p.closable && !isPinned && (h("ui-button", { variant: "ghost", size: "sm", icon: "times", iconLibrary: "fontawesome", ariaLabel: "Close", onClick: (e) => {
787
+ e.stopPropagation();
788
+ this.removePanel(p.id);
789
+ } })))));
790
+ })), showScrollButtons && (h("ui-button", { variant: "ghost", size: "sm", icon: "chevron-right", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Scroll right", onClick: () => this.scrollTabs(region.id, 'right') }))));
791
+ }
792
+ handleTabDragStart(ev, panel, region) {
793
+ this.draggingPanel = { panelId: panel.id, fromRegionId: region.id };
794
+ ev.dataTransfer?.setData('text/plain', panel.id);
795
+ ev.dataTransfer?.setDragImage(ev.target, 0, 0);
796
+ }
797
+ handleTabDrop(ev, targetRegion) {
798
+ ev.preventDefault();
799
+ const panelId = ev.dataTransfer?.getData('text/plain') || this.draggingPanel?.panelId;
800
+ if (!panelId)
801
+ return;
802
+ // If dropping on a specific tab, insert before its index
803
+ let insertIndex = undefined;
804
+ const targetEl = ev.target;
805
+ const tabEl = targetEl.closest('.lm-tab');
806
+ if (tabEl) {
807
+ const tabs = Array.from(tabEl.parentElement.querySelectorAll('.lm-tab'));
808
+ insertIndex = tabs.indexOf(tabEl);
809
+ }
810
+ this.movePanel(panelId, targetRegion.id, insertIndex);
811
+ this.draggingPanel = undefined;
812
+ }
813
+ selectPanel(regionId, panelId) {
814
+ const region = this.findRegionNode(regionId)?.node;
815
+ if (region) {
816
+ region.activePanelId = panelId;
817
+ this.root = { ...this.root };
818
+ this.emitLayoutChange();
819
+ }
820
+ }
821
+ switchToPanel(regionId, panelId) {
822
+ const region = this.findRegionNode(regionId)?.node;
823
+ if (region && region.panels.includes(panelId)) {
824
+ region.activePanelId = panelId;
825
+ this.root = { ...this.root };
826
+ }
827
+ }
828
+ renderNavigationRegion(region) {
829
+ const panels = region.panels.map(id => this.panelsById[id]).filter(Boolean);
830
+ return (h("div", { class: "lm-region lm-region-navigation", "data-region-id": region.id }, h("div", { class: "lm-region-header" }, h("div", { class: "lm-navigation-header" }, h("span", { class: "lm-navigation-title" }, region.title || 'Navigation')), h("ui-button", { variant: "ghost", size: "sm", icon: "times-circle", iconLibrary: "fontawesome", ariaLabel: "Close all panels and remove region", onClick: () => this.closeAllAndRemoveRegion(region.id) })), h("div", { class: "lm-navigation-content" }, panels.map(panel => (h("div", { class: "lm-navigation-section", "data-panel-id": panel.id }, h("div", { class: {
831
+ 'lm-navigation-section-header': true,
832
+ 'active': region.activePanelId === panel.id,
833
+ }, onClick: () => this.switchToPanel(region.id, panel.id) }, panel.icon && h("ui-icon", { name: panel.icon, library: panel.iconLibrary || 'default' }), h("span", { class: "lm-navigation-section-title" }, panel.title), h("ui-button", { variant: "ghost", size: "sm", class: "lm-navigation-section-close", icon: "times", iconLibrary: "fontawesome", ariaLabel: "Close panel", onClick: (e) => {
834
+ e.stopPropagation();
835
+ this.removePanel(panel.id);
836
+ } })), region.activePanelId === panel.id && h("div", { class: "lm-navigation-section-content", ref: host => this.attachContent(host, panel) })))), panels.length === 0 && h("div", { class: "lm-empty" }, "No panels open"))));
837
+ }
838
+ renderHeaderOnlyRegion(region) {
839
+ const active = region.activePanelId ? this.panelsById[region.activePanelId] : undefined;
840
+ return (h("div", { class: "lm-region lm-region-header-only", "data-region-id": region.id }, h("div", { class: "lm-region-header" }, h("div", { class: "lm-header-only-title" }, active?.icon && h("ui-icon", { name: active.icon, library: active.iconLibrary || 'default' }), h("span", null, active?.title || region.title || 'Content')), h("div", { class: "lm-header-only-actions" }, h("div", { class: "lm-panel-dropdown-wrapper" }, h("ui-button", { variant: "ghost", size: "sm", icon: "list", iconLibrary: "fontawesome", ariaLabel: "Show all panels", onClick: (e) => this.togglePanelDropdown(region.id, e) })), active && (h("ui-button", { variant: "ghost", size: "sm", icon: "expand", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Maximize", onClick: () => this.maximizePanel(active.id) })), active && (h("ui-button", { variant: "ghost", size: "sm", icon: "external-link-alt", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Pop out", onClick: () => this.popoutPanel(active.id) })), h("ui-button", { variant: "ghost", size: "sm", icon: "times-circle", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Close all panels and remove region", onClick: () => this.closeAllAndRemoveRegion(region.id) }))), h("div", { class: "lm-region-content" }, active && h("div", { class: "lm-panel-host", "data-panel-id": active.id, ref: host => this.attachContent(host, active) }), !active && h("div", { class: "lm-empty" }, "No content available"))));
841
+ }
842
+ renderLeafRegion(region) {
843
+ const active = region.activePanelId ? this.panelsById[region.activePanelId] : undefined;
844
+ const regionType = region.type || 'default';
845
+ const showHeader = regionType !== 'no-header' && regionType !== 'content-only';
846
+ const showTabs = regionType !== 'title-only' && regionType !== 'no-header' && regionType !== 'content-only' && regionType !== 'navigation' && regionType !== 'header-only';
847
+ const showActions = regionType === 'default';
848
+ const showScrollButtons = this.regionsNeedingScroll[region.id] || false;
849
+ // For content-only type, render pure content with no UI chrome
850
+ if (regionType === 'content-only') {
851
+ return (h("div", { class: "lm-region lm-region-content-only", "data-region-id": region.id }, active && h("div", { class: "lm-panel-host", "data-panel-id": active.id, ref: host => this.attachContent(host, active) })));
852
+ }
853
+ // For navigation type, render all panels stacked vertically
854
+ if (regionType === 'navigation') {
855
+ return this.renderNavigationRegion(region);
856
+ }
857
+ // For header-only type, render header with buttons and content below
858
+ if (regionType === 'header-only') {
859
+ return this.renderHeaderOnlyRegion(region);
860
+ }
861
+ return (h("div", { class: {
862
+ 'lm-region': true,
863
+ [`lm-region-${regionType}`]: true,
864
+ }, "data-region-id": region.id }, showHeader && (h("div", { class: "lm-region-header" }, regionType === 'title-only' && (h("div", { class: "lm-region-title" }, h("span", null, region.title))), showTabs && this.renderTabs(region), showActions && (h("div", { class: "lm-region-actions" }, showScrollButtons && (h("div", { class: "lm-panel-dropdown-wrapper" }, h("ui-button", { variant: "ghost", size: "sm", icon: "list", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Show all panels", onClick: (e) => this.togglePanelDropdown(region.id, e) }))), h("div", { class: "lm-actions-menu-wrapper" }, h("ui-button", { variant: "ghost", size: "sm", icon: "ellipsis-v", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Actions", onClick: (e) => this.toggleActionsMenu(region.id, e) })), h("ui-button", { variant: "ghost", size: "sm", icon: "window-minimize", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Minimize region", onClick: () => this.minimizeRegion(region.id) }), (region.panels?.length || 0) > 0 && (h("ui-button", { variant: "ghost", size: "sm", icon: "times-circle", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Close all panels and remove region", onClick: () => this.closeAllAndRemoveRegion(region.id) })))))), h("div", { class: "lm-region-content", onDragOver: e => {
865
+ e.preventDefault();
866
+ this.handleDragOver(e, region.id);
867
+ }, onDragLeave: () => this.dragOverTarget = undefined, onDrop: e => this.handleTabDrop(e, region) }, active && h("div", { class: "lm-panel-host", "data-panel-id": active.id, ref: host => this.attachContent(host, active) }), !active && h("div", { class: "lm-empty" }, "No tabs open"), this.dragOverTarget?.regionId === region.id && (h("div", { class: `lm-drop-highlighter lm-drop-${this.dragOverTarget.position}` })))));
868
+ }
869
+ renderRegionNode(node) {
870
+ if (node.children && node.children.length) {
871
+ const panelsConfig = node.children.map(child => ({
872
+ id: child.id,
873
+ size: child.size,
874
+ minSize: child.minSize,
875
+ maxSize: child.maxSize,
876
+ collapsible: child.collapsible,
877
+ }));
878
+ return (h("ui-resizable-panel", { key: `resizable-${node.id}-v${this.layoutVersion}`, direction: node.direction || 'horizontal', panels: JSON.stringify(panelsConfig), saveState: false, stateKey: `${this.stateKey}-${node.id}`, showHandleIcon: true }, node.children.map(child => (h("div", { slot: child.id, class: "lm-slot" }, this.renderRegionNode(child))))));
879
+ }
880
+ return this.renderLeafRegion(node);
881
+ }
882
+ attachContent(host, panel) {
883
+ if (!host)
884
+ return;
885
+ // Clear existing
886
+ while (host.firstChild)
887
+ host.removeChild(host.firstChild);
888
+ if (panel.element) {
889
+ host.appendChild(panel.element);
890
+ }
891
+ else if (panel.html) {
892
+ host.innerHTML = sanitizeHTML(panel.html);
893
+ }
894
+ }
895
+ renderVerticalNav(side) {
896
+ const minimizedEntries = Object.entries(this.minimizedRegions).filter(([_, info]) => info.side === side);
897
+ if (minimizedEntries.length === 0)
898
+ return null;
899
+ return (h("div", { class: `lm-vertical-nav lm-vertical-nav-${side}` }, minimizedEntries.map(([regionId, info]) => (h("div", { key: regionId, class: "lm-nav-item", title: info.title, onClick: () => this.restoreRegion(regionId) }, h("ui-icon", { name: info.icon, library: info.iconLibrary || 'default' }), h("span", { class: "lm-nav-label" }, info.title))))));
900
+ }
901
+ render() {
902
+ // If a panel is maximized, render only that panel
903
+ if (this.maximizedPanel) {
904
+ const p = this.panelsById[this.maximizedPanel];
905
+ if (p) {
906
+ return (h(Host, null, h("div", { class: "lm-container lm-maximized" }, h("div", { class: "lm-maximized-panel" }, h("div", { class: "lm-maximized-header" }, h("span", { class: "lm-maximized-title" }, p.title), h("div", { class: "lm-maximized-actions" }, h("ui-button", { variant: "ghost", size: "sm", icon: "compress", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Restore", onClick: () => this.restorePanel() }), h("ui-button", { variant: "ghost", size: "sm", icon: "times", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Close", onClick: () => this.removePanel(this.maximizedPanel) }))), h("div", { class: "lm-maximized-content", ref: host => this.attachContent(host, p) })))));
907
+ }
908
+ }
909
+ return (h(Host, null, this.renderVerticalNav('left'), h("div", { class: "lm-container" }, this.root && this.renderRegionNode(this.root), h("div", { class: "lm-popout-layer" }, Object.keys(this.popouts).map(panelId => {
910
+ const pop = this.popouts[panelId];
911
+ const p = this.panelsById[panelId];
912
+ if (!p)
913
+ return null;
914
+ const style = { left: `${pop.x}px`, top: `${pop.y}px`, width: `${pop.width}px`, height: `${pop.height}px` };
915
+ return (h("div", { class: "lm-popout-window", style: style, "data-panel-id": panelId }, h("div", { class: "lm-popout-header", onMouseDown: e => this.startPopoutDrag(e, panelId) }, h("span", { class: "lm-popout-title" }, p.title), h("div", { class: "lm-popout-actions" }, h("ui-button", { variant: "ghost", size: "sm", icon: "download", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Dock", onClick: () => this.dockPanel(panelId, p.regionId) }), h("ui-button", { variant: "ghost", size: "sm", icon: "times", iconLibrary: "fontawesome", iconSize: "14px", ariaLabel: "Close", onClick: () => this.removePanel(panelId) }))), h("div", { class: "lm-popout-content", ref: host => this.attachContent(host, p) })));
916
+ })), this.contextMenu && this.renderContextMenu(), this.tabActionsMenu && this.renderTabActionsMenu(), this.floatingDropdown && this.renderFloatingDropdown()), this.renderVerticalNav('right')));
917
+ }
918
+ startPopoutDrag(e, panelId) {
919
+ const pop = this.popouts[panelId];
920
+ if (!pop)
921
+ return;
922
+ const target = e.currentTarget.parentElement;
923
+ const rect = target.getBoundingClientRect();
924
+ const offsetX = e.clientX - rect.left;
925
+ const offsetY = e.clientY - rect.top;
926
+ this.draggingPopout = { panelId, offsetX, offsetY };
927
+ const onMove = (ev) => {
928
+ let x = ev.clientX - this.draggingPopout.offsetX;
929
+ let y = ev.clientY - this.draggingPopout.offsetY;
930
+ const snapThreshold = 20;
931
+ const vw = window.innerWidth;
932
+ const vh = window.innerHeight;
933
+ // Snap to viewport edges
934
+ if (Math.abs(x) < snapThreshold)
935
+ x = 0;
936
+ if (Math.abs(y) < snapThreshold)
937
+ y = 0;
938
+ if (Math.abs(x + pop.width - vw) < snapThreshold)
939
+ x = vw - pop.width;
940
+ if (Math.abs(y + pop.height - vh) < snapThreshold)
941
+ y = vh - pop.height;
942
+ this.popouts[panelId] = { ...this.popouts[panelId], x, y };
943
+ // Force re-render
944
+ this.popouts = { ...this.popouts };
945
+ };
946
+ const onUp = () => {
947
+ document.removeEventListener('mousemove', onMove);
948
+ document.removeEventListener('mouseup', onUp);
949
+ this.draggingPopout = undefined;
950
+ };
951
+ document.addEventListener('mousemove', onMove);
952
+ document.addEventListener('mouseup', onUp);
953
+ }
954
+ openContextMenu(e, regionId, panelId) {
955
+ e.preventDefault();
956
+ const coords = correctViewportCoordinates(e.clientX, e.clientY, this.el);
957
+ this.contextMenu = {
958
+ x: coords.x,
959
+ y: coords.y,
960
+ regionId,
961
+ panelId,
962
+ };
963
+ const onClickAway = () => {
964
+ this.contextMenu = undefined;
965
+ document.removeEventListener('click', onClickAway);
966
+ };
967
+ document.addEventListener('click', onClickAway, { once: true });
968
+ }
969
+ renderContextMenu() {
970
+ const { x, y, regionId, panelId } = this.contextMenu;
971
+ const panel = this.panelsById[panelId];
972
+ const style = { left: `${x}px`, top: `${y}px` };
973
+ return (h("div", { class: "lm-context-menu", style: style }, h("ui-button", { variant: "ghost", fullWidth: true, icon: "thumbtack", iconLibrary: "fontawesome", iconSize: "14px", label: panel?.pinned ? 'Unpin Tab' : 'Pin Tab', onClick: () => {
974
+ this.togglePin(panelId);
975
+ this.contextMenu = undefined;
976
+ } }), h("hr", null), h("ui-button", { variant: "ghost", fullWidth: true, disabled: panel?.pinned, label: panel?.pinned ? 'Close (Pinned)' : 'Close', onClick: () => {
977
+ this.removePanel(panelId);
978
+ this.contextMenu = undefined;
979
+ } }), h("ui-button", { variant: "ghost", fullWidth: true, icon: "arrows-alt-h", iconLibrary: "fontawesome", iconSize: "14px", label: "Close Others", onClick: () => {
980
+ this.closeOthers(regionId, panelId);
981
+ this.contextMenu = undefined;
982
+ } }), h("ui-button", { variant: "ghost", fullWidth: true, icon: "arrow-right", iconLibrary: "fontawesome", iconSize: "14px", label: "Close to the Right", onClick: () => {
983
+ this.closeToRight(regionId, panelId);
984
+ this.contextMenu = undefined;
985
+ } }), h("hr", null), h("ui-button", { variant: "ghost", fullWidth: true, label: "Move to New Group (H)", onClick: () => {
986
+ this.splitRegion(regionId, 'horizontal').then(() => this.movePanel(panelId, `${regionId}-b`));
987
+ this.contextMenu = undefined;
988
+ } }), h("ui-button", { variant: "ghost", fullWidth: true, label: "Move to New Group (V)", onClick: () => {
989
+ this.splitRegion(regionId, 'vertical').then(() => this.movePanel(panelId, `${regionId}-b`));
990
+ this.contextMenu = undefined;
991
+ } })));
992
+ }
993
+ renderTabActionsMenu() {
994
+ const { x, y, panelId } = this.tabActionsMenu;
995
+ const p = this.panelsById[panelId];
996
+ if (!p)
997
+ return null;
998
+ const style = { left: `${x}px`, top: `${y}px` };
999
+ return (h("div", { class: "lm-tab-actions-menu-fixed", style: style }, h("div", { class: "lm-tab-actions-item", onClick: e => {
1000
+ e.stopPropagation();
1001
+ this.maximizePanel(panelId);
1002
+ this.openDropdowns = { ...this.openDropdowns, [`tab-${panelId}`]: false };
1003
+ this.tabActionsMenu = undefined;
1004
+ } }, h("ui-icon", { name: "expand", library: "fontawesome", size: "14px" }), h("span", null, "Maximize")), p.allowPopout && (h("div", { class: "lm-tab-actions-item", onClick: e => {
1005
+ e.stopPropagation();
1006
+ this.popoutPanel(panelId);
1007
+ this.openDropdowns = { ...this.openDropdowns, [`tab-${panelId}`]: false };
1008
+ this.tabActionsMenu = undefined;
1009
+ } }, h("ui-icon", { name: "window-restore", library: "fontawesome" }), h("span", null, "Pop Out"))), h("div", { class: "lm-tab-actions-divider" }), h("div", { class: "lm-tab-actions-item", onClick: e => {
1010
+ e.stopPropagation();
1011
+ this.togglePin(panelId);
1012
+ this.openDropdowns = { ...this.openDropdowns, [`tab-${panelId}`]: false };
1013
+ this.tabActionsMenu = undefined;
1014
+ } }, p.pinned ? (h(h.Fragment, null, h("ui-icon", { name: "thumbtack", library: "fontawesome" }), h("span", null, "Unpin Tab"))) : (h(h.Fragment, null, h("ui-icon", { name: "thumbtack", library: "fontawesome" }), h("span", null, "Pin Tab")))), h("div", { class: "lm-tab-actions-divider" }), h("div", { class: "lm-tab-actions-item", onClick: e => {
1015
+ e.stopPropagation();
1016
+ this.closeOthers(p.regionId, panelId);
1017
+ this.tabActionsMenu = undefined;
1018
+ } }, h("ui-icon", { name: "arrows-alt-h", library: "fontawesome" }), h("span", null, "Close Others")), h("div", { class: "lm-tab-actions-item", onClick: e => {
1019
+ e.stopPropagation();
1020
+ this.closeToRight(p.regionId, panelId);
1021
+ this.tabActionsMenu = undefined;
1022
+ } }, h("ui-icon", { name: "arrow-right", library: "fontawesome" }), h("span", null, "Close to the Right")), h("div", { class: "lm-tab-actions-divider" }), h("div", { class: "lm-tab-actions-item lm-tab-actions-danger", onClick: e => {
1023
+ e.stopPropagation();
1024
+ this.removePanel(panelId);
1025
+ this.tabActionsMenu = undefined;
1026
+ } }, h("ui-icon", { name: "times", library: "fontawesome" }), h("span", null, "Close"))));
1027
+ }
1028
+ closeOthers(regionId, panelId) {
1029
+ const region = this.findRegionNode(regionId)?.node;
1030
+ if (!region)
1031
+ return;
1032
+ const ids = (region.panels || []).filter(id => id !== panelId);
1033
+ ids.forEach(id => this.removePanel(id));
1034
+ }
1035
+ closeToRight(regionId, panelId) {
1036
+ const region = this.findRegionNode(regionId)?.node;
1037
+ if (!region)
1038
+ return;
1039
+ const idx = (region.panels || []).indexOf(panelId);
1040
+ const ids = (region.panels || []).slice(idx + 1);
1041
+ ids.forEach(id => this.removePanel(id));
1042
+ }
1043
+ togglePin(panelId) {
1044
+ const panel = this.panelsById[panelId];
1045
+ if (!panel)
1046
+ return;
1047
+ // Toggle pin state
1048
+ panel.pinned = !panel.pinned;
1049
+ // Find the region containing this panel
1050
+ const region = this.findRegionNode(panel.regionId)?.node;
1051
+ if (!region || !region.panels)
1052
+ return;
1053
+ // Reorder panels: pinned panels on the left, unpinned on the right
1054
+ const currentPanels = region.panels.map(id => this.panelsById[id]).filter(Boolean);
1055
+ const pinnedPanels = currentPanels.filter(p => p.pinned).map(p => p.id);
1056
+ const unpinnedPanels = currentPanels.filter(p => !p.pinned).map(p => p.id);
1057
+ // Update region panels order
1058
+ region.panels = [...pinnedPanels, ...unpinnedPanels];
1059
+ // Force re-render
1060
+ this.panelsById = { ...this.panelsById };
1061
+ this.root = { ...this.root };
1062
+ }
1063
+ checkTabsOverflow() {
1064
+ // Check all regions to see if their tabs overflow
1065
+ const allRegions = [];
1066
+ const collectRegions = (node) => {
1067
+ if (node.panels) {
1068
+ allRegions.push(node);
1069
+ }
1070
+ if (node.children) {
1071
+ node.children.forEach(collectRegions);
1072
+ }
1073
+ };
1074
+ if (this.root)
1075
+ collectRegions(this.root);
1076
+ const needsUpdate = {};
1077
+ allRegions.forEach(region => {
1078
+ const container = this.el.querySelector(`[data-region-id="${region.id}"] .lm-tabs`);
1079
+ if (container) {
1080
+ const containerWidth = container.offsetWidth;
1081
+ const scrollWidth = container.scrollWidth;
1082
+ needsUpdate[region.id] = scrollWidth > containerWidth;
1083
+ }
1084
+ });
1085
+ // Only update state if something changed
1086
+ if (JSON.stringify(needsUpdate) !== JSON.stringify(this.regionsNeedingScroll)) {
1087
+ this.regionsNeedingScroll = needsUpdate;
1088
+ }
1089
+ }
1090
+ handleDragOver(e, regionId) {
1091
+ const rect = e.currentTarget.getBoundingClientRect();
1092
+ const x = e.clientX - rect.left;
1093
+ const y = e.clientY - rect.top;
1094
+ let position = 'center';
1095
+ const threshold = 0.2; // 20% edge detection
1096
+ if (y < rect.height * threshold)
1097
+ position = 'top';
1098
+ else if (y > rect.height * (1 - threshold))
1099
+ position = 'bottom';
1100
+ else if (x < rect.width * threshold)
1101
+ position = 'left';
1102
+ else if (x > rect.width * (1 - threshold))
1103
+ position = 'right';
1104
+ this.dragOverTarget = { regionId, position };
1105
+ }
1106
+ renderFloatingDropdown() {
1107
+ if (!this.floatingDropdown)
1108
+ return null;
1109
+ const { x, y, regionId, type } = this.floatingDropdown;
1110
+ const region = this.findRegionById(this.root, regionId);
1111
+ if (!region)
1112
+ return null;
1113
+ if (type === 'panel') {
1114
+ const panels = region.panels.map(id => this.panelsById[id]).filter(Boolean);
1115
+ return (h("div", { class: "lm-panel-dropdown-menu", style: {
1116
+ position: 'fixed',
1117
+ top: `${y}px`,
1118
+ left: `${x}px`,
1119
+ zIndex: '12000',
1120
+ minWidth: '200px',
1121
+ } }, h("div", { class: "lm-panel-dropdown-header" }, "All Panels (", panels.length, ")"), panels.map(p => (h("div", { class: {
1122
+ 'lm-panel-dropdown-item': true,
1123
+ 'active': region.activePanelId === p.id,
1124
+ }, onClick: () => this.selectPanelFromDropdown(region.id, p.id) }, p.icon && h("ui-icon", { name: p.icon, library: p.iconLibrary || 'lucide', style: { marginRight: '8px' } }), h("span", null, p.title))))));
1125
+ }
1126
+ else {
1127
+ const active = region.activePanelId ? this.panelsById[region.activePanelId] : null;
1128
+ return (h("div", { class: "lm-actions-dropdown-menu", style: {
1129
+ position: 'fixed',
1130
+ top: `${y}px`,
1131
+ left: `${x}px`,
1132
+ zIndex: '12000',
1133
+ minWidth: '180px',
1134
+ } }, h("div", { class: "lm-actions-item", onClick: () => {
1135
+ this.splitRegion(region.id, 'horizontal');
1136
+ this.floatingDropdown = undefined;
1137
+ this.openActionsMenu = {};
1138
+ } }, h("ui-icon", { name: "columns", library: "fontawesome", class: "lm-actions-icon" }), "Split Horizontal"), h("div", { class: "lm-actions-item", onClick: () => {
1139
+ this.splitRegion(region.id, 'vertical');
1140
+ this.floatingDropdown = undefined;
1141
+ this.openActionsMenu = {};
1142
+ } }, h("ui-icon", { name: "grip-lines", library: "fontawesome", class: "lm-actions-icon" }), "Split Vertical"), h("div", { class: "lm-actions-divider" }), active && (h("div", { class: "lm-actions-item", onClick: () => {
1143
+ this.maximizePanel(active.id);
1144
+ this.floatingDropdown = undefined;
1145
+ this.openActionsMenu = {};
1146
+ } }, h("ui-icon", { name: "expand", library: "fontawesome", class: "lm-actions-icon" }), "Maximize Panel")), (region.panels?.length || 0) > 0 && (h(h.Fragment, null, h("div", { class: "lm-actions-divider" }), h("div", { class: "lm-actions-item", onClick: () => {
1147
+ this.closeAllPanels(region.id);
1148
+ this.floatingDropdown = undefined;
1149
+ this.openActionsMenu = {};
1150
+ } }, h("ui-icon", { name: "times", library: "fontawesome", class: "lm-actions-icon" }), "Close All Panels"))), h("div", { class: "lm-actions-divider" }), h("div", { class: "lm-actions-item", onClick: () => {
1151
+ this.mergeRegion(region.id);
1152
+ this.floatingDropdown = undefined;
1153
+ this.openActionsMenu = {};
1154
+ } }, h("ui-icon", { name: "compress", library: "fontawesome", class: "lm-actions-icon" }), "Merge Region"), h("div", { class: "lm-actions-divider" }), h("div", { class: "lm-actions-item lm-actions-danger", onClick: () => {
1155
+ this.closeAllAndRemoveRegion(region.id);
1156
+ this.floatingDropdown = undefined;
1157
+ this.openActionsMenu = {};
1158
+ } }, h("ui-icon", { name: "trash", library: "fontawesome", class: "lm-actions-icon" }), "Remove Group")));
1159
+ }
1160
+ }
1161
+ findRegionById(node, id) {
1162
+ if (node.id === id)
1163
+ return node;
1164
+ for (const child of (node.children ?? [])) {
1165
+ const found = this.findRegionById(child, id);
1166
+ if (found)
1167
+ return found;
1168
+ }
1169
+ return null;
1170
+ }
1171
+ componentDidUpdate() {
1172
+ // Check tabs overflow after render
1173
+ setTimeout(() => this.checkTabsOverflow(), 0);
1174
+ }
1175
+ static get is() { return "ui-workspace-manager"; }
1176
+ static get encapsulation() { return "scoped"; }
1177
+ static get originalStyleUrls() {
1178
+ return {
1179
+ "$": ["workspace-manager.scss"]
1180
+ };
1181
+ }
1182
+ static get styleUrls() {
1183
+ return {
1184
+ "$": ["workspace-manager.css"]
1185
+ };
1186
+ }
1187
+ static get properties() {
1188
+ return {
1189
+ "regions": {
1190
+ "type": "string",
1191
+ "mutable": false,
1192
+ "complexType": {
1193
+ "original": "LayoutRegionConfig[] | string",
1194
+ "resolved": "LayoutRegionConfig[] | string",
1195
+ "references": {
1196
+ "LayoutRegionConfig": {
1197
+ "location": "import",
1198
+ "path": "./types",
1199
+ "id": "src/components/workspace-manager/types.ts::LayoutRegionConfig",
1200
+ "referenceLocation": "LayoutRegionConfig"
1201
+ }
1202
+ }
1203
+ },
1204
+ "required": false,
1205
+ "optional": false,
1206
+ "docs": {
1207
+ "tags": [],
1208
+ "text": "Initial regions configuration"
1209
+ },
1210
+ "getter": false,
1211
+ "setter": false,
1212
+ "reflect": false,
1213
+ "attribute": "regions",
1214
+ "defaultValue": "[]"
1215
+ },
1216
+ "direction": {
1217
+ "type": "string",
1218
+ "mutable": false,
1219
+ "complexType": {
1220
+ "original": "Direction",
1221
+ "resolved": "\"horizontal\" | \"vertical\"",
1222
+ "references": {
1223
+ "Direction": {
1224
+ "location": "import",
1225
+ "path": "./types",
1226
+ "id": "src/components/workspace-manager/types.ts::Direction",
1227
+ "referenceLocation": "Direction"
1228
+ }
1229
+ }
1230
+ },
1231
+ "required": false,
1232
+ "optional": false,
1233
+ "docs": {
1234
+ "tags": [],
1235
+ "text": "Horizontal or vertical split for top-level regions"
1236
+ },
1237
+ "getter": false,
1238
+ "setter": false,
1239
+ "reflect": false,
1240
+ "attribute": "direction",
1241
+ "defaultValue": "'horizontal'"
1242
+ },
1243
+ "saveState": {
1244
+ "type": "boolean",
1245
+ "mutable": false,
1246
+ "complexType": {
1247
+ "original": "boolean",
1248
+ "resolved": "boolean",
1249
+ "references": {}
1250
+ },
1251
+ "required": false,
1252
+ "optional": false,
1253
+ "docs": {
1254
+ "tags": [],
1255
+ "text": "Persist sizes between reloads"
1256
+ },
1257
+ "getter": false,
1258
+ "setter": false,
1259
+ "reflect": false,
1260
+ "attribute": "save-state",
1261
+ "defaultValue": "true"
1262
+ },
1263
+ "stateKey": {
1264
+ "type": "string",
1265
+ "mutable": false,
1266
+ "complexType": {
1267
+ "original": "string",
1268
+ "resolved": "string",
1269
+ "references": {}
1270
+ },
1271
+ "required": false,
1272
+ "optional": false,
1273
+ "docs": {
1274
+ "tags": [],
1275
+ "text": "LocalStorage key when saveState=true"
1276
+ },
1277
+ "getter": false,
1278
+ "setter": false,
1279
+ "reflect": false,
1280
+ "attribute": "state-key",
1281
+ "defaultValue": "'layout-manager-state'"
1282
+ }
1283
+ };
1284
+ }
1285
+ static get states() {
1286
+ return {
1287
+ "root": {},
1288
+ "panelsById": {},
1289
+ "popouts": {},
1290
+ "maximizedPanel": {},
1291
+ "preMaximizeState": {},
1292
+ "draggingPanel": {},
1293
+ "draggingPopout": {},
1294
+ "layoutVersion": {},
1295
+ "contextMenu": {},
1296
+ "tabActionsMenu": {},
1297
+ "floatingDropdown": {},
1298
+ "openDropdowns": {},
1299
+ "openActionsMenu": {},
1300
+ "regionsNeedingScroll": {},
1301
+ "minimizedRegions": {},
1302
+ "dragOverTarget": {}
1303
+ };
1304
+ }
1305
+ static get events() {
1306
+ return [{
1307
+ "method": "layoutChange",
1308
+ "name": "layoutChange",
1309
+ "bubbles": true,
1310
+ "cancelable": true,
1311
+ "composed": true,
1312
+ "docs": {
1313
+ "tags": [],
1314
+ "text": ""
1315
+ },
1316
+ "complexType": {
1317
+ "original": "{ regions: RegionState[] }",
1318
+ "resolved": "{ regions: RegionState[]; }",
1319
+ "references": {
1320
+ "RegionState": {
1321
+ "location": "import",
1322
+ "path": "./types",
1323
+ "id": "src/components/workspace-manager/types.ts::RegionState",
1324
+ "referenceLocation": "RegionState"
1325
+ }
1326
+ }
1327
+ }
1328
+ }, {
1329
+ "method": "panelAdded",
1330
+ "name": "panelAdded",
1331
+ "bubbles": true,
1332
+ "cancelable": true,
1333
+ "composed": true,
1334
+ "docs": {
1335
+ "tags": [],
1336
+ "text": ""
1337
+ },
1338
+ "complexType": {
1339
+ "original": "PanelState",
1340
+ "resolved": "PanelState",
1341
+ "references": {
1342
+ "PanelState": {
1343
+ "location": "import",
1344
+ "path": "./types",
1345
+ "id": "src/components/workspace-manager/types.ts::PanelState",
1346
+ "referenceLocation": "PanelState"
1347
+ }
1348
+ }
1349
+ }
1350
+ }, {
1351
+ "method": "panelRemoved",
1352
+ "name": "panelRemoved",
1353
+ "bubbles": true,
1354
+ "cancelable": true,
1355
+ "composed": true,
1356
+ "docs": {
1357
+ "tags": [],
1358
+ "text": ""
1359
+ },
1360
+ "complexType": {
1361
+ "original": "{ panelId: string; regionId: string }",
1362
+ "resolved": "{ panelId: string; regionId: string; }",
1363
+ "references": {}
1364
+ }
1365
+ }, {
1366
+ "method": "panelMoved",
1367
+ "name": "panelMoved",
1368
+ "bubbles": true,
1369
+ "cancelable": true,
1370
+ "composed": true,
1371
+ "docs": {
1372
+ "tags": [],
1373
+ "text": ""
1374
+ },
1375
+ "complexType": {
1376
+ "original": "{ panelId: string; from: string; to: string }",
1377
+ "resolved": "{ panelId: string; from: string; to: string; }",
1378
+ "references": {}
1379
+ }
1380
+ }, {
1381
+ "method": "panelPoppedOut",
1382
+ "name": "panelPoppedOut",
1383
+ "bubbles": true,
1384
+ "cancelable": true,
1385
+ "composed": true,
1386
+ "docs": {
1387
+ "tags": [],
1388
+ "text": ""
1389
+ },
1390
+ "complexType": {
1391
+ "original": "{ panelId: string }",
1392
+ "resolved": "{ panelId: string; }",
1393
+ "references": {}
1394
+ }
1395
+ }, {
1396
+ "method": "panelDocked",
1397
+ "name": "panelDocked",
1398
+ "bubbles": true,
1399
+ "cancelable": true,
1400
+ "composed": true,
1401
+ "docs": {
1402
+ "tags": [],
1403
+ "text": ""
1404
+ },
1405
+ "complexType": {
1406
+ "original": "{ panelId: string; regionId: string }",
1407
+ "resolved": "{ panelId: string; regionId: string; }",
1408
+ "references": {}
1409
+ }
1410
+ }, {
1411
+ "method": "panelMaximized",
1412
+ "name": "panelMaximized",
1413
+ "bubbles": true,
1414
+ "cancelable": true,
1415
+ "composed": true,
1416
+ "docs": {
1417
+ "tags": [],
1418
+ "text": ""
1419
+ },
1420
+ "complexType": {
1421
+ "original": "{ panelId: string }",
1422
+ "resolved": "{ panelId: string; }",
1423
+ "references": {}
1424
+ }
1425
+ }, {
1426
+ "method": "panelRestored",
1427
+ "name": "panelRestored",
1428
+ "bubbles": true,
1429
+ "cancelable": true,
1430
+ "composed": true,
1431
+ "docs": {
1432
+ "tags": [],
1433
+ "text": ""
1434
+ },
1435
+ "complexType": {
1436
+ "original": "{ panelId: string }",
1437
+ "resolved": "{ panelId: string; }",
1438
+ "references": {}
1439
+ }
1440
+ }, {
1441
+ "method": "regionAdded",
1442
+ "name": "regionAdded",
1443
+ "bubbles": true,
1444
+ "cancelable": true,
1445
+ "composed": true,
1446
+ "docs": {
1447
+ "tags": [],
1448
+ "text": ""
1449
+ },
1450
+ "complexType": {
1451
+ "original": "{ regionId: string; title: string }",
1452
+ "resolved": "{ regionId: string; title: string; }",
1453
+ "references": {}
1454
+ }
1455
+ }, {
1456
+ "method": "regionRemoved",
1457
+ "name": "regionRemoved",
1458
+ "bubbles": true,
1459
+ "cancelable": true,
1460
+ "composed": true,
1461
+ "docs": {
1462
+ "tags": [],
1463
+ "text": ""
1464
+ },
1465
+ "complexType": {
1466
+ "original": "{ regionId: string }",
1467
+ "resolved": "{ regionId: string; }",
1468
+ "references": {}
1469
+ }
1470
+ }];
1471
+ }
1472
+ static get methods() {
1473
+ return {
1474
+ "getLayoutState": {
1475
+ "complexType": {
1476
+ "signature": "() => Promise<{ root: RegionState; panels: { [id: string]: PanelState; }; }>",
1477
+ "parameters": [],
1478
+ "references": {
1479
+ "Promise": {
1480
+ "location": "global",
1481
+ "id": "global::Promise"
1482
+ },
1483
+ "RegionState": {
1484
+ "location": "import",
1485
+ "path": "./types",
1486
+ "id": "src/components/workspace-manager/types.ts::RegionState",
1487
+ "referenceLocation": "RegionState"
1488
+ },
1489
+ "PanelState": {
1490
+ "location": "import",
1491
+ "path": "./types",
1492
+ "id": "src/components/workspace-manager/types.ts::PanelState",
1493
+ "referenceLocation": "PanelState"
1494
+ }
1495
+ },
1496
+ "return": "Promise<{ root: RegionState; panels: { [id: string]: PanelState; }; }>"
1497
+ },
1498
+ "docs": {
1499
+ "text": "Get the current layout state",
1500
+ "tags": []
1501
+ }
1502
+ },
1503
+ "clearAllRegions": {
1504
+ "complexType": {
1505
+ "signature": "() => Promise<void>",
1506
+ "parameters": [],
1507
+ "references": {
1508
+ "Promise": {
1509
+ "location": "global",
1510
+ "id": "global::Promise"
1511
+ }
1512
+ },
1513
+ "return": "Promise<void>"
1514
+ },
1515
+ "docs": {
1516
+ "text": "Clear all regions (reset to empty layout)",
1517
+ "tags": []
1518
+ }
1519
+ },
1520
+ "addPanel": {
1521
+ "complexType": {
1522
+ "signature": "(opts: PanelOptions) => Promise<string>",
1523
+ "parameters": [{
1524
+ "name": "opts",
1525
+ "type": "PanelOptions",
1526
+ "docs": ""
1527
+ }],
1528
+ "references": {
1529
+ "Promise": {
1530
+ "location": "global",
1531
+ "id": "global::Promise"
1532
+ },
1533
+ "PanelOptions": {
1534
+ "location": "import",
1535
+ "path": "./types",
1536
+ "id": "src/components/workspace-manager/types.ts::PanelOptions",
1537
+ "referenceLocation": "PanelOptions"
1538
+ },
1539
+ "PanelState": {
1540
+ "location": "import",
1541
+ "path": "./types",
1542
+ "id": "src/components/workspace-manager/types.ts::PanelState",
1543
+ "referenceLocation": "PanelState"
1544
+ }
1545
+ },
1546
+ "return": "Promise<string>"
1547
+ },
1548
+ "docs": {
1549
+ "text": "Add a panel into a region. If element is provided, it will be moved into the panel content.",
1550
+ "tags": []
1551
+ }
1552
+ },
1553
+ "removePanel": {
1554
+ "complexType": {
1555
+ "signature": "(panelId: string) => Promise<void>",
1556
+ "parameters": [{
1557
+ "name": "panelId",
1558
+ "type": "string",
1559
+ "docs": ""
1560
+ }],
1561
+ "references": {
1562
+ "Promise": {
1563
+ "location": "global",
1564
+ "id": "global::Promise"
1565
+ }
1566
+ },
1567
+ "return": "Promise<void>"
1568
+ },
1569
+ "docs": {
1570
+ "text": "Remove a panel by id",
1571
+ "tags": []
1572
+ }
1573
+ },
1574
+ "movePanel": {
1575
+ "complexType": {
1576
+ "signature": "(panelId: string, targetRegionId: string, index?: number) => Promise<void>",
1577
+ "parameters": [{
1578
+ "name": "panelId",
1579
+ "type": "string",
1580
+ "docs": ""
1581
+ }, {
1582
+ "name": "targetRegionId",
1583
+ "type": "string",
1584
+ "docs": ""
1585
+ }, {
1586
+ "name": "index",
1587
+ "type": "number",
1588
+ "docs": ""
1589
+ }],
1590
+ "references": {
1591
+ "Promise": {
1592
+ "location": "global",
1593
+ "id": "global::Promise"
1594
+ }
1595
+ },
1596
+ "return": "Promise<void>"
1597
+ },
1598
+ "docs": {
1599
+ "text": "Move a panel to another region",
1600
+ "tags": []
1601
+ }
1602
+ },
1603
+ "popoutPanel": {
1604
+ "complexType": {
1605
+ "signature": "(panelId: string, position?: { x: number; y: number; width?: number; height?: number; }) => Promise<void>",
1606
+ "parameters": [{
1607
+ "name": "panelId",
1608
+ "type": "string",
1609
+ "docs": ""
1610
+ }, {
1611
+ "name": "position",
1612
+ "type": "{ x: number; y: number; width?: number; height?: number; }",
1613
+ "docs": ""
1614
+ }],
1615
+ "references": {
1616
+ "Promise": {
1617
+ "location": "global",
1618
+ "id": "global::Promise"
1619
+ }
1620
+ },
1621
+ "return": "Promise<void>"
1622
+ },
1623
+ "docs": {
1624
+ "text": "Popout a panel (make floating). Removes from region but keeps alive in overlay",
1625
+ "tags": []
1626
+ }
1627
+ },
1628
+ "dockPanel": {
1629
+ "complexType": {
1630
+ "signature": "(panelId: string, regionId: string, index?: number) => Promise<void>",
1631
+ "parameters": [{
1632
+ "name": "panelId",
1633
+ "type": "string",
1634
+ "docs": ""
1635
+ }, {
1636
+ "name": "regionId",
1637
+ "type": "string",
1638
+ "docs": ""
1639
+ }, {
1640
+ "name": "index",
1641
+ "type": "number",
1642
+ "docs": ""
1643
+ }],
1644
+ "references": {
1645
+ "Promise": {
1646
+ "location": "global",
1647
+ "id": "global::Promise"
1648
+ }
1649
+ },
1650
+ "return": "Promise<void>"
1651
+ },
1652
+ "docs": {
1653
+ "text": "Dock a popped-out panel back into a region",
1654
+ "tags": []
1655
+ }
1656
+ },
1657
+ "splitRegion": {
1658
+ "complexType": {
1659
+ "signature": "(regionId: string, direction?: Direction) => Promise<void>",
1660
+ "parameters": [{
1661
+ "name": "regionId",
1662
+ "type": "string",
1663
+ "docs": ""
1664
+ }, {
1665
+ "name": "direction",
1666
+ "type": "\"horizontal\" | \"vertical\"",
1667
+ "docs": ""
1668
+ }],
1669
+ "references": {
1670
+ "Promise": {
1671
+ "location": "global",
1672
+ "id": "global::Promise"
1673
+ },
1674
+ "Direction": {
1675
+ "location": "import",
1676
+ "path": "./types",
1677
+ "id": "src/components/workspace-manager/types.ts::Direction",
1678
+ "referenceLocation": "Direction"
1679
+ },
1680
+ "RegionState": {
1681
+ "location": "import",
1682
+ "path": "./types",
1683
+ "id": "src/components/workspace-manager/types.ts::RegionState",
1684
+ "referenceLocation": "RegionState"
1685
+ }
1686
+ },
1687
+ "return": "Promise<void>"
1688
+ },
1689
+ "docs": {
1690
+ "text": "Split a leaf region into two child regions",
1691
+ "tags": []
1692
+ }
1693
+ },
1694
+ "maximizePanel": {
1695
+ "complexType": {
1696
+ "signature": "(panelId: string) => Promise<void>",
1697
+ "parameters": [{
1698
+ "name": "panelId",
1699
+ "type": "string",
1700
+ "docs": ""
1701
+ }],
1702
+ "references": {
1703
+ "Promise": {
1704
+ "location": "global",
1705
+ "id": "global::Promise"
1706
+ }
1707
+ },
1708
+ "return": "Promise<void>"
1709
+ },
1710
+ "docs": {
1711
+ "text": "Maximize a panel to fill the entire layout",
1712
+ "tags": []
1713
+ }
1714
+ },
1715
+ "restorePanel": {
1716
+ "complexType": {
1717
+ "signature": "() => Promise<void>",
1718
+ "parameters": [],
1719
+ "references": {
1720
+ "Promise": {
1721
+ "location": "global",
1722
+ "id": "global::Promise"
1723
+ }
1724
+ },
1725
+ "return": "Promise<void>"
1726
+ },
1727
+ "docs": {
1728
+ "text": "Restore a maximized panel to normal layout",
1729
+ "tags": []
1730
+ }
1731
+ },
1732
+ "closeAllPanels": {
1733
+ "complexType": {
1734
+ "signature": "(regionId?: string) => Promise<void>",
1735
+ "parameters": [{
1736
+ "name": "regionId",
1737
+ "type": "string",
1738
+ "docs": ""
1739
+ }],
1740
+ "references": {
1741
+ "Promise": {
1742
+ "location": "global",
1743
+ "id": "global::Promise"
1744
+ }
1745
+ },
1746
+ "return": "Promise<void>"
1747
+ },
1748
+ "docs": {
1749
+ "text": "Close all panels in a specific region",
1750
+ "tags": []
1751
+ }
1752
+ },
1753
+ "mergeRegion": {
1754
+ "complexType": {
1755
+ "signature": "(regionId: string) => Promise<void>",
1756
+ "parameters": [{
1757
+ "name": "regionId",
1758
+ "type": "string",
1759
+ "docs": ""
1760
+ }],
1761
+ "references": {
1762
+ "Promise": {
1763
+ "location": "global",
1764
+ "id": "global::Promise"
1765
+ }
1766
+ },
1767
+ "return": "Promise<void>"
1768
+ },
1769
+ "docs": {
1770
+ "text": "Merge a split region back to a single leaf (left child remains)",
1771
+ "tags": []
1772
+ }
1773
+ },
1774
+ "createRegion": {
1775
+ "complexType": {
1776
+ "signature": "(config: LayoutRegionConfig) => Promise<void>",
1777
+ "parameters": [{
1778
+ "name": "config",
1779
+ "type": "LayoutRegionConfig",
1780
+ "docs": ""
1781
+ }],
1782
+ "references": {
1783
+ "Promise": {
1784
+ "location": "global",
1785
+ "id": "global::Promise"
1786
+ },
1787
+ "LayoutRegionConfig": {
1788
+ "location": "import",
1789
+ "path": "./types",
1790
+ "id": "src/components/workspace-manager/types.ts::LayoutRegionConfig",
1791
+ "referenceLocation": "LayoutRegionConfig"
1792
+ }
1793
+ },
1794
+ "return": "Promise<void>"
1795
+ },
1796
+ "docs": {
1797
+ "text": "Create a new region",
1798
+ "tags": []
1799
+ }
1800
+ },
1801
+ "addRegion": {
1802
+ "complexType": {
1803
+ "signature": "(opts: { id?: string; title?: string; size?: number; position?: \"start\" | \"end\"; type?: RegionType; skipNormalization?: boolean; }) => Promise<string>",
1804
+ "parameters": [{
1805
+ "name": "opts",
1806
+ "type": "{ id?: string; title?: string; size?: number; position?: \"start\" | \"end\"; type?: RegionType; skipNormalization?: boolean; }",
1807
+ "docs": ""
1808
+ }],
1809
+ "references": {
1810
+ "Promise": {
1811
+ "location": "global",
1812
+ "id": "global::Promise"
1813
+ },
1814
+ "RegionType": {
1815
+ "location": "import",
1816
+ "path": "./types",
1817
+ "id": "src/components/workspace-manager/types.ts::RegionType",
1818
+ "referenceLocation": "RegionType"
1819
+ },
1820
+ "RegionState": {
1821
+ "location": "import",
1822
+ "path": "./types",
1823
+ "id": "src/components/workspace-manager/types.ts::RegionState",
1824
+ "referenceLocation": "RegionState"
1825
+ }
1826
+ },
1827
+ "return": "Promise<string>"
1828
+ },
1829
+ "docs": {
1830
+ "text": "Add a new region to the root layout",
1831
+ "tags": []
1832
+ }
1833
+ },
1834
+ "normalizeRegionSizes": {
1835
+ "complexType": {
1836
+ "signature": "() => Promise<void>",
1837
+ "parameters": [],
1838
+ "references": {
1839
+ "Promise": {
1840
+ "location": "global",
1841
+ "id": "global::Promise"
1842
+ }
1843
+ },
1844
+ "return": "Promise<void>"
1845
+ },
1846
+ "docs": {
1847
+ "text": "Normalize region sizes to sum to 100%",
1848
+ "tags": []
1849
+ }
1850
+ },
1851
+ "removeRegion": {
1852
+ "complexType": {
1853
+ "signature": "(regionId: string) => Promise<void>",
1854
+ "parameters": [{
1855
+ "name": "regionId",
1856
+ "type": "string",
1857
+ "docs": ""
1858
+ }],
1859
+ "references": {
1860
+ "Promise": {
1861
+ "location": "global",
1862
+ "id": "global::Promise"
1863
+ }
1864
+ },
1865
+ "return": "Promise<void>"
1866
+ },
1867
+ "docs": {
1868
+ "text": "Remove a region (panels will be moved to the nearest region)",
1869
+ "tags": []
1870
+ }
1871
+ }
1872
+ };
1873
+ }
1874
+ static get elementRef() { return "el"; }
1875
+ static get watchers() {
1876
+ return [{
1877
+ "propName": "regions",
1878
+ "methodName": "handleRegionsChange"
1879
+ }];
1880
+ }
1881
+ static get listeners() {
1882
+ return [{
1883
+ "name": "scroll",
1884
+ "method": "handleScroll",
1885
+ "target": "window",
1886
+ "capture": true,
1887
+ "passive": true
1888
+ }, {
1889
+ "name": "resize",
1890
+ "method": "handleScroll",
1891
+ "target": "window",
1892
+ "capture": false,
1893
+ "passive": true
1894
+ }, {
1895
+ "name": "mousemove",
1896
+ "method": "handleScroll",
1897
+ "target": "window",
1898
+ "capture": false,
1899
+ "passive": true
1900
+ }, {
1901
+ "name": "panelPopout",
1902
+ "method": "onPanelPopout",
1903
+ "target": undefined,
1904
+ "capture": false,
1905
+ "passive": false
1906
+ }, {
1907
+ "name": "panelSelect",
1908
+ "method": "onPanelSelect",
1909
+ "target": undefined,
1910
+ "capture": false,
1911
+ "passive": false
1912
+ }];
1913
+ }
1914
+ }