@scion/workbench 19.0.0-beta.3 → 20.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/_index.scss +2 -2
  2. package/fesm2022/scion-workbench.mjs +1411 -1330
  3. package/fesm2022/scion-workbench.mjs.map +1 -1
  4. package/index.d.ts +5519 -3
  5. package/package.json +22 -18
  6. package/lib/activation-instant.provider.d.ts +0 -12
  7. package/lib/activity/activity-bar/activity-bar.component.d.ts +0 -10
  8. package/lib/activity/activity-bar/activity-item/activity-item.component.d.ts +0 -16
  9. package/lib/activity/activity-bar/activity-stack/activity-stack.component.d.ts +0 -10
  10. package/lib/activity/activity-panel/activity-panel.component.d.ts +0 -41
  11. package/lib/activity/public_api.d.ts +0 -1
  12. package/lib/activity/workbench-activity.model.d.ts +0 -110
  13. package/lib/common/asserts.util.d.ts +0 -13
  14. package/lib/common/class-list.d.ts +0 -64
  15. package/lib/common/coerce-observable.pipe.d.ts +0 -12
  16. package/lib/common/css-class.util.d.ts +0 -5
  17. package/lib/common/dasherize.util.d.ts +0 -4
  18. package/lib/common/disposable.d.ts +0 -13
  19. package/lib/common/dom.util.d.ts +0 -84
  20. package/lib/common/grid-if-visible.pipe.d.ts +0 -13
  21. package/lib/common/instanceof.pipe.d.ts +0 -10
  22. package/lib/common/math.util.d.ts +0 -7
  23. package/lib/common/null-if-empty.pipe.d.ts +0 -10
  24. package/lib/common/objects.util.d.ts +0 -29
  25. package/lib/common/observables.d.ts +0 -26
  26. package/lib/common/operators.d.ts +0 -13
  27. package/lib/common/public_api.d.ts +0 -1
  28. package/lib/common/resolve-when.util.d.ts +0 -9
  29. package/lib/common/stringify-error.util.d.ts +0 -4
  30. package/lib/common/throw-error.util.d.ts +0 -4
  31. package/lib/common/typeof.pipe.d.ts +0 -10
  32. package/lib/common/uid.util.d.ts +0 -9
  33. package/lib/common/utility-types.d.ts +0 -6
  34. package/lib/common//311/265destroy-ref.d.ts +0 -11
  35. package/lib/communication/workbench-broadcast-channel.d.ts +0 -26
  36. package/lib/content-projection/content-as-overlay.component.d.ts +0 -60
  37. package/lib/desktop/desktop.directive.d.ts +0 -37
  38. package/lib/desktop/public_api.d.ts +0 -1
  39. package/lib/dialog/dialog-footer/dialog-action-filter.pipe.d.ts +0 -11
  40. package/lib/dialog/dialog-footer/dialog-footer.component.d.ts +0 -10
  41. package/lib/dialog/dialog-footer/workbench-dialog-action.directive.d.ts +0 -27
  42. package/lib/dialog/dialog-footer/workbench-dialog-footer.directive.d.ts +0 -26
  43. package/lib/dialog/dialog-header/dialog-header.component.d.ts +0 -12
  44. package/lib/dialog/dialog-header/workbench-dialog-header.directive.d.ts +0 -26
  45. package/lib/dialog/movable.directive.d.ts +0 -49
  46. package/lib/dialog/public_api.d.ts +0 -6
  47. package/lib/dialog/resizable.directive.d.ts +0 -75
  48. package/lib/dialog/workbench-dialog.component.d.ts +0 -55
  49. package/lib/dialog/workbench-dialog.d.ts +0 -118
  50. package/lib/dialog/workbench-dialog.options.d.ts +0 -64
  51. package/lib/dialog/workbench-dialog.registry.d.ts +0 -43
  52. package/lib/dialog/workbench-dialog.service.d.ts +0 -96
  53. package/lib/dialog//311/265workbench-dialog.d.ts +0 -128
  54. package/lib/dialog//311/265workbench-dialog.service.d.ts +0 -29
  55. package/lib/executor/latest-task-executor.d.ts +0 -26
  56. package/lib/executor/single-task-executor.d.ts +0 -23
  57. package/lib/filter-field/filter-field.component.d.ts +0 -57
  58. package/lib/glass-pane/blockable.d.ts +0 -11
  59. package/lib/glass-pane/blocking.d.ts +0 -17
  60. package/lib/glass-pane/glass-pane.directive.d.ts +0 -51
  61. package/lib/icon/icon-providers.d.ts +0 -6
  62. package/lib/icon/icon.component.d.ts +0 -33
  63. package/lib/icon/material-icon-provider.d.ts +0 -25
  64. package/lib/icon/public_api.d.ts +0 -1
  65. package/lib/icon/workbench-icon-provider.d.ts +0 -30
  66. package/lib/icon/workbench-icon-provider.model.d.ts +0 -64
  67. package/lib/layout/grid/grid.component.d.ts +0 -65
  68. package/lib/layout/grid-element/grid-element.component.d.ts +0 -37
  69. package/lib/layout/layout.component.d.ts +0 -60
  70. package/lib/layout/migration/model/workbench-grid-migration-v2.model.d.ts +0 -22
  71. package/lib/layout/migration/model/workbench-grid-migration-v3.model.d.ts +0 -30
  72. package/lib/layout/migration/model/workbench-grid-migration-v4.model.d.ts +0 -31
  73. package/lib/layout/migration/model/workbench-grid-migration-v5.model.d.ts +0 -36
  74. package/lib/layout/migration/model/workbench-grid-migration-v6.model.d.ts +0 -35
  75. package/lib/layout/migration/model/workbench-grid-migration-v7.model.d.ts +0 -37
  76. package/lib/layout/migration/model/workbench-layout-migration-v1.model.d.ts +0 -8
  77. package/lib/layout/migration/model/workbench-layout-migration-v2.model.d.ts +0 -10
  78. package/lib/layout/migration/model/workbench-layout-migration-v3.model.d.ts +0 -10
  79. package/lib/layout/migration/model/workbench-layout-migration-v4.model.d.ts +0 -20
  80. package/lib/layout/migration/workbench-grid-migration-v3.service.d.ts +0 -14
  81. package/lib/layout/migration/workbench-grid-migration-v4.service.d.ts +0 -12
  82. package/lib/layout/migration/workbench-grid-migration-v5.service.d.ts +0 -12
  83. package/lib/layout/migration/workbench-grid-migration-v6.service.d.ts +0 -12
  84. package/lib/layout/migration/workbench-grid-migration-v7.service.d.ts +0 -10
  85. package/lib/layout/migration/workbench-layout-migration-v2.service.d.ts +0 -13
  86. package/lib/layout/migration/workbench-layout-migration-v3.service.d.ts +0 -12
  87. package/lib/layout/migration/workbench-layout-migration-v4.service.d.ts +0 -12
  88. package/lib/layout/public_api.d.ts +0 -3
  89. package/lib/layout/rendering-flag.d.ts +0 -7
  90. package/lib/layout/stringifier.d.ts +0 -33
  91. package/lib/layout/workbench-grid.model.d.ts +0 -116
  92. package/lib/layout/workbench-layout-merger.service.d.ts +0 -19
  93. package/lib/layout/workbench-layout-storage.service.d.ts +0 -28
  94. package/lib/layout/workbench-layout.d.ts +0 -518
  95. package/lib/layout/workbench-layout.factory.d.ts +0 -18
  96. package/lib/layout/workbench-layout.service.d.ts +0 -57
  97. package/lib/layout/workbench-layouts.util.d.ts +0 -51
  98. package/lib/layout/workench-layout-serializer.service.d.ts +0 -110
  99. package/lib/layout//311/265workbench-layout.d.ts +0 -745
  100. package/lib/layout//311/265workbench-layout.factory.d.ts +0 -22
  101. package/lib/logging/console-appender.service.d.ts +0 -10
  102. package/lib/logging/index.d.ts +0 -5
  103. package/lib/logging/logger-names.d.ts +0 -22
  104. package/lib/logging/logger.d.ts +0 -69
  105. package/lib/logging/logging-support.d.ts +0 -6
  106. package/lib/logging/logging.model.d.ts +0 -52
  107. package/lib/logging/public_api.d.ts +0 -2
  108. package/lib/logging//311/265logger.d.ts +0 -21
  109. package/lib/message-box/message-box-footer/message-box-footer.component.d.ts +0 -17
  110. package/lib/message-box/message-box-header/message-box-header.component.d.ts +0 -7
  111. package/lib/message-box/public_api.d.ts +0 -2
  112. package/lib/message-box/workbench-message-box.component.d.ts +0 -25
  113. package/lib/message-box/workbench-message-box.options.d.ts +0 -96
  114. package/lib/message-box/workbench-message-box.service.d.ts +0 -100
  115. package/lib/message-box//311/265workbench-message-box.service.d.ts +0 -16
  116. package/lib/microfrontend-platform/common/microfrontend.util.d.ts +0 -39
  117. package/lib/microfrontend-platform/initialization/microfrontend-platform-initializer.service.d.ts +0 -31
  118. package/lib/microfrontend-platform/initialization/ng-zone-observable-decorator.d.ts +0 -12
  119. package/lib/microfrontend-platform/initialization/workbench-host-manifest-interceptor.service.d.ts +0 -1
  120. package/lib/microfrontend-platform/manifest-object-cache.service.d.ts +0 -32
  121. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-capability-validator.interceptor.d.ts +0 -11
  122. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-intent-handler.interceptor.d.ts +0 -25
  123. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog.component.d.ts +0 -32
  124. package/lib/microfrontend-platform/microfrontend-host-dialog/microfrontend-host-dialog.component.d.ts +0 -32
  125. package/lib/microfrontend-platform/microfrontend-host-message-box/microfrontend-host-message-box.component.d.ts +0 -37
  126. package/lib/microfrontend-platform/microfrontend-host-message-box/text-message/text-message.component.d.ts +0 -23
  127. package/lib/microfrontend-platform/microfrontend-host-popup/microfrontend-host-popup.component.d.ts +0 -23
  128. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-capability-validator.interceptor.d.ts +0 -10
  129. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-intent-handler.interceptor.d.ts +0 -25
  130. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-legacy-intent-translator.interceptor.d.ts +0 -11
  131. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box.component.d.ts +0 -29
  132. package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.d.ts +0 -7
  133. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-capability-validator.interceptor.d.ts +0 -10
  134. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-installer.service.d.ts +0 -5
  135. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-intent-handler.interceptor.d.ts +0 -17
  136. package/lib/microfrontend-platform/microfrontend-perspective/workbench-perspective-data.d.ts +0 -9
  137. package/lib/microfrontend-platform/microfrontend-platform-config-loader.d.ts +0 -13
  138. package/lib/microfrontend-platform/microfrontend-platform-initializer.provider.d.ts +0 -85
  139. package/lib/microfrontend-platform/microfrontend-platform.config.d.ts +0 -20
  140. package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup-capability-validator.interceptor.d.ts +0 -10
  141. package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup-intent-handler.interceptor.d.ts +0 -35
  142. package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup.component.d.ts +0 -33
  143. package/lib/microfrontend-platform/microfrontend-splash/microfrontend-splash.component.d.ts +0 -5
  144. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-capability-validator.interceptor.d.ts +0 -10
  145. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-command-handler.service.d.ts +0 -5
  146. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-intent-handler.interceptor.d.ts +0 -33
  147. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-routes.d.ts +0 -56
  148. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view.component.d.ts +0 -67
  149. package/lib/microfrontend-platform/microfrontend-view/microfrontend-workbench-view.model.d.ts +0 -14
  150. package/lib/microfrontend-platform/public_api.d.ts +0 -5
  151. package/lib/microfrontend-platform/stable-capability-id-assigner.interceptor.d.ts +0 -11
  152. package/lib/microfrontend-platform/workbench-microfrontend-support.d.ts +0 -7
  153. package/lib/migration/workbench-migration.d.ts +0 -9
  154. package/lib/migration/workbench-migrator.d.ts +0 -18
  155. package/lib/notification/notification-css-classes.pipe.d.ts +0 -13
  156. package/lib/notification/notification-list.component.d.ts +0 -16
  157. package/lib/notification/notification.component.d.ts +0 -27
  158. package/lib/notification/notification.config.d.ts +0 -86
  159. package/lib/notification/notification.d.ts +0 -32
  160. package/lib/notification/notification.service.d.ts +0 -49
  161. package/lib/notification/public_api.d.ts +0 -3
  162. package/lib/notification/text-notification.component.d.ts +0 -10
  163. package/lib/notification//311/265notification.d.ts +0 -19
  164. package/lib/null-content/null-content.component.d.ts +0 -11
  165. package/lib/page-not-found/page-not-found.component.d.ts +0 -11
  166. package/lib/part/main-area-part/main-area-part.component.d.ts +0 -41
  167. package/lib/part/part-action/part-action.component.d.ts +0 -39
  168. package/lib/part/part-action-bar/part-action.directive.d.ts +0 -62
  169. package/lib/part/part-bar/part-bar.component.d.ts +0 -29
  170. package/lib/part/part-portal.pipe.d.ts +0 -17
  171. package/lib/part/part.component.d.ts +0 -37
  172. package/lib/part/public_api.d.ts +0 -3
  173. package/lib/part/view-context-menu/accelerator-format.pipe.d.ts +0 -10
  174. package/lib/part/view-context-menu/menu-item/menu-item.component.d.ts +0 -39
  175. package/lib/part/view-context-menu/text/text.component.d.ts +0 -6
  176. package/lib/part/view-context-menu/view-menu-item.directive.d.ts +0 -75
  177. package/lib/part/view-context-menu/view-menu.component.d.ts +0 -22
  178. package/lib/part/view-context-menu/view-menu.service.d.ts +0 -53
  179. package/lib/part/view-list/view-list.component.d.ts +0 -22
  180. package/lib/part/view-list-button/view-list-button.component.d.ts +0 -18
  181. package/lib/part/view-list-item/view-list-item.component.d.ts +0 -13
  182. package/lib/part/view-tab/view-tab.component.d.ts +0 -35
  183. package/lib/part/view-tab-bar/view-tab-bar.component.d.ts +0 -164
  184. package/lib/part/view-tab-content/view-tab-content.component.d.ts +0 -7
  185. package/lib/part/view-tab-drag-image/view-tab-drag-image.component.d.ts +0 -38
  186. package/lib/part/workbench-part-action.registry.d.ts +0 -7
  187. package/lib/part/workbench-part.model.d.ts +0 -111
  188. package/lib/part/workbench-part.registry.d.ts +0 -7
  189. package/lib/part//311/265workbench-part.model.d.ts +0 -104
  190. package/lib/perspective/public_api.d.ts +0 -1
  191. package/lib/perspective/workbench-perspective-view-conflict-resolver.service.d.ts +0 -18
  192. package/lib/perspective/workbench-perspective.model.d.ts +0 -91
  193. package/lib/perspective/workbench-perspective.registry.d.ts +0 -7
  194. package/lib/perspective/workbench-perspective.service.d.ts +0 -73
  195. package/lib/perspective//311/265workbench-perspective.model.d.ts +0 -72
  196. package/lib/popup/popup.component.d.ts +0 -26
  197. package/lib/popup/popup.config.d.ts +0 -188
  198. package/lib/popup/popup.origin.d.ts +0 -44
  199. package/lib/popup/popup.service.d.ts +0 -58
  200. package/lib/popup/public_api.d.ts +0 -3
  201. package/lib/portal/wb-component-portal.d.ts +0 -81
  202. package/lib/portal/workbench-portal-outlet.directive.d.ts +0 -32
  203. package/lib/public_api.d.ts +0 -25
  204. package/lib/registry/workbench-object-registry.d.ts +0 -51
  205. package/lib/routing/empty-outlet/empty-outlet.component.d.ts +0 -15
  206. package/lib/routing/public_api.d.ts +0 -5
  207. package/lib/routing/router-outlet-root-context.directive.d.ts +0 -10
  208. package/lib/routing/routing.model.d.ts +0 -156
  209. package/lib/routing/routing.util.d.ts +0 -116
  210. package/lib/routing/url-segment-matcher.d.ts +0 -20
  211. package/lib/routing/workbench-auxiliary-route-installer.service.d.ts +0 -44
  212. package/lib/routing/workbench-layout-differ.d.ts +0 -33
  213. package/lib/routing/workbench-navigational-states.d.ts +0 -48
  214. package/lib/routing/workbench-outlet-differ.d.ts +0 -48
  215. package/lib/routing/workbench-route-data.d.ts +0 -33
  216. package/lib/routing/workbench-route-guards.d.ts +0 -62
  217. package/lib/routing/workbench-router-link.directive.d.ts +0 -46
  218. package/lib/routing/workbench-router.service.d.ts +0 -66
  219. package/lib/routing/workbench-url-observer.service.d.ts +0 -73
  220. package/lib/routing//311/265location.d.ts +0 -8
  221. package/lib/routing//311/265workbench-router.service.d.ts +0 -78
  222. package/lib/startup/public_api.d.ts +0 -4
  223. package/lib/startup/splash/splash.component.d.ts +0 -8
  224. package/lib/startup/workbench-initializer.d.ts +0 -168
  225. package/lib/startup/workbench-launcher.service.d.ts +0 -63
  226. package/lib/startup/workbench-startup.service.d.ts +0 -37
  227. package/lib/startup//311/265workbench-launcher.service.d.ts +0 -19
  228. package/lib/startup//311/265workbench-startup.service.d.ts +0 -16
  229. package/lib/storage/public_api.d.ts +0 -1
  230. package/lib/storage/workbench-storage.d.ts +0 -16
  231. package/lib/text/public_api.d.ts +0 -1
  232. package/lib/text/text-providers.d.ts +0 -6
  233. package/lib/text/text.d.ts +0 -30
  234. package/lib/text/text.pipe.d.ts +0 -24
  235. package/lib/text/workbench-text-provider.d.ts +0 -7
  236. package/lib/text/workbench-text-provider.model.d.ts +0 -40
  237. package/lib/text/workbench-view-menu-config-text-provider.d.ts +0 -8
  238. package/lib/theme/workbench-theme-switcher.service.d.ts +0 -27
  239. package/lib/view/public_api.d.ts +0 -1
  240. package/lib/view/view-context-provider.d.ts +0 -6
  241. package/lib/view/view-move-handler.service.d.ts +0 -27
  242. package/lib/view/view-portal.pipe.d.ts +0 -14
  243. package/lib/view/view.component.d.ts +0 -32
  244. package/lib/view/workbench-view-menu-item.registry.d.ts +0 -7
  245. package/lib/view/workbench-view.model.d.ts +0 -226
  246. package/lib/view/workbench-view.registry.d.ts +0 -7
  247. package/lib/view//311/265workbench-view.model.d.ts +0 -156
  248. package/lib/view-dnd/grid-drop-targets.util.d.ts +0 -22
  249. package/lib/view-dnd/requires-drop-zone.pipe.d.ts +0 -13
  250. package/lib/view-dnd/view-drag.service.d.ts +0 -254
  251. package/lib/view-dnd/view-drop-placeholder-renderer.service.d.ts +0 -27
  252. package/lib/view-dnd/view-drop-zone.directive.d.ts +0 -112
  253. package/lib/view-dnd/view-tab-drag-image-renderer.service.d.ts +0 -57
  254. package/lib/workbench-config.d.ts +0 -339
  255. package/lib/workbench-element-references.d.ts +0 -17
  256. package/lib/workbench-id.d.ts +0 -7
  257. package/lib/workbench.component.d.ts +0 -41
  258. package/lib/workbench.constants.d.ts +0 -73
  259. package/lib/workbench.model.d.ts +0 -220
  260. package/lib/workbench.provider.d.ts +0 -89
  261. package/lib/workbench.service.d.ts +0 -193
  262. package/lib//311/265workbench.service.d.ts +0 -54
  263. package/public-api.d.ts +0 -4
@@ -1,37 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { WbViewDropEvent } from '../view-dnd/view-drop-zone.directive';
3
- import { ɵWorkbenchPart } from './ɵworkbench-part.model';
4
- import { PartId } from './workbench-part.model';
5
- import { dasherize } from '../common/dasherize.util';
6
- import * as i0 from "@angular/core";
7
- export declare class PartComponent implements OnInit {
8
- private readonly _workbenchId;
9
- private readonly _viewRegistry;
10
- private readonly _viewDragService;
11
- private readonly _injector;
12
- private readonly _cd;
13
- protected readonly part: ɵWorkbenchPart;
14
- protected readonly canDrop: import("@angular/core").Signal<boolean>;
15
- protected readonly dasherize: typeof dasherize;
16
- protected tabIndex: number;
17
- protected get partId(): PartId;
18
- protected get isActive(): boolean;
19
- constructor();
20
- ngOnInit(): void;
21
- /**
22
- * Method invoked to move a view into this part.
23
- */
24
- protected onViewDrop(event: WbViewDropEvent): void;
25
- /**
26
- * Constructs view components of inactive views, so they can initialize, e.g., to set the view tab title.
27
- */
28
- private constructInactiveViewComponents;
29
- /**
30
- * Activates this part when it gains focus.
31
- */
32
- private activatePartOnFocusIn;
33
- private addHostCssClasses;
34
- private installComponentLifecycleLogger;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<PartComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<PartComponent, "wb-part", never, {}, {}, never, never, true, never>;
37
- }
@@ -1,3 +0,0 @@
1
- export { WorkbenchViewMenuItemDirective } from './view-context-menu/view-menu-item.directive';
2
- export { WorkbenchPartActionDirective } from './part-action-bar/part-action.directive';
3
- export { WorkbenchPart, type WorkbenchPartNavigation, type PartId } from './workbench-part.model';
@@ -1,10 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Formats given keyboard accelerator for display to the user.
5
- */
6
- export declare class WbFormatAcceleratorPipe implements PipeTransform {
7
- transform(accelerator: string[] | null | undefined): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<WbFormatAcceleratorPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<WbFormatAcceleratorPipe, "wbFormatAccelerator", true>;
10
- }
@@ -1,39 +0,0 @@
1
- import { Injector, TemplateRef } from '@angular/core';
2
- import { WorkbenchMenuItem } from '../../../workbench.model';
3
- import { ComponentType } from '@angular/cdk/portal';
4
- import * as i0 from "@angular/core";
5
- export declare class MenuItemComponent {
6
- readonly menuItem: import("@angular/core").InputSignalWithTransform<ComponentMenuItem | TemplateMenuItem, WorkbenchMenuItem>;
7
- private readonly _injector;
8
- protected readonly TemplateMenuItem: typeof TemplateMenuItem;
9
- protected readonly ComponentMenuItem: typeof ComponentMenuItem;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "wb-menu-item", never, { "menuItem": { "alias": "menuItem"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
12
- }
13
- /**
14
- * Represents a menu item with a component.
15
- */
16
- declare class ComponentMenuItem {
17
- component: ComponentType<unknown>;
18
- inputs: {
19
- [name: string]: unknown;
20
- } | undefined;
21
- injector: Injector;
22
- constructor(component: ComponentType<unknown>, inputs: {
23
- [name: string]: unknown;
24
- } | undefined, injector: Injector);
25
- }
26
- /**
27
- * Represents a menu item with a template.
28
- */
29
- export declare class TemplateMenuItem {
30
- template: TemplateRef<unknown>;
31
- context: {
32
- [name: string]: unknown;
33
- };
34
- injector: Injector;
35
- constructor(template: TemplateRef<unknown>, context: {
36
- [name: string]: unknown;
37
- }, injector: Injector);
38
- }
39
- export {};
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TextComponent {
3
- readonly text: import("@angular/core").InputSignal<string>;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "wb-text", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
6
- }
@@ -1,75 +0,0 @@
1
- import { WorkbenchView } from '../../view/workbench-view.model';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directive to add a menu item to the context menu of a view.
5
- *
6
- * Right-clicking on a view tab opens a context menu to interact with the view and its content.
7
- *
8
- * Usage:
9
- * Add this directive to an `<ng-template>`. The template content is used as the menu item content. The menu item shares the lifecycle of its embedding context.
10
- *
11
- * ```html
12
- * <ng-template wbViewMenuItem [accelerator]="['ctrl', 'alt', '1']" (action)="...">
13
- * ...
14
- * </ng-template>
15
- * ```
16
- *
17
- * The {@link WorkbenchView} is available as the default template variable (`let-view`).
18
- *
19
- * ```html
20
- * <ng-template wbViewMenuItem let-view>
21
- * ...
22
- * </ng-template>
23
- * ```
24
- *
25
- * Menu items are context-sensitive:
26
- * - Declaring the menu item in a view's template displays it only in the context menu of that view.
27
- * - Declaring the menu item outside a view context, such as within `<wb-workbench>`, displays it in the context menu of every view.
28
- *
29
- * A predicate can be used to match a specific context, such as a particular view or condition.
30
- *
31
- * ```html
32
- * <ng-template wbViewMenuItem [canMatch]="...">
33
- * ...
34
- * </ng-template>
35
- * ```
36
- *
37
- * Alternatively, menu items can be added using a factory function and registered via {@link WorkbenchService.registerViewMenuItem}.
38
- */
39
- export declare class WorkbenchViewMenuItemDirective {
40
- /**
41
- * Binds keyboard accelerator(s) to the menu item, e.g., ['ctrl', 'alt', 1].
42
- *
43
- * Supported modifiers are 'ctrl', 'shift', 'alt' and 'meta'.
44
- */
45
- readonly accelerator: import("@angular/core").InputSignal<string[] | undefined>;
46
- /**
47
- * Enables grouping of menu items.
48
- */
49
- readonly group: import("@angular/core").InputSignal<string | undefined>;
50
- /**
51
- * Controls if the menu item is disabled. Defaults to `false`.
52
- */
53
- readonly disabled: import("@angular/core").InputSignal<boolean | undefined>;
54
- /**
55
- * Predicate to match a specific context, such as a particular view or condition. Defaults to any context.
56
- *
57
- * The function:
58
- * - Can call `inject` to get any required dependencies.
59
- * - Runs in a reactive context and is called again when tracked signals change.
60
- * Use Angular's `untracked` function to execute code outside this reactive context.
61
- */
62
- readonly canMatch: import("@angular/core").InputSignal<((view: WorkbenchView) => boolean) | undefined>;
63
- /**
64
- * Specifies CSS class(es) to add to the menu item, e.g., to locate the menu item in tests.
65
- */
66
- readonly cssClass: import("@angular/core").InputSignal<string | string[] | undefined>;
67
- /**
68
- * Emits when the menu item is clicked.
69
- */
70
- readonly action: import("@angular/core").OutputEmitterRef<WorkbenchView>;
71
- constructor();
72
- private registerMenuItem;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<WorkbenchViewMenuItemDirective, never>;
74
- static ɵdir: i0.ɵɵDirectiveDeclaration<WorkbenchViewMenuItemDirective, "ng-template[wbViewMenuItem]", never, { "accelerator": { "alias": "accelerator"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "canMatch": { "alias": "canMatch"; "required": false; "isSignal": true; }; "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
75
- }
@@ -1,22 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { WorkbenchMenuItem } from '../../workbench.model';
3
- import { ViewId } from '../../view/workbench-view.model';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Renders the menu items of a {@link WorkbenchView} grouped by their menu item group.
7
- */
8
- export declare class ViewMenuComponent {
9
- private readonly _overlayRef;
10
- private readonly _view;
11
- private readonly _injector;
12
- protected readonly menuItemGroups: Signal<Map<string, WorkbenchMenuItem[]>>;
13
- constructor();
14
- protected onMenuItemClick(menuItem: WorkbenchMenuItem): void;
15
- protected get viewId(): ViewId;
16
- protected onEscape(): void;
17
- protected onHostCloseEvent(event: Event): void;
18
- protected onDocumentCloseEvent(): void;
19
- private groupMenuItems;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewMenuComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewMenuComponent, "wb-view-menu", never, {}, {}, never, never, true, never>;
22
- }
@@ -1,53 +0,0 @@
1
- import { ElementRef, Injector, Signal } from '@angular/core';
2
- import { ViewId, WorkbenchView } from '../../view/workbench-view.model';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Shows menu items of a {@link WorkbenchView} in a menu.
6
- */
7
- export declare class ViewMenuService {
8
- private static readonly TOP_LEFT;
9
- private static readonly TOP_RIGHT;
10
- private static readonly BOTTOM_LEFT;
11
- private static readonly BOTTOM_RIGHT;
12
- private readonly _overlay;
13
- private readonly _injector;
14
- private readonly _viewRegistry;
15
- private readonly _workbenchService;
16
- private readonly _workbenchConfig;
17
- constructor();
18
- /**
19
- * Registers built-in menu items added to the context menu of every view tab.
20
- */
21
- private registerBuiltInMenuItems;
22
- /**
23
- * Shows a menu with menu items registered in given {@link WorkbenchView}.
24
- *
25
- * @see {@link WorkbenchView.registerViewMenuItem}
26
- */
27
- showMenu(location: Point, viewId: ViewId): Promise<boolean>;
28
- /**
29
- * Subscribes to keyboard events for menu items of given {@link WorkbenchView} on specified element.
30
- *
31
- * This method must be passed an injector or called in an injection context. If used in a component, use the component's injector.
32
- * Unsubscribes from keyboard events when the injection context is destroyed.
33
- */
34
- installMenuAccelerators(elementLike: HTMLElement | ElementRef<HTMLElement> | Signal<HTMLElement | ElementRef<HTMLElement>>, viewLike: WorkbenchView | Signal<WorkbenchView>, options?: {
35
- injector?: Injector;
36
- }): void;
37
- private registerCloseMenuItem;
38
- private registerCloseOtherTabsMenuItem;
39
- private registerCloseAllTabsMenuItem;
40
- private registerCloseRightTabsMenuItem;
41
- private registerCloseLeftTabsMenuItem;
42
- private registerMoveRightMenuItem;
43
- private registerMoveLeftMenuItem;
44
- private registerMoveUpMenuItem;
45
- private registerMoveDownMenuItem;
46
- private registerMoveToNewWindowMenuItem;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewMenuService, never>;
48
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewMenuService>;
49
- }
50
- export interface Point {
51
- x: number;
52
- y: number;
53
- }
@@ -1,22 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { WorkbenchView } from '../../view/workbench-view.model';
3
- import { PartId } from '../workbench-part.model';
4
- import * as i0 from "@angular/core";
5
- export declare class ViewListComponent {
6
- private readonly _filterFieldComponent;
7
- private readonly _part;
8
- private readonly _overlayRef;
9
- /** Views that are scrolled into the tab bar. */
10
- protected readonly viewsInsideTabbar: Signal<WorkbenchView[]>;
11
- /** Views that are scrolled out of the tab bar. */
12
- protected readonly viewsOutsideTabbar: Signal<WorkbenchView[]>;
13
- protected readonly filterFormControl: import("@angular/forms").FormControl<string>;
14
- protected get partId(): PartId;
15
- constructor();
16
- protected onActivateView(view: WorkbenchView): void;
17
- protected onEscape(): void;
18
- protected onHostCloseEvent(event: Event): void;
19
- protected onDocumentCloseEvent(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewListComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewListComponent, "wb-view-list", never, {}, {}, never, never, true, never>;
22
- }
@@ -1,18 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ViewListButtonComponent {
4
- private static readonly SOUTH;
5
- private static readonly NORTH;
6
- private readonly _host;
7
- private readonly _overlay;
8
- private readonly _injector;
9
- private readonly _destroyRef;
10
- /** Number of views that are scrolled out of the tab bar. */
11
- protected readonly scrolledOutOfViewTabCount: Signal<number>;
12
- protected readonly menuState: import("@angular/core").WritableSignal<"closed" | "open">;
13
- constructor();
14
- protected onClick(): void;
15
- private openMenu;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewListButtonComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewListButtonComponent, "wb-view-list-button", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,13 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { ComponentPortal } from '@angular/cdk/portal';
3
- import * as i0 from "@angular/core";
4
- export declare class ViewListItemComponent {
5
- readonly viewId: import("@angular/core").InputSignal<`view.${number}`>;
6
- private readonly _viewRegistry;
7
- protected view: Signal<import("../../view/\u0275workbench-view.model").ɵWorkbenchView>;
8
- protected viewTabContentPortal: Signal<ComponentPortal<unknown>>;
9
- protected onClose(): void;
10
- private computeViewTabContentPortal;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewListItemComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewListItemComponent, "wb-view-list-item", never, { "viewId": { "alias": "viewId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
13
- }
@@ -1,35 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { ViewDragService } from '../../view-dnd/view-drag.service';
3
- import { ComponentPortal } from '@angular/cdk/portal';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * IMPORTANT: HTML and CSS also used by {@link ViewTabDragImageComponent}.
7
- *
8
- * @see ViewTabDragImageComponent
9
- */
10
- export declare class ViewTabComponent {
11
- private readonly _workbenchId;
12
- private readonly _workbenchConfig;
13
- private readonly _viewRegistry;
14
- private readonly _viewMenuService;
15
- private readonly _layout;
16
- private readonly _injector;
17
- readonly host: HTMLElement;
18
- readonly view: import("@angular/core").InputSignalWithTransform<import("../../view/\u0275workbench-view.model").ɵWorkbenchView, `view.${number}`>;
19
- readonly boundingClientRect: Signal<DOMRect>;
20
- protected readonly viewTabContentPortal: Signal<ComponentPortal<unknown>>;
21
- protected readonly viewDragService: ViewDragService;
22
- protected readonly viewTitleOffsetRight: Signal<"1.5rem" | undefined>;
23
- constructor();
24
- protected onClick(): void;
25
- protected onClose(event: MouseEvent): void;
26
- protected onMousedown(event: MouseEvent): void;
27
- protected onContextmenu(event: MouseEvent): void;
28
- protected onDragStart(event: DragEvent): void;
29
- protected onDragEnd(): void;
30
- private addHostCssClasses;
31
- private installMenuAccelerators;
32
- private createViewTabContentPortal;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewTabComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewTabComponent, "wb-view-tab", never, { "view": { "alias": "viewId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
35
- }
@@ -1,164 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { ViewTabComponent } from '../view-tab/view-tab.component';
3
- import { ɵWorkbenchPart } from '../ɵworkbench-part.model';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Renders view tabs of a {@link WorkbenchPart}.
7
- *
8
- * Tabs are added to a viewport, which the user can scroll if not enough space. The viewport grows with its tabs,
9
- * allowing actions to be placed directly after the last tab or on the right side.
10
- *
11
- * ## Drag and Drop
12
- * This component subscribes to drag events to visualize tabs during a drag operation. The drag operation is initiated in {@link ViewTabComponent}.
13
- *
14
- * We use native drag and drop to support dragging views to other windows.
15
- *
16
- * Following events are triggered:
17
- * - dragstart: when start dragging a tab (only received in the tabbar where the drag operation has started)
18
- * - dragend: when end dragging a tab, either via drop or cancel (only received in the tabbar where the drag operation has started)
19
- * - dragenter: when a tab enters the tabbar
20
- * - dragover: when dragging a tab over the tabbar, every few hundred milliseconds
21
- * - dragleave: when a tab leaves the tabbar
22
- * - drop: when the user drops a tab in the tabbar
23
- *
24
- * - Note that `dragleave` event is not fired on drop action. Therefore, always handle both events, `dragleave` and `drop` events, respectively.
25
- *
26
- * ## Terminology
27
- * - Drag source: Tab that is being dragged.
28
- * - Drop target: Tab before which to insert the drag source on drop, or `end` if dropping it after the last tab.
29
- * - Drag image: Image for the tab to be dragged. We do not use the native drag image support to control drag image position and size,
30
- * e.g., to snap the drag image to the tabbar when dragging near it.
31
- */
32
- export declare class ViewTabBarComponent implements OnDestroy {
33
- /**
34
- * Defines the maximum available width for the tab bar, used to constrain the drag image to the tab bar bounds.
35
- */
36
- readonly maxWidth: import("@angular/core").InputSignal<number>;
37
- private readonly _host;
38
- private readonly _partBarElement;
39
- private readonly _viewportChange$;
40
- private readonly _workbenchId;
41
- private readonly _router;
42
- private readonly _viewTabDragImageRenderer;
43
- private readonly _viewDragService;
44
- private readonly _zone;
45
- private readonly _viewTabs;
46
- private readonly _hostBoundingClientRect;
47
- private readonly _viewportComponent;
48
- private readonly _viewportComponentElement;
49
- private readonly _tabCornerRadiusElement;
50
- private readonly _viewportBoundingBox;
51
- private readonly _canDrop;
52
- /**
53
- * Reference to the part.
54
- */
55
- protected readonly part: ɵWorkbenchPart;
56
- /**
57
- * Reference to the tab before which to insert the drag source on drop, or `end` if dropping it after the last tab.
58
- */
59
- protected dropTargetViewTab: import("@angular/core").WritableSignal<"end" | ViewTabComponent | null>;
60
- /**
61
- * Reference to the tab where the drag operation was started.
62
- * This reference is only set if the drag operation started on a tab of this tabbar.
63
- */
64
- protected dragSourceViewTab: import("@angular/core").WritableSignal<ViewTabComponent | null>;
65
- /**
66
- * Transfer data of the tab being dragged over this tabbar.
67
- */
68
- private _dragData;
69
- /**
70
- * Function for snapping the drag image to the tabbar when dragging near it.
71
- */
72
- private _constrainFn;
73
- /**
74
- * Signals when unsetting drag state.
75
- */
76
- private _onUnsetDragState;
77
- /**
78
- * Tabbar indents where to display the rounded bottom corners of the first and last view tab.
79
- */
80
- private _tabbarIndent;
81
- constructor();
82
- /**
83
- * Method invoked when the user starts dragging a tab of this tabbar, only in the tabbar where the drag started.
84
- */
85
- private onTabDragStart;
86
- /**
87
- * Method invoked when the user ends dragging a tab of this tabbar, either by drop or cancel, only in the tabbar where the drag started.
88
- */
89
- private onTabDragEnd;
90
- /**
91
- * Method invoked when the layout has changed after a drop. The drop may not be related to a tab of this tabbar.
92
- */
93
- private onTabMoved;
94
- /**
95
- * Method invoked when the user drags a tab into this tabbar.
96
- */
97
- private onTabbarDragEnter;
98
- /**
99
- * Method invoked when the user drags a tab out of this tabbar.
100
- */
101
- private onTabbarDragLeave;
102
- /**
103
- * Method invoked when the user is dragging a tab over this tabbar.
104
- */
105
- private onTabbarDragOver;
106
- /**
107
- * Method invoked when the user drops a tab in this tabbar.
108
- */
109
- private onTabbarDrop;
110
- /**
111
- * Locates the tab before which the dragged tab is to be inserted when it is dropped. Dragging beyond the last tab returns `end`.
112
- */
113
- private computeDropTarget;
114
- /**
115
- * Creates the function for snapping the drag image to the tabbar when dragging near it.
116
- */
117
- private createDragImageConstrainFn;
118
- /**
119
- * Calculates the width for the drag placeholder.
120
- *
121
- * The placeholder expands the viewport when dragging a tab to the right, moving part actions along with the dragover event.
122
- *
123
- * Calculation:
124
- * - When dragging over tabs, the width is equal to the width of the drag source.
125
- * - When dragging to the right of the last tab, the width of the placeholder is the distance between the last tab and the position of the drag pointer.
126
- */
127
- private calculateDragPlaceholderWidth;
128
- /**
129
- * Indicates whether CSS animations have finished when dragging a tab over the tabbar.
130
- * The animation is considered stable when all tabs have moved to their final position.
131
- */
132
- private isDragAnimationStable;
133
- /**
134
- * Cleans up the drag state, unsetting drag data and drag source based on provided options.
135
- */
136
- private unsetDragState;
137
- /**
138
- * Executes given function when the drag animation has finished, i.e., tabs have transitioned to their final position.
139
- */
140
- private onDragAnimationStable;
141
- /**
142
- * Scrolls the tab of the active view into view.
143
- */
144
- private installActiveViewScroller;
145
- /**
146
- * Updates {@link ɵWorkbenchView} when its tab is scrolled into view.
147
- */
148
- private installScrolledIntoViewUpdater;
149
- /**
150
- * Subscribes to drag events.
151
- */
152
- private installViewDragListener;
153
- /**
154
- * Emits on {@link _viewportChange$} when the viewport size or scroll position changes.
155
- */
156
- private installViewportChangeTracker;
157
- /**
158
- * Tracks the tabbar indents.
159
- */
160
- private installTabbarIndentSizeTracker;
161
- ngOnDestroy(): void;
162
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewTabBarComponent, never>;
163
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewTabBarComponent, "wb-view-tab-bar", never, { "maxWidth": { "alias": "maxWidth"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
164
- }
@@ -1,7 +0,0 @@
1
- import { WorkbenchView } from '../../view/workbench-view.model';
2
- import * as i0 from "@angular/core";
3
- export declare class ViewTabContentComponent {
4
- protected readonly view: WorkbenchView;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewTabContentComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewTabContentComponent, "wb-view-tab-content", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,38 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { ComponentPortal } from '@angular/cdk/portal';
3
- import { WorkbenchView } from '../../view/workbench-view.model';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @see ViewTabComponent
7
- */
8
- export declare class ViewTabDragImageComponent {
9
- protected readonly view: Signal<WorkbenchView>;
10
- protected readonly viewTabContentPortal: Signal<ComponentPortal<unknown>>;
11
- /**
12
- * Indicates if dragging this view tab over a tabbar.
13
- */
14
- protected readonly isDragOverTabbar: Signal<false | `part.${string}`>;
15
- /**
16
- * Indicates if dragging this view tab over a tabbar located in the peripheral area.
17
- */
18
- protected readonly isDragOverPeripheralTabbar: Signal<boolean>;
19
- /**
20
- * Indicates if dragging this view tab over a valid drop target.
21
- */
22
- protected readonly canDrop: Signal<boolean>;
23
- protected onClose(..._: unknown[]): void;
24
- /**
25
- * Computes if dragging this view tab over a tabbar.
26
- */
27
- private computeDragOverTabbar;
28
- /**
29
- * Computes if dragging this view tab over a tabbar located in the peripheral area.
30
- */
31
- private computeDragOverPeripheralTabbar;
32
- /**
33
- * Computes if dragging this view tab over a valid drop target.
34
- */
35
- private computeCanDrop;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewTabDragImageComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewTabDragImageComponent, "wb-view-tab-drag-image", never, {}, {}, never, never, true, never>;
38
- }
@@ -1,7 +0,0 @@
1
- import { WorkbenchPartActionFn } from '../workbench.model';
2
- import { InjectionToken } from '@angular/core';
3
- import { WorkbenchObjectRegistry } from '../registry/workbench-object-registry';
4
- /**
5
- * Registry for {@link WorkbenchPartAction} factory functions.
6
- */
7
- export declare const WORKBENCH_PART_ACTION_REGISTRY: InjectionToken<WorkbenchObjectRegistry<WorkbenchPartActionFn, WorkbenchPartActionFn>>;