acode-plugin-types 1.11.7-patch.1
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/README.md +8 -0
- package/index.d.ts +91 -0
- package/package.json +26 -0
- package/src/ace/index.d.ts +1 -0
- package/src/ace/modelist.d.ts +22 -0
- package/src/acode.d.ts +437 -0
- package/src/components/collapsibleList.d.ts +11 -0
- package/src/components/contextMenu.d.ts +66 -0
- package/src/components/index.d.ts +10 -0
- package/src/components/inputhints.d.ts +45 -0
- package/src/components/page.d.ts +22 -0
- package/src/components/palette.d.ts +21 -0
- package/src/components/sideButton.d.ts +35 -0
- package/src/components/terminal/index.d.ts +1 -0
- package/src/components/terminal/terminalManager.d.ts +113 -0
- package/src/components/toast.d.ts +20 -0
- package/src/components/tutorial.d.ts +13 -0
- package/src/components/webComponents/index.d.ts +1 -0
- package/src/components/webComponents/wcPage.d.ts +85 -0
- package/src/dialogs/alert.d.ts +15 -0
- package/src/dialogs/box.d.ts +45 -0
- package/src/dialogs/color.d.ts +15 -0
- package/src/dialogs/confirm.d.ts +16 -0
- package/src/dialogs/index.d.ts +8 -0
- package/src/dialogs/loader.d.ts +44 -0
- package/src/dialogs/multiPrompt.d.ts +16 -0
- package/src/dialogs/prompt.d.ts +47 -0
- package/src/dialogs/select.d.ts +66 -0
- package/src/fileSystem.d.ts +113 -0
- package/src/handlers/index.d.ts +3 -0
- package/src/handlers/intent.d.ts +47 -0
- package/src/handlers/keyboard.d.ts +30 -0
- package/src/handlers/windowResize.d.ts +13 -0
- package/src/index.d.ts +12 -0
- package/src/lib/actionStack.d.ts +60 -0
- package/src/lib/editorFile.d.ts +344 -0
- package/src/lib/editorManager.d.ts +127 -0
- package/src/lib/fileList.d.ts +70 -0
- package/src/lib/fonts.d.ts +29 -0
- package/src/lib/index.d.ts +9 -0
- package/src/lib/openFolder.d.ts +102 -0
- package/src/lib/projects.d.ts +28 -0
- package/src/lib/selectionMenu.d.ts +19 -0
- package/src/lib/settings.d.ts +155 -0
- package/src/pages/fileBrowser/fileBrowser.d.ts +65 -0
- package/src/pages/fileBrowser/index.d.ts +1 -0
- package/src/pages/index.d.ts +1 -0
- package/src/plugins/customtabs/CustomTabs.d.ts +57 -0
- package/src/plugins/customtabs/index.d.ts +1 -0
- package/src/plugins/index.d.ts +4 -0
- package/src/plugins/system/System.d.ts +550 -0
- package/src/plugins/system/index.d.ts +1 -0
- package/src/plugins/terminal/Executor.d.ts +155 -0
- package/src/plugins/terminal/Terminal.d.ts +123 -0
- package/src/plugins/terminal/index.d.ts +2 -0
- package/src/plugins/websocket/WebSocket.d.ts +224 -0
- package/src/plugins/websocket/index.d.ts +1 -0
- package/src/sideBarApps.d.ts +39 -0
- package/src/test.ts +517 -0
- package/src/theme/builder.d.ts +188 -0
- package/src/theme/index.d.ts +2 -0
- package/src/theme/list.d.ts +29 -0
- package/src/utils/KeyboardEvent.d.ts +19 -0
- package/src/utils/Url.d.ts +65 -0
- package/src/utils/color.d.ts +51 -0
- package/src/utils/encodings.d.ts +24 -0
- package/src/utils/helpers.d.ts +102 -0
- package/src/utils/index.d.ts +5 -0
- package/types/ace/VERSION +1 -0
- package/types/ace/ace-modes.d.ts +1724 -0
- package/types/ace/index.d.ts +1176 -0
- package/types/ace/types/ace-ext.d.ts +720 -0
- package/types/ace/types/ace-lib.d.ts +302 -0
- package/types/ace/types/ace-modules.d.ts +5293 -0
- package/types/ace/types/ace-snippets.d.ts +406 -0
- package/types/ace/types/ace-theme.d.ts +437 -0
- package/types/html-tag-js.d.ts +680 -0
- package/types/require.d.ts +412 -0
- package/types/xterm.d.ts +1908 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/* This file is generated using `npm run update-types` */
|
|
2
|
+
|
|
3
|
+
declare module "ace/lib/useragent" {
|
|
4
|
+
export namespace OS {
|
|
5
|
+
let LINUX: string;
|
|
6
|
+
let MAC: string;
|
|
7
|
+
let WINDOWS: string;
|
|
8
|
+
}
|
|
9
|
+
export function getOS(): string;
|
|
10
|
+
export const isWin: boolean;
|
|
11
|
+
export const isMac: boolean;
|
|
12
|
+
export const isLinux: boolean;
|
|
13
|
+
export const isIE: number;
|
|
14
|
+
export const isOldIE: boolean;
|
|
15
|
+
export const isGecko: any;
|
|
16
|
+
export const isMozilla: any;
|
|
17
|
+
export const isOpera: boolean;
|
|
18
|
+
export const isWebKit: number;
|
|
19
|
+
export const isChrome: number;
|
|
20
|
+
export const isSafari: true;
|
|
21
|
+
export const isEdge: number;
|
|
22
|
+
export const isAIR: boolean;
|
|
23
|
+
export const isAndroid: boolean;
|
|
24
|
+
export const isChromeOS: boolean;
|
|
25
|
+
export const isIOS: boolean;
|
|
26
|
+
export const isMobile: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare module "ace/lib/dom" {
|
|
29
|
+
export function buildDom(
|
|
30
|
+
arr: any,
|
|
31
|
+
parent?: HTMLElement,
|
|
32
|
+
refs?: any,
|
|
33
|
+
): HTMLElement | Text | any[];
|
|
34
|
+
export function getDocumentHead(
|
|
35
|
+
doc?: Document,
|
|
36
|
+
): HTMLHeadElement | HTMLElement;
|
|
37
|
+
export function createElement<T extends keyof HTMLElementTagNameMap>(
|
|
38
|
+
tag: T | string,
|
|
39
|
+
ns?: string,
|
|
40
|
+
): HTMLElementTagNameMap[T];
|
|
41
|
+
export function removeChildren(element: HTMLElement): void;
|
|
42
|
+
export function createTextNode(
|
|
43
|
+
textContent: string,
|
|
44
|
+
element?: HTMLElement,
|
|
45
|
+
): Text;
|
|
46
|
+
export function createFragment(element?: HTMLElement): DocumentFragment;
|
|
47
|
+
export function hasCssClass(el: HTMLElement, name: string): boolean;
|
|
48
|
+
export function addCssClass(el: HTMLElement, name: string): void;
|
|
49
|
+
export function removeCssClass(el: HTMLElement, name: string): void;
|
|
50
|
+
export function toggleCssClass(el: HTMLElement, name: string): boolean;
|
|
51
|
+
export function setCssClass(
|
|
52
|
+
node: HTMLElement,
|
|
53
|
+
className: string,
|
|
54
|
+
include: boolean,
|
|
55
|
+
): void;
|
|
56
|
+
export function hasCssString(id: string, doc?: Document): boolean;
|
|
57
|
+
export function removeElementById(id: string, doc?: Document): void;
|
|
58
|
+
export function useStrictCSP(value: any): void;
|
|
59
|
+
export function importCssStylsheet(uri: string, doc?: Document): void;
|
|
60
|
+
export function scrollbarWidth(doc?: Document): number;
|
|
61
|
+
export function computedStyle(
|
|
62
|
+
element: Element,
|
|
63
|
+
style?: any,
|
|
64
|
+
): Partial<CSSStyleDeclaration>;
|
|
65
|
+
export function setStyle(
|
|
66
|
+
styles: CSSStyleDeclaration,
|
|
67
|
+
property: string,
|
|
68
|
+
value: string,
|
|
69
|
+
): void;
|
|
70
|
+
export const HAS_CSS_ANIMATION: boolean;
|
|
71
|
+
export const HAS_CSS_TRANSFORMS: boolean;
|
|
72
|
+
export const HI_DPI: boolean;
|
|
73
|
+
export function translate(element: any, tx: any, ty: any): void;
|
|
74
|
+
export function importCssString(
|
|
75
|
+
cssText: string,
|
|
76
|
+
id?: string,
|
|
77
|
+
target?: any,
|
|
78
|
+
): number;
|
|
79
|
+
}
|
|
80
|
+
declare module "ace/lib/oop" {
|
|
81
|
+
export function inherits(ctor: any, superCtor: any): void;
|
|
82
|
+
export function mixin<T>(obj: T, mixin: any): T & any;
|
|
83
|
+
export function implement<T>(proto: T, mixin: any): T & any;
|
|
84
|
+
}
|
|
85
|
+
declare module "ace/lib/deep_copy" {
|
|
86
|
+
export function deepCopy(obj: any): any;
|
|
87
|
+
}
|
|
88
|
+
declare module "ace/lib/lang" {
|
|
89
|
+
export function last(a: any): any;
|
|
90
|
+
export function stringReverse(string: string): string;
|
|
91
|
+
export function stringRepeat(string: any, count: any): string;
|
|
92
|
+
export function stringTrimLeft(string: any): any;
|
|
93
|
+
export function stringTrimRight(string: any): any;
|
|
94
|
+
export function copyObject<T>(obj: T): T;
|
|
95
|
+
export function copyArray(array: any): any[];
|
|
96
|
+
export const deepCopy: (obj: any) => any;
|
|
97
|
+
export function arrayToMap(arr: any): {};
|
|
98
|
+
export function createMap(props: any): any;
|
|
99
|
+
export function arrayRemove(array: any, value: any): void;
|
|
100
|
+
export function escapeRegExp(str: any): any;
|
|
101
|
+
export function escapeHTML(str: any): string;
|
|
102
|
+
export function getMatchOffsets(string: any, regExp: any): any[];
|
|
103
|
+
export function deferredCall(fcn: any): {
|
|
104
|
+
(timeout: any): any;
|
|
105
|
+
schedule: any;
|
|
106
|
+
call(): any;
|
|
107
|
+
cancel(): any;
|
|
108
|
+
isPending(): any;
|
|
109
|
+
};
|
|
110
|
+
export function delayedCall(
|
|
111
|
+
fcn: any,
|
|
112
|
+
defaultTimeout?: number,
|
|
113
|
+
): {
|
|
114
|
+
(timeout?: number): void;
|
|
115
|
+
delay(timeout?: number): void;
|
|
116
|
+
schedule: any;
|
|
117
|
+
call(): void;
|
|
118
|
+
cancel(): void;
|
|
119
|
+
isPending(): any;
|
|
120
|
+
};
|
|
121
|
+
export function supportsLookbehind(): boolean;
|
|
122
|
+
export function skipEmptyMatch(
|
|
123
|
+
line: any,
|
|
124
|
+
last: any,
|
|
125
|
+
supportsUnicodeFlag: any,
|
|
126
|
+
): 1 | 2;
|
|
127
|
+
}
|
|
128
|
+
declare module "ace/lib/keys" {}
|
|
129
|
+
declare module "ace/lib/event" {
|
|
130
|
+
export function addListener(
|
|
131
|
+
elem: any,
|
|
132
|
+
type: string,
|
|
133
|
+
callback: any,
|
|
134
|
+
destroyer?: any,
|
|
135
|
+
): void;
|
|
136
|
+
export function removeListener(elem: any, type: any, callback: any): void;
|
|
137
|
+
export function stopEvent(e: any): boolean;
|
|
138
|
+
export function stopPropagation(e: any): void;
|
|
139
|
+
export function preventDefault(e: any): void;
|
|
140
|
+
export function getButton(e: any): any;
|
|
141
|
+
export function capture(
|
|
142
|
+
el: any,
|
|
143
|
+
eventHandler: any,
|
|
144
|
+
releaseCaptureHandler: any,
|
|
145
|
+
): (e: any) => void;
|
|
146
|
+
export function addMouseWheelListener(
|
|
147
|
+
el: any,
|
|
148
|
+
callback: any,
|
|
149
|
+
destroyer?: any,
|
|
150
|
+
): void;
|
|
151
|
+
export function addMultiMouseDownListener(
|
|
152
|
+
elements: any,
|
|
153
|
+
timeouts: any,
|
|
154
|
+
eventHandler: any,
|
|
155
|
+
callbackName: any,
|
|
156
|
+
destroyer?: any,
|
|
157
|
+
): void;
|
|
158
|
+
export function getModifierString(e: KeyboardEvent | MouseEvent): any;
|
|
159
|
+
export function addCommandKeyListener(
|
|
160
|
+
el: EventTarget,
|
|
161
|
+
callback: (e: KeyboardEvent, hashId: number, keyCode: number) => void,
|
|
162
|
+
destroyer?: any,
|
|
163
|
+
): void;
|
|
164
|
+
export function nextTick(callback: any, win: any): void;
|
|
165
|
+
export const $idleBlocked: boolean;
|
|
166
|
+
export function onIdle(
|
|
167
|
+
cb: CallableFunction,
|
|
168
|
+
timeout: number,
|
|
169
|
+
): ReturnType<typeof setTimeout>;
|
|
170
|
+
export const $idleBlockId: null | ReturnType<typeof setTimeout>;
|
|
171
|
+
export function blockIdle(delay?: null | number): void;
|
|
172
|
+
export const nextFrame: any;
|
|
173
|
+
}
|
|
174
|
+
declare module "ace/lib/event_emitter" {
|
|
175
|
+
export var EventEmitter: any;
|
|
176
|
+
}
|
|
177
|
+
declare module "ace/lib/net" {
|
|
178
|
+
export function get(url: any, callback: any): void;
|
|
179
|
+
export function loadScript(path: any, callback: any): void;
|
|
180
|
+
export function qualifyURL(url: any): string;
|
|
181
|
+
}
|
|
182
|
+
declare module "ace/lib/report_error" {
|
|
183
|
+
export function reportError(msg: any, data: any): void;
|
|
184
|
+
}
|
|
185
|
+
declare module "ace/lib/default_english_messages" {
|
|
186
|
+
export var defaultEnglishMessages: {
|
|
187
|
+
"autocomplete.popup.aria-roledescription": string;
|
|
188
|
+
"autocomplete.popup.aria-label": string;
|
|
189
|
+
"autocomplete.popup.item.aria-roledescription": string;
|
|
190
|
+
"autocomplete.loading": string;
|
|
191
|
+
"editor.scroller.aria-roledescription": string;
|
|
192
|
+
"editor.scroller.aria-label": string;
|
|
193
|
+
"editor.gutter.aria-roledescription": string;
|
|
194
|
+
"editor.gutter.aria-label": string;
|
|
195
|
+
"error-marker.good-state": string;
|
|
196
|
+
"prompt.recently-used": string;
|
|
197
|
+
"prompt.other-commands": string;
|
|
198
|
+
"prompt.no-matching-commands": string;
|
|
199
|
+
"search-box.find.placeholder": string;
|
|
200
|
+
"search-box.find-all.text": string;
|
|
201
|
+
"search-box.replace.placeholder": string;
|
|
202
|
+
"search-box.replace-next.text": string;
|
|
203
|
+
"search-box.replace-all.text": string;
|
|
204
|
+
"search-box.toggle-replace.title": string;
|
|
205
|
+
"search-box.toggle-regexp.title": string;
|
|
206
|
+
"search-box.toggle-case.title": string;
|
|
207
|
+
"search-box.toggle-whole-word.title": string;
|
|
208
|
+
"search-box.toggle-in-selection.title": string;
|
|
209
|
+
"search-box.search-counter": string;
|
|
210
|
+
"text-input.aria-roledescription": string;
|
|
211
|
+
"text-input.aria-label": string;
|
|
212
|
+
"gutter.code-folding.range.aria-label": string;
|
|
213
|
+
"gutter.code-folding.closed.aria-label": string;
|
|
214
|
+
"gutter.code-folding.open.aria-label": string;
|
|
215
|
+
"gutter.code-folding.closed.title": string;
|
|
216
|
+
"gutter.code-folding.open.title": string;
|
|
217
|
+
"gutter.annotation.aria-label.error": string;
|
|
218
|
+
"gutter.annotation.aria-label.warning": string;
|
|
219
|
+
"gutter.annotation.aria-label.info": string;
|
|
220
|
+
"inline-fold.closed.title": string;
|
|
221
|
+
"gutter-tooltip.aria-label.error.singular": string;
|
|
222
|
+
"gutter-tooltip.aria-label.error.plural": string;
|
|
223
|
+
"gutter-tooltip.aria-label.warning.singular": string;
|
|
224
|
+
"gutter-tooltip.aria-label.warning.plural": string;
|
|
225
|
+
"gutter-tooltip.aria-label.info.singular": string;
|
|
226
|
+
"gutter-tooltip.aria-label.info.plural": string;
|
|
227
|
+
"gutter.annotation.aria-label.security": string;
|
|
228
|
+
"gutter.annotation.aria-label.hint": string;
|
|
229
|
+
"gutter-tooltip.aria-label.security.singular": string;
|
|
230
|
+
"gutter-tooltip.aria-label.security.plural": string;
|
|
231
|
+
"gutter-tooltip.aria-label.hint.singular": string;
|
|
232
|
+
"gutter-tooltip.aria-label.hint.plural": string;
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
declare module "ace/lib/app_config" {
|
|
236
|
+
export class AppConfig {
|
|
237
|
+
defineOptions(
|
|
238
|
+
obj: any,
|
|
239
|
+
path: string,
|
|
240
|
+
options: {
|
|
241
|
+
[key: string]: any;
|
|
242
|
+
},
|
|
243
|
+
): Ace.AppConfig;
|
|
244
|
+
resetOptions(obj: any): void;
|
|
245
|
+
setDefaultValue(path: string, name: string, value: any): boolean;
|
|
246
|
+
setDefaultValues(
|
|
247
|
+
path: string,
|
|
248
|
+
optionHash: {
|
|
249
|
+
[key: string]: any;
|
|
250
|
+
},
|
|
251
|
+
): void;
|
|
252
|
+
setMessages(
|
|
253
|
+
value: any,
|
|
254
|
+
options?: {
|
|
255
|
+
placeholders?: "dollarSigns" | "curlyBrackets";
|
|
256
|
+
},
|
|
257
|
+
): void;
|
|
258
|
+
nls(
|
|
259
|
+
key: string,
|
|
260
|
+
defaultString: string,
|
|
261
|
+
params?: {
|
|
262
|
+
[x: string]: any;
|
|
263
|
+
},
|
|
264
|
+
): any;
|
|
265
|
+
warn: typeof warn;
|
|
266
|
+
reportError: (msg: any, data: any) => void;
|
|
267
|
+
}
|
|
268
|
+
function warn(message: any, ...args: any[]): void;
|
|
269
|
+
namespace Ace {
|
|
270
|
+
type EventEmitter<
|
|
271
|
+
T extends {
|
|
272
|
+
[K in keyof T]: (...args: any[]) => any;
|
|
273
|
+
},
|
|
274
|
+
> = Ace.EventEmitter<T>;
|
|
275
|
+
}
|
|
276
|
+
export interface AppConfig extends Ace.EventEmitter<any> {}
|
|
277
|
+
}
|
|
278
|
+
declare module "ace/lib/scroll" {
|
|
279
|
+
export function preventParentScroll(event: any): void;
|
|
280
|
+
}
|
|
281
|
+
declare module "ace/lib/bidiutil" {
|
|
282
|
+
export const ON_R: 3;
|
|
283
|
+
export const AN: 4;
|
|
284
|
+
export const R_H: 5;
|
|
285
|
+
export const B: 6;
|
|
286
|
+
export const RLE: 7;
|
|
287
|
+
export const DOT: "·";
|
|
288
|
+
export function doBidiReorder(
|
|
289
|
+
text: string,
|
|
290
|
+
textCharTypes: any[],
|
|
291
|
+
isRtl: boolean,
|
|
292
|
+
): any;
|
|
293
|
+
export function hasBidiCharacters(
|
|
294
|
+
text: string,
|
|
295
|
+
textCharTypes: any[],
|
|
296
|
+
): boolean;
|
|
297
|
+
export function getVisualFromLogicalIdx(logIdx: number, rowMap: any): number;
|
|
298
|
+
export var L: number;
|
|
299
|
+
export var R: number;
|
|
300
|
+
export var EN: number;
|
|
301
|
+
}
|
|
302
|
+
declare module "ace/lib/fixoldbrowsers" {}
|