@node-red/editor-client 3.1.0-beta.2 → 3.1.0-beta.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.
- package/locales/en-US/editor.json +3 -0
- package/locales/fr/editor.json +1 -0
- package/locales/ja/editor.json +4 -1
- package/package.json +1 -1
- package/public/red/about +65 -0
- package/public/red/red.js +562 -278
- package/public/red/red.min.js +3 -3
- package/public/red/style.min.css +1 -1
- package/public/red/tours/3.0/welcome.js +58 -16
- package/public/red/tours/first-flow.js +14 -7
- package/public/red/tours/welcome.js +97 -26
- package/public/types/node/crypto.d.ts +13 -6
- package/public/types/node/dns.d.ts +1 -1
- package/public/types/node/globals.d.ts +1 -1
- package/public/types/node/stream.d.ts +99 -0
- package/public/types/node/test.d.ts +2 -2
- package/public/types/node-red/func.d.ts +2 -3
- package/public/vendor/mermaid/mermaid.min.js +713 -417
- package/public/vendor/monaco/dist/css.worker.js +1 -1
- package/public/vendor/monaco/dist/css.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/editor.js +29 -1
- package/public/vendor/monaco/dist/editor.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/editor.worker.js +1 -1
- package/public/vendor/monaco/dist/fa2cc0ab9f0bec2b3365.ttf +0 -0
- package/public/vendor/monaco/dist/html.worker.js +1 -1
- package/public/vendor/monaco/dist/html.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/json.worker.js +1 -1
- package/public/vendor/monaco/dist/json.worker.js.LICENSE.txt +1 -1
- package/public/vendor/monaco/dist/locale/cs.js +100 -39
- package/public/vendor/monaco/dist/locale/de.js +100 -39
- package/public/vendor/monaco/dist/locale/es.js +100 -39
- package/public/vendor/monaco/dist/locale/fr.js +100 -39
- package/public/vendor/monaco/dist/locale/it.js +100 -39
- package/public/vendor/monaco/dist/locale/ja.js +101 -40
- package/public/vendor/monaco/dist/locale/ko.js +100 -39
- package/public/vendor/monaco/dist/locale/pl.js +100 -39
- package/public/vendor/monaco/dist/locale/pt-br.js +102 -41
- package/public/vendor/monaco/dist/locale/qps-ploc.js +100 -39
- package/public/vendor/monaco/dist/locale/ru.js +100 -39
- package/public/vendor/monaco/dist/locale/tr.js +100 -39
- package/public/vendor/monaco/dist/locale/zh-hans.js +101 -40
- package/public/vendor/monaco/dist/locale/zh-hant.js +100 -39
- package/public/vendor/monaco/dist/theme/forge-dark.json +213 -0
- package/public/vendor/monaco/dist/theme/forge-light.json +227 -0
- package/public/vendor/monaco/dist/ts.worker.js +6 -1
- package/public/vendor/vendor.js +2 -2
|
@@ -862,6 +862,105 @@ declare module 'stream' {
|
|
|
862
862
|
end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
|
|
863
863
|
cork(): void;
|
|
864
864
|
uncork(): void;
|
|
865
|
+
/**
|
|
866
|
+
* Event emitter
|
|
867
|
+
* The defined events on documents including:
|
|
868
|
+
* 1. close
|
|
869
|
+
* 2. data
|
|
870
|
+
* 3. drain
|
|
871
|
+
* 4. end
|
|
872
|
+
* 5. error
|
|
873
|
+
* 6. finish
|
|
874
|
+
* 7. pause
|
|
875
|
+
* 8. pipe
|
|
876
|
+
* 9. readable
|
|
877
|
+
* 10. resume
|
|
878
|
+
* 11. unpipe
|
|
879
|
+
*/
|
|
880
|
+
addListener(event: 'close', listener: () => void): this;
|
|
881
|
+
addListener(event: 'data', listener: (chunk: any) => void): this;
|
|
882
|
+
addListener(event: 'drain', listener: () => void): this;
|
|
883
|
+
addListener(event: 'end', listener: () => void): this;
|
|
884
|
+
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
885
|
+
addListener(event: 'finish', listener: () => void): this;
|
|
886
|
+
addListener(event: 'pause', listener: () => void): this;
|
|
887
|
+
addListener(event: 'pipe', listener: (src: Readable) => void): this;
|
|
888
|
+
addListener(event: 'readable', listener: () => void): this;
|
|
889
|
+
addListener(event: 'resume', listener: () => void): this;
|
|
890
|
+
addListener(event: 'unpipe', listener: (src: Readable) => void): this;
|
|
891
|
+
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
892
|
+
emit(event: 'close'): boolean;
|
|
893
|
+
emit(event: 'data', chunk: any): boolean;
|
|
894
|
+
emit(event: 'drain'): boolean;
|
|
895
|
+
emit(event: 'end'): boolean;
|
|
896
|
+
emit(event: 'error', err: Error): boolean;
|
|
897
|
+
emit(event: 'finish'): boolean;
|
|
898
|
+
emit(event: 'pause'): boolean;
|
|
899
|
+
emit(event: 'pipe', src: Readable): boolean;
|
|
900
|
+
emit(event: 'readable'): boolean;
|
|
901
|
+
emit(event: 'resume'): boolean;
|
|
902
|
+
emit(event: 'unpipe', src: Readable): boolean;
|
|
903
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
904
|
+
on(event: 'close', listener: () => void): this;
|
|
905
|
+
on(event: 'data', listener: (chunk: any) => void): this;
|
|
906
|
+
on(event: 'drain', listener: () => void): this;
|
|
907
|
+
on(event: 'end', listener: () => void): this;
|
|
908
|
+
on(event: 'error', listener: (err: Error) => void): this;
|
|
909
|
+
on(event: 'finish', listener: () => void): this;
|
|
910
|
+
on(event: 'pause', listener: () => void): this;
|
|
911
|
+
on(event: 'pipe', listener: (src: Readable) => void): this;
|
|
912
|
+
on(event: 'readable', listener: () => void): this;
|
|
913
|
+
on(event: 'resume', listener: () => void): this;
|
|
914
|
+
on(event: 'unpipe', listener: (src: Readable) => void): this;
|
|
915
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
916
|
+
once(event: 'close', listener: () => void): this;
|
|
917
|
+
once(event: 'data', listener: (chunk: any) => void): this;
|
|
918
|
+
once(event: 'drain', listener: () => void): this;
|
|
919
|
+
once(event: 'end', listener: () => void): this;
|
|
920
|
+
once(event: 'error', listener: (err: Error) => void): this;
|
|
921
|
+
once(event: 'finish', listener: () => void): this;
|
|
922
|
+
once(event: 'pause', listener: () => void): this;
|
|
923
|
+
once(event: 'pipe', listener: (src: Readable) => void): this;
|
|
924
|
+
once(event: 'readable', listener: () => void): this;
|
|
925
|
+
once(event: 'resume', listener: () => void): this;
|
|
926
|
+
once(event: 'unpipe', listener: (src: Readable) => void): this;
|
|
927
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
928
|
+
prependListener(event: 'close', listener: () => void): this;
|
|
929
|
+
prependListener(event: 'data', listener: (chunk: any) => void): this;
|
|
930
|
+
prependListener(event: 'drain', listener: () => void): this;
|
|
931
|
+
prependListener(event: 'end', listener: () => void): this;
|
|
932
|
+
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
933
|
+
prependListener(event: 'finish', listener: () => void): this;
|
|
934
|
+
prependListener(event: 'pause', listener: () => void): this;
|
|
935
|
+
prependListener(event: 'pipe', listener: (src: Readable) => void): this;
|
|
936
|
+
prependListener(event: 'readable', listener: () => void): this;
|
|
937
|
+
prependListener(event: 'resume', listener: () => void): this;
|
|
938
|
+
prependListener(event: 'unpipe', listener: (src: Readable) => void): this;
|
|
939
|
+
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
940
|
+
prependOnceListener(event: 'close', listener: () => void): this;
|
|
941
|
+
prependOnceListener(event: 'data', listener: (chunk: any) => void): this;
|
|
942
|
+
prependOnceListener(event: 'drain', listener: () => void): this;
|
|
943
|
+
prependOnceListener(event: 'end', listener: () => void): this;
|
|
944
|
+
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
945
|
+
prependOnceListener(event: 'finish', listener: () => void): this;
|
|
946
|
+
prependOnceListener(event: 'pause', listener: () => void): this;
|
|
947
|
+
prependOnceListener(event: 'pipe', listener: (src: Readable) => void): this;
|
|
948
|
+
prependOnceListener(event: 'readable', listener: () => void): this;
|
|
949
|
+
prependOnceListener(event: 'resume', listener: () => void): this;
|
|
950
|
+
prependOnceListener(event: 'unpipe', listener: (src: Readable) => void): this;
|
|
951
|
+
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
952
|
+
removeListener(event: 'close', listener: () => void): this;
|
|
953
|
+
removeListener(event: 'data', listener: (chunk: any) => void): this;
|
|
954
|
+
removeListener(event: 'drain', listener: () => void): this;
|
|
955
|
+
removeListener(event: 'end', listener: () => void): this;
|
|
956
|
+
removeListener(event: 'error', listener: (err: Error) => void): this;
|
|
957
|
+
removeListener(event: 'finish', listener: () => void): this;
|
|
958
|
+
removeListener(event: 'pause', listener: () => void): this;
|
|
959
|
+
removeListener(event: 'pipe', listener: (src: Readable) => void): this;
|
|
960
|
+
removeListener(event: 'readable', listener: () => void): this;
|
|
961
|
+
removeListener(event: 'resume', listener: () => void): this;
|
|
962
|
+
removeListener(event: 'unpipe', listener: (src: Readable) => void): this;
|
|
963
|
+
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
865
964
|
}
|
|
866
965
|
type TransformCallback = (error?: Error | null, data?: any) => void;
|
|
867
966
|
interface TransformOptions extends DuplexOptions {
|
|
@@ -45,7 +45,7 @@ declare module 'node:test' {
|
|
|
45
45
|
function test(options?: TestOptions, fn?: TestFn): Promise<void>;
|
|
46
46
|
function test(fn?: TestFn): Promise<void>;
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
/*
|
|
49
49
|
* @since v16.17.0
|
|
50
50
|
* @param name The name of the suite, which is displayed when reporting suite results.
|
|
51
51
|
* Default: The `name` property of fn, or `'<anonymous>'` if `fn` does not have a name.
|
|
@@ -57,7 +57,7 @@ declare module 'node:test' {
|
|
|
57
57
|
function describe(options?: TestOptions, fn?: SuiteFn): void;
|
|
58
58
|
function describe(fn?: SuiteFn): void;
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
/*
|
|
61
61
|
* @since v16.17.0
|
|
62
62
|
* @param name The name of the test, which is displayed when reporting test results.
|
|
63
63
|
* Default: The `name` property of fn, or `'<anonymous>'` if `fn` does not have a name.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/
|
|
3
|
-
|
|
2
|
+
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
|
|
4
3
|
|
|
5
4
|
interface NodeMessage {
|
|
6
5
|
topic?: string;
|
|
@@ -281,5 +280,5 @@ declare class env {
|
|
|
281
280
|
* @example
|
|
282
281
|
* ```const flowName = env.get("NR_FLOW_NAME");```
|
|
283
282
|
*/
|
|
284
|
-
static get(name:string) :
|
|
283
|
+
static get(name:string) :any;
|
|
285
284
|
}
|