@difizen/libro-common 0.3.3 → 1.0.0

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 (1609) hide show
  1. package/es/app/app.d.ts +7 -0
  2. package/es/app/app.d.ts.map +1 -0
  3. package/es/app/app.js +51 -0
  4. package/es/app/file-tree/file-selection.d.ts +15 -0
  5. package/es/app/file-tree/file-selection.d.ts.map +1 -0
  6. package/es/app/file-tree/file-selection.js +38 -0
  7. package/es/app/file-tree/file-service.d.ts +19 -0
  8. package/es/app/file-tree/file-service.d.ts.map +1 -0
  9. package/es/app/file-tree/file-service.js +105 -0
  10. package/es/app/file-tree/file-tree-component.d.ts +6 -0
  11. package/es/app/file-tree/file-tree-component.d.ts.map +1 -0
  12. package/es/app/file-tree/file-tree-component.js +14 -0
  13. package/es/app/file-tree/file-tree-icon.d.ts +3 -0
  14. package/es/app/file-tree/file-tree-icon.d.ts.map +1 -0
  15. package/es/app/file-tree/file-tree-icon.js +14 -0
  16. package/es/app/file-tree/file-tree-label-provider.d.ts +18 -0
  17. package/es/app/file-tree/file-tree-label-provider.d.ts.map +1 -0
  18. package/es/app/file-tree/file-tree-label-provider.js +54 -0
  19. package/es/app/file-tree/file-tree-model.d.ts +40 -0
  20. package/es/app/file-tree/file-tree-model.d.ts.map +1 -0
  21. package/es/app/file-tree/file-tree-model.js +358 -0
  22. package/es/app/file-tree/file-tree-protocol.d.ts +12 -0
  23. package/es/app/file-tree/file-tree-protocol.d.ts.map +1 -0
  24. package/es/app/file-tree/file-tree-protocol.js +33 -0
  25. package/es/app/file-tree/file-tree-view.d.ts +51 -0
  26. package/es/app/file-tree/file-tree-view.d.ts.map +1 -0
  27. package/es/app/file-tree/file-tree-view.js +420 -0
  28. package/es/app/file-tree/file-tree.d.ts +48 -0
  29. package/es/app/file-tree/file-tree.d.ts.map +1 -0
  30. package/es/app/file-tree/file-tree.js +279 -0
  31. package/es/app/file-tree/files.d.ts +575 -0
  32. package/es/app/file-tree/files.d.ts.map +1 -0
  33. package/es/app/file-tree/files.js +478 -0
  34. package/es/app/file-tree/filesystem-utils.d.ts +14 -0
  35. package/es/app/file-tree/filesystem-utils.d.ts.map +1 -0
  36. package/es/app/file-tree/filesystem-utils.js +20 -0
  37. package/es/app/file-tree/index.d.ts +7 -0
  38. package/es/app/file-tree/index.d.ts.map +1 -0
  39. package/es/app/file-tree/index.js +6 -0
  40. package/es/app/file-tree/module.d.ts +3 -0
  41. package/es/app/file-tree/module.d.ts.map +1 -0
  42. package/es/app/file-tree/module.js +18 -0
  43. package/es/app/file-tree/selection-command-handler.d.ts +25 -0
  44. package/es/app/file-tree/selection-command-handler.d.ts.map +1 -0
  45. package/es/app/file-tree/selection-command-handler.js +124 -0
  46. package/es/app/file-tree/style/file-icon.less +51 -0
  47. package/es/app/index.d.ts +15 -0
  48. package/es/app/index.d.ts.map +1 -0
  49. package/es/app/index.js +22 -0
  50. package/es/app/label/index.d.ts +4 -0
  51. package/es/app/label/index.d.ts.map +1 -0
  52. package/es/app/label/index.js +4 -0
  53. package/es/app/label/label-provider.d.ts +169 -0
  54. package/es/app/label/label-provider.d.ts.map +1 -0
  55. package/es/app/label/label-provider.js +488 -0
  56. package/es/app/menu/index.d.ts +8 -0
  57. package/es/app/menu/index.d.ts.map +1 -0
  58. package/es/app/menu/index.js +21 -0
  59. package/es/app/menu/menu-bar-render.d.ts +11 -0
  60. package/es/app/menu/menu-bar-render.d.ts.map +1 -0
  61. package/es/app/menu/menu-bar-render.js +46 -0
  62. package/es/app/menu/menu-color-registry.d.ts +6 -0
  63. package/es/app/menu/menu-color-registry.d.ts.map +1 -0
  64. package/es/app/menu/menu-color-registry.js +59 -0
  65. package/es/app/menu/menu-context.d.ts +13 -0
  66. package/es/app/menu/menu-context.d.ts.map +1 -0
  67. package/es/app/menu/menu-context.js +7 -0
  68. package/es/app/menu/menu-item-keeper.d.ts +12 -0
  69. package/es/app/menu/menu-item-keeper.d.ts.map +1 -0
  70. package/es/app/menu/menu-item-keeper.js +68 -0
  71. package/es/app/menu/menu-item-render.d.ts +4 -0
  72. package/es/app/menu/menu-item-render.d.ts.map +1 -0
  73. package/es/app/menu/menu-item-render.js +13 -0
  74. package/es/app/menu/menu-protocol.d.ts +18 -0
  75. package/es/app/menu/menu-protocol.d.ts.map +1 -0
  76. package/es/app/menu/menu-protocol.js +5 -0
  77. package/es/app/menu/menu-render.d.ts +30 -0
  78. package/es/app/menu/menu-render.d.ts.map +1 -0
  79. package/es/app/menu/menu-render.js +85 -0
  80. package/es/app/menu/menu.d.ts +47 -0
  81. package/es/app/menu/menu.d.ts.map +1 -0
  82. package/es/app/menu/menu.js +234 -0
  83. package/es/app/modal/index.d.ts +9 -0
  84. package/es/app/modal/index.d.ts.map +1 -0
  85. package/es/app/modal/index.js +19 -0
  86. package/es/app/modal/modal-contribution.d.ts +7 -0
  87. package/es/app/modal/modal-contribution.d.ts.map +1 -0
  88. package/es/app/modal/modal-contribution.js +34 -0
  89. package/es/app/modal/modal-protocol.d.ts +22 -0
  90. package/es/app/modal/modal-protocol.d.ts.map +1 -0
  91. package/es/app/modal/modal-protocol.js +13 -0
  92. package/es/app/modal/modal-render.d.ts +6 -0
  93. package/es/app/modal/modal-render.d.ts.map +1 -0
  94. package/es/app/modal/modal-render.js +44 -0
  95. package/es/app/modal/modal-service.d.ts +41 -0
  96. package/es/app/modal/modal-service.d.ts.map +1 -0
  97. package/es/app/modal/modal-service.js +200 -0
  98. package/es/app/notification/index.d.ts +5 -0
  99. package/es/app/notification/index.d.ts.map +1 -0
  100. package/es/app/notification/index.js +5 -0
  101. package/es/app/notification/index.less +20 -0
  102. package/es/app/notification/protocol.d.ts +15 -0
  103. package/es/app/notification/protocol.d.ts.map +1 -0
  104. package/es/app/notification/protocol.js +1 -0
  105. package/es/app/notification/service.d.ts +11 -0
  106. package/es/app/notification/service.d.ts.map +1 -0
  107. package/es/app/notification/service.js +87 -0
  108. package/es/app/style/index.less +181 -0
  109. package/es/app/style/style-protocol.d.ts +10 -0
  110. package/es/app/style/style-protocol.d.ts.map +1 -0
  111. package/es/app/style/style-protocol.js +11 -0
  112. package/es/app/toolbar/index.d.ts +7 -0
  113. package/es/app/toolbar/index.d.ts.map +1 -0
  114. package/es/app/toolbar/index.js +15 -0
  115. package/es/app/toolbar/index.less +40 -0
  116. package/es/app/toolbar/toolbar-item-keeper.d.ts +12 -0
  117. package/es/app/toolbar/toolbar-item-keeper.d.ts.map +1 -0
  118. package/es/app/toolbar/toolbar-item-keeper.js +49 -0
  119. package/es/app/toolbar/toolbar-item-render.d.ts +13 -0
  120. package/es/app/toolbar/toolbar-item-render.d.ts.map +1 -0
  121. package/es/app/toolbar/toolbar-item-render.js +14 -0
  122. package/es/app/toolbar/toolbar-protocol.d.ts +9 -0
  123. package/es/app/toolbar/toolbar-protocol.d.ts.map +1 -0
  124. package/es/app/toolbar/toolbar-protocol.js +1 -0
  125. package/es/app/toolbar/toolbar-render.d.ts +29 -0
  126. package/es/app/toolbar/toolbar-render.d.ts.map +1 -0
  127. package/es/app/toolbar/toolbar-render.js +93 -0
  128. package/es/app/toolbar/toolbar-visible-render.d.ts +8 -0
  129. package/es/app/toolbar/toolbar-visible-render.d.ts.map +1 -0
  130. package/es/app/toolbar/toolbar-visible-render.js +12 -0
  131. package/es/app/toolbar/toolbar.d.ts +51 -0
  132. package/es/app/toolbar/toolbar.d.ts.map +1 -0
  133. package/es/app/toolbar/toolbar.js +275 -0
  134. package/es/app/tree/components/index.d.ts +3 -0
  135. package/es/app/tree/components/index.d.ts.map +1 -0
  136. package/es/app/tree/components/index.js +20 -0
  137. package/es/app/tree/components/tree-ident.d.ts +4 -0
  138. package/es/app/tree/components/tree-ident.d.ts.map +1 -0
  139. package/es/app/tree/components/tree-ident.js +40 -0
  140. package/es/app/tree/components/tree-node-caption-affix.d.ts +4 -0
  141. package/es/app/tree/components/tree-node-caption-affix.d.ts.map +1 -0
  142. package/es/app/tree/components/tree-node-caption-affix.js +39 -0
  143. package/es/app/tree/components/tree-node-caption.d.ts +3 -0
  144. package/es/app/tree/components/tree-node-caption.d.ts.map +1 -0
  145. package/es/app/tree/components/tree-node-caption.js +103 -0
  146. package/es/app/tree/components/tree-node-expansion.d.ts +3 -0
  147. package/es/app/tree/components/tree-node-expansion.d.ts.map +1 -0
  148. package/es/app/tree/components/tree-node-expansion.js +36 -0
  149. package/es/app/tree/components/tree-node-icon-decorator.d.ts +4 -0
  150. package/es/app/tree/components/tree-node-icon-decorator.d.ts.map +1 -0
  151. package/es/app/tree/components/tree-node-icon-decorator.js +46 -0
  152. package/es/app/tree/components/tree-node-icon.d.ts +2 -0
  153. package/es/app/tree/components/tree-node-icon.d.ts.map +1 -0
  154. package/es/app/tree/components/tree-node-icon.js +3 -0
  155. package/es/app/tree/components/tree-node-tail-decoration.d.ts +3 -0
  156. package/es/app/tree/components/tree-node-tail-decoration.d.ts.map +1 -0
  157. package/es/app/tree/components/tree-node-tail-decoration.js +39 -0
  158. package/es/app/tree/components/tree-node.d.ts +4 -0
  159. package/es/app/tree/components/tree-node.d.ts.map +1 -0
  160. package/es/app/tree/components/tree-node.js +40 -0
  161. package/es/app/tree/components/tree-switch-icon.d.ts +4 -0
  162. package/es/app/tree/components/tree-switch-icon.d.ts.map +1 -0
  163. package/es/app/tree/components/tree-switch-icon.js +14 -0
  164. package/es/app/tree/index.d.ts +16 -0
  165. package/es/app/tree/index.d.ts.map +1 -0
  166. package/es/app/tree/index.js +15 -0
  167. package/es/app/tree/module.d.ts +5 -0
  168. package/es/app/tree/module.d.ts.map +1 -0
  169. package/es/app/tree/module.js +19 -0
  170. package/es/app/tree/style/index.less +206 -0
  171. package/es/app/tree/style/tree-decorator.less +65 -0
  172. package/es/app/tree/tree-decorator.d.ts +141 -0
  173. package/es/app/tree/tree-decorator.d.ts.map +1 -0
  174. package/es/app/tree/tree-decorator.js +248 -0
  175. package/es/app/tree/tree-expansion.d.ts +69 -0
  176. package/es/app/tree/tree-expansion.d.ts.map +1 -0
  177. package/es/app/tree/tree-expansion.js +250 -0
  178. package/es/app/tree/tree-impl.d.ts +40 -0
  179. package/es/app/tree/tree-impl.d.ts.map +1 -0
  180. package/es/app/tree/tree-impl.js +292 -0
  181. package/es/app/tree/tree-iterator.d.ts +94 -0
  182. package/es/app/tree/tree-iterator.d.ts.map +1 -0
  183. package/es/app/tree/tree-iterator.js +368 -0
  184. package/es/app/tree/tree-label-provider.d.ts +9 -0
  185. package/es/app/tree/tree-label-provider.d.ts.map +1 -0
  186. package/es/app/tree/tree-label-provider.js +39 -0
  187. package/es/app/tree/tree-model.d.ts +163 -0
  188. package/es/app/tree/tree-model.d.ts.map +1 -0
  189. package/es/app/tree/tree-model.js +616 -0
  190. package/es/app/tree/tree-navigation.d.ts +11 -0
  191. package/es/app/tree/tree-navigation.d.ts.map +1 -0
  192. package/es/app/tree/tree-navigation.js +54 -0
  193. package/es/app/tree/tree-protocol.d.ts +67 -0
  194. package/es/app/tree/tree-protocol.d.ts.map +1 -0
  195. package/es/app/tree/tree-protocol.js +24 -0
  196. package/es/app/tree/tree-selection-impl.d.ts +45 -0
  197. package/es/app/tree/tree-selection-impl.d.ts.map +1 -0
  198. package/es/app/tree/tree-selection-impl.js +192 -0
  199. package/es/app/tree/tree-selection-state.d.ts +48 -0
  200. package/es/app/tree/tree-selection-state.d.ts.map +1 -0
  201. package/es/app/tree/tree-selection-state.js +276 -0
  202. package/es/app/tree/tree-selection.d.ts +79 -0
  203. package/es/app/tree/tree-selection.d.ts.map +1 -0
  204. package/es/app/tree/tree-selection.js +72 -0
  205. package/es/app/tree/tree-view-decoration.d.ts +286 -0
  206. package/es/app/tree/tree-view-decoration.d.ts.map +1 -0
  207. package/es/app/tree/tree-view-decoration.js +127 -0
  208. package/es/app/tree/tree.d.ts +166 -0
  209. package/es/app/tree/tree.d.ts.map +1 -0
  210. package/es/app/tree/tree.js +155 -0
  211. package/es/app/tree/view/index.d.ts +4 -0
  212. package/es/app/tree/view/index.d.ts.map +1 -0
  213. package/es/app/tree/view/index.js +3 -0
  214. package/es/app/tree/view/index.less +3 -0
  215. package/es/app/tree/view/tree-view-decorator.d.ts +38 -0
  216. package/es/app/tree/view/tree-view-decorator.d.ts.map +1 -0
  217. package/es/app/tree/view/tree-view-decorator.js +128 -0
  218. package/es/app/tree/view/tree-view-module.d.ts +3 -0
  219. package/es/app/tree/view/tree-view-module.d.ts.map +1 -0
  220. package/es/app/tree/view/tree-view-module.js +8 -0
  221. package/es/app/tree/view/tree-view-selection.d.ts +12 -0
  222. package/es/app/tree/view/tree-view-selection.d.ts.map +1 -0
  223. package/es/app/tree/view/tree-view-selection.js +23 -0
  224. package/es/app/tree/view/tree-view.d.ts +262 -0
  225. package/es/app/tree/view/tree-view.d.ts.map +1 -0
  226. package/es/app/tree/view/tree-view.js +943 -0
  227. package/es/app/typings/index.d.ts +7 -0
  228. package/es/app/view/box/index.d.ts +19 -0
  229. package/es/app/view/box/index.d.ts.map +1 -0
  230. package/es/app/view/box/index.js +76 -0
  231. package/es/app/view/components/index.d.ts +2 -0
  232. package/es/app/view/components/index.d.ts.map +1 -0
  233. package/es/app/view/components/index.js +1 -0
  234. package/es/app/view/components/loading/index.d.ts +3 -0
  235. package/es/app/view/components/loading/index.d.ts.map +1 -0
  236. package/es/app/view/components/loading/index.js +7 -0
  237. package/es/app/view/components/loading/index.less +10 -0
  238. package/es/app/view/flex/index.d.ts +16 -0
  239. package/es/app/view/flex/index.d.ts.map +1 -0
  240. package/es/app/view/flex/index.js +67 -0
  241. package/es/app/view/flex/index.less +3 -0
  242. package/es/app/view/header/header-view.d.ts +12 -0
  243. package/es/app/view/header/header-view.d.ts.map +1 -0
  244. package/es/app/view/header/header-view.js +68 -0
  245. package/es/app/view/header/index.d.ts +4 -0
  246. package/es/app/view/header/index.d.ts.map +1 -0
  247. package/es/app/view/header/index.js +23 -0
  248. package/es/app/view/header/index.less +43 -0
  249. package/es/app/view/index.d.ts +8 -0
  250. package/es/app/view/index.d.ts.map +1 -0
  251. package/es/app/view/index.js +11 -0
  252. package/es/app/view/tab/card-tab-view.d.ts +13 -0
  253. package/es/app/view/tab/card-tab-view.d.ts.map +1 -0
  254. package/es/app/view/tab/card-tab-view.js +49 -0
  255. package/es/app/view/tab/index.d.ts +4 -0
  256. package/es/app/view/tab/index.d.ts.map +1 -0
  257. package/es/app/view/tab/index.js +3 -0
  258. package/es/app/view/tab/index.less +70 -0
  259. package/es/app/view/tab/side-tab-view.d.ts +23 -0
  260. package/es/app/view/tab/side-tab-view.d.ts.map +1 -0
  261. package/es/app/view/tab/side-tab-view.js +121 -0
  262. package/es/app/view/tab/tab-menu.d.ts +9 -0
  263. package/es/app/view/tab/tab-menu.d.ts.map +1 -0
  264. package/es/app/view/tab/tab-menu.js +34 -0
  265. package/es/app/view/tab/tab-protocol.d.ts +3 -0
  266. package/es/app/view/tab/tab-protocol.d.ts.map +1 -0
  267. package/es/app/view/tab/tab-protocol.js +1 -0
  268. package/es/app/view/tab/tab-view.d.ts +27 -0
  269. package/es/app/view/tab/tab-view.d.ts.map +1 -0
  270. package/es/app/view/tab/tab-view.js +169 -0
  271. package/es/common/assert.d.ts +5 -0
  272. package/es/common/assert.d.ts.map +1 -0
  273. package/es/common/assert.js +13 -0
  274. package/es/common/cancellation.d.ts +20 -0
  275. package/es/common/cancellation.d.ts.map +1 -0
  276. package/es/common/cancellation.js +143 -0
  277. package/es/common/charCode.d.ts +416 -0
  278. package/es/common/charCode.d.ts.map +1 -0
  279. package/es/common/charCode.js +604 -0
  280. package/es/common/collections.d.ts +44 -0
  281. package/es/common/collections.d.ts.map +1 -0
  282. package/es/common/collections.js +220 -0
  283. package/es/common/deferred.d.ts +10 -0
  284. package/es/common/deferred.d.ts.map +1 -0
  285. package/es/common/deferred.js +21 -0
  286. package/es/common/disposable-collection.d.ts +24 -0
  287. package/es/common/disposable-collection.d.ts.map +1 -0
  288. package/es/common/disposable-collection.js +117 -0
  289. package/es/common/disposable.d.ts +19 -0
  290. package/es/common/disposable.d.ts.map +1 -0
  291. package/es/common/disposable.js +23 -0
  292. package/es/common/event.d.ts +75 -0
  293. package/es/common/event.d.ts.map +1 -0
  294. package/es/common/event.js +313 -0
  295. package/es/common/index.d.ts +27 -0
  296. package/es/common/index.d.ts.map +1 -0
  297. package/es/common/index.js +26 -0
  298. package/es/common/iterator.d.ts +39 -0
  299. package/es/common/iterator.d.ts.map +1 -0
  300. package/es/common/iterator.js +389 -0
  301. package/es/common/linkedList.d.ts +16 -0
  302. package/es/common/linkedList.d.ts.map +1 -0
  303. package/es/common/linkedList.js +159 -0
  304. package/es/common/objects.d.ts +36 -0
  305. package/es/common/objects.d.ts.map +1 -0
  306. package/es/common/objects.js +232 -0
  307. package/es/common/observable-disposable.d.ts +12 -0
  308. package/es/common/observable-disposable.d.ts.map +1 -0
  309. package/es/common/observable-disposable.js +1 -0
  310. package/es/common/path.d.ts +59 -0
  311. package/es/common/path.d.ts.map +1 -0
  312. package/es/common/path.js +258 -0
  313. package/es/common/platform.d.ts +72 -0
  314. package/es/common/platform.d.ts.map +1 -0
  315. package/es/common/platform.js +213 -0
  316. package/es/common/priority.d.ts +23 -0
  317. package/es/common/priority.d.ts.map +1 -0
  318. package/es/common/priority.js +97 -0
  319. package/es/common/promise-util.d.ts +8 -0
  320. package/es/common/promise-util.d.ts.map +1 -0
  321. package/es/common/promise-util.js +63 -0
  322. package/es/common/stopwatch.d.ts +11 -0
  323. package/es/common/stopwatch.d.ts.map +1 -0
  324. package/es/common/stopwatch.js +47 -0
  325. package/es/common/strings.d.ts +102 -0
  326. package/es/common/strings.d.ts.map +1 -0
  327. package/es/common/strings.js +433 -0
  328. package/es/common/types.d.ts +16 -0
  329. package/es/common/types.d.ts.map +1 -0
  330. package/es/common/types.js +13 -0
  331. package/es/common/uint.d.ts +32 -0
  332. package/es/common/uint.d.ts.map +1 -0
  333. package/es/common/uint.js +56 -0
  334. package/es/common/uri.d.ts +56 -0
  335. package/es/common/uri.d.ts.map +1 -0
  336. package/es/common/uri.js +244 -0
  337. package/es/common/utils.d.ts +4 -0
  338. package/es/common/utils.d.ts.map +1 -0
  339. package/es/common/utils.js +26 -0
  340. package/es/common/valueTypes.d.ts +102 -0
  341. package/es/common/valueTypes.d.ts.map +1 -0
  342. package/es/common/valueTypes.js +270 -0
  343. package/es/common/vscode-uri/char-code.d.ts +416 -0
  344. package/es/common/vscode-uri/char-code.d.ts.map +1 -0
  345. package/es/common/vscode-uri/char-code.js +608 -0
  346. package/es/common/vscode-uri/index.d.ts +6 -0
  347. package/es/common/vscode-uri/index.d.ts.map +1 -0
  348. package/es/common/vscode-uri/index.js +8 -0
  349. package/es/common/vscode-uri/platform.d.ts +2 -0
  350. package/es/common/vscode-uri/platform.d.ts.map +1 -0
  351. package/es/common/vscode-uri/platform.js +17 -0
  352. package/es/common/vscode-uri/uri.d.ts +155 -0
  353. package/es/common/vscode-uri/uri.d.ts.map +1 -0
  354. package/es/common/vscode-uri/uri.js +637 -0
  355. package/es/common/vscode-uri/utils.d.ts +59 -0
  356. package/es/common/vscode-uri/utils.d.ts.map +1 -0
  357. package/es/common/vscode-uri/utils.js +61 -0
  358. package/es/common/wait-until-event.d.ts +17 -0
  359. package/es/common/wait-until-event.d.ts.map +1 -0
  360. package/es/common/wait-until-event.js +65 -0
  361. package/es/core/application/application-protocol.d.ts +19 -0
  362. package/es/core/application/application-protocol.d.ts.map +1 -0
  363. package/es/core/application/application-protocol.js +4 -0
  364. package/es/core/application/application-state.d.ts +24 -0
  365. package/es/core/application/application-state.d.ts.map +1 -0
  366. package/es/core/application/application-state.js +87 -0
  367. package/es/core/application/application.d.ts +86 -0
  368. package/es/core/application/application.d.ts.map +1 -0
  369. package/es/core/application/application.js +554 -0
  370. package/es/core/application/default-window-service.d.ts +27 -0
  371. package/es/core/application/default-window-service.d.ts.map +1 -0
  372. package/es/core/application/default-window-service.js +83 -0
  373. package/es/core/application/index.d.ts +5 -0
  374. package/es/core/application/index.d.ts.map +1 -0
  375. package/es/core/application/index.js +7 -0
  376. package/es/core/application/mock-window-service.d.ts +8 -0
  377. package/es/core/application/mock-window-service.d.ts.map +1 -0
  378. package/es/core/application/mock-window-service.js +31 -0
  379. package/es/core/browser.d.ts +21 -0
  380. package/es/core/browser.d.ts.map +1 -0
  381. package/es/core/browser.js +118 -0
  382. package/es/core/command/command-protocol.d.ts +124 -0
  383. package/es/core/command/command-protocol.d.ts.map +1 -0
  384. package/es/core/command/command-protocol.js +44 -0
  385. package/es/core/command/command-registry.d.ts +144 -0
  386. package/es/core/command/command-registry.d.ts.map +1 -0
  387. package/es/core/command/command-registry.js +595 -0
  388. package/es/core/command/index.d.ts +5 -0
  389. package/es/core/command/index.d.ts.map +1 -0
  390. package/es/core/command/index.js +5 -0
  391. package/es/core/common/debug.d.ts +5 -0
  392. package/es/core/common/debug.d.ts.map +1 -0
  393. package/es/core/common/debug.js +3 -0
  394. package/es/core/common/index.d.ts +6 -0
  395. package/es/core/common/index.d.ts.map +1 -0
  396. package/es/core/common/index.js +17 -0
  397. package/es/core/common/storage-protocol.d.ts +21 -0
  398. package/es/core/common/storage-protocol.d.ts.map +1 -0
  399. package/es/core/common/storage-protocol.js +5 -0
  400. package/es/core/common/storage-service.d.ts +23 -0
  401. package/es/core/common/storage-service.d.ts.map +1 -0
  402. package/es/core/common/storage-service.js +91 -0
  403. package/es/core/components/application.d.ts +16 -0
  404. package/es/core/components/application.d.ts.map +1 -0
  405. package/es/core/components/application.js +159 -0
  406. package/es/core/components/context.d.ts +19 -0
  407. package/es/core/components/context.d.ts.map +1 -0
  408. package/es/core/components/context.js +101 -0
  409. package/es/core/components/hooks.d.ts +4 -0
  410. package/es/core/components/hooks.d.ts.map +1 -0
  411. package/es/core/components/hooks.js +14 -0
  412. package/es/core/components/index.d.ts +7 -0
  413. package/es/core/components/index.d.ts.map +1 -0
  414. package/es/core/components/index.js +8 -0
  415. package/es/core/components/index.less +28 -0
  416. package/es/core/components/root-view-render.d.ts +5 -0
  417. package/es/core/components/root-view-render.d.ts.map +1 -0
  418. package/es/core/components/root-view-render.js +14 -0
  419. package/es/core/configuration/configuration-cache.d.ts +15 -0
  420. package/es/core/configuration/configuration-cache.d.ts.map +1 -0
  421. package/es/core/configuration/configuration-cache.js +67 -0
  422. package/es/core/configuration/configuration-protocol.d.ts +46 -0
  423. package/es/core/configuration/configuration-protocol.d.ts.map +1 -0
  424. package/es/core/configuration/configuration-protocol.js +1 -0
  425. package/es/core/configuration/configuration-provider.d.ts +46 -0
  426. package/es/core/configuration/configuration-provider.d.ts.map +1 -0
  427. package/es/core/configuration/configuration-provider.js +95 -0
  428. package/es/core/configuration/configuration-registry.d.ts +53 -0
  429. package/es/core/configuration/configuration-registry.d.ts.map +1 -0
  430. package/es/core/configuration/configuration-registry.js +360 -0
  431. package/es/core/configuration/configuration-render-registry.d.ts +35 -0
  432. package/es/core/configuration/configuration-render-registry.d.ts.map +1 -0
  433. package/es/core/configuration/configuration-render-registry.js +118 -0
  434. package/es/core/configuration/configuration-service.d.ts +46 -0
  435. package/es/core/configuration/configuration-service.d.ts.map +1 -0
  436. package/es/core/configuration/configuration-service.js +411 -0
  437. package/es/core/configuration/configuration-storage.d.ts +19 -0
  438. package/es/core/configuration/configuration-storage.d.ts.map +1 -0
  439. package/es/core/configuration/configuration-storage.js +15 -0
  440. package/es/core/configuration/hooks.d.ts +3 -0
  441. package/es/core/configuration/hooks.d.ts.map +1 -0
  442. package/es/core/configuration/hooks.js +60 -0
  443. package/es/core/configuration/index.d.ts +11 -0
  444. package/es/core/configuration/index.d.ts.map +1 -0
  445. package/es/core/configuration/index.js +10 -0
  446. package/es/core/configuration/module.d.ts +3 -0
  447. package/es/core/configuration/module.d.ts.map +1 -0
  448. package/es/core/configuration/module.js +8 -0
  449. package/es/core/configuration/typings.d.ts +1 -0
  450. package/es/core/configuration/validation.d.ts +12 -0
  451. package/es/core/configuration/validation.d.ts.map +1 -0
  452. package/es/core/configuration/validation.js +45 -0
  453. package/es/core/context/data-context-manager.d.ts +16 -0
  454. package/es/core/context/data-context-manager.d.ts.map +1 -0
  455. package/es/core/context/data-context-manager.js +80 -0
  456. package/es/core/context/data-context-protocol.d.ts +16 -0
  457. package/es/core/context/data-context-protocol.d.ts.map +1 -0
  458. package/es/core/context/data-context-protocol.js +10 -0
  459. package/es/core/context/data-context.d.ts +7 -0
  460. package/es/core/context/data-context.d.ts.map +1 -0
  461. package/es/core/context/data-context.js +32 -0
  462. package/es/core/context/index.d.ts +6 -0
  463. package/es/core/context/index.d.ts.map +1 -0
  464. package/es/core/context/index.js +12 -0
  465. package/es/core/index.d.ts +32 -0
  466. package/es/core/index.d.ts.map +1 -0
  467. package/es/core/index.js +42 -0
  468. package/es/core/keybinding/context-key-service.d.ts +22 -0
  469. package/es/core/keybinding/context-key-service.d.ts.map +1 -0
  470. package/es/core/keybinding/context-key-service.js +79 -0
  471. package/es/core/keybinding/index.d.ts +6 -0
  472. package/es/core/keybinding/index.d.ts.map +1 -0
  473. package/es/core/keybinding/index.js +5 -0
  474. package/es/core/keybinding/keybinding-proocol.d.ts +14 -0
  475. package/es/core/keybinding/keybinding-proocol.d.ts.map +1 -0
  476. package/es/core/keybinding/keybinding-proocol.js +5 -0
  477. package/es/core/keybinding/keybinding.d.ts +333 -0
  478. package/es/core/keybinding/keybinding.d.ts.map +1 -0
  479. package/es/core/keybinding/keybinding.js +912 -0
  480. package/es/core/keybinding/module.d.ts +3 -0
  481. package/es/core/keybinding/module.d.ts.map +1 -0
  482. package/es/core/keybinding/module.js +12 -0
  483. package/es/core/keybinding/vs/configuration/configuration.d.ts +129 -0
  484. package/es/core/keybinding/vs/configuration/configuration.d.ts.map +1 -0
  485. package/es/core/keybinding/vs/configuration/configuration.js +328 -0
  486. package/es/core/keybinding/vs/configuration/configurationModels.d.ts +138 -0
  487. package/es/core/keybinding/vs/configuration/configurationModels.d.ts.map +1 -0
  488. package/es/core/keybinding/vs/configuration/configurationModels.js +974 -0
  489. package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts +145 -0
  490. package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts.map +1 -0
  491. package/es/core/keybinding/vs/configuration/configurationRegistry.js +500 -0
  492. package/es/core/keybinding/vs/configuration/configurationService.d.ts +36 -0
  493. package/es/core/keybinding/vs/configuration/configurationService.d.ts.map +1 -0
  494. package/es/core/keybinding/vs/configuration/configurationService.js +161 -0
  495. package/es/core/keybinding/vs/configuration/json.d.ts +216 -0
  496. package/es/core/keybinding/vs/configuration/json.d.ts.map +1 -0
  497. package/es/core/keybinding/vs/configuration/json.js +1303 -0
  498. package/es/core/keybinding/vs/contextKeyService.d.ts +73 -0
  499. package/es/core/keybinding/vs/contextKeyService.d.ts.map +1 -0
  500. package/es/core/keybinding/vs/contextKeyService.js +755 -0
  501. package/es/core/keybinding/vs/contextkey.d.ts +338 -0
  502. package/es/core/keybinding/vs/contextkey.d.ts.map +1 -0
  503. package/es/core/keybinding/vs/contextkey.js +1551 -0
  504. package/es/core/keybinding/vs/contextkeys.d.ts +10 -0
  505. package/es/core/keybinding/vs/contextkeys.d.ts.map +1 -0
  506. package/es/core/keybinding/vs/contextkeys.js +16 -0
  507. package/es/core/keybinding/vs/jsonContributionRegistry.d.ts +25 -0
  508. package/es/core/keybinding/vs/jsonContributionRegistry.d.ts.map +1 -0
  509. package/es/core/keybinding/vs/jsonContributionRegistry.js +52 -0
  510. package/es/core/keybinding/vs/jsonSchema.d.ts +65 -0
  511. package/es/core/keybinding/vs/jsonSchema.d.ts.map +1 -0
  512. package/es/core/keybinding/vs/jsonSchema.js +0 -0
  513. package/es/core/keybinding/vs/platform.d.ts +21 -0
  514. package/es/core/keybinding/vs/platform.d.ts.map +1 -0
  515. package/es/core/keybinding/vs/platform.js +39 -0
  516. package/es/core/keyboard/browser-keyboard-layout-provider.d.ts +101 -0
  517. package/es/core/keyboard/browser-keyboard-layout-provider.d.ts.map +1 -0
  518. package/es/core/keyboard/browser-keyboard-layout-provider.js +642 -0
  519. package/es/core/keyboard/index.d.ts +5 -0
  520. package/es/core/keyboard/index.d.ts.map +1 -0
  521. package/es/core/keyboard/index.js +4 -0
  522. package/es/core/keyboard/keyboard-layout-service.d.ts +51 -0
  523. package/es/core/keyboard/keyboard-layout-service.d.ts.map +1 -0
  524. package/es/core/keyboard/keyboard-layout-service.js +697 -0
  525. package/es/core/keyboard/keyboard-protocol.d.ts +26 -0
  526. package/es/core/keyboard/keyboard-protocol.d.ts.map +1 -0
  527. package/es/core/keyboard/keyboard-protocol.js +5 -0
  528. package/es/core/keyboard/keys.d.ts +254 -0
  529. package/es/core/keyboard/keys.d.ts.map +1 -0
  530. package/es/core/keyboard/keys.js +1070 -0
  531. package/es/core/keyboard/layouts/cs-Czech-mac.d.ts +269 -0
  532. package/es/core/keyboard/layouts/cs-Czech-mac.d.ts.map +1 -0
  533. package/es/core/keyboard/layouts/cs-Czech-mac.js +267 -0
  534. package/es/core/keyboard/layouts/cs-Czech-mac.json +1 -0
  535. package/es/core/keyboard/layouts/cs-Czech-pc.d.ts +291 -0
  536. package/es/core/keyboard/layouts/cs-Czech-pc.d.ts.map +1 -0
  537. package/es/core/keyboard/layouts/cs-Czech-pc.js +289 -0
  538. package/es/core/keyboard/layouts/cs-Czech-pc.json +1 -0
  539. package/es/core/keyboard/layouts/da-Danish-mac.d.ts +298 -0
  540. package/es/core/keyboard/layouts/da-Danish-mac.d.ts.map +1 -0
  541. package/es/core/keyboard/layouts/da-Danish-mac.js +296 -0
  542. package/es/core/keyboard/layouts/da-Danish-mac.json +1 -0
  543. package/es/core/keyboard/layouts/da-Danish-pc.d.ts +270 -0
  544. package/es/core/keyboard/layouts/da-Danish-pc.d.ts.map +1 -0
  545. package/es/core/keyboard/layouts/da-Danish-pc.js +268 -0
  546. package/es/core/keyboard/layouts/da-Danish-pc.json +1 -0
  547. package/es/core/keyboard/layouts/de-German-mac.d.ts +298 -0
  548. package/es/core/keyboard/layouts/de-German-mac.d.ts.map +1 -0
  549. package/es/core/keyboard/layouts/de-German-mac.js +296 -0
  550. package/es/core/keyboard/layouts/de-German-mac.json +1 -0
  551. package/es/core/keyboard/layouts/de-German-pc.d.ts +270 -0
  552. package/es/core/keyboard/layouts/de-German-pc.d.ts.map +1 -0
  553. package/es/core/keyboard/layouts/de-German-pc.js +268 -0
  554. package/es/core/keyboard/layouts/de-German-pc.json +1 -0
  555. package/es/core/keyboard/layouts/de-Swiss_German-mac.d.ts +296 -0
  556. package/es/core/keyboard/layouts/de-Swiss_German-mac.d.ts.map +1 -0
  557. package/es/core/keyboard/layouts/de-Swiss_German-mac.js +294 -0
  558. package/es/core/keyboard/layouts/de-Swiss_German-mac.json +1 -0
  559. package/es/core/keyboard/layouts/de-Swiss_German-pc.d.ts +273 -0
  560. package/es/core/keyboard/layouts/de-Swiss_German-pc.d.ts.map +1 -0
  561. package/es/core/keyboard/layouts/de-Swiss_German-pc.js +271 -0
  562. package/es/core/keyboard/layouts/de-Swiss_German-pc.json +1 -0
  563. package/es/core/keyboard/layouts/en-British-mac.d.ts +296 -0
  564. package/es/core/keyboard/layouts/en-British-mac.d.ts.map +1 -0
  565. package/es/core/keyboard/layouts/en-British-mac.js +294 -0
  566. package/es/core/keyboard/layouts/en-British-mac.json +1 -0
  567. package/es/core/keyboard/layouts/en-British-pc.d.ts +271 -0
  568. package/es/core/keyboard/layouts/en-British-pc.d.ts.map +1 -0
  569. package/es/core/keyboard/layouts/en-British-pc.js +269 -0
  570. package/es/core/keyboard/layouts/en-British-pc.json +1 -0
  571. package/es/core/keyboard/layouts/en-Colemak-mac.d.ts +298 -0
  572. package/es/core/keyboard/layouts/en-Colemak-mac.d.ts.map +1 -0
  573. package/es/core/keyboard/layouts/en-Colemak-mac.js +296 -0
  574. package/es/core/keyboard/layouts/en-Colemak-mac.json +1 -0
  575. package/es/core/keyboard/layouts/en-Dvorak-mac.d.ts +298 -0
  576. package/es/core/keyboard/layouts/en-Dvorak-mac.d.ts.map +1 -0
  577. package/es/core/keyboard/layouts/en-Dvorak-mac.js +296 -0
  578. package/es/core/keyboard/layouts/en-Dvorak-mac.json +1 -0
  579. package/es/core/keyboard/layouts/en-Dvorak-pc.d.ts +257 -0
  580. package/es/core/keyboard/layouts/en-Dvorak-pc.d.ts.map +1 -0
  581. package/es/core/keyboard/layouts/en-Dvorak-pc.js +255 -0
  582. package/es/core/keyboard/layouts/en-Dvorak-pc.json +1 -0
  583. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.d.ts +298 -0
  584. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.d.ts.map +1 -0
  585. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.js +296 -0
  586. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.json +1 -0
  587. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.d.ts +257 -0
  588. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.d.ts.map +1 -0
  589. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.js +255 -0
  590. package/es/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.json +1 -0
  591. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.d.ts +298 -0
  592. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.d.ts.map +1 -0
  593. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.js +296 -0
  594. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-mac.json +1 -0
  595. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.d.ts +257 -0
  596. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.d.ts.map +1 -0
  597. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.js +255 -0
  598. package/es/core/keyboard/layouts/en-Dvorak_Righthanded-pc.json +1 -0
  599. package/es/core/keyboard/layouts/en-US-mac.d.ts +298 -0
  600. package/es/core/keyboard/layouts/en-US-mac.d.ts.map +1 -0
  601. package/es/core/keyboard/layouts/en-US-mac.js +296 -0
  602. package/es/core/keyboard/layouts/en-US-mac.json +1 -0
  603. package/es/core/keyboard/layouts/en-US-pc.d.ts +257 -0
  604. package/es/core/keyboard/layouts/en-US-pc.d.ts.map +1 -0
  605. package/es/core/keyboard/layouts/en-US-pc.js +255 -0
  606. package/es/core/keyboard/layouts/en-US-pc.json +1 -0
  607. package/es/core/keyboard/layouts/es-Spanish-mac.d.ts +298 -0
  608. package/es/core/keyboard/layouts/es-Spanish-mac.d.ts.map +1 -0
  609. package/es/core/keyboard/layouts/es-Spanish-mac.js +296 -0
  610. package/es/core/keyboard/layouts/es-Spanish-mac.json +1 -0
  611. package/es/core/keyboard/layouts/es-Spanish-pc.d.ts +269 -0
  612. package/es/core/keyboard/layouts/es-Spanish-pc.d.ts.map +1 -0
  613. package/es/core/keyboard/layouts/es-Spanish-pc.js +267 -0
  614. package/es/core/keyboard/layouts/es-Spanish-pc.json +1 -0
  615. package/es/core/keyboard/layouts/fr-Bepo-pc.d.ts +344 -0
  616. package/es/core/keyboard/layouts/fr-Bepo-pc.d.ts.map +1 -0
  617. package/es/core/keyboard/layouts/fr-Bepo-pc.js +342 -0
  618. package/es/core/keyboard/layouts/fr-Bepo-pc.json +1 -0
  619. package/es/core/keyboard/layouts/fr-Canadian_French-mac.d.ts +298 -0
  620. package/es/core/keyboard/layouts/fr-Canadian_French-mac.d.ts.map +1 -0
  621. package/es/core/keyboard/layouts/fr-Canadian_French-mac.js +296 -0
  622. package/es/core/keyboard/layouts/fr-Canadian_French-mac.json +1 -0
  623. package/es/core/keyboard/layouts/fr-Canadian_French-pc.d.ts +281 -0
  624. package/es/core/keyboard/layouts/fr-Canadian_French-pc.d.ts.map +1 -0
  625. package/es/core/keyboard/layouts/fr-Canadian_French-pc.js +279 -0
  626. package/es/core/keyboard/layouts/fr-Canadian_French-pc.json +1 -0
  627. package/es/core/keyboard/layouts/fr-French-mac.d.ts +298 -0
  628. package/es/core/keyboard/layouts/fr-French-mac.d.ts.map +1 -0
  629. package/es/core/keyboard/layouts/fr-French-mac.js +296 -0
  630. package/es/core/keyboard/layouts/fr-French-mac.json +1 -0
  631. package/es/core/keyboard/layouts/fr-French-pc.d.ts +269 -0
  632. package/es/core/keyboard/layouts/fr-French-pc.d.ts.map +1 -0
  633. package/es/core/keyboard/layouts/fr-French-pc.js +267 -0
  634. package/es/core/keyboard/layouts/fr-French-pc.json +1 -0
  635. package/es/core/keyboard/layouts/fr-Swiss_French-mac.d.ts +296 -0
  636. package/es/core/keyboard/layouts/fr-Swiss_French-mac.d.ts.map +1 -0
  637. package/es/core/keyboard/layouts/fr-Swiss_French-mac.js +294 -0
  638. package/es/core/keyboard/layouts/fr-Swiss_French-mac.json +1 -0
  639. package/es/core/keyboard/layouts/fr-Swiss_French-pc.d.ts +273 -0
  640. package/es/core/keyboard/layouts/fr-Swiss_French-pc.d.ts.map +1 -0
  641. package/es/core/keyboard/layouts/fr-Swiss_French-pc.js +271 -0
  642. package/es/core/keyboard/layouts/fr-Swiss_French-pc.json +1 -0
  643. package/es/core/keyboard/layouts/hu-Hungarian-mac.d.ts +298 -0
  644. package/es/core/keyboard/layouts/hu-Hungarian-mac.d.ts.map +1 -0
  645. package/es/core/keyboard/layouts/hu-Hungarian-mac.js +296 -0
  646. package/es/core/keyboard/layouts/hu-Hungarian-mac.json +1 -0
  647. package/es/core/keyboard/layouts/hu-Hungarian-pc.d.ts +298 -0
  648. package/es/core/keyboard/layouts/hu-Hungarian-pc.d.ts.map +1 -0
  649. package/es/core/keyboard/layouts/hu-Hungarian-pc.js +296 -0
  650. package/es/core/keyboard/layouts/hu-Hungarian-pc.json +1 -0
  651. package/es/core/keyboard/layouts/index.d.ts +4 -0
  652. package/es/core/keyboard/layouts/index.d.ts.map +1 -0
  653. package/es/core/keyboard/layouts/index.js +57 -0
  654. package/es/core/keyboard/layouts/it-Italian-mac.d.ts +298 -0
  655. package/es/core/keyboard/layouts/it-Italian-mac.d.ts.map +1 -0
  656. package/es/core/keyboard/layouts/it-Italian-mac.js +296 -0
  657. package/es/core/keyboard/layouts/it-Italian-mac.json +1 -0
  658. package/es/core/keyboard/layouts/it-Italian-pc.d.ts +265 -0
  659. package/es/core/keyboard/layouts/it-Italian-pc.d.ts.map +1 -0
  660. package/es/core/keyboard/layouts/it-Italian-pc.js +263 -0
  661. package/es/core/keyboard/layouts/it-Italian-pc.json +1 -0
  662. package/es/core/keyboard/layouts/nb-Norwegian-mac.d.ts +293 -0
  663. package/es/core/keyboard/layouts/nb-Norwegian-mac.d.ts.map +1 -0
  664. package/es/core/keyboard/layouts/nb-Norwegian-mac.js +291 -0
  665. package/es/core/keyboard/layouts/nb-Norwegian-mac.json +1 -0
  666. package/es/core/keyboard/layouts/nb-Norwegian-pc.d.ts +269 -0
  667. package/es/core/keyboard/layouts/nb-Norwegian-pc.d.ts.map +1 -0
  668. package/es/core/keyboard/layouts/nb-Norwegian-pc.js +267 -0
  669. package/es/core/keyboard/layouts/nb-Norwegian-pc.json +1 -0
  670. package/es/core/keyboard/layouts/nl-Dutch-mac.d.ts +296 -0
  671. package/es/core/keyboard/layouts/nl-Dutch-mac.d.ts.map +1 -0
  672. package/es/core/keyboard/layouts/nl-Dutch-mac.js +294 -0
  673. package/es/core/keyboard/layouts/nl-Dutch-mac.json +1 -0
  674. package/es/core/keyboard/layouts/nl-Dutch-pc.d.ts +278 -0
  675. package/es/core/keyboard/layouts/nl-Dutch-pc.d.ts.map +1 -0
  676. package/es/core/keyboard/layouts/nl-Dutch-pc.js +276 -0
  677. package/es/core/keyboard/layouts/nl-Dutch-pc.json +1 -0
  678. package/es/core/keyboard/layouts/pl-Polish-mac.d.ts +298 -0
  679. package/es/core/keyboard/layouts/pl-Polish-mac.d.ts.map +1 -0
  680. package/es/core/keyboard/layouts/pl-Polish-mac.js +296 -0
  681. package/es/core/keyboard/layouts/pl-Polish-mac.json +1 -0
  682. package/es/core/keyboard/layouts/pl-Polish-pc.d.ts +284 -0
  683. package/es/core/keyboard/layouts/pl-Polish-pc.d.ts.map +1 -0
  684. package/es/core/keyboard/layouts/pl-Polish-pc.js +282 -0
  685. package/es/core/keyboard/layouts/pl-Polish-pc.json +1 -0
  686. package/es/core/keyboard/layouts/pt-Brazilian-mac.d.ts +298 -0
  687. package/es/core/keyboard/layouts/pt-Brazilian-mac.d.ts.map +1 -0
  688. package/es/core/keyboard/layouts/pt-Brazilian-mac.js +296 -0
  689. package/es/core/keyboard/layouts/pt-Brazilian-mac.json +1 -0
  690. package/es/core/keyboard/layouts/pt-Portuguese-mac.d.ts +298 -0
  691. package/es/core/keyboard/layouts/pt-Portuguese-mac.d.ts.map +1 -0
  692. package/es/core/keyboard/layouts/pt-Portuguese-mac.js +296 -0
  693. package/es/core/keyboard/layouts/pt-Portuguese-mac.json +1 -0
  694. package/es/core/keyboard/layouts/pt-Portuguese-pc.d.ts +268 -0
  695. package/es/core/keyboard/layouts/pt-Portuguese-pc.d.ts.map +1 -0
  696. package/es/core/keyboard/layouts/pt-Portuguese-pc.js +266 -0
  697. package/es/core/keyboard/layouts/pt-Portuguese-pc.json +65 -0
  698. package/es/core/keyboard/layouts/ro-Romanian-mac.d.ts +298 -0
  699. package/es/core/keyboard/layouts/ro-Romanian-mac.d.ts.map +1 -0
  700. package/es/core/keyboard/layouts/ro-Romanian-mac.js +296 -0
  701. package/es/core/keyboard/layouts/ro-Romanian-mac.json +1 -0
  702. package/es/core/keyboard/layouts/ro-Romanian-pc.d.ts +295 -0
  703. package/es/core/keyboard/layouts/ro-Romanian-pc.d.ts.map +1 -0
  704. package/es/core/keyboard/layouts/ro-Romanian-pc.js +293 -0
  705. package/es/core/keyboard/layouts/ro-Romanian-pc.json +1 -0
  706. package/es/core/keyboard/layouts/sv-Swedish-mac.d.ts +298 -0
  707. package/es/core/keyboard/layouts/sv-Swedish-mac.d.ts.map +1 -0
  708. package/es/core/keyboard/layouts/sv-Swedish-mac.js +296 -0
  709. package/es/core/keyboard/layouts/sv-Swedish-mac.json +1 -0
  710. package/es/core/keyboard/layouts/sv-Swedish-pc.d.ts +270 -0
  711. package/es/core/keyboard/layouts/sv-Swedish-pc.d.ts.map +1 -0
  712. package/es/core/keyboard/layouts/sv-Swedish-pc.js +268 -0
  713. package/es/core/keyboard/layouts/sv-Swedish-pc.json +1 -0
  714. package/es/core/keyboard/layouts/tr-Turkish_Q-mac.d.ts +297 -0
  715. package/es/core/keyboard/layouts/tr-Turkish_Q-mac.d.ts.map +1 -0
  716. package/es/core/keyboard/layouts/tr-Turkish_Q-mac.js +295 -0
  717. package/es/core/keyboard/layouts/tr-Turkish_Q-mac.json +1 -0
  718. package/es/core/keyboard/layouts/tr-Turkish_Q-pc.d.ts +282 -0
  719. package/es/core/keyboard/layouts/tr-Turkish_Q-pc.d.ts.map +1 -0
  720. package/es/core/keyboard/layouts/tr-Turkish_Q-pc.js +280 -0
  721. package/es/core/keyboard/layouts/tr-Turkish_Q-pc.json +1 -0
  722. package/es/core/menu/default-menu-node.d.ts +82 -0
  723. package/es/core/menu/default-menu-node.d.ts.map +1 -0
  724. package/es/core/menu/default-menu-node.js +205 -0
  725. package/es/core/menu/index.d.ts +5 -0
  726. package/es/core/menu/index.d.ts.map +1 -0
  727. package/es/core/menu/index.js +39 -0
  728. package/es/core/menu/menu-protocol.d.ts +101 -0
  729. package/es/core/menu/menu-protocol.d.ts.map +1 -0
  730. package/es/core/menu/menu-protocol.js +72 -0
  731. package/es/core/menu/menu-registry.d.ts +92 -0
  732. package/es/core/menu/menu-registry.d.ts.map +1 -0
  733. package/es/core/menu/menu-registry.js +296 -0
  734. package/es/core/menu/module.d.ts +3 -0
  735. package/es/core/menu/module.d.ts.map +1 -0
  736. package/es/core/menu/module.js +31 -0
  737. package/es/core/module/index.d.ts +4 -0
  738. package/es/core/module/index.d.ts.map +1 -0
  739. package/es/core/module/index.js +3 -0
  740. package/es/core/module/mana-module-context.d.ts +7 -0
  741. package/es/core/module/mana-module-context.d.ts.map +1 -0
  742. package/es/core/module/mana-module-context.js +111 -0
  743. package/es/core/module/mana-module.d.ts +21 -0
  744. package/es/core/module/mana-module.d.ts.map +1 -0
  745. package/es/core/module/mana-module.js +71 -0
  746. package/es/core/module/module-protocol.d.ts +10 -0
  747. package/es/core/module/module-protocol.d.ts.map +1 -0
  748. package/es/core/module/module-protocol.js +1 -0
  749. package/es/core/nls.d.ts +19 -0
  750. package/es/core/nls.d.ts.map +1 -0
  751. package/es/core/nls.js +25 -0
  752. package/es/core/selection/index.d.ts +4 -0
  753. package/es/core/selection/index.d.ts.map +1 -0
  754. package/es/core/selection/index.js +4 -0
  755. package/es/core/selection/selection-service.d.ts +13 -0
  756. package/es/core/selection/selection-service.d.ts.map +1 -0
  757. package/es/core/selection/selection-service.js +27 -0
  758. package/es/core/theme/base-variable-registry.d.ts +31 -0
  759. package/es/core/theme/base-variable-registry.d.ts.map +1 -0
  760. package/es/core/theme/base-variable-registry.js +180 -0
  761. package/es/core/theme/basic/antd-variable-contribution.d.ts +6 -0
  762. package/es/core/theme/basic/antd-variable-contribution.d.ts.map +1 -0
  763. package/es/core/theme/basic/antd-variable-contribution.js +667 -0
  764. package/es/core/theme/basic/default-variable-contribution.d.ts +6 -0
  765. package/es/core/theme/basic/default-variable-contribution.d.ts.map +1 -0
  766. package/es/core/theme/basic/default-variable-contribution.js +212 -0
  767. package/es/core/theme/basic/index.d.ts +3 -0
  768. package/es/core/theme/basic/index.d.ts.map +1 -0
  769. package/es/core/theme/basic/index.js +2 -0
  770. package/es/core/theme/basic/variable-protocol.d.ts +7 -0
  771. package/es/core/theme/basic/variable-protocol.d.ts.map +1 -0
  772. package/es/core/theme/basic/variable-protocol.js +2 -0
  773. package/es/core/theme/basic/variable-registry.d.ts +13 -0
  774. package/es/core/theme/basic/variable-registry.d.ts.map +1 -0
  775. package/es/core/theme/basic/variable-registry.js +62 -0
  776. package/es/core/theme/color/antd-color-contribution.d.ts +6 -0
  777. package/es/core/theme/color/antd-color-contribution.d.ts.map +1 -0
  778. package/es/core/theme/color/antd-color-contribution.js +787 -0
  779. package/es/core/theme/color/color-protocol.d.ts +10 -0
  780. package/es/core/theme/color/color-protocol.d.ts.map +1 -0
  781. package/es/core/theme/color/color-protocol.js +2 -0
  782. package/es/core/theme/color/color-registry.d.ts +72 -0
  783. package/es/core/theme/color/color-registry.d.ts.map +1 -0
  784. package/es/core/theme/color/color-registry.js +176 -0
  785. package/es/core/theme/color/color.d.ts +165 -0
  786. package/es/core/theme/color/color.d.ts.map +1 -0
  787. package/es/core/theme/color/color.js +658 -0
  788. package/es/core/theme/color/default-color-contribution.d.ts +6 -0
  789. package/es/core/theme/color/default-color-contribution.d.ts.map +1 -0
  790. package/es/core/theme/color/default-color-contribution.js +550 -0
  791. package/es/core/theme/color/index.d.ts +3 -0
  792. package/es/core/theme/color/index.d.ts.map +1 -0
  793. package/es/core/theme/color/index.js +2 -0
  794. package/es/core/theme/index.d.ts +8 -0
  795. package/es/core/theme/index.d.ts.map +1 -0
  796. package/es/core/theme/index.js +22 -0
  797. package/es/core/theme/protocol.d.ts +16 -0
  798. package/es/core/theme/protocol.d.ts.map +1 -0
  799. package/es/core/theme/protocol.js +1 -0
  800. package/es/core/theme/style/mana-logo.png +0 -0
  801. package/es/core/theme/style/theme-base.less +3 -0
  802. package/es/core/theme/theme-app.d.ts +24 -0
  803. package/es/core/theme/theme-app.d.ts.map +1 -0
  804. package/es/core/theme/theme-app.js +151 -0
  805. package/es/core/theme/theme-service.d.ts +50 -0
  806. package/es/core/theme/theme-service.d.ts.map +1 -0
  807. package/es/core/theme/theme-service.js +181 -0
  808. package/es/core/toolbar/default-toolbar-item.d.ts +38 -0
  809. package/es/core/toolbar/default-toolbar-item.d.ts.map +1 -0
  810. package/es/core/toolbar/default-toolbar-item.js +82 -0
  811. package/es/core/toolbar/index.d.ts +6 -0
  812. package/es/core/toolbar/index.d.ts.map +1 -0
  813. package/es/core/toolbar/index.js +20 -0
  814. package/es/core/toolbar/toolbar-protocol.d.ts +77 -0
  815. package/es/core/toolbar/toolbar-protocol.d.ts.map +1 -0
  816. package/es/core/toolbar/toolbar-protocol.js +32 -0
  817. package/es/core/toolbar/toolbar-registry.d.ts +37 -0
  818. package/es/core/toolbar/toolbar-registry.d.ts.map +1 -0
  819. package/es/core/toolbar/toolbar-registry.js +96 -0
  820. package/es/core/typings/native-keymap.d.ts +72 -0
  821. package/es/core/utils/hooks.d.ts +12 -0
  822. package/es/core/utils/hooks.d.ts.map +1 -0
  823. package/es/core/utils/hooks.js +103 -0
  824. package/es/core/utils/index.d.ts +4 -0
  825. package/es/core/utils/index.d.ts.map +1 -0
  826. package/es/core/utils/index.js +3 -0
  827. package/es/core/utils/lifecycle.d.ts +75 -0
  828. package/es/core/utils/lifecycle.d.ts.map +1 -0
  829. package/es/core/utils/lifecycle.js +350 -0
  830. package/es/core/utils/map.d.ts +148 -0
  831. package/es/core/utils/map.d.ts.map +1 -0
  832. package/es/core/utils/map.js +1196 -0
  833. package/es/core/view/decorator.d.ts +19 -0
  834. package/es/core/view/decorator.d.ts.map +1 -0
  835. package/es/core/view/decorator.js +106 -0
  836. package/es/core/view/default-slot-view.d.ts +48 -0
  837. package/es/core/view/default-slot-view.d.ts.map +1 -0
  838. package/es/core/view/default-slot-view.js +289 -0
  839. package/es/core/view/default-view.d.ts +35 -0
  840. package/es/core/view/default-view.d.ts.map +1 -0
  841. package/es/core/view/default-view.js +90 -0
  842. package/es/core/view/focus-tracker.d.ts +165 -0
  843. package/es/core/view/focus-tracker.d.ts.map +1 -0
  844. package/es/core/view/focus-tracker.js +411 -0
  845. package/es/core/view/hooks.d.ts +8 -0
  846. package/es/core/view/hooks.d.ts.map +1 -0
  847. package/es/core/view/hooks.js +35 -0
  848. package/es/core/view/index.d.ts +23 -0
  849. package/es/core/view/index.d.ts.map +1 -0
  850. package/es/core/view/index.js +22 -0
  851. package/es/core/view/index.less +4 -0
  852. package/es/core/view/module.d.ts +3 -0
  853. package/es/core/view/module.d.ts.map +1 -0
  854. package/es/core/view/module.js +22 -0
  855. package/es/core/view/navigatable-types.d.ts +33 -0
  856. package/es/core/view/navigatable-types.d.ts.map +1 -0
  857. package/es/core/view/navigatable-types.js +34 -0
  858. package/es/core/view/navigatable.d.ts +9 -0
  859. package/es/core/view/navigatable.d.ts.map +1 -0
  860. package/es/core/view/navigatable.js +47 -0
  861. package/es/core/view/open-handler.d.ts +71 -0
  862. package/es/core/view/open-handler.d.ts.map +1 -0
  863. package/es/core/view/open-handler.js +167 -0
  864. package/es/core/view/portal-slot-view.d.ts +21 -0
  865. package/es/core/view/portal-slot-view.d.ts.map +1 -0
  866. package/es/core/view/portal-slot-view.js +157 -0
  867. package/es/core/view/root-view.d.ts +26 -0
  868. package/es/core/view/root-view.d.ts.map +1 -0
  869. package/es/core/view/root-view.js +139 -0
  870. package/es/core/view/saveable.d.ts +40 -0
  871. package/es/core/view/saveable.d.ts.map +1 -0
  872. package/es/core/view/saveable.js +152 -0
  873. package/es/core/view/slot-view-manager.d.ts +57 -0
  874. package/es/core/view/slot-view-manager.d.ts.map +1 -0
  875. package/es/core/view/slot-view-manager.js +321 -0
  876. package/es/core/view/slot.d.ts +11 -0
  877. package/es/core/view/slot.d.ts.map +1 -0
  878. package/es/core/view/slot.js +57 -0
  879. package/es/core/view/stateful-view.d.ts +12 -0
  880. package/es/core/view/stateful-view.d.ts.map +1 -0
  881. package/es/core/view/stateful-view.js +38 -0
  882. package/es/core/view/title.d.ts +13 -0
  883. package/es/core/view/title.d.ts.map +1 -0
  884. package/es/core/view/title.js +48 -0
  885. package/es/core/view/utils.d.ts +15 -0
  886. package/es/core/view/utils.d.ts.map +1 -0
  887. package/es/core/view/utils.js +35 -0
  888. package/es/core/view/view-application.d.ts +18 -0
  889. package/es/core/view/view-application.d.ts.map +1 -0
  890. package/es/core/view/view-application.js +171 -0
  891. package/es/core/view/view-container.d.ts +20 -0
  892. package/es/core/view/view-container.d.ts.map +1 -0
  893. package/es/core/view/view-container.js +82 -0
  894. package/es/core/view/view-context.d.ts +8 -0
  895. package/es/core/view/view-context.d.ts.map +1 -0
  896. package/es/core/view/view-context.js +29 -0
  897. package/es/core/view/view-decoration.d.ts +149 -0
  898. package/es/core/view/view-decoration.d.ts.map +1 -0
  899. package/es/core/view/view-decoration.js +4 -0
  900. package/es/core/view/view-manager.d.ts +66 -0
  901. package/es/core/view/view-manager.d.ts.map +1 -0
  902. package/es/core/view/view-manager.js +434 -0
  903. package/es/core/view/view-meta.d.ts +12 -0
  904. package/es/core/view/view-meta.d.ts.map +1 -0
  905. package/es/core/view/view-meta.js +35 -0
  906. package/es/core/view/view-open-handler.d.ts +76 -0
  907. package/es/core/view/view-open-handler.d.ts.map +1 -0
  908. package/es/core/view/view-open-handler.js +227 -0
  909. package/es/core/view/view-protocol.d.ts +171 -0
  910. package/es/core/view/view-protocol.d.ts.map +1 -0
  911. package/es/core/view/view-protocol.js +58 -0
  912. package/es/core/view/view-render.d.ts +9 -0
  913. package/es/core/view/view-render.d.ts.map +1 -0
  914. package/es/core/view/view-render.js +37 -0
  915. package/es/core/view/view-storage.d.ts +40 -0
  916. package/es/core/view/view-storage.d.ts.map +1 -0
  917. package/es/core/view/view-storage.js +310 -0
  918. package/es/index.js +2 -1
  919. package/es/ioc/container-api.d.ts +9 -0
  920. package/es/ioc/container-api.d.ts.map +1 -0
  921. package/es/ioc/container-api.js +32 -0
  922. package/es/ioc/container.d.ts +37 -0
  923. package/es/ioc/container.d.ts.map +1 -0
  924. package/es/ioc/container.js +191 -0
  925. package/es/ioc/contribution/contribution-protocol.d.ts +24 -0
  926. package/es/ioc/contribution/contribution-protocol.d.ts.map +1 -0
  927. package/es/ioc/contribution/contribution-protocol.js +16 -0
  928. package/es/ioc/contribution/contribution-provider.d.ts +21 -0
  929. package/es/ioc/contribution/contribution-provider.d.ts.map +1 -0
  930. package/es/ioc/contribution/contribution-provider.js +81 -0
  931. package/es/ioc/contribution/contribution-register.d.ts +5 -0
  932. package/es/ioc/contribution/contribution-register.d.ts.map +1 -0
  933. package/es/ioc/contribution/contribution-register.js +27 -0
  934. package/es/ioc/contribution/decorator.d.ts +3 -0
  935. package/es/ioc/contribution/decorator.d.ts.map +1 -0
  936. package/es/ioc/contribution/decorator.js +8 -0
  937. package/es/ioc/contribution/index.d.ts +12 -0
  938. package/es/ioc/contribution/index.d.ts.map +1 -0
  939. package/es/ioc/contribution/index.js +10 -0
  940. package/es/ioc/core.d.ts +105 -0
  941. package/es/ioc/core.d.ts.map +1 -0
  942. package/es/ioc/core.js +104 -0
  943. package/es/ioc/decorator.d.ts +9 -0
  944. package/es/ioc/decorator.d.ts.map +1 -0
  945. package/es/ioc/decorator.js +56 -0
  946. package/es/ioc/features/auto-factory.d.ts +8 -0
  947. package/es/ioc/features/auto-factory.d.ts.map +1 -0
  948. package/es/ioc/features/auto-factory.js +34 -0
  949. package/es/ioc/features/prioritized-contribution.d.ts +12 -0
  950. package/es/ioc/features/prioritized-contribution.d.ts.map +1 -0
  951. package/es/ioc/features/prioritized-contribution.js +40 -0
  952. package/es/ioc/index.d.ts +9 -0
  953. package/es/ioc/index.d.ts.map +1 -0
  954. package/es/ioc/index.js +8 -0
  955. package/es/ioc/inversify-api/index.d.ts +15 -0
  956. package/es/ioc/inversify-api/index.d.ts.map +1 -0
  957. package/es/ioc/inversify-api/index.js +48 -0
  958. package/es/ioc/inversify-api/inversify-protocol.d.ts +13 -0
  959. package/es/ioc/inversify-api/inversify-protocol.d.ts.map +1 -0
  960. package/es/ioc/inversify-api/inversify-protocol.js +7 -0
  961. package/es/ioc/module/index.d.ts +4 -0
  962. package/es/ioc/module/index.d.ts.map +1 -0
  963. package/es/ioc/module/index.js +5 -0
  964. package/es/ioc/module/syringe-module.d.ts +29 -0
  965. package/es/ioc/module/syringe-module.d.ts.map +1 -0
  966. package/es/ioc/module/syringe-module.js +110 -0
  967. package/es/ioc/register.d.ts +33 -0
  968. package/es/ioc/register.d.ts.map +1 -0
  969. package/es/ioc/register.js +194 -0
  970. package/es/ioc/side-option.d.ts +4 -0
  971. package/es/ioc/side-option.d.ts.map +1 -0
  972. package/es/ioc/side-option.js +4 -0
  973. package/es/l10n/index.d.ts +3 -0
  974. package/es/l10n/index.d.ts.map +1 -0
  975. package/es/l10n/index.js +2 -0
  976. package/es/l10n/l10n/index.d.ts +144 -0
  977. package/es/l10n/l10n/index.d.ts.map +1 -0
  978. package/es/l10n/l10n/index.js +269 -0
  979. package/es/l10n/l10n/platform.d.ts +3 -0
  980. package/es/l10n/l10n/platform.d.ts.map +1 -0
  981. package/es/l10n/l10n/platform.js +20 -0
  982. package/es/l10n/lang/bundle.l10n.en-US.json +5 -0
  983. package/es/l10n/lang/bundle.l10n.zh-CN.json +5 -0
  984. package/es/l10n/lang/index.d.ts +3 -0
  985. package/es/l10n/lang/index.d.ts.map +1 -0
  986. package/es/l10n/lang/index.js +6 -0
  987. package/es/observable/async-event.d.ts +28 -0
  988. package/es/observable/async-event.d.ts.map +1 -0
  989. package/es/observable/async-event.js +158 -0
  990. package/es/observable/config.d.ts +10 -0
  991. package/es/observable/config.d.ts.map +1 -0
  992. package/es/observable/config.js +58 -0
  993. package/es/observable/context.d.ts +15 -0
  994. package/es/observable/context.d.ts.map +1 -0
  995. package/es/observable/context.js +44 -0
  996. package/es/observable/core.d.ts +24 -0
  997. package/es/observable/core.d.ts.map +1 -0
  998. package/es/observable/core.js +11 -0
  999. package/es/observable/decorator.d.ts +9 -0
  1000. package/es/observable/decorator.d.ts.map +1 -0
  1001. package/es/observable/decorator.js +19 -0
  1002. package/es/observable/hooks.d.ts +6 -0
  1003. package/es/observable/hooks.d.ts.map +1 -0
  1004. package/es/observable/hooks.js +44 -0
  1005. package/es/observable/index.d.ts +12 -0
  1006. package/es/observable/index.d.ts.map +1 -0
  1007. package/es/observable/index.js +11 -0
  1008. package/es/observable/notifiable.d.ts +19 -0
  1009. package/es/observable/notifiable.d.ts.map +1 -0
  1010. package/es/observable/notifiable.js +198 -0
  1011. package/es/observable/notifier.d.ts +33 -0
  1012. package/es/observable/notifier.d.ts.map +1 -0
  1013. package/es/observable/notifier.js +154 -0
  1014. package/es/observable/observable.d.ts +3 -0
  1015. package/es/observable/observable.d.ts.map +1 -0
  1016. package/es/observable/observable.js +87 -0
  1017. package/es/observable/tracker.d.ts +27 -0
  1018. package/es/observable/tracker.d.ts.map +1 -0
  1019. package/es/observable/tracker.js +225 -0
  1020. package/es/observable/utils.d.ts +31 -0
  1021. package/es/observable/utils.d.ts.map +1 -0
  1022. package/es/observable/utils.js +139 -0
  1023. package/es/observable/watch.d.ts +5 -0
  1024. package/es/observable/watch.d.ts.map +1 -0
  1025. package/es/observable/watch.js +56 -0
  1026. package/es/polling/poll.d.ts +3 -3
  1027. package/es/polling/poll.d.ts.map +1 -1
  1028. package/es/polling/poll.js +1 -1
  1029. package/es/polling/protocol.d.ts +1 -1
  1030. package/es/polling/protocol.d.ts.map +1 -1
  1031. package/es/protocol/cell-protocol.d.ts +1 -1
  1032. package/es/protocol/cell-protocol.d.ts.map +1 -1
  1033. package/es/protocol/cell-protocol.js +1 -1
  1034. package/es/react/constant.d.ts +2 -0
  1035. package/es/react/constant.d.ts.map +1 -0
  1036. package/es/react/constant.js +1 -0
  1037. package/es/react/dropdown/index.d.ts +23 -0
  1038. package/es/react/dropdown/index.d.ts.map +1 -0
  1039. package/es/react/dropdown/index.js +53 -0
  1040. package/es/react/dropdown/styles/index.less +121 -0
  1041. package/es/react/index.d.ts +8 -0
  1042. package/es/react/index.d.ts.map +1 -0
  1043. package/es/react/index.js +7 -0
  1044. package/es/react/layout/boxpanel/Pane.d.ts +13 -0
  1045. package/es/react/layout/boxpanel/Pane.d.ts.map +1 -0
  1046. package/es/react/layout/boxpanel/Pane.js +37 -0
  1047. package/es/react/layout/boxpanel/context.d.ts +8 -0
  1048. package/es/react/layout/boxpanel/context.d.ts.map +1 -0
  1049. package/es/react/layout/boxpanel/context.js +4 -0
  1050. package/es/react/layout/boxpanel/index.d.ts +19 -0
  1051. package/es/react/layout/boxpanel/index.d.ts.map +1 -0
  1052. package/es/react/layout/boxpanel/index.js +46 -0
  1053. package/es/react/layout/boxpanel/styles/index.less +14 -0
  1054. package/es/react/layout/layout.d.ts +12 -0
  1055. package/es/react/layout/layout.d.ts.map +1 -0
  1056. package/es/react/layout/layout.js +68 -0
  1057. package/es/react/layout/splitpanel/context.d.ts +15 -0
  1058. package/es/react/layout/splitpanel/context.d.ts.map +1 -0
  1059. package/es/react/layout/splitpanel/context.js +24 -0
  1060. package/es/react/layout/splitpanel/index.d.ts +23 -0
  1061. package/es/react/layout/splitpanel/index.d.ts.map +1 -0
  1062. package/es/react/layout/splitpanel/index.js +287 -0
  1063. package/es/react/layout/splitpanel/pane.d.ts +18 -0
  1064. package/es/react/layout/splitpanel/pane.d.ts.map +1 -0
  1065. package/es/react/layout/splitpanel/pane.js +8 -0
  1066. package/es/react/layout/splitpanel/styles/index.less +10 -0
  1067. package/es/react/menu/context.d.ts +8 -0
  1068. package/es/react/menu/context.d.ts.map +1 -0
  1069. package/es/react/menu/context.js +4 -0
  1070. package/es/react/menu/divider.d.ts +3 -0
  1071. package/es/react/menu/divider.d.ts.map +1 -0
  1072. package/es/react/menu/divider.js +10 -0
  1073. package/es/react/menu/index.d.ts +4 -0
  1074. package/es/react/menu/index.d.ts.map +1 -0
  1075. package/es/react/menu/index.js +3 -0
  1076. package/es/react/menu/item.d.ts +19 -0
  1077. package/es/react/menu/item.d.ts.map +1 -0
  1078. package/es/react/menu/item.js +69 -0
  1079. package/es/react/menu/menu.d.ts +17 -0
  1080. package/es/react/menu/menu.d.ts.map +1 -0
  1081. package/es/react/menu/menu.js +35 -0
  1082. package/es/react/menu/styles/index.less +163 -0
  1083. package/es/react/menu/submenu.d.ts +5 -0
  1084. package/es/react/menu/submenu.d.ts.map +1 -0
  1085. package/es/react/menu/submenu.js +33 -0
  1086. package/es/react/menubar/context.d.ts +14 -0
  1087. package/es/react/menubar/context.d.ts.map +1 -0
  1088. package/es/react/menubar/context.js +2 -0
  1089. package/es/react/menubar/index.d.ts +2 -0
  1090. package/es/react/menubar/index.d.ts.map +1 -0
  1091. package/es/react/menubar/index.js +1 -0
  1092. package/es/react/menubar/item.d.ts +8 -0
  1093. package/es/react/menubar/item.d.ts.map +1 -0
  1094. package/es/react/menubar/item.js +94 -0
  1095. package/es/react/menubar/menubar.d.ts +15 -0
  1096. package/es/react/menubar/menubar.d.ts.map +1 -0
  1097. package/es/react/menubar/menubar.js +119 -0
  1098. package/es/react/menubar/styles/index.less +113 -0
  1099. package/es/react/notification/index.d.ts +20 -0
  1100. package/es/react/notification/index.d.ts.map +1 -0
  1101. package/es/react/notification/index.js +154 -0
  1102. package/es/react/notification/protocol.d.ts +111 -0
  1103. package/es/react/notification/protocol.d.ts.map +1 -0
  1104. package/es/react/notification/protocol.js +61 -0
  1105. package/es/react/notification/pure-panel.d.ts +28 -0
  1106. package/es/react/notification/pure-panel.d.ts.map +1 -0
  1107. package/es/react/notification/pure-panel.js +115 -0
  1108. package/es/react/notification/render.d.ts +10 -0
  1109. package/es/react/notification/render.d.ts.map +1 -0
  1110. package/es/react/notification/render.js +101 -0
  1111. package/es/react/notification/style/index.d.ts +2 -0
  1112. package/es/react/notification/style/index.d.ts.map +1 -0
  1113. package/es/react/notification/style/index.js +1 -0
  1114. package/es/react/notification/style/index.less +192 -0
  1115. package/es/react/notification/style/placement.less +68 -0
  1116. package/es/react/notification/use-notification.d.ts +9 -0
  1117. package/es/react/notification/use-notification.d.ts.map +1 -0
  1118. package/es/react/notification/use-notification.js +173 -0
  1119. package/es/react/resize/index.d.ts +41 -0
  1120. package/es/react/resize/index.d.ts.map +1 -0
  1121. package/es/react/resize/index.js +640 -0
  1122. package/es/react/resize/styles/index.less +83 -0
  1123. package/es/react/styles/variables.less +2 -0
  1124. package/es/react/tabs/index.d.ts +19 -0
  1125. package/es/react/tabs/index.d.ts.map +1 -0
  1126. package/es/react/tabs/index.js +51 -0
  1127. package/es/react/tabs/styles/card.less +111 -0
  1128. package/es/react/tabs/styles/dropdown.less +70 -0
  1129. package/es/react/tabs/styles/index.less +231 -0
  1130. package/es/react/tabs/styles/position.less +217 -0
  1131. package/es/react/typings/index.d.ts +5 -0
  1132. package/es/react/util.d.ts +2 -0
  1133. package/es/react/util.d.ts.map +1 -0
  1134. package/es/react/util.js +4 -0
  1135. package/es/url.js +1 -1
  1136. package/package.json +55 -11
  1137. package/src/app/app.tsx +23 -0
  1138. package/src/app/file-tree/file-selection.ts +33 -0
  1139. package/src/app/file-tree/file-service.ts +67 -0
  1140. package/src/app/file-tree/file-tree-component.tsx +11 -0
  1141. package/src/app/file-tree/file-tree-icon.tsx +15 -0
  1142. package/src/app/file-tree/file-tree-label-provider.ts +54 -0
  1143. package/src/app/file-tree/file-tree-model.ts +240 -0
  1144. package/src/app/file-tree/file-tree-protocol.ts +35 -0
  1145. package/src/app/file-tree/file-tree-view.tsx +340 -0
  1146. package/src/app/file-tree/file-tree.ts +193 -0
  1147. package/src/app/file-tree/files.ts +990 -0
  1148. package/src/app/file-tree/filesystem-utils.ts +32 -0
  1149. package/src/app/file-tree/index.ts +6 -0
  1150. package/src/app/file-tree/module.ts +21 -0
  1151. package/src/app/file-tree/selection-command-handler.ts +101 -0
  1152. package/src/app/file-tree/style/file-icon.less +51 -0
  1153. package/src/app/index.spec.ts +20 -0
  1154. package/src/app/index.ts +37 -0
  1155. package/src/app/label/index.ts +12 -0
  1156. package/src/app/label/label-provider.tsx +454 -0
  1157. package/src/app/menu/index.ts +24 -0
  1158. package/src/app/menu/menu-bar-render.tsx +52 -0
  1159. package/src/app/menu/menu-color-registry.ts +52 -0
  1160. package/src/app/menu/menu-context.tsx +16 -0
  1161. package/src/app/menu/menu-item-keeper.tsx +55 -0
  1162. package/src/app/menu/menu-item-render.tsx +15 -0
  1163. package/src/app/menu/menu-protocol.ts +22 -0
  1164. package/src/app/menu/menu-render.tsx +92 -0
  1165. package/src/app/menu/menu.tsx +212 -0
  1166. package/src/app/modal/index.ts +29 -0
  1167. package/src/app/modal/modal-contribution.ts +13 -0
  1168. package/src/app/modal/modal-protocol.tsx +30 -0
  1169. package/src/app/modal/modal-render.tsx +22 -0
  1170. package/src/app/modal/modal-service.ts +166 -0
  1171. package/src/app/notification/index.less +20 -0
  1172. package/src/app/notification/index.ts +8 -0
  1173. package/src/app/notification/protocol.ts +16 -0
  1174. package/src/app/notification/service.tsx +60 -0
  1175. package/src/app/style/index.less +181 -0
  1176. package/src/app/style/style-protocol.ts +13 -0
  1177. package/src/app/toolbar/index.less +40 -0
  1178. package/src/app/toolbar/index.ts +20 -0
  1179. package/src/app/toolbar/toolbar-item-keeper.tsx +45 -0
  1180. package/src/app/toolbar/toolbar-item-render.tsx +23 -0
  1181. package/src/app/toolbar/toolbar-protocol.ts +10 -0
  1182. package/src/app/toolbar/toolbar-render.tsx +102 -0
  1183. package/src/app/toolbar/toolbar-visible-render.tsx +21 -0
  1184. package/src/app/toolbar/toolbar.tsx +241 -0
  1185. package/src/app/tree/components/index.tsx +22 -0
  1186. package/src/app/tree/components/tree-ident.tsx +44 -0
  1187. package/src/app/tree/components/tree-node-caption-affix.tsx +47 -0
  1188. package/src/app/tree/components/tree-node-caption.tsx +128 -0
  1189. package/src/app/tree/components/tree-node-expansion.tsx +36 -0
  1190. package/src/app/tree/components/tree-node-icon-decorator.tsx +75 -0
  1191. package/src/app/tree/components/tree-node-icon.tsx +3 -0
  1192. package/src/app/tree/components/tree-node-tail-decoration.tsx +59 -0
  1193. package/src/app/tree/components/tree-node.tsx +38 -0
  1194. package/src/app/tree/components/tree-switch-icon.tsx +13 -0
  1195. package/src/app/tree/index.ts +15 -0
  1196. package/src/app/tree/module.ts +30 -0
  1197. package/src/app/tree/style/index.less +206 -0
  1198. package/src/app/tree/style/tree-decorator.less +65 -0
  1199. package/src/app/tree/tree-decorator.ts +216 -0
  1200. package/src/app/tree/tree-expansion.ts +162 -0
  1201. package/src/app/tree/tree-impl.ts +182 -0
  1202. package/src/app/tree/tree-iterator.ts +243 -0
  1203. package/src/app/tree/tree-label-provider.ts +23 -0
  1204. package/src/app/tree/tree-model.ts +468 -0
  1205. package/src/app/tree/tree-navigation.ts +41 -0
  1206. package/src/app/tree/tree-protocol.ts +77 -0
  1207. package/src/app/tree/tree-selection-impl.ts +169 -0
  1208. package/src/app/tree/tree-selection-state.ts +271 -0
  1209. package/src/app/tree/tree-selection.ts +138 -0
  1210. package/src/app/tree/tree-view-decoration.ts +349 -0
  1211. package/src/app/tree/tree.ts +288 -0
  1212. package/src/app/tree/view/index.less +3 -0
  1213. package/src/app/tree/view/index.ts +3 -0
  1214. package/src/app/tree/view/tree-view-decorator.ts +91 -0
  1215. package/src/app/tree/view/tree-view-module.ts +16 -0
  1216. package/src/app/tree/view/tree-view-selection.ts +33 -0
  1217. package/src/app/tree/view/tree-view.tsx +925 -0
  1218. package/src/app/typings/index.d.ts +7 -0
  1219. package/src/app/view/box/index.tsx +66 -0
  1220. package/src/app/view/components/index.ts +1 -0
  1221. package/src/app/view/components/loading/index.less +10 -0
  1222. package/src/app/view/components/loading/index.tsx +4 -0
  1223. package/src/app/view/flex/index.less +3 -0
  1224. package/src/app/view/flex/index.tsx +57 -0
  1225. package/src/app/view/header/header-view.tsx +35 -0
  1226. package/src/app/view/header/index.less +43 -0
  1227. package/src/app/view/header/index.ts +24 -0
  1228. package/src/app/view/index.ts +15 -0
  1229. package/src/app/view/tab/card-tab-view.tsx +34 -0
  1230. package/src/app/view/tab/index.less +70 -0
  1231. package/src/app/view/tab/index.ts +3 -0
  1232. package/src/app/view/tab/side-tab-view.tsx +95 -0
  1233. package/src/app/view/tab/tab-menu.ts +24 -0
  1234. package/src/app/view/tab/tab-protocol.ts +3 -0
  1235. package/src/app/view/tab/tab-view.tsx +153 -0
  1236. package/src/common/assert.ts +13 -0
  1237. package/src/common/cancellation.spec.ts +160 -0
  1238. package/src/common/cancellation.ts +143 -0
  1239. package/src/common/charCode.ts +434 -0
  1240. package/src/common/collections.ts +158 -0
  1241. package/src/common/deferred.ts +17 -0
  1242. package/src/common/disposable-collection.ts +87 -0
  1243. package/src/common/disposable.spec.ts +93 -0
  1244. package/src/common/disposable.ts +41 -0
  1245. package/src/common/event.spec.ts +182 -0
  1246. package/src/common/event.ts +249 -0
  1247. package/src/common/index.ts +27 -0
  1248. package/src/common/iterator.ts +228 -0
  1249. package/src/common/linkedList.ts +125 -0
  1250. package/src/common/objects.ts +249 -0
  1251. package/src/common/observable-disposable.ts +12 -0
  1252. package/src/common/path.spec.ts +33 -0
  1253. package/src/common/path.ts +226 -0
  1254. package/src/common/platform.ts +281 -0
  1255. package/src/common/priority.ts +79 -0
  1256. package/src/common/promise-util.spec.ts +68 -0
  1257. package/src/common/promise-util.ts +34 -0
  1258. package/src/common/stopwatch.ts +40 -0
  1259. package/src/common/strings.ts +513 -0
  1260. package/src/common/types.spec.ts +16 -0
  1261. package/src/common/types.ts +30 -0
  1262. package/src/common/uint.ts +59 -0
  1263. package/src/common/uri.spec.ts +73 -0
  1264. package/src/common/uri.ts +208 -0
  1265. package/src/common/utils.spec.ts +22 -0
  1266. package/src/common/utils.ts +35 -0
  1267. package/src/common/valueTypes.ts +311 -0
  1268. package/src/common/vscode-uri/char-code.ts +438 -0
  1269. package/src/common/vscode-uri/index.ts +11 -0
  1270. package/src/common/vscode-uri/platform.ts +20 -0
  1271. package/src/common/vscode-uri/uri.ts +757 -0
  1272. package/src/common/vscode-uri/utils.ts +101 -0
  1273. package/src/common/wait-until-event.spec.ts +70 -0
  1274. package/src/common/wait-until-event.ts +49 -0
  1275. package/src/core/application/application-protocol.ts +20 -0
  1276. package/src/core/application/application-state.ts +68 -0
  1277. package/src/core/application/application.ts +294 -0
  1278. package/src/core/application/default-window-service.ts +66 -0
  1279. package/src/core/application/index.ts +12 -0
  1280. package/src/core/application/mock-window-service.ts +17 -0
  1281. package/src/core/browser.ts +144 -0
  1282. package/src/core/command/command-protocol.ts +152 -0
  1283. package/src/core/command/command-registry.ts +432 -0
  1284. package/src/core/command/index.ts +10 -0
  1285. package/src/core/common/debug.ts +6 -0
  1286. package/src/core/common/index.ts +23 -0
  1287. package/src/core/common/storage-protocol.ts +25 -0
  1288. package/src/core/common/storage-service.ts +81 -0
  1289. package/src/core/components/application.tsx +144 -0
  1290. package/src/core/components/context.tsx +67 -0
  1291. package/src/core/components/hooks.tsx +23 -0
  1292. package/src/core/components/index.less +28 -0
  1293. package/src/core/components/index.tsx +10 -0
  1294. package/src/core/components/root-view-render.tsx +13 -0
  1295. package/src/core/configuration/configuration-cache.ts +50 -0
  1296. package/src/core/configuration/configuration-protocol.ts +55 -0
  1297. package/src/core/configuration/configuration-provider.ts +105 -0
  1298. package/src/core/configuration/configuration-registry.ts +237 -0
  1299. package/src/core/configuration/configuration-render-registry.ts +93 -0
  1300. package/src/core/configuration/configuration-service.ts +190 -0
  1301. package/src/core/configuration/configuration-storage.ts +26 -0
  1302. package/src/core/configuration/configuration.test.ts +7 -0
  1303. package/src/core/configuration/hooks.ts +39 -0
  1304. package/src/core/configuration/index.ts +10 -0
  1305. package/src/core/configuration/module.ts +34 -0
  1306. package/src/core/configuration/typings.d.ts +1 -0
  1307. package/src/core/configuration/validation.ts +33 -0
  1308. package/src/core/context/data-context-manager.ts +65 -0
  1309. package/src/core/context/data-context-protocol.ts +21 -0
  1310. package/src/core/context/data-context.tsx +40 -0
  1311. package/src/core/context/index.ts +15 -0
  1312. package/src/core/index.spec.ts +14 -0
  1313. package/src/core/index.ts +57 -0
  1314. package/src/core/keybinding/context-key-service.ts +77 -0
  1315. package/src/core/keybinding/index.ts +5 -0
  1316. package/src/core/keybinding/keybinding-proocol.ts +15 -0
  1317. package/src/core/keybinding/keybinding.ts +857 -0
  1318. package/src/core/keybinding/module.ts +23 -0
  1319. package/src/core/keybinding/vs/configuration/configuration.ts +460 -0
  1320. package/src/core/keybinding/vs/configuration/configurationModels.ts +962 -0
  1321. package/src/core/keybinding/vs/configuration/configurationRegistry.ts +617 -0
  1322. package/src/core/keybinding/vs/configuration/configurationService.ts +172 -0
  1323. package/src/core/keybinding/vs/configuration/json.ts +1509 -0
  1324. package/src/core/keybinding/vs/contextKeyService.ts +694 -0
  1325. package/src/core/keybinding/vs/contextkey.ts +1494 -0
  1326. package/src/core/keybinding/vs/contextkeys.ts +52 -0
  1327. package/src/core/keybinding/vs/jsonContributionRegistry.ts +74 -0
  1328. package/src/core/keybinding/vs/jsonSchema.ts +85 -0
  1329. package/src/core/keybinding/vs/platform.test.ts +50 -0
  1330. package/src/core/keybinding/vs/platform.ts +50 -0
  1331. package/src/core/keyboard/browser-keyboard-layout-provider.ts +455 -0
  1332. package/src/core/keyboard/index.ts +4 -0
  1333. package/src/core/keyboard/keyboard-layout-service.ts +490 -0
  1334. package/src/core/keyboard/keyboard-protocol.ts +34 -0
  1335. package/src/core/keyboard/keys.ts +787 -0
  1336. package/src/core/keyboard/layouts/cs-Czech-mac.json +1 -0
  1337. package/src/core/keyboard/layouts/cs-Czech-mac.ts +53 -0
  1338. package/src/core/keyboard/layouts/cs-Czech-pc.json +1 -0
  1339. package/src/core/keyboard/layouts/cs-Czech-pc.ts +55 -0
  1340. package/src/core/keyboard/layouts/da-Danish-mac.json +1 -0
  1341. package/src/core/keyboard/layouts/da-Danish-mac.ts +53 -0
  1342. package/src/core/keyboard/layouts/da-Danish-pc.json +1 -0
  1343. package/src/core/keyboard/layouts/da-Danish-pc.ts +55 -0
  1344. package/src/core/keyboard/layouts/de-German-mac.json +1 -0
  1345. package/src/core/keyboard/layouts/de-German-mac.ts +53 -0
  1346. package/src/core/keyboard/layouts/de-German-pc.json +1 -0
  1347. package/src/core/keyboard/layouts/de-German-pc.ts +61 -0
  1348. package/src/core/keyboard/layouts/de-Swiss_German-mac.json +1 -0
  1349. package/src/core/keyboard/layouts/de-Swiss_German-mac.ts +53 -0
  1350. package/src/core/keyboard/layouts/de-Swiss_German-pc.json +1 -0
  1351. package/src/core/keyboard/layouts/de-Swiss_German-pc.ts +55 -0
  1352. package/src/core/keyboard/layouts/en-British-mac.json +1 -0
  1353. package/src/core/keyboard/layouts/en-British-mac.ts +53 -0
  1354. package/src/core/keyboard/layouts/en-British-pc.json +1 -0
  1355. package/src/core/keyboard/layouts/en-British-pc.ts +91 -0
  1356. package/src/core/keyboard/layouts/en-Colemak-mac.json +1 -0
  1357. package/src/core/keyboard/layouts/en-Colemak-mac.ts +53 -0
  1358. package/src/core/keyboard/layouts/en-Dvorak-mac.json +1 -0
  1359. package/src/core/keyboard/layouts/en-Dvorak-mac.ts +53 -0
  1360. package/src/core/keyboard/layouts/en-Dvorak-pc.json +1 -0
  1361. package/src/core/keyboard/layouts/en-Dvorak-pc.ts +55 -0
  1362. package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.json +1 -0
  1363. package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-mac.ts +53 -0
  1364. package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.json +1 -0
  1365. package/src/core/keyboard/layouts/en-Dvorak_Lefthanded-pc.ts +55 -0
  1366. package/src/core/keyboard/layouts/en-Dvorak_Righthanded-mac.json +1 -0
  1367. package/src/core/keyboard/layouts/en-Dvorak_Righthanded-mac.ts +53 -0
  1368. package/src/core/keyboard/layouts/en-Dvorak_Righthanded-pc.json +1 -0
  1369. package/src/core/keyboard/layouts/en-Dvorak_Righthanded-pc.ts +55 -0
  1370. package/src/core/keyboard/layouts/en-US-mac.json +1 -0
  1371. package/src/core/keyboard/layouts/en-US-mac.ts +53 -0
  1372. package/src/core/keyboard/layouts/en-US-pc.json +1 -0
  1373. package/src/core/keyboard/layouts/en-US-pc.ts +55 -0
  1374. package/src/core/keyboard/layouts/es-Spanish-mac.json +1 -0
  1375. package/src/core/keyboard/layouts/es-Spanish-mac.ts +53 -0
  1376. package/src/core/keyboard/layouts/es-Spanish-pc.json +1 -0
  1377. package/src/core/keyboard/layouts/es-Spanish-pc.ts +55 -0
  1378. package/src/core/keyboard/layouts/fr-Bepo-pc.json +1 -0
  1379. package/src/core/keyboard/layouts/fr-Bepo-pc.ts +289 -0
  1380. package/src/core/keyboard/layouts/fr-Canadian_French-mac.json +1 -0
  1381. package/src/core/keyboard/layouts/fr-Canadian_French-mac.ts +53 -0
  1382. package/src/core/keyboard/layouts/fr-Canadian_French-pc.json +1 -0
  1383. package/src/core/keyboard/layouts/fr-Canadian_French-pc.ts +55 -0
  1384. package/src/core/keyboard/layouts/fr-French-mac.json +1 -0
  1385. package/src/core/keyboard/layouts/fr-French-mac.ts +53 -0
  1386. package/src/core/keyboard/layouts/fr-French-pc.json +1 -0
  1387. package/src/core/keyboard/layouts/fr-French-pc.ts +55 -0
  1388. package/src/core/keyboard/layouts/fr-Swiss_French-mac.json +1 -0
  1389. package/src/core/keyboard/layouts/fr-Swiss_French-mac.ts +53 -0
  1390. package/src/core/keyboard/layouts/fr-Swiss_French-pc.json +1 -0
  1391. package/src/core/keyboard/layouts/fr-Swiss_French-pc.ts +55 -0
  1392. package/src/core/keyboard/layouts/hu-Hungarian-mac.json +1 -0
  1393. package/src/core/keyboard/layouts/hu-Hungarian-mac.ts +53 -0
  1394. package/src/core/keyboard/layouts/hu-Hungarian-pc.json +1 -0
  1395. package/src/core/keyboard/layouts/hu-Hungarian-pc.ts +55 -0
  1396. package/src/core/keyboard/layouts/index.ts +59 -0
  1397. package/src/core/keyboard/layouts/it-Italian-mac.json +1 -0
  1398. package/src/core/keyboard/layouts/it-Italian-mac.ts +53 -0
  1399. package/src/core/keyboard/layouts/it-Italian-pc.json +1 -0
  1400. package/src/core/keyboard/layouts/it-Italian-pc.ts +67 -0
  1401. package/src/core/keyboard/layouts/nb-Norwegian-mac.json +1 -0
  1402. package/src/core/keyboard/layouts/nb-Norwegian-mac.ts +53 -0
  1403. package/src/core/keyboard/layouts/nb-Norwegian-pc.json +1 -0
  1404. package/src/core/keyboard/layouts/nb-Norwegian-pc.ts +55 -0
  1405. package/src/core/keyboard/layouts/nl-Dutch-mac.json +1 -0
  1406. package/src/core/keyboard/layouts/nl-Dutch-mac.ts +53 -0
  1407. package/src/core/keyboard/layouts/nl-Dutch-pc.json +1 -0
  1408. package/src/core/keyboard/layouts/nl-Dutch-pc.ts +55 -0
  1409. package/src/core/keyboard/layouts/pl-Polish-mac.json +1 -0
  1410. package/src/core/keyboard/layouts/pl-Polish-mac.ts +53 -0
  1411. package/src/core/keyboard/layouts/pl-Polish-pc.json +1 -0
  1412. package/src/core/keyboard/layouts/pl-Polish-pc.ts +55 -0
  1413. package/src/core/keyboard/layouts/pt-Brazilian-mac.json +1 -0
  1414. package/src/core/keyboard/layouts/pt-Brazilian-mac.ts +53 -0
  1415. package/src/core/keyboard/layouts/pt-Portuguese-mac.json +1 -0
  1416. package/src/core/keyboard/layouts/pt-Portuguese-mac.ts +53 -0
  1417. package/src/core/keyboard/layouts/pt-Portuguese-pc.json +65 -0
  1418. package/src/core/keyboard/layouts/pt-Portuguese-pc.ts +55 -0
  1419. package/src/core/keyboard/layouts/ro-Romanian-mac.json +1 -0
  1420. package/src/core/keyboard/layouts/ro-Romanian-mac.ts +53 -0
  1421. package/src/core/keyboard/layouts/ro-Romanian-pc.json +1 -0
  1422. package/src/core/keyboard/layouts/ro-Romanian-pc.ts +127 -0
  1423. package/src/core/keyboard/layouts/sv-Swedish-mac.json +1 -0
  1424. package/src/core/keyboard/layouts/sv-Swedish-mac.ts +53 -0
  1425. package/src/core/keyboard/layouts/sv-Swedish-pc.json +1 -0
  1426. package/src/core/keyboard/layouts/sv-Swedish-pc.ts +55 -0
  1427. package/src/core/keyboard/layouts/tr-Turkish_Q-mac.json +1 -0
  1428. package/src/core/keyboard/layouts/tr-Turkish_Q-mac.ts +53 -0
  1429. package/src/core/keyboard/layouts/tr-Turkish_Q-pc.json +1 -0
  1430. package/src/core/keyboard/layouts/tr-Turkish_Q-pc.ts +67 -0
  1431. package/src/core/menu/default-menu-node.ts +210 -0
  1432. package/src/core/menu/index.ts +39 -0
  1433. package/src/core/menu/menu-protocol.ts +142 -0
  1434. package/src/core/menu/menu-registry.ts +271 -0
  1435. package/src/core/menu/module.ts +32 -0
  1436. package/src/core/module/index.ts +3 -0
  1437. package/src/core/module/mana-module-context.ts +40 -0
  1438. package/src/core/module/mana-module.test.ts +161 -0
  1439. package/src/core/module/mana-module.ts +44 -0
  1440. package/src/core/module/module-protocol.ts +12 -0
  1441. package/src/core/nls.ts +46 -0
  1442. package/src/core/selection/index.ts +7 -0
  1443. package/src/core/selection/selection-service.ts +26 -0
  1444. package/src/core/theme/base-variable-registry.ts +132 -0
  1445. package/src/core/theme/basic/antd-variable-contribution.ts +849 -0
  1446. package/src/core/theme/basic/default-variable-contribution.ts +163 -0
  1447. package/src/core/theme/basic/index.spec.ts +16 -0
  1448. package/src/core/theme/basic/index.ts +2 -0
  1449. package/src/core/theme/basic/variable-protocol.ts +8 -0
  1450. package/src/core/theme/basic/variable-registry.ts +23 -0
  1451. package/src/core/theme/color/antd-color-contribution.ts +994 -0
  1452. package/src/core/theme/color/color-protocol.ts +12 -0
  1453. package/src/core/theme/color/color-registry.ts +140 -0
  1454. package/src/core/theme/color/color.ts +695 -0
  1455. package/src/core/theme/color/default-color-contribution.ts +502 -0
  1456. package/src/core/theme/color/index.spec.ts +33 -0
  1457. package/src/core/theme/color/index.ts +2 -0
  1458. package/src/core/theme/index.spec.ts +17 -0
  1459. package/src/core/theme/index.ts +37 -0
  1460. package/src/core/theme/protocol.ts +19 -0
  1461. package/src/core/theme/style/mana-logo.png +0 -0
  1462. package/src/core/theme/style/theme-base.less +3 -0
  1463. package/src/core/theme/theme-app.ts +80 -0
  1464. package/src/core/theme/theme-service.ts +170 -0
  1465. package/src/core/toolbar/default-toolbar-item.ts +80 -0
  1466. package/src/core/toolbar/index.ts +23 -0
  1467. package/src/core/toolbar/toolbar-protocol.ts +112 -0
  1468. package/src/core/toolbar/toolbar-registry.ts +77 -0
  1469. package/src/core/typings/native-keymap.d.ts +72 -0
  1470. package/src/core/utils/hooks.ts +108 -0
  1471. package/src/core/utils/index.ts +3 -0
  1472. package/src/core/utils/lifecycle.ts +335 -0
  1473. package/src/core/utils/map.ts +1020 -0
  1474. package/src/core/view/decorator.ts +87 -0
  1475. package/src/core/view/default-slot-view.tsx +231 -0
  1476. package/src/core/view/default-view.tsx +70 -0
  1477. package/src/core/view/focus-tracker.ts +363 -0
  1478. package/src/core/view/hooks.tsx +40 -0
  1479. package/src/core/view/index.less +4 -0
  1480. package/src/core/view/index.ts +22 -0
  1481. package/src/core/view/module.ts +41 -0
  1482. package/src/core/view/navigatable-types.ts +49 -0
  1483. package/src/core/view/navigatable.ts +29 -0
  1484. package/src/core/view/open-handler.ts +122 -0
  1485. package/src/core/view/portal-slot-view.tsx +107 -0
  1486. package/src/core/view/root-view.tsx +102 -0
  1487. package/src/core/view/saveable.ts +146 -0
  1488. package/src/core/view/slot-view-manager.ts +199 -0
  1489. package/src/core/view/slot.tsx +68 -0
  1490. package/src/core/view/stateful-view.ts +22 -0
  1491. package/src/core/view/title.tsx +24 -0
  1492. package/src/core/view/utils.tsx +48 -0
  1493. package/src/core/view/view-application.ts +70 -0
  1494. package/src/core/view/view-container.tsx +91 -0
  1495. package/src/core/view/view-context.tsx +37 -0
  1496. package/src/core/view/view-decoration.ts +160 -0
  1497. package/src/core/view/view-manager.ts +271 -0
  1498. package/src/core/view/view-meta.ts +24 -0
  1499. package/src/core/view/view-open-handler.ts +139 -0
  1500. package/src/core/view/view-protocol.ts +218 -0
  1501. package/src/core/view/view-render.tsx +39 -0
  1502. package/src/core/view/view-storage.ts +218 -0
  1503. package/src/index.ts +1 -0
  1504. package/src/ioc/container-api.ts +22 -0
  1505. package/src/ioc/container.spec.ts +291 -0
  1506. package/src/ioc/container.ts +171 -0
  1507. package/src/ioc/contribution/contribution-protocol.ts +27 -0
  1508. package/src/ioc/contribution/contribution-provider.ts +73 -0
  1509. package/src/ioc/contribution/contribution-register.ts +32 -0
  1510. package/src/ioc/contribution/decorator.ts +16 -0
  1511. package/src/ioc/contribution/index.spec.ts +174 -0
  1512. package/src/ioc/contribution/index.ts +13 -0
  1513. package/src/ioc/core.ts +198 -0
  1514. package/src/ioc/decorator.spec.ts +43 -0
  1515. package/src/ioc/decorator.ts +54 -0
  1516. package/src/ioc/features/auto-factory.spec.ts +90 -0
  1517. package/src/ioc/features/auto-factory.ts +44 -0
  1518. package/src/ioc/features/prioritized-contribution.ts +43 -0
  1519. package/src/ioc/index.ts +8 -0
  1520. package/src/ioc/inversify-api/index.spec.ts +224 -0
  1521. package/src/ioc/inversify-api/index.ts +76 -0
  1522. package/src/ioc/inversify-api/inversify-protocol.ts +31 -0
  1523. package/src/ioc/module/index.spec.ts +68 -0
  1524. package/src/ioc/module/index.ts +7 -0
  1525. package/src/ioc/module/syringe-module.ts +95 -0
  1526. package/src/ioc/register.spec.ts +75 -0
  1527. package/src/ioc/register.ts +210 -0
  1528. package/src/ioc/side-option.spec.ts +39 -0
  1529. package/src/ioc/side-option.ts +14 -0
  1530. package/src/l10n/index.ts +2 -0
  1531. package/src/l10n/l10n/index.test.ts +145 -0
  1532. package/src/l10n/l10n/index.ts +319 -0
  1533. package/src/l10n/l10n/platform.ts +51 -0
  1534. package/src/l10n/lang/bundle.l10n.en-US.json +5 -0
  1535. package/src/l10n/lang/bundle.l10n.zh-CN.json +5 -0
  1536. package/src/l10n/lang/index.ts +9 -0
  1537. package/src/observable/async-event.spec.tsx +64 -0
  1538. package/src/observable/async-event.ts +110 -0
  1539. package/src/observable/async.spec.tsx +142 -0
  1540. package/src/observable/config.spec.ts +12 -0
  1541. package/src/observable/config.ts +26 -0
  1542. package/src/observable/context.spec.tsx +360 -0
  1543. package/src/observable/context.tsx +39 -0
  1544. package/src/observable/core.ts +28 -0
  1545. package/src/observable/decorator.spec.ts +41 -0
  1546. package/src/observable/decorator.ts +19 -0
  1547. package/src/observable/hooks.spec.tsx +244 -0
  1548. package/src/observable/hooks.ts +39 -0
  1549. package/src/observable/index.ts +11 -0
  1550. package/src/observable/notifiable.spec.ts +205 -0
  1551. package/src/observable/notifiable.ts +185 -0
  1552. package/src/observable/notifier.spec.ts +141 -0
  1553. package/src/observable/notifier.ts +126 -0
  1554. package/src/observable/observable.spec.ts +265 -0
  1555. package/src/observable/observable.ts +87 -0
  1556. package/src/observable/tracker.spec.ts +697 -0
  1557. package/src/observable/tracker.ts +240 -0
  1558. package/src/observable/utils.spec.tsx +93 -0
  1559. package/src/observable/utils.ts +160 -0
  1560. package/src/observable/watch.spec.ts +112 -0
  1561. package/src/observable/watch.ts +77 -0
  1562. package/src/polling/poll.ts +2 -2
  1563. package/src/polling/protocol.ts +1 -1
  1564. package/src/protocol/cell-protocol.ts +1 -1
  1565. package/src/react/constant.ts +1 -0
  1566. package/src/react/dropdown/index.tsx +86 -0
  1567. package/src/react/dropdown/styles/index.less +121 -0
  1568. package/src/react/index.spec.ts +13 -0
  1569. package/src/react/index.ts +8 -0
  1570. package/src/react/layout/boxpanel/Pane.tsx +51 -0
  1571. package/src/react/layout/boxpanel/context.ts +11 -0
  1572. package/src/react/layout/boxpanel/index.tsx +65 -0
  1573. package/src/react/layout/boxpanel/styles/index.less +14 -0
  1574. package/src/react/layout/layout.ts +85 -0
  1575. package/src/react/layout/splitpanel/context.ts +35 -0
  1576. package/src/react/layout/splitpanel/index.tsx +325 -0
  1577. package/src/react/layout/splitpanel/pane.tsx +19 -0
  1578. package/src/react/layout/splitpanel/styles/index.less +10 -0
  1579. package/src/react/menu/context.tsx +10 -0
  1580. package/src/react/menu/divider.tsx +9 -0
  1581. package/src/react/menu/index.ts +3 -0
  1582. package/src/react/menu/item.tsx +83 -0
  1583. package/src/react/menu/menu.tsx +46 -0
  1584. package/src/react/menu/styles/index.less +163 -0
  1585. package/src/react/menu/submenu.tsx +28 -0
  1586. package/src/react/menubar/context.tsx +17 -0
  1587. package/src/react/menubar/index.ts +1 -0
  1588. package/src/react/menubar/item.tsx +103 -0
  1589. package/src/react/menubar/menubar.tsx +123 -0
  1590. package/src/react/menubar/styles/index.less +113 -0
  1591. package/src/react/notification/index.tsx +208 -0
  1592. package/src/react/notification/protocol.ts +138 -0
  1593. package/src/react/notification/pure-panel.tsx +119 -0
  1594. package/src/react/notification/render.ts +92 -0
  1595. package/src/react/notification/style/index.less +192 -0
  1596. package/src/react/notification/style/index.tsx +1 -0
  1597. package/src/react/notification/style/placement.less +68 -0
  1598. package/src/react/notification/use-notification.tsx +186 -0
  1599. package/src/react/resize/index.tsx +769 -0
  1600. package/src/react/resize/styles/index.less +83 -0
  1601. package/src/react/styles/variables.less +2 -0
  1602. package/src/react/tabs/index.tsx +75 -0
  1603. package/src/react/tabs/styles/card.less +111 -0
  1604. package/src/react/tabs/styles/dropdown.less +70 -0
  1605. package/src/react/tabs/styles/index.less +231 -0
  1606. package/src/react/tabs/styles/position.less +217 -0
  1607. package/src/react/typings/index.d.ts +5 -0
  1608. package/src/react/util.ts +5 -0
  1609. package/src/url.ts +1 -1
@@ -0,0 +1,488 @@
1
+ var _dec, _dec2, _class, _class2, _dec3, _class3;
2
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
4
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
6
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
8
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
10
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
+ function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
12
+ import { URI, Priority } from "../../common/index.js";
13
+ import { Emitter, Disposable } from "../../common/index.js";
14
+ import { ApplicationContribution } from "../../core/index.js";
15
+ import { contrib, postConstruct, singleton, Syringe } from "../../ioc/index.js";
16
+ import fileIcons from 'file-icons-js';
17
+ /**
18
+ * @internal don't export it, use `LabelProvider.folderIcon` instead.
19
+ */
20
+ var DEFAULT_FOLDER_ICON = 'fa fa-folder default-folder-icon';
21
+ /**
22
+ * @internal don't export it, use `LabelProvider.fileIcon` instead.
23
+ */
24
+ var DEFAULT_FILE_ICON = 'fa fa-file default-file-icon';
25
+ export var LabelProviderContribution = Syringe.defineToken('LabelProviderContribution');
26
+ /**
27
+ * A {@link LabelProviderContribution} determines how specific elements/nodes are displayed in the workbench.
28
+ * Mana views use a common {@link LabelProvider} to determine the label and/or an icon for elements shown in the UI. This includes elements in lists
29
+ * and trees, but also view specific locations like headers. The common {@link LabelProvider} collects all {@links LabelProviderContribution} and delegates
30
+ * to the contribution with the highest priority. This is determined via calling the {@link LabelProviderContribution.canHandle} function, so contributions
31
+ * define which elements they are responsible for.
32
+ * As arbitrary views can consume LabelProviderContributions, they must be generic for the covered element type, not view specific. Label providers and
33
+ * contributions can be used for arbitrary element and node types, e.g. for markers or domain-specific elements.
34
+ */
35
+ export var URIIconReference;
36
+ (function (_URIIconReference) {
37
+ function is(element) {
38
+ return !!element && _typeof(element) === 'object' && 'kind' in element && element.kind === 'uriIconReference';
39
+ }
40
+ _URIIconReference.is = is;
41
+ function create(id, uri) {
42
+ return {
43
+ kind: 'uriIconReference',
44
+ id: id,
45
+ uri: uri
46
+ };
47
+ }
48
+ _URIIconReference.create = create;
49
+ })(URIIconReference || (URIIconReference = {}));
50
+ export var DefaultUriLabelProviderContribution = (_dec = singleton({
51
+ contrib: LabelProviderContribution
52
+ }), _dec2 = postConstruct(), _dec(_class = (_class2 = /*#__PURE__*/function () {
53
+ function DefaultUriLabelProviderContribution() {
54
+ _classCallCheck(this, DefaultUriLabelProviderContribution);
55
+ this.formatters = [];
56
+ this.onDidChangeEmitter = new Emitter();
57
+ this.homePath = '/';
58
+ // copied and modified from https://github.com/microsoft/vscode/blob/1.44.2/src/vs/workbench/services/label/common/labelService.ts
59
+ /*---------------------------------------------------------------------------------------------
60
+ * Copyright (c) Microsoft Corporation. All rights reserved.
61
+ * Licensed under the MIT License. See License.txt in the project root for license information.
62
+ *--------------------------------------------------------------------------------------------*/
63
+ this.labelMatchingRegexp = /\${(scheme|authority|path|query)}/g;
64
+ }
65
+ _createClass(DefaultUriLabelProviderContribution, [{
66
+ key: "init",
67
+ value: function init() {
68
+ //
69
+ }
70
+ }, {
71
+ key: "canHandle",
72
+ value: function canHandle(element) {
73
+ if (element instanceof URI || URIIconReference.is(element)) {
74
+ return 1;
75
+ }
76
+ return 0;
77
+ }
78
+ }, {
79
+ key: "getIcon",
80
+ value: function getIcon(element) {
81
+ if (URIIconReference.is(element) && element.id === 'folder') {
82
+ return this.defaultFolderIcon;
83
+ }
84
+ var uri = URIIconReference.is(element) ? element.uri : element;
85
+ if (uri) {
86
+ var iconClass = uri && this.getFileIcon(uri);
87
+ return iconClass || this.defaultFileIcon;
88
+ }
89
+ return '';
90
+ }
91
+ }, {
92
+ key: "defaultFolderIcon",
93
+ get: function get() {
94
+ return DEFAULT_FOLDER_ICON;
95
+ }
96
+ }, {
97
+ key: "defaultFileIcon",
98
+ get: function get() {
99
+ return DEFAULT_FILE_ICON;
100
+ }
101
+ }, {
102
+ key: "getFileIcon",
103
+ value: function getFileIcon(uri) {
104
+ var fileIcon = fileIcons.getClassWithColor(uri.displayName);
105
+ if (!fileIcon) {
106
+ return undefined;
107
+ }
108
+ return "".concat(fileIcon, " mana-file-icons-js");
109
+ }
110
+ }, {
111
+ key: "getName",
112
+ value: function getName(element) {
113
+ var uri = this.getUri(element);
114
+ return uri && uri.displayName;
115
+ }
116
+ }, {
117
+ key: "getLongName",
118
+ value: function getLongName(element) {
119
+ var uri = this.getUri(element);
120
+ if (uri) {
121
+ var formatting = this.findFormatting(uri);
122
+ if (formatting) {
123
+ return this.formatUri(uri, formatting);
124
+ }
125
+ }
126
+ return uri && uri.path.toString();
127
+ }
128
+ }, {
129
+ key: "getUri",
130
+ value: function getUri(element) {
131
+ return URIIconReference.is(element) ? element.uri : element;
132
+ }
133
+ }, {
134
+ key: "registerFormatter",
135
+ value: function registerFormatter(formatter) {
136
+ var _this = this;
137
+ this.formatters.push(formatter);
138
+ this.fireOnDidChange();
139
+ return Disposable.create(function () {
140
+ _this.formatters = _this.formatters.filter(function (f) {
141
+ return f !== formatter;
142
+ });
143
+ _this.fireOnDidChange();
144
+ });
145
+ }
146
+ }, {
147
+ key: "onDidChange",
148
+ get: function get() {
149
+ return this.onDidChangeEmitter.event;
150
+ }
151
+ }, {
152
+ key: "fireOnDidChange",
153
+ value: function fireOnDidChange() {
154
+ var _this2 = this;
155
+ this.onDidChangeEmitter.fire({
156
+ affects: function affects(element) {
157
+ return _this2.canHandle(element) > 0;
158
+ }
159
+ });
160
+ }
161
+ }, {
162
+ key: "formatUri",
163
+ value: function formatUri(resource, formatting) {
164
+ var label = formatting.label.replace(this.labelMatchingRegexp, function (_match, token) {
165
+ switch (token) {
166
+ case 'scheme':
167
+ return resource.scheme;
168
+ case 'authority':
169
+ return resource.authority;
170
+ case 'path':
171
+ return resource.path.toString();
172
+ case 'query':
173
+ return resource.query;
174
+ default:
175
+ return '';
176
+ }
177
+ });
178
+
179
+ // convert \c:\something => C:\something
180
+ if (formatting.normalizeDriveLetter && this.hasDriveLetter(label)) {
181
+ label = label.charAt(1).toUpperCase() + label.substr(2);
182
+ }
183
+ if (formatting.authorityPrefix && resource.authority) {
184
+ label = formatting.authorityPrefix + label;
185
+ }
186
+ return label.replace(/\//g, formatting.separator);
187
+ }
188
+ }, {
189
+ key: "hasDriveLetter",
190
+ value: function hasDriveLetter(path) {
191
+ return !!(path && path[2] === ':');
192
+ }
193
+ }, {
194
+ key: "findFormatting",
195
+ value: function findFormatting(resource) {
196
+ var bestResult;
197
+ this.formatters.forEach(function (formatter) {
198
+ if (formatter.scheme === resource.scheme) {
199
+ if (!bestResult && !formatter.authority) {
200
+ bestResult = formatter;
201
+ return;
202
+ }
203
+ if (!formatter.authority) {
204
+ return;
205
+ }
206
+ if (formatter.authority.toLowerCase() === resource.authority.toLowerCase() && (!bestResult || !bestResult.authority || formatter.authority.length > bestResult.authority.length || formatter.authority.length === bestResult.authority.length && formatter.priority)) {
207
+ bestResult = formatter;
208
+ }
209
+ }
210
+ });
211
+ return bestResult ? bestResult.formatting : undefined;
212
+ }
213
+ }]);
214
+ return DefaultUriLabelProviderContribution;
215
+ }(), (_applyDecoratedDescriptor(_class2.prototype, "init", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "init"), _class2.prototype)), _class2)) || _class);
216
+
217
+ /**
218
+ * The {@link LabelProvider} determines how elements/nodes are displayed in the workbench. For any element, it can determine a short label, a long label
219
+ * and an icon. The {@link LabelProvider} is to be used in lists, trees and tables, but also view specific locations like headers.
220
+ * The common {@link LabelProvider} can be extended/adapted via {@link LabelProviderContribution}s. For every element, the {@links LabelProvider} will determine the
221
+ * {@link LabelProviderContribution} with the hightest priority and delegate to it. Mana registers default {@link LabelProviderContribution} for common types, e.g.
222
+ * the {@link DefaultUriLabelProviderContribution} for elements that have a URI.
223
+ * Using the {@link LabelProvider} across the workbench ensures a common look and feel for elements across multiple views. To adapt the way how specific
224
+ * elements/nodes are rendered, use a {@link LabelProviderContribution} rather than adapting or sub classing the {@link LabelProvider}. This way, your adaptation
225
+ * is applied to all views in Mana that use the {@link LabelProvider}
226
+ */
227
+ export var LabelProvider = (_dec3 = singleton({
228
+ contrib: ApplicationContribution
229
+ }), _dec3(_class3 = /*#__PURE__*/function () {
230
+ function LabelProvider(contributionProvider) {
231
+ _classCallCheck(this, LabelProvider);
232
+ this.onDidChangeEmitter = new Emitter();
233
+ this.contributionProvider = contributionProvider;
234
+ }
235
+
236
+ /**
237
+ * Start listening to contributions.
238
+ *
239
+ * Don't call this method directly!
240
+ * It's called by the frontend application during initialization.
241
+ */
242
+ LabelProvider = contrib(LabelProviderContribution)(LabelProvider, undefined, 0) || LabelProvider;
243
+ _createClass(LabelProvider, [{
244
+ key: "initialize",
245
+ value: function initialize() {
246
+ var _this3 = this;
247
+ var contributions = this.contributionProvider.getContributions();
248
+ var _iterator = _createForOfIteratorHelper(contributions),
249
+ _step;
250
+ try {
251
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
252
+ var eventContribution = _step.value;
253
+ if (eventContribution.onDidChange) {
254
+ eventContribution.onDidChange(function (event) {
255
+ _this3.onDidChangeEmitter.fire({
256
+ affects: function affects(element) {
257
+ return _this3.affects(element, event);
258
+ }
259
+ });
260
+ });
261
+ }
262
+ }
263
+ } catch (err) {
264
+ _iterator.e(err);
265
+ } finally {
266
+ _iterator.f();
267
+ }
268
+ }
269
+ }, {
270
+ key: "affects",
271
+ value: function affects(element, event) {
272
+ if (event.affects(element)) {
273
+ return true;
274
+ }
275
+ var _iterator2 = _createForOfIteratorHelper(this.findContribution(element)),
276
+ _step2;
277
+ try {
278
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
279
+ var contribution = _step2.value;
280
+ if (contribution.affects && contribution.affects(element, event)) {
281
+ return true;
282
+ }
283
+ }
284
+ } catch (err) {
285
+ _iterator2.e(err);
286
+ } finally {
287
+ _iterator2.f();
288
+ }
289
+ return false;
290
+ }
291
+ }, {
292
+ key: "onDidChange",
293
+ get: function get() {
294
+ return this.onDidChangeEmitter.event;
295
+ }
296
+
297
+ /**
298
+ * Return a default file icon for the current icon theme.
299
+ */
300
+ }, {
301
+ key: "fileIcon",
302
+ get: function get() {
303
+ return this.getIcon(URIIconReference.create('file'));
304
+ }
305
+
306
+ /**
307
+ * Return a default folder icon for the current icon theme.
308
+ */
309
+ }, {
310
+ key: "folderIcon",
311
+ get: function get() {
312
+ return this.getIcon(URIIconReference.create('folder'));
313
+ }
314
+
315
+ /**
316
+ * Get the icon class from the list of available {@link LabelProviderContribution} for the given element.
317
+ * @return the icon class
318
+ */
319
+ }, {
320
+ key: "getIcon",
321
+ value: function getIcon(element) {
322
+ var contributions = this.findContribution(element);
323
+ var _iterator3 = _createForOfIteratorHelper(contributions),
324
+ _step3;
325
+ try {
326
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
327
+ var contribution = _step3.value;
328
+ var value = contribution.getIcon && contribution.getIcon(element);
329
+ if (value === undefined) {
330
+ continue;
331
+ }
332
+ return value;
333
+ }
334
+ } catch (err) {
335
+ _iterator3.e(err);
336
+ } finally {
337
+ _iterator3.f();
338
+ }
339
+ return '';
340
+ }
341
+
342
+ /**
343
+ * Get a short name from the list of available {@link LabelProviderContribution} for the given element.
344
+ * @return the short name
345
+ */
346
+ }, {
347
+ key: "getName",
348
+ value: function getName(element) {
349
+ var contributions = this.findContribution(element);
350
+ var _iterator4 = _createForOfIteratorHelper(contributions),
351
+ _step4;
352
+ try {
353
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
354
+ var contribution = _step4.value;
355
+ var value = contribution.getName && contribution.getName(element);
356
+ if (value === undefined) {
357
+ continue;
358
+ }
359
+ return value;
360
+ }
361
+ } catch (err) {
362
+ _iterator4.e(err);
363
+ } finally {
364
+ _iterator4.f();
365
+ }
366
+ return '<unknown>';
367
+ }
368
+
369
+ /**
370
+ * Get a long name from the list of available {@link LabelProviderContribution} for the given element.
371
+ * @return the long name
372
+ */
373
+ }, {
374
+ key: "getLongName",
375
+ value: function getLongName(element) {
376
+ var contributions = this.findContribution(element);
377
+ var _iterator5 = _createForOfIteratorHelper(contributions),
378
+ _step5;
379
+ try {
380
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
381
+ var contribution = _step5.value;
382
+ var value = contribution.getLongName && contribution.getLongName(element);
383
+ if (value === undefined) {
384
+ continue;
385
+ }
386
+ return value;
387
+ }
388
+ } catch (err) {
389
+ _iterator5.e(err);
390
+ } finally {
391
+ _iterator5.f();
392
+ }
393
+ return '';
394
+ }
395
+
396
+ /**
397
+ * Get a icon component from the list of available {@link LabelProviderContribution} for the given element.
398
+ * @return the icon component
399
+ */
400
+ }, {
401
+ key: "getIconCompomponent",
402
+ value: function getIconCompomponent(element) {
403
+ var contributions = this.findContribution(element);
404
+ var _iterator6 = _createForOfIteratorHelper(contributions),
405
+ _step6;
406
+ try {
407
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
408
+ var contribution = _step6.value;
409
+ var value = contribution.getIconComponent && contribution.getIconComponent(element);
410
+ if (value === undefined) {
411
+ continue;
412
+ }
413
+ return value;
414
+ }
415
+ } catch (err) {
416
+ _iterator6.e(err);
417
+ } finally {
418
+ _iterator6.f();
419
+ }
420
+ return null;
421
+ }
422
+
423
+ /**
424
+ * Get a name component from the list of available {@link LabelProviderContribution} for the given element.
425
+ * @return the name component
426
+ */
427
+ }, {
428
+ key: "getNameComponent",
429
+ value: function getNameComponent(element) {
430
+ var contributions = this.findContribution(element);
431
+ var _iterator7 = _createForOfIteratorHelper(contributions),
432
+ _step7;
433
+ try {
434
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
435
+ var contribution = _step7.value;
436
+ var value = contribution.getNameComponent && contribution.getNameComponent(element);
437
+ if (value === undefined) {
438
+ continue;
439
+ }
440
+ return value;
441
+ }
442
+ } catch (err) {
443
+ _iterator7.e(err);
444
+ } finally {
445
+ _iterator7.f();
446
+ }
447
+ return '<unknown>';
448
+ }
449
+
450
+ /**
451
+ * Get a description component from the list of available {@link LabelProviderContribution} for the given element.
452
+ * @return the description component
453
+ */
454
+ }, {
455
+ key: "getDescriptionComponent",
456
+ value: function getDescriptionComponent(element) {
457
+ var contributions = this.findContribution(element);
458
+ var _iterator8 = _createForOfIteratorHelper(contributions),
459
+ _step8;
460
+ try {
461
+ for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
462
+ var contribution = _step8.value;
463
+ var value = contribution.getDescriptionComponent && contribution.getDescriptionComponent(element);
464
+ if (value === undefined) {
465
+ continue;
466
+ }
467
+ return value;
468
+ }
469
+ } catch (err) {
470
+ _iterator8.e(err);
471
+ } finally {
472
+ _iterator8.f();
473
+ }
474
+ return null;
475
+ }
476
+ }, {
477
+ key: "findContribution",
478
+ value: function findContribution(element) {
479
+ var prioritized = Priority.sortSync(this.contributionProvider.getContributions(), function (contribution) {
480
+ return contribution.canHandle(element);
481
+ });
482
+ return prioritized.map(function (c) {
483
+ return c.value;
484
+ });
485
+ }
486
+ }]);
487
+ return LabelProvider;
488
+ }()) || _class3);
@@ -0,0 +1,8 @@
1
+ import { ManaModule } from '../../core/index.js';
2
+ import 'rc-tooltip/assets/bootstrap.css';
3
+ export declare const MenuModule: ManaModule;
4
+ export * from './menu.js';
5
+ export * from './menu-render.js';
6
+ export * from './menu-bar-render.js';
7
+ export * from './menu-protocol.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/menu/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,iCAAiC,CAAC;AAGzC,eAAO,MAAM,UAAU,YAWnB,CAAC;AAEL,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { ManaModule } from "../../core/index.js";
2
+ import { Menu, MenuFactory, MenuPathSymbol } from "./menu.js";
3
+ import 'rc-tooltip/assets/bootstrap.css';
4
+ import { MenuColorRegistry } from "./menu-color-registry.js";
5
+ export var MenuModule = ManaModule.create().register(Menu, MenuColorRegistry).register({
6
+ token: MenuFactory,
7
+ useDynamic: function useDynamic(ctx) {
8
+ return function (menuPath) {
9
+ var child = ctx.container.createChild();
10
+ child.register({
11
+ token: MenuPathSymbol,
12
+ useValue: menuPath
13
+ });
14
+ return child.get(Menu);
15
+ };
16
+ }
17
+ });
18
+ export * from "./menu.js";
19
+ export * from "./menu-render.js";
20
+ export * from "./menu-bar-render.js";
21
+ export * from "./menu-protocol.js";
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { Menu } from './menu.js';
3
+ import type { MenuFactory } from './menu.js';
4
+ export interface MenuBarRenderProps {
5
+ data?: any[];
6
+ menuPath: any;
7
+ factory?: MenuFactory;
8
+ menu?: Menu;
9
+ }
10
+ export declare const MenuBarRender: React.NamedExoticComponent<MenuBarRenderProps>;
11
+ //# sourceMappingURL=menu-bar-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-bar-render.d.ts","sourceRoot":"","sources":["../../../src/app/menu/menu-bar-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAiC7C,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AACD,eAAO,MAAM,aAAa,gDAIxB,CAAC"}
@@ -0,0 +1,46 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import React from 'react';
8
+ import { MenuItem } from "../../core/index.js";
9
+ import { useInject } from "../../observable/index.js";
10
+ import { Menubar } from "../../react/index.js";
11
+ import { MenuItemRender } from "./menu-item-render.js";
12
+ import { MenuInstance } from "./menu-protocol.js";
13
+ import { MenuRender } from "./menu-render.js";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ var MenuBarItemRender = function MenuBarItemRender(props) {
16
+ var item = props.item,
17
+ root = props.root;
18
+ var menu = useInject(MenuInstance);
19
+ var children = [];
20
+ if (MenuItem.isGeneralMenuItem(item)) {
21
+ children = item.children;
22
+ }
23
+ if (root) {
24
+ return /*#__PURE__*/_jsx(Menubar, {
25
+ children: children.sort(menu.sort).map(function (child) {
26
+ if (MenuItem.isGeneralMenuItem(child)) {
27
+ return /*#__PURE__*/_jsx(Menubar.Item, {
28
+ text: child.renderTitle(),
29
+ children: menu.renderMenuList(child.children)
30
+ }, child.key);
31
+ }
32
+ return /*#__PURE__*/_jsx(Menubar.Item, {
33
+ text: child.renderTitle()
34
+ }, child.key);
35
+ })
36
+ });
37
+ } else {
38
+ return /*#__PURE__*/_jsx(MenuItemRender, _objectSpread({}, props));
39
+ }
40
+ };
41
+ export var MenuBarRender = /*#__PURE__*/React.memo(function MenuBarRender(props) {
42
+ return /*#__PURE__*/_jsx(MenuRender, _objectSpread(_objectSpread({}, props), {}, {
43
+ data: props.data || [],
44
+ render: MenuBarItemRender
45
+ }));
46
+ });
@@ -0,0 +1,6 @@
1
+ import type { ColorRegistry } from '../../core/index.js';
2
+ import { ColorContribution } from '../../core/index.js';
3
+ export declare class MenuColorRegistry implements ColorContribution {
4
+ registerColors(colors: ColorRegistry): void;
5
+ }
6
+ //# sourceMappingURL=menu-color-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-color-registry.d.ts","sourceRoot":"","sources":["../../../src/app/menu/menu-color-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,qBACa,iBAAkB,YAAW,iBAAiB;IACzD,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;CA4C5C"}
@@ -0,0 +1,59 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _dec, _class;
3
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
5
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
+ import { Color } from "../../core/index.js";
9
+ import { ColorContribution } from "../../core/index.js";
10
+ import { singleton } from "../../ioc/index.js";
11
+ export var MenuColorRegistry = (_dec = singleton({
12
+ contrib: ColorContribution
13
+ }), _dec(_class = /*#__PURE__*/function () {
14
+ function MenuColorRegistry() {
15
+ _classCallCheck(this, MenuColorRegistry);
16
+ }
17
+ _createClass(MenuColorRegistry, [{
18
+ key: "registerColors",
19
+ value: function registerColors(colors) {
20
+ colors.register({
21
+ id: 'menu.item.hover.bg',
22
+ defaults: {
23
+ dark: 'transparent',
24
+ light: Color.rgba(0, 0, 0, 0.06)
25
+ },
26
+ description: ''
27
+ }, {
28
+ id: 'menu.item.hover.color',
29
+ defaults: {
30
+ dark: Color.rgba(255, 255, 255),
31
+ light: Color.rgba(0, 0, 0, 0.88)
32
+ },
33
+ description: ''
34
+ }, {
35
+ id: 'menu.item.color',
36
+ defaults: {
37
+ dark: Color.rgba(255, 255, 255, 0.65),
38
+ light: Color.rgba(0, 0, 0, 0.88)
39
+ },
40
+ description: ''
41
+ }, {
42
+ id: 'menu.item.active.color',
43
+ defaults: {
44
+ dark: Color.rgba(255, 255, 255),
45
+ light: 'primary.color'
46
+ },
47
+ description: ''
48
+ }, {
49
+ id: 'menu.item.active.bg',
50
+ defaults: {
51
+ dark: 'primary.color',
52
+ light: 'primary.color-1'
53
+ },
54
+ description: ''
55
+ });
56
+ }
57
+ }]);
58
+ return MenuColorRegistry;
59
+ }()) || _class);
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import type { Menu } from './menu';
3
+ /**
4
+ * @deprecated use useInject(MenuInstance) instead
5
+ */
6
+ export declare const MenuContext: React.Context<MenuContext.Context>;
7
+ export declare namespace MenuContext {
8
+ interface Context {
9
+ menu: Menu;
10
+ data: any;
11
+ }
12
+ }
13
+ //# sourceMappingURL=menu-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-context.d.ts","sourceRoot":"","sources":["../../../src/app/menu/menu-context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,WAAW,oCAAsD,CAAC;AAG/E,yBAAiB,WAAW,CAAC;IAC3B,UAAiB,OAAO;QACtB,IAAI,EAAE,IAAI,CAAC;QACX,IAAI,EAAE,GAAG,CAAC;KACX;CACF"}