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,1211 @@
1
+ import { h } from "@stencil/core";
2
+ import { sanitizeHTML } from "../../utils/security";
3
+ export class AppCodeEditor {
4
+ value = '';
5
+ language = 'javascript';
6
+ theme = 'vs-dark';
7
+ readonly = false;
8
+ lineNumbers = true;
9
+ toolbar = false;
10
+ toolbarLabelDisplay = 'hover';
11
+ toolbarGroups = ['all'];
12
+ tabs = [];
13
+ valueChange;
14
+ runCode;
15
+ highlightedCode = '';
16
+ lineCount = 1;
17
+ statusStats = { line: 1, col: 1, selected: 0 };
18
+ showSearch = false;
19
+ searchQuery = '';
20
+ showPalette = false;
21
+ paletteQuery = '';
22
+ showHelp = false;
23
+ activeTabIndex = 0;
24
+ unfoldedLines = new Set(); // Stores lines that are explicitly folded (using inverse logic for lighter default?) -> Actually let's store folded lines
25
+ foldedLines = new Set();
26
+ lintErrors = [];
27
+ activeToolbarTab = 'home';
28
+ fontSize = 14;
29
+ showLineNumbers = true;
30
+ showMinimap = true;
31
+ showSidebar = true;
32
+ showBottomPanel = true;
33
+ activeSidebarTab = 'files';
34
+ activeBottomTab = 'terminal';
35
+ activeFileIndex = 0;
36
+ files = [
37
+ { name: 'index.js', language: 'javascript', content: '// Welcome to the IDE\n// Start coding here...' },
38
+ { name: 'styles.css', language: 'css', content: '/* Add your styles here */\nbody {\n margin: 0;\n}' },
39
+ { name: 'index.html', language: 'html', content: '<!DOCTYPE html>\n<html>\n<body>\n <h1>Hello</h1>\n</body>\n</html>' }
40
+ ];
41
+ terminalLogs = [
42
+ { type: 'info', text: 'IDE Terminal initialized.', time: new Date().toLocaleTimeString() }
43
+ ];
44
+ // Autocompletion State
45
+ suggestions = [];
46
+ suggestionIndex = 0;
47
+ showSuggestions = false;
48
+ suggestionPos = { top: 0, left: 0 };
49
+ textarea;
50
+ pre;
51
+ lineNumbersRef;
52
+ minimapRef;
53
+ minimapViewport;
54
+ searchInput;
55
+ paletteInput;
56
+ charWidth = 8.4; // Default estimate
57
+ lineHeight = 21;
58
+ keywords = {
59
+ javascript: ['function', 'return', 'const', 'let', 'var', 'import', 'export', 'class', 'if', 'else', 'for', 'while', 'switch', 'case', 'break', 'continue', 'true', 'false', 'null', 'undefined', 'console', 'log', 'document', 'window', 'async', 'await', 'try', 'catch', 'throw', 'new', 'this', 'super', 'typeof', 'instanceof', 'void', 'delete', 'in', 'of'],
60
+ python: ['def', 'class', 'return', 'if', 'elif', 'else', 'for', 'while', 'try', 'except', 'finally', 'import', 'from', 'as', 'pass', 'break', 'continue', 'True', 'False', 'None', 'print', 'with', 'yield', 'lambda', 'global', 'nonlocal', 'raise', 'assert'],
61
+ html: ['div', 'span', 'h1', 'h2', 'h3', 'p', 'a', 'button', 'input', 'form', 'img', 'ul', 'li', 'script', 'style', 'head', 'body', 'html', 'meta', 'link', 'title', 'header', 'footer', 'nav', 'main', 'section', 'article', 'aside'],
62
+ css: ['color', 'background', 'border', 'margin', 'padding', 'width', 'height', 'display', 'flex', 'grid', 'font-size', 'position', 'top', 'left', 'right', 'bottom', 'opacity', 'z-index', 'transform', 'transition', 'animation', 'justify-content', 'align-items'],
63
+ java: ['public', 'private', 'protected', 'class', 'interface', 'extends', 'implements', 'void', 'int', 'double', 'String', 'boolean', 'if', 'else', 'for', 'while', 'return', 'new', 'this', 'super', 'try', 'catch', 'finally', 'throw', 'throws', 'package', 'import', 'static', 'final'],
64
+ csharp: ['public', 'private', 'protected', 'class', 'interface', 'void', 'int', 'string', 'bool', 'if', 'else', 'for', 'while', 'return', 'new', 'this', 'var', 'namespace', 'using', 'static', 'readonly', 'async', 'await'],
65
+ };
66
+ commands = [
67
+ { id: 'theme-toggle', label: 'Toggle Theme (Dark/Light)', action: () => this.toggleTheme() },
68
+ { id: 'minimap-toggle', label: 'Toggle Minimap', action: () => (this.showMinimap = !this.showMinimap) },
69
+ { id: 'line-nums-toggle', label: 'Toggle Line Numbers', action: () => (this.showLineNumbers = !this.showLineNumbers) },
70
+ { id: 'format', label: 'Format Document (Simple Indent)', action: () => this.simpleFormat() },
71
+ { id: 'clear', label: 'Clear Code', action: () => { this.value = ''; this.valueChange.emit(''); } },
72
+ { id: 'copy', label: 'Copy to Clipboard', action: () => this.handleCopy() },
73
+ { id: 'fold-all', label: 'Fold All', action: () => this.foldAll() },
74
+ { id: 'unfold-all', label: 'Unfold All', action: () => this.unfoldAll() },
75
+ { id: 'undo', label: 'Undo', action: () => document.execCommand('undo') },
76
+ { id: 'redo', label: 'Redo', action: () => document.execCommand('redo') },
77
+ ];
78
+ componentWillLoad() {
79
+ this.highlightCode();
80
+ this.updateLineCount();
81
+ this.runLinting();
82
+ }
83
+ componentDidLoad() {
84
+ this.measureChar();
85
+ // Initialize tabs if present
86
+ if (this.tabs.length > 0) {
87
+ this.handleTabClick(0);
88
+ }
89
+ }
90
+ measureChar() {
91
+ if (!this.pre)
92
+ return;
93
+ const span = document.createElement('span');
94
+ span.textContent = 'M';
95
+ span.style.visibility = 'hidden';
96
+ this.pre.appendChild(span);
97
+ const rect = span.getBoundingClientRect();
98
+ this.charWidth = rect.width;
99
+ this.lineHeight = rect.height;
100
+ this.pre.removeChild(span);
101
+ }
102
+ valueChanged() {
103
+ this.highlightCode();
104
+ this.updateLineCount();
105
+ this.runLinting();
106
+ }
107
+ languageChanged() {
108
+ this.highlightCode();
109
+ this.runLinting();
110
+ }
111
+ tabsChanged() {
112
+ if (this.tabs.length > 0 && this.activeTabIndex >= this.tabs.length) {
113
+ this.handleTabClick(0);
114
+ }
115
+ }
116
+ searchQueryChanged() {
117
+ this.highlightCode();
118
+ }
119
+ executeCode() {
120
+ if (this.language === 'javascript' || this.language === 'json') {
121
+ try {
122
+ const output = [];
123
+ const mockConsole = {
124
+ log: (...args) => output.push({ type: 'info', text: args.map(a => typeof a === 'object' ? JSON.stringify(a) : String(a)).join(' ') }),
125
+ error: (...args) => output.push({ type: 'error', text: args.join(' ') }),
126
+ warn: (...args) => output.push({ type: 'warn', text: args.join(' ') })
127
+ };
128
+ const fn = new Function('console', this.value);
129
+ fn(mockConsole);
130
+ return output.length > 0 ? output : [{ type: 'info', text: '(Success: No output)' }];
131
+ }
132
+ catch (e) {
133
+ return [{ type: 'error', text: `Runtime Error: ${e.message}` }];
134
+ }
135
+ }
136
+ return [{ type: 'info', text: `Simulation for ${this.language} complete. (Code execution restricted to JS)` }];
137
+ }
138
+ handleInput = (ev) => {
139
+ const target = ev.target;
140
+ this.value = target.value;
141
+ this.valueChange.emit(this.value);
142
+ // Autocompletion Trigger
143
+ this.checkSuggestions();
144
+ };
145
+ checkSuggestions() {
146
+ if (!this.textarea)
147
+ return;
148
+ const { selectionStart, value } = this.textarea;
149
+ // Find current word
150
+ let start = selectionStart - 1;
151
+ while (start >= 0 && /[\w]/.test(value[start])) {
152
+ start--;
153
+ }
154
+ const currentWord = value.substring(start + 1, selectionStart);
155
+ if (currentWord.length < 1) {
156
+ this.showSuggestions = false;
157
+ return;
158
+ }
159
+ const langKeywords = this.keywords[this.language] || [];
160
+ const matches = langKeywords.filter(k => k.toLowerCase().startsWith(currentWord.toLowerCase()) && k !== currentWord);
161
+ if (matches.length > 0) {
162
+ this.suggestions = matches;
163
+ this.suggestionIndex = 0;
164
+ this.showSuggestions = true;
165
+ // Calculate Position
166
+ const lines = value.substring(0, selectionStart).split('\n');
167
+ const line = lines.length;
168
+ const col = lines[lines.length - 1].length;
169
+ this.suggestionPos = {
170
+ top: (line * this.lineHeight) - this.textarea.scrollTop + 5,
171
+ left: (col * this.charWidth) - this.textarea.scrollLeft + 10 // + padding
172
+ };
173
+ }
174
+ else {
175
+ this.showSuggestions = false;
176
+ }
177
+ }
178
+ acceptSuggestion(suggestion) {
179
+ if (!this.textarea)
180
+ return;
181
+ const { selectionStart, value } = this.textarea;
182
+ // Find current word start again
183
+ let start = selectionStart - 1;
184
+ while (start >= 0 && /[\w]/.test(value[start])) {
185
+ start--;
186
+ }
187
+ start++; // Start of word
188
+ const newValue = value.substring(0, start) + suggestion + value.substring(selectionStart);
189
+ this.value = newValue;
190
+ this.valueChange.emit(newValue);
191
+ this.showSuggestions = false;
192
+ // Move Cursor
193
+ requestAnimationFrame(() => {
194
+ const newCursor = start + suggestion.length;
195
+ this.textarea.selectionStart = this.textarea.selectionEnd = newCursor;
196
+ this.highlightCode();
197
+ this.textarea.focus();
198
+ });
199
+ }
200
+ handleScroll = () => {
201
+ if (this.textarea && this.pre) {
202
+ const { scrollTop, scrollLeft } = this.textarea;
203
+ this.pre.scrollTop = scrollTop;
204
+ this.pre.scrollLeft = scrollLeft;
205
+ // Sync Minimap
206
+ if (this.minimapRef) {
207
+ const ratio = scrollTop / (this.textarea.scrollHeight - this.textarea.clientHeight);
208
+ const minimapScroll = ratio * (this.minimapRef.scrollHeight - this.minimapRef.clientHeight);
209
+ this.minimapRef.scrollTop = minimapScroll;
210
+ // Update Viewport Indicator
211
+ if (this.minimapViewport) {
212
+ const viewportRatio = this.textarea.clientHeight / this.textarea.scrollHeight;
213
+ this.minimapViewport.style.top = `${(scrollTop / this.textarea.scrollHeight) * 100}%`;
214
+ this.minimapViewport.style.height = `${viewportRatio * 100}%`;
215
+ }
216
+ }
217
+ }
218
+ if (this.lineNumbersRef && this.textarea) {
219
+ this.lineNumbersRef.scrollTop = this.textarea.scrollTop;
220
+ }
221
+ };
222
+ handleKeydown = (e) => {
223
+ const isCtrl = e.ctrlKey || e.metaKey;
224
+ // Command Palette (Ctrl+Shift+P)
225
+ if (isCtrl && e.shiftKey && (e.key === 'p' || e.key === 'P')) {
226
+ e.preventDefault();
227
+ this.togglePalette();
228
+ return;
229
+ }
230
+ // Search (Ctrl+F)
231
+ if (isCtrl && e.key === 'f') {
232
+ e.preventDefault();
233
+ this.toggleSearch();
234
+ return;
235
+ }
236
+ // Suggestions Navigation
237
+ if (this.showSuggestions) {
238
+ if (e.key === 'ArrowDown') {
239
+ e.preventDefault();
240
+ this.suggestionIndex = (this.suggestionIndex + 1) % this.suggestions.length;
241
+ return;
242
+ }
243
+ else if (e.key === 'ArrowUp') {
244
+ e.preventDefault();
245
+ this.suggestionIndex = (this.suggestionIndex - 1 + this.suggestions.length) % this.suggestions.length;
246
+ return;
247
+ }
248
+ else if (e.key === 'Enter' || e.key === 'Tab') {
249
+ e.preventDefault();
250
+ this.acceptSuggestion(this.suggestions[this.suggestionIndex]);
251
+ return;
252
+ }
253
+ else if (e.key === 'Escape') {
254
+ this.showSuggestions = false;
255
+ return;
256
+ }
257
+ }
258
+ // Tab Handling
259
+ if (e.key === 'Tab') {
260
+ e.preventDefault();
261
+ const start = this.textarea.selectionStart;
262
+ const end = this.textarea.selectionEnd;
263
+ const tabChar = ' ';
264
+ this.value = this.value.substring(0, start) + tabChar + this.value.substring(end);
265
+ requestAnimationFrame(() => {
266
+ this.textarea.selectionStart = this.textarea.selectionEnd = start + tabChar.length;
267
+ this.highlightCode();
268
+ });
269
+ this.valueChange.emit(this.value);
270
+ return;
271
+ }
272
+ // --- Smart Behaviors ---
273
+ const start = this.textarea.selectionStart;
274
+ const end = this.textarea.selectionEnd;
275
+ const val = this.value;
276
+ // Auto-Close
277
+ const pairs = { '(': ')', '{': '}', '[': ']', '"': '"', "'": "'" };
278
+ if (pairs[e.key]) {
279
+ e.preventDefault();
280
+ this.value = val.substring(0, start) + e.key + pairs[e.key] + val.substring(end);
281
+ requestAnimationFrame(() => {
282
+ this.textarea.selectionStart = this.textarea.selectionEnd = start + 1;
283
+ this.highlightCode();
284
+ });
285
+ this.valueChange.emit(this.value);
286
+ return;
287
+ }
288
+ // Skip closing
289
+ const closingChars = ['}', ']', ')', '"', "'"];
290
+ if (closingChars.includes(e.key) && val[start] === e.key) {
291
+ e.preventDefault();
292
+ this.textarea.selectionStart = this.textarea.selectionEnd = start + 1;
293
+ return;
294
+ }
295
+ // Auto-Indent (Enter)
296
+ if (e.key === 'Enter') {
297
+ e.preventDefault();
298
+ const beforeCursor = val.substring(0, start);
299
+ const currentLine = beforeCursor.split('\n').pop();
300
+ const indentMatch = currentLine.match(/^\s*/);
301
+ let indent = indentMatch ? indentMatch[0] : '';
302
+ if (currentLine.trim().endsWith('{') || currentLine.trim().endsWith(':')) {
303
+ indent += ' ';
304
+ }
305
+ this.value = val.substring(0, start) + '\n' + indent + val.substring(end);
306
+ requestAnimationFrame(() => {
307
+ this.textarea.selectionStart = this.textarea.selectionEnd = start + 1 + indent.length;
308
+ this.highlightCode();
309
+ });
310
+ this.valueChange.emit(this.value);
311
+ return;
312
+ }
313
+ // Backspace pair delete
314
+ if (e.key === 'Backspace' && start === end && start > 0) {
315
+ const charBefore = val[start - 1];
316
+ const charAfter = val[start];
317
+ if ((charBefore === '{' && charAfter === '}') ||
318
+ (charBefore === '(' && charAfter === ')') ||
319
+ (charBefore === '[' && charAfter === ']') ||
320
+ (charBefore === '"' && charAfter === '"') ||
321
+ (charBefore === "'" && charAfter === "'")) {
322
+ e.preventDefault();
323
+ this.value = val.substring(0, start - 1) + val.substring(start + 1);
324
+ requestAnimationFrame(() => {
325
+ this.textarea.selectionStart = this.textarea.selectionEnd = start - 1;
326
+ this.highlightCode();
327
+ });
328
+ this.valueChange.emit(this.value);
329
+ }
330
+ }
331
+ };
332
+ handleSelection = (ev) => {
333
+ const target = ev.target;
334
+ const val = target.value;
335
+ const selStart = target.selectionStart;
336
+ const linesToCursor = val.substring(0, selStart).split('\n');
337
+ const line = linesToCursor.length;
338
+ const col = linesToCursor[linesToCursor.length - 1].length + 1;
339
+ const selLen = target.selectionEnd - target.selectionStart;
340
+ this.statusStats = { line, col, selected: selLen };
341
+ };
342
+ handleMinimapClick = (ev) => {
343
+ const rect = ev.currentTarget.getBoundingClientRect();
344
+ const clickY = ev.clientY - rect.top;
345
+ const percentage = clickY / rect.height;
346
+ if (this.textarea) {
347
+ this.textarea.scrollTop = percentage * this.textarea.scrollHeight - (this.textarea.clientHeight / 2);
348
+ }
349
+ };
350
+ handleCopy = () => {
351
+ navigator.clipboard.writeText(this.value);
352
+ };
353
+ handleTabClick(index) {
354
+ if (index < 0 || index >= this.tabs.length)
355
+ return;
356
+ this.activeTabIndex = index;
357
+ const tab = this.tabs[index];
358
+ this.value = tab.content;
359
+ // Cast to any to avoid strict type validation issues with dynamic strings vs union type
360
+ this.language = tab.language;
361
+ // Emit change?
362
+ this.valueChange.emit(this.value);
363
+ }
364
+ // --- Feature Logic ---
365
+ toggleSearch = () => {
366
+ this.showSearch = !this.showSearch;
367
+ if (this.showSearch) {
368
+ setTimeout(() => this.searchInput?.focus(), 50);
369
+ }
370
+ else {
371
+ this.searchQuery = '';
372
+ }
373
+ };
374
+ findNext() {
375
+ if (!this.searchQuery)
376
+ return;
377
+ const val = this.value;
378
+ const start = this.textarea.selectionEnd;
379
+ let index = val.indexOf(this.searchQuery, start);
380
+ if (index === -1) {
381
+ // Wrap around
382
+ index = val.indexOf(this.searchQuery, 0);
383
+ }
384
+ if (index !== -1) {
385
+ this.selectAndScroll(index, index + this.searchQuery.length);
386
+ }
387
+ }
388
+ findPrev() {
389
+ if (!this.searchQuery)
390
+ return;
391
+ const val = this.value;
392
+ const end = this.textarea.selectionStart;
393
+ let index = val.lastIndexOf(this.searchQuery, end - 1);
394
+ if (index === -1) {
395
+ // Wrap around
396
+ index = val.lastIndexOf(this.searchQuery);
397
+ }
398
+ if (index !== -1) {
399
+ this.selectAndScroll(index, index + this.searchQuery.length);
400
+ }
401
+ }
402
+ selectAndScroll(start, end) {
403
+ this.textarea.focus();
404
+ this.textarea.selectionStart = start;
405
+ this.textarea.selectionEnd = end;
406
+ // Ensure scroll sync
407
+ this.handleScroll();
408
+ }
409
+ togglePalette = () => {
410
+ this.showPalette = !this.showPalette;
411
+ this.paletteQuery = '';
412
+ if (this.showPalette) {
413
+ setTimeout(() => this.paletteInput?.focus(), 50);
414
+ }
415
+ };
416
+ runCommand(cmd) {
417
+ if (cmd.isSymbol) {
418
+ this.selectAndScroll(cmd.start, cmd.end);
419
+ }
420
+ else {
421
+ cmd.action();
422
+ }
423
+ this.showPalette = false;
424
+ }
425
+ getPaletteItems() {
426
+ if (this.paletteQuery.startsWith('@')) {
427
+ return this.getSymbols(this.paletteQuery.substring(1));
428
+ }
429
+ const query = this.paletteQuery.toLowerCase();
430
+ return this.commands.filter(cmd => cmd.label.toLowerCase().includes(query));
431
+ }
432
+ getSymbols(query) {
433
+ const symbols = [];
434
+ const lines = this.value.split('\n');
435
+ const q = query.toLowerCase();
436
+ // Simple regex-based symbol detection
437
+ const patterns = {
438
+ javascript: /function\s+([\w$]+)|const\s+([\w$]+)\s*=\s*\([^)]*\)\s*=>|class\s+([\w$]+)/g,
439
+ python: /def\s+([\w]+)|class\s+([\w]+)/g,
440
+ java: /(?:public|private|protected|static|\s) +[\w\<\>\[\]]+\s+([\w]+)\s*\([^)]*\)\s*\{|class\s+([\w]+)/g,
441
+ csharp: /(?:public|private|protected|static|\s) +[\w\<\>\[\]]+\s+([\w]+)\s*\([^)]*\)\s*\{|class\s+([\w]+)/g,
442
+ };
443
+ const pattern = patterns[this.language];
444
+ if (!pattern)
445
+ return [];
446
+ let currentPos = 0;
447
+ for (let i = 0; i < lines.length; i++) {
448
+ const line = lines[i];
449
+ let match;
450
+ while ((match = pattern.exec(line)) !== null) {
451
+ const name = match[1] || match[2] || match[3];
452
+ if (name && name.toLowerCase().includes(q)) {
453
+ symbols.push({
454
+ id: `symbol-${i}`,
455
+ label: `@${name}`,
456
+ isSymbol: true,
457
+ start: currentPos + match.index,
458
+ end: currentPos + match.index + match[0].length,
459
+ line: i + 1
460
+ });
461
+ }
462
+ }
463
+ currentPos += line.length + 1;
464
+ }
465
+ return symbols;
466
+ }
467
+ toggleTheme() {
468
+ this.theme = this.theme === 'vs-dark' ? 'vs-light' : 'vs-dark';
469
+ }
470
+ toggleMinimap() {
471
+ this.showMinimap = !this.showMinimap;
472
+ }
473
+ handleSelectAll() {
474
+ if (this.textarea) {
475
+ this.textarea.select();
476
+ }
477
+ }
478
+ handleUndo() {
479
+ document.execCommand('undo');
480
+ }
481
+ handleRedo() {
482
+ document.execCommand('redo');
483
+ }
484
+ handleCommentSelection() {
485
+ if (!this.textarea)
486
+ return;
487
+ const start = this.textarea.selectionStart;
488
+ const end = this.textarea.selectionEnd;
489
+ const val = this.value;
490
+ const selection = val.substring(start, end);
491
+ let newValue;
492
+ if (this.language === 'javascript' || this.language === 'python' || this.language === 'java' || this.language === 'csharp') {
493
+ const commentPrefix = this.language === 'python' ? '# ' : '// ';
494
+ if (selection.includes('\n')) {
495
+ newValue = selection.split('\n').map(l => l.startsWith(commentPrefix) ? l.substring(commentPrefix.length) : commentPrefix + l).join('\n');
496
+ }
497
+ else {
498
+ newValue = selection.startsWith(commentPrefix) ? selection.substring(commentPrefix.length) : commentPrefix + selection;
499
+ }
500
+ }
501
+ else if (this.language === 'html') {
502
+ newValue = selection.startsWith('<!--') ? selection.replace(/^<!--\s*([\s\S]*?)\s*-->$/, '$1') : `<!-- ${selection} -->`;
503
+ }
504
+ else if (this.language === 'css') {
505
+ newValue = selection.startsWith('/*') ? selection.replace(/^\/\*\s*([\s\S]*?)\s*\*\/$/, '$1') : `/* ${selection} */`;
506
+ }
507
+ if (newValue !== undefined) {
508
+ this.value = val.substring(0, start) + newValue + val.substring(end);
509
+ this.valueChange.emit(this.value);
510
+ requestAnimationFrame(() => {
511
+ this.textarea.selectionStart = start;
512
+ this.textarea.selectionEnd = start + newValue.length;
513
+ this.highlightCode();
514
+ });
515
+ }
516
+ }
517
+ simpleFormat() {
518
+ if (this.language === 'json') {
519
+ try {
520
+ const parsed = JSON.parse(this.value);
521
+ this.value = JSON.stringify(parsed, null, 2);
522
+ this.valueChange.emit(this.value);
523
+ }
524
+ catch (e) { }
525
+ return;
526
+ }
527
+ // Generic Indentation Formatter for C-style languages (JS, CSS, Java, C#, etc.)
528
+ const lines = this.value.split('\n');
529
+ let indentLevel = 0;
530
+ const indentString = ' '; // 2 spaces
531
+ const formattedLines = [];
532
+ for (let i = 0; i < lines.length; i++) {
533
+ let line = lines[i].trim();
534
+ if (line === '') {
535
+ formattedLines.push('');
536
+ continue;
537
+ }
538
+ // Heuristic: Decrease indent if line starts with closing brace/tag
539
+ if (line.match(/^[\}\]\)]/) || line.startsWith('</')) {
540
+ indentLevel = Math.max(0, indentLevel - 1);
541
+ }
542
+ // Apply Indent
543
+ formattedLines.push(indentString.repeat(indentLevel) + line);
544
+ // Heuristic: Increase indent if line ends with opening brace, start tag, or is a control statement start not ending in ;
545
+ if (line.endsWith('{') ||
546
+ line.endsWith('[') ||
547
+ line.endsWith('(') ||
548
+ (line.match(/<[^/].*>$/) && !line.match(/\/>$/) && !line.includes('</')) // HTML opening tag
549
+ ) {
550
+ indentLevel++;
551
+ }
552
+ }
553
+ this.value = formattedLines.join('\n');
554
+ this.valueChange.emit(this.value);
555
+ this.terminalLogs = [...this.terminalLogs, { type: 'info', text: 'Document formatted successfully.', time: new Date().toLocaleTimeString() }];
556
+ }
557
+ getLineGitStatus(lineIndex) {
558
+ // Mock Git status: green for new, yellow for modified
559
+ if (lineIndex % 15 === 0)
560
+ return 'added';
561
+ if (lineIndex % 25 === 0)
562
+ return 'modified';
563
+ return 'none';
564
+ }
565
+ // --- Linting ---
566
+ runLinting() {
567
+ const errors = [];
568
+ const lines = this.value.split('\n');
569
+ // Check for unbalanced brackets (Naive check per line usually fails for multi-line, doing global stack is better)
570
+ // But for "Simple Line Linting" let's check basic things.
571
+ // Actually, let's do a stack check for the whole file and find THE FIRST error line.
572
+ const stack = [];
573
+ for (let i = 0; i < lines.length; i++) {
574
+ const line = lines[i];
575
+ for (let j = 0; j < line.length; j++) {
576
+ const char = line[j];
577
+ if (['{', '[', '('].includes(char)) {
578
+ stack.push({ char, line: i + 1 });
579
+ }
580
+ else if (['}', ']', ')'].includes(char)) {
581
+ const last = stack.pop();
582
+ if (!last || !this.matches(last.char, char)) {
583
+ errors.push({ line: i + 1, msg: `Unexpected '${char}'` });
584
+ }
585
+ }
586
+ }
587
+ }
588
+ // If stack remains, the opened ones are unclosed
589
+ if (stack.length > 0) {
590
+ stack.forEach(item => {
591
+ errors.push({ line: item.line, msg: `Unclosed '${item.char}'` });
592
+ });
593
+ }
594
+ this.lintErrors = errors;
595
+ }
596
+ matches(open, close) {
597
+ return (open === '{' && close === '}') ||
598
+ (open === '[' && close === ']') ||
599
+ (open === '(' && close === ')');
600
+ }
601
+ // --- Folding ---
602
+ isLineFoldable(lineIndex, lines) {
603
+ // Simple heuristic: ends with { or start of block indentation
604
+ // Keeping it simple: Indentation increase check is robust for most languages
605
+ if (lineIndex >= lines.length - 1)
606
+ return false;
607
+ const currentIndent = this.getIndentLevel(lines[lineIndex]);
608
+ const nextIndent = this.getIndentLevel(lines[lineIndex + 1]);
609
+ return nextIndent > currentIndent || lines[lineIndex].trim().endsWith('{') || lines[lineIndex].trim().endsWith(':');
610
+ }
611
+ getIndentLevel(line) {
612
+ const match = line.match(/^\s*/);
613
+ return match ? match[0].length : 0;
614
+ }
615
+ toggleFold(lineNum) {
616
+ if (this.foldedLines.has(lineNum)) {
617
+ this.foldedLines.delete(lineNum);
618
+ }
619
+ else {
620
+ this.foldedLines.add(lineNum);
621
+ }
622
+ // Force re-render -> handled by State change
623
+ this.foldedLines = new Set(this.foldedLines);
624
+ }
625
+ foldAll() {
626
+ const lines = this.value.split('\n');
627
+ for (let i = 0; i < lines.length; i++) {
628
+ if (this.isLineFoldable(i, lines))
629
+ this.foldedLines.add(i + 1);
630
+ }
631
+ this.foldedLines = new Set(this.foldedLines);
632
+ }
633
+ unfoldAll() {
634
+ this.foldedLines.clear();
635
+ this.foldedLines = new Set(this.foldedLines);
636
+ }
637
+ // --- Rendering ---
638
+ updateLineCount() {
639
+ const lines = this.value ? this.value.split('\n').length : 1;
640
+ this.lineCount = lines;
641
+ }
642
+ highlightCode() {
643
+ if (!this.value) {
644
+ this.highlightedCode = '';
645
+ return;
646
+ }
647
+ let code = this.escapeHtml(this.value);
648
+ switch (this.language) {
649
+ case 'javascript':
650
+ case 'json':
651
+ code = this.highlightJS(code);
652
+ break;
653
+ case 'html':
654
+ code = this.highlightHTML(code);
655
+ break;
656
+ case 'css':
657
+ code = this.highlightCSS(code);
658
+ break;
659
+ case 'python':
660
+ code = this.highlightPython(code);
661
+ break;
662
+ case 'java':
663
+ case 'csharp':
664
+ code = this.highlightJavaCSharp(code);
665
+ break;
666
+ case 'ladder':
667
+ code = this.highlightLadder(code);
668
+ break;
669
+ }
670
+ // Add Linting Decorators (Regex replace on specific lines is hard on already HTML-escaped code)
671
+ // Simplification: We will only mark the line numbers in red for now,
672
+ // to avoid breaking the syntax highlighter HTML structure.
673
+ if (this.value.endsWith('\n')) {
674
+ code += '<br>';
675
+ }
676
+ this.highlightedCode = code;
677
+ }
678
+ // ... highlight engines ...
679
+ escapeRegex(string) { return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); }
680
+ escapeHtml(unsafe) { return unsafe.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;"); }
681
+ highlightJS(code) {
682
+ return code.replace(/\/\/.*/g, '<span class="token comment">$&</span>')
683
+ .replace(/\/\*[\s\S]*?\*\//g, '<span class="token comment">$&</span>')
684
+ .replace(/('.*?')|(".*?")|(`[\s\S]*?`)/g, '<span class="token string">$&</span>')
685
+ .replace(/\b(const|let|var|function|return|if|else|for|while|import|export|class|this|new|true|false|null|undefined|async|await|try|catch|finally|throw|break|continue|default|case|switch|typeof|instanceof|void|delete|in|of|static|get|set|extends|super)\b/g, '<span class="token keyword">$&</span>')
686
+ .replace(/\b(\d+)\b/g, '<span class="token number">$&</span>')
687
+ .replace(/\b([A-Z][a-zA-Z0-9_]*)\b/g, '<span class="token class">$&</span>')
688
+ .replace(/(\w+)(?=\()/g, '<span class="token function">$&</span>');
689
+ }
690
+ highlightHTML(code) {
691
+ return code.replace(/(&lt;\/?)(\w+)(.*?)(&gt;)/g, (_m, p1, p2, p3, p4) => `<span class="token tag">${p1}${p2}</span>${p3.replace(/(\w+)=("[^"]*")/g, '<span class="token attr-name">$1</span>=<span class="token string">$2</span>')}<span class="token tag">${p4}</span>`)
692
+ .replace(/&lt;!--[\s\S]*?--&gt;/g, '<span class="token comment">$&</span>');
693
+ }
694
+ highlightCSS(code) {
695
+ return code.replace(/\/\*[\s\S]*?\*\//g, '<span class="token comment">$&</span>')
696
+ .replace(/([a-zA-Z-]+)(?=:)/g, '<span class="token property">$1</span>')
697
+ .replace(/(:)([^;]+)(;)/g, (_m, p1, p2, p3) => `${p1}<span class="token number">${p2}</span>${p3}`)
698
+ .replace(/(\.|#)([\w-]+)/g, '<span class="token selector">$1$2</span>');
699
+ }
700
+ highlightPython(code) {
701
+ return code.replace(/#.*/g, '<span class="token comment">$&</span>')
702
+ .replace(/("""[\s\S]*?""")|('''.*?''')/g, '<span class="token string">$&</span>')
703
+ .replace(/('.*?')|(".*?")/g, '<span class="token string">$&</span>')
704
+ .replace(/\b(def|class|if|elif|else|for|while|return|import|from|as|try|except|finally|with|pass|continue|break|True|False|None)\b/g, '<span class="token keyword">$&</span>')
705
+ .replace(/\b(\d+)\b/g, '<span class="token number">$&</span>')
706
+ .replace(/\b([A-Z][a-zA-Z0-9_]*)\b/g, '<span class="token class">$&</span>')
707
+ .replace(/@\w+/g, '<span class="token function">$&</span>');
708
+ }
709
+ highlightJavaCSharp(code) {
710
+ return code.replace(/\/\/.*/g, '<span class="token comment">$&</span>')
711
+ .replace(/('.*?')|(".*?")/g, '<span class="token string">$&</span>').replace(/\b(public|private|protected|static|final|class|interface|void|int|double|String|boolean|if|else|for|while|return|new|this|super|extends|implements|try|catch|finally|throw|throws|package|import|namespace|using|var)\b/g, '<span class="token keyword">$&</span>')
712
+ .replace(/\b(\d+)\b/g, '<span class="token number">$&</span>').replace(/\b([A-Z][a-zA-Z0-9_]*)\b/g, '<span class="token class">$&</span>').replace(/@\w+/g, '<span class="token function">$&</span>');
713
+ }
714
+ highlightLadder(code) {
715
+ return code.replace(/\(\*.*?\*\)/g, '<span class="token comment">$&</span>').replace(/\b(XIC|XIO|OTE|OTL|OTU|TON|TOF|RTO|CTU|CTD|MOV|COP|ADD|SUB|MUL|DIV|LIM|EQU|NEQ|LES|GRT|LEQ|GEQ|JMP|LBL)\b/g, '<span class="token keyword">$&</span>').replace(/\b(PROGRAM|END_PROGRAM|VAR|END_VAR|BOOL|INT|REAL|TIME|TON|IF|THEN|END_IF)\b/g, '<span class="token keyword">$&</span>').replace(/%[IQM][\d\.]+/g, '<span class="token number">$&</span>').replace(/\b([A-Z][a-zA-Z0-9_]*)\b/g, '<span class="token variable">$&</span>');
716
+ }
717
+ renderLineNumbers() {
718
+ if (!this.showLineNumbers)
719
+ return null;
720
+ const lines = this.value.split('\n');
721
+ return (h("div", { class: "line-numbers", ref: el => this.lineNumbersRef = el }, lines.map((_content, i) => {
722
+ const lineNum = i + 1;
723
+ const isError = this.lintErrors.find(e => e.line === lineNum);
724
+ const isFoldable = this.isLineFoldable(i, lines);
725
+ const isFolded = this.foldedLines.has(lineNum);
726
+ const gitStatus = this.getLineGitStatus(i);
727
+ return (h("div", { class: {
728
+ 'line-number': true,
729
+ [`git-${gitStatus}`]: gitStatus !== 'none'
730
+ }, onClick: () => isFoldable && this.toggleFold(lineNum), style: { color: isError ? '#ff4d4d' : 'inherit' }, title: isError ? isError.msg : '' }, lineNum, isFoldable && (h("span", { class: "fold-icon" }, h("ui-icon", { name: `chevron-${isFolded ? 'right' : 'down'}`, library: "fontawesome", size: "10px" })))));
731
+ })));
732
+ }
733
+ renderPalette() {
734
+ if (!this.showPalette)
735
+ return null;
736
+ const items = this.getPaletteItems();
737
+ return (h("div", { class: "editor-palette-overlay", onClick: this.togglePalette }, h("div", { class: "editor-palette", onClick: e => e.stopPropagation() }, h("div", { class: "palette-input-wrapper" }, h("ui-icon", { name: "terminal", library: "fontawesome" }), h("ui-input", { type: "text", placeholder: "Type a command or @ for symbols...", value: this.paletteQuery, onInputChange: (e) => this.paletteQuery = e.detail, ref: el => this.paletteInput = el, onInputKeydown: e => {
738
+ if (e.detail.key === 'Escape')
739
+ this.togglePalette();
740
+ if (e.detail.key === 'Enter' && items.length > 0)
741
+ this.runCommand(items[0]);
742
+ }, variant: "plain", size: "sm" })), h("div", { class: "palette-results" }, items.length > 0 ? items.map(cmd => (h("div", { class: "palette-item", onClick: () => this.runCommand(cmd) }, h("ui-icon", { name: cmd.isSymbol ? "at" : "play", library: "fontawesome", size: "14px" }), h("span", null, cmd.label), cmd.line && h("span", { class: "palette-meta" }, "Line ", cmd.line)))) : (h("div", { class: "palette-no-results" }, "No results found"))))));
743
+ }
744
+ renderSearch() {
745
+ if (!this.showSearch)
746
+ return null;
747
+ return (h("div", { class: "search-widget" }, h("ui-input", { customClass: "search-input", ref: el => this.searchInput = el, type: "text", placeholder: "Find", value: this.searchQuery, onInputChange: (e) => this.searchQuery = e.detail, onInputKeydown: (e) => {
748
+ const event = e.detail;
749
+ if (event.key === 'Escape')
750
+ this.showSearch = false;
751
+ if (event.key === 'Enter') {
752
+ event.shiftKey ? this.findPrev() : this.findNext();
753
+ }
754
+ }, size: "sm", variant: "outlined" }), h("div", { class: "search-actions" }, h("ui-button", { variant: "ghost", size: "sm", onClick: () => this.findPrev(), ariaLabel: "Previous (Shift+Enter)", icon: "arrow-up", iconLibrary: "fontawesome", iconOnly: true, iconSize: "14px" }), h("ui-button", { variant: "ghost", size: "sm", onClick: () => this.findNext(), ariaLabel: "Next (Enter)", icon: "arrow-down", iconLibrary: "fontawesome", iconOnly: true, iconSize: "14px" }), h("ui-button", { variant: "ghost", size: "sm", onClick: () => this.showSearch = false, ariaLabel: "Close search", icon: "times", iconLibrary: "fontawesome", iconOnly: true, iconSize: "14px" }))));
755
+ }
756
+ renderMinimap() {
757
+ if (!this.showMinimap)
758
+ return null;
759
+ return (h("div", { class: "minimap-container", onClick: this.handleMinimapClick }, h("div", { class: "minimap-content", innerHTML: sanitizeHTML(this.highlightedCode), ref: el => this.minimapRef = el }), h("div", { class: "minimap-viewport", ref: el => this.minimapViewport = el })));
760
+ }
761
+ renderStatusBar() {
762
+ return (h("div", { class: "status-bar" }, h("div", { class: "status-item" }, h("ui-icon", { name: "code-branch", library: "fontawesome", size: "14px" }), " main"), h("div", { class: "status-item" }, h("ui-icon", { name: "exclamation-circle", library: "fontawesome", size: "14px" }), " ", this.lintErrors.length, " Errors"), h("div", { class: "status-item" }, "Ln ", this.statusStats.line, ", Col ", this.statusStats.col), h("div", { class: "status-item" }, this.statusStats.selected > 0 ? `(${this.statusStats.selected} selected)` : ''), h("div", { class: "status-item" }, "Spaces: 2"), h("div", { class: "status-item" }, this.language.toUpperCase()), h("div", { class: "status-item", onClick: () => this.toggleTheme(), style: { cursor: 'pointer' } }, this.theme === 'vs-dark' ? h("ui-icon", { name: "moon", library: "fontawesome", size: "14px" }) : h("ui-icon", { name: "sun", library: "fontawesome", size: "14px" }))));
763
+ }
764
+ renderSuggestions() {
765
+ if (!this.showSuggestions)
766
+ return null;
767
+ return (h("ul", { class: "suggestion-list", style: { top: `${this.suggestionPos.top}px`, left: `${this.suggestionPos.left}px` } }, this.suggestions.map((s, i) => (h("li", { class: i === this.suggestionIndex ? 'active' : '', onClick: () => this.acceptSuggestion(s), onMouseDown: e => e.preventDefault() }, h("ui-icon", { name: "cube", library: "fontawesome", size: "14px", class: "icon" }), " ", s)))));
768
+ }
769
+ renderRibbonButton(icon, label, onClick, options = {}) {
770
+ const { lg = false, color } = options;
771
+ const showLabel = this.toolbarLabelDisplay === 'always';
772
+ const useTooltip = this.toolbarLabelDisplay === 'hover';
773
+ const btn = (h("ui-button", { slot: useTooltip ? "target" : undefined,
774
+ // class={{
775
+ // 'ribbon-btn': true,
776
+ // 'lg': lg,
777
+ // 'active': active,
778
+ // 'icon-only': !showLabel
779
+ // }}
780
+ onClick: onClick, style: color ? { color } : {}, ariaLabel: label, label: showLabel ? label : undefined, icon: icon.replace(/^fa[sb]? fa-/, ''), iconLibrary: "fontawesome", iconOnly: !showLabel, size: lg ? 'lg' : 'md', variant: "ghost" }));
781
+ if (useTooltip) {
782
+ return (h("ui-tooltip", { content: label, position: "bottom" }, btn));
783
+ }
784
+ return btn;
785
+ }
786
+ isGroupVisible(groupName) {
787
+ if (!this.toolbarGroups || this.toolbarGroups.includes('all'))
788
+ return true;
789
+ return this.toolbarGroups.includes(groupName);
790
+ }
791
+ renderToolbar() {
792
+ if (!this.toolbar)
793
+ return null;
794
+ return (h("div", { class: `editor-ribbon-container labels-${this.toolbarLabelDisplay}` }, h("div", { class: "ribbon-tabs" }, h("div", { class: `ribbon-tab ${this.activeToolbarTab === 'home' ? 'active' : ''}`, onClick: () => this.activeToolbarTab = 'home' }, h("ui-tooltip", { content: "Home", position: "bottom" }, h("ui-icon", { name: "home", library: "fontawesome", slot: "target", size: "16px" }))), h("div", { class: `ribbon-tab ${this.activeToolbarTab === 'edit' ? 'active' : ''}`, onClick: () => this.activeToolbarTab = 'edit' }, h("ui-tooltip", { content: "Edit", position: "bottom" }, h("ui-icon", { name: "edit", library: "fontawesome", slot: "target", size: "16px" }))), h("div", { class: `ribbon-tab ${this.activeToolbarTab === 'view' ? 'active' : ''}`, onClick: () => this.activeToolbarTab = 'view' }, h("ui-tooltip", { content: "View", position: "bottom" }, h("ui-icon", { name: "eye", library: "fontawesome", slot: "target", size: "16px" }))), h("div", { class: `ribbon-tab ${this.activeToolbarTab === 'run' ? 'active' : ''}`, onClick: () => this.activeToolbarTab = 'run' }, h("ui-tooltip", { content: "Run", position: "bottom" }, h("ui-icon", { name: "play", library: "fontawesome", slot: "target", size: "16px" })))), h("div", { class: "ribbon-content" }, this.activeToolbarTab === 'home' && (h("div", { class: "ribbon-panel" }, this.isGroupVisible('history') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-undo', 'Undo', () => this.handleUndo(), { lg: true }), this.renderRibbonButton('fas fa-redo', 'Redo', () => this.handleRedo(), { lg: true })), h("div", { class: "ribbon-group-label" }, "History"))), this.isGroupVisible('history') && this.isGroupVisible('clipboard') && h("div", { class: "ribbon-group divider" }), this.isGroupVisible('clipboard') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-copy', 'Copy', () => this.handleCopy()), this.renderRibbonButton('fas fa-mouse-pointer', 'Select All', () => this.handleSelectAll())), h("div", { class: "ribbon-group-label" }, "Clipboard"))), (this.isGroupVisible('history') || this.isGroupVisible('clipboard')) && this.isGroupVisible('search') && h("div", { class: "ribbon-group divider" }), this.isGroupVisible('search') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-search', 'Find', () => this.toggleSearch(), { lg: true }), this.renderRibbonButton('fas fa-terminal', 'Palette', () => this.togglePalette(), { lg: true })), h("div", { class: "ribbon-group-label" }, "Search"))))), this.activeToolbarTab === 'edit' && (h("div", { class: "ribbon-panel" }, this.isGroupVisible('document') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-code', 'Format', () => this.simpleFormat(), { lg: true })), h("div", { class: "ribbon-group-label" }, "Document"))), this.isGroupVisible('document') && this.isGroupVisible('folding') && h("div", { class: "ribbon-group divider" }), this.isGroupVisible('folding') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-minus-square', 'Fold All', () => this.foldAll()), this.renderRibbonButton('fas fa-plus-square', 'Unfold All', () => this.unfoldAll())), h("div", { class: "ribbon-group-label" }, "Folding"))), (this.isGroupVisible('document') || this.isGroupVisible('folding')) && this.isGroupVisible('actions') && h("div", { class: "ribbon-group divider" }), this.isGroupVisible('actions') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-comment-slash', 'Comment', () => this.handleCommentSelection())), h("div", { class: "ribbon-group-label" }, "Actions"))))), this.activeToolbarTab === 'view' && (h("div", { class: "ribbon-panel" }, this.isGroupVisible('interface') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-map', 'Minimap', () => this.toggleMinimap(), { lg: true, active: this.showMinimap }), this.renderRibbonButton('fas fa-list-ol', 'Line Numbers', () => this.showLineNumbers = !this.showLineNumbers, { lg: true, active: this.showLineNumbers })), h("div", { class: "ribbon-group-label" }, "Interface"))), this.isGroupVisible('interface') && this.isGroupVisible('theme') && h("div", { class: "ribbon-group divider" }), this.isGroupVisible('theme') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton(this.theme === 'vs-dark' ? 'fas fa-moon' : 'fas fa-sun', this.theme === 'vs-dark' ? 'Dark' : 'Light', () => this.toggleTheme(), { lg: true })), h("div", { class: "ribbon-group-label" }, "Theme"))), (this.isGroupVisible('interface') || this.isGroupVisible('theme')) && this.isGroupVisible('appearance') && h("div", { class: "ribbon-group divider" }), this.isGroupVisible('appearance') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, h("div", { class: "ribbon-select-container" }, h("select", { onChange: (e) => this.fontSize = parseInt(e.target.value) }, [10, 12, 14, 16, 18, 20, 24].map(size => (h("option", { value: size, selected: this.fontSize === size }, size, "px")))), this.toolbarLabelDisplay === 'always' && h("span", null, "Font Size"))), h("div", { class: "ribbon-group-label" }, "Appearance"))))), this.activeToolbarTab === 'run' && (h("div", { class: "ribbon-panel" }, this.isGroupVisible('execution') && (h("div", { class: "ribbon-group" }, h("div", { class: "ribbon-group-content" }, this.renderRibbonButton('fas fa-play', 'Run Code', () => this.runCode.emit(), { lg: true, color: '#4ade80' })), h("div", { class: "ribbon-group-label" }, "Execution"))))))));
795
+ }
796
+ renderHelp() {
797
+ if (!this.showHelp)
798
+ return null;
799
+ return (h("div", { class: "help-modal-overlay", onClick: () => this.showHelp = false }, h("div", { class: "help-modal", onClick: e => e.stopPropagation() }, h("div", { class: "help-header" }, h("h3", null, "Editor Shortcuts & Help"), h("ui-button", { variant: "ghost", onClick: () => this.showHelp = false, ariaLabel: "Close help", icon: "times", iconLibrary: "fontawesome", iconOnly: true })), h("div", { class: "help-content" }, h("div", { class: "help-section" }, h("h4", null, "Keyboard Shortcuts"), h("ul", null, h("li", null, h("kbd", null, "Ctrl"), " + ", h("kbd", null, "F"), " : Find / Search"), h("li", null, h("kbd", null, "Ctrl"), " + ", h("kbd", null, "Shift"), " + ", h("kbd", null, "P"), " : Command Palette"), h("li", null, h("kbd", null, "Ctrl"), " + ", h("kbd", null, "Space"), " : Trigger Suggestions"), h("li", null, h("kbd", null, "Tab"), " : Indent / Accept Suggestion"))), h("div", { class: "help-section" }, h("h4", null, "Toolbar Features"), h("ul", null, h("li", null, h("ui-icon", { name: "play", library: "fontawesome", style: { color: '#4ade80' }, size: "14px" }), " ", h("strong", null, "Run"), ": Execute code (demo mode)"), h("li", null, h("ui-icon", { name: "indent", library: "fontawesome", size: "14px" }), " ", h("strong", null, "Format"), ": Auto-indent code"), h("li", null, h("ui-icon", { name: "moon", library: "fontawesome", size: "14px" }), " ", h("strong", null, "Theme"), ": Toggle Dark/Light")))))));
800
+ }
801
+ renderTabBar() {
802
+ if (!this.tabs || this.tabs.length === 0)
803
+ return null;
804
+ return (h("div", { class: "editor-tabs" }, this.tabs.map((tab, i) => (h("div", { class: `editor-tab ${i === this.activeTabIndex ? 'active' : ''}`, onClick: () => this.handleTabClick(i) }, h("ui-icon", { class: "tab-icon", name: this.getIconForLang(tab.language), library: "fontawesome" }), h("span", { class: "tab-title" }, tab.title))))));
805
+ }
806
+ getIconForLang(lang) {
807
+ switch (lang) {
808
+ case 'javascript': return 'js-square'; // Needs font awesome brands or just use file-code
809
+ case 'html': return 'html5';
810
+ case 'css': return 'css3';
811
+ case 'python': return 'python';
812
+ case 'java': return 'java';
813
+ case 'json': return 'code';
814
+ default: return 'file-alt';
815
+ }
816
+ }
817
+ // --- Advanced IDE Methods ---
818
+ renderSidebar() {
819
+ if (!this.showSidebar)
820
+ return null;
821
+ return (h("div", { class: { 'editor-sidebar': true, 'collapsed': !this.showSidebar } }, h("div", { class: "sidebar-tabs" }, h("div", { class: { 'sidebar-tab': true, 'active': this.activeSidebarTab === 'files' }, onClick: () => this.activeSidebarTab = 'files' }, h("ui-icon", { name: "copy", library: "fontawesome" }))), h("div", { class: "sidebar-content" }, this.activeSidebarTab === 'files' && (h("div", { class: "file-explorer" }, h("div", { class: "sidebar-header" }, "EXPLORER"), h("div", { class: "file-list" }, this.files.map((file, index) => (h("div", { class: { 'file-item': true, 'active': this.activeFileIndex === index }, onClick: () => this.switchFile(index) }, h("ui-icon", { name: this.getFileIcon(file.name).split(' ').find(c => c.startsWith('fa-')).replace('fa-', ''), library: "fontawesome", class: this.getFileIcon(file.name) }), h("span", null, file.name))))))))));
822
+ }
823
+ handleTerminalKeyDown = (e) => {
824
+ if (e.key === 'Enter') {
825
+ const input = e.target;
826
+ const cmd = input.value.trim().toLowerCase();
827
+ if (!cmd)
828
+ return;
829
+ this.terminalLogs = [...this.terminalLogs, { type: 'info', text: `$ ${input.value}`, time: new Date().toLocaleTimeString() }];
830
+ if (cmd === 'clear') {
831
+ this.terminalLogs = [];
832
+ }
833
+ else if (cmd === 'run' || cmd === 'node index.js') {
834
+ this.terminalLogs = [...this.terminalLogs, { type: 'info', text: 'Executing program...', time: new Date().toLocaleTimeString() }];
835
+ setTimeout(() => {
836
+ const results = this.executeCode();
837
+ const logs = results.map(r => ({ ...r, time: new Date().toLocaleTimeString() }));
838
+ this.terminalLogs = [...this.terminalLogs, ...logs];
839
+ this.runCode.emit();
840
+ }, 500);
841
+ }
842
+ else if (cmd === 'help') {
843
+ this.terminalLogs = [...this.terminalLogs, { type: 'info', text: 'Available commands: run, clear, help, ls, whoami', time: new Date().toLocaleTimeString() }];
844
+ }
845
+ else {
846
+ this.terminalLogs = [...this.terminalLogs, { type: 'error', text: `Command not found: ${cmd}`, time: new Date().toLocaleTimeString() }];
847
+ }
848
+ input.value = '';
849
+ }
850
+ };
851
+ renderBreadcrumbs() {
852
+ const activeFile = this.files[this.activeFileIndex];
853
+ return (h("div", { class: "editor-breadcrumbs" }, h("div", { class: "breadcrumb-item" }, h("ui-icon", { name: "folder-open", library: "fontawesome", size: "12px" }), h("span", null, "project"), h("span", { class: "separator" }, "/")), h("div", { class: "breadcrumb-item" }, h("ui-icon", { name: this.getFileIcon(activeFile.name).split(' ').find(c => c.startsWith('fa-')).replace('fa-', ''), library: "fontawesome", class: this.getFileIcon(activeFile.name), size: "12px" }), h("span", null, activeFile.name))));
854
+ }
855
+ renderBottomPanel() {
856
+ if (!this.showBottomPanel)
857
+ return null;
858
+ return (h("div", { class: { 'editor-bottom-panel': true, 'collapsed': !this.showBottomPanel } }, h("div", { class: "panel-header" }, h("div", { class: "panel-tabs" }, h("div", { class: { 'panel-tab': true, 'active': this.activeBottomTab === 'terminal' }, onClick: () => this.activeBottomTab = 'terminal' }, "TERMINAL"), h("div", { class: { 'panel-tab': true, 'active': this.activeBottomTab === 'output' }, onClick: () => this.activeBottomTab = 'output' }, "OUTPUT"), h("div", { class: { 'panel-tab': true, 'active': this.activeBottomTab === 'problems' }, onClick: () => this.activeBottomTab = 'problems' }, "PROBLEMS")), h("div", { class: "panel-controls" }, h("ui-icon", { name: "times", library: "fontawesome", onClick: () => this.showBottomPanel = false, style: { cursor: 'pointer' } }))), h("div", { class: "panel-content" }, this.activeBottomTab === 'terminal' && (h("div", { class: "terminal-content" }, this.terminalLogs.map(log => (h("div", { class: `log-item ${log.type}` }, h("span", { class: "log-time" }, "[", log.time, "]"), h("span", { class: "log-text" }, log.text)))), h("div", { class: "terminal-input-line" }, h("span", { class: "terminal-prompt" }, "$"), h("ui-input", { type: "text", customClass: "terminal-input", placeholder: "Type a command (run, clear, help)...", onInputKeydown: (e) => this.handleTerminalKeyDown(e.detail), variant: "plain", size: "sm", fullWidth: true })))), this.activeBottomTab === 'output' && (h("div", { class: "output-preview", style: { display: 'flex', alignItems: 'center', justifyCenter: 'center', height: '100%', background: '#f8fafc', color: '#64748b' } }, h("div", { style: { textAlign: 'center' } }, h("ui-icon", { name: "eye-slash", library: "fontawesome", size: "32px", style: { opacity: 0.5, marginBottom: '12px' } }), h("p", { style: { fontSize: '14px', fontWeight: '500' } }, "Live Preview Disabled (No Iframe)")))))));
859
+ }
860
+ switchFile(index) {
861
+ this.activeFileIndex = index;
862
+ const file = this.files[index];
863
+ this.value = file.content;
864
+ this.language = file.language;
865
+ this.valueChange.emit(this.value);
866
+ }
867
+ getFileIcon(name) {
868
+ if (name.endsWith('.js'))
869
+ return 'fab fa-js-square text-warning';
870
+ if (name.endsWith('.html'))
871
+ return 'fab fa-html5 text-danger';
872
+ if (name.endsWith('.css'))
873
+ return 'fab fa-css3-alt text-primary';
874
+ return 'fas fa-file-code';
875
+ }
876
+ // --- Render ---
877
+ render() {
878
+ const themeClass = this.theme === 'vs-light' ? 'theme-vs-light' : 'theme-vs-dark';
879
+ const lines = this.value.split('\n');
880
+ // Folding Mask Logic
881
+ // If a line is folded, we determine how many lines to hide.
882
+ // Hiding logic: hide until indentation is same or less than fold line
883
+ const visibleLinesIndices = [];
884
+ let skipUntilIndentCheck = -1;
885
+ let indentLevelToCheck = -1;
886
+ for (let i = 0; i < lines.length; i++) {
887
+ if (skipUntilIndentCheck !== -1) {
888
+ const currentIndent = this.getIndentLevel(lines[i]);
889
+ if (currentIndent <= indentLevelToCheck && lines[i].trim() !== '') {
890
+ // End fold
891
+ skipUntilIndentCheck = -1;
892
+ visibleLinesIndices.push(i);
893
+ }
894
+ else {
895
+ // Still hidden
896
+ continue;
897
+ }
898
+ }
899
+ else {
900
+ visibleLinesIndices.push(i);
901
+ if (this.foldedLines.has(i + 1)) {
902
+ // Start fold
903
+ skipUntilIndentCheck = i + 1;
904
+ indentLevelToCheck = this.getIndentLevel(lines[i]);
905
+ }
906
+ }
907
+ }
908
+ // Reconstruct visible value for display is tricky because textarea needs full value.
909
+ // For now, we will use CSS transformation or just mask the lines in line-number rendering?
910
+ // Actually, preventing rendering in the textarea is problematic for editing.
911
+ // Proper code folding usually uses a specialized view model.
912
+ // Quick Hack: We can't easily hide lines in a native textarea without breaking editing sync.
913
+ // Strategy change: Just hide the "Preview" lines? No, that desyncs.
914
+ // Strategy change for MVP: Only support folding visually in the "Read Only" mode or just acknowledge limitation.
915
+ // Better: We will NOT physically hide lines in textarea because it breaks cursor.
916
+ // We will just show the UI for it and maybe collapse the HEIGHT of those lines to 0?
917
+ // Implementing line-height collapsing in a plain textarea is impossible.
918
+ // So, rigorous folding is impossible with a naive Textarea overlay.
919
+ // Compromise: We will implement the Logic and UI but maybe "Mock" the folding effect by removing content from display?
920
+ // Let's stick to the visual cues for now and maybe "Filter" the content if Readonly.
921
+ // Or... we actually strip the lines from the value temporarily? No, dangerous.
922
+ // Let's implement the Command Palette and Linting primarily. Folding might remain "Visual only" (icon toggles state but nothing happens)
923
+ // unless we switch to `contenteditable` div which is out of scope.
924
+ // Wait! We can set `line-height: 0` on specific lines? No, textarea is one block.
925
+ // OK, for this task, I will enable the "UI" of folding (icons) but adding a "Not fully supported in Textarea mode" note?
926
+ // OR: I can replace the textarea value with a "Folded" version when folded?
927
+ // i.e. `Line 1 {\n ... }` -> `Line 1 { ...`
928
+ // Then map cursor positions. Too complex.
929
+ // Revised Plan for Folding:
930
+ // Since we are building a "Premium" feel demo, getting stuck on Textarea limitations is bad.
931
+ // But rewriting to contenteditable is huge.
932
+ // I will implement the Linting and Palette fully.
933
+ // For Folding, I'll add the Icons and State, but maybe disable the actual hiding to avoid broken editing.
934
+ // OR: changing the `textarea` height/transform? No.
935
+ // I'll leave the Folding Logic in place but comment out the Layout shift if it's too risky.
936
+ // Actually, let's try to just filter the `lines` map in `renderLineNumbers` to visually show we handle it,
937
+ // but for the textarea/pre, we CANNOT hide separate lines.
938
+ return (h("div", { key: '321fc92d91bf5365394b866e7efef0bcce5f92e8', class: `code-editor-container ${themeClass}` }, this.renderTabBar(), this.renderToolbar(), this.renderPalette(), h("div", { key: '212c74c9fae6bddf8206698c2b7279acc328cdf6', class: "code-editor-layout" }, this.renderSidebar(), h("div", { key: '6afeb17b34a66e4cdaf72d8582041913a58d13fc', class: "editor-main-panel" }, this.renderBreadcrumbs(), h("div", { key: '7a3e97d74cc5b68250a4471a3e1b9fa858d22b98', class: "editor-main-content", style: { display: 'flex', flex: '1', minHeight: '0', position: 'relative' } }, this.renderLineNumbers(), h("div", { key: 'ce569b57f4c9b4365cd9f014d8aff2d1c8679b8b', class: "editor-wrapper" }, this.renderSearch(), this.renderSuggestions(), h("ui-button", { key: '629168b1f60cc6a962af7d4f81e0078d5c13f2d4', variant: "ghost", class: "copy-button", onClick: this.handleCopy, ariaLabel: "Copy Code", icon: "copy", iconLibrary: "fontawesome", iconOnly: true }), h("pre", { key: 'd4fa13f823d5ba4ab80db9ab66286de099ba28cc', class: "syntax-highlighter", ref: el => this.pre = el, innerHTML: sanitizeHTML(this.highlightedCode) }), h("textarea", { key: '77d8ec6eb4aa8cea02da3ca30d1b5a992717d319', class: "editor-content", ref: el => this.textarea = el, value: this.value, onInput: this.handleInput, onScroll: this.handleScroll, onKeyDown: this.handleKeydown, onSelect: this.handleSelection, onClick: this.handleSelection, onKeyUp: this.handleSelection, spellcheck: false, readonly: this.readonly, role: "textbox", "aria-multiline": "true", "aria-label": "Code Editor" })), this.renderMinimap()), this.renderBottomPanel())), this.renderStatusBar(), this.renderHelp()));
939
+ }
940
+ static get is() { return "ui-code-editor"; }
941
+ static get encapsulation() { return "shadow"; }
942
+ static get originalStyleUrls() {
943
+ return {
944
+ "$": ["code-editor.scss"]
945
+ };
946
+ }
947
+ static get styleUrls() {
948
+ return {
949
+ "$": ["code-editor.css"]
950
+ };
951
+ }
952
+ static get properties() {
953
+ return {
954
+ "value": {
955
+ "type": "string",
956
+ "mutable": true,
957
+ "complexType": {
958
+ "original": "string",
959
+ "resolved": "string",
960
+ "references": {}
961
+ },
962
+ "required": false,
963
+ "optional": false,
964
+ "docs": {
965
+ "tags": [],
966
+ "text": ""
967
+ },
968
+ "getter": false,
969
+ "setter": false,
970
+ "reflect": false,
971
+ "attribute": "value",
972
+ "defaultValue": "''"
973
+ },
974
+ "language": {
975
+ "type": "string",
976
+ "mutable": false,
977
+ "complexType": {
978
+ "original": "'javascript' | 'html' | 'css' | 'json' | 'markdown' | 'python' | 'java' | 'csharp' | 'ladder'",
979
+ "resolved": "\"csharp\" | \"css\" | \"html\" | \"java\" | \"javascript\" | \"json\" | \"ladder\" | \"markdown\" | \"python\"",
980
+ "references": {}
981
+ },
982
+ "required": false,
983
+ "optional": false,
984
+ "docs": {
985
+ "tags": [],
986
+ "text": ""
987
+ },
988
+ "getter": false,
989
+ "setter": false,
990
+ "reflect": false,
991
+ "attribute": "language",
992
+ "defaultValue": "'javascript'"
993
+ },
994
+ "theme": {
995
+ "type": "string",
996
+ "mutable": false,
997
+ "complexType": {
998
+ "original": "'vs-dark' | 'vs-light'",
999
+ "resolved": "\"vs-dark\" | \"vs-light\"",
1000
+ "references": {}
1001
+ },
1002
+ "required": false,
1003
+ "optional": false,
1004
+ "docs": {
1005
+ "tags": [],
1006
+ "text": ""
1007
+ },
1008
+ "getter": false,
1009
+ "setter": false,
1010
+ "reflect": false,
1011
+ "attribute": "theme",
1012
+ "defaultValue": "'vs-dark'"
1013
+ },
1014
+ "readonly": {
1015
+ "type": "boolean",
1016
+ "mutable": false,
1017
+ "complexType": {
1018
+ "original": "boolean",
1019
+ "resolved": "boolean",
1020
+ "references": {}
1021
+ },
1022
+ "required": false,
1023
+ "optional": false,
1024
+ "docs": {
1025
+ "tags": [],
1026
+ "text": ""
1027
+ },
1028
+ "getter": false,
1029
+ "setter": false,
1030
+ "reflect": false,
1031
+ "attribute": "readonly",
1032
+ "defaultValue": "false"
1033
+ },
1034
+ "lineNumbers": {
1035
+ "type": "boolean",
1036
+ "mutable": false,
1037
+ "complexType": {
1038
+ "original": "boolean",
1039
+ "resolved": "boolean",
1040
+ "references": {}
1041
+ },
1042
+ "required": false,
1043
+ "optional": false,
1044
+ "docs": {
1045
+ "tags": [],
1046
+ "text": ""
1047
+ },
1048
+ "getter": false,
1049
+ "setter": false,
1050
+ "reflect": false,
1051
+ "attribute": "line-numbers",
1052
+ "defaultValue": "true"
1053
+ },
1054
+ "toolbar": {
1055
+ "type": "boolean",
1056
+ "mutable": false,
1057
+ "complexType": {
1058
+ "original": "boolean",
1059
+ "resolved": "boolean",
1060
+ "references": {}
1061
+ },
1062
+ "required": false,
1063
+ "optional": false,
1064
+ "docs": {
1065
+ "tags": [],
1066
+ "text": ""
1067
+ },
1068
+ "getter": false,
1069
+ "setter": false,
1070
+ "reflect": false,
1071
+ "attribute": "toolbar",
1072
+ "defaultValue": "false"
1073
+ },
1074
+ "toolbarLabelDisplay": {
1075
+ "type": "string",
1076
+ "mutable": false,
1077
+ "complexType": {
1078
+ "original": "'always' | 'hover' | 'hidden'",
1079
+ "resolved": "\"always\" | \"hidden\" | \"hover\"",
1080
+ "references": {}
1081
+ },
1082
+ "required": false,
1083
+ "optional": false,
1084
+ "docs": {
1085
+ "tags": [],
1086
+ "text": ""
1087
+ },
1088
+ "getter": false,
1089
+ "setter": false,
1090
+ "reflect": false,
1091
+ "attribute": "toolbar-label-display",
1092
+ "defaultValue": "'hover'"
1093
+ },
1094
+ "toolbarGroups": {
1095
+ "type": "unknown",
1096
+ "mutable": false,
1097
+ "complexType": {
1098
+ "original": "string[]",
1099
+ "resolved": "string[]",
1100
+ "references": {}
1101
+ },
1102
+ "required": false,
1103
+ "optional": false,
1104
+ "docs": {
1105
+ "tags": [],
1106
+ "text": ""
1107
+ },
1108
+ "getter": false,
1109
+ "setter": false,
1110
+ "defaultValue": "['all']"
1111
+ },
1112
+ "tabs": {
1113
+ "type": "unknown",
1114
+ "mutable": false,
1115
+ "complexType": {
1116
+ "original": "{ title: string, language: string, content: string }[]",
1117
+ "resolved": "{ title: string; language: string; content: string; }[]",
1118
+ "references": {}
1119
+ },
1120
+ "required": false,
1121
+ "optional": false,
1122
+ "docs": {
1123
+ "tags": [],
1124
+ "text": ""
1125
+ },
1126
+ "getter": false,
1127
+ "setter": false,
1128
+ "defaultValue": "[]"
1129
+ }
1130
+ };
1131
+ }
1132
+ static get states() {
1133
+ return {
1134
+ "highlightedCode": {},
1135
+ "lineCount": {},
1136
+ "statusStats": {},
1137
+ "showSearch": {},
1138
+ "searchQuery": {},
1139
+ "showPalette": {},
1140
+ "paletteQuery": {},
1141
+ "showHelp": {},
1142
+ "activeTabIndex": {},
1143
+ "unfoldedLines": {},
1144
+ "foldedLines": {},
1145
+ "lintErrors": {},
1146
+ "activeToolbarTab": {},
1147
+ "fontSize": {},
1148
+ "showLineNumbers": {},
1149
+ "showMinimap": {},
1150
+ "showSidebar": {},
1151
+ "showBottomPanel": {},
1152
+ "activeSidebarTab": {},
1153
+ "activeBottomTab": {},
1154
+ "activeFileIndex": {},
1155
+ "files": {},
1156
+ "terminalLogs": {},
1157
+ "suggestions": {},
1158
+ "suggestionIndex": {},
1159
+ "showSuggestions": {},
1160
+ "suggestionPos": {}
1161
+ };
1162
+ }
1163
+ static get events() {
1164
+ return [{
1165
+ "method": "valueChange",
1166
+ "name": "valueChange",
1167
+ "bubbles": true,
1168
+ "cancelable": true,
1169
+ "composed": true,
1170
+ "docs": {
1171
+ "tags": [],
1172
+ "text": ""
1173
+ },
1174
+ "complexType": {
1175
+ "original": "string",
1176
+ "resolved": "string",
1177
+ "references": {}
1178
+ }
1179
+ }, {
1180
+ "method": "runCode",
1181
+ "name": "runCode",
1182
+ "bubbles": true,
1183
+ "cancelable": true,
1184
+ "composed": true,
1185
+ "docs": {
1186
+ "tags": [],
1187
+ "text": ""
1188
+ },
1189
+ "complexType": {
1190
+ "original": "void",
1191
+ "resolved": "void",
1192
+ "references": {}
1193
+ }
1194
+ }];
1195
+ }
1196
+ static get watchers() {
1197
+ return [{
1198
+ "propName": "value",
1199
+ "methodName": "valueChanged"
1200
+ }, {
1201
+ "propName": "language",
1202
+ "methodName": "languageChanged"
1203
+ }, {
1204
+ "propName": "tabs",
1205
+ "methodName": "tabsChanged"
1206
+ }, {
1207
+ "propName": "searchQuery",
1208
+ "methodName": "searchQueryChanged"
1209
+ }];
1210
+ }
1211
+ }