@opensumi/ide-core-common 2.12.1-next-079c1930
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application-error.d.ts +36 -0
- package/lib/application-error.d.ts.map +1 -0
- package/lib/application-error.js +64 -0
- package/lib/application-error.js.map +1 -0
- package/lib/application-props.d.ts +26 -0
- package/lib/application-props.d.ts.map +1 -0
- package/lib/application-props.js +3 -0
- package/lib/application-props.js.map +1 -0
- package/lib/arrays.d.ts +131 -0
- package/lib/arrays.d.ts.map +1 -0
- package/lib/arrays.js +533 -0
- package/lib/arrays.js.map +1 -0
- package/lib/async.d.ts +165 -0
- package/lib/async.d.ts.map +1 -0
- package/lib/async.js +417 -0
- package/lib/async.js.map +1 -0
- package/lib/browser-fs/ensure-dir.d.ts +7 -0
- package/lib/browser-fs/ensure-dir.d.ts.map +1 -0
- package/lib/browser-fs/ensure-dir.js +40 -0
- package/lib/browser-fs/ensure-dir.js.map +1 -0
- package/lib/browser-fs/util.d.ts +18 -0
- package/lib/browser-fs/util.d.ts.map +1 -0
- package/lib/browser-fs/util.js +21 -0
- package/lib/browser-fs/util.js.map +1 -0
- package/lib/cache.d.ts +12 -0
- package/lib/cache.d.ts.map +1 -0
- package/lib/cache.js +36 -0
- package/lib/cache.js.map +1 -0
- package/lib/cancellation.d.ts +23 -0
- package/lib/cancellation.d.ts.map +1 -0
- package/lib/cancellation.js +116 -0
- package/lib/cancellation.js.map +1 -0
- package/lib/charCode.d.ts +406 -0
- package/lib/charCode.d.ts.map +1 -0
- package/lib/charCode.js +8 -0
- package/lib/charCode.js.map +1 -0
- package/lib/character-classifier.d.ts +25 -0
- package/lib/character-classifier.d.ts.map +1 -0
- package/lib/character-classifier.js +58 -0
- package/lib/character-classifier.js.map +1 -0
- package/lib/command.d.ts +350 -0
- package/lib/command.d.ts.map +1 -0
- package/lib/command.js +408 -0
- package/lib/command.js.map +1 -0
- package/lib/connection.d.ts +8 -0
- package/lib/connection.d.ts.map +1 -0
- package/lib/connection.js +17 -0
- package/lib/connection.js.map +1 -0
- package/lib/const/application.d.ts +3 -0
- package/lib/const/application.d.ts.map +1 -0
- package/lib/const/application.js +6 -0
- package/lib/const/application.js.map +1 -0
- package/lib/const/encodings.d.ts +10 -0
- package/lib/const/encodings.d.ts.map +1 -0
- package/lib/const/encodings.js +244 -0
- package/lib/const/encodings.js.map +1 -0
- package/lib/const/index.d.ts +2 -0
- package/lib/const/index.d.ts.map +1 -0
- package/lib/const/index.js +5 -0
- package/lib/const/index.js.map +1 -0
- package/lib/contribution-provider.d.ts +38 -0
- package/lib/contribution-provider.d.ts.map +1 -0
- package/lib/contribution-provider.js +60 -0
- package/lib/contribution-provider.js.map +1 -0
- package/lib/credential.d.ts +21 -0
- package/lib/credential.d.ts.map +1 -0
- package/lib/credential.js +6 -0
- package/lib/credential.js.map +1 -0
- package/lib/cryptr.d.ts +7 -0
- package/lib/cryptr.d.ts.map +1 -0
- package/lib/cryptr.js +6 -0
- package/lib/cryptr.js.map +1 -0
- package/lib/date.d.ts +2 -0
- package/lib/date.d.ts.map +1 -0
- package/lib/date.js +16 -0
- package/lib/date.js.map +1 -0
- package/lib/declare.d.ts +3 -0
- package/lib/declare.d.ts.map +1 -0
- package/lib/declare.js +3 -0
- package/lib/declare.js.map +1 -0
- package/lib/di-helper/domain-helper.d.ts +14 -0
- package/lib/di-helper/domain-helper.d.ts.map +1 -0
- package/lib/di-helper/domain-helper.js +48 -0
- package/lib/di-helper/domain-helper.js.map +1 -0
- package/lib/di-helper/index.d.ts +2 -0
- package/lib/di-helper/index.d.ts.map +1 -0
- package/lib/di-helper/index.js +5 -0
- package/lib/di-helper/index.js.map +1 -0
- package/lib/disposable.d.ts +88 -0
- package/lib/disposable.d.ts.map +1 -0
- package/lib/disposable.js +309 -0
- package/lib/disposable.js.map +1 -0
- package/lib/electron.d.ts +118 -0
- package/lib/electron.d.ts.map +1 -0
- package/lib/electron.js +7 -0
- package/lib/electron.js.map +1 -0
- package/lib/encoding/index.d.ts +34 -0
- package/lib/encoding/index.d.ts.map +1 -0
- package/lib/encoding/index.js +219 -0
- package/lib/encoding/index.js.map +1 -0
- package/lib/env.d.ts +2 -0
- package/lib/env.d.ts.map +1 -0
- package/lib/env.js +5 -0
- package/lib/env.js.map +1 -0
- package/lib/errors.d.ts +60 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +148 -0
- package/lib/errors.js.map +1 -0
- package/lib/event-bus/basic-event.d.ts +5 -0
- package/lib/event-bus/basic-event.d.ts.map +1 -0
- package/lib/event-bus/basic-event.js +10 -0
- package/lib/event-bus/basic-event.js.map +1 -0
- package/lib/event-bus/event-bus-types.d.ts +66 -0
- package/lib/event-bus/event-bus-types.d.ts.map +1 -0
- package/lib/event-bus/event-bus-types.js +5 -0
- package/lib/event-bus/event-bus-types.js.map +1 -0
- package/lib/event-bus/event-bus.d.ts +13 -0
- package/lib/event-bus/event-bus.d.ts.map +1 -0
- package/lib/event-bus/event-bus.js +55 -0
- package/lib/event-bus/event-bus.js.map +1 -0
- package/lib/event-bus/event-decorator.d.ts +10 -0
- package/lib/event-bus/event-decorator.d.ts.map +1 -0
- package/lib/event-bus/event-decorator.js +34 -0
- package/lib/event-bus/event-decorator.js.map +1 -0
- package/lib/event-bus/index.d.ts +5 -0
- package/lib/event-bus/index.d.ts.map +1 -0
- package/lib/event-bus/index.js +8 -0
- package/lib/event-bus/index.js.map +1 -0
- package/lib/event.d.ts +270 -0
- package/lib/event.d.ts.map +1 -0
- package/lib/event.js +810 -0
- package/lib/event.js.map +1 -0
- package/lib/filters.d.ts +51 -0
- package/lib/filters.d.ts.map +1 -0
- package/lib/filters.js +688 -0
- package/lib/filters.js.map +1 -0
- package/lib/functional.d.ts +4 -0
- package/lib/functional.d.ts.map +1 -0
- package/lib/functional.js +45 -0
- package/lib/functional.js.map +1 -0
- package/lib/hash-calculate/WASMInterface.d.ts +61 -0
- package/lib/hash-calculate/WASMInterface.d.ts.map +1 -0
- package/lib/hash-calculate/WASMInterface.js +180 -0
- package/lib/hash-calculate/WASMInterface.js.map +1 -0
- package/lib/hash-calculate/hash-calculate.d.ts +13 -0
- package/lib/hash-calculate/hash-calculate.d.ts.map +1 -0
- package/lib/hash-calculate/hash-calculate.js +41 -0
- package/lib/hash-calculate/hash-calculate.js.map +1 -0
- package/lib/hash-calculate/lockedCreate.d.ts +4 -0
- package/lib/hash-calculate/lockedCreate.d.ts.map +1 -0
- package/lib/hash-calculate/lockedCreate.js +17 -0
- package/lib/hash-calculate/lockedCreate.js.map +1 -0
- package/lib/hash-calculate/md5.wasm.json +1 -0
- package/lib/hash-calculate/mutex.d.ts +6 -0
- package/lib/hash-calculate/mutex.d.ts.map +1 -0
- package/lib/hash-calculate/mutex.js +32 -0
- package/lib/hash-calculate/mutex.js.map +1 -0
- package/lib/hash-calculate/util.d.ts +12 -0
- package/lib/hash-calculate/util.d.ts.map +1 -0
- package/lib/hash-calculate/util.js +166 -0
- package/lib/hash-calculate/util.js.map +1 -0
- package/lib/id-generator.d.ts +8 -0
- package/lib/id-generator.d.ts.map +1 -0
- package/lib/id-generator.js +15 -0
- package/lib/id-generator.js.map +1 -0
- package/lib/index.d.ts +47 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +50 -0
- package/lib/index.js.map +1 -0
- package/lib/iterator.d.ts +14 -0
- package/lib/iterator.d.ts.map +1 -0
- package/lib/iterator.js +9 -0
- package/lib/iterator.js.map +1 -0
- package/lib/json-schema.d.ts +65 -0
- package/lib/json-schema.d.ts.map +1 -0
- package/lib/json-schema.js +3 -0
- package/lib/json-schema.js.map +1 -0
- package/lib/keyboard/index.d.ts +3 -0
- package/lib/keyboard/index.d.ts.map +1 -0
- package/lib/keyboard/index.js +6 -0
- package/lib/keyboard/index.js.map +1 -0
- package/lib/keyboard/keyboard-layout-provider.d.ts +38 -0
- package/lib/keyboard/keyboard-layout-provider.d.ts.map +1 -0
- package/lib/keyboard/keyboard-layout-provider.js +23 -0
- package/lib/keyboard/keyboard-layout-provider.js.map +1 -0
- package/lib/keyboard/keymap.d.ts +71 -0
- package/lib/keyboard/keymap.d.ts.map +1 -0
- package/lib/keyboard/keymap.js +128 -0
- package/lib/keyboard/keymap.js.map +1 -0
- package/lib/lifecycle.d.ts +17 -0
- package/lib/lifecycle.d.ts.map +1 -0
- package/lib/lifecycle.js +37 -0
- package/lib/lifecycle.js.map +1 -0
- package/lib/line-text.d.ts +17 -0
- package/lib/line-text.d.ts.map +1 -0
- package/lib/line-text.js +72 -0
- package/lib/line-text.js.map +1 -0
- package/lib/linked-list.d.ts +18 -0
- package/lib/linked-list.d.ts.map +1 -0
- package/lib/linked-list.js +138 -0
- package/lib/linked-list.js.map +1 -0
- package/lib/linkedText.d.ts +13 -0
- package/lib/linkedText.d.ts.map +1 -0
- package/lib/linkedText.js +50 -0
- package/lib/linkedText.js.map +1 -0
- package/lib/localize.d.ts +52 -0
- package/lib/localize.d.ts.map +1 -0
- package/lib/localize.js +128 -0
- package/lib/localize.js.map +1 -0
- package/lib/log.d.ts +181 -0
- package/lib/log.d.ts.map +1 -0
- package/lib/log.js +163 -0
- package/lib/log.js.map +1 -0
- package/lib/map.d.ts +124 -0
- package/lib/map.d.ts.map +1 -0
- package/lib/map.js +819 -0
- package/lib/map.js.map +1 -0
- package/lib/menu.d.ts +27 -0
- package/lib/menu.d.ts.map +1 -0
- package/lib/menu.js +5 -0
- package/lib/menu.js.map +1 -0
- package/lib/mocks/electron/browserMock.d.ts +2 -0
- package/lib/mocks/electron/browserMock.d.ts.map +1 -0
- package/lib/mocks/electron/browserMock.js +15 -0
- package/lib/mocks/electron/browserMock.js.map +1 -0
- package/lib/mocks/electron/ipcRenderer.d.ts +13 -0
- package/lib/mocks/electron/ipcRenderer.d.ts.map +1 -0
- package/lib/mocks/electron/ipcRenderer.js +32 -0
- package/lib/mocks/electron/ipcRenderer.js.map +1 -0
- package/lib/module.d.ts +23 -0
- package/lib/module.d.ts.map +1 -0
- package/lib/module.js +22 -0
- package/lib/module.js.map +1 -0
- package/lib/network.d.ts +33 -0
- package/lib/network.d.ts.map +1 -0
- package/lib/network.js +37 -0
- package/lib/network.js.map +1 -0
- package/lib/node/port.d.ts +14 -0
- package/lib/node/port.d.ts.map +1 -0
- package/lib/node/port.js +124 -0
- package/lib/node/port.js.map +1 -0
- package/lib/path.d.ts +92 -0
- package/lib/path.d.ts.map +1 -0
- package/lib/path.js +1711 -0
- package/lib/path.js.map +1 -0
- package/lib/platform.d.ts +48 -0
- package/lib/platform.d.ts.map +1 -0
- package/lib/platform.js +143 -0
- package/lib/platform.js.map +1 -0
- package/lib/preferences/index.d.ts +3 -0
- package/lib/preferences/index.d.ts.map +1 -0
- package/lib/preferences/index.js +6 -0
- package/lib/preferences/index.js.map +1 -0
- package/lib/preferences/preference-schema.d.ts +76 -0
- package/lib/preferences/preference-schema.d.ts.map +1 -0
- package/lib/preferences/preference-schema.js +59 -0
- package/lib/preferences/preference-schema.js.map +1 -0
- package/lib/preferences/preference-scope.d.ts +15 -0
- package/lib/preferences/preference-scope.d.ts.map +1 -0
- package/lib/preferences/preference-scope.js +54 -0
- package/lib/preferences/preference-scope.js.map +1 -0
- package/lib/problem-matcher.d.ts +111 -0
- package/lib/problem-matcher.d.ts.map +1 -0
- package/lib/problem-matcher.js +294 -0
- package/lib/problem-matcher.js.map +1 -0
- package/lib/problem-pattern.d.ts +193 -0
- package/lib/problem-pattern.d.ts.map +1 -0
- package/lib/problem-pattern.js +416 -0
- package/lib/problem-pattern.js.map +1 -0
- package/lib/process.d.ts +5 -0
- package/lib/process.d.ts.map +1 -0
- package/lib/process.js +15 -0
- package/lib/process.js.map +1 -0
- package/lib/progress.d.ts +56 -0
- package/lib/progress.d.ts.map +1 -0
- package/lib/progress.js +25 -0
- package/lib/progress.js.map +1 -0
- package/lib/range.d.ts +7 -0
- package/lib/range.d.ts.map +1 -0
- package/lib/range.js +28 -0
- package/lib/range.js.map +1 -0
- package/lib/reference.d.ts +35 -0
- package/lib/reference.d.ts.map +1 -0
- package/lib/reference.js +122 -0
- package/lib/reference.js.map +1 -0
- package/lib/reporter.d.ts +16 -0
- package/lib/reporter.d.ts.map +1 -0
- package/lib/reporter.js +66 -0
- package/lib/reporter.js.map +1 -0
- package/lib/sequence.d.ts +20 -0
- package/lib/sequence.d.ts.map +1 -0
- package/lib/sequence.js +17 -0
- package/lib/sequence.js.map +1 -0
- package/lib/storage.d.ts +64 -0
- package/lib/storage.d.ts.map +1 -0
- package/lib/storage.js +70 -0
- package/lib/storage.js.map +1 -0
- package/lib/task-definition.d.ts +45 -0
- package/lib/task-definition.d.ts.map +1 -0
- package/lib/task-definition.js +130 -0
- package/lib/task-definition.js.map +1 -0
- package/lib/theme.d.ts +5 -0
- package/lib/theme.d.ts.map +1 -0
- package/lib/theme.js +8 -0
- package/lib/theme.js.map +1 -0
- package/lib/types/accessibility.d.ts +5 -0
- package/lib/types/accessibility.d.ts.map +1 -0
- package/lib/types/accessibility.js +3 -0
- package/lib/types/accessibility.js.map +1 -0
- package/lib/types/application.d.ts +13 -0
- package/lib/types/application.d.ts.map +1 -0
- package/lib/types/application.js +5 -0
- package/lib/types/application.js.map +1 -0
- package/lib/types/authentication.d.ts +90 -0
- package/lib/types/authentication.d.ts.map +1 -0
- package/lib/types/authentication.js +8 -0
- package/lib/types/authentication.js.map +1 -0
- package/lib/types/common.d.ts +10 -0
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/common.js +6 -0
- package/lib/types/common.js.map +1 -0
- package/lib/types/dnd.d.ts +8 -0
- package/lib/types/dnd.d.ts.map +1 -0
- package/lib/types/dnd.js +9 -0
- package/lib/types/dnd.js.map +1 -0
- package/lib/types/editor.d.ts +157 -0
- package/lib/types/editor.d.ts.map +1 -0
- package/lib/types/editor.js +148 -0
- package/lib/types/editor.js.map +1 -0
- package/lib/types/extension.d.ts +73 -0
- package/lib/types/extension.d.ts.map +1 -0
- package/lib/types/extension.js +28 -0
- package/lib/types/extension.js.map +1 -0
- package/lib/types/file-watch.d.ts +70 -0
- package/lib/types/file-watch.d.ts.map +1 -0
- package/lib/types/file-watch.js +72 -0
- package/lib/types/file-watch.js.map +1 -0
- package/lib/types/file.d.ts +219 -0
- package/lib/types/file.d.ts.map +1 -0
- package/lib/types/file.js +51 -0
- package/lib/types/file.js.map +1 -0
- package/lib/types/index.d.ts +13 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +16 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/markers/index.d.ts +3 -0
- package/lib/types/markers/index.d.ts.map +1 -0
- package/lib/types/markers/index.js +6 -0
- package/lib/types/markers/index.js.map +1 -0
- package/lib/types/markers/markers-manager.d.ts +120 -0
- package/lib/types/markers/markers-manager.d.ts.map +1 -0
- package/lib/types/markers/markers-manager.js +307 -0
- package/lib/types/markers/markers-manager.js.map +1 -0
- package/lib/types/markers/markers.d.ts +76 -0
- package/lib/types/markers/markers.d.ts.map +1 -0
- package/lib/types/markers/markers.js +76 -0
- package/lib/types/markers/markers.js.map +1 -0
- package/lib/types/message.d.ts +7 -0
- package/lib/types/message.d.ts.map +1 -0
- package/lib/types/message.js +11 -0
- package/lib/types/message.js.map +1 -0
- package/lib/types/reporter.d.ts +83 -0
- package/lib/types/reporter.d.ts.map +1 -0
- package/lib/types/reporter.js +63 -0
- package/lib/types/reporter.js.map +1 -0
- package/lib/types/string.d.ts +4 -0
- package/lib/types/string.d.ts.map +1 -0
- package/lib/types/string.js +3 -0
- package/lib/types/string.js.map +1 -0
- package/lib/uint.d.ts +32 -0
- package/lib/uint.d.ts.map +1 -0
- package/lib/uint.js +28 -0
- package/lib/uint.js.map +1 -0
- package/lib/uri.d.ts +94 -0
- package/lib/uri.d.ts.map +1 -0
- package/lib/uri.js +226 -0
- package/lib/uri.js.map +1 -0
- package/lib/utils/ansi.d.ts +5 -0
- package/lib/utils/ansi.d.ts.map +1 -0
- package/lib/utils/ansi.js +16 -0
- package/lib/utils/ansi.js.map +1 -0
- package/lib/utils/arrays.d.ts +62 -0
- package/lib/utils/arrays.d.ts.map +1 -0
- package/lib/utils/arrays.js +254 -0
- package/lib/utils/arrays.js.map +1 -0
- package/lib/utils/buffer.d.ts +36 -0
- package/lib/utils/buffer.d.ts.map +1 -0
- package/lib/utils/buffer.js +178 -0
- package/lib/utils/buffer.js.map +1 -0
- package/lib/utils/comparers.d.ts +7 -0
- package/lib/utils/comparers.d.ts.map +1 -0
- package/lib/utils/comparers.js +135 -0
- package/lib/utils/comparers.js.map +1 -0
- package/lib/utils/decorators.d.ts +13 -0
- package/lib/utils/decorators.d.ts.map +1 -0
- package/lib/utils/decorators.js +150 -0
- package/lib/utils/decorators.js.map +1 -0
- package/lib/utils/file-uri.d.ts +30 -0
- package/lib/utils/file-uri.d.ts.map +1 -0
- package/lib/utils/file-uri.js +62 -0
- package/lib/utils/file-uri.js.map +1 -0
- package/lib/utils/glob.d.ts +46 -0
- package/lib/utils/glob.d.ts.map +1 -0
- package/lib/utils/glob.js +546 -0
- package/lib/utils/glob.js.map +1 -0
- package/lib/utils/index.d.ts +14 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +17 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/ipc.d.ts +2 -0
- package/lib/utils/ipc.d.ts.map +1 -0
- package/lib/utils/ipc.js +21 -0
- package/lib/utils/ipc.js.map +1 -0
- package/lib/utils/json.d.ts +78 -0
- package/lib/utils/json.d.ts.map +1 -0
- package/lib/utils/json.js +190 -0
- package/lib/utils/json.js.map +1 -0
- package/lib/utils/marshalling.d.ts +7 -0
- package/lib/utils/marshalling.d.ts.map +1 -0
- package/lib/utils/marshalling.js +57 -0
- package/lib/utils/marshalling.js.map +1 -0
- package/lib/utils/objects.d.ts +6 -0
- package/lib/utils/objects.d.ts.map +1 -0
- package/lib/utils/objects.js +103 -0
- package/lib/utils/objects.js.map +1 -0
- package/lib/utils/os.d.ts +42 -0
- package/lib/utils/os.d.ts.map +1 -0
- package/lib/utils/os.js +94 -0
- package/lib/utils/os.js.map +1 -0
- package/lib/utils/paths.d.ts +35 -0
- package/lib/utils/paths.d.ts.map +1 -0
- package/lib/utils/paths.js +318 -0
- package/lib/utils/paths.js.map +1 -0
- package/lib/utils/promise-util.d.ts +10 -0
- package/lib/utils/promise-util.d.ts.map +1 -0
- package/lib/utils/promise-util.js +17 -0
- package/lib/utils/promise-util.js.map +1 -0
- package/lib/utils/strings.d.ts +177 -0
- package/lib/utils/strings.d.ts.map +1 -0
- package/lib/utils/strings.js +837 -0
- package/lib/utils/strings.js.map +1 -0
- package/lib/utils/types.d.ts +65 -0
- package/lib/utils/types.d.ts.map +1 -0
- package/lib/utils/types.js +194 -0
- package/lib/utils/types.js.map +1 -0
- package/lib/uuid.d.ts +2 -0
- package/lib/uuid.d.ts.map +1 -0
- package/lib/uuid.js +10 -0
- package/lib/uuid.js.map +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BasicEvent } from './basic-event';
|
|
2
|
+
import { ConstructorOf } from '../declare';
|
|
3
|
+
import { IEventBus } from './event-bus-types';
|
|
4
|
+
import { Disposable } from '../disposable';
|
|
5
|
+
export declare class WithEventBus extends Disposable {
|
|
6
|
+
protected eventBus: IEventBus;
|
|
7
|
+
constructor(...args: any[]);
|
|
8
|
+
}
|
|
9
|
+
export declare function OnEvent<T extends BasicEvent<any>>(Constructor: ConstructorOf<T>): (target: object, key: string, descriptor: TypedPropertyDescriptor<(event: T) => void>) => void;
|
|
10
|
+
//# sourceMappingURL=event-decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-decorator.d.ts","sourceRoot":"","sources":["../../src/event-bus/event-decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAK9C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBAAa,YAAa,SAAQ,UAAU;IAE1C,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAElB,GAAG,IAAI,EAAE,GAAG,EAAE;CAW3B;AAED,wBAAgB,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,YAC9D,MAAM,OAAO,MAAM,8CAA8C,CAAC,KAAK,IAAI,WAK5F"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OnEvent = exports.WithEventBus = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const event_bus_types_1 = require("./event-bus-types");
|
|
6
|
+
const EVENT_TOKEN = Symbol('EVENT_TOKEN');
|
|
7
|
+
const di_1 = require("@opensumi/di");
|
|
8
|
+
const disposable_1 = require("../disposable");
|
|
9
|
+
class WithEventBus extends disposable_1.Disposable {
|
|
10
|
+
constructor(...args) {
|
|
11
|
+
super(...args);
|
|
12
|
+
const map = Reflect.getMetadata(EVENT_TOKEN, this) || new Map();
|
|
13
|
+
for (const [key, Constructor] of map.entries()) {
|
|
14
|
+
const dispose = this.eventBus.on(Constructor, (event) => {
|
|
15
|
+
return this[key](event);
|
|
16
|
+
});
|
|
17
|
+
this.addDispose(dispose);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
(0, tslib_1.__decorate)([
|
|
22
|
+
(0, di_1.Autowired)(event_bus_types_1.IEventBus),
|
|
23
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
24
|
+
], WithEventBus.prototype, "eventBus", void 0);
|
|
25
|
+
exports.WithEventBus = WithEventBus;
|
|
26
|
+
function OnEvent(Constructor) {
|
|
27
|
+
return (target, key, descriptor) => {
|
|
28
|
+
const map = Reflect.getMetadata(EVENT_TOKEN, target) || new Map();
|
|
29
|
+
map.set(key, Constructor);
|
|
30
|
+
Reflect.defineMetadata(EVENT_TOKEN, map, target);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.OnEvent = OnEvent;
|
|
34
|
+
//# sourceMappingURL=event-decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-decorator.js","sourceRoot":"","sources":["../../src/event-bus/event-decorator.ts"],"names":[],"mappings":";;;;AAEA,uDAA8C;AAE9C,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AAE1C,qCAAwC;AACxC,8CAA2C;AAE3C,MAAa,YAAa,SAAQ,uBAAU;IAI1C,YAAY,GAAG,IAAW;QACxB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;QAEf,MAAM,GAAG,GAAoC,OAAO,CAAC,WAAW,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QACjG,KAAK,MAAM,CAAC,GAAG,EAAE,WAAW,CAAC,IAAI,GAAG,CAAC,OAAO,EAAE,EAAE;YAC9C,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC,KAAU,EAAE,EAAE;gBAC3D,OAAQ,IAAY,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;SAC1B;IACH,CAAC;CACF;AAbC;IADC,IAAA,cAAS,EAAC,2BAAS,CAAC;;8CACS;AAFhC,oCAeC;AAED,SAAgB,OAAO,CAA4B,WAA6B;IAC9E,OAAO,CAAC,MAAc,EAAE,GAAW,EAAE,UAAuD,EAAE,EAAE;QAC9F,MAAM,GAAG,GAAoC,OAAO,CAAC,WAAW,CAAC,WAAW,EAAE,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC;QACnG,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;QAC1B,OAAO,CAAC,cAAc,CAAC,WAAW,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC,CAAA;AACH,CAAC;AAND,0BAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/event-bus/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./basic-event"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("./event-bus-types"), exports);
|
|
6
|
+
(0, tslib_1.__exportStar)(require("./event-bus"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./event-decorator"), exports);
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/event-bus/index.ts"],"names":[],"mappings":";;;AAAA,6DAA8B;AAC9B,iEAAkC;AAClC,2DAA4B;AAC5B,iEAAkC"}
|
package/lib/event.d.ts
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { IDisposable } from './disposable';
|
|
2
|
+
import { LinkedList } from './linked-list';
|
|
3
|
+
import { CancellationToken } from './cancellation';
|
|
4
|
+
/**
|
|
5
|
+
* 重要备注
|
|
6
|
+
* 由于 vscode 内部的 DisposableStore 有个私有属性导致类型冲突
|
|
7
|
+
* 因此在 event 模块中的 disposables 不再支持传入 DisposableStore 类型
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* To an event a function with one or zero parameters
|
|
11
|
+
* can be subscribed. The event is the subscriber function itself.
|
|
12
|
+
*/
|
|
13
|
+
export interface Event<T> {
|
|
14
|
+
(listener: (e: T) => any, thisArgs?: any, disposables?: IDisposable[]): IDisposable;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace Event {
|
|
17
|
+
const None: Event<any>;
|
|
18
|
+
/**
|
|
19
|
+
* Given an event, returns another event which only fires once.
|
|
20
|
+
*/
|
|
21
|
+
function once<T>(event: Event<T>): Event<T>;
|
|
22
|
+
/**
|
|
23
|
+
* Given an event and a `map` function, returns another event which maps each element
|
|
24
|
+
* throught the mapping function.
|
|
25
|
+
*/
|
|
26
|
+
function map<I, O>(event: Event<I>, map: (i: I) => O): Event<O>;
|
|
27
|
+
/**
|
|
28
|
+
* Given an event and an `each` function, returns another identical event and calls
|
|
29
|
+
* the `each` function per each element.
|
|
30
|
+
*/
|
|
31
|
+
function forEach<I>(event: Event<I>, each: (i: I) => void): Event<I>;
|
|
32
|
+
/**
|
|
33
|
+
* Given an event and a `filter` function, returns another event which emits those
|
|
34
|
+
* elements for which the `filter` function returns `true`.
|
|
35
|
+
*/
|
|
36
|
+
function filter<T>(event: Event<T>, filter: (e: T) => boolean): Event<T>;
|
|
37
|
+
function filter<T, R>(event: Event<T | R>, filter: (e: T | R) => e is R): Event<R>;
|
|
38
|
+
/**
|
|
39
|
+
* Given an event, returns the same event but typed as `Event<void>`.
|
|
40
|
+
*/
|
|
41
|
+
function signal<T>(event: Event<T>): Event<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Given a collection of events, returns a single event which emits
|
|
44
|
+
* whenever any of the provided events emit.
|
|
45
|
+
*/
|
|
46
|
+
function any<T>(...events: Event<T>[]): Event<T>;
|
|
47
|
+
/**
|
|
48
|
+
* Given an event and a `merge` function, returns another event which maps each element
|
|
49
|
+
* and the cummulative result throught the `merge` function. Similar to `map`, but with memory.
|
|
50
|
+
*/
|
|
51
|
+
function reduce<I, O>(event: Event<I>, merge: (last: O | undefined, event: I) => O, initial?: O): Event<O>;
|
|
52
|
+
/**
|
|
53
|
+
* Given a chain of event processing functions (filter, map, etc), each
|
|
54
|
+
* function will be invoked per event & per listener. Snapshotting an event
|
|
55
|
+
* chain allows each function to be invoked just once per event.
|
|
56
|
+
*/
|
|
57
|
+
function snapshot<T>(event: Event<T>): Event<T>;
|
|
58
|
+
/**
|
|
59
|
+
* Debounces the provided event, given a `merge` function.
|
|
60
|
+
*
|
|
61
|
+
* @param event The input event.
|
|
62
|
+
* @param merge The reducing function.
|
|
63
|
+
* @param delay The debouncing delay in millis.
|
|
64
|
+
* @param leading Whether the event should fire in the leading phase of the timeout.
|
|
65
|
+
* @param leakWarningThreshold The leak warning threshold override.
|
|
66
|
+
*/
|
|
67
|
+
function debounce<T>(event: Event<T>, merge: (last: T | undefined, event: T) => T, delay?: number, leading?: boolean, leakWarningThreshold?: number): Event<T>;
|
|
68
|
+
function debounce<I, O>(event: Event<I>, merge: (last: O | undefined, event: I) => O, delay?: number, leading?: boolean, leakWarningThreshold?: number): Event<O>;
|
|
69
|
+
/**
|
|
70
|
+
* Given an event, it returns another event which fires only once and as soon as
|
|
71
|
+
* the input event emits. The event data is the number of millis it took for the
|
|
72
|
+
* event to fire.
|
|
73
|
+
*/
|
|
74
|
+
function stopwatch<T>(event: Event<T>): Event<number>;
|
|
75
|
+
/**
|
|
76
|
+
* Given an event, it returns another event which fires only when the event
|
|
77
|
+
* element changes.
|
|
78
|
+
*/
|
|
79
|
+
function latch<T>(event: Event<T>): Event<T>;
|
|
80
|
+
/**
|
|
81
|
+
* Buffers the provided event until a first listener comes
|
|
82
|
+
* along, at which point fire all the events at once and
|
|
83
|
+
* pipe the event from then on.
|
|
84
|
+
*
|
|
85
|
+
* ```typescript
|
|
86
|
+
* const emitter = new Emitter<number>();
|
|
87
|
+
* const event = emitter.event;
|
|
88
|
+
* const bufferedEvent = buffer(event);
|
|
89
|
+
*
|
|
90
|
+
* emitter.fire(1);
|
|
91
|
+
* emitter.fire(2);
|
|
92
|
+
* emitter.fire(3);
|
|
93
|
+
* // nothing...
|
|
94
|
+
*
|
|
95
|
+
* const listener = bufferedEvent(num => console.log(num));
|
|
96
|
+
* // 1, 2, 3
|
|
97
|
+
*
|
|
98
|
+
* emitter.fire(4);
|
|
99
|
+
* // 4
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
function buffer<T>(event: Event<T>, nextTick?: boolean, _buffer?: T[]): Event<T>;
|
|
103
|
+
interface IChainableEvent<T> {
|
|
104
|
+
event: Event<T>;
|
|
105
|
+
map<O>(fn: (i: T) => O): IChainableEvent<O>;
|
|
106
|
+
forEach(fn: (i: T) => void): IChainableEvent<T>;
|
|
107
|
+
filter(fn: (e: T) => boolean): IChainableEvent<T>;
|
|
108
|
+
reduce<R>(merge: (last: R | undefined, event: T) => R, initial?: R): IChainableEvent<R>;
|
|
109
|
+
latch(): IChainableEvent<T>;
|
|
110
|
+
on(listener: (e: T) => any, thisArgs?: any, disposables?: IDisposable[]): IDisposable;
|
|
111
|
+
once(listener: (e: T) => any, thisArgs?: any, disposables?: IDisposable[]): IDisposable;
|
|
112
|
+
}
|
|
113
|
+
function chain<T>(event: Event<T>): IChainableEvent<T>;
|
|
114
|
+
interface NodeEventEmitter {
|
|
115
|
+
on(event: string | symbol, listener: Function): this;
|
|
116
|
+
removeListener(event: string | symbol, listener: Function): this;
|
|
117
|
+
}
|
|
118
|
+
function fromNodeEventEmitter<T>(emitter: NodeEventEmitter, eventName: string, map?: (...args: any[]) => T): Event<T>;
|
|
119
|
+
function fromPromise<T = any>(promise: Promise<T>): Event<undefined>;
|
|
120
|
+
function toPromise<T>(event: Event<T>): Promise<T>;
|
|
121
|
+
}
|
|
122
|
+
declare type Listener<T> = [(e: T) => void, any] | ((e: T) => void);
|
|
123
|
+
export interface EmitterOptions {
|
|
124
|
+
onFirstListenerAdd?: Function;
|
|
125
|
+
onFirstListenerDidAdd?: Function;
|
|
126
|
+
onListenerDidAdd?: Function;
|
|
127
|
+
onLastListenerRemove?: Function;
|
|
128
|
+
leakWarningThreshold?: number;
|
|
129
|
+
}
|
|
130
|
+
export declare function setGlobalLeakWarningThreshold(n: number): IDisposable;
|
|
131
|
+
/**
|
|
132
|
+
* The Emitter can be used to expose an Event to the public
|
|
133
|
+
* to fire it from the insides.
|
|
134
|
+
* Sample:
|
|
135
|
+
class Document {
|
|
136
|
+
|
|
137
|
+
private _onDidChange = new Emitter<(value:string)=>any>();
|
|
138
|
+
|
|
139
|
+
public onDidChange = this._onDidChange.event;
|
|
140
|
+
|
|
141
|
+
// getter-style
|
|
142
|
+
// get onDidChange(): Event<(value:string)=>any> {
|
|
143
|
+
// return this._onDidChange.event;
|
|
144
|
+
// }
|
|
145
|
+
|
|
146
|
+
private _doIt() {
|
|
147
|
+
//...
|
|
148
|
+
this._onDidChange.fire(value);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
*/
|
|
152
|
+
export interface IAsyncResult<T> {
|
|
153
|
+
err?: Error;
|
|
154
|
+
result?: T;
|
|
155
|
+
}
|
|
156
|
+
export declare class Emitter<T> {
|
|
157
|
+
private static readonly _noop;
|
|
158
|
+
private readonly _options?;
|
|
159
|
+
private readonly _leakageMon?;
|
|
160
|
+
private _disposed;
|
|
161
|
+
private _event?;
|
|
162
|
+
private _deliveryQueue?;
|
|
163
|
+
protected _listeners?: LinkedList<Listener<T>>;
|
|
164
|
+
constructor(options?: EmitterOptions);
|
|
165
|
+
/**
|
|
166
|
+
* For the public to allow to subscribe
|
|
167
|
+
* to events from this Emitter
|
|
168
|
+
*/
|
|
169
|
+
get event(): Event<T>;
|
|
170
|
+
/**
|
|
171
|
+
* To be kept private to fire an event to
|
|
172
|
+
* subscribers
|
|
173
|
+
*/
|
|
174
|
+
fire(event: T): void;
|
|
175
|
+
/**
|
|
176
|
+
* 发送一个异步事件,等待所有监听器返回,并收集返回值
|
|
177
|
+
* @param e
|
|
178
|
+
* @param timeout
|
|
179
|
+
*/
|
|
180
|
+
fireAndAwait<R = any>(event: T, timeout?: number): Promise<Array<IAsyncResult<R>>>;
|
|
181
|
+
get listenerSize(): number;
|
|
182
|
+
dispose(): void;
|
|
183
|
+
}
|
|
184
|
+
export declare class PauseableEmitter<T> extends Emitter<T> {
|
|
185
|
+
private _isPaused;
|
|
186
|
+
private _eventQueue;
|
|
187
|
+
private _mergeFn?;
|
|
188
|
+
constructor(options?: EmitterOptions & {
|
|
189
|
+
merge?: (input: T[]) => T;
|
|
190
|
+
});
|
|
191
|
+
pause(): void;
|
|
192
|
+
resume(): void;
|
|
193
|
+
fire(event: T): void;
|
|
194
|
+
}
|
|
195
|
+
export interface WaitUntilEvent {
|
|
196
|
+
waitUntil?(thenable: Promise<any>): void;
|
|
197
|
+
}
|
|
198
|
+
export declare namespace WaitUntilEvent {
|
|
199
|
+
function fire<T extends WaitUntilEvent>(emitter: Emitter<T>, event: Pick<T, Exclude<keyof T, 'waitUntil'>>, timeout?: number | undefined): Promise<void>;
|
|
200
|
+
}
|
|
201
|
+
export declare class AsyncEmitter<T extends WaitUntilEvent> extends Emitter<T> {
|
|
202
|
+
private _asyncDeliveryQueue?;
|
|
203
|
+
fireAsync(data: Omit<T, 'waitUntil'>, token: CancellationToken, promiseJoin?: (p: Promise<any>, listener: Function) => Promise<any>): Promise<void>;
|
|
204
|
+
}
|
|
205
|
+
export declare class EventMultiplexer<T> implements IDisposable {
|
|
206
|
+
private readonly emitter;
|
|
207
|
+
private hasListeners;
|
|
208
|
+
private events;
|
|
209
|
+
constructor();
|
|
210
|
+
get event(): Event<T>;
|
|
211
|
+
add(event: Event<T>): IDisposable;
|
|
212
|
+
private onFirstListenerAdd;
|
|
213
|
+
private onLastListenerRemove;
|
|
214
|
+
private hook;
|
|
215
|
+
private unhook;
|
|
216
|
+
dispose(): void;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* The EventBufferer is useful in situations in which you want
|
|
220
|
+
* to delay firing your events during some code.
|
|
221
|
+
* You can wrap that code and be sure that the event will not
|
|
222
|
+
* be fired during that wrap.
|
|
223
|
+
*
|
|
224
|
+
* ```
|
|
225
|
+
* const emitter: Emitter;
|
|
226
|
+
* const delayer = new EventDelayer();
|
|
227
|
+
* const delayedEvent = delayer.wrapEvent(emitter.event);
|
|
228
|
+
*
|
|
229
|
+
* delayedEvent(console.log);
|
|
230
|
+
*
|
|
231
|
+
* delayer.bufferEvents(() => {
|
|
232
|
+
* emitter.fire(); // event will not be fired yet
|
|
233
|
+
* });
|
|
234
|
+
*
|
|
235
|
+
* // event will only be fired at this point
|
|
236
|
+
* ```
|
|
237
|
+
*/
|
|
238
|
+
export declare class EventBufferer {
|
|
239
|
+
private buffers;
|
|
240
|
+
wrapEvent<T>(event: Event<T>): Event<T>;
|
|
241
|
+
bufferEvents<R = void>(fn: () => R): R;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* A Relay is an event forwarder which functions as a replugabble event pipe.
|
|
245
|
+
* Once created, you can connect an input event to it and it will simply forward
|
|
246
|
+
* events from that input event through its own `event` property. The `input`
|
|
247
|
+
* can be changed at any point in time.
|
|
248
|
+
*/
|
|
249
|
+
export declare class Relay<T> implements IDisposable {
|
|
250
|
+
private listening;
|
|
251
|
+
private inputEvent;
|
|
252
|
+
private inputEventListener;
|
|
253
|
+
private emitter;
|
|
254
|
+
readonly event: Event<T>;
|
|
255
|
+
set input(event: Event<T>);
|
|
256
|
+
dispose(): void;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* 同步执行的 Ready, 对 ready 的实时响应比 promise 快,多用在需要快速响应初始化回调的场景
|
|
260
|
+
*/
|
|
261
|
+
export declare class ReadyEvent<T = void> implements IDisposable {
|
|
262
|
+
private _isReady;
|
|
263
|
+
private _param;
|
|
264
|
+
private _emitter;
|
|
265
|
+
onceReady(cb: (param: T) => any): Promise<any>;
|
|
266
|
+
ready(param: T): void;
|
|
267
|
+
dispose(): void;
|
|
268
|
+
}
|
|
269
|
+
export {};
|
|
270
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
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