@difizen/libro-common 1.0.2 → 1.0.4

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 (660) hide show
  1. package/es/app/file-tree/file-tree-component.js +1 -1
  2. package/es/app/file-tree/index.d.ts +6 -6
  3. package/es/app/file-tree/index.d.ts.map +1 -1
  4. package/es/app/file-tree/index.js +6 -6
  5. package/es/app/menu/menu-context.d.ts +1 -1
  6. package/es/app/menu/menu-context.d.ts.map +1 -1
  7. package/es/app/tree/components/index.d.ts +1 -1
  8. package/es/app/tree/components/index.d.ts.map +1 -1
  9. package/es/app/tree/components/index.js +9 -9
  10. package/es/app/tree/components/tree-switch-icon.d.ts +1 -1
  11. package/es/app/tree/components/tree-switch-icon.d.ts.map +1 -1
  12. package/es/app/tree/index.d.ts +15 -15
  13. package/es/app/tree/index.d.ts.map +1 -1
  14. package/es/app/tree/index.js +15 -15
  15. package/es/app/tree/view/index.d.ts +3 -3
  16. package/es/app/tree/view/index.d.ts.map +1 -1
  17. package/es/app/tree/view/index.js +3 -3
  18. package/es/app/tree/view/tree-view-selection.d.ts +2 -2
  19. package/es/app/tree/view/tree-view-selection.d.ts.map +1 -1
  20. package/es/app/tree/view/tree-view-selection.js +1 -1
  21. package/es/app/view/components/index.d.ts +1 -1
  22. package/es/app/view/components/index.d.ts.map +1 -1
  23. package/es/app/view/components/index.js +1 -1
  24. package/es/app/view/index.d.ts +5 -5
  25. package/es/app/view/index.d.ts.map +1 -1
  26. package/es/app/view/index.js +9 -9
  27. package/es/app/view/tab/index.d.ts +3 -3
  28. package/es/app/view/tab/index.d.ts.map +1 -1
  29. package/es/app/view/tab/index.js +3 -3
  30. package/es/common/deferred.js +1 -1
  31. package/es/common/disposable-collection.d.ts +1 -1
  32. package/es/common/disposable-collection.d.ts.map +1 -1
  33. package/es/common/disposable-collection.js +1 -1
  34. package/es/common/disposable.js +1 -1
  35. package/es/common/event.d.ts +3 -3
  36. package/es/common/event.d.ts.map +1 -1
  37. package/es/common/event.js +3 -3
  38. package/es/common/index.d.ts +24 -24
  39. package/es/common/index.d.ts.map +1 -1
  40. package/es/common/index.js +24 -24
  41. package/es/common/objects.js +2 -2
  42. package/es/common/observable-disposable.d.ts +2 -2
  43. package/es/common/observable-disposable.d.ts.map +1 -1
  44. package/es/common/priority.d.ts +1 -1
  45. package/es/common/priority.d.ts.map +1 -1
  46. package/es/common/promise-util.d.ts +1 -1
  47. package/es/common/promise-util.d.ts.map +1 -1
  48. package/es/common/promise-util.js +2 -2
  49. package/es/common/stopwatch.js +1 -1
  50. package/es/common/strings.js +1 -1
  51. package/es/common/uri.d.ts +2 -2
  52. package/es/common/uri.d.ts.map +1 -1
  53. package/es/common/uri.js +3 -3
  54. package/es/common/valueTypes.d.ts +1 -1
  55. package/es/common/valueTypes.d.ts.map +1 -1
  56. package/es/common/wait-until-event.d.ts +1 -1
  57. package/es/common/wait-until-event.d.ts.map +1 -1
  58. package/es/core/application/application-state.d.ts +1 -1
  59. package/es/core/application/application-state.d.ts.map +1 -1
  60. package/es/core/application/application-state.js +2 -2
  61. package/es/core/application/application.d.ts +3 -3
  62. package/es/core/application/application.d.ts.map +1 -1
  63. package/es/core/application/application.js +3 -3
  64. package/es/core/application/default-window-service.d.ts +3 -3
  65. package/es/core/application/default-window-service.d.ts.map +1 -1
  66. package/es/core/application/default-window-service.js +2 -2
  67. package/es/core/application/index.d.ts +3 -3
  68. package/es/core/application/index.d.ts.map +1 -1
  69. package/es/core/application/index.js +6 -6
  70. package/es/core/application/mock-window-service.d.ts +1 -1
  71. package/es/core/application/mock-window-service.d.ts.map +1 -1
  72. package/es/core/command/command-registry.d.ts +3 -3
  73. package/es/core/command/command-registry.d.ts.map +1 -1
  74. package/es/core/command/command-registry.js +3 -3
  75. package/es/core/command/index.d.ts +3 -3
  76. package/es/core/command/index.d.ts.map +1 -1
  77. package/es/core/command/index.js +4 -4
  78. package/es/core/common/index.d.ts +4 -4
  79. package/es/core/common/index.d.ts.map +1 -1
  80. package/es/core/common/index.js +7 -7
  81. package/es/core/common/storage-service.d.ts +2 -2
  82. package/es/core/common/storage-service.d.ts.map +1 -1
  83. package/es/core/common/storage-service.js +1 -1
  84. package/es/core/components/application.d.ts +3 -3
  85. package/es/core/components/application.d.ts.map +1 -1
  86. package/es/core/components/application.js +9 -9
  87. package/es/core/components/context.d.ts +2 -2
  88. package/es/core/components/context.d.ts.map +1 -1
  89. package/es/core/components/context.js +3 -3
  90. package/es/core/components/hooks.d.ts +1 -1
  91. package/es/core/components/hooks.d.ts.map +1 -1
  92. package/es/core/components/hooks.js +3 -3
  93. package/es/core/components/index.d.ts +4 -4
  94. package/es/core/components/index.d.ts.map +1 -1
  95. package/es/core/components/index.js +4 -4
  96. package/es/core/components/root-view-render.d.ts.map +1 -1
  97. package/es/core/components/root-view-render.js +1 -1
  98. package/es/core/configuration/configuration-cache.d.ts +2 -2
  99. package/es/core/configuration/configuration-cache.d.ts.map +1 -1
  100. package/es/core/configuration/configuration-protocol.d.ts +1 -1
  101. package/es/core/configuration/configuration-protocol.d.ts.map +1 -1
  102. package/es/core/configuration/configuration-provider.d.ts +2 -2
  103. package/es/core/configuration/configuration-provider.d.ts.map +1 -1
  104. package/es/core/configuration/configuration-provider.js +2 -2
  105. package/es/core/configuration/configuration-registry.d.ts +4 -4
  106. package/es/core/configuration/configuration-registry.d.ts.map +1 -1
  107. package/es/core/configuration/configuration-registry.js +3 -3
  108. package/es/core/configuration/configuration-render-registry.d.ts +4 -4
  109. package/es/core/configuration/configuration-render-registry.d.ts.map +1 -1
  110. package/es/core/configuration/configuration-render-registry.js +1 -1
  111. package/es/core/configuration/configuration-service.d.ts +7 -7
  112. package/es/core/configuration/configuration-service.d.ts.map +1 -1
  113. package/es/core/configuration/configuration-service.js +6 -6
  114. package/es/core/configuration/hooks.d.ts +1 -1
  115. package/es/core/configuration/hooks.d.ts.map +1 -1
  116. package/es/core/configuration/hooks.js +2 -2
  117. package/es/core/configuration/index.d.ts +10 -10
  118. package/es/core/configuration/index.d.ts.map +1 -1
  119. package/es/core/configuration/index.js +10 -10
  120. package/es/core/configuration/module.d.ts +1 -1
  121. package/es/core/configuration/module.d.ts.map +1 -1
  122. package/es/core/configuration/module.js +7 -7
  123. package/es/core/configuration/validation.d.ts +1 -1
  124. package/es/core/configuration/validation.d.ts.map +1 -1
  125. package/es/core/configuration/validation.js +2 -2
  126. package/es/core/context/data-context-manager.d.ts +3 -3
  127. package/es/core/context/data-context-manager.d.ts.map +1 -1
  128. package/es/core/context/data-context-manager.js +2 -2
  129. package/es/core/context/data-context-protocol.d.ts +1 -1
  130. package/es/core/context/data-context-protocol.d.ts.map +1 -1
  131. package/es/core/context/data-context.d.ts.map +1 -1
  132. package/es/core/context/data-context.js +2 -2
  133. package/es/core/context/index.d.ts +4 -4
  134. package/es/core/context/index.d.ts.map +1 -1
  135. package/es/core/context/index.js +6 -6
  136. package/es/core/index.d.ts +17 -17
  137. package/es/core/index.d.ts.map +1 -1
  138. package/es/core/index.js +28 -28
  139. package/es/core/keybinding/context-key-service.d.ts +2 -2
  140. package/es/core/keybinding/context-key-service.d.ts.map +1 -1
  141. package/es/core/keybinding/context-key-service.js +2 -2
  142. package/es/core/keybinding/index.d.ts +5 -5
  143. package/es/core/keybinding/index.d.ts.map +1 -1
  144. package/es/core/keybinding/index.js +5 -5
  145. package/es/core/keybinding/keybinding-proocol.d.ts +1 -1
  146. package/es/core/keybinding/keybinding-proocol.d.ts.map +1 -1
  147. package/es/core/keybinding/keybinding.d.ts +8 -8
  148. package/es/core/keybinding/keybinding.d.ts.map +1 -1
  149. package/es/core/keybinding/keybinding.js +7 -7
  150. package/es/core/keybinding/module.d.ts +1 -1
  151. package/es/core/keybinding/module.d.ts.map +1 -1
  152. package/es/core/keybinding/module.js +7 -7
  153. package/es/core/keybinding/vs/configuration/configuration.js +2 -2
  154. package/es/core/keybinding/vs/configuration/configurationModels.d.ts +1 -1
  155. package/es/core/keybinding/vs/configuration/configurationModels.d.ts.map +1 -1
  156. package/es/core/keybinding/vs/configuration/configurationModels.js +2 -2
  157. package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts +1 -1
  158. package/es/core/keybinding/vs/configuration/configurationRegistry.d.ts.map +1 -1
  159. package/es/core/keybinding/vs/configuration/configurationRegistry.js +3 -3
  160. package/es/core/keybinding/vs/configuration/configurationService.d.ts +4 -4
  161. package/es/core/keybinding/vs/configuration/configurationService.d.ts.map +1 -1
  162. package/es/core/keybinding/vs/configuration/configurationService.js +5 -5
  163. package/es/core/keybinding/vs/contextKeyService.d.ts +5 -5
  164. package/es/core/keybinding/vs/contextKeyService.d.ts.map +1 -1
  165. package/es/core/keybinding/vs/contextKeyService.js +5 -5
  166. package/es/core/keybinding/vs/contextkeys.d.ts +2 -2
  167. package/es/core/keybinding/vs/contextkeys.d.ts.map +1 -1
  168. package/es/core/keybinding/vs/contextkeys.js +3 -3
  169. package/es/core/keybinding/vs/jsonContributionRegistry.d.ts +1 -1
  170. package/es/core/keybinding/vs/jsonContributionRegistry.d.ts.map +1 -1
  171. package/es/core/keybinding/vs/jsonContributionRegistry.js +1 -1
  172. package/es/core/keyboard/browser-keyboard-layout-provider.d.ts +3 -3
  173. package/es/core/keyboard/browser-keyboard-layout-provider.d.ts.map +1 -1
  174. package/es/core/keyboard/browser-keyboard-layout-provider.js +3 -3
  175. package/es/core/keyboard/index.d.ts +4 -4
  176. package/es/core/keyboard/index.d.ts.map +1 -1
  177. package/es/core/keyboard/index.js +4 -4
  178. package/es/core/keyboard/keyboard-layout-service.d.ts +3 -3
  179. package/es/core/keyboard/keyboard-layout-service.d.ts.map +1 -1
  180. package/es/core/keyboard/keyboard-layout-service.js +2 -2
  181. package/es/core/keyboard/layouts/index.js +2 -2
  182. package/es/core/menu/default-menu-node.d.ts +2 -2
  183. package/es/core/menu/default-menu-node.d.ts.map +1 -1
  184. package/es/core/menu/default-menu-node.js +4 -4
  185. package/es/core/menu/index.d.ts +3 -3
  186. package/es/core/menu/index.d.ts.map +1 -1
  187. package/es/core/menu/index.js +6 -6
  188. package/es/core/menu/menu-protocol.d.ts +2 -2
  189. package/es/core/menu/menu-protocol.d.ts.map +1 -1
  190. package/es/core/menu/menu-registry.d.ts +4 -4
  191. package/es/core/menu/menu-registry.d.ts.map +1 -1
  192. package/es/core/menu/menu-registry.js +4 -4
  193. package/es/core/menu/module.d.ts +1 -1
  194. package/es/core/menu/module.d.ts.map +1 -1
  195. package/es/core/menu/module.js +6 -6
  196. package/es/core/module/index.d.ts +3 -3
  197. package/es/core/module/index.d.ts.map +1 -1
  198. package/es/core/module/index.js +3 -3
  199. package/es/core/module/mana-module-context.js +1 -1
  200. package/es/core/module/mana-module.d.ts +1 -1
  201. package/es/core/module/mana-module.d.ts.map +1 -1
  202. package/es/core/module/module-protocol.d.ts +1 -1
  203. package/es/core/module/module-protocol.d.ts.map +1 -1
  204. package/es/core/selection/index.d.ts +2 -2
  205. package/es/core/selection/index.d.ts.map +1 -1
  206. package/es/core/selection/index.js +3 -3
  207. package/es/core/theme/base-variable-registry.d.ts +4 -4
  208. package/es/core/theme/base-variable-registry.d.ts.map +1 -1
  209. package/es/core/theme/base-variable-registry.js +3 -3
  210. package/es/core/theme/basic/antd-variable-contribution.d.ts +2 -2
  211. package/es/core/theme/basic/antd-variable-contribution.d.ts.map +1 -1
  212. package/es/core/theme/basic/antd-variable-contribution.js +1 -1
  213. package/es/core/theme/basic/default-variable-contribution.d.ts +2 -2
  214. package/es/core/theme/basic/default-variable-contribution.d.ts.map +1 -1
  215. package/es/core/theme/basic/default-variable-contribution.js +1 -1
  216. package/es/core/theme/basic/index.d.ts +2 -2
  217. package/es/core/theme/basic/index.d.ts.map +1 -1
  218. package/es/core/theme/basic/index.js +2 -2
  219. package/es/core/theme/basic/variable-protocol.d.ts +1 -1
  220. package/es/core/theme/basic/variable-protocol.d.ts.map +1 -1
  221. package/es/core/theme/basic/variable-registry.d.ts +2 -2
  222. package/es/core/theme/basic/variable-registry.d.ts.map +1 -1
  223. package/es/core/theme/basic/variable-registry.js +1 -1
  224. package/es/core/theme/color/antd-color-contribution.d.ts +2 -2
  225. package/es/core/theme/color/antd-color-contribution.d.ts.map +1 -1
  226. package/es/core/theme/color/antd-color-contribution.js +2 -2
  227. package/es/core/theme/color/color-protocol.d.ts +3 -3
  228. package/es/core/theme/color/color-protocol.d.ts.map +1 -1
  229. package/es/core/theme/color/color-registry.d.ts +3 -3
  230. package/es/core/theme/color/color-registry.d.ts.map +1 -1
  231. package/es/core/theme/color/color-registry.js +2 -2
  232. package/es/core/theme/color/default-color-contribution.d.ts +2 -2
  233. package/es/core/theme/color/default-color-contribution.d.ts.map +1 -1
  234. package/es/core/theme/color/default-color-contribution.js +2 -2
  235. package/es/core/theme/color/index.d.ts +2 -2
  236. package/es/core/theme/color/index.d.ts.map +1 -1
  237. package/es/core/theme/color/index.js +2 -2
  238. package/es/core/theme/index.d.ts +5 -5
  239. package/es/core/theme/index.d.ts.map +1 -1
  240. package/es/core/theme/index.js +15 -15
  241. package/es/core/theme/theme-app.d.ts +8 -8
  242. package/es/core/theme/theme-app.d.ts.map +1 -1
  243. package/es/core/theme/theme-app.js +6 -6
  244. package/es/core/theme/theme-service.d.ts +1 -1
  245. package/es/core/theme/theme-service.d.ts.map +1 -1
  246. package/es/core/theme/theme-service.js +2 -2
  247. package/es/core/toolbar/default-toolbar-item.d.ts +2 -2
  248. package/es/core/toolbar/default-toolbar-item.d.ts.map +1 -1
  249. package/es/core/toolbar/default-toolbar-item.js +2 -2
  250. package/es/core/toolbar/index.d.ts +4 -4
  251. package/es/core/toolbar/index.d.ts.map +1 -1
  252. package/es/core/toolbar/index.js +7 -7
  253. package/es/core/toolbar/toolbar-protocol.d.ts +1 -1
  254. package/es/core/toolbar/toolbar-protocol.d.ts.map +1 -1
  255. package/es/core/toolbar/toolbar-registry.d.ts +3 -3
  256. package/es/core/toolbar/toolbar-registry.d.ts.map +1 -1
  257. package/es/core/toolbar/toolbar-registry.js +3 -3
  258. package/es/core/utils/index.d.ts +3 -3
  259. package/es/core/utils/index.d.ts.map +1 -1
  260. package/es/core/utils/index.js +3 -3
  261. package/es/core/view/decorator.d.ts +3 -3
  262. package/es/core/view/decorator.d.ts.map +1 -1
  263. package/es/core/view/decorator.js +6 -6
  264. package/es/core/view/default-slot-view.d.ts +6 -6
  265. package/es/core/view/default-slot-view.d.ts.map +1 -1
  266. package/es/core/view/default-slot-view.js +9 -9
  267. package/es/core/view/default-view.d.ts +3 -3
  268. package/es/core/view/default-view.d.ts.map +1 -1
  269. package/es/core/view/default-view.js +3 -3
  270. package/es/core/view/focus-tracker.d.ts +1 -1
  271. package/es/core/view/focus-tracker.d.ts.map +1 -1
  272. package/es/core/view/hooks.d.ts +1 -1
  273. package/es/core/view/hooks.d.ts.map +1 -1
  274. package/es/core/view/hooks.js +1 -1
  275. package/es/core/view/index.d.ts +22 -22
  276. package/es/core/view/index.d.ts.map +1 -1
  277. package/es/core/view/index.js +22 -22
  278. package/es/core/view/module.d.ts +1 -1
  279. package/es/core/view/module.d.ts.map +1 -1
  280. package/es/core/view/module.js +12 -12
  281. package/es/core/view/navigatable-types.d.ts +3 -3
  282. package/es/core/view/navigatable-types.d.ts.map +1 -1
  283. package/es/core/view/navigatable-types.js +2 -2
  284. package/es/core/view/navigatable.d.ts +3 -3
  285. package/es/core/view/navigatable.d.ts.map +1 -1
  286. package/es/core/view/navigatable.js +1 -1
  287. package/es/core/view/portal-slot-view.d.ts +3 -3
  288. package/es/core/view/portal-slot-view.d.ts.map +1 -1
  289. package/es/core/view/portal-slot-view.js +6 -6
  290. package/es/core/view/root-view.d.ts +2 -2
  291. package/es/core/view/root-view.d.ts.map +1 -1
  292. package/es/core/view/root-view.js +8 -8
  293. package/es/core/view/saveable.d.ts +1 -1
  294. package/es/core/view/saveable.d.ts.map +1 -1
  295. package/es/core/view/slot-view-manager.d.ts +5 -5
  296. package/es/core/view/slot-view-manager.d.ts.map +1 -1
  297. package/es/core/view/slot-view-manager.js +5 -5
  298. package/es/core/view/slot.d.ts +2 -2
  299. package/es/core/view/slot.d.ts.map +1 -1
  300. package/es/core/view/slot.js +4 -4
  301. package/es/core/view/stateful-view.d.ts +2 -2
  302. package/es/core/view/stateful-view.d.ts.map +1 -1
  303. package/es/core/view/stateful-view.js +1 -1
  304. package/es/core/view/title.d.ts +2 -2
  305. package/es/core/view/title.d.ts.map +1 -1
  306. package/es/core/view/title.js +1 -1
  307. package/es/core/view/view-application.d.ts +5 -5
  308. package/es/core/view/view-application.d.ts.map +1 -1
  309. package/es/core/view/view-application.js +5 -5
  310. package/es/core/view/view-container.d.ts +4 -4
  311. package/es/core/view/view-container.d.ts.map +1 -1
  312. package/es/core/view/view-container.js +8 -8
  313. package/es/core/view/view-context.d.ts +1 -1
  314. package/es/core/view/view-context.d.ts.map +1 -1
  315. package/es/core/view/view-context.js +2 -2
  316. package/es/core/view/view-manager.d.ts +5 -5
  317. package/es/core/view/view-manager.d.ts.map +1 -1
  318. package/es/core/view/view-manager.js +5 -5
  319. package/es/core/view/view-meta.d.ts +2 -2
  320. package/es/core/view/view-meta.d.ts.map +1 -1
  321. package/es/core/view/view-meta.js +1 -1
  322. package/es/core/view/view-open-handler.d.ts +5 -5
  323. package/es/core/view/view-open-handler.d.ts.map +1 -1
  324. package/es/core/view/view-open-handler.js +3 -3
  325. package/es/core/view/view-protocol.d.ts +2 -2
  326. package/es/core/view/view-protocol.d.ts.map +1 -1
  327. package/es/core/view/view-render.d.ts +1 -1
  328. package/es/core/view/view-render.d.ts.map +1 -1
  329. package/es/core/view/view-render.js +6 -6
  330. package/es/core/view/view-storage.d.ts +3 -3
  331. package/es/core/view/view-storage.d.ts.map +1 -1
  332. package/es/core/view/view-storage.js +8 -8
  333. package/es/index.d.ts +1 -0
  334. package/es/index.d.ts.map +1 -1
  335. package/es/index.js +2 -1
  336. package/es/ioc/container-api.d.ts +1 -1
  337. package/es/ioc/container-api.d.ts.map +1 -1
  338. package/es/ioc/contribution/contribution-register.d.ts +2 -2
  339. package/es/ioc/contribution/contribution-register.d.ts.map +1 -1
  340. package/es/ioc/contribution/contribution-register.js +3 -3
  341. package/es/ioc/contribution/decorator.d.ts +1 -1
  342. package/es/ioc/contribution/decorator.d.ts.map +1 -1
  343. package/es/ioc/contribution/decorator.js +2 -2
  344. package/es/ioc/contribution/index.d.ts +6 -6
  345. package/es/ioc/contribution/index.d.ts.map +1 -1
  346. package/es/ioc/contribution/index.js +5 -5
  347. package/es/ioc/decorator.d.ts +2 -2
  348. package/es/ioc/decorator.d.ts.map +1 -1
  349. package/es/ioc/decorator.js +2 -2
  350. package/es/ioc/index.d.ts +8 -8
  351. package/es/ioc/index.d.ts.map +1 -1
  352. package/es/ioc/index.js +8 -8
  353. package/es/ioc/inversify-api/index.d.ts +2 -2
  354. package/es/ioc/inversify-api/index.d.ts.map +1 -1
  355. package/es/ioc/inversify-api/index.js +1 -1
  356. package/es/ioc/module/index.d.ts +2 -2
  357. package/es/ioc/module/index.d.ts.map +1 -1
  358. package/es/ioc/module/index.js +2 -2
  359. package/es/ioc/module/syringe-module.d.ts +1 -1
  360. package/es/ioc/module/syringe-module.d.ts.map +1 -1
  361. package/es/ioc/module/syringe-module.js +3 -3
  362. package/es/ioc/register.d.ts +2 -2
  363. package/es/ioc/register.d.ts.map +1 -1
  364. package/es/ioc/register.js +5 -5
  365. package/es/ioc/side-option.d.ts +1 -1
  366. package/es/ioc/side-option.d.ts.map +1 -1
  367. package/es/l10n/index.d.ts +2 -2
  368. package/es/l10n/index.d.ts.map +1 -1
  369. package/es/l10n/index.js +2 -2
  370. package/es/l10n/l10n/index.js +1 -1
  371. package/es/l10n/lang/index.d.ts +1 -1
  372. package/es/l10n/lang/index.d.ts.map +1 -1
  373. package/es/observable/context.d.ts +1 -1
  374. package/es/observable/context.d.ts.map +1 -1
  375. package/es/observable/context.js +1 -1
  376. package/es/observable/decorator.js +1 -1
  377. package/es/observable/hooks.js +2 -2
  378. package/es/observable/index.d.ts +11 -11
  379. package/es/observable/index.d.ts.map +1 -1
  380. package/es/observable/index.js +11 -11
  381. package/es/observable/notifiable.d.ts +2 -2
  382. package/es/observable/notifiable.d.ts.map +1 -1
  383. package/es/observable/notifiable.js +3 -3
  384. package/es/observable/notifier.d.ts +2 -2
  385. package/es/observable/notifier.d.ts.map +1 -1
  386. package/es/observable/notifier.js +5 -5
  387. package/es/observable/observable.js +4 -4
  388. package/es/observable/tracker.d.ts +1 -1
  389. package/es/observable/tracker.d.ts.map +1 -1
  390. package/es/observable/tracker.js +5 -5
  391. package/es/observable/utils.d.ts +1 -1
  392. package/es/observable/utils.d.ts.map +1 -1
  393. package/es/observable/utils.js +2 -2
  394. package/es/observable/watch.d.ts +1 -1
  395. package/es/observable/watch.d.ts.map +1 -1
  396. package/es/observable/watch.js +3 -3
  397. package/es/output-utils.d.ts +22 -0
  398. package/es/output-utils.d.ts.map +1 -0
  399. package/es/output-utils.js +76 -0
  400. package/es/polling/protocol.d.ts +1 -1
  401. package/es/polling/protocol.d.ts.map +1 -1
  402. package/es/react/index.d.ts +7 -7
  403. package/es/react/index.d.ts.map +1 -1
  404. package/es/react/index.js +7 -7
  405. package/es/react/layout/boxpanel/Pane.js +2 -2
  406. package/es/react/layout/boxpanel/context.d.ts +1 -1
  407. package/es/react/layout/boxpanel/context.d.ts.map +1 -1
  408. package/es/react/layout/boxpanel/index.d.ts +2 -2
  409. package/es/react/layout/boxpanel/index.d.ts.map +1 -1
  410. package/es/react/layout/boxpanel/index.js +4 -4
  411. package/es/react/layout/layout.d.ts +1 -1
  412. package/es/react/layout/layout.d.ts.map +1 -1
  413. package/es/react/layout/layout.js +1 -1
  414. package/es/react/layout/splitpanel/index.js +1 -1
  415. package/es/react/menu/divider.js +1 -1
  416. package/es/react/menu/index.d.ts +2 -2
  417. package/es/react/menu/index.d.ts.map +1 -1
  418. package/es/react/menu/index.js +2 -2
  419. package/es/react/menu/item.d.ts +1 -1
  420. package/es/react/menu/item.d.ts.map +1 -1
  421. package/es/react/menu/item.js +1 -1
  422. package/es/react/menu/menu.d.ts +3 -3
  423. package/es/react/menu/menu.d.ts.map +1 -1
  424. package/es/react/menu/menu.js +4 -4
  425. package/es/react/menu/submenu.d.ts +1 -1
  426. package/es/react/menu/submenu.d.ts.map +1 -1
  427. package/es/react/menu/submenu.js +2 -2
  428. package/es/react/menubar/index.d.ts +1 -1
  429. package/es/react/menubar/index.d.ts.map +1 -1
  430. package/es/react/menubar/index.js +1 -1
  431. package/es/react/menubar/item.js +1 -1
  432. package/es/react/menubar/menubar.d.ts +1 -1
  433. package/es/react/menubar/menubar.js +2 -2
  434. package/es/react/notification/index.d.ts +4 -4
  435. package/es/react/notification/index.d.ts.map +1 -1
  436. package/es/react/notification/index.js +5 -5
  437. package/es/react/notification/protocol.js +1 -1
  438. package/es/react/notification/pure-panel.d.ts +1 -1
  439. package/es/react/notification/pure-panel.d.ts.map +1 -1
  440. package/es/react/notification/pure-panel.js +1 -1
  441. package/es/react/notification/use-notification.d.ts +1 -1
  442. package/es/react/notification/use-notification.d.ts.map +1 -1
  443. package/es/react/notification/use-notification.js +6 -6
  444. package/es/react/resize/index.d.ts +1 -1
  445. package/es/react/resize/index.d.ts.map +1 -1
  446. package/es/react/resize/index.js +1 -1
  447. package/es/react/tabs/index.js +1 -1
  448. package/es/react/util.js +1 -1
  449. package/es/url.d.ts.map +1 -1
  450. package/es/url.js +1 -1
  451. package/package.json +1 -1
  452. package/src/app/file-tree/file-tree-component.tsx +1 -1
  453. package/src/app/file-tree/index.ts +6 -6
  454. package/src/app/index.spec.ts +1 -1
  455. package/src/app/menu/menu-context.tsx +1 -1
  456. package/src/app/tree/components/index.tsx +11 -10
  457. package/src/app/tree/components/tree-switch-icon.tsx +1 -1
  458. package/src/app/tree/index.ts +15 -15
  459. package/src/app/tree/view/index.ts +3 -3
  460. package/src/app/tree/view/tree-view-selection.ts +2 -2
  461. package/src/app/view/components/index.ts +1 -1
  462. package/src/app/view/index.ts +10 -9
  463. package/src/app/view/tab/index.ts +3 -3
  464. package/src/common/cancellation.spec.ts +2 -2
  465. package/src/common/deferred.ts +1 -1
  466. package/src/common/disposable-collection.ts +1 -1
  467. package/src/common/disposable.spec.ts +2 -2
  468. package/src/common/disposable.ts +1 -1
  469. package/src/common/event.spec.ts +4 -4
  470. package/src/common/event.ts +4 -4
  471. package/src/common/index.ts +24 -24
  472. package/src/common/objects.ts +2 -2
  473. package/src/common/observable-disposable.ts +2 -2
  474. package/src/common/path.spec.ts +1 -1
  475. package/src/common/priority.ts +2 -2
  476. package/src/common/promise-util.spec.ts +3 -3
  477. package/src/common/promise-util.ts +2 -2
  478. package/src/common/stopwatch.ts +1 -1
  479. package/src/common/strings.ts +1 -1
  480. package/src/common/types.spec.ts +1 -1
  481. package/src/common/uri.spec.ts +2 -2
  482. package/src/common/uri.ts +3 -3
  483. package/src/common/utils.spec.ts +1 -1
  484. package/src/common/valueTypes.ts +1 -1
  485. package/src/common/wait-until-event.spec.ts +3 -3
  486. package/src/common/wait-until-event.ts +1 -1
  487. package/src/core/application/application-state.ts +2 -2
  488. package/src/core/application/application.ts +3 -4
  489. package/src/core/application/default-window-service.ts +3 -3
  490. package/src/core/application/index.ts +6 -6
  491. package/src/core/application/mock-window-service.ts +1 -1
  492. package/src/core/command/command-registry.ts +4 -4
  493. package/src/core/command/index.ts +4 -4
  494. package/src/core/common/index.ts +7 -7
  495. package/src/core/common/storage-service.ts +3 -3
  496. package/src/core/components/application.tsx +11 -11
  497. package/src/core/components/context.tsx +5 -5
  498. package/src/core/components/hooks.tsx +4 -4
  499. package/src/core/components/index.tsx +4 -4
  500. package/src/core/components/root-view-render.tsx +1 -2
  501. package/src/core/configuration/configuration-cache.ts +2 -2
  502. package/src/core/configuration/configuration-protocol.ts +1 -1
  503. package/src/core/configuration/configuration-provider.ts +4 -4
  504. package/src/core/configuration/configuration-registry.ts +5 -6
  505. package/src/core/configuration/configuration-render-registry.ts +4 -4
  506. package/src/core/configuration/configuration-service.ts +9 -10
  507. package/src/core/configuration/hooks.ts +4 -3
  508. package/src/core/configuration/index.ts +10 -10
  509. package/src/core/configuration/module.ts +7 -7
  510. package/src/core/configuration/validation.ts +4 -3
  511. package/src/core/context/data-context-manager.ts +6 -4
  512. package/src/core/context/data-context-protocol.ts +1 -2
  513. package/src/core/context/data-context.tsx +3 -3
  514. package/src/core/context/index.ts +9 -6
  515. package/src/core/index.spec.ts +1 -1
  516. package/src/core/index.ts +28 -28
  517. package/src/core/keybinding/context-key-service.ts +3 -3
  518. package/src/core/keybinding/index.ts +5 -5
  519. package/src/core/keybinding/keybinding-proocol.ts +1 -1
  520. package/src/core/keybinding/keybinding.ts +9 -10
  521. package/src/core/keybinding/module.ts +10 -7
  522. package/src/core/keybinding/vs/configuration/configuration.ts +3 -3
  523. package/src/core/keybinding/vs/configuration/configurationModels.ts +2 -3
  524. package/src/core/keybinding/vs/configuration/configurationRegistry.ts +5 -6
  525. package/src/core/keybinding/vs/configuration/configurationService.ts +8 -9
  526. package/src/core/keybinding/vs/contextKeyService.ts +9 -9
  527. package/src/core/keybinding/vs/contextkeys.ts +3 -3
  528. package/src/core/keybinding/vs/jsonContributionRegistry.ts +2 -2
  529. package/src/core/keybinding/vs/platform.test.ts +1 -1
  530. package/src/core/keyboard/browser-keyboard-layout-provider.ts +4 -5
  531. package/src/core/keyboard/index.ts +4 -4
  532. package/src/core/keyboard/keyboard-layout-service.ts +5 -4
  533. package/src/core/keyboard/layouts/index.ts +2 -2
  534. package/src/core/menu/default-menu-node.ts +5 -6
  535. package/src/core/menu/index.ts +7 -7
  536. package/src/core/menu/menu-protocol.ts +2 -2
  537. package/src/core/menu/menu-registry.ts +5 -6
  538. package/src/core/menu/module.ts +7 -7
  539. package/src/core/module/index.ts +3 -3
  540. package/src/core/module/mana-module-context.ts +1 -1
  541. package/src/core/module/mana-module.test.ts +2 -2
  542. package/src/core/module/mana-module.ts +1 -1
  543. package/src/core/module/module-protocol.ts +1 -1
  544. package/src/core/selection/index.ts +3 -3
  545. package/src/core/theme/base-variable-registry.ts +6 -7
  546. package/src/core/theme/basic/antd-variable-contribution.ts +2 -2
  547. package/src/core/theme/basic/default-variable-contribution.ts +2 -2
  548. package/src/core/theme/basic/index.spec.ts +2 -2
  549. package/src/core/theme/basic/index.ts +2 -2
  550. package/src/core/theme/basic/variable-protocol.ts +1 -1
  551. package/src/core/theme/basic/variable-registry.ts +2 -2
  552. package/src/core/theme/color/antd-color-contribution.ts +3 -3
  553. package/src/core/theme/color/color-protocol.ts +3 -3
  554. package/src/core/theme/color/color-registry.ts +3 -3
  555. package/src/core/theme/color/default-color-contribution.ts +3 -3
  556. package/src/core/theme/color/index.spec.ts +5 -6
  557. package/src/core/theme/color/index.ts +2 -2
  558. package/src/core/theme/index.spec.ts +2 -3
  559. package/src/core/theme/index.ts +15 -15
  560. package/src/core/theme/theme-app.ts +8 -9
  561. package/src/core/theme/theme-service.ts +3 -4
  562. package/src/core/toolbar/default-toolbar-item.ts +3 -3
  563. package/src/core/toolbar/index.ts +7 -7
  564. package/src/core/toolbar/toolbar-protocol.ts +1 -2
  565. package/src/core/toolbar/toolbar-registry.ts +4 -5
  566. package/src/core/utils/index.ts +3 -3
  567. package/src/core/view/decorator.ts +9 -10
  568. package/src/core/view/default-slot-view.tsx +11 -10
  569. package/src/core/view/default-view.tsx +5 -4
  570. package/src/core/view/focus-tracker.ts +1 -1
  571. package/src/core/view/hooks.tsx +2 -2
  572. package/src/core/view/index.ts +22 -22
  573. package/src/core/view/module.ts +12 -12
  574. package/src/core/view/navigatable-types.ts +4 -4
  575. package/src/core/view/navigatable.ts +3 -3
  576. package/src/core/view/portal-slot-view.tsx +8 -7
  577. package/src/core/view/root-view.tsx +9 -9
  578. package/src/core/view/saveable.ts +1 -2
  579. package/src/core/view/slot-view-manager.ts +7 -8
  580. package/src/core/view/slot.tsx +8 -7
  581. package/src/core/view/stateful-view.ts +2 -2
  582. package/src/core/view/title.tsx +5 -4
  583. package/src/core/view/view-application.ts +6 -7
  584. package/src/core/view/view-container.tsx +11 -11
  585. package/src/core/view/view-context.tsx +4 -4
  586. package/src/core/view/view-manager.ts +8 -9
  587. package/src/core/view/view-meta.ts +3 -4
  588. package/src/core/view/view-open-handler.ts +6 -6
  589. package/src/core/view/view-protocol.ts +3 -3
  590. package/src/core/view/view-render.tsx +8 -7
  591. package/src/core/view/view-storage.ts +10 -11
  592. package/src/index.ts +1 -0
  593. package/src/ioc/container-api.ts +1 -1
  594. package/src/ioc/container.spec.ts +4 -4
  595. package/src/ioc/contribution/contribution-register.ts +4 -4
  596. package/src/ioc/contribution/decorator.ts +3 -3
  597. package/src/ioc/contribution/index.spec.ts +8 -8
  598. package/src/ioc/contribution/index.ts +5 -5
  599. package/src/ioc/decorator.spec.ts +2 -2
  600. package/src/ioc/decorator.ts +3 -3
  601. package/src/ioc/features/auto-factory.spec.ts +4 -4
  602. package/src/ioc/index.ts +8 -8
  603. package/src/ioc/inversify-api/index.spec.ts +3 -3
  604. package/src/ioc/inversify-api/index.ts +2 -2
  605. package/src/ioc/module/index.spec.ts +9 -2
  606. package/src/ioc/module/index.ts +2 -2
  607. package/src/ioc/module/syringe-module.ts +5 -5
  608. package/src/ioc/register.spec.ts +1 -1
  609. package/src/ioc/register.ts +6 -6
  610. package/src/ioc/side-option.spec.ts +3 -3
  611. package/src/ioc/side-option.ts +1 -1
  612. package/src/l10n/index.ts +2 -2
  613. package/src/l10n/l10n/index.ts +1 -1
  614. package/src/l10n/lang/index.ts +1 -1
  615. package/src/observable/async-event.spec.tsx +1 -1
  616. package/src/observable/config.spec.ts +1 -1
  617. package/src/observable/context.tsx +2 -2
  618. package/src/observable/decorator.spec.ts +1 -1
  619. package/src/observable/decorator.ts +1 -1
  620. package/src/observable/hooks.spec.tsx +1 -1
  621. package/src/observable/hooks.ts +2 -2
  622. package/src/observable/index.ts +11 -11
  623. package/src/observable/notifiable.spec.ts +1 -1
  624. package/src/observable/notifiable.ts +3 -3
  625. package/src/observable/notifier.spec.ts +1 -1
  626. package/src/observable/notifier.ts +6 -6
  627. package/src/observable/observable.spec.ts +1 -1
  628. package/src/observable/observable.ts +4 -4
  629. package/src/observable/tracker.spec.ts +1 -1
  630. package/src/observable/tracker.ts +5 -5
  631. package/src/observable/utils.spec.tsx +1 -1
  632. package/src/observable/utils.ts +3 -3
  633. package/src/observable/watch.spec.ts +1 -1
  634. package/src/observable/watch.ts +4 -4
  635. package/src/output-utils.ts +98 -0
  636. package/src/polling/protocol.ts +1 -1
  637. package/src/react/index.spec.ts +1 -1
  638. package/src/react/index.ts +7 -7
  639. package/src/react/layout/boxpanel/Pane.tsx +2 -2
  640. package/src/react/layout/boxpanel/context.ts +2 -1
  641. package/src/react/layout/boxpanel/index.tsx +4 -4
  642. package/src/react/layout/layout.ts +1 -1
  643. package/src/react/layout/splitpanel/index.tsx +2 -2
  644. package/src/react/menu/divider.tsx +1 -1
  645. package/src/react/menu/index.ts +2 -2
  646. package/src/react/menu/item.tsx +1 -1
  647. package/src/react/menu/menu.tsx +4 -4
  648. package/src/react/menu/submenu.tsx +3 -3
  649. package/src/react/menubar/index.ts +1 -1
  650. package/src/react/menubar/item.tsx +1 -1
  651. package/src/react/menubar/menubar.tsx +2 -2
  652. package/src/react/notification/index.tsx +7 -7
  653. package/src/react/notification/protocol.ts +1 -1
  654. package/src/react/notification/pure-panel.tsx +2 -2
  655. package/src/react/notification/use-notification.tsx +7 -7
  656. package/src/react/resize/index.tsx +2 -2
  657. package/src/react/tabs/index.tsx +1 -1
  658. package/src/react/util.ts +1 -1
  659. package/src/url.ts +2 -1
  660. package/src/l10n/l10n/index.test.ts +0 -145
@@ -8,8 +8,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
8
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10
10
  import * as React from 'react';
11
- import { MenuContext } from "./context";
12
- import { getProps, getContent } from "./item";
11
+ import { MenuContext } from "./context.js";
12
+ import { getProps, getContent } from "./item.js";
13
13
  import "./styles/index.less";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  var noop = function noop() {
@@ -1,2 +1,2 @@
1
- export * from './menubar';
1
+ export * from './menubar.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/menubar/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/menubar/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -1 +1 @@
1
- export * from "./menubar";
1
+ export * from "./menubar.js";
@@ -6,7 +6,7 @@ import classnames from 'classnames';
6
6
  import * as React from 'react';
7
7
  import { useEffect } from 'react';
8
8
  import * as ReactDom from 'react-dom';
9
- import { MenubarContext } from "./context";
9
+ import { MenubarContext } from "./context.js";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { jsxs as _jsxs } from "react/jsx-runtime";
12
12
  function stopPropagation(e) {
@@ -10,6 +10,6 @@ export interface MenubarProps {
10
10
  export declare const defaultMenubarProps: MenubarProps;
11
11
  export declare const Menubar: {
12
12
  (props: MenubarProps): import("react/jsx-runtime").JSX.Element;
13
- Item: (props: import("./item").MenubarItemProps) => import("react/jsx-runtime").JSX.Element;
13
+ Item: (props: import("./item.js").MenubarItemProps) => import("react/jsx-runtime").JSX.Element;
14
14
  };
15
15
  //# sourceMappingURL=menubar.d.ts.map
@@ -9,8 +9,8 @@ import addEventListener from 'rc-util/lib/Dom/addEventListener';
9
9
  import * as React from 'react';
10
10
  import "./styles/index.less";
11
11
  import "../menu/styles/index.less";
12
- import { MenubarContext } from "./context";
13
- import { MenubarItem } from "./item";
12
+ import { MenubarContext } from "./context.js";
13
+ import { MenubarItem } from "./item.js";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
16
16
  export var defaultMenubarProps = {
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import type { NotificationArgsProps } from './protocol';
3
- import PurePanel from './pure-panel';
4
- import './style';
5
- export type { NotificationArgsProps } from './protocol';
2
+ import type { NotificationArgsProps } from './protocol.js';
3
+ import PurePanel from './pure-panel.js';
4
+ import './style/index.js';
5
+ export type { NotificationArgsProps } from './protocol.js';
6
6
  interface BaseMethods {
7
7
  open: (config: NotificationArgsProps) => void;
8
8
  destroy: (key?: React.Key) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EACV,qBAAqB,EAGtB,MAAM,YAAY,CAAC;AACpB,OAAO,SAAS,MAAM,cAAc,CAAC;AAGrC,OAAO,SAAS,CAAC;AAEjB,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAmKxD,UAAU,WAAW;IACnB,IAAI,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC9C,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK,IAAI,CAAC;IACnC,kEAAkE;IAClE,sCAAsC,EAAE,OAAO,SAAS,CAAC;CAC1D;AAED,KAAK,QAAQ,GAAG,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;AAExD,UAAU,aAAa;IACrB,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;IAClB,KAAK,EAAE,QAAQ,CAAC;CACjB;AAgBD,eAAO,MAAM,YAAY,6BAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EACV,qBAAqB,EAGtB,MAAM,eAAe,CAAC;AACvB,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAGxC,OAAO,kBAAkB,CAAC;AAE1B,YAAY,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAmK3D,UAAU,WAAW;IACnB,IAAI,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC9C,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,KAAK,IAAI,CAAC;IACnC,kEAAkE;IAClE,sCAAsC,EAAE,OAAO,SAAS,CAAC;CAC1D;AAED,KAAK,QAAQ,GAAG,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;AAExD,UAAU,aAAa;IACrB,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;IAClB,KAAK,EAAE,QAAQ,CAAC;CACjB;AAgBD,eAAO,MAAM,YAAY,6BAAgB,CAAC"}
@@ -11,11 +11,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import React, { forwardRef, useEffect } from 'react';
14
- import { defaultPrefixCls } from "../constant";
15
- import PurePanel from "./pure-panel";
16
- import { render } from "./render";
17
- import { useInternalNotification } from "./use-notification";
18
- import "./style";
14
+ import { defaultPrefixCls } from "../constant.js";
15
+ import PurePanel from "./pure-panel.js";
16
+ import { render } from "./render.js";
17
+ import { useInternalNotification } from "./use-notification.js";
18
+ import "./style/index.js";
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  var globalNotification = null;
21
21
  var act = function act(callback) {
@@ -1,4 +1,4 @@
1
- import { defaultPrefixCls } from "../constant";
1
+ import { defaultPrefixCls } from "../constant.js";
2
2
  export var DEFAULT_TOP = 24;
3
3
  export var DEFAULT_BOTTOM = 24;
4
4
  export var DEFAULT_OFFSET = 24;
@@ -1,6 +1,6 @@
1
1
  import type { NoticeProps } from 'rc-notification/es/Notice';
2
2
  import * as React from 'react';
3
- import type { IconType } from './protocol';
3
+ import type { IconType } from './protocol.js';
4
4
  export declare const TypeIcon: {
5
5
  info: import("react/jsx-runtime").JSX.Element;
6
6
  success: import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"pure-panel.d.ts","sourceRoot":"","sources":["../../../src/react/notification/pure-panel.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAC1B,KAAK,CAAC,SAAS,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ACvB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC3B;AASD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkBlD,CAAC;AAEF,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,UAAU,CAAC,EACjD,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,UAAU,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,kEAAkE;AAClE,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwCvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -16,7 +16,7 @@ import LoadingOutlined from '@ant-design/icons/LoadingOutlined';
16
16
  import classNames from 'classnames';
17
17
  import { Notice } from 'rc-notification';
18
18
  import * as React from 'react';
19
- import { NOTIFICATION_PREFIX_CLS } from "./protocol";
19
+ import { NOTIFICATION_PREFIX_CLS } from "./protocol.js";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  import { jsxs as _jsxs } from "react/jsx-runtime";
22
22
  export var TypeIcon = {
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { NotificationConfig, NotificationInstance } from './protocol';
2
+ import type { NotificationConfig, NotificationInstance } from './protocol.js';
3
3
  export declare function getCloseIcon(prefixCls: string, closeIcon?: ReactNode): ReactNode;
4
4
  type HolderProps = NotificationConfig & {
5
5
  onAllRemoved?: VoidFunction;
@@ -1 +1 @@
1
- {"version":3,"file":"use-notification.d.ts","sourceRoot":"","sources":["../../../src/react/notification/use-notification.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAEV,kBAAkB,EAClB,oBAAoB,EAErB,MAAM,YAAY,CAAC;AAQpB,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAKhF;AACD,KAAK,WAAW,GAAG,kBAAkB,GAAG;IACtC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAwDF,wBAAgB,uBAAuB,CACrC,kBAAkB,CAAC,EAAE,WAAW,GAC/B,SAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,YAAY,CAAC,CA6FrD"}
1
+ {"version":3,"file":"use-notification.d.ts","sourceRoot":"","sources":["../../../src/react/notification/use-notification.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAEV,kBAAkB,EAClB,oBAAoB,EAErB,MAAM,eAAe,CAAC;AAQvB,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAKhF;AACD,KAAK,WAAW,GAAG,kBAAkB,GAAG;IACtC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAwDF,wBAAgB,uBAAuB,CACrC,kBAAkB,CAAC,EAAE,WAAW,GAC/B,SAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,YAAY,CAAC,CA6FrD"}
@@ -19,12 +19,12 @@ import { useNotification as useRcNotification } from 'rc-notification';
19
19
  import { useImperativeHandle } from 'react';
20
20
  import { forwardRef } from 'react';
21
21
  import { useMemo, useRef } from 'react';
22
- import { DEFAULT_DURATION } from "./protocol";
23
- import { getPlacementStyle } from "./protocol";
24
- import { DEFAULT_OFFSET } from "./protocol";
25
- import { NOTIFICATION_PREFIX_CLS } from "./protocol";
26
- import { DEFAULT_PLACEMENT } from "./protocol";
27
- import { PureContent } from "./pure-panel";
22
+ import { DEFAULT_DURATION } from "./protocol.js";
23
+ import { getPlacementStyle } from "./protocol.js";
24
+ import { DEFAULT_OFFSET } from "./protocol.js";
25
+ import { NOTIFICATION_PREFIX_CLS } from "./protocol.js";
26
+ import { DEFAULT_PLACEMENT } from "./protocol.js";
27
+ import { PureContent } from "./pure-panel.js";
28
28
  import { jsx as _jsx } from "react/jsx-runtime";
29
29
  export function getCloseIcon(prefixCls, closeIcon) {
30
30
  if (closeIcon === null || closeIcon === false) {
@@ -1,4 +1,4 @@
1
- import type { Layout } from '../layout/layout';
1
+ import type { Layout } from '../layout/layout.js';
2
2
  export declare const RESIZE_LOCK = "resize-lock";
3
3
  import './styles/index.less';
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/resize/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,OAAO,qBAAqB,CAAC;AAE7B;;;;GAIG;AACH,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,SAAS,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IACtC,QAAQ,EAAE,SAAS,GAAG,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC,CAAC;IACrF,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B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,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5E,eAAe,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,KAAK,MAAM,CAAC;CACjD;AAkCD,eAAO,MAAM,sBAAsB,UAAW,iBAAiB,4CAoU9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,iBAAiB,4CA0W5D,CAAC"}
@@ -8,7 +8,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
8
8
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
9
9
  import classnames from 'classnames';
10
10
  import * as React from 'react';
11
- import { defaultPrefixCls } from "../constant";
11
+ import { defaultPrefixCls } from "../constant.js";
12
12
  export var RESIZE_LOCK = 'resize-lock';
13
13
  import "./styles/index.less";
14
14
 
@@ -11,7 +11,7 @@ import { EllipsisOutlined, CloseOutlined, PlusOutlined } from '@ant-design/icons
11
11
  import classNames from 'classnames';
12
12
  import RcTabs, { TabPane } from 'rc-tabs';
13
13
  import * as React from 'react';
14
- import { getPrefixCls } from "../util";
14
+ import { getPrefixCls } from "../util.js";
15
15
  import "./styles/index.less";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  export var Tabs = function Tabs(_ref) {
package/es/react/util.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defaultPrefixCls } from "./constant";
1
+ import { defaultPrefixCls } from "./constant.js";
2
2
  export var getPrefixCls = function getPrefixCls(suffixCls) {
3
3
  return suffixCls ? "".concat(defaultPrefixCls, "-").concat(suffixCls) : defaultPrefixCls;
4
4
  };
package/es/url.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../src/url.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,qBAAa,GAAG;IACd;;;;;;OAMG;IACH,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAGvC;;OAEG;IACH,MAAM,CAAC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S;IAC3C,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS;IAa7D;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM;IAmBvC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAGvC;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAQ/B;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;CAOrC;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
package/es/url.js CHANGED
@@ -10,9 +10,9 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
10
10
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
12
  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); }
13
- import { isWeb } from "./app";
14
13
  import { posix } from 'path-browserify';
15
14
  import urlparse from 'url-parse';
15
+ import { isWeb } from "./app/index.js";
16
16
 
17
17
  /**
18
18
  * The namespace for URL-related functions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-common",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -3,7 +3,7 @@ import 'file-icons-js/css/style.css';
3
3
 
4
4
  import type { ComponentType } from 'react';
5
5
 
6
- import { TreeViewContent as TreeViewContentInner } from '../tree/view';
6
+ import { TreeViewContent as TreeViewContentInner } from '../tree/view/index.js';
7
7
 
8
8
  export const TreeViewContent: ComponentType<any> = (props: any) => {
9
9
  return <TreeViewContentInner {...props} />;
@@ -1,6 +1,6 @@
1
- export * from './files';
2
- export * from './file-tree';
3
- export * from './file-service';
4
- export * from './file-tree-model';
5
- export * from './file-tree-view';
6
- export * from './module';
1
+ export * from './files.js';
2
+ export * from './file-tree.js';
3
+ export * from './file-service.js';
4
+ export * from './file-tree-model.js';
5
+ export * from './file-tree-view.js';
6
+ export * from './module.js';
@@ -7,7 +7,7 @@ import {
7
7
  FileTreeView,
8
8
  ToolbarRender,
9
9
  MenuRender,
10
- } from './index';
10
+ } from './index.js';
11
11
 
12
12
  describe('app', () => {
13
13
  it('#app import', () => {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
 
3
- import type { Menu } from './menu';
3
+ import type { Menu } from './menu.js';
4
4
 
5
5
  /**
6
6
  * @deprecated use useInject(MenuInstance) instead
@@ -1,13 +1,14 @@
1
- import type { TreeNodeComponents } from '../tree';
2
- import { TreeNodeCaption } from './tree-node-caption';
3
- import { TreeNodeExpansion } from './tree-node-expansion';
4
- import { TreeNodeIcon } from './tree-node-icon';
5
- import { TreeNodeIconDecorator } from './tree-node-icon-decorator';
6
- import { TreeNodeCaptionAffixes } from './tree-node-caption-affix';
7
- import { TreeNodeTailDecorations } from './tree-node-tail-decoration';
8
- import { TreeNodeComponent } from './tree-node';
9
- import { TreeIdent } from './tree-ident';
10
- import { TreeSwitchIcon } from './tree-switch-icon';
1
+ import type { TreeNodeComponents } from '../tree.js';
2
+
3
+ import { TreeIdent } from './tree-ident.js';
4
+ import { TreeNodeCaptionAffixes } from './tree-node-caption-affix.js';
5
+ import { TreeNodeCaption } from './tree-node-caption.js';
6
+ import { TreeNodeExpansion } from './tree-node-expansion.js';
7
+ import { TreeNodeIconDecorator } from './tree-node-icon-decorator.js';
8
+ import { TreeNodeIcon } from './tree-node-icon.js';
9
+ import { TreeNodeTailDecorations } from './tree-node-tail-decoration.js';
10
+ import { TreeNodeComponent } from './tree-node.js';
11
+ import { TreeSwitchIcon } from './tree-switch-icon.js';
11
12
 
12
13
  export const DefaultTreeNodeComponents: TreeNodeComponents = {
13
14
  TreeNodeExpansion,
@@ -1,7 +1,7 @@
1
1
  import { DownOutlined } from '@ant-design/icons';
2
2
  import * as React from 'react';
3
3
 
4
- import type { TreeNodeProps } from '../tree';
4
+ import type { TreeNodeProps } from '../tree.js';
5
5
 
6
6
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7
7
  export const TreeSwitchIcon: React.FC<TreeNodeProps> = (_props: TreeNodeProps) => {
@@ -1,15 +1,15 @@
1
- export * from './module';
2
- export * from './view';
3
- export * from './tree-model';
4
- export * from './tree-impl';
5
- export * from './tree-selection-impl';
6
- export * from './tree-expansion';
7
- export * from './tree-navigation';
8
- export * from './tree-decorator';
9
- export * from './tree';
10
- export * from './components';
11
- export * from './tree-protocol';
12
- export * from './tree-selection';
13
- export * from './tree-label-provider';
14
- export * from './tree-iterator';
15
- export * from './tree-view-decoration';
1
+ export * from './module.js';
2
+ export * from './view/index.js';
3
+ export * from './tree-model.js';
4
+ export * from './tree-impl.js';
5
+ export * from './tree-selection-impl.js';
6
+ export * from './tree-expansion.js';
7
+ export * from './tree-navigation.js';
8
+ export * from './tree-decorator.js';
9
+ export * from './tree.js';
10
+ export * from './components/index.js';
11
+ export * from './tree-protocol.js';
12
+ export * from './tree-selection.js';
13
+ export * from './tree-label-provider.js';
14
+ export * from './tree-iterator.js';
15
+ export * from './tree-view-decoration.js';
@@ -1,3 +1,3 @@
1
- export * from './tree-view';
2
- export * from './tree-view-decorator';
3
- export * from './tree-view-module';
1
+ export * from './tree-view.js';
2
+ export * from './tree-view-decorator.js';
3
+ export * from './tree-view-module.js';
@@ -1,6 +1,6 @@
1
- import type { SelectableTreeNode } from '../tree-selection';
1
+ import type { SelectableTreeNode } from '../tree-selection.js';
2
2
 
3
- import { TreeView } from './tree-view';
3
+ import { TreeView } from './tree-view.js';
4
4
 
5
5
  export type TreeViewSelection = readonly Readonly<SelectableTreeNode>[] & {
6
6
  source: TreeView;
@@ -1 +1 @@
1
- export * from './loading';
1
+ export * from './loading/index.js';
@@ -1,14 +1,15 @@
1
- import { TabSlotView, SideTabView, CardTabView } from './tab';
2
- import { BoxSlotView } from './box';
3
1
  import { ManaModule } from '../../core/index.js';
4
- import { FlexSlotView } from './flex';
5
- import { HeaderModule } from './header';
6
2
 
7
- export * from './components';
8
- export * from './box';
9
- export * from './tab';
10
- export * from './flex';
11
- export * from './header';
3
+ import { BoxSlotView } from './box/index.js';
4
+ import { FlexSlotView } from './flex/index.js';
5
+ import { HeaderModule } from './header/index.js';
6
+ import { TabSlotView, SideTabView, CardTabView } from './tab/index.js';
7
+
8
+ export * from './components/index.js';
9
+ export * from './box/index.js';
10
+ export * from './tab/index.js';
11
+ export * from './flex/index.js';
12
+ export * from './header/index.js';
12
13
 
13
14
  export const DefaultViewModule = ManaModule.create()
14
15
  .register(TabSlotView, SideTabView, CardTabView, BoxSlotView, FlexSlotView)
@@ -1,3 +1,3 @@
1
- export * from './tab-view';
2
- export * from './side-tab-view';
3
- export * from './card-tab-view';
1
+ export * from './tab-view.js';
2
+ export * from './side-tab-view.js';
3
+ export * from './card-tab-view.js';
@@ -6,8 +6,8 @@ import {
6
6
  cancelled,
7
7
  checkCancelled,
8
8
  isCancelled,
9
- } from '.';
10
- import { Deferred } from '.';
9
+ } from './index.js';
10
+ import { Deferred } from './index.js';
11
11
 
12
12
  describe('cancellation', () => {
13
13
  const waitTime = (number = 100) => {
@@ -1,4 +1,4 @@
1
- import { noop } from './utils';
1
+ import { noop } from './utils.js';
2
2
 
3
3
  /**
4
4
  * Deferred pattern.
@@ -1,4 +1,4 @@
1
- import { Disposable } from './disposable';
1
+ import { Disposable } from './disposable.js';
2
2
  import type { Event } from './event.js';
3
3
  import { Emitter } from './event.js';
4
4
 
@@ -1,7 +1,7 @@
1
1
  import assert from 'assert';
2
2
 
3
- import { Deferred, Disposable, noop } from '.';
4
- import { DisposableCollection } from '.';
3
+ import { Deferred, Disposable, noop } from './index.js';
4
+ import { DisposableCollection } from './index.js';
5
5
 
6
6
  describe('disposable', () => {
7
7
  it('#Disposable is', () => {
@@ -1,4 +1,4 @@
1
- import { noop } from './utils';
1
+ import { noop } from './utils.js';
2
2
 
3
3
  export type Disposable = {
4
4
  disposed?: boolean | undefined;
@@ -1,9 +1,9 @@
1
1
  import assert from 'assert';
2
2
 
3
- import type { Disposable } from '.';
4
- import { noop } from '.';
5
- import { Deferred } from '.';
6
- import { Emitter, Event } from '.';
3
+ import type { Disposable } from './index.js';
4
+ import { noop } from './index.js';
5
+ import { Deferred } from './index.js';
6
+ import { Emitter, Event } from './index.js';
7
7
 
8
8
  describe('event', () => {
9
9
  describe('Event', () => {
@@ -1,7 +1,7 @@
1
- import { Disposable } from './disposable';
2
- import { LinkedList } from './linkedList';
3
- import type { MaybePromise } from './types';
4
- import { noop } from './utils';
1
+ import { Disposable } from './disposable.js';
2
+ import { LinkedList } from './linkedList.js';
3
+ import type { MaybePromise } from './types.js';
4
+ import { noop } from './utils.js';
5
5
 
6
6
  /**
7
7
  * Represents a typed event.
@@ -1,27 +1,27 @@
1
- import * as objects from './objects';
2
- import * as types from './valueTypes';
1
+ import * as objects from './objects.js';
2
+ import * as types from './valueTypes.js';
3
3
 
4
- export * from './assert';
5
- export * from './collections';
6
- export * from './event';
7
- export * from './wait-until-event';
8
- export * from './cancellation';
9
- export * from './disposable';
10
- export * from './disposable-collection';
11
- export * from './deferred';
12
- export * from './types';
13
- export * from './iterator';
14
- export * from './linkedList';
15
- export * from './strings';
16
- export * from './objects';
4
+ export * from './assert.js';
5
+ export * from './collections.js';
6
+ export * from './event.js';
7
+ export * from './wait-until-event.js';
8
+ export * from './cancellation.js';
9
+ export * from './disposable.js';
10
+ export * from './disposable-collection.js';
11
+ export * from './deferred.js';
12
+ export * from './types.js';
13
+ export * from './iterator.js';
14
+ export * from './linkedList.js';
15
+ export * from './strings.js';
16
+ export * from './objects.js';
17
17
  export { objects };
18
18
  export { types };
19
- export * from './uri';
20
- export * from './platform';
21
- export * from './priority';
22
- export * from './utils';
23
- export * from './charCode';
24
- export * from './objects';
25
- export * from './path';
26
- export * from './promise-util';
27
- export * from './vscode-uri';
19
+ export * from './uri.js';
20
+ export * from './platform.js';
21
+ export * from './priority.js';
22
+ export * from './utils.js';
23
+ export * from './charCode.js';
24
+ export * from './objects.js';
25
+ export * from './path.js';
26
+ export * from './promise-util.js';
27
+ export * from './vscode-uri/index.js';
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
- import { isObject, isUndefinedOrNull, isArray } from './valueTypes';
6
+ import { isObject, isUndefinedOrNull, isArray } from './valueTypes.js';
7
7
 
8
8
  export function deepClone<T>(obj: T): T {
9
9
  if (!obj || typeof obj !== 'object') {
@@ -181,7 +181,7 @@ export function safeStringify(obj: any): string {
181
181
  return JSON.stringify(obj, (_key, value) => {
182
182
  if (isObject(value) || Array.isArray(value)) {
183
183
  if (seen.has(value)) {
184
- return '[Circular]';
184
+ return '[Circular].js';
185
185
  }
186
186
  seen.add(value);
187
187
  }
@@ -1,5 +1,5 @@
1
- import type { Disposable } from './disposable';
2
- import type { Event } from './event';
1
+ import type { Disposable } from './disposable.js';
2
+ import type { Event } from './event.js';
3
3
 
4
4
  /**
5
5
  * A disposable object with an observable `disposed` signal.
@@ -1,6 +1,6 @@
1
1
  import assert from 'assert';
2
2
 
3
- import { Path } from '.';
3
+ import { Path } from './index.js';
4
4
 
5
5
  describe('Path util', () => {
6
6
  it('#normalizeDrive', async () => {
@@ -1,6 +1,6 @@
1
- import type { MaybeArray } from './types';
1
+ import type { MaybeArray } from './types.js';
2
2
 
3
- import type { MaybePromise } from '.';
3
+ import type { MaybePromise } from './index.js';
4
4
 
5
5
  export enum Priority {
6
6
  PRIOR = 1000,
@@ -1,8 +1,8 @@
1
1
  import assert from 'assert';
2
2
 
3
- import { timeout, retry } from '.';
4
- import { CancellationTokenSource } from '.';
5
- import { Deferred } from '.';
3
+ import { timeout, retry } from './index.js';
4
+ import { CancellationTokenSource } from './index.js';
5
+ import { Deferred } from './index.js';
6
6
 
7
7
  describe('promise util', () => {
8
8
  it('#timeout', async () => {
@@ -1,5 +1,5 @@
1
- import { CancellationToken, cancelled } from './cancellation';
2
- import { Deferred } from './deferred';
1
+ import { CancellationToken, cancelled } from './cancellation.js';
2
+ import { Deferred } from './deferred.js';
3
3
 
4
4
  /**
5
5
  * @returns resolves after a specified number of milliseconds