scordi-extension 1.14.6 → 1.14.7
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/assets/loading-page-1924caaa.js +51 -0
- package/dist/blocks/WaitForConditionBlock.d.ts +176 -0
- package/dist/blocks/WaitForConditionBlock.d.ts.map +1 -0
- package/dist/blocks/index.d.ts +136 -0
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/logo.png +0 -0
- package/dist/manifest.json +55 -0
- package/dist/public/logo.png +0 -0
- package/dist/sdk/index.cjs +1 -1
- package/dist/sdk/index.js +3 -2
- package/dist/sdk/types.d.ts +1 -1
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/service-worker-loader.js +3 -0
- package/dist/src/blocks/AiParseDataBlock.ts.js +101 -0
- package/dist/src/blocks/ClearValueFormBlock.ts.js +55 -0
- package/dist/src/blocks/DataExtractBlock.ts.js +28 -0
- package/dist/src/blocks/ElementExistsBlock.ts.js +26 -0
- package/dist/src/blocks/EventClickBlock.ts.js +143 -0
- package/dist/src/blocks/FetchApiBlock.ts.js +50 -0
- package/dist/src/blocks/GetAttributeValueBlock.ts.js +33 -0
- package/dist/src/blocks/GetElementDataBlock.ts.js +114 -0
- package/dist/src/blocks/GetTextBlock.ts.js +152 -0
- package/dist/src/blocks/GetValueFormBlock.ts.js +52 -0
- package/dist/src/blocks/KeypressBlock.ts.js +89 -0
- package/dist/src/blocks/SaveAssetsBlock.ts.js +35 -0
- package/dist/src/blocks/ScrollBlock.ts.js +111 -0
- package/dist/src/blocks/SetValueFormBlock.ts.js +56 -0
- package/dist/src/blocks/WaitBlock.ts.js +24 -0
- package/dist/src/blocks/WaitForConditionBlock.ts.js +187 -0
- package/dist/src/blocks/index.ts.js +174 -0
- package/dist/src/blocks/types.ts.js +11 -0
- package/dist/src/content/components/ConfirmationUI.tsx.js +236 -0
- package/dist/src/content/elements/finders/CssSelector.ts.js +51 -0
- package/dist/src/content/elements/finders/ElementSelector.ts.js +20 -0
- package/dist/src/content/elements/finders/IframeSelector.ts.js +32 -0
- package/dist/src/content/elements/finders/ShadowDOMSelector.ts.js +38 -0
- package/dist/src/content/elements/finders/XPathFinder.ts.js +32 -0
- package/dist/src/content/elements/index.ts.js +26 -0
- package/dist/src/content/elements/utils/CSSSelectorGenerator.ts.js +72 -0
- package/dist/src/content/elements/utils/XPathGenerator.ts.js +62 -0
- package/dist/src/content/handler/ExternalMessageHandler.ts.js +78 -0
- package/dist/src/content/handler/InternalMessageHandler.ts.js +18 -0
- package/dist/src/content/kernel/MessageKernel.ts.js +83 -0
- package/dist/src/content/main.tsx-loader.js +22 -0
- package/dist/src/content/main.tsx.js +27 -0
- package/dist/src/content/utils/index.ts.js +1 -0
- package/dist/src/content/utils/synchronizedLock.ts.js +35 -0
- package/dist/src/popup/index.html +12 -0
- package/dist/src/types/internal-messages.ts.js +15 -0
- package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--9054997c.js +45 -0
- package/dist/vendor/.vite-deps-chunk-2TUXWMP5.js__v--e2a1f584.js +45 -0
- package/dist/vendor/.vite-deps-chunk-EL3BNLGW.js__v--e2a1f584.js +975 -0
- package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--9054997c.js +4158 -0
- package/dist/vendor/.vite-deps-chunk-QIBDMRD4.js__v--e2a1f584.js +4158 -0
- package/dist/vendor/.vite-deps-chunk-XHY3JSIG.js__v--e2a1f584.js +280 -0
- package/dist/vendor/.vite-deps-jsonata.js__v--d602c657.js +5761 -0
- package/dist/vendor/.vite-deps-jsonata.js__v--e2a1f584.js +5761 -0
- package/dist/vendor/.vite-deps-react-dom.js__v--e2a1f584.js +6 -0
- package/dist/vendor/.vite-deps-react-dom_client.js__v--e2a1f584.js +18108 -0
- package/dist/vendor/.vite-deps-react.js__v--e2a1f584.js +5 -0
- package/dist/vendor/.vite-deps-react_jsx-dev-runtime.js__v--e2a1f584.js +281 -0
- package/dist/vendor/.vite-deps-zod.js__v--9e0f4cc1.js +219 -0
- package/dist/vendor/.vite-deps-zod.js__v--e2a1f584.js +219 -0
- package/dist/vendor/crx-client-port.js +66 -0
- package/dist/vendor/crx-client-preamble.js +4 -0
- package/dist/vendor/react-refresh.js +670 -0
- package/dist/vendor/vite-client.js +1134 -0
- package/dist/vendor/vite-dist-client-env.mjs.js +24 -0
- package/dist/vendor/webcomponents-custom-elements.js +47 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const VITE_URL = "http://localhost:5173";
|
|
2
|
+
document.body.innerHTML = `
|
|
3
|
+
<div
|
|
4
|
+
id="app"
|
|
5
|
+
style="
|
|
6
|
+
border: 1px solid #ddd;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
border-radius: 5px;
|
|
9
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
10
|
+
"
|
|
11
|
+
>
|
|
12
|
+
<h1 style="color: #333">Vite Dev Mode</h1>
|
|
13
|
+
<p style="color: #666">
|
|
14
|
+
Cannot connect to the Vite Dev Server on <a href="${VITE_URL}">${VITE_URL}</a>
|
|
15
|
+
</p>
|
|
16
|
+
<p style="color: #666">
|
|
17
|
+
Double-check that Vite is working and reload the extension.
|
|
18
|
+
</p>
|
|
19
|
+
<p style="color: #666">
|
|
20
|
+
This page will close when the extension reloads.
|
|
21
|
+
</p>
|
|
22
|
+
<button
|
|
23
|
+
style="
|
|
24
|
+
padding: 10px 20px;
|
|
25
|
+
border: none;
|
|
26
|
+
background-color: #007bff;
|
|
27
|
+
color: #fff;
|
|
28
|
+
border-radius: 5px;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
"
|
|
31
|
+
>
|
|
32
|
+
Reload Extension
|
|
33
|
+
</button>
|
|
34
|
+
</div>`;
|
|
35
|
+
document.body.querySelector("button")?.addEventListener("click", () => {
|
|
36
|
+
chrome.runtime.reload();
|
|
37
|
+
});
|
|
38
|
+
let tries = 0;
|
|
39
|
+
let ready = false;
|
|
40
|
+
do {
|
|
41
|
+
try {
|
|
42
|
+
await fetch(VITE_URL);
|
|
43
|
+
ready = true;
|
|
44
|
+
} catch {
|
|
45
|
+
const timeout = Math.min(100 * Math.pow(2, ++tries), 5e3);
|
|
46
|
+
console.log(`[CRXJS] Vite Dev Server is not available on ${VITE_URL}`);
|
|
47
|
+
console.log(`[CRXJS] Retrying in ${timeout}ms...`);
|
|
48
|
+
await new Promise((resolve) => setTimeout(resolve, timeout));
|
|
49
|
+
}
|
|
50
|
+
} while (!ready);
|
|
51
|
+
location.reload();
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { Block, BlockResult } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* WaitForConditionBlock - 특정 조건 만족 또는 사용자 확인 대기
|
|
5
|
+
*
|
|
6
|
+
* 지원 기능:
|
|
7
|
+
* - 자동 조건: URL 패턴, 요소 존재, 쿠키 존재, 스토리지 키
|
|
8
|
+
* - 수동 확인: Floating UI의 확인 버튼 클릭
|
|
9
|
+
* - 모드: auto (자동만), manual (수동만), auto-or-manual (둘 중 하나)
|
|
10
|
+
*/
|
|
11
|
+
export interface WaitForConditionBlock extends Omit<Block, 'selector' | 'findBy' | 'option'> {
|
|
12
|
+
readonly name: 'wait-for-condition';
|
|
13
|
+
conditions: {
|
|
14
|
+
urlPattern?: string;
|
|
15
|
+
elementExists?: {
|
|
16
|
+
selector: string;
|
|
17
|
+
findBy: 'cssSelector' | 'xpath';
|
|
18
|
+
};
|
|
19
|
+
cookieExists?: string;
|
|
20
|
+
storageKey?: {
|
|
21
|
+
type: 'localStorage' | 'sessionStorage';
|
|
22
|
+
key: string;
|
|
23
|
+
};
|
|
24
|
+
userConfirmation?: boolean;
|
|
25
|
+
message?: string;
|
|
26
|
+
buttonText?: string;
|
|
27
|
+
};
|
|
28
|
+
mode?: 'auto' | 'manual' | 'auto-or-manual';
|
|
29
|
+
pollingIntervalMs?: number;
|
|
30
|
+
timeoutMs?: number;
|
|
31
|
+
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
32
|
+
}
|
|
33
|
+
export declare const WaitForConditionBlockSchema: z.ZodObject<{
|
|
34
|
+
name: z.ZodLiteral<"wait-for-condition">;
|
|
35
|
+
conditions: z.ZodEffects<z.ZodObject<{
|
|
36
|
+
urlPattern: z.ZodOptional<z.ZodString>;
|
|
37
|
+
elementExists: z.ZodOptional<z.ZodObject<{
|
|
38
|
+
selector: z.ZodString;
|
|
39
|
+
findBy: z.ZodEnum<["cssSelector", "xpath"]>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
selector: string;
|
|
42
|
+
findBy: "cssSelector" | "xpath";
|
|
43
|
+
}, {
|
|
44
|
+
selector: string;
|
|
45
|
+
findBy: "cssSelector" | "xpath";
|
|
46
|
+
}>>;
|
|
47
|
+
cookieExists: z.ZodOptional<z.ZodString>;
|
|
48
|
+
storageKey: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
type: z.ZodEnum<["localStorage", "sessionStorage"]>;
|
|
50
|
+
key: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
type: "localStorage" | "sessionStorage";
|
|
53
|
+
key: string;
|
|
54
|
+
}, {
|
|
55
|
+
type: "localStorage" | "sessionStorage";
|
|
56
|
+
key: string;
|
|
57
|
+
}>>;
|
|
58
|
+
userConfirmation: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
message: z.ZodOptional<z.ZodString>;
|
|
60
|
+
buttonText: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
message?: string | undefined;
|
|
63
|
+
urlPattern?: string | undefined;
|
|
64
|
+
elementExists?: {
|
|
65
|
+
selector: string;
|
|
66
|
+
findBy: "cssSelector" | "xpath";
|
|
67
|
+
} | undefined;
|
|
68
|
+
cookieExists?: string | undefined;
|
|
69
|
+
storageKey?: {
|
|
70
|
+
type: "localStorage" | "sessionStorage";
|
|
71
|
+
key: string;
|
|
72
|
+
} | undefined;
|
|
73
|
+
userConfirmation?: boolean | undefined;
|
|
74
|
+
buttonText?: string | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
message?: string | undefined;
|
|
77
|
+
urlPattern?: string | undefined;
|
|
78
|
+
elementExists?: {
|
|
79
|
+
selector: string;
|
|
80
|
+
findBy: "cssSelector" | "xpath";
|
|
81
|
+
} | undefined;
|
|
82
|
+
cookieExists?: string | undefined;
|
|
83
|
+
storageKey?: {
|
|
84
|
+
type: "localStorage" | "sessionStorage";
|
|
85
|
+
key: string;
|
|
86
|
+
} | undefined;
|
|
87
|
+
userConfirmation?: boolean | undefined;
|
|
88
|
+
buttonText?: string | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
message?: string | undefined;
|
|
91
|
+
urlPattern?: string | undefined;
|
|
92
|
+
elementExists?: {
|
|
93
|
+
selector: string;
|
|
94
|
+
findBy: "cssSelector" | "xpath";
|
|
95
|
+
} | undefined;
|
|
96
|
+
cookieExists?: string | undefined;
|
|
97
|
+
storageKey?: {
|
|
98
|
+
type: "localStorage" | "sessionStorage";
|
|
99
|
+
key: string;
|
|
100
|
+
} | undefined;
|
|
101
|
+
userConfirmation?: boolean | undefined;
|
|
102
|
+
buttonText?: string | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
message?: string | undefined;
|
|
105
|
+
urlPattern?: string | undefined;
|
|
106
|
+
elementExists?: {
|
|
107
|
+
selector: string;
|
|
108
|
+
findBy: "cssSelector" | "xpath";
|
|
109
|
+
} | undefined;
|
|
110
|
+
cookieExists?: string | undefined;
|
|
111
|
+
storageKey?: {
|
|
112
|
+
type: "localStorage" | "sessionStorage";
|
|
113
|
+
key: string;
|
|
114
|
+
} | undefined;
|
|
115
|
+
userConfirmation?: boolean | undefined;
|
|
116
|
+
buttonText?: string | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
mode: z.ZodOptional<z.ZodEnum<["auto", "manual", "auto-or-manual"]>>;
|
|
119
|
+
pollingIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
position: z.ZodOptional<z.ZodEnum<["top-left", "top-right", "bottom-left", "bottom-right"]>>;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
name: "wait-for-condition";
|
|
124
|
+
conditions: {
|
|
125
|
+
message?: string | undefined;
|
|
126
|
+
urlPattern?: string | undefined;
|
|
127
|
+
elementExists?: {
|
|
128
|
+
selector: string;
|
|
129
|
+
findBy: "cssSelector" | "xpath";
|
|
130
|
+
} | undefined;
|
|
131
|
+
cookieExists?: string | undefined;
|
|
132
|
+
storageKey?: {
|
|
133
|
+
type: "localStorage" | "sessionStorage";
|
|
134
|
+
key: string;
|
|
135
|
+
} | undefined;
|
|
136
|
+
userConfirmation?: boolean | undefined;
|
|
137
|
+
buttonText?: string | undefined;
|
|
138
|
+
};
|
|
139
|
+
mode?: "auto" | "manual" | "auto-or-manual" | undefined;
|
|
140
|
+
pollingIntervalMs?: number | undefined;
|
|
141
|
+
timeoutMs?: number | undefined;
|
|
142
|
+
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
name: "wait-for-condition";
|
|
145
|
+
conditions: {
|
|
146
|
+
message?: string | undefined;
|
|
147
|
+
urlPattern?: string | undefined;
|
|
148
|
+
elementExists?: {
|
|
149
|
+
selector: string;
|
|
150
|
+
findBy: "cssSelector" | "xpath";
|
|
151
|
+
} | undefined;
|
|
152
|
+
cookieExists?: string | undefined;
|
|
153
|
+
storageKey?: {
|
|
154
|
+
type: "localStorage" | "sessionStorage";
|
|
155
|
+
key: string;
|
|
156
|
+
} | undefined;
|
|
157
|
+
userConfirmation?: boolean | undefined;
|
|
158
|
+
buttonText?: string | undefined;
|
|
159
|
+
};
|
|
160
|
+
mode?: "auto" | "manual" | "auto-or-manual" | undefined;
|
|
161
|
+
pollingIntervalMs?: number | undefined;
|
|
162
|
+
timeoutMs?: number | undefined;
|
|
163
|
+
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
164
|
+
}>;
|
|
165
|
+
export declare function validateWaitForConditionBlock(data: unknown): WaitForConditionBlock;
|
|
166
|
+
export interface WaitForConditionResult {
|
|
167
|
+
success: boolean;
|
|
168
|
+
reason?: 'urlPattern' | 'elementExists' | 'cookieExists' | 'storageKey' | 'userConfirmation' | 'timeout' | 'tabClosed';
|
|
169
|
+
message?: string;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* wait-for-condition block 핸들러
|
|
173
|
+
* content script에서 호출되며 floating UI와 연동
|
|
174
|
+
*/
|
|
175
|
+
export declare function handlerWaitForCondition(data: WaitForConditionBlock): Promise<BlockResult<WaitForConditionResult>>;
|
|
176
|
+
//# sourceMappingURL=WaitForConditionBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaitForConditionBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/WaitForConditionBlock.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC1F,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,UAAU,EAAE;QAEV,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,aAAa,CAAC,EAAE;YACd,QAAQ,EAAE,MAAM,CAAC;YACjB,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC;SACjC,CAAC;QACF,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE;YACX,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAAC;YACxC,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;QAGF,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;CACtE;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCtC,CAAC;AAEH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,OAAO,GAAG,qBAAqB,CAElF;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,cAAc,GAAG,YAAY,GAAG,kBAAkB,GAAG,SAAS,GAAG,WAAW,CAAC;IACvH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,qBAAqB,GAC1B,OAAO,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC,CAiM9C"}
|
package/dist/blocks/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ElementExistsBlock } from './ElementExistsBlock';
|
|
|
9
9
|
export type { EventClickBlock } from './EventClickBlock';
|
|
10
10
|
export type { KeypressBlock } from './KeypressBlock';
|
|
11
11
|
export type { WaitBlock } from './WaitBlock';
|
|
12
|
+
export type { WaitForConditionBlock, WaitForConditionResult } from './WaitForConditionBlock';
|
|
12
13
|
export type { SaveAssetsBlock } from './SaveAssetsBlock';
|
|
13
14
|
export type { GetElementDataBlock, ElementData } from './GetElementDataBlock';
|
|
14
15
|
export type { ScrollBlock } from './ScrollBlock';
|
|
@@ -25,6 +26,7 @@ export { ElementExistsBlockSchema } from './ElementExistsBlock';
|
|
|
25
26
|
export { EventClickBlockSchema } from './EventClickBlock';
|
|
26
27
|
export { KeypressBlockSchema } from './KeypressBlock';
|
|
27
28
|
export { WaitBlockSchema } from './WaitBlock';
|
|
29
|
+
export { WaitForConditionBlockSchema } from './WaitForConditionBlock';
|
|
28
30
|
export { SaveAssetsBlockSchema } from './SaveAssetsBlock';
|
|
29
31
|
export { GetElementDataBlockSchema } from './GetElementDataBlock';
|
|
30
32
|
export { ScrollBlockSchema } from './ScrollBlock';
|
|
@@ -40,6 +42,7 @@ import { ElementExistsBlock } from './ElementExistsBlock';
|
|
|
40
42
|
import { EventClickBlock } from './EventClickBlock';
|
|
41
43
|
import { KeypressBlock } from './KeypressBlock';
|
|
42
44
|
import { WaitBlock } from './WaitBlock';
|
|
45
|
+
import { WaitForConditionBlock, WaitForConditionResult } from './WaitForConditionBlock';
|
|
43
46
|
import { SaveAssetsBlock } from './SaveAssetsBlock';
|
|
44
47
|
import { GetElementDataBlock, ElementData } from './GetElementDataBlock';
|
|
45
48
|
import { ScrollBlock } from './ScrollBlock';
|
|
@@ -399,6 +402,138 @@ export declare const AllBlockSchemas: {
|
|
|
399
402
|
name: "wait";
|
|
400
403
|
duration: number;
|
|
401
404
|
}>;
|
|
405
|
+
readonly 'wait-for-condition': import("zod").ZodObject<{
|
|
406
|
+
name: import("zod").ZodLiteral<"wait-for-condition">;
|
|
407
|
+
conditions: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
408
|
+
urlPattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
409
|
+
elementExists: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
410
|
+
selector: import("zod").ZodString;
|
|
411
|
+
findBy: import("zod").ZodEnum<["cssSelector", "xpath"]>;
|
|
412
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
413
|
+
selector: string;
|
|
414
|
+
findBy: "cssSelector" | "xpath";
|
|
415
|
+
}, {
|
|
416
|
+
selector: string;
|
|
417
|
+
findBy: "cssSelector" | "xpath";
|
|
418
|
+
}>>;
|
|
419
|
+
cookieExists: import("zod").ZodOptional<import("zod").ZodString>;
|
|
420
|
+
storageKey: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
421
|
+
type: import("zod").ZodEnum<["localStorage", "sessionStorage"]>;
|
|
422
|
+
key: import("zod").ZodString;
|
|
423
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
424
|
+
type: "localStorage" | "sessionStorage";
|
|
425
|
+
key: string;
|
|
426
|
+
}, {
|
|
427
|
+
type: "localStorage" | "sessionStorage";
|
|
428
|
+
key: string;
|
|
429
|
+
}>>;
|
|
430
|
+
userConfirmation: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
431
|
+
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
432
|
+
buttonText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
433
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
434
|
+
message?: string | undefined;
|
|
435
|
+
urlPattern?: string | undefined;
|
|
436
|
+
elementExists?: {
|
|
437
|
+
selector: string;
|
|
438
|
+
findBy: "cssSelector" | "xpath";
|
|
439
|
+
} | undefined;
|
|
440
|
+
cookieExists?: string | undefined;
|
|
441
|
+
storageKey?: {
|
|
442
|
+
type: "localStorage" | "sessionStorage";
|
|
443
|
+
key: string;
|
|
444
|
+
} | undefined;
|
|
445
|
+
userConfirmation?: boolean | undefined;
|
|
446
|
+
buttonText?: string | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
message?: string | undefined;
|
|
449
|
+
urlPattern?: string | undefined;
|
|
450
|
+
elementExists?: {
|
|
451
|
+
selector: string;
|
|
452
|
+
findBy: "cssSelector" | "xpath";
|
|
453
|
+
} | undefined;
|
|
454
|
+
cookieExists?: string | undefined;
|
|
455
|
+
storageKey?: {
|
|
456
|
+
type: "localStorage" | "sessionStorage";
|
|
457
|
+
key: string;
|
|
458
|
+
} | undefined;
|
|
459
|
+
userConfirmation?: boolean | undefined;
|
|
460
|
+
buttonText?: string | undefined;
|
|
461
|
+
}>, {
|
|
462
|
+
message?: string | undefined;
|
|
463
|
+
urlPattern?: string | undefined;
|
|
464
|
+
elementExists?: {
|
|
465
|
+
selector: string;
|
|
466
|
+
findBy: "cssSelector" | "xpath";
|
|
467
|
+
} | undefined;
|
|
468
|
+
cookieExists?: string | undefined;
|
|
469
|
+
storageKey?: {
|
|
470
|
+
type: "localStorage" | "sessionStorage";
|
|
471
|
+
key: string;
|
|
472
|
+
} | undefined;
|
|
473
|
+
userConfirmation?: boolean | undefined;
|
|
474
|
+
buttonText?: string | undefined;
|
|
475
|
+
}, {
|
|
476
|
+
message?: string | undefined;
|
|
477
|
+
urlPattern?: string | undefined;
|
|
478
|
+
elementExists?: {
|
|
479
|
+
selector: string;
|
|
480
|
+
findBy: "cssSelector" | "xpath";
|
|
481
|
+
} | undefined;
|
|
482
|
+
cookieExists?: string | undefined;
|
|
483
|
+
storageKey?: {
|
|
484
|
+
type: "localStorage" | "sessionStorage";
|
|
485
|
+
key: string;
|
|
486
|
+
} | undefined;
|
|
487
|
+
userConfirmation?: boolean | undefined;
|
|
488
|
+
buttonText?: string | undefined;
|
|
489
|
+
}>;
|
|
490
|
+
mode: import("zod").ZodOptional<import("zod").ZodEnum<["auto", "manual", "auto-or-manual"]>>;
|
|
491
|
+
pollingIntervalMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
492
|
+
timeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
493
|
+
position: import("zod").ZodOptional<import("zod").ZodEnum<["top-left", "top-right", "bottom-left", "bottom-right"]>>;
|
|
494
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
495
|
+
name: "wait-for-condition";
|
|
496
|
+
conditions: {
|
|
497
|
+
message?: string | undefined;
|
|
498
|
+
urlPattern?: string | undefined;
|
|
499
|
+
elementExists?: {
|
|
500
|
+
selector: string;
|
|
501
|
+
findBy: "cssSelector" | "xpath";
|
|
502
|
+
} | undefined;
|
|
503
|
+
cookieExists?: string | undefined;
|
|
504
|
+
storageKey?: {
|
|
505
|
+
type: "localStorage" | "sessionStorage";
|
|
506
|
+
key: string;
|
|
507
|
+
} | undefined;
|
|
508
|
+
userConfirmation?: boolean | undefined;
|
|
509
|
+
buttonText?: string | undefined;
|
|
510
|
+
};
|
|
511
|
+
mode?: "auto" | "manual" | "auto-or-manual" | undefined;
|
|
512
|
+
pollingIntervalMs?: number | undefined;
|
|
513
|
+
timeoutMs?: number | undefined;
|
|
514
|
+
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
515
|
+
}, {
|
|
516
|
+
name: "wait-for-condition";
|
|
517
|
+
conditions: {
|
|
518
|
+
message?: string | undefined;
|
|
519
|
+
urlPattern?: string | undefined;
|
|
520
|
+
elementExists?: {
|
|
521
|
+
selector: string;
|
|
522
|
+
findBy: "cssSelector" | "xpath";
|
|
523
|
+
} | undefined;
|
|
524
|
+
cookieExists?: string | undefined;
|
|
525
|
+
storageKey?: {
|
|
526
|
+
type: "localStorage" | "sessionStorage";
|
|
527
|
+
key: string;
|
|
528
|
+
} | undefined;
|
|
529
|
+
userConfirmation?: boolean | undefined;
|
|
530
|
+
buttonText?: string | undefined;
|
|
531
|
+
};
|
|
532
|
+
mode?: "auto" | "manual" | "auto-or-manual" | undefined;
|
|
533
|
+
pollingIntervalMs?: number | undefined;
|
|
534
|
+
timeoutMs?: number | undefined;
|
|
535
|
+
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
536
|
+
}>;
|
|
402
537
|
readonly 'save-assets': import("zod").ZodObject<{
|
|
403
538
|
selector: import("zod").ZodString;
|
|
404
539
|
findBy: import("zod").ZodEnum<["cssSelector", "xpath"]>;
|
|
@@ -656,6 +791,7 @@ export declare class BlockHandler {
|
|
|
656
791
|
static executeBlock(block: EventClickBlock): Promise<BlockResult<boolean>>;
|
|
657
792
|
static executeBlock(block: KeypressBlock): Promise<BlockResult<boolean>>;
|
|
658
793
|
static executeBlock(block: WaitBlock): Promise<BlockResult<boolean>>;
|
|
794
|
+
static executeBlock(block: WaitForConditionBlock): Promise<BlockResult<WaitForConditionResult>>;
|
|
659
795
|
static executeBlock(block: SaveAssetsBlock): Promise<BlockResult<string[] | null>>;
|
|
660
796
|
static executeBlock(block: GetElementDataBlock): Promise<BlockResult<ElementData | ElementData[]>>;
|
|
661
797
|
static executeBlock(block: ScrollBlock): Promise<BlockResult<boolean>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/blocks/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9E,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe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,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACvE,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACpE,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACvE,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,WAAW,CAAC;CAqGxD"}
|
package/dist/logo.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": 3,
|
|
3
|
+
"name": "scordi-extension",
|
|
4
|
+
"version": "1.14.7",
|
|
5
|
+
"icons": {
|
|
6
|
+
"48": "public/logo.png"
|
|
7
|
+
},
|
|
8
|
+
"action": {
|
|
9
|
+
"default_icon": {
|
|
10
|
+
"48": "public/logo.png"
|
|
11
|
+
},
|
|
12
|
+
"default_popup": "src/popup/index.html"
|
|
13
|
+
},
|
|
14
|
+
"permissions": [
|
|
15
|
+
"contentSettings",
|
|
16
|
+
"tabs",
|
|
17
|
+
"storage",
|
|
18
|
+
"activeTab",
|
|
19
|
+
"scripting",
|
|
20
|
+
"webNavigation",
|
|
21
|
+
"debugger"
|
|
22
|
+
],
|
|
23
|
+
"host_permissions": [
|
|
24
|
+
"<all_urls>"
|
|
25
|
+
],
|
|
26
|
+
"content_scripts": [
|
|
27
|
+
{
|
|
28
|
+
"js": [
|
|
29
|
+
"src/content/main.tsx-loader.js"
|
|
30
|
+
],
|
|
31
|
+
"matches": [
|
|
32
|
+
"<all_urls>"
|
|
33
|
+
],
|
|
34
|
+
"run_at": "document_start",
|
|
35
|
+
"match_about_blank": true,
|
|
36
|
+
"all_frames": true
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"background": {
|
|
40
|
+
"service_worker": "service-worker-loader.js",
|
|
41
|
+
"type": "module"
|
|
42
|
+
},
|
|
43
|
+
"web_accessible_resources": [
|
|
44
|
+
{
|
|
45
|
+
"matches": [
|
|
46
|
+
"<all_urls>"
|
|
47
|
+
],
|
|
48
|
+
"resources": [
|
|
49
|
+
"**/*",
|
|
50
|
+
"*"
|
|
51
|
+
],
|
|
52
|
+
"use_dynamic_url": false
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
Binary file
|