custom-electron-titlebar 3.2.6 → 3.2.10

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 (239) hide show
  1. package/.github/FUNDING.yml +1 -0
  2. package/README.md +15 -24
  3. package/_config.yml +1 -0
  4. package/{lib → build}/browser/browser.d.ts +0 -0
  5. package/{lib → build}/browser/browser.js +0 -0
  6. package/{lib → build}/browser/browser.js.map +0 -0
  7. package/{lib → build}/browser/event.d.ts +0 -0
  8. package/{lib → build}/browser/event.js +2 -1
  9. package/{lib → build}/browser/event.js.map +1 -1
  10. package/{lib → build}/browser/iframe.d.ts +0 -0
  11. package/{lib → build}/browser/iframe.js +0 -0
  12. package/{lib → build}/browser/iframe.js.map +0 -0
  13. package/{lib → build}/browser/keyboardEvent.d.ts +0 -0
  14. package/{lib → build}/browser/keyboardEvent.js +0 -0
  15. package/{lib → build}/browser/keyboardEvent.js.map +0 -0
  16. package/{lib → build}/browser/mouseEvent.d.ts +0 -0
  17. package/{lib → build}/browser/mouseEvent.js +0 -0
  18. package/{lib → build}/browser/mouseEvent.js.map +0 -0
  19. package/{lib → build}/common/arrays.d.ts +0 -0
  20. package/{lib → build}/common/arrays.js +0 -0
  21. package/{lib → build}/common/arrays.js.map +0 -0
  22. package/{lib → build}/common/async.d.ts +0 -0
  23. package/{lib → build}/common/async.js +0 -0
  24. package/{lib → build}/common/async.js.map +0 -0
  25. package/{lib → build}/common/charCode.d.ts +0 -0
  26. package/{lib → build}/common/charCode.js +0 -0
  27. package/{lib → build}/common/charCode.js.map +0 -0
  28. package/{lib → build}/common/color.d.ts +0 -0
  29. package/{lib → build}/common/color.js +0 -0
  30. package/{lib → build}/common/color.js.map +0 -0
  31. package/{lib → build}/common/dom.d.ts +0 -0
  32. package/{lib → build}/common/dom.js +16 -14
  33. package/build/common/dom.js.map +1 -0
  34. package/{lib → build}/common/event.d.ts +0 -0
  35. package/{lib → build}/common/event.js +1 -1
  36. package/build/common/event.js.map +1 -0
  37. package/{lib → build}/common/iterator.d.ts +0 -0
  38. package/{lib → build}/common/iterator.js +0 -0
  39. package/{lib → build}/common/iterator.js.map +0 -0
  40. package/{lib → build}/common/keyCodes.d.ts +0 -0
  41. package/{lib → build}/common/keyCodes.js +0 -0
  42. package/{lib → build}/common/keyCodes.js.map +0 -0
  43. package/{lib → build}/common/lifecycle.d.ts +0 -0
  44. package/{lib → build}/common/lifecycle.js +0 -0
  45. package/{lib → build}/common/lifecycle.js.map +0 -0
  46. package/{lib → build}/common/linkedList.d.ts +0 -0
  47. package/{lib → build}/common/linkedList.js +0 -0
  48. package/{lib → build}/common/linkedList.js.map +0 -0
  49. package/{lib → build}/common/platform.d.ts +0 -0
  50. package/{lib → build}/common/platform.js +0 -0
  51. package/{lib → build}/common/platform.js.map +0 -0
  52. package/{lib → build}/index.d.ts +0 -0
  53. package/{lib → build}/index.js +0 -0
  54. package/{lib → build}/index.js.map +0 -0
  55. package/{lib → build}/menu/menu.d.ts +0 -0
  56. package/{lib → build}/menu/menu.js +38 -38
  57. package/build/menu/menu.js.map +1 -0
  58. package/{lib → build}/menu/menuitem.d.ts +10 -2
  59. package/{lib → build}/menu/menuitem.js +70 -34
  60. package/build/menu/menuitem.js.map +1 -0
  61. package/{lib → build}/menubar.d.ts +0 -0
  62. package/{lib → build}/menubar.js +29 -30
  63. package/build/menubar.js.map +1 -0
  64. package/{lib → build}/themebar.d.ts +0 -0
  65. package/{lib → build}/themebar.js +2 -2
  66. package/build/themebar.js.map +1 -0
  67. package/{lib → build}/titlebar.d.ts +0 -0
  68. package/{lib → build}/titlebar.js +61 -58
  69. package/build/titlebar.js.map +1 -0
  70. package/package.json +13 -7
  71. package/lib/common/dom.js.map +0 -1
  72. package/lib/common/enableNativeMenuCommands.d.ts +0 -1
  73. package/lib/common/enableNativeMenuCommands.js +0 -32
  74. package/lib/common/enableNativeMenuCommands.js.map +0 -1
  75. package/lib/common/event.js.map +0 -1
  76. package/lib/main.d.ts +0 -1
  77. package/lib/main.js +0 -14
  78. package/lib/main.js.map +0 -1
  79. package/lib/menu/menu.js.map +0 -1
  80. package/lib/menu/menuitem.js.map +0 -1
  81. package/lib/menubar.js.map +0 -1
  82. package/lib/themebar.js.map +0 -1
  83. package/lib/titlebar.js.map +0 -1
  84. package/lib/vs/base/browser/browser.js +0 -150
  85. package/lib/vs/base/browser/canIUse.js +0 -58
  86. package/lib/vs/base/browser/codicons.js +0 -37
  87. package/lib/vs/base/browser/contextmenu.js +0 -9
  88. package/lib/vs/base/browser/dnd.js +0 -113
  89. package/lib/vs/base/browser/dom.js +0 -1417
  90. package/lib/vs/base/browser/event.js +0 -36
  91. package/lib/vs/base/browser/fastDomNode.js +0 -265
  92. package/lib/vs/base/browser/formattedTextRenderer.js +0 -248
  93. package/lib/vs/base/browser/globalMouseMoveMonitor.js +0 -137
  94. package/lib/vs/base/browser/history.js +0 -9
  95. package/lib/vs/base/browser/iframe.js +0 -126
  96. package/lib/vs/base/browser/keyboardEvent.js +0 -599
  97. package/lib/vs/base/browser/mouseEvent.js +0 -155
  98. package/lib/vs/base/browser/touch.js +0 -315
  99. package/lib/vs/base/browser/ui/actionbar/actionViewItems.js +0 -397
  100. package/lib/vs/base/browser/ui/actionbar/actionbar.js +0 -583
  101. package/lib/vs/base/browser/ui/checkbox/checkbox.js +0 -251
  102. package/lib/vs/base/browser/ui/codicons/codiconLabel.js +0 -31
  103. package/lib/vs/base/browser/ui/codicons/codiconStyles.js +0 -47
  104. package/lib/vs/base/browser/ui/contextview/contextview.js +0 -367
  105. package/lib/vs/base/browser/ui/dropdown/dropdown.js +0 -256
  106. package/lib/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +0 -120
  107. package/lib/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +0 -118
  108. package/lib/vs/base/browser/ui/list/list.js +0 -54
  109. package/lib/vs/base/browser/ui/list/listPaging.js +0 -322
  110. package/lib/vs/base/browser/ui/list/listView.js +0 -1388
  111. package/lib/vs/base/browser/ui/list/listWidget.js +0 -1709
  112. package/lib/vs/base/browser/ui/list/rangeMap.js +0 -223
  113. package/lib/vs/base/browser/ui/list/rowCache.js +0 -113
  114. package/lib/vs/base/browser/ui/list/splice.js +0 -23
  115. package/lib/vs/base/browser/ui/menu/menu.js +0 -1371
  116. package/lib/vs/base/browser/ui/menu/menubar.js +0 -1139
  117. package/lib/vs/base/browser/ui/scrollbar/abstractScrollbar.js +0 -278
  118. package/lib/vs/base/browser/ui/scrollbar/horizontalScrollbar.js +0 -115
  119. package/lib/vs/base/browser/ui/scrollbar/scrollableElement.js +0 -646
  120. package/lib/vs/base/browser/ui/scrollbar/scrollableElementOptions.js +0 -9
  121. package/lib/vs/base/browser/ui/scrollbar/scrollbarArrow.js +0 -106
  122. package/lib/vs/base/browser/ui/scrollbar/scrollbarState.js +0 -184
  123. package/lib/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.js +0 -116
  124. package/lib/vs/base/browser/ui/scrollbar/verticalScrollbar.js +0 -114
  125. package/lib/vs/base/browser/ui/selectBox/selectBox.js +0 -85
  126. package/lib/vs/base/browser/ui/selectBox/selectBoxCustom.js +0 -985
  127. package/lib/vs/base/browser/ui/selectBox/selectBoxNative.js +0 -188
  128. package/lib/vs/base/browser/ui/toolbar/toolbar.js +0 -206
  129. package/lib/vs/base/browser/ui/widget.js +0 -69
  130. package/lib/vs/base/common/actions.js +0 -224
  131. package/lib/vs/base/common/amd.js +0 -31
  132. package/lib/vs/base/common/arrays.js +0 -641
  133. package/lib/vs/base/common/assert.js +0 -21
  134. package/lib/vs/base/common/async.js +0 -966
  135. package/lib/vs/base/common/buffer.js +0 -250
  136. package/lib/vs/base/common/cache.js +0 -40
  137. package/lib/vs/base/common/cancellation.js +0 -146
  138. package/lib/vs/base/common/charCode.js +0 -9
  139. package/lib/vs/base/common/codicon.js +0 -136
  140. package/lib/vs/base/common/codicons.js +0 -1378
  141. package/lib/vs/base/common/collections.js +0 -133
  142. package/lib/vs/base/common/color.js +0 -716
  143. package/lib/vs/base/common/comparers.js +0 -280
  144. package/lib/vs/base/common/console.js +0 -142
  145. package/lib/vs/base/common/date.js +0 -113
  146. package/lib/vs/base/common/decorators.js +0 -169
  147. package/lib/vs/base/common/errorMessage.js +0 -93
  148. package/lib/vs/base/common/errors.js +0 -213
  149. package/lib/vs/base/common/errorsWithActions.js +0 -28
  150. package/lib/vs/base/common/event.js +0 -873
  151. package/lib/vs/base/common/extpath.js +0 -401
  152. package/lib/vs/base/common/filters.js +0 -948
  153. package/lib/vs/base/common/functional.js +0 -28
  154. package/lib/vs/base/common/fuzzyScorer.js +0 -811
  155. package/lib/vs/base/common/glob.js +0 -696
  156. package/lib/vs/base/common/hash.js +0 -359
  157. package/lib/vs/base/common/history.js +0 -116
  158. package/lib/vs/base/common/htmlContent.js +0 -162
  159. package/lib/vs/base/common/idGenerator.js +0 -25
  160. package/lib/vs/base/common/iterator.js +0 -118
  161. package/lib/vs/base/common/json.js +0 -1624
  162. package/lib/vs/base/common/jsonEdit.js +0 -272
  163. package/lib/vs/base/common/jsonErrorMessages.js +0 -69
  164. package/lib/vs/base/common/jsonFormatter.js +0 -316
  165. package/lib/vs/base/common/jsonSchema.js +0 -9
  166. package/lib/vs/base/common/keyCodes.js +0 -591
  167. package/lib/vs/base/common/keybindingLabels.js +0 -231
  168. package/lib/vs/base/common/keybindingParser.js +0 -142
  169. package/lib/vs/base/common/labels.js +0 -430
  170. package/lib/vs/base/common/lazy.js +0 -71
  171. package/lib/vs/base/common/lifecycle.js +0 -308
  172. package/lib/vs/base/common/linkedList.js +0 -152
  173. package/lib/vs/base/common/linkedText.js +0 -73
  174. package/lib/vs/base/common/map.js +0 -1108
  175. package/lib/vs/base/common/marshalling.js +0 -80
  176. package/lib/vs/base/common/mime.js +0 -321
  177. package/lib/vs/base/common/navigator.js +0 -50
  178. package/lib/vs/base/common/network.js +0 -160
  179. package/lib/vs/base/common/normalization.js +0 -78
  180. package/lib/vs/base/common/numbers.js +0 -55
  181. package/lib/vs/base/common/objects.js +0 -268
  182. package/lib/vs/base/common/paging.js +0 -190
  183. package/lib/vs/base/common/parsers.js +0 -78
  184. package/lib/vs/base/common/path.js +0 -1550
  185. package/lib/vs/base/common/platform.js +0 -245
  186. package/lib/vs/base/common/process.js +0 -52
  187. package/lib/vs/base/common/processes.js +0 -32
  188. package/lib/vs/base/common/range.js +0 -79
  189. package/lib/vs/base/common/resourceTree.js +0 -185
  190. package/lib/vs/base/common/resources.js +0 -421
  191. package/lib/vs/base/common/scanCode.js +0 -1472
  192. package/lib/vs/base/common/scrollable.js +0 -397
  193. package/lib/vs/base/common/search.js +0 -55
  194. package/lib/vs/base/common/sequence.js +0 -64
  195. package/lib/vs/base/common/severity.js +0 -55
  196. package/lib/vs/base/common/skipList.js +0 -234
  197. package/lib/vs/base/common/stopwatch.js +0 -45
  198. package/lib/vs/base/common/stream.js +0 -418
  199. package/lib/vs/base/common/strings.js +0 -1283
  200. package/lib/vs/base/common/styler.js +0 -9
  201. package/lib/vs/base/common/types.js +0 -296
  202. package/lib/vs/base/common/uint.js +0 -46
  203. package/lib/vs/base/common/uri.js +0 -756
  204. package/lib/vs/base/common/uriIpc.js +0 -154
  205. package/lib/vs/base/common/uuid.js +0 -70
  206. package/lib/vs/nls.mock.js +0 -31
  207. package/lib/vs/platform/actions/browser/menuEntryActionViewItem.js +0 -342
  208. package/lib/vs/platform/actions/common/actions.js +0 -456
  209. package/lib/vs/platform/actions/common/menuService.js +0 -194
  210. package/lib/vs/platform/clipboard/browser/clipboardService.js +0 -99
  211. package/lib/vs/platform/clipboard/common/clipboardService.js +0 -14
  212. package/lib/vs/platform/contextkey/common/contextkey.js +0 -1210
  213. package/lib/vs/platform/contextkey/common/contextkeys.js +0 -23
  214. package/lib/vs/platform/contextview/browser/contextView.js +0 -15
  215. package/lib/vs/platform/contextview/browser/contextViewService.js +0 -96
  216. package/lib/vs/platform/environment/common/argv.js +0 -9
  217. package/lib/vs/platform/environment/common/environment.js +0 -15
  218. package/lib/vs/platform/instantiation/common/descriptors.js +0 -25
  219. package/lib/vs/platform/instantiation/common/extensions.js +0 -26
  220. package/lib/vs/platform/instantiation/common/graph.js +0 -93
  221. package/lib/vs/platform/instantiation/common/instantiation.js +0 -84
  222. package/lib/vs/platform/instantiation/common/instantiationService.js +0 -361
  223. package/lib/vs/platform/instantiation/common/serviceCollection.js +0 -39
  224. package/lib/vs/platform/keybinding/common/baseResolvedKeybinding.js +0 -73
  225. package/lib/vs/platform/keybinding/common/keybinding.js +0 -14
  226. package/lib/vs/platform/keybinding/common/keybindingResolver.js +0 -391
  227. package/lib/vs/platform/keybinding/common/keybindingsRegistry.js +0 -229
  228. package/lib/vs/platform/keybinding/common/resolvedKeybindingItem.js +0 -47
  229. package/lib/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +0 -160
  230. package/lib/vs/platform/layout/browser/layoutService.js +0 -14
  231. package/lib/vs/platform/menubar/common/menubar.js +0 -34
  232. package/lib/vs/platform/registry/common/platform.js +0 -38
  233. package/lib/vs/platform/theme/browser/checkbox.js +0 -32
  234. package/lib/vs/platform/theme/common/colorRegistry.js +0 -1154
  235. package/lib/vs/platform/theme/common/styler.js +0 -290
  236. package/lib/vs/platform/theme/common/theme.js +0 -21
  237. package/lib/vs/platform/theme/common/themeService.js +0 -176
  238. package/lib/vs/platform/theme/common/tokenClassificationRegistry.js +0 -540
  239. package/lib/vs/platform/theme/test/common/testThemeService.js +0 -98
@@ -1,223 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Licensed under the MIT License. See License.txt in the project root for license information.
5
- *--------------------------------------------------------------------------------------------*/
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.RangeMap = exports.consolidate = exports.shift = exports.groupIntersect = void 0;
11
-
12
- const range_1 = require("../../../common/range");
13
- /**
14
- * Returns the intersection between a ranged group and a range.
15
- * Returns `[]` if the intersection is empty.
16
- */
17
-
18
-
19
- function groupIntersect(range, groups) {
20
- const result = [];
21
-
22
- for (let r of groups) {
23
- if (range.start >= r.range.end) {
24
- continue;
25
- }
26
-
27
- if (range.end < r.range.start) {
28
- break;
29
- }
30
-
31
- const intersection = range_1.Range.intersect(range, r.range);
32
-
33
- if (range_1.Range.isEmpty(intersection)) {
34
- continue;
35
- }
36
-
37
- result.push({
38
- range: intersection,
39
- size: r.size
40
- });
41
- }
42
-
43
- return result;
44
- }
45
-
46
- exports.groupIntersect = groupIntersect;
47
- /**
48
- * Shifts a range by that `much`.
49
- */
50
-
51
- function shift({
52
- start,
53
- end
54
- }, much) {
55
- return {
56
- start: start + much,
57
- end: end + much
58
- };
59
- }
60
-
61
- exports.shift = shift;
62
- /**
63
- * Consolidates a collection of ranged groups.
64
- *
65
- * Consolidation is the process of merging consecutive ranged groups
66
- * that share the same `size`.
67
- */
68
-
69
- function consolidate(groups) {
70
- const result = [];
71
- let previousGroup = null;
72
-
73
- for (let group of groups) {
74
- const start = group.range.start;
75
- const end = group.range.end;
76
- const size = group.size;
77
-
78
- if (previousGroup && size === previousGroup.size) {
79
- previousGroup.range.end = end;
80
- continue;
81
- }
82
-
83
- previousGroup = {
84
- range: {
85
- start,
86
- end
87
- },
88
- size
89
- };
90
- result.push(previousGroup);
91
- }
92
-
93
- return result;
94
- }
95
-
96
- exports.consolidate = consolidate;
97
- /**
98
- * Concatenates several collections of ranged groups into a single
99
- * collection.
100
- */
101
-
102
- function concat(...groups) {
103
- return consolidate(groups.reduce((r, g) => r.concat(g), []));
104
- }
105
-
106
- class RangeMap {
107
- constructor() {
108
- this.groups = [];
109
- this._size = 0;
110
- }
111
-
112
- splice(index, deleteCount, items = []) {
113
- const diff = items.length - deleteCount;
114
- const before = groupIntersect({
115
- start: 0,
116
- end: index
117
- }, this.groups);
118
- const after = groupIntersect({
119
- start: index + deleteCount,
120
- end: Number.POSITIVE_INFINITY
121
- }, this.groups).map(g => ({
122
- range: shift(g.range, diff),
123
- size: g.size
124
- }));
125
- const middle = items.map((item, i) => ({
126
- range: {
127
- start: index + i,
128
- end: index + i + 1
129
- },
130
- size: item.size
131
- }));
132
- this.groups = concat(before, middle, after);
133
- this._size = this.groups.reduce((t, g) => t + g.size * (g.range.end - g.range.start), 0);
134
- }
135
- /**
136
- * Returns the number of items in the range map.
137
- */
138
-
139
-
140
- get count() {
141
- const len = this.groups.length;
142
-
143
- if (!len) {
144
- return 0;
145
- }
146
-
147
- return this.groups[len - 1].range.end;
148
- }
149
- /**
150
- * Returns the sum of the sizes of all items in the range map.
151
- */
152
-
153
-
154
- get size() {
155
- return this._size;
156
- }
157
- /**
158
- * Returns the index of the item at the given position.
159
- */
160
-
161
-
162
- indexAt(position) {
163
- if (position < 0) {
164
- return -1;
165
- }
166
-
167
- let index = 0;
168
- let size = 0;
169
-
170
- for (let group of this.groups) {
171
- const count = group.range.end - group.range.start;
172
- const newSize = size + count * group.size;
173
-
174
- if (position < newSize) {
175
- return index + Math.floor((position - size) / group.size);
176
- }
177
-
178
- index += count;
179
- size = newSize;
180
- }
181
-
182
- return index;
183
- }
184
- /**
185
- * Returns the index of the item right after the item at the
186
- * index of the given position.
187
- */
188
-
189
-
190
- indexAfter(position) {
191
- return Math.min(this.indexAt(position) + 1, this.count);
192
- }
193
- /**
194
- * Returns the start position of the item at the given index.
195
- */
196
-
197
-
198
- positionAt(index) {
199
- if (index < 0) {
200
- return -1;
201
- }
202
-
203
- let position = 0;
204
- let count = 0;
205
-
206
- for (let group of this.groups) {
207
- const groupCount = group.range.end - group.range.start;
208
- const newCount = count + groupCount;
209
-
210
- if (index < newCount) {
211
- return position + (index - count) * group.size;
212
- }
213
-
214
- position += groupCount * group.size;
215
- count = newCount;
216
- }
217
-
218
- return -1;
219
- }
220
-
221
- }
222
-
223
- exports.RangeMap = RangeMap;
@@ -1,113 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Licensed under the MIT License. See License.txt in the project root for license information.
5
- *--------------------------------------------------------------------------------------------*/
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.RowCache = void 0;
11
-
12
- const dom_1 = require("../../dom");
13
-
14
- function removeFromParent(element) {
15
- try {
16
- if (element.parentElement) {
17
- element.parentElement.removeChild(element);
18
- }
19
- } catch (e) {// this will throw if this happens due to a blur event, nasty business
20
- }
21
- }
22
-
23
- class RowCache {
24
- constructor(renderers) {
25
- this.renderers = renderers;
26
- this.cache = new Map();
27
- }
28
- /**
29
- * Returns a row either by creating a new one or reusing
30
- * a previously released row which shares the same templateId.
31
- */
32
-
33
-
34
- alloc(templateId) {
35
- let result = this.getTemplateCache(templateId).pop();
36
-
37
- if (!result) {
38
- const domNode = dom_1.$('.monaco-list-row');
39
- const renderer = this.getRenderer(templateId);
40
- const templateData = renderer.renderTemplate(domNode);
41
- result = {
42
- domNode,
43
- templateId,
44
- templateData
45
- };
46
- }
47
-
48
- return result;
49
- }
50
- /**
51
- * Releases the row for eventual reuse.
52
- */
53
-
54
-
55
- release(row) {
56
- if (!row) {
57
- return;
58
- }
59
-
60
- this.releaseRow(row);
61
- }
62
-
63
- releaseRow(row) {
64
- const {
65
- domNode,
66
- templateId
67
- } = row;
68
-
69
- if (domNode) {
70
- domNode.classList.remove('scrolling');
71
- removeFromParent(domNode);
72
- }
73
-
74
- const cache = this.getTemplateCache(templateId);
75
- cache.push(row);
76
- }
77
-
78
- getTemplateCache(templateId) {
79
- let result = this.cache.get(templateId);
80
-
81
- if (!result) {
82
- result = [];
83
- this.cache.set(templateId, result);
84
- }
85
-
86
- return result;
87
- }
88
-
89
- dispose() {
90
- this.cache.forEach((cachedRows, templateId) => {
91
- for (const cachedRow of cachedRows) {
92
- const renderer = this.getRenderer(templateId);
93
- renderer.disposeTemplate(cachedRow.templateData);
94
- cachedRow.domNode = null;
95
- cachedRow.templateData = null;
96
- }
97
- });
98
- this.cache.clear();
99
- }
100
-
101
- getRenderer(templateId) {
102
- const renderer = this.renderers.get(templateId);
103
-
104
- if (!renderer) {
105
- throw new Error(`No renderer found for ${templateId}`);
106
- }
107
-
108
- return renderer;
109
- }
110
-
111
- }
112
-
113
- exports.RowCache = RowCache;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Licensed under the MIT License. See License.txt in the project root for license information.
5
- *--------------------------------------------------------------------------------------------*/
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.CombinedSpliceable = void 0;
11
-
12
- class CombinedSpliceable {
13
- constructor(spliceables) {
14
- this.spliceables = spliceables;
15
- }
16
-
17
- splice(start, deleteCount, elements) {
18
- this.spliceables.forEach(s => s.splice(start, deleteCount, elements));
19
- }
20
-
21
- }
22
-
23
- exports.CombinedSpliceable = CombinedSpliceable;