@umbraco/playwright-testhelpers 2.0.0-beta.7 → 2.0.0-beta.8
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/lib/helpers/PartialViewApiHelper.d.ts +10 -7
- package/dist/lib/helpers/PartialViewApiHelper.js +97 -77
- package/dist/lib/helpers/PartialViewApiHelper.js.map +1 -1
- package/dist/lib/helpers/PartialViewUiHelper.d.ts +41 -0
- package/dist/lib/helpers/PartialViewUiHelper.js +115 -0
- package/dist/lib/helpers/PartialViewUiHelper.js.map +1 -0
- package/dist/lib/helpers/UiHelpers.d.ts +2 -0
- package/dist/lib/helpers/UiHelpers.js +3 -0
- package/dist/lib/helpers/UiHelpers.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2,18 +2,21 @@ import { ApiHelpers } from "./ApiHelpers";
|
|
|
2
2
|
export declare class PartialViewApiHelper {
|
|
3
3
|
api: ApiHelpers;
|
|
4
4
|
constructor(api: ApiHelpers);
|
|
5
|
-
ensureNameNotExistsAtRoot(name: string): Promise<void | import("playwright-core").APIResponse | null>;
|
|
6
|
-
nameExistsAtRoot(name: string): Promise<boolean>;
|
|
7
|
-
exists(path: string): Promise<boolean>;
|
|
8
5
|
get(path: string): Promise<any>;
|
|
9
|
-
|
|
6
|
+
doesExist(path: string): Promise<boolean>;
|
|
10
7
|
create(name: string, content: string, parentPath?: string): Promise<string | undefined>;
|
|
11
8
|
update(partialView: any): Promise<import("playwright-core").APIResponse>;
|
|
12
9
|
delete(path: string): Promise<import("playwright-core").APIResponse>;
|
|
10
|
+
doesNameExist(name: string): Promise<any>;
|
|
11
|
+
getChildren(path: string): Promise<any>;
|
|
12
|
+
getAllAtRoot(): Promise<import("playwright-core").APIResponse>;
|
|
13
|
+
getByName(name: string): Promise<any>;
|
|
14
|
+
ensureNameNotExists(name: string): Promise<import("playwright-core").APIResponse | null>;
|
|
15
|
+
private recurseChildren;
|
|
16
|
+
private recurseDeleteChildren;
|
|
13
17
|
getFolder(path: string): Promise<any>;
|
|
14
|
-
|
|
15
|
-
getFolderChildren(path: string): Promise<any>;
|
|
18
|
+
doesFolderExist(path: string): Promise<boolean>;
|
|
16
19
|
createFolder(name: string, parentPath?: string): Promise<any>;
|
|
17
20
|
deleteFolder(path: string): Promise<import("playwright-core").APIResponse>;
|
|
18
|
-
|
|
21
|
+
getFolderChildren(path: string): Promise<any>;
|
|
19
22
|
}
|
|
@@ -6,60 +6,13 @@ class PartialViewApiHelper {
|
|
|
6
6
|
constructor(api) {
|
|
7
7
|
this.api = api;
|
|
8
8
|
}
|
|
9
|
-
async ensureNameNotExistsAtRoot(name) {
|
|
10
|
-
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');
|
|
11
|
-
const json = await response.json();
|
|
12
|
-
for (const sb of json.items) {
|
|
13
|
-
if (sb.name === name) {
|
|
14
|
-
if (sb.isFolder == false) {
|
|
15
|
-
return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + sb.path);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
if (sb.hasChildren == true) {
|
|
19
|
-
return await this.recurseFolderChildren(sb.path);
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + sb.path);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
async nameExistsAtRoot(name) {
|
|
30
|
-
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');
|
|
31
|
-
const json = await response.json();
|
|
32
|
-
for (const sb of json.items) {
|
|
33
|
-
if (sb.name === name) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
async exists(path) {
|
|
40
|
-
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);
|
|
41
|
-
return response.status() === 200;
|
|
42
|
-
}
|
|
43
9
|
async get(path) {
|
|
44
10
|
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);
|
|
45
11
|
return await response.json();
|
|
46
12
|
}
|
|
47
|
-
async
|
|
48
|
-
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/
|
|
49
|
-
|
|
50
|
-
for (const sb of json.items) {
|
|
51
|
-
if (sb.name === name) {
|
|
52
|
-
if (sb.isFolder === false) {
|
|
53
|
-
const partialView = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + sb.path);
|
|
54
|
-
return await partialView.json();
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
const partialViewFolder = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + sb.path);
|
|
58
|
-
return await partialViewFolder.json();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
return null;
|
|
13
|
+
async doesExist(path) {
|
|
14
|
+
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);
|
|
15
|
+
return response.status() === 200;
|
|
63
16
|
}
|
|
64
17
|
async create(name, content, parentPath = "") {
|
|
65
18
|
const partialViewData = {
|
|
@@ -82,23 +35,102 @@ class PartialViewApiHelper {
|
|
|
82
35
|
async delete(path) {
|
|
83
36
|
return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);
|
|
84
37
|
}
|
|
38
|
+
async doesNameExist(name) {
|
|
39
|
+
return await this.getByName(name);
|
|
40
|
+
}
|
|
41
|
+
async getChildren(path) {
|
|
42
|
+
const response = await this.api.get(`${this.api.baseUrl}/umbraco/management/api/v1/tree/partial-view/children?path=${path}&skip=0&take=10000`);
|
|
43
|
+
const items = await response.json();
|
|
44
|
+
return items.items;
|
|
45
|
+
}
|
|
46
|
+
async getAllAtRoot() {
|
|
47
|
+
return await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');
|
|
48
|
+
}
|
|
49
|
+
async getByName(name) {
|
|
50
|
+
const rootPartialView = await this.getAllAtRoot();
|
|
51
|
+
const jsonPartialView = await rootPartialView.json();
|
|
52
|
+
for (const partialView of jsonPartialView.items) {
|
|
53
|
+
if (partialView.name === name) {
|
|
54
|
+
if (partialView.isFolder) {
|
|
55
|
+
return this.getFolder(partialView.path);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
return this.get(partialView.path);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
else if (partialView.isFolder && partialView.hasChildren) {
|
|
62
|
+
const result = await this.recurseChildren(name, partialView.path, false);
|
|
63
|
+
if (result) {
|
|
64
|
+
return result;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
async ensureNameNotExists(name) {
|
|
71
|
+
const rootPartialView = await this.getAllAtRoot();
|
|
72
|
+
const jsonPartialView = await rootPartialView.json();
|
|
73
|
+
for (const partialView of jsonPartialView.items) {
|
|
74
|
+
if (partialView.name === name) {
|
|
75
|
+
if (partialView.isFolder) {
|
|
76
|
+
return await this.recurseDeleteChildren(partialView);
|
|
77
|
+
}
|
|
78
|
+
return await this.delete(partialView.path);
|
|
79
|
+
}
|
|
80
|
+
else if (partialView.hasChildren) {
|
|
81
|
+
await this.recurseChildren(name, partialView.path, true);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
async recurseChildren(name, path, toDelete) {
|
|
87
|
+
const items = await this.getChildren(path);
|
|
88
|
+
for (const child of items) {
|
|
89
|
+
if (child.name === name) {
|
|
90
|
+
if (!toDelete) {
|
|
91
|
+
if (child.isFolder) {
|
|
92
|
+
return await this.getFolder(child.path);
|
|
93
|
+
}
|
|
94
|
+
return await this.get(child.path);
|
|
95
|
+
}
|
|
96
|
+
if (child.isFolder) {
|
|
97
|
+
return await this.recurseDeleteChildren(child);
|
|
98
|
+
}
|
|
99
|
+
return await this.delete(child.path);
|
|
100
|
+
}
|
|
101
|
+
else if (child.hasChildren) {
|
|
102
|
+
return await this.recurseChildren(name, child.path, toDelete);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
async recurseDeleteChildren(partialViewFolder) {
|
|
108
|
+
if (!partialViewFolder.hasChildren) {
|
|
109
|
+
return await this.deleteFolder(partialViewFolder.path);
|
|
110
|
+
}
|
|
111
|
+
const items = await this.getChildren(partialViewFolder.path);
|
|
112
|
+
for (const child of items) {
|
|
113
|
+
if (child.hasChildren) {
|
|
114
|
+
await this.recurseDeleteChildren(child);
|
|
115
|
+
}
|
|
116
|
+
else if (child.isFolder) {
|
|
117
|
+
await this.deleteFolder(child.path);
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
await this.delete(child.path);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return await this.deleteFolder(partialViewFolder.path);
|
|
124
|
+
}
|
|
85
125
|
// Folder
|
|
86
126
|
async getFolder(path) {
|
|
87
127
|
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);
|
|
88
128
|
return await response.json();
|
|
89
129
|
}
|
|
90
|
-
async
|
|
130
|
+
async doesFolderExist(path) {
|
|
91
131
|
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);
|
|
92
132
|
return response.status() === 200;
|
|
93
133
|
}
|
|
94
|
-
async getFolderChildren(path) {
|
|
95
|
-
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/children?path=' + path + '&skip=0&take=10000');
|
|
96
|
-
const json = await response.json();
|
|
97
|
-
if (json !== null) {
|
|
98
|
-
return json;
|
|
99
|
-
}
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
134
|
async createFolder(name, parentPath = "") {
|
|
103
135
|
const partialViewFolderData = {
|
|
104
136
|
"name": name,
|
|
@@ -112,25 +144,13 @@ class PartialViewApiHelper {
|
|
|
112
144
|
async deleteFolder(path) {
|
|
113
145
|
return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);
|
|
114
146
|
}
|
|
115
|
-
async
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
if (child.isFolder == true) {
|
|
121
|
-
if (child.hasChildren == true) {
|
|
122
|
-
await this.recurseFolderChildren(child.path);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + child.path);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/?path=' + child.path);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
147
|
+
async getFolderChildren(path) {
|
|
148
|
+
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/children?path=' + path + '&skip=0&take=10000');
|
|
149
|
+
const json = await response.json();
|
|
150
|
+
if (json !== null) {
|
|
151
|
+
return json;
|
|
132
152
|
}
|
|
133
|
-
|
|
153
|
+
return null;
|
|
134
154
|
}
|
|
135
155
|
}
|
|
136
156
|
exports.PartialViewApiHelper = PartialViewApiHelper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartialViewApiHelper.js","sourceRoot":"","sources":["../../../lib/helpers/PartialViewApiHelper.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;IAC/B,GAAG,CAAY;IAEf,YAAY,GAAe;QACzB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED,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BAAqB,CAAC,IAAY;QACtC,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,6DAA6D,GAAG,IAAI,GAAG,oBAAoB,CAAC,CAAC;QAC7J,MAAM,SAAS,GAAG,MAAM,iBAAiB,CAAC,IAAI,EAAE,CAAC;QAEjD,KAAK,MAAM,KAAK,IAAI,SAAS,CAAC,KAAK,EAAE;YACnC,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE;gBACvB,IAAI,KAAK,CAAC,QAAQ,IAAI,IAAI,EAAE;oBAC1B,IAAI,KAAK,CAAC,WAAW,IAAI,IAAI,EAAE;wBAC7B,MAAM,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;qBAC9C;yBAAM;wBACL,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,sDAAsD,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;qBAC/G;iBACF;qBAAM;oBACL,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,gDAAgD,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;iBACzG;aACF;SACF;QACD,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,GAAG,sDAAsD,GAAG,IAAI,CAAC,CAAC;IAC1G,CAAC;CACF;AAnJD,oDAmJC","sourcesContent":["import {ApiHelpers} from \"./ApiHelpers\";\n\nexport class PartialViewApiHelper {\n api: ApiHelpers\n\n constructor(api: ApiHelpers) {\n this.api = api;\n }\n\n async ensureNameNotExistsAtRoot(name: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');\n const json = await response.json();\n\n for (const sb of json.items) {\n if (sb.name === name) {\n if (sb.isFolder == false) {\n return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + sb.path);\n } else {\n if (sb.hasChildren == true) {\n return await this.recurseFolderChildren(sb.path);\n } else {\n return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + sb.path);\n }\n }\n }\n }\n return null;\n }\n\n async nameExistsAtRoot(name: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');\n const json = await response.json();\n\n for (const sb of json.items) {\n if (sb.name === name) {\n return true;\n }\n }\n return false;\n }\n\n async exists(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);\n return response.status() === 200;\n }\n\n async get(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);\n return await response.json();\n }\n\n async getByNameAtRoot(name: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');\n const json = await response.json();\n\n for (const sb of json.items) {\n if (sb.name === name) {\n if (sb.isFolder === false) {\n const partialView = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + sb.path);\n return await partialView.json();\n } else {\n const partialViewFolder = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + sb.path);\n return await partialViewFolder.json();\n }\n }\n }\n return null;\n }\n\n async create(name: string, content: string, parentPath: string = \"\") {\n const partialViewData = {\n \"name\": name,\n \"content\": content,\n \"parentPath\": parentPath\n };\n const response = await this.api.post(this.api.baseUrl + '/umbraco/management/api/v1/partial-view', partialViewData);\n // Returns the path of the created partialView\n return response.headers().location.split(\"=\").pop();\n }\n\n async update(partialView) {\n const partialViewData = {\n \"name\": partialView.name,\n \"content\": partialView.content,\n \"existingPath\": partialView.path\n };\n return await this.api.put(this.api.baseUrl + '/umbraco/management/api/v1/partial-view', partialViewData);\n }\n\n async delete(path: string) {\n return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);\n }\n\n // Folder\n async getFolder(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n return await response.json();\n }\n\n async folderExists(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n return response.status() === 200;\n }\n\n async getFolderChildren(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/children?path=' + path + '&skip=0&take=10000');\n const json = await response.json();\n\n if (json !== null) {\n return json;\n }\n return null;\n }\n\n async createFolder(name: string, parentPath = \"\") {\n const partialViewFolderData =\n {\n \"name\": name,\n \"parentPath\": parentPath\n };\n const response = await this.api.post(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder', partialViewFolderData);\n // Returns the id of the created partialViewFolder\n const json = await response.json();\n return json.path;\n }\n\n async deleteFolder(path: string) {\n return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n }\n\n async recurseFolderChildren(path: string) {\n const parentPartialView = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/children?path=' + path + '&skip=0&take=10000');\n const itemsJson = await parentPartialView.json();\n\n for (const child of itemsJson.items) {\n if (child.path !== null) {\n if (child.isFolder == true) {\n if (child.hasChildren == true) {\n await this.recurseFolderChildren(child.path);\n } else {\n await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + child.path);\n }\n } else {\n await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/?path=' + child.path);\n }\n }\n }\n await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"PartialViewApiHelper.js","sourceRoot":"","sources":["../../../lib/helpers/PartialViewApiHelper.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;IAC7B,GA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AI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QAEnC,IAAI,IAAI,KAAK,IAAI,EAAE;YACf,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAzKD,oDAyKC","sourcesContent":["import {ApiHelpers} from \"./ApiHelpers\";\n\nexport class PartialViewApiHelper {\n api: ApiHelpers\n\n constructor(api: ApiHelpers) {\n this.api = api;\n }\n\n async get(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);\n return await response.json();\n }\n\n async doesExist(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);\n return response.status() === 200;\n }\n\n async create(name: string, content: string, parentPath: string = \"\") {\n const partialViewData = {\n \"name\": name,\n \"content\": content,\n \"parentPath\": parentPath\n };\n const response = await this.api.post(this.api.baseUrl + '/umbraco/management/api/v1/partial-view', partialViewData);\n // Returns the path of the created partialView\n return response.headers().location.split(\"=\").pop();\n }\n\n async update(partialView) {\n const partialViewData = {\n \"name\": partialView.name,\n \"content\": partialView.content,\n \"existingPath\": partialView.path\n };\n return await this.api.put(this.api.baseUrl + '/umbraco/management/api/v1/partial-view', partialViewData);\n }\n\n async delete(path: string) {\n return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view?path=' + path);\n }\n\n async doesNameExist(name: string) {\n return await this.getByName(name);\n }\n\n async getChildren(path: string) {\n const response = await this.api.get(`${this.api.baseUrl}/umbraco/management/api/v1/tree/partial-view/children?path=${path}&skip=0&take=10000`);\n const items = await response.json();\n return items.items;\n }\n\n async getAllAtRoot() {\n return await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/root?skip=0&take=10000');\n }\n\n async getByName(name: string) {\n const rootPartialView = await this.getAllAtRoot();\n const jsonPartialView = await rootPartialView.json();\n\n for (const partialView of jsonPartialView.items) {\n if (partialView.name === name) {\n if (partialView.isFolder) {\n return this.getFolder(partialView.path);\n } else {\n return this.get(partialView.path);\n }\n } else if (partialView.isFolder && partialView.hasChildren) {\n const result = await this.recurseChildren(name, partialView.path, false);\n if (result) {\n return result;\n }\n }\n }\n return false;\n }\n\n async ensureNameNotExists(name: string) {\n const rootPartialView = await this.getAllAtRoot();\n const jsonPartialView = await rootPartialView.json();\n\n for (const partialView of jsonPartialView.items) {\n if (partialView.name === name) {\n if (partialView.isFolder) {\n return await this.recurseDeleteChildren(partialView);\n }\n return await this.delete(partialView.path);\n } else if (partialView.hasChildren) {\n await this.recurseChildren(name, partialView.path, true);\n }\n }\n return null;\n }\n\n private async recurseChildren(name: string, path: string, toDelete: boolean) {\n const items = await this.getChildren(path);\n\n for (const child of items) {\n if (child.name === name) {\n if (!toDelete) {\n if (child.isFolder) {\n return await this.getFolder(child.path);\n }\n return await this.get(child.path);\n }\n if (child.isFolder) {\n return await this.recurseDeleteChildren(child);\n }\n return await this.delete(child.path);\n } else if (child.hasChildren) {\n return await this.recurseChildren(name, child.path, toDelete);\n }\n }\n return false;\n }\n\n private async recurseDeleteChildren(partialViewFolder) {\n if (!partialViewFolder.hasChildren) {\n return await this.deleteFolder(partialViewFolder.path);\n }\n const items = await this.getChildren(partialViewFolder.path);\n\n for (const child of items) {\n if (child.hasChildren) {\n await this.recurseDeleteChildren(child);\n } else if (child.isFolder) {\n await this.deleteFolder(child.path);\n } else {\n await this.delete(child.path);\n }\n }\n return await this.deleteFolder(partialViewFolder.path);\n }\n\n // Folder\n async getFolder(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n return await response.json();\n }\n\n async doesFolderExist(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n return response.status() === 200;\n }\n\n async createFolder(name: string, parentPath = \"\") {\n const partialViewFolderData =\n {\n \"name\": name,\n \"parentPath\": parentPath\n };\n const response = await this.api.post(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder', partialViewFolderData);\n // Returns the id of the created partialViewFolder\n const json = await response.json();\n return json.path;\n }\n\n async deleteFolder(path: string) {\n return await this.api.delete(this.api.baseUrl + '/umbraco/management/api/v1/partial-view/folder?path=' + path);\n }\n\n async getFolderChildren(path: string) {\n const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/tree/partial-view/children?path=' + path + '&skip=0&take=10000');\n const json = await response.json();\n\n if (json !== null) {\n return json;\n }\n return null;\n }\n}"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Page } from "@playwright/test";
|
|
2
|
+
export declare class PartialViewUiHelper {
|
|
3
|
+
private readonly page;
|
|
4
|
+
private readonly newEmptyPartialViewBtn;
|
|
5
|
+
private readonly newPartialViewFromSnippetBtn;
|
|
6
|
+
private readonly createFolderBtn;
|
|
7
|
+
private readonly saveBtn;
|
|
8
|
+
private readonly partialViewContentTxt;
|
|
9
|
+
private readonly partialViewNameTxt;
|
|
10
|
+
private readonly breadcrumbButton;
|
|
11
|
+
private readonly folderNameTxt;
|
|
12
|
+
private readonly caretBtn;
|
|
13
|
+
private readonly deleteBtn;
|
|
14
|
+
private readonly confirmToDeleteBtn;
|
|
15
|
+
private readonly removeFolderBtn;
|
|
16
|
+
private readonly confirmCreateFolderBtn;
|
|
17
|
+
private readonly queryBuilderButton;
|
|
18
|
+
private readonly whereDropdown;
|
|
19
|
+
private readonly createDateOption;
|
|
20
|
+
private readonly submitBtn;
|
|
21
|
+
private readonly insertBtn;
|
|
22
|
+
private readonly dictionaryItemBtn;
|
|
23
|
+
private readonly caretDictionaryBtn;
|
|
24
|
+
constructor(page: Page);
|
|
25
|
+
openActionsMenuForName(name: string): Promise<void>;
|
|
26
|
+
openActionsMenuAtRoot(): Promise<void>;
|
|
27
|
+
clickRootFolderCaretButton(): Promise<void>;
|
|
28
|
+
clickCaretButtonForName(name: string): Promise<void>;
|
|
29
|
+
clickNewEmptyPartialViewButton(): Promise<void>;
|
|
30
|
+
clickNewPartialViewFromSnippetButton(): Promise<void>;
|
|
31
|
+
clickSaveButton(): Promise<void>;
|
|
32
|
+
clickBreadcrumbButton(): Promise<void>;
|
|
33
|
+
createNewFolder(folderName: string): Promise<void>;
|
|
34
|
+
enterPartialViewName(partialViewName: string): Promise<void>;
|
|
35
|
+
enterPartialViewContent(partialViewContent: string): Promise<void>;
|
|
36
|
+
openPartialViewFileAtRoot(partialViewFileName: string): Promise<void>;
|
|
37
|
+
deletePartialViewFile(): Promise<void>;
|
|
38
|
+
removeFolder(): Promise<void>;
|
|
39
|
+
addQueryBuilderIntoPartialView(): Promise<void>;
|
|
40
|
+
insertDictionaryItem(dictionaryName: string): Promise<void>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartialViewUiHelper = void 0;
|
|
4
|
+
class PartialViewUiHelper {
|
|
5
|
+
page;
|
|
6
|
+
newEmptyPartialViewBtn;
|
|
7
|
+
newPartialViewFromSnippetBtn;
|
|
8
|
+
createFolderBtn;
|
|
9
|
+
saveBtn;
|
|
10
|
+
partialViewContentTxt;
|
|
11
|
+
partialViewNameTxt;
|
|
12
|
+
breadcrumbButton;
|
|
13
|
+
folderNameTxt;
|
|
14
|
+
caretBtn;
|
|
15
|
+
deleteBtn;
|
|
16
|
+
confirmToDeleteBtn;
|
|
17
|
+
removeFolderBtn;
|
|
18
|
+
confirmCreateFolderBtn;
|
|
19
|
+
queryBuilderButton;
|
|
20
|
+
whereDropdown;
|
|
21
|
+
createDateOption;
|
|
22
|
+
submitBtn;
|
|
23
|
+
insertBtn;
|
|
24
|
+
dictionaryItemBtn;
|
|
25
|
+
caretDictionaryBtn;
|
|
26
|
+
constructor(page) {
|
|
27
|
+
this.page = page;
|
|
28
|
+
this.newEmptyPartialViewBtn = page.getByLabel('New empty partial view');
|
|
29
|
+
this.newPartialViewFromSnippetBtn = page.getByLabel('New partial view from snippet...');
|
|
30
|
+
this.createFolderBtn = page.getByLabel('Create folder');
|
|
31
|
+
this.saveBtn = page.getByLabel('Save');
|
|
32
|
+
this.partialViewNameTxt = page.getByLabel('template name');
|
|
33
|
+
this.folderNameTxt = page.getByRole('textbox', { name: 'Enter folder name...' });
|
|
34
|
+
this.caretBtn = page.locator('umb-tree-item').filter({ hasText: 'Partial Views' }).locator('#caret-button');
|
|
35
|
+
this.deleteBtn = page.getByRole('button', { name: 'Delete' });
|
|
36
|
+
this.confirmToDeleteBtn = page.locator('#confirm').getByLabel('Delete');
|
|
37
|
+
this.removeFolderBtn = page.getByLabel('Remove folder');
|
|
38
|
+
this.confirmCreateFolderBtn = page.locator('#confirm').getByLabel('Create folder');
|
|
39
|
+
this.breadcrumbButton = page.getByLabel('Breadcrumb');
|
|
40
|
+
this.partialViewContentTxt = page.locator('textarea.inputarea');
|
|
41
|
+
this.queryBuilderButton = page.locator('#query-builder-button').getByLabel('Query builder');
|
|
42
|
+
this.whereDropdown = page.locator('#property-alias-dropdown').getByLabel('Property alias');
|
|
43
|
+
this.createDateOption = page.locator('#property-alias-dropdown').getByText('CreateDate');
|
|
44
|
+
this.submitBtn = page.getByLabel('Submit');
|
|
45
|
+
this.insertBtn = page.getByLabel('Choose value to insert');
|
|
46
|
+
this.dictionaryItemBtn = page.getByLabel('Insert Dictionary item');
|
|
47
|
+
this.caretDictionaryBtn = page.locator('umb-tree-picker-modal').locator('#caret-button');
|
|
48
|
+
}
|
|
49
|
+
async openActionsMenuForName(name) {
|
|
50
|
+
await this.page.locator('umb-tree-item').locator('[label="' + name + '"] >> [label="Open actions menu"]').click();
|
|
51
|
+
}
|
|
52
|
+
async openActionsMenuAtRoot() {
|
|
53
|
+
await this.openActionsMenuForName("Partial Views");
|
|
54
|
+
}
|
|
55
|
+
async clickRootFolderCaretButton() {
|
|
56
|
+
await this.caretBtn.click();
|
|
57
|
+
}
|
|
58
|
+
async clickCaretButtonForName(name) {
|
|
59
|
+
await this.page.locator('umb-tree-item >> [label="' + name + '"]').locator('#caret-button').click();
|
|
60
|
+
}
|
|
61
|
+
async clickNewEmptyPartialViewButton() {
|
|
62
|
+
await this.newEmptyPartialViewBtn.click();
|
|
63
|
+
}
|
|
64
|
+
async clickNewPartialViewFromSnippetButton() {
|
|
65
|
+
await this.newPartialViewFromSnippetBtn.click();
|
|
66
|
+
}
|
|
67
|
+
async clickSaveButton() {
|
|
68
|
+
await this.saveBtn.click();
|
|
69
|
+
}
|
|
70
|
+
async clickBreadcrumbButton() {
|
|
71
|
+
await this.breadcrumbButton.click();
|
|
72
|
+
}
|
|
73
|
+
async createNewFolder(folderName) {
|
|
74
|
+
await this.createFolderBtn.click();
|
|
75
|
+
await this.folderNameTxt.fill(folderName);
|
|
76
|
+
await this.confirmCreateFolderBtn.click();
|
|
77
|
+
}
|
|
78
|
+
async enterPartialViewName(partialViewName) {
|
|
79
|
+
await this.partialViewNameTxt.clear();
|
|
80
|
+
await this.partialViewNameTxt.fill(partialViewName);
|
|
81
|
+
}
|
|
82
|
+
async enterPartialViewContent(partialViewContent) {
|
|
83
|
+
await this.partialViewContentTxt.clear();
|
|
84
|
+
await this.partialViewContentTxt.fill(partialViewContent);
|
|
85
|
+
}
|
|
86
|
+
async openPartialViewFileAtRoot(partialViewFileName) {
|
|
87
|
+
await this.caretBtn.click();
|
|
88
|
+
await this.page.getByLabel(partialViewFileName).click();
|
|
89
|
+
}
|
|
90
|
+
async deletePartialViewFile() {
|
|
91
|
+
await this.deleteBtn.click();
|
|
92
|
+
await this.confirmToDeleteBtn.click();
|
|
93
|
+
}
|
|
94
|
+
async removeFolder() {
|
|
95
|
+
await this.removeFolderBtn.click();
|
|
96
|
+
await this.confirmToDeleteBtn.click();
|
|
97
|
+
}
|
|
98
|
+
async addQueryBuilderIntoPartialView() {
|
|
99
|
+
await this.queryBuilderButton.click({ force: true });
|
|
100
|
+
// TODO: Remove this timeout when frontend validation is implemented
|
|
101
|
+
await this.page.waitForTimeout(1000);
|
|
102
|
+
await this.whereDropdown.click({ force: true });
|
|
103
|
+
await this.createDateOption.click();
|
|
104
|
+
await this.submitBtn.click();
|
|
105
|
+
}
|
|
106
|
+
async insertDictionaryItem(dictionaryName) {
|
|
107
|
+
await this.insertBtn.click();
|
|
108
|
+
await this.dictionaryItemBtn.click();
|
|
109
|
+
await this.caretDictionaryBtn.click();
|
|
110
|
+
await this.page.getByLabel(dictionaryName).click();
|
|
111
|
+
await this.submitBtn.click();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.PartialViewUiHelper = PartialViewUiHelper;
|
|
115
|
+
//# sourceMappingURL=PartialViewUiHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PartialViewUiHelper.js","sourceRoot":"","sources":["../../../lib/helpers/PartialViewUiHelper.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;IAEX,IAAI,CAAO;IACX,sBAAsB,CAAU;IAChC,4BAA4B,CAAU;IACtC,eAAe,CAAU;IACzB,OAAO,CAAU;IACjB,qBAAqB,CAAU;IAC/B,kBAAkB,CAAU;IAC5B,gBAAgB,CAAU;IAC1B,aAAa,CAAU;IACvB,QAAQ,CAAU;IAClB,SAAS,CAAU;IACnB,kBAAkB,CAAU;IAC5B,eAAe,CAAU;IACzB,sBAAsB,CAAU;IAChC,kBAAkB,CAAU;IAC5B,aAAa,CAAU;IACvB,gBAAgB,CAAU;IAC1B,SAAS,CAAU;IACnB,SAAS,CAAU;IACnB,iBAAiB,CAAU;IAC3B,kBAAkB,CAAU;IAE7C,YAAY,IAAU;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC;QACxE,IAAI,CAAC,4BAA4B,GAAG,IAAI,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAAC;QACxF,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CA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AM,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAC,KAAK,EAAC,IAAI,EAAC,CAAC,CAAC;QAClD,oEAAoE;QACpE,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACrC,MAAM,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAC,KAAK,EAAC,IAAI,EAAC,CAAC,CAAC;QAC7C,MAAM,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;QACpC,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACjC,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,cAAuB;QAC9C,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;QAC7B,MAAM,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;QACrC,MAAM,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE,CAAC;QACtC,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,KAAK,EAAE,CAAC;QACnD,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;IACjC,CAAC;CACJ;AA/HD,kDA+HC","sourcesContent":["import {Page, Locator} from \"@playwright/test\"\n\nexport class PartialViewUiHelper {\n\n private readonly page: Page;\n private readonly newEmptyPartialViewBtn: Locator;\n private readonly newPartialViewFromSnippetBtn: Locator;\n private readonly createFolderBtn: Locator;\n private readonly saveBtn: Locator;\n private readonly partialViewContentTxt: Locator;\n private readonly partialViewNameTxt: Locator;\n private readonly breadcrumbButton: Locator;\n private readonly folderNameTxt: Locator;\n private readonly caretBtn: Locator;\n private readonly deleteBtn: Locator;\n private readonly confirmToDeleteBtn: Locator;\n private readonly removeFolderBtn: Locator;\n private readonly confirmCreateFolderBtn: Locator;\n private readonly queryBuilderButton: Locator;\n private readonly whereDropdown: Locator;\n private readonly createDateOption: Locator;\n private readonly submitBtn: Locator;\n private readonly insertBtn: Locator;\n private readonly dictionaryItemBtn: Locator;\n private readonly caretDictionaryBtn: Locator; \n\n constructor(page: Page) {\n this.page = page;\n this.newEmptyPartialViewBtn = page.getByLabel('New empty partial view');\n this.newPartialViewFromSnippetBtn = page.getByLabel('New partial view from snippet...');\n this.createFolderBtn = page.getByLabel('Create folder');\n this.saveBtn = page.getByLabel('Save');\n this.partialViewNameTxt = page.getByLabel('template name');\n this.folderNameTxt = page.getByRole('textbox', { name: 'Enter folder name...' });\n this.caretBtn = page.locator('umb-tree-item').filter({ hasText: 'Partial Views' }).locator('#caret-button');\n this.deleteBtn = page.getByRole('button', { name: 'Delete' });\n this.confirmToDeleteBtn = page.locator('#confirm').getByLabel('Delete');\n this.removeFolderBtn = page.getByLabel('Remove folder');\n this.confirmCreateFolderBtn = page.locator('#confirm').getByLabel('Create folder');\n this.breadcrumbButton = page.getByLabel('Breadcrumb');\n this.partialViewContentTxt = page.locator('textarea.inputarea');\n this.queryBuilderButton = page.locator('#query-builder-button').getByLabel('Query builder');\n this.whereDropdown = page.locator('#property-alias-dropdown').getByLabel('Property alias');\n this.createDateOption = page.locator('#property-alias-dropdown').getByText('CreateDate');\n this.submitBtn = page.getByLabel('Submit');\n this.insertBtn = page.getByLabel('Choose value to insert');\n this.dictionaryItemBtn = page.getByLabel('Insert Dictionary item');\n this.caretDictionaryBtn = page.locator('umb-tree-picker-modal').locator('#caret-button');\n }\n\n async openActionsMenuForName(name : string) {\n await this.page.locator('umb-tree-item').locator('[label=\"' + name + '\"] >> [label=\"Open actions menu\"]').click();\n }\n\n async openActionsMenuAtRoot() {\n await this.openActionsMenuForName(\"Partial Views\");\n }\n\n async clickRootFolderCaretButton() {\n await this.caretBtn.click();\n }\n\n async clickCaretButtonForName(name : string) {\n await this.page.locator('umb-tree-item >> [label=\"' + name + '\"]').locator('#caret-button').click();\n }\n\n async clickNewEmptyPartialViewButton() {\n await this.newEmptyPartialViewBtn.click();\n }\n\n async clickNewPartialViewFromSnippetButton() {\n await this.newPartialViewFromSnippetBtn.click();\n }\n\n async clickSaveButton() {\n await this.saveBtn.click();\n }\n\n async clickBreadcrumbButton() {\n await this.breadcrumbButton.click();\n }\n\n async createNewFolder(folderName : string) {\n await this.createFolderBtn.click();\n await this.folderNameTxt.fill(folderName);\n await this.confirmCreateFolderBtn.click();\n }\n\n async enterPartialViewName(partialViewName : string) {\n await this.partialViewNameTxt.clear();\n await this.partialViewNameTxt.fill(partialViewName);\n }\n\n async enterPartialViewContent(partialViewContent : string) {\n await this.partialViewContentTxt.clear();\n await this.partialViewContentTxt.fill(partialViewContent);\n }\n\n async openPartialViewFileAtRoot(partialViewFileName : string) {\n await this.caretBtn.click();\n await this.page.getByLabel(partialViewFileName).click();\n }\n\n async deletePartialViewFile() {\n await this.deleteBtn.click();\n await this.confirmToDeleteBtn.click();\n }\n\n async removeFolder() {\n await this.removeFolderBtn.click();\n await this.confirmToDeleteBtn.click();\n }\n\n async addQueryBuilderIntoPartialView() {\n await this.queryBuilderButton.click({force:true});\n // TODO: Remove this timeout when frontend validation is implemented\n await this.page.waitForTimeout(1000);\n await this.whereDropdown.click({force:true});\n await this.createDateOption.click();\n await this.submitBtn.click();\n }\n\n async insertDictionaryItem(dictionaryName : string) {\n await this.insertBtn.click();\n await this.dictionaryItemBtn.click();\n await this.caretDictionaryBtn.click();\n await this.page.getByLabel(dictionaryName).click();\n await this.submitBtn.click();\n }\n}"]}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Page } from "@playwright/test";
|
|
2
2
|
import { StylesheetUiHelper } from "./StylesheetUiHelper";
|
|
3
|
+
import { PartialViewUiHelper } from "./PartialViewUiHelper";
|
|
3
4
|
export declare class UiHelpers {
|
|
4
5
|
page: Page;
|
|
5
6
|
stylesheet: StylesheetUiHelper;
|
|
7
|
+
partialView: PartialViewUiHelper;
|
|
6
8
|
constructor(page: Page);
|
|
7
9
|
clickButton(buttonName: string): Promise<void>;
|
|
8
10
|
goToSection(sectionName: string): Promise<void>;
|
|
@@ -5,12 +5,15 @@ const test_1 = require("@playwright/test");
|
|
|
5
5
|
const ConstantHelper_1 = require("./ConstantHelper");
|
|
6
6
|
const StylesheetUiHelper_1 = require("./StylesheetUiHelper");
|
|
7
7
|
const umbraco_config_1 = require("../../umbraco.config");
|
|
8
|
+
const PartialViewUiHelper_1 = require("./PartialViewUiHelper");
|
|
8
9
|
class UiHelpers {
|
|
9
10
|
page;
|
|
10
11
|
stylesheet;
|
|
12
|
+
partialView;
|
|
11
13
|
constructor(page) {
|
|
12
14
|
this.page = page;
|
|
13
15
|
this.stylesheet = new StylesheetUiHelper_1.StylesheetUiHelper(this.page);
|
|
16
|
+
this.partialView = new PartialViewUiHelper_1.PartialViewUiHelper(this.page);
|
|
14
17
|
}
|
|
15
18
|
async clickButton(buttonName) {
|
|
16
19
|
await this.page.getByRole('button', { name: buttonName }).click();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiHelpers.js","sourceRoot":"","sources":["../../../lib/helpers/UiHelpers.ts"],"names":[],"mappings":";;;AAAA,2CAA6C;AAC7C,qDAAgD;AAChD,6DAA0D;AAC1D,yDAAmD;
|
|
1
|
+
{"version":3,"file":"UiHelpers.js","sourceRoot":"","sources":["../../../lib/helpers/UiHelpers.ts"],"names":[],"mappings":";;;AAAA,2CAA6C;AAC7C,qDAAgD;AAChD,6DAA0D;AAC1D,yDAAmD;AACnD,+DAA4D;AAG5D,MAAa,SAAS;IAElB,IAAI,CAAO;IACX,UAAU,CAAqB;IAC/B,WAAW,CAAsB;IAEjC,YAAY,IAAU;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,IAAI,uCAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,WAAW,GAAG,IAAI,yCAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,UAAkB;QAChC,MAA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heetUiHelper } from \"./StylesheetUiHelper\";\nimport {umbracoConfig} from \"../../umbraco.config\";\nimport { PartialViewUiHelper } from \"./PartialViewUiHelper\";\n\n\nexport class UiHelpers {\n\n page: Page;\n stylesheet: StylesheetUiHelper;\n partialView: PartialViewUiHelper;\n\n constructor(page: Page) {\n this.page = page;\n this.stylesheet = new StylesheetUiHelper(this.page);\n this.partialView = new PartialViewUiHelper(this.page); \n }\n\n async clickButton(buttonName: string) {\n await this.page.getByRole('button', {name: buttonName}).click();\n }\n\n async goToSection(sectionName: string) {\n for (let section in ConstantHelper.sections) {\n await expect(this.page.getByRole('tab', {name: section})).toBeVisible();\n }\n await this.page.getByRole('tab', {name: sectionName}).click();\n }\n\n async goToSettingsTreeItem(settingsTreeItemName: string) {\n await this.goToSection('Settings');\n await this.page.getByLabel(settingsTreeItemName).click();\n }\n\n async clickDataElement(elementName: string, options: any = null) {\n await this.page.click(`[data-element=\"${elementName}\"]`, options);\n }\n\n async getDataElement(elementName: string) {\n return this.page.locator(`[data-element=\"${elementName}\"]`);\n }\n\n async isSuccessNotificationVisible() {\n return await expect(this.page.locator('uui-toast-notification >> [color=\"positive\"]')).toBeVisible();\n }\n\n async isErrorNotificationVisible() {\n return await expect(this.page.locator('uui-toast-notification >> [color=\"danger\"]')).toBeVisible();\n }\n\n // Will only work for root templates\n async goToTemplate(templateName: string) {\n await this.goToSection(ConstantHelper.sections.settings);\n await this.page.locator('umb-tree-item', {hasText: 'Templates'}).locator('#caret-button').click();\n await this.page.locator('umb-tree-item').getByLabel(templateName).click();\n }\n \n // Will only work for root scripts\n async goToScript(scriptName: string){\n await this.goToSection(ConstantHelper.sections.settings);\n await this.page.locator('umb-tree-item', {hasText: 'Scripts'}).locator('#caret-button').click();\n await this.page.locator('umb-tree-item').getByLabel(scriptName).click();\n }\n\n async goToBackOffice() {\n await this.page.goto(umbracoConfig.environment.baseUrl + '/umbraco');\n }\n\n async waitForTimeout(timeout : number) {\n await this.page.waitForTimeout(timeout);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/tslib/tslib.d.ts","../node_modules/playwright-core/types/protocol.d.ts","../node_modules/playwright-core/types/structs.d.ts","../node_modules/playwright-core/types/types.d.ts","../node_modules/playwright/types/test.d.ts","../node_modules/playwright/test.d.ts","../node_modules/@playwright/test/index.d.ts","../umbraco.config.ts","../lib/helpers/ReportHelper.ts","../lib/helpers/TelemetryDataApiHelper.ts","../lib/helpers/LanguageApiHelper.ts","../lib/helpers/DictionaryApiHelper.ts","../lib/helpers/RelationType.ts","../lib/helpers/UserGroupApiHelper.ts","../lib/helpers/TemplateApiHelper.ts","../lib/helpers/AliasHelper.ts","../lib/helpers/DataTypeApiHelper.ts","../lib/helpers/UserApiHelper.ts","../lib/helpers/TemporaryFileApiHelper.ts","../lib/helpers/DocumentApiHelper.ts","../lib/helpers/PackageApiHelper.ts","../lib/helpers/ScriptApiHelper.ts","../lib/helpers/PartialViewApiHelper.ts","../lib/helpers/StylesheetApiHelper.ts","../lib/helpers/LogViewerApiHelper.ts","../lib/helpers/ApiHelpers.ts","../lib/helpers/ConstantHelper.ts","../lib/helpers/StylesheetUiHelper.ts","../lib/helpers/UiHelpers.ts","../lib/helpers/testExtension.ts","../lib/helpers/index.ts","../lib/index.ts","../node_modules/@types/node/ts4.8/assert.d.ts","../node_modules/@types/node/ts4.8/assert/strict.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/ts4.8/globals.d.ts","../node_modules/@types/node/ts4.8/async_hooks.d.ts","../node_modules/@types/node/ts4.8/buffer.d.ts","../node_modules/@types/node/ts4.8/child_process.d.ts","../node_modules/@types/node/ts4.8/cluster.d.ts","../node_modules/@types/node/ts4.8/console.d.ts","../node_modules/@types/node/ts4.8/constants.d.ts","../node_modules/@types/node/ts4.8/crypto.d.ts","../node_modules/@types/node/ts4.8/dgram.d.ts","../node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../node_modules/@types/node/ts4.8/dns.d.ts","../node_modules/@types/node/ts4.8/dns/promises.d.ts","../node_modules/@types/node/ts4.8/domain.d.ts","../node_modules/@types/node/ts4.8/dom-events.d.ts","../node_modules/@types/node/ts4.8/events.d.ts","../node_modules/@types/node/ts4.8/fs.d.ts","../node_modules/@types/node/ts4.8/fs/promises.d.ts","../node_modules/@types/node/ts4.8/http.d.ts","../node_modules/@types/node/ts4.8/http2.d.ts","../node_modules/@types/node/ts4.8/https.d.ts","../node_modules/@types/node/ts4.8/inspector.d.ts","../node_modules/@types/node/ts4.8/module.d.ts","../node_modules/@types/node/ts4.8/net.d.ts","../node_modules/@types/node/ts4.8/os.d.ts","../node_modules/@types/node/ts4.8/path.d.ts","../node_modules/@types/node/ts4.8/perf_hooks.d.ts","../node_modules/@types/node/ts4.8/process.d.ts","../node_modules/@types/node/ts4.8/punycode.d.ts","../node_modules/@types/node/ts4.8/querystring.d.ts","../node_modules/@types/node/ts4.8/readline.d.ts","../node_modules/@types/node/ts4.8/readline/promises.d.ts","../node_modules/@types/node/ts4.8/repl.d.ts","../node_modules/@types/node/ts4.8/stream.d.ts","../node_modules/@types/node/ts4.8/stream/promises.d.ts","../node_modules/@types/node/ts4.8/stream/consumers.d.ts","../node_modules/@types/node/ts4.8/stream/web.d.ts","../node_modules/@types/node/ts4.8/string_decoder.d.ts","../node_modules/@types/node/ts4.8/test.d.ts","../node_modules/@types/node/ts4.8/timers.d.ts","../node_modules/@types/node/ts4.8/timers/promises.d.ts","../node_modules/@types/node/ts4.8/tls.d.ts","../node_modules/@types/node/ts4.8/trace_events.d.ts","../node_modules/@types/node/ts4.8/tty.d.ts","../node_modules/@types/node/ts4.8/url.d.ts","../node_modules/@types/node/ts4.8/util.d.ts","../node_modules/@types/node/ts4.8/v8.d.ts","../node_modules/@types/node/ts4.8/vm.d.ts","../node_modules/@types/node/ts4.8/wasi.d.ts","../node_modules/@types/node/ts4.8/worker_threads.d.ts","../node_modules/@types/node/ts4.8/zlib.d.ts","../node_modules/@types/node/ts4.8/globals.global.d.ts","../node_modules/@types/node/ts4.8/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","08f466e76048fdad5b11cfea3e71f14dd81392831483f098c92715d62f2855db","8d13c86e53ac8a5ed2c205497dbf9446fa854c7b8a23288de62cb797fb4ca486","eacf1ea6f35270dcfba0a5931e753616734d11ccddc6b2c2a9767b38058a3279",{"version":"de6d2e55195064e4460f0dcc4d560f4aaf84c202290dd4b5306affaf4eb4cb1d","affectsGlobalScope":true},"3f00324f263189b385c3a9383b1f4dae6237697bcf0801f96aa35c340512d79c","ec8997c2e5cea26befc76e7bf990750e96babb16977673a9ff3b5c0575d01e48",{"version":"c93350324664aeec0217741e56c4950435f58ebba7c4589b99deec894b33d67b","signature":"22fea8c28752d1a841afd4b34f886b6ddd7701982943de4a92694a371824b818"},{"version":"e598311445ebe4378af1cb00abfb7222659a7851aaa3d9549c64628857ab4838","signature":"d9e590839d9b5259ea85c4b7b8abedd8459bfadad3aa2ab707df5f06d838a879"},{"version":"16bc0fd4adf6f83440a9f0401fc64bd45c73ca0e5e3efa7a3df152e884420ccd","signature":"f4c914bf76148b4feba712d9e6b2b33b52ee537448d9002e48faaadd12d8f1e9"},{"version":"7a4a8fa9be7dd4a0eacf6fcc79982805195f24c62c8419af326ec22b1a534345","signature":"9631597fd2063026932c3a99645b68682cef2081aead168c0416026468c64388"},{"version":"64ea91ed2aae8aeb8e45e53934fe756af0d7fa3a05172300a3b9404a6192c390","signature":"cd091e88f3461938d185a251e0146b32d0be6b29ad3deab8baa1f5d4fc1597d8"},{"version":"08a26c1d6bbbfb44ef2484675d96f5bf36d427b0e6edad61b38d68858a884098","signature":"e7bfac5c6a6ab4c11b72866e86bbf758f38a8c7c983ea10787a54f10460ae013"},{"version":"7426201624290b4bbe597a6e4bdaa8a5b84ec70333e28b324ee95f51af08c296","signature":"7407519d4b5aefa9a1d72b84833ebc8bf55ae8f45cc37ee2448eb1ee1e61deb3"},{"version":"4c712a0845e307a40ee6f5513712e15acfcaaac0abdd6f7dddbdfb0590329aee","signature":"b383d07b6cfbbf9750f1dd5e56d6d68f2ca0355305d47a05a30185c24786f62a"},{"version":"e17f07b028b14f80d6c625470844ec2f52f37efcd58f80dffc607fb8653cd4d0","signature":"7c9803e8b478726fc90dac32492eb1904cf2ddf6cacc9393a823a1f56c8de2b6"},{"version":"324203f35fe8c0bb25b887cd8325314e672f884200fe9b6b93c8dc9eba09fcee","signature":"0eafac28ea0186d351cdda9458653d1dbd6f283bd0f8c571d7169b1dbcf7e978"},{"version":"39fbeac72c4027903be763529c6caa5dc5c1c4ee359b6f6adfdc912484e57116","signature":"e024dceb8caff34db9cfba3b2ac19170b0afc1b817a0b66e22e0141b34e2fc6e"},{"version":"95b1d0701ff22a984ce1b67910110194ed14ffa433b44a3be5111174d5695559","signature":"b3e9372b4dbae48465582902ca7446cd9ef9dae6092670eaa18af04d5c089c00"},{"version":"fadb42657de31f353a17a9cce4ca0bdb0424b58179197ce97f1f49313b35df93","signature":"4af44936bc7df88f3d8bbf0b250cf4fd76ad9d38bd2884db6ca9b0c97c42ce99"},{"version":"d609d8b0a013e2645316b975ab68855dfbd72cbd5311e0093c4f14d87defd34f","signature":"2698823199b9e32187daacb96108ed9a06e913d2e5347bf99ea2c1d1d33df20a"},{"version":"7a36aa9524ddda8bf096aefc2add840b999c739a6f9c162308bf4df67b1ea38e","signature":"deccd4cbb6aff120ec5e2ddc0b7ea148c882c6c90ac4fdd5b782fb22c69fd4b5"},{"version":"88a8deea4903f2b6219f77a2f8c30b1277852441f4f36d447f58acc9f565298f","signature":"f6bcea6d0ed15c89143a3362fc8d4f8f523da6c4da16bc4eef2859cb1b0be90d"},{"version":"10b79acf9bb550d279a61a1f68c4482eb4136bf2c27c7cf992263b26e107be97","signature":"c6eda38ec935f15888bdb8866ee57086c7a61953173adfcdf72c272f9ce6f17a"},{"version":"f1bd24334e503e833a2cecf306de16ba4c5cf2fefd6fda9d57c19d838f6cb8ec","signature":"35d0dad48d46ff699954fd32afe947a9191acfd3a0dbf1d9d75f4f8785d41cc3"},{"version":"8c2ac162973c67413b8a99dbcd493f0c35b341426a522e7422bdb510b0632ca7","signature":"e60e1e97c3bbcfcd8b1c9a1beff849fc749146da4fe2d17479c1e20a5cbacc6b"},{"version":"2cd71417c382c2f417294dfa0e34c1ed314b6976480087f7dd7980b793484a47","signature":"bb8f4231e89b77b07df78175e69051078407d14ad055fad1cf54aae3e2317567"},{"version":"e482800001a65e89b18b3bc758e6b6c863816c2cc564f81d843f63aec226d04a","signature":"5a4bd3985275ebff0ac8836fc8dec8a4540bfbd6e693bc693fd55e288795e74e"},{"version":"bd8b53d7c7dc8007a76fcca8fb6039a9c27ac8b5bd3df070383e7fe17cf4339d","signature":"3401af615a015a355fa63154548a5997e6a4e143635e4661a0dea239b9faa109"},{"version":"94ed2d1240b347c3f620642cde781b2048a7d17d5cf957e2379088a39d35418f","signature":"302280c749ac14a35a70667829db1fb7118cc298f4a9c98dbde1a69899158aeb"},{"version":"0ae539fcb9305ceed033478dad6057ca783cd05639a5ffec46236b181329b73d","signature":"fb2248233522d52bc64ce2a6cbbb7a48063c27fe937586687f86ec9e59f356be"},{"version":"b9181bea4a29329594d5c5a53bec78507fcc67ad0c5afa2a580dc51d6f19a4f7","signature":"4f7d54c603949113f45505330caae6f41e8dbb59841d4ae20b42307dc4579835"},"09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"4d719cfab49ae4045d15cb6bed0f38ad3d7d6eb7f277d2603502a0f862ca3182","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"5a856afb15f9dc9983faa391dde989826995a33983c1cccb173e9606688e9709","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","daece0d85f8783595463f509f7d82b03b2c210cc064cc793096b5f9c73a6db43","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"bd27e23daf177808fc4b00c86f7d67d64dc42bbc3c855ea41bfed7a529150a1d","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","0c236069ce7bded4f6774946e928e4b3601894d294054af47a553f7abcafe2c1","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"6ec93c745c5e3e25e278fa35451bf18ef857f733de7e57c15e7920ac463baa2a","affectsGlobalScope":true},"a5fe4cc622c3bf8e09ababde5f4096ceac53163eefcd95e9cd53f062ff9bb67a","30c2ec6abf6aaa60eb4f32fb1235531506b7961c6d1bdc7430711aec8fd85295","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"603df4e91a0c2fd815c6619927468373fb00b6c13066334982ee684f5c7d40b2","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","f8c87b19eae111f8720b0345ab301af8d81add39621b63614dfc2d15fd6f140a","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"24ba151e213906027e2b1f5223d33575a3612b0234a0e2b56119520bbe0e594b","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"527e6e7c1e60184879fe97517f0d51dbfab72c4625cef50179f27f46d7fd69a1","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"652ee9c5103e89102d87bc20d167a02a0e3e5e53665674466c8cfea8a9e418c7"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":false,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":1,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":false,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":99},"fileIdsList":[[43,153],[43,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,124,153],[43,68,153],[43,49,68,153],[43,49,153],[43,49,50,69,70,153],[43,58,68,69,71,72,153],[43,49,73,153],[43,73,153],[48,153],[75,153],[110,153],[111,116,144,153],[112,123,124,131,141,152,153],[112,113,123,131,153],[114,153],[115,116,124,132,153],[116,141,149,153],[117,119,123,131,153],[118,153],[119,120,153],[123,153],[121,123,153],[123,124,125,141,152,153],[123,124,125,138,141,144,153],[108,153,157],[153],[119,123,126,131,141,152,153],[123,124,126,127,131,141,149,152,153],[126,128,141,149,152,153],[75,76,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[123,129,153],[130,152,153,157],[119,123,131,141,153],[132,153],[133,153],[110,134,153],[135,151,153,157],[136,153],[137,153],[123,138,139,153],[138,140,153,155],[111,123,141,142,143,144,153],[111,141,143,153],[141,142,153],[144,153],[145,153],[110,141,153],[123,147,148,153],[147,148,153],[116,131,141,149,153],[150,153],[131,151,153],[111,126,137,152,153],[116,153],[141,153,154],[130,153,155],[153,156],[111,116,123,125,134,141,152,153,155,157],[141,153,158],[46,153],[44,45,112,123,124,141,153],[47,153],[85,89,152,153],[85,141,152,153],[80,153],[82,85,149,152,153],[131,149,153],[153,160],[80,153,160],[82,85,131,152,153],[77,78,81,84,111,123,141,152,153],[77,83,153],[81,85,111,144,152,153,160],[111,153,160],[101,111,153,160],[79,80,153,160],[85,153],[79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,102,103,104,105,106,107,153],[85,92,93,153],[83,85,93,94,153],[84,153],[77,80,85,153],[85,89,93,94,153],[89,153],[83,85,88,152,153],[77,82,83,85,89,92,153],[111,141,153],[80,85,101,111,153,157,160],[46,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],[46,68],[68],[49,68],[49],[46,49,70],[58,68,69,71,72],[49,73],[73]],"referencedMap":[[58,1],[68,2],[69,1],[59,3],[54,3],[62,3],[53,3],[67,3],[63,3],[65,3],[55,3],[51,4],[64,3],[66,3],[70,5],[52,3],[57,3],[61,3],[71,6],[60,3],[56,3],[73,7],[72,8],[74,9],[49,10],[75,11],[76,11],[110,12],[111,13],[112,14],[113,15],[114,16],[115,17],[116,18],[117,19],[118,20],[119,21],[120,21],[122,22],[121,23],[123,22],[124,24],[125,25],[109,26],[159,27],[126,28],[127,29],[128,30],[160,31],[129,32],[130,33],[131,34],[132,35],[133,36],[134,37],[135,38],[136,39],[137,40],[138,41],[139,41],[140,42],[141,43],[143,44],[142,45],[144,46],[145,47],[146,48],[147,49],[148,50],[149,51],[150,52],[151,53],[152,54],[153,55],[154,56],[155,57],[156,58],[157,59],[158,60],[44,27],[45,61],[46,62],[48,63],[47,61],[43,27],[8,27],[9,27],[11,27],[10,27],[2,27],[12,27],[13,27],[14,27],[15,27],[16,27],[17,27],[18,27],[19,27],[3,27],[4,27],[23,27],[20,27],[21,27],[22,27],[24,27],[25,27],[26,27],[5,27],[27,27],[28,27],[29,27],[30,27],[6,27],[31,27],[32,27],[33,27],[34,27],[7,27],[35,27],[40,27],[41,27],[36,27],[37,27],[38,27],[39,27],[1,27],[42,27],[92,64],[99,65],[91,64],[106,66],[83,67],[82,68],[105,69],[100,70],[103,71],[85,72],[84,73],[80,74],[79,75],[102,76],[81,77],[86,78],[87,27],[90,78],[77,27],[108,79],[107,78],[94,80],[95,81],[97,82],[93,83],[96,84],[101,69],[88,85],[89,86],[98,87],[78,88],[104,89],[50,1]],"exportedModulesMap":[[68,90],[59,91],[54,91],[62,92],[53,91],[67,92],[63,91],[65,91],[55,91],[51,93],[64,91],[66,91],[70,94],[52,91],[57,91],[61,91],[71,95],[60,91],[56,91],[73,96],[72,97],[74,98],[49,10],[75,11],[76,11],[110,12],[111,13],[112,14],[113,15],[114,16],[115,17],[116,18],[117,19],[118,20],[119,21],[120,21],[122,22],[121,23],[123,22],[124,24],[125,25],[109,26],[159,27],[126,28],[127,29],[128,30],[160,31],[129,32],[130,33],[131,34],[132,35],[133,36],[134,37],[135,38],[136,39],[137,40],[138,41],[139,41],[140,42],[141,43],[143,44],[142,45],[144,46],[145,47],[146,48],[147,49],[148,50],[149,51],[150,52],[151,53],[152,54],[153,55],[154,56],[155,57],[156,58],[157,59],[158,60],[44,27],[45,61],[46,62],[48,63],[47,61],[43,27],[8,27],[9,27],[11,27],[10,27],[2,27],[12,27],[13,27],[14,27],[15,27],[16,27],[17,27],[18,27],[19,27],[3,27],[4,27],[23,27],[20,27],[21,27],[22,27],[24,27],[25,27],[26,27],[5,27],[27,27],[28,27],[29,27],[30,27],[6,27],[31,27],[32,27],[33,27],[34,27],[7,27],[35,27],[40,27],[41,27],[36,27],[37,27],[38,27],[39,27],[1,27],[42,27],[92,64],[99,65],[91,64],[106,66],[83,67],[82,68],[105,69],[100,70],[103,71],[85,72],[84,73],[80,74],[79,75],[102,76],[81,77],[86,78],[87,27],[90,78],[77,27],[108,79],[107,78],[94,80],[95,81],[97,82],[93,83],[96,84],[101,69],[88,85],[89,86],[98,87],[78,88],[104,89]],"semanticDiagnosticsPerFile":[58,68,69,59,54,62,53,67,63,65,55,51,64,66,70,52,57,61,71,60,56,73,72,74,49,75,76,110,111,112,113,114,115,116,117,118,119,120,122,121,123,124,125,109,159,126,127,128,160,129,130,131,132,133,134,135,136,137,138,139,140,141,143,142,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,44,45,46,48,47,43,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,35,40,41,36,37,38,39,1,42,92,99,91,106,83,82,105,100,103,85,84,80,79,102,81,86,87,90,77,108,107,94,95,97,93,96,101,88,89,98,78,104,50],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"4.8.3"}
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/tslib/tslib.d.ts","../node_modules/playwright-core/types/protocol.d.ts","../node_modules/playwright-core/types/structs.d.ts","../node_modules/playwright-core/types/types.d.ts","../node_modules/playwright/types/test.d.ts","../node_modules/playwright/test.d.ts","../node_modules/@playwright/test/index.d.ts","../umbraco.config.ts","../lib/helpers/ReportHelper.ts","../lib/helpers/TelemetryDataApiHelper.ts","../lib/helpers/LanguageApiHelper.ts","../lib/helpers/DictionaryApiHelper.ts","../lib/helpers/RelationType.ts","../lib/helpers/UserGroupApiHelper.ts","../lib/helpers/TemplateApiHelper.ts","../lib/helpers/AliasHelper.ts","../lib/helpers/DataTypeApiHelper.ts","../lib/helpers/UserApiHelper.ts","../lib/helpers/TemporaryFileApiHelper.ts","../lib/helpers/DocumentApiHelper.ts","../lib/helpers/PackageApiHelper.ts","../lib/helpers/ScriptApiHelper.ts","../lib/helpers/PartialViewApiHelper.ts","../lib/helpers/StylesheetApiHelper.ts","../lib/helpers/LogViewerApiHelper.ts","../lib/helpers/ApiHelpers.ts","../lib/helpers/ConstantHelper.ts","../lib/helpers/StylesheetUiHelper.ts","../lib/helpers/PartialViewUiHelper.ts","../lib/helpers/UiHelpers.ts","../lib/helpers/testExtension.ts","../lib/helpers/index.ts","../lib/index.ts","../node_modules/@types/node/ts4.8/assert.d.ts","../node_modules/@types/node/ts4.8/assert/strict.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/ts4.8/globals.d.ts","../node_modules/@types/node/ts4.8/async_hooks.d.ts","../node_modules/@types/node/ts4.8/buffer.d.ts","../node_modules/@types/node/ts4.8/child_process.d.ts","../node_modules/@types/node/ts4.8/cluster.d.ts","../node_modules/@types/node/ts4.8/console.d.ts","../node_modules/@types/node/ts4.8/constants.d.ts","../node_modules/@types/node/ts4.8/crypto.d.ts","../node_modules/@types/node/ts4.8/dgram.d.ts","../node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../node_modules/@types/node/ts4.8/dns.d.ts","../node_modules/@types/node/ts4.8/dns/promises.d.ts","../node_modules/@types/node/ts4.8/domain.d.ts","../node_modules/@types/node/ts4.8/dom-events.d.ts","../node_modules/@types/node/ts4.8/events.d.ts","../node_modules/@types/node/ts4.8/fs.d.ts","../node_modules/@types/node/ts4.8/fs/promises.d.ts","../node_modules/@types/node/ts4.8/http.d.ts","../node_modules/@types/node/ts4.8/http2.d.ts","../node_modules/@types/node/ts4.8/https.d.ts","../node_modules/@types/node/ts4.8/inspector.d.ts","../node_modules/@types/node/ts4.8/module.d.ts","../node_modules/@types/node/ts4.8/net.d.ts","../node_modules/@types/node/ts4.8/os.d.ts","../node_modules/@types/node/ts4.8/path.d.ts","../node_modules/@types/node/ts4.8/perf_hooks.d.ts","../node_modules/@types/node/ts4.8/process.d.ts","../node_modules/@types/node/ts4.8/punycode.d.ts","../node_modules/@types/node/ts4.8/querystring.d.ts","../node_modules/@types/node/ts4.8/readline.d.ts","../node_modules/@types/node/ts4.8/readline/promises.d.ts","../node_modules/@types/node/ts4.8/repl.d.ts","../node_modules/@types/node/ts4.8/stream.d.ts","../node_modules/@types/node/ts4.8/stream/promises.d.ts","../node_modules/@types/node/ts4.8/stream/consumers.d.ts","../node_modules/@types/node/ts4.8/stream/web.d.ts","../node_modules/@types/node/ts4.8/string_decoder.d.ts","../node_modules/@types/node/ts4.8/test.d.ts","../node_modules/@types/node/ts4.8/timers.d.ts","../node_modules/@types/node/ts4.8/timers/promises.d.ts","../node_modules/@types/node/ts4.8/tls.d.ts","../node_modules/@types/node/ts4.8/trace_events.d.ts","../node_modules/@types/node/ts4.8/tty.d.ts","../node_modules/@types/node/ts4.8/url.d.ts","../node_modules/@types/node/ts4.8/util.d.ts","../node_modules/@types/node/ts4.8/v8.d.ts","../node_modules/@types/node/ts4.8/vm.d.ts","../node_modules/@types/node/ts4.8/wasi.d.ts","../node_modules/@types/node/ts4.8/worker_threads.d.ts","../node_modules/@types/node/ts4.8/zlib.d.ts","../node_modules/@types/node/ts4.8/globals.global.d.ts","../node_modules/@types/node/ts4.8/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e","08f466e76048fdad5b11cfea3e71f14dd81392831483f098c92715d62f2855db","8d13c86e53ac8a5ed2c205497dbf9446fa854c7b8a23288de62cb797fb4ca486","eacf1ea6f35270dcfba0a5931e753616734d11ccddc6b2c2a9767b38058a3279",{"version":"de6d2e55195064e4460f0dcc4d560f4aaf84c202290dd4b5306affaf4eb4cb1d","affectsGlobalScope":true},"3f00324f263189b385c3a9383b1f4dae6237697bcf0801f96aa35c340512d79c","ec8997c2e5cea26befc76e7bf990750e96babb16977673a9ff3b5c0575d01e48",{"version":"c93350324664aeec0217741e56c4950435f58ebba7c4589b99deec894b33d67b","signature":"22fea8c28752d1a841afd4b34f886b6ddd7701982943de4a92694a371824b818"},{"version":"e598311445ebe4378af1cb00abfb7222659a7851aaa3d9549c64628857ab4838","signature":"d9e590839d9b5259ea85c4b7b8abedd8459bfadad3aa2ab707df5f06d838a879"},{"version":"16bc0fd4adf6f83440a9f0401fc64bd45c73ca0e5e3efa7a3df152e884420ccd","signature":"f4c914bf76148b4feba712d9e6b2b33b52ee537448d9002e48faaadd12d8f1e9"},{"version":"7a4a8fa9be7dd4a0eacf6fcc79982805195f24c62c8419af326ec22b1a534345","signature":"9631597fd2063026932c3a99645b68682cef2081aead168c0416026468c64388"},{"version":"64ea91ed2aae8aeb8e45e53934fe756af0d7fa3a05172300a3b9404a6192c390","signature":"cd091e88f3461938d185a251e0146b32d0be6b29ad3deab8baa1f5d4fc1597d8"},{"version":"08a26c1d6bbbfb44ef2484675d96f5bf36d427b0e6edad61b38d68858a884098","signature":"e7bfac5c6a6ab4c11b72866e86bbf758f38a8c7c983ea10787a54f10460ae013"},{"version":"7426201624290b4bbe597a6e4bdaa8a5b84ec70333e28b324ee95f51af08c296","signature":"7407519d4b5aefa9a1d72b84833ebc8bf55ae8f45cc37ee2448eb1ee1e61deb3"},{"version":"4c712a0845e307a40ee6f5513712e15acfcaaac0abdd6f7dddbdfb0590329aee","signature":"b383d07b6cfbbf9750f1dd5e56d6d68f2ca0355305d47a05a30185c24786f62a"},{"version":"e17f07b028b14f80d6c625470844ec2f52f37efcd58f80dffc607fb8653cd4d0","signature":"7c9803e8b478726fc90dac32492eb1904cf2ddf6cacc9393a823a1f56c8de2b6"},{"version":"324203f35fe8c0bb25b887cd8325314e672f884200fe9b6b93c8dc9eba09fcee","signature":"0eafac28ea0186d351cdda9458653d1dbd6f283bd0f8c571d7169b1dbcf7e978"},{"version":"39fbeac72c4027903be763529c6caa5dc5c1c4ee359b6f6adfdc912484e57116","signature":"e024dceb8caff34db9cfba3b2ac19170b0afc1b817a0b66e22e0141b34e2fc6e"},{"version":"95b1d0701ff22a984ce1b67910110194ed14ffa433b44a3be5111174d5695559","signature":"b3e9372b4dbae48465582902ca7446cd9ef9dae6092670eaa18af04d5c089c00"},{"version":"fadb42657de31f353a17a9cce4ca0bdb0424b58179197ce97f1f49313b35df93","signature":"4af44936bc7df88f3d8bbf0b250cf4fd76ad9d38bd2884db6ca9b0c97c42ce99"},{"version":"d609d8b0a013e2645316b975ab68855dfbd72cbd5311e0093c4f14d87defd34f","signature":"2698823199b9e32187daacb96108ed9a06e913d2e5347bf99ea2c1d1d33df20a"},{"version":"7a36aa9524ddda8bf096aefc2add840b999c739a6f9c162308bf4df67b1ea38e","signature":"deccd4cbb6aff120ec5e2ddc0b7ea148c882c6c90ac4fdd5b782fb22c69fd4b5"},{"version":"d6917bd112fe04f6219a97fb220870f35d0436b0c4faa283e66825d9286d5749","signature":"c9036817775dc8b9f4827c995ae5e30fe24368c99f18a1062b563b64bafcf92c"},{"version":"10b79acf9bb550d279a61a1f68c4482eb4136bf2c27c7cf992263b26e107be97","signature":"c6eda38ec935f15888bdb8866ee57086c7a61953173adfcdf72c272f9ce6f17a"},{"version":"f1bd24334e503e833a2cecf306de16ba4c5cf2fefd6fda9d57c19d838f6cb8ec","signature":"35d0dad48d46ff699954fd32afe947a9191acfd3a0dbf1d9d75f4f8785d41cc3"},{"version":"8c2ac162973c67413b8a99dbcd493f0c35b341426a522e7422bdb510b0632ca7","signature":"e60e1e97c3bbcfcd8b1c9a1beff849fc749146da4fe2d17479c1e20a5cbacc6b"},{"version":"2cd71417c382c2f417294dfa0e34c1ed314b6976480087f7dd7980b793484a47","signature":"bb8f4231e89b77b07df78175e69051078407d14ad055fad1cf54aae3e2317567"},{"version":"e482800001a65e89b18b3bc758e6b6c863816c2cc564f81d843f63aec226d04a","signature":"5a4bd3985275ebff0ac8836fc8dec8a4540bfbd6e693bc693fd55e288795e74e"},{"version":"cb0483aa477b994203af5462864939ca492aea4e3511d1310b2a2f3b8462cc50","signature":"76450050e80c5f886fcae3cd92e87e80f052d6c3974fe0724b4c8d266236b38e"},{"version":"cbf64c18d71f24cad552d42b5580d0c4d6f563e61095dbaa4d965e0c7fd57581","signature":"7bf05f199fa62d2ff14978fc1f2d9731b30773112cc8c3714d0abbc28e7065ac"},{"version":"94ed2d1240b347c3f620642cde781b2048a7d17d5cf957e2379088a39d35418f","signature":"302280c749ac14a35a70667829db1fb7118cc298f4a9c98dbde1a69899158aeb"},{"version":"0ae539fcb9305ceed033478dad6057ca783cd05639a5ffec46236b181329b73d","signature":"fb2248233522d52bc64ce2a6cbbb7a48063c27fe937586687f86ec9e59f356be"},{"version":"b9181bea4a29329594d5c5a53bec78507fcc67ad0c5afa2a580dc51d6f19a4f7","signature":"4f7d54c603949113f45505330caae6f41e8dbb59841d4ae20b42307dc4579835"},"09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"4d719cfab49ae4045d15cb6bed0f38ad3d7d6eb7f277d2603502a0f862ca3182","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"5a856afb15f9dc9983faa391dde989826995a33983c1cccb173e9606688e9709","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","daece0d85f8783595463f509f7d82b03b2c210cc064cc793096b5f9c73a6db43","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"bd27e23daf177808fc4b00c86f7d67d64dc42bbc3c855ea41bfed7a529150a1d","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","0c236069ce7bded4f6774946e928e4b3601894d294054af47a553f7abcafe2c1","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"6ec93c745c5e3e25e278fa35451bf18ef857f733de7e57c15e7920ac463baa2a","affectsGlobalScope":true},"a5fe4cc622c3bf8e09ababde5f4096ceac53163eefcd95e9cd53f062ff9bb67a","30c2ec6abf6aaa60eb4f32fb1235531506b7961c6d1bdc7430711aec8fd85295","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"603df4e91a0c2fd815c6619927468373fb00b6c13066334982ee684f5c7d40b2","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","f8c87b19eae111f8720b0345ab301af8d81add39621b63614dfc2d15fd6f140a","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"24ba151e213906027e2b1f5223d33575a3612b0234a0e2b56119520bbe0e594b","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"527e6e7c1e60184879fe97517f0d51dbfab72c4625cef50179f27f46d7fd69a1","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"652ee9c5103e89102d87bc20d167a02a0e3e5e53665674466c8cfea8a9e418c7"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"emitDeclarationOnly":false,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":1,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":false,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"strictPropertyInitialization":false,"target":99},"fileIdsList":[[43,154],[43,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,125,154],[43,68,154],[43,49,154],[43,49,68,154],[43,49,50,69,70,71,154],[43,58,68,69,72,73,154],[43,49,74,154],[43,74,154],[48,154],[76,154],[111,154],[112,117,145,154],[113,124,125,132,142,153,154],[113,114,124,132,154],[115,154],[116,117,125,133,154],[117,142,150,154],[118,120,124,132,154],[119,154],[120,121,154],[124,154],[122,124,154],[124,125,126,142,153,154],[124,125,126,139,142,145,154],[109,154,158],[154],[120,124,127,132,142,153,154],[124,125,127,128,132,142,150,153,154],[127,129,142,150,153,154],[76,77,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],[124,130,154],[131,153,154,158],[120,124,132,142,154],[133,154],[134,154],[111,135,154],[136,152,154,158],[137,154],[138,154],[124,139,140,154],[139,141,154,156],[112,124,142,143,144,145,154],[112,142,144,154],[142,143,154],[145,154],[146,154],[111,142,154],[124,148,149,154],[148,149,154],[117,132,142,150,154],[151,154],[132,152,154],[112,127,138,153,154],[117,154],[142,154,155],[131,154,156],[154,157],[112,117,124,126,135,142,153,154,156,158],[142,154,159],[46,154],[44,45,113,124,125,142,154],[47,154],[86,90,153,154],[86,142,153,154],[81,154],[83,86,150,153,154],[132,150,154],[154,161],[81,154,161],[83,86,132,153,154],[78,79,82,85,112,124,142,153,154],[78,84,154],[82,86,112,145,153,154,161],[112,154,161],[102,112,154,161],[80,81,154,161],[86,154],[80,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,100,101,103,104,105,106,107,108,154],[86,93,94,154],[84,86,94,95,154],[85,154],[78,81,86,154],[86,90,94,95,154],[90,154],[84,86,89,153,154],[78,83,84,86,90,93,154],[112,142,154],[81,86,102,112,154,158,161],[46,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],[46,68],[68],[49],[49,68],[46,49,70,71],[58,68,69,72,73],[49,74],[74]],"referencedMap":[[58,1],[68,2],[69,1],[59,3],[54,3],[62,3],[53,3],[67,3],[63,3],[65,3],[71,4],[55,3],[51,5],[64,3],[66,3],[70,4],[52,3],[57,3],[61,3],[72,6],[60,3],[56,3],[74,7],[73,8],[75,9],[49,10],[76,11],[77,11],[111,12],[112,13],[113,14],[114,15],[115,16],[116,17],[117,18],[118,19],[119,20],[120,21],[121,21],[123,22],[122,23],[124,22],[125,24],[126,25],[110,26],[160,27],[127,28],[128,29],[129,30],[161,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,37],[136,38],[137,39],[138,40],[139,41],[140,41],[141,42],[142,43],[144,44],[143,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[151,52],[152,53],[153,54],[154,55],[155,56],[156,57],[157,58],[158,59],[159,60],[44,27],[45,61],[46,62],[48,63],[47,61],[43,27],[8,27],[9,27],[11,27],[10,27],[2,27],[12,27],[13,27],[14,27],[15,27],[16,27],[17,27],[18,27],[19,27],[3,27],[4,27],[23,27],[20,27],[21,27],[22,27],[24,27],[25,27],[26,27],[5,27],[27,27],[28,27],[29,27],[30,27],[6,27],[31,27],[32,27],[33,27],[34,27],[7,27],[35,27],[40,27],[41,27],[36,27],[37,27],[38,27],[39,27],[1,27],[42,27],[93,64],[100,65],[92,64],[107,66],[84,67],[83,68],[106,69],[101,70],[104,71],[86,72],[85,73],[81,74],[80,75],[103,76],[82,77],[87,78],[88,27],[91,78],[78,27],[109,79],[108,78],[95,80],[96,81],[98,82],[94,83],[97,84],[102,69],[89,85],[90,86],[99,87],[79,88],[105,89],[50,1]],"exportedModulesMap":[[68,90],[59,91],[54,91],[62,92],[53,91],[67,92],[63,91],[65,91],[71,93],[55,91],[51,94],[64,91],[66,91],[70,93],[52,91],[57,91],[61,91],[72,95],[60,91],[56,91],[74,96],[73,97],[75,98],[49,10],[76,11],[77,11],[111,12],[112,13],[113,14],[114,15],[115,16],[116,17],[117,18],[118,19],[119,20],[120,21],[121,21],[123,22],[122,23],[124,22],[125,24],[126,25],[110,26],[160,27],[127,28],[128,29],[129,30],[161,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,37],[136,38],[137,39],[138,40],[139,41],[140,41],[141,42],[142,43],[144,44],[143,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[151,52],[152,53],[153,54],[154,55],[155,56],[156,57],[157,58],[158,59],[159,60],[44,27],[45,61],[46,62],[48,63],[47,61],[43,27],[8,27],[9,27],[11,27],[10,27],[2,27],[12,27],[13,27],[14,27],[15,27],[16,27],[17,27],[18,27],[19,27],[3,27],[4,27],[23,27],[20,27],[21,27],[22,27],[24,27],[25,27],[26,27],[5,27],[27,27],[28,27],[29,27],[30,27],[6,27],[31,27],[32,27],[33,27],[34,27],[7,27],[35,27],[40,27],[41,27],[36,27],[37,27],[38,27],[39,27],[1,27],[42,27],[93,64],[100,65],[92,64],[107,66],[84,67],[83,68],[106,69],[101,70],[104,71],[86,72],[85,73],[81,74],[80,75],[103,76],[82,77],[87,78],[88,27],[91,78],[78,27],[109,79],[108,78],[95,80],[96,81],[98,82],[94,83],[97,84],[102,69],[89,85],[90,86],[99,87],[79,88],[105,89]],"semanticDiagnosticsPerFile":[58,68,69,59,54,62,53,67,63,65,71,55,51,64,66,70,52,57,61,72,60,56,74,73,75,49,76,77,111,112,113,114,115,116,117,118,119,120,121,123,122,124,125,126,110,160,127,128,129,161,130,131,132,133,134,135,136,137,138,139,140,141,142,144,143,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,44,45,46,48,47,43,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,35,40,41,36,37,38,39,1,42,93,100,92,107,84,83,106,101,104,86,85,81,80,103,82,87,88,91,78,109,108,95,96,98,94,97,102,89,90,99,79,105,50],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"4.8.3"}
|
package/package.json
CHANGED