@eclipse-glsp/client 2.2.0-next.330 → 2.2.0-next.332
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.
- package/{lib/features/routing/glsp-manhattan-edge-router.d.ts → css/debug.css} +10 -5
- package/css/glsp-sprotty.css +5 -0
- package/css/grid.css +20 -0
- package/css/keyboard-tool-palette.css +0 -6
- package/css/tool-palette.css +30 -26
- package/lib/base/default.module.js +1 -1
- package/lib/base/default.module.js.map +1 -1
- package/lib/base/index.d.ts +1 -1
- package/lib/base/index.d.ts.map +1 -1
- package/lib/base/index.js +1 -1
- package/lib/base/index.js.map +1 -1
- package/lib/base/ui-extension/index.d.ts +18 -0
- package/lib/base/ui-extension/index.d.ts.map +1 -0
- package/lib/base/ui-extension/index.js +34 -0
- package/lib/base/ui-extension/index.js.map +1 -0
- package/lib/base/{ui-extension-registry.d.ts → ui-extension/ui-extension-registry.d.ts} +1 -1
- package/lib/base/ui-extension/ui-extension-registry.d.ts.map +1 -0
- package/lib/base/ui-extension/ui-extension-registry.js.map +1 -0
- package/lib/base/ui-extension/ui-extension.d.ts +39 -0
- package/lib/base/ui-extension/ui-extension.d.ts.map +1 -0
- package/lib/base/ui-extension/ui-extension.js +120 -0
- package/lib/base/ui-extension/ui-extension.js.map +1 -0
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts.map +1 -1
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js +21 -7
- package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts +2 -4
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js +11 -7
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +5 -6
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js +12 -8
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/change-bounds/snap.d.ts +1 -22
- package/lib/features/change-bounds/snap.d.ts.map +1 -1
- package/lib/features/change-bounds/snap.js +1 -37
- package/lib/features/change-bounds/snap.js.map +1 -1
- package/lib/features/command-palette/command-palette.d.ts.map +1 -1
- package/lib/features/command-palette/command-palette.js +4 -3
- package/lib/features/command-palette/command-palette.js.map +1 -1
- package/lib/features/debug/debug-bounds-decorator.d.ts +35 -0
- package/lib/features/debug/debug-bounds-decorator.d.ts.map +1 -0
- package/lib/features/debug/debug-bounds-decorator.js +149 -0
- package/lib/features/debug/debug-bounds-decorator.js.map +1 -0
- package/lib/features/debug/debug-manager.d.ts +29 -0
- package/lib/features/debug/debug-manager.d.ts.map +1 -0
- package/lib/features/debug/debug-manager.js +72 -0
- package/lib/features/debug/debug-manager.js.map +1 -0
- package/lib/features/debug/debug-model.d.ts +37 -0
- package/lib/features/debug/debug-model.d.ts.map +1 -0
- package/lib/features/debug/debug-model.js +73 -0
- package/lib/features/debug/debug-model.js.map +1 -0
- package/lib/features/debug/debug-module.d.ts +19 -0
- package/lib/features/debug/debug-module.d.ts.map +1 -0
- package/lib/features/debug/debug-module.js +31 -0
- package/lib/features/debug/debug-module.js.map +1 -0
- package/lib/features/debug/index.d.ts +20 -0
- package/lib/features/debug/index.d.ts.map +1 -0
- package/lib/features/debug/index.js +36 -0
- package/lib/features/debug/index.js.map +1 -0
- package/lib/features/grid/grid-manager.d.ts +32 -0
- package/lib/features/grid/grid-manager.d.ts.map +1 -0
- package/lib/features/grid/grid-manager.js +74 -0
- package/lib/features/grid/grid-manager.js.map +1 -0
- package/lib/features/grid/grid-model.d.ts +37 -0
- package/lib/features/grid/grid-model.d.ts.map +1 -0
- package/lib/features/grid/grid-model.js +73 -0
- package/lib/features/grid/grid-model.js.map +1 -0
- package/lib/features/grid/grid-module.d.ts +19 -0
- package/lib/features/grid/grid-module.d.ts.map +1 -0
- package/lib/features/grid/grid-module.js +32 -0
- package/lib/features/grid/grid-module.js.map +1 -0
- package/lib/features/grid/grid-snapper.d.ts +45 -0
- package/lib/features/grid/grid-snapper.d.ts.map +1 -0
- package/lib/features/grid/grid-snapper.js +83 -0
- package/lib/features/grid/grid-snapper.js.map +1 -0
- package/lib/features/grid/grid.d.ts +18 -0
- package/lib/features/grid/grid.d.ts.map +1 -0
- package/lib/features/grid/grid.js +3 -0
- package/lib/features/grid/grid.js.map +1 -0
- package/lib/features/grid/index.d.ts +21 -0
- package/lib/features/grid/index.d.ts.map +1 -0
- package/lib/features/grid/index.js +37 -0
- package/lib/features/grid/index.js.map +1 -0
- package/lib/features/helper-lines/helper-line-manager-default.d.ts +4 -1
- package/lib/features/helper-lines/helper-line-manager-default.d.ts.map +1 -1
- package/lib/features/helper-lines/helper-line-manager-default.js +11 -1
- package/lib/features/helper-lines/helper-line-manager-default.js.map +1 -1
- package/lib/features/index.d.ts +2 -0
- package/lib/features/index.d.ts.map +1 -1
- package/lib/features/index.js +2 -0
- package/lib/features/index.js.map +1 -1
- package/lib/features/label-edit-ui/label-edit-ui.d.ts.map +1 -1
- package/lib/features/label-edit-ui/label-edit-ui.js +4 -3
- package/lib/features/label-edit-ui/label-edit-ui.js.map +1 -1
- package/lib/features/routing/edge-router.d.ts +30 -0
- package/lib/features/routing/edge-router.d.ts.map +1 -0
- package/lib/features/routing/edge-router.js +116 -0
- package/lib/features/routing/edge-router.js.map +1 -0
- package/lib/features/routing/index.d.ts +1 -1
- package/lib/features/routing/index.d.ts.map +1 -1
- package/lib/features/routing/index.js +1 -1
- package/lib/features/routing/index.js.map +1 -1
- package/lib/features/routing/routing-module.d.ts.map +1 -1
- package/lib/features/routing/routing-module.js +4 -4
- package/lib/features/routing/routing-module.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +7 -0
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +80 -2
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/viewport/index.d.ts +1 -0
- package/lib/features/viewport/index.d.ts.map +1 -1
- package/lib/features/viewport/index.js +1 -0
- package/lib/features/viewport/index.js.map +1 -1
- package/lib/features/viewport/origin-viewport.d.ts +36 -0
- package/lib/features/viewport/origin-viewport.d.ts.map +1 -0
- package/lib/features/viewport/origin-viewport.js +75 -0
- package/lib/features/viewport/origin-viewport.js.map +1 -0
- package/lib/features/viewport/viewport-modules.d.ts.map +1 -1
- package/lib/features/viewport/viewport-modules.js +4 -2
- package/lib/features/viewport/viewport-modules.js.map +1 -1
- package/lib/views/base-view-module.d.ts.map +1 -1
- package/lib/views/base-view-module.js +3 -2
- package/lib/views/base-view-module.js.map +1 -1
- package/lib/views/ggraph-view.d.ts +26 -0
- package/lib/views/ggraph-view.d.ts.map +1 -0
- package/lib/views/ggraph-view.js +71 -0
- package/lib/views/ggraph-view.js.map +1 -0
- package/lib/views/glsp-projection-view.d.ts +6 -1
- package/lib/views/glsp-projection-view.d.ts.map +1 -1
- package/lib/views/glsp-projection-view.js +30 -6
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/index.d.ts +1 -0
- package/lib/views/index.d.ts.map +1 -1
- package/lib/views/index.js +1 -0
- package/lib/views/index.js.map +1 -1
- package/package.json +3 -3
- package/src/base/default.module.ts +1 -1
- package/src/base/index.ts +1 -1
- package/src/base/ui-extension/index.ts +17 -0
- package/src/base/{ui-extension-registry.ts → ui-extension/ui-extension-registry.ts} +1 -1
- package/src/base/ui-extension/ui-extension.ts +119 -0
- package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts +24 -7
- package/src/features/accessibility/resize-key-tool/resize-key-handler.ts +9 -9
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +13 -11
- package/src/features/change-bounds/{snap.spec.ts → point-position-updater.spec.ts} +1 -12
- package/src/features/change-bounds/snap.ts +1 -24
- package/src/features/command-palette/command-palette.ts +2 -1
- package/src/features/debug/debug-bounds-decorator.tsx +171 -0
- package/src/features/debug/debug-manager.ts +56 -0
- package/src/features/debug/debug-model.ts +63 -0
- package/src/features/debug/debug-module.ts +32 -0
- package/src/features/debug/index.ts +19 -0
- package/src/features/grid/grid-manager.ts +60 -0
- package/src/features/grid/grid-model.ts +62 -0
- package/src/features/grid/grid-module.ts +34 -0
- package/src/features/grid/grid-snapper.spec.ts +30 -0
- package/src/features/grid/grid-snapper.ts +59 -0
- package/src/features/grid/grid.ts +18 -0
- package/src/features/grid/index.ts +20 -0
- package/src/features/helper-lines/helper-line-manager-default.ts +10 -2
- package/src/features/index.ts +2 -0
- package/src/features/label-edit-ui/label-edit-ui.ts +2 -1
- package/src/features/routing/{glsp-manhattan-edge-router.ts → edge-router.ts} +72 -2
- package/src/features/routing/index.ts +1 -1
- package/src/features/routing/routing-module.ts +3 -5
- package/src/features/tool-palette/tool-palette.ts +80 -3
- package/src/features/viewport/index.ts +1 -0
- package/src/features/viewport/origin-viewport.ts +68 -0
- package/src/features/viewport/viewport-modules.ts +4 -2
- package/src/views/base-view-module.ts +3 -3
- package/src/views/ggraph-view.tsx +56 -0
- package/src/views/glsp-projection-view.tsx +34 -7
- package/src/views/index.ts +1 -0
- package/lib/base/ui-extension-registry.d.ts.map +0 -1
- package/lib/base/ui-extension-registry.js.map +0 -1
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts.map +0 -1
- package/lib/features/routing/glsp-manhattan-edge-router.js +0 -68
- package/lib/features/routing/glsp-manhattan-edge-router.js.map +0 -1
- /package/lib/base/{ui-extension-registry.js → ui-extension/ui-extension-registry.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -13,8 +13,13 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
|
|
17
|
+
.debug-bounds:has(> .debug-bounds-decoration) {
|
|
18
|
+
fill-opacity: 0.5;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.debug-bounds-decoration {
|
|
22
|
+
fill: none;
|
|
23
|
+
stroke: black;
|
|
24
|
+
stroke-width: 1px;
|
|
19
25
|
}
|
|
20
|
-
//# sourceMappingURL=glsp-manhattan-edge-router.d.ts.map
|
package/css/glsp-sprotty.css
CHANGED
package/css/grid.css
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 Axon Ivy AG and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
|
|
17
|
+
/** Control visibility of background image through CSS class on parent */
|
|
18
|
+
.grid-background .sprotty-graph {
|
|
19
|
+
background-image: var(--grid-background-image);
|
|
20
|
+
}
|
|
@@ -14,13 +14,7 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
|
|
17
|
-
.accessibility-tool-palette.tool-palette {
|
|
18
|
-
top: 48px;
|
|
19
|
-
width: 240px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
17
|
.accessibility-tool-palette .header-tools i {
|
|
23
|
-
margin-right: 0.5em;
|
|
24
18
|
position: relative;
|
|
25
19
|
}
|
|
26
20
|
|
package/css/tool-palette.css
CHANGED
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
/* Css for main container */
|
|
18
18
|
.tool-palette {
|
|
19
19
|
position: absolute;
|
|
20
|
-
right:
|
|
21
|
-
top:
|
|
20
|
+
right: 45px;
|
|
21
|
+
top: 35px;
|
|
22
22
|
text-align: center;
|
|
23
|
-
width:
|
|
23
|
+
width: fit-content;
|
|
24
24
|
display: block;
|
|
25
25
|
z-index: 1000;
|
|
26
26
|
border-style: solid;
|
|
@@ -38,6 +38,11 @@
|
|
|
38
38
|
/* Firefox */
|
|
39
39
|
-ms-user-select: none;
|
|
40
40
|
/* Internet Explorer/Edge */
|
|
41
|
+
|
|
42
|
+
box-shadow:
|
|
43
|
+
4px 0 4px 0 rgba(0, 0, 0, 0.2),
|
|
44
|
+
0 4px 4px 0 rgba(0, 0, 0, 0.19);
|
|
45
|
+
font-size: 14px;
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
/* Css for header compartment */
|
|
@@ -45,33 +50,29 @@
|
|
|
45
50
|
.palette-header {
|
|
46
51
|
padding: 0.4em;
|
|
47
52
|
text-align: left;
|
|
48
|
-
background:
|
|
53
|
+
background: rgb(151, 160, 165);
|
|
49
54
|
border: 1px solid rgba(60, 60, 60, 0.6);
|
|
50
|
-
|
|
51
|
-
0 4px 8px 0 rgba(0, 0, 0, 0.2),
|
|
52
|
-
0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
55
|
+
border-bottom: 0;
|
|
53
56
|
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
54
58
|
align-items: center;
|
|
55
59
|
justify-content: space-between;
|
|
56
|
-
|
|
60
|
+
gap: 6px;
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.header-icon {
|
|
60
|
-
display:
|
|
64
|
+
display: none;
|
|
61
65
|
align-items: center;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
|
-
.header-icon i {
|
|
65
|
-
margin-right: 0.2em;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
68
|
.header-tools {
|
|
69
69
|
display: flex;
|
|
70
70
|
align-items: center;
|
|
71
|
+
gap: 3px;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
.header-tools i {
|
|
74
|
-
border: 1px solid
|
|
75
|
+
border: 1px solid transparent;
|
|
75
76
|
padding: 0.15em;
|
|
76
77
|
margin-right: 0.15em;
|
|
77
78
|
}
|
|
@@ -90,9 +91,6 @@
|
|
|
90
91
|
.palette-body {
|
|
91
92
|
background: rgba(100, 100, 100, 0.2);
|
|
92
93
|
border: 1px solid rgba(60, 60, 60, 0.6);
|
|
93
|
-
box-shadow:
|
|
94
|
-
0 4px 8px 0 rgba(0, 0, 0, 0.2),
|
|
95
|
-
0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
96
94
|
}
|
|
97
95
|
|
|
98
96
|
.tool-group {
|
|
@@ -101,13 +99,13 @@
|
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
.group-header {
|
|
104
|
-
background:
|
|
102
|
+
background: rgb(187, 193, 196);
|
|
105
103
|
display: flex;
|
|
106
104
|
align-items: center;
|
|
107
105
|
}
|
|
108
106
|
|
|
109
107
|
.group-header:hover {
|
|
110
|
-
background:
|
|
108
|
+
background: rgb(187, 193, 196);
|
|
111
109
|
}
|
|
112
110
|
|
|
113
111
|
.group-header i {
|
|
@@ -115,7 +113,7 @@
|
|
|
115
113
|
}
|
|
116
114
|
|
|
117
115
|
.tool-button {
|
|
118
|
-
background:
|
|
116
|
+
background: rgb(252, 253, 253);
|
|
119
117
|
padding: 0.4em;
|
|
120
118
|
display: flex;
|
|
121
119
|
align-items: center;
|
|
@@ -126,11 +124,11 @@
|
|
|
126
124
|
}
|
|
127
125
|
|
|
128
126
|
.tool-button:hover {
|
|
129
|
-
background:
|
|
127
|
+
background: rgb(220, 223, 224);
|
|
130
128
|
}
|
|
131
129
|
|
|
132
130
|
.tool-button.clicked {
|
|
133
|
-
background:
|
|
131
|
+
background: rgb(163, 201, 219);
|
|
134
132
|
}
|
|
135
133
|
|
|
136
134
|
.tool-button.collapsed {
|
|
@@ -147,13 +145,19 @@
|
|
|
147
145
|
right: 20px;
|
|
148
146
|
top: 35px;
|
|
149
147
|
z-index: 1000;
|
|
148
|
+
color: rgb(58, 63, 65);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.minimize-palette-button .codicon::before {
|
|
152
|
+
font-size: 20px;
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
.search-input {
|
|
153
|
-
|
|
156
|
+
box-sizing: border-box;
|
|
157
|
+
background: rgb(252, 253, 253);
|
|
154
158
|
color: black;
|
|
155
|
-
border:
|
|
156
|
-
padding
|
|
159
|
+
border: 1px solid rgb(187, 193, 196);
|
|
160
|
+
padding: 4px;
|
|
157
161
|
width: 100%;
|
|
158
|
-
margin: 3px;
|
|
162
|
+
margin: 3px 0;
|
|
159
163
|
}
|
|
@@ -37,7 +37,7 @@ const selection_clearing_mouse_listener_1 = require("./selection-clearing-mouse-
|
|
|
37
37
|
const selection_service_1 = require("./selection-service");
|
|
38
38
|
const tool_1 = require("./tool-manager/tool");
|
|
39
39
|
const tool_manager_1 = require("./tool-manager/tool-manager");
|
|
40
|
-
const ui_extension_registry_1 = require("./ui-extension-registry");
|
|
40
|
+
const ui_extension_registry_1 = require("./ui-extension/ui-extension-registry");
|
|
41
41
|
const key_tool_1 = require("./view/key-tool");
|
|
42
42
|
const mouse_tool_1 = require("./view/mouse-tool");
|
|
43
43
|
const view_registry_1 = require("./view/view-registry");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.module.js","sourceRoot":"","sources":["../../src/base/default.module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAiB+B;AAC/B,6CAA2C;AAC3C,sCAAoC;AACpC,2DAA2D;AAC3D,uEAAsE;AACtE,mDAAmD;AACnD,qEAAgE;AAChE,yCAA0D;AAC1D,0DAAmE;AACnE,sFAAiF;AACjF,0EAAkF;AAClF,iFAA4E;AAC5E,yDAAqD;AACrD,2DAAuD;AACvD,iEAA4D;AAC5D,6FAA8H;AAC9H,2DAAwD;AACxD,2FAAqF;AACrF,2DAAuD;AACvD,8CAAkF;AAClF,8DAAqH;AACrH,
|
|
1
|
+
{"version":3,"file":"default.module.js","sourceRoot":"","sources":["../../src/base/default.module.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAiB+B;AAC/B,6CAA2C;AAC3C,sCAAoC;AACpC,2DAA2D;AAC3D,uEAAsE;AACtE,mDAAmD;AACnD,qEAAgE;AAChE,yCAA0D;AAC1D,0DAAmE;AACnE,sFAAiF;AACjF,0EAAkF;AAClF,iFAA4E;AAC5E,yDAAqD;AACrD,2DAAuD;AACvD,iEAA4D;AAC5D,6FAA8H;AAC9H,2DAAwD;AACxD,2FAAqF;AACrF,2DAAuD;AACvD,8CAAkF;AAClF,8DAAqH;AACrH,gFAA+E;AAC/E,8CAA8C;AAC9C,kDAAkD;AAClD,wDAAqD;AAErD;;;GAGG;AACU,QAAA,aAAa,GAAG,IAAI,uBAAa,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE;IACtF,wEAAwE;IACxE,8BAAoB,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC;IACtE,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAEl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,IAAI,EAAE,uCAAwB,CAAC,CAAC;IAElF,IAAI,CAAC,+CAAuB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC1D,IAAA,sBAAY,EAAC,OAAO,EAAE,eAAK,CAAC,mBAAmB,CAAC,CAAC,SAAS,CAAC,+CAAuB,CAAC,CAAC;IACpF,IAAI,CAAC,eAAK,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,+CAAuB,CAAC,CAAC;AACnE,CAAC,CAAC,CAAC"}
|
package/lib/base/index.d.ts
CHANGED
|
@@ -28,6 +28,6 @@ export * from './ranked';
|
|
|
28
28
|
export * from './selection-clearing-mouse-listener';
|
|
29
29
|
export * from './selection-service';
|
|
30
30
|
export * from './tool-manager';
|
|
31
|
-
export * from './ui-extension
|
|
31
|
+
export * from './ui-extension';
|
|
32
32
|
export * from './view';
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/base/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,qCAAqC,CAAC;AACpD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC"}
|
package/lib/base/index.js
CHANGED
|
@@ -44,6 +44,6 @@ __exportStar(require("./ranked"), exports);
|
|
|
44
44
|
__exportStar(require("./selection-clearing-mouse-listener"), exports);
|
|
45
45
|
__exportStar(require("./selection-service"), exports);
|
|
46
46
|
__exportStar(require("./tool-manager"), exports);
|
|
47
|
-
__exportStar(require("./ui-extension
|
|
47
|
+
__exportStar(require("./ui-extension"), exports);
|
|
48
48
|
__exportStar(require("./view"), exports);
|
|
49
49
|
//# sourceMappingURL=index.js.map
|
package/lib/base/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,sDAAoC;AACpC,4DAA0C;AAC1C,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,8DAA4C;AAC5C,2DAAyC;AACzC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,2CAAyB;AACzB,sEAAoD;AACpD,sDAAoC;AACpC,iDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/base/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,sDAAoC;AACpC,4DAA0C;AAC1C,iDAA+B;AAC/B,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,8DAA4C;AAC5C,2DAAyC;AACzC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,2CAAyB;AACzB,sEAAoD;AACpD,sDAAoC;AACpC,iDAA+B;AAC/B,iDAA+B;AAC/B,yCAAuB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 EclipseSource and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
export * from './ui-extension';
|
|
17
|
+
export * from './ui-extension-registry';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/base/ui-extension/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/********************************************************************************
|
|
18
|
+
* Copyright (c) 2024 EclipseSource and others.
|
|
19
|
+
*
|
|
20
|
+
* This program and the accompanying materials are made available under the
|
|
21
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
22
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
23
|
+
*
|
|
24
|
+
* This Source Code may also be made available under the following Secondary
|
|
25
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
26
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
27
|
+
* with the GNU Classpath Exception which is available at
|
|
28
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
29
|
+
*
|
|
30
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
31
|
+
********************************************************************************/
|
|
32
|
+
__exportStar(require("./ui-extension"), exports);
|
|
33
|
+
__exportStar(require("./ui-extension-registry"), exports);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/base/ui-extension/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAA+B;AAC/B,0DAAwC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { IUIExtension, LazyInjector, MaybePromise, UIExtensionRegistry } from '@eclipse-glsp/sprotty';
|
|
17
|
-
import { IDiagramStartup } from '
|
|
17
|
+
import { IDiagramStartup } from '../model';
|
|
18
18
|
export declare class GLSPUIExtensionRegistry extends UIExtensionRegistry implements IDiagramStartup {
|
|
19
19
|
protected lazyInjector: LazyInjector;
|
|
20
20
|
constructor(extensions?: IUIExtension[]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-extension-registry.d.ts","sourceRoot":"","sources":["../../../src/base/ui-extension/ui-extension-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAS,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE7G,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,qBACa,uBAAwB,SAAQ,mBAAoB,YAAW,eAAe;IAEvF,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;gBAEb,UAAU,GAAE,YAAY,EAAO;IAIvD,cAAc,IAAI,YAAY,CAAC,IAAI,CAAC;CAGvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-extension-registry.js","sourceRoot":"","sources":["../../../src/base/ui-extension/ui-extension-registry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;AAElF,mDAA6G;AAC7G,yCAAyD;AAIlD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,6BAAmB;IAI5D,YAAwB,aAA6B,EAAE;QACnD,KAAK,CAAC,UAAU,CAAC,CAAC;IACtB,CAAC;IAED,cAAc;QACV,IAAI,CAAC,YAAY,CAAC,MAAM,CAAe,eAAK,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC;IAC9H,CAAC;CACJ,CAAA;AAXY,0DAAuB;AAEtB;IADT,IAAA,kBAAM,EAAC,sBAAY,CAAC;;6DACgB;kCAF5B,uBAAuB;IADnC,IAAA,sBAAU,GAAE;IAKI,WAAA,IAAA,oBAAQ,GAAE,CAAA;;GAJd,uBAAuB,CAWnC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2024 EclipseSource and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
import { AbstractUIExtension } from '@eclipse-glsp/sprotty';
|
|
17
|
+
export declare const CSS_UI_EXTENSION_CLASS = "ui-extension";
|
|
18
|
+
export declare const CSS_HIDDEN_EXTENSION_CLASS = "hidden";
|
|
19
|
+
/**
|
|
20
|
+
* Reusable abstract base implementation for UI extensions.
|
|
21
|
+
* Intended for UI extensions that directly interact with the DOM API to create and manage UI elements.
|
|
22
|
+
*/
|
|
23
|
+
export declare abstract class GLSPAbstractUIExtension extends AbstractUIExtension {
|
|
24
|
+
protected get diagramContainerId(): string;
|
|
25
|
+
protected get parentContainerSelector(): string;
|
|
26
|
+
protected get containerSelector(): string;
|
|
27
|
+
protected get initialized(): boolean;
|
|
28
|
+
protected initialize(): boolean;
|
|
29
|
+
protected getOrCreateContainer(): HTMLElement;
|
|
30
|
+
protected getContainer(): HTMLElement | null;
|
|
31
|
+
protected createContainer(parent: HTMLElement): HTMLElement;
|
|
32
|
+
protected initializeContainer(container: HTMLElement): void;
|
|
33
|
+
protected getParentContainer(): HTMLElement | null;
|
|
34
|
+
protected insertContainerIntoParent(container: HTMLElement, parent: HTMLElement): void;
|
|
35
|
+
protected setContainerVisible(visible: boolean): void;
|
|
36
|
+
protected isContainerVisible(): boolean;
|
|
37
|
+
protected toggleContainerVisible(): void;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=ui-extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-extension.d.ts","sourceRoot":"","sources":["../../../src/base/ui-extension/ui-extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D,eAAO,MAAM,sBAAsB,iBAAiB,CAAC;AACrD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AAEnD;;;GAGG;AACH,8BACsB,uBAAwB,SAAQ,mBAAmB;IACrE,SAAS,KAAK,kBAAkB,IAAI,MAAM,CAEzC;IAED,SAAS,KAAK,uBAAuB,IAAI,MAAM,CAE9C;IAED,SAAS,KAAK,iBAAiB,IAAI,MAAM,CAExC;IAED,SAAS,KAAK,WAAW,IAAI,OAAO,CAEnC;cAEkB,UAAU,IAAI,OAAO;cAgBrB,oBAAoB,IAAI,WAAW;IAoBtD,SAAS,CAAC,YAAY,IAAI,WAAW,GAAG,IAAI;IAI5C,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW;IAM3D,SAAS,CAAC,mBAAmB,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAI3D,SAAS,CAAC,kBAAkB,IAAI,WAAW,GAAG,IAAI;IAIlD,SAAS,CAAC,yBAAyB,CAAC,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,GAAG,IAAI;cAInE,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAS9D,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,sBAAsB,IAAI,IAAI;CAG3C"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/********************************************************************************
|
|
3
|
+
* Copyright (c) 2024 EclipseSource and others.
|
|
4
|
+
*
|
|
5
|
+
* This program and the accompanying materials are made available under the
|
|
6
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
*
|
|
9
|
+
* This Source Code may also be made available under the following Secondary
|
|
10
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
* with the GNU Classpath Exception which is available at
|
|
13
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
*
|
|
15
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
********************************************************************************/
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.GLSPAbstractUIExtension = exports.CSS_HIDDEN_EXTENSION_CLASS = exports.CSS_UI_EXTENSION_CLASS = void 0;
|
|
25
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
26
|
+
const inversify_1 = require("inversify");
|
|
27
|
+
exports.CSS_UI_EXTENSION_CLASS = 'ui-extension';
|
|
28
|
+
exports.CSS_HIDDEN_EXTENSION_CLASS = 'hidden';
|
|
29
|
+
/**
|
|
30
|
+
* Reusable abstract base implementation for UI extensions.
|
|
31
|
+
* Intended for UI extensions that directly interact with the DOM API to create and manage UI elements.
|
|
32
|
+
*/
|
|
33
|
+
let GLSPAbstractUIExtension = class GLSPAbstractUIExtension extends sprotty_1.AbstractUIExtension {
|
|
34
|
+
get diagramContainerId() {
|
|
35
|
+
return this.options.baseDiv;
|
|
36
|
+
}
|
|
37
|
+
get parentContainerSelector() {
|
|
38
|
+
return '#' + this.diagramContainerId;
|
|
39
|
+
}
|
|
40
|
+
get containerSelector() {
|
|
41
|
+
return '#' + this.id();
|
|
42
|
+
}
|
|
43
|
+
get initialized() {
|
|
44
|
+
return !!this.containerElement;
|
|
45
|
+
}
|
|
46
|
+
initialize() {
|
|
47
|
+
if (this.initialized) {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
try {
|
|
51
|
+
this.containerElement = this.getOrCreateContainer();
|
|
52
|
+
this.initializeContainer(this.containerElement);
|
|
53
|
+
this.initializeContents(this.containerElement);
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
const msg = error instanceof Error ? error.message : `Could not retrieve container element for UI extension ${this.id}`;
|
|
57
|
+
this.logger.error(this, msg);
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
getOrCreateContainer() {
|
|
63
|
+
if (this.containerElement) {
|
|
64
|
+
return this.containerElement;
|
|
65
|
+
}
|
|
66
|
+
// check if the container already exists, independent from any potential parent container
|
|
67
|
+
// this allows us to use existing elements defined anywhere in the document
|
|
68
|
+
const existingContainer = this.getContainer();
|
|
69
|
+
if (existingContainer) {
|
|
70
|
+
return existingContainer;
|
|
71
|
+
}
|
|
72
|
+
// to create a container the parent container
|
|
73
|
+
const parent = this.getParentContainer();
|
|
74
|
+
if (!(parent === null || parent === void 0 ? void 0 : parent.isConnected)) {
|
|
75
|
+
throw new Error(`Could not obtain attached parent for initializing UI extension ${this.id}`);
|
|
76
|
+
}
|
|
77
|
+
const container = this.createContainer(parent);
|
|
78
|
+
this.insertContainerIntoParent(container, parent);
|
|
79
|
+
return container;
|
|
80
|
+
}
|
|
81
|
+
getContainer() {
|
|
82
|
+
return document.querySelector(this.containerSelector);
|
|
83
|
+
}
|
|
84
|
+
createContainer(parent) {
|
|
85
|
+
const container = document.createElement('div');
|
|
86
|
+
container.id = parent.id + '_' + this.id();
|
|
87
|
+
return container;
|
|
88
|
+
}
|
|
89
|
+
initializeContainer(container) {
|
|
90
|
+
container.classList.add(exports.CSS_UI_EXTENSION_CLASS, this.containerClass());
|
|
91
|
+
}
|
|
92
|
+
getParentContainer() {
|
|
93
|
+
return document.querySelector(this.parentContainerSelector);
|
|
94
|
+
}
|
|
95
|
+
insertContainerIntoParent(container, parent) {
|
|
96
|
+
parent.insertBefore(container, parent.firstChild);
|
|
97
|
+
}
|
|
98
|
+
setContainerVisible(visible) {
|
|
99
|
+
var _a, _b;
|
|
100
|
+
// the parent class simply sets the style directly, however classes provide more fine-grained control
|
|
101
|
+
if (visible) {
|
|
102
|
+
(_a = this.containerElement) === null || _a === void 0 ? void 0 : _a.classList.remove(exports.CSS_HIDDEN_EXTENSION_CLASS);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
(_b = this.containerElement) === null || _b === void 0 ? void 0 : _b.classList.add(exports.CSS_HIDDEN_EXTENSION_CLASS);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
isContainerVisible() {
|
|
109
|
+
var _a;
|
|
110
|
+
return !((_a = this.containerElement) === null || _a === void 0 ? void 0 : _a.classList.contains(exports.CSS_HIDDEN_EXTENSION_CLASS));
|
|
111
|
+
}
|
|
112
|
+
toggleContainerVisible() {
|
|
113
|
+
this.setContainerVisible(!this.isContainerVisible());
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
exports.GLSPAbstractUIExtension = GLSPAbstractUIExtension;
|
|
117
|
+
exports.GLSPAbstractUIExtension = GLSPAbstractUIExtension = __decorate([
|
|
118
|
+
(0, inversify_1.injectable)()
|
|
119
|
+
], GLSPAbstractUIExtension);
|
|
120
|
+
//# sourceMappingURL=ui-extension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-extension.js","sourceRoot":"","sources":["../../../src/base/ui-extension/ui-extension.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;AAElF,mDAA4D;AAC5D,yCAAuC;AAE1B,QAAA,sBAAsB,GAAG,cAAc,CAAC;AACxC,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AAEnD;;;GAGG;AAEI,IAAe,uBAAuB,GAAtC,MAAe,uBAAwB,SAAQ,6BAAmB;IACrE,IAAc,kBAAkB;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;IAChC,CAAC;IAED,IAAc,uBAAuB;QACjC,OAAO,GAAG,GAAG,IAAI,CAAC,kBAAkB,CAAC;IACzC,CAAC;IAED,IAAc,iBAAiB;QAC3B,OAAO,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAC3B,CAAC;IAED,IAAc,WAAW;QACrB,OAAO,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACnC,CAAC;IAEkB,UAAU;QACzB,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,OAAO,IAAI,CAAC;QAChB,CAAC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AA,sBAAU,GAAE;GACS,uBAAuB,CA2F5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-tool-palette.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,QAAQ,EACR,WAAW,EAMd,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAoB,MAAM,4BAA4B,CAAC;AAEvE,OAAO,EAEH,WAAW,EAKd,MAAM,iCAAiC,CAAC;AAmDzC,qBACa,mBAAoB,SAAQ,WAAW;IAChD,SAAS,CAAC,gBAAgB,EAAE,WAAW,CAAC;IACxC,SAAS,CAAC,iBAAiB,EAAE,WAAW,CAAC;IACzC,SAAS,CAAC,kBAAkB,EAAE,WAAW,CAAC;IAC1C,SAAS,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAExC,SAAS,CAAC,0BAA0B,2BAAkC;IACtE,SAAS,CAAC,wBAAwB,2BAAkC;IAEpE,SAAS,KAAK,wBAAwB,IAAI,WAAW,EAAE,CAKtD;cAEkB,kBAAkB,CAAC,iBAAiB,EAAE,WAAW,GAAG,IAAI;IAiBlE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI;cA4BtC,wBAAwB,IAAI,IAAI;cAyBhC,UAAU,IAAI,IAAI;cAuClB,iBAAiB,IAAI,WAAW;
|
|
1
|
+
{"version":3,"file":"keyboard-tool-palette.d.ts","sourceRoot":"","sources":["../../../../src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,MAAM,EACN,QAAQ,EACR,WAAW,EAMd,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAoB,MAAM,4BAA4B,CAAC;AAEvE,OAAO,EAEH,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CAAC,qBAAqB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAuC3D,SAAS,CAAC,uBAAuB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAqB7D,SAAS,CAAC,qBAAqB,CAAC,aAAa,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI;cAO1D,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAShE,SAAS,CAAC,wBAAwB,IAAI,IAAI;IAQ1C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAIvC,SAAS,CAAC,aAAa,IAAI,IAAI;IAI/B,SAAS,CAAC,aAAa,IAAI,IAAI;CAGlC"}
|
|
@@ -36,7 +36,7 @@ const constants_1 = require("../keyboard-grid/constants");
|
|
|
36
36
|
const messages = require("../toast/messages.json");
|
|
37
37
|
const toast_handler_1 = require("../toast/toast-handler");
|
|
38
38
|
const SEARCH_ICON_ID = 'search';
|
|
39
|
-
const PALETTE_ICON_ID = '
|
|
39
|
+
const PALETTE_ICON_ID = 'tools';
|
|
40
40
|
const CHEVRON_DOWN_ICON_ID = 'chevron-right';
|
|
41
41
|
const PALETTE_HEIGHT = '500px';
|
|
42
42
|
const SELECTION_TOOL_KEY = ['Digit1', 'Numpad1'];
|
|
@@ -194,23 +194,37 @@ let KeyboardToolPalette = class KeyboardToolPalette extends tool_palette_1.ToolP
|
|
|
194
194
|
}
|
|
195
195
|
createHeaderTools() {
|
|
196
196
|
this.headerToolsButtonMapping.clear();
|
|
197
|
+
let mappingIndex = 0;
|
|
197
198
|
const headerTools = document.createElement('div');
|
|
198
199
|
headerTools.classList.add('header-tools');
|
|
199
200
|
this.defaultToolsButton = this.createDefaultToolButton();
|
|
200
|
-
this.headerToolsButtonMapping.set(
|
|
201
|
+
this.headerToolsButtonMapping.set(mappingIndex++, this.defaultToolsButton);
|
|
201
202
|
headerTools.appendChild(this.defaultToolsButton);
|
|
202
203
|
this.deleteToolButton = this.createMouseDeleteToolButton();
|
|
203
|
-
this.headerToolsButtonMapping.set(
|
|
204
|
+
this.headerToolsButtonMapping.set(mappingIndex++, this.deleteToolButton);
|
|
204
205
|
headerTools.appendChild(this.deleteToolButton);
|
|
205
206
|
this.marqueeToolButton = this.createMarqueeToolButton();
|
|
206
|
-
this.headerToolsButtonMapping.set(
|
|
207
|
+
this.headerToolsButtonMapping.set(mappingIndex++, this.marqueeToolButton);
|
|
207
208
|
headerTools.appendChild(this.marqueeToolButton);
|
|
208
209
|
this.validateToolButton = this.createValidateButton();
|
|
209
|
-
this.headerToolsButtonMapping.set(
|
|
210
|
+
this.headerToolsButtonMapping.set(mappingIndex++, this.validateToolButton);
|
|
210
211
|
headerTools.appendChild(this.validateToolButton);
|
|
212
|
+
const resetViewportButton = this.createResetViewportButton();
|
|
213
|
+
this.headerToolsButtonMapping.set(mappingIndex++, resetViewportButton);
|
|
214
|
+
headerTools.appendChild(resetViewportButton);
|
|
215
|
+
if (this.gridManager) {
|
|
216
|
+
const toggleGridButton = this.createToggleGridButton();
|
|
217
|
+
this.headerToolsButtonMapping.set(mappingIndex++, toggleGridButton);
|
|
218
|
+
headerTools.appendChild(toggleGridButton);
|
|
219
|
+
}
|
|
220
|
+
if (this.debugManager) {
|
|
221
|
+
const toggleDebugButton = this.createToggleDebugButton();
|
|
222
|
+
this.headerToolsButtonMapping.set(mappingIndex++, toggleDebugButton);
|
|
223
|
+
headerTools.appendChild(toggleDebugButton);
|
|
224
|
+
}
|
|
211
225
|
// Create button for Search
|
|
212
226
|
this.searchToolButton = this.createSearchButton();
|
|
213
|
-
this.headerToolsButtonMapping.set(
|
|
227
|
+
this.headerToolsButtonMapping.set(mappingIndex++, this.searchToolButton);
|
|
214
228
|
headerTools.appendChild(this.searchToolButton);
|
|
215
229
|
return headerTools;
|
|
216
230
|
}
|
|
@@ -290,7 +304,7 @@ let KeyboardToolPalette = class KeyboardToolPalette extends tool_palette_1.ToolP
|
|
|
290
304
|
searchField.tabIndex = 21;
|
|
291
305
|
searchField.id = this.containerElement.id + '_search_field';
|
|
292
306
|
searchField.type = 'text';
|
|
293
|
-
searchField.placeholder = '
|
|
307
|
+
searchField.placeholder = 'Search...';
|
|
294
308
|
searchField.style.display = 'none';
|
|
295
309
|
searchField.onkeyup = ev => {
|
|
296
310
|
this.requestFilterUpdate(this.searchField.value);
|