@seleniumhq/code-export-csharp-commons 3.17.4 → 4.0.0-alpha.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/dist/command.d.ts +30 -0
- package/dist/command.d.ts.map +1 -0
- package/dist/command.js +880 -0
- package/dist/command.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +40 -0
- package/dist/index.js.map +1 -0
- package/dist/location.d.ts +6 -0
- package/dist/location.d.ts.map +1 -0
- package/dist/location.js +55 -0
- package/dist/location.js.map +1 -0
- package/dist/selection.d.ts +6 -0
- package/dist/selection.d.ts.map +1 -0
- package/dist/selection.js +46 -0
- package/dist/selection.js.map +1 -0
- package/package.json +13 -11
- package/src/{command.js → command.ts} +90 -85
- package/src/{index.js → index.ts} +13 -9
- package/src/{location.js → location.ts} +10 -9
- package/src/{selection.js → selection.ts} +6 -6
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/.babelrc +0 -13
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PrebuildEmitter } from 'side-code-export';
|
|
2
|
+
import { ExportFlexCommandShape, ProcessedCommandEmitter } from 'side-code-export/dist/code-export/emit';
|
|
3
|
+
import { CommandShape } from '@seleniumhq/side-model';
|
|
4
|
+
export declare const emitters: Record<string, ProcessedCommandEmitter>;
|
|
5
|
+
declare function register(command: string, emitter: PrebuildEmitter): void;
|
|
6
|
+
declare function emit(command: CommandShape): Promise<ExportFlexCommandShape>;
|
|
7
|
+
declare function variableLookup(varName: string): string;
|
|
8
|
+
declare function variableSetter(varName: string, value: string): string;
|
|
9
|
+
declare function emitWaitForWindow(): Promise<{
|
|
10
|
+
name: string;
|
|
11
|
+
commands: {
|
|
12
|
+
level: number;
|
|
13
|
+
statement: string;
|
|
14
|
+
}[];
|
|
15
|
+
generateMethodDeclaration: (name: string) => string;
|
|
16
|
+
}>;
|
|
17
|
+
declare function emitNewWindowHandling(command: CommandShape, emittedCommand: ExportFlexCommandShape): Promise<string>;
|
|
18
|
+
declare const _default: {
|
|
19
|
+
emitters: Record<string, ProcessedCommandEmitter>;
|
|
20
|
+
variableLookup: typeof variableLookup;
|
|
21
|
+
variableSetter: typeof variableSetter;
|
|
22
|
+
emit: typeof emit;
|
|
23
|
+
register: typeof register;
|
|
24
|
+
extras: {
|
|
25
|
+
emitWaitForWindow: typeof emitWaitForWindow;
|
|
26
|
+
emitNewWindowHandling: typeof emitNewWindowHandling;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAiBA,OAAO,EAA0B,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAC1E,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAA;AAExG,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAIrD,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAoG5D,CAAA;AAID,iBAAS,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,QAE1D;AAED,iBAAS,IAAI,CAAC,OAAO,EAAE,YAAY,mCAKlC;AAED,iBAAS,cAAc,CAAC,OAAO,EAAE,MAAM,UAEtC;AAED,iBAAS,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAErD;AAED,iBAAS,iBAAiB;;;;;;sCACiB,MAAM;GA8BhD;AAED,iBAAe,qBAAqB,CAClC,OAAO,EAAE,YAAY,EACrB,cAAc,EAAE,sBAAsB,mBAOvC;;;;;;;;;;;;AA63BD,wBAOC"}
|