@applitools/eyes 1.25.0 → 1.26.0
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/CHANGELOG.md +54 -0
- package/dist/input/CheckSettings.js +51 -55
- package/package.json +2 -2
- package/types/input/CheckSettings.d.ts +17 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.26.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.25.1...js/eyes@1.26.0) (2024-10-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/dom-snapshot bumped to 4.11.5
|
|
14
|
+
|
|
15
|
+
* @applitools/snippets bumped to 2.6.0
|
|
16
|
+
#### Features
|
|
17
|
+
|
|
18
|
+
* html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
|
|
19
|
+
* @applitools/core-base bumped to 1.19.0
|
|
20
|
+
#### Features
|
|
21
|
+
|
|
22
|
+
* html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
|
|
23
|
+
* @applitools/driver bumped to 1.19.5
|
|
24
|
+
|
|
25
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.17
|
|
26
|
+
|
|
27
|
+
* @applitools/spec-driver-selenium bumped to 1.5.88
|
|
28
|
+
|
|
29
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.17
|
|
30
|
+
|
|
31
|
+
* @applitools/screenshoter bumped to 3.9.3
|
|
32
|
+
|
|
33
|
+
* @applitools/nml-client bumped to 1.8.15
|
|
34
|
+
|
|
35
|
+
* @applitools/ec-client bumped to 1.9.11
|
|
36
|
+
|
|
37
|
+
* @applitools/core bumped to 4.22.0
|
|
38
|
+
#### Features
|
|
39
|
+
|
|
40
|
+
* html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## [1.25.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.25.0...js/eyes@1.25.1) (2024-10-29)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Dependencies
|
|
49
|
+
|
|
50
|
+
* @applitools/screenshoter bumped to 3.9.2
|
|
51
|
+
#### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* test in screenshoter web ([f068dbe](https://github.com/Applitools-Dev/sdk/commit/f068dbe9036163fb3e316411cfd9f47a226d7c9c))
|
|
54
|
+
* @applitools/core bumped to 4.21.2
|
|
55
|
+
|
|
56
|
+
|
|
3
57
|
## [1.25.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.24.0...js/eyes@1.25.0) (2024-10-28)
|
|
4
58
|
|
|
5
59
|
|
|
@@ -43,9 +43,6 @@ class CheckSettingsBaseFluent {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
region(region) {
|
|
46
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
47
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
48
|
-
}
|
|
49
46
|
this._settings.region = region;
|
|
50
47
|
return this;
|
|
51
48
|
}
|
|
@@ -59,9 +56,6 @@ class CheckSettingsBaseFluent {
|
|
|
59
56
|
ignoreRegion(region) {
|
|
60
57
|
if (!this._settings.ignoreRegions)
|
|
61
58
|
this._settings.ignoreRegions = [];
|
|
62
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
63
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
64
|
-
}
|
|
65
59
|
this._settings.ignoreRegions.push(region);
|
|
66
60
|
return this;
|
|
67
61
|
}
|
|
@@ -80,9 +74,6 @@ class CheckSettingsBaseFluent {
|
|
|
80
74
|
layoutRegion(region) {
|
|
81
75
|
if (!this._settings.layoutRegions)
|
|
82
76
|
this._settings.layoutRegions = [];
|
|
83
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
84
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
85
|
-
}
|
|
86
77
|
this._settings.layoutRegions.push(region);
|
|
87
78
|
return this;
|
|
88
79
|
}
|
|
@@ -93,9 +84,6 @@ class CheckSettingsBaseFluent {
|
|
|
93
84
|
strictRegion(region) {
|
|
94
85
|
if (!this._settings.strictRegions)
|
|
95
86
|
this._settings.strictRegions = [];
|
|
96
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
97
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
98
|
-
}
|
|
99
87
|
this._settings.strictRegions.push(region);
|
|
100
88
|
return this;
|
|
101
89
|
}
|
|
@@ -106,9 +94,6 @@ class CheckSettingsBaseFluent {
|
|
|
106
94
|
contentRegion(region) {
|
|
107
95
|
if (!this._settings.contentRegions)
|
|
108
96
|
this._settings.contentRegions = [];
|
|
109
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
110
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
111
|
-
}
|
|
112
97
|
this._settings.contentRegions.push(region);
|
|
113
98
|
return this;
|
|
114
99
|
}
|
|
@@ -117,9 +102,6 @@ class CheckSettingsBaseFluent {
|
|
|
117
102
|
return this;
|
|
118
103
|
}
|
|
119
104
|
floatingRegion(region, maxUpOffset, maxDownOffset, maxLeftOffset, maxRightOffset) {
|
|
120
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
121
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
122
|
-
}
|
|
123
105
|
let floatingRegion;
|
|
124
106
|
if (utils.types.has(region, 'region')) {
|
|
125
107
|
const { maxUpOffset, maxDownOffset, maxLeftOffset, maxRightOffset, ...rest } = region;
|
|
@@ -165,9 +147,6 @@ class CheckSettingsBaseFluent {
|
|
|
165
147
|
return this.floatingRegions(regionOrMaxOffset, ...regions);
|
|
166
148
|
}
|
|
167
149
|
accessibilityRegion(region, type) {
|
|
168
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
169
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
170
|
-
}
|
|
171
150
|
const accessibilityRegion = utils.types.has(region, 'region') ? region : { region, type };
|
|
172
151
|
if (!this._settings.accessibilityRegions)
|
|
173
152
|
this._settings.accessibilityRegions = [];
|
|
@@ -191,9 +170,6 @@ class CheckSettingsBaseFluent {
|
|
|
191
170
|
return this;
|
|
192
171
|
}
|
|
193
172
|
dynamicRegion(region, type) {
|
|
194
|
-
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
195
|
-
region = { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
196
|
-
}
|
|
197
173
|
const dynamicRegion = utils.types.has(region, 'region') ? region : { region, type };
|
|
198
174
|
if (!this._settings.dynamicRegions)
|
|
199
175
|
this._settings.dynamicRegions = [];
|
|
@@ -324,6 +300,36 @@ class CheckSettingsBaseFluent {
|
|
|
324
300
|
},
|
|
325
301
|
});
|
|
326
302
|
}
|
|
303
|
+
// protected toCoreCodedRegion(region: CodedRegion<TRegion>): Core.CodedRegion<TRegion | utils.Region>
|
|
304
|
+
// protected toCoreCodedRegion(region: Region | LegacyRegion | TRegion): utils.Region | TRegion
|
|
305
|
+
toCoreCodedRegion(region) {
|
|
306
|
+
if (utils.types.has(region, ['region'])) {
|
|
307
|
+
return { ...region, region: this.toCoreRegion(region.region) };
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
return this.toCoreRegion(region);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
toCoreCodedFloatingRegion(region) {
|
|
314
|
+
if (utils.types.has(region, 'region')) {
|
|
315
|
+
const { maxUpOffset, maxDownOffset, maxLeftOffset, maxRightOffset, ...rest } = region;
|
|
316
|
+
return {
|
|
317
|
+
offset: { top: maxUpOffset, bottom: maxDownOffset, left: maxLeftOffset, right: maxRightOffset },
|
|
318
|
+
...this.toCoreCodedRegion(rest),
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
return this.toCoreRegion(region);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
toCoreRegion(region) {
|
|
326
|
+
if (utils.types.has(region, ['left', 'top', 'width', 'height'])) {
|
|
327
|
+
return { x: region.left, y: region.top, width: region.width, height: region.height };
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
return region;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
327
333
|
}
|
|
328
334
|
exports.CheckSettingsBaseFluent = CheckSettingsBaseFluent;
|
|
329
335
|
class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
|
|
@@ -378,20 +384,20 @@ class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
|
|
|
378
384
|
target: this._target,
|
|
379
385
|
settings: utils.general.removeUndefinedProps({
|
|
380
386
|
name: this._settings.name,
|
|
381
|
-
region: this._settings.region,
|
|
387
|
+
region: this._settings.region ? this.toCoreRegion(this._settings.region) : this._settings.region,
|
|
382
388
|
matchLevel: this._settings.matchLevel,
|
|
383
389
|
useDom: this._settings.useDom,
|
|
384
390
|
sendDom: this._settings.sendDom,
|
|
385
391
|
enablePatterns: this._settings.enablePatterns,
|
|
386
392
|
ignoreDisplacements: this._settings.ignoreDisplacements,
|
|
387
393
|
ignoreCaret: this._settings.ignoreCaret,
|
|
388
|
-
ignoreRegions: (_a = this._settings.ignoreRegions) === null || _a === void 0 ? void 0 : _a.
|
|
389
|
-
layoutRegions: (_b = this._settings.layoutRegions) === null || _b === void 0 ? void 0 : _b.
|
|
390
|
-
strictRegions: (_c = this._settings.strictRegions) === null || _c === void 0 ? void 0 : _c.
|
|
391
|
-
contentRegions: (_d = this._settings.contentRegions) === null || _d === void 0 ? void 0 : _d.
|
|
392
|
-
floatingRegions: (_e = this._settings.floatingRegions) === null || _e === void 0 ? void 0 : _e.
|
|
393
|
-
accessibilityRegions: (_f = this._settings.accessibilityRegions) === null || _f === void 0 ? void 0 : _f.
|
|
394
|
-
dynamicRegions: (_g = this._settings.dynamicRegions) === null || _g === void 0 ? void 0 : _g.
|
|
394
|
+
ignoreRegions: (_a = this._settings.ignoreRegions) === null || _a === void 0 ? void 0 : _a.map(this.toCoreCodedRegion),
|
|
395
|
+
layoutRegions: (_b = this._settings.layoutRegions) === null || _b === void 0 ? void 0 : _b.map(this.toCoreCodedRegion),
|
|
396
|
+
strictRegions: (_c = this._settings.strictRegions) === null || _c === void 0 ? void 0 : _c.map(this.toCoreCodedRegion),
|
|
397
|
+
contentRegions: (_d = this._settings.contentRegions) === null || _d === void 0 ? void 0 : _d.map(this.toCoreCodedRegion),
|
|
398
|
+
floatingRegions: (_e = this._settings.floatingRegions) === null || _e === void 0 ? void 0 : _e.map(this.toCoreCodedFloatingRegion),
|
|
399
|
+
accessibilityRegions: (_f = this._settings.accessibilityRegions) === null || _f === void 0 ? void 0 : _f.map(this.toCoreCodedRegion),
|
|
400
|
+
dynamicRegions: (_g = this._settings.dynamicRegions) === null || _g === void 0 ? void 0 : _g.map(this.toCoreCodedRegion),
|
|
395
401
|
pageId: this._settings.pageId,
|
|
396
402
|
userCommandId: this._settings.variationGroupId,
|
|
397
403
|
assumesMutability: this.assumesMutability(),
|
|
@@ -522,11 +528,11 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
522
528
|
return this.beforeRenderScreenshotHook(script);
|
|
523
529
|
}
|
|
524
530
|
ufgOption(key, value) {
|
|
525
|
-
this._settings.
|
|
531
|
+
this._settings.ufgOptions = { ...this._settings.ufgOptions, [key]: value };
|
|
526
532
|
return this;
|
|
527
533
|
}
|
|
528
534
|
ufgOptions(options) {
|
|
529
|
-
this._settings.
|
|
535
|
+
this._settings.ufgOptions = options;
|
|
530
536
|
return this;
|
|
531
537
|
}
|
|
532
538
|
/** @deprecated */
|
|
@@ -569,12 +575,12 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
569
575
|
}
|
|
570
576
|
/** @internal */
|
|
571
577
|
toJSON() {
|
|
572
|
-
var _a;
|
|
578
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
573
579
|
return {
|
|
574
580
|
target: undefined,
|
|
575
581
|
settings: utils.general.removeUndefinedProps({
|
|
576
582
|
name: this._settings.name,
|
|
577
|
-
region: this._settings.region,
|
|
583
|
+
region: this._settings.region ? this.toCoreRegion(this._settings.region) : this._settings.region,
|
|
578
584
|
frames: this._settings.frames,
|
|
579
585
|
webview: this._settings.webview,
|
|
580
586
|
scrollRootElement: this._settings.scrollRootElement,
|
|
@@ -585,30 +591,20 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
585
591
|
enablePatterns: this._settings.enablePatterns,
|
|
586
592
|
ignoreDisplacements: this._settings.ignoreDisplacements,
|
|
587
593
|
ignoreCaret: this._settings.ignoreCaret,
|
|
588
|
-
ignoreRegions: this._settings.ignoreRegions,
|
|
589
|
-
layoutRegions: this._settings.layoutRegions,
|
|
590
|
-
strictRegions: this._settings.strictRegions,
|
|
591
|
-
contentRegions: this._settings.contentRegions,
|
|
592
|
-
floatingRegions: this._settings.floatingRegions
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
const { maxUpOffset, maxDownOffset, maxLeftOffset, maxRightOffset, ...rest } = floatingRegion;
|
|
596
|
-
return {
|
|
597
|
-
offset: { top: maxUpOffset, bottom: maxDownOffset, left: maxLeftOffset, right: maxRightOffset },
|
|
598
|
-
...rest,
|
|
599
|
-
};
|
|
600
|
-
}
|
|
601
|
-
return floatingRegion;
|
|
602
|
-
}),
|
|
603
|
-
accessibilityRegions: this._settings.accessibilityRegions,
|
|
604
|
-
dynamicRegions: this._settings.dynamicRegions,
|
|
594
|
+
ignoreRegions: (_a = this._settings.ignoreRegions) === null || _a === void 0 ? void 0 : _a.map(this.toCoreCodedRegion),
|
|
595
|
+
layoutRegions: (_b = this._settings.layoutRegions) === null || _b === void 0 ? void 0 : _b.map(this.toCoreCodedRegion),
|
|
596
|
+
strictRegions: (_c = this._settings.strictRegions) === null || _c === void 0 ? void 0 : _c.map(this.toCoreCodedRegion),
|
|
597
|
+
contentRegions: (_d = this._settings.contentRegions) === null || _d === void 0 ? void 0 : _d.map(this.toCoreCodedRegion),
|
|
598
|
+
floatingRegions: (_e = this._settings.floatingRegions) === null || _e === void 0 ? void 0 : _e.map(this.toCoreCodedFloatingRegion),
|
|
599
|
+
accessibilityRegions: (_f = this._settings.accessibilityRegions) === null || _f === void 0 ? void 0 : _f.map(this.toCoreCodedRegion),
|
|
600
|
+
dynamicRegions: (_g = this._settings.dynamicRegions) === null || _g === void 0 ? void 0 : _g.map(this.toCoreCodedRegion),
|
|
605
601
|
disableBrowserFetching: this._settings.disableBrowserFetching,
|
|
606
602
|
layoutBreakpoints: utils.types.isDefined(this._settings.layoutBreakpoints)
|
|
607
603
|
? utils.types.has(this._settings.layoutBreakpoints, 'breakpoints')
|
|
608
604
|
? this._settings.layoutBreakpoints
|
|
609
|
-
: { breakpoints: (
|
|
605
|
+
: { breakpoints: (_h = this._settings.layoutBreakpoints) !== null && _h !== void 0 ? _h : false }
|
|
610
606
|
: undefined,
|
|
611
|
-
ufgOptions: this._settings.visualGridOptions,
|
|
607
|
+
ufgOptions: (_j = this._settings.ufgOptions) !== null && _j !== void 0 ? _j : this._settings.visualGridOptions,
|
|
612
608
|
nmgOptions: this._settings.nmgOptions,
|
|
613
609
|
screenshotMode: this._settings.useSystemScreenshot ? 'default' : undefined,
|
|
614
610
|
hooks: this._settings.hooks,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@applitools/core": "4.
|
|
48
|
+
"@applitools/core": "4.22.0",
|
|
49
49
|
"@applitools/logger": "2.0.18",
|
|
50
50
|
"@applitools/utils": "1.7.4"
|
|
51
51
|
},
|
|
@@ -8,8 +8,9 @@ import { Region, LegacyRegion } from './Region';
|
|
|
8
8
|
import { Location } from './Location';
|
|
9
9
|
import { LazyLoadOptions } from './LazyLoadOptions';
|
|
10
10
|
import { DensityMetrics } from './DensityMetrics';
|
|
11
|
+
import * as utils from '@applitools/utils';
|
|
11
12
|
import { DynamicTextType } from '../enums/DynamicTextType';
|
|
12
|
-
type RegionReference<TSpec extends Core.SpecType> = Region | ElementReference<TSpec>;
|
|
13
|
+
type RegionReference<TSpec extends Core.SpecType> = Region | LegacyRegion | ElementReference<TSpec>;
|
|
13
14
|
type ElementReference<TSpec extends Core.SpecType> = TSpec['element'] | SelectorReference<TSpec>;
|
|
14
15
|
type SelectorReference<TSpec extends Core.SpecType> = EyesSelector<TSpec['selector']>;
|
|
15
16
|
type FrameReference<TSpec extends Core.SpecType> = ElementReference<TSpec> | string | number;
|
|
@@ -18,7 +19,7 @@ type ContextReference<TSpec extends Core.SpecType> = {
|
|
|
18
19
|
scrollRootElement?: ElementReference<TSpec>;
|
|
19
20
|
};
|
|
20
21
|
type CodedRegion<TRegion = never> = {
|
|
21
|
-
region: Region | TRegion;
|
|
22
|
+
region: Region | LegacyRegion | TRegion;
|
|
22
23
|
padding?: number | {
|
|
23
24
|
top: number;
|
|
24
25
|
bottom: number;
|
|
@@ -51,7 +52,7 @@ type CodedDynamicRegion<TRegion = never> = CodedRegion<TRegion> & {
|
|
|
51
52
|
};
|
|
52
53
|
export type CheckSettingsBase<TRegion = never> = {
|
|
53
54
|
name?: string;
|
|
54
|
-
region?: Region | TRegion;
|
|
55
|
+
region?: Region | LegacyRegion | TRegion;
|
|
55
56
|
matchLevel?: MatchLevel;
|
|
56
57
|
useDom?: boolean;
|
|
57
58
|
sendDom?: boolean;
|
|
@@ -59,12 +60,12 @@ export type CheckSettingsBase<TRegion = never> = {
|
|
|
59
60
|
ignoreDisplacements?: boolean;
|
|
60
61
|
ignoreMismatch?: boolean;
|
|
61
62
|
ignoreCaret?: boolean;
|
|
62
|
-
ignoreRegions?: (CodedRegion<TRegion> | Region | TRegion)[];
|
|
63
|
-
layoutRegions?: (CodedRegion<TRegion> | Region | TRegion)[];
|
|
64
|
-
strictRegions?: (CodedRegion<TRegion> | Region | TRegion)[];
|
|
65
|
-
contentRegions?: (CodedRegion<TRegion> | Region | TRegion)[];
|
|
66
|
-
floatingRegions?: (CodedFloatingRegion<TRegion> | LegacyCodedFloatingRegion<TRegion> | Region | TRegion)[];
|
|
67
|
-
accessibilityRegions?: (CodedAccessibilityRegion<TRegion> | Region | TRegion)[];
|
|
63
|
+
ignoreRegions?: (CodedRegion<TRegion> | Region | LegacyRegion | TRegion)[];
|
|
64
|
+
layoutRegions?: (CodedRegion<TRegion> | Region | LegacyRegion | TRegion)[];
|
|
65
|
+
strictRegions?: (CodedRegion<TRegion> | Region | LegacyRegion | TRegion)[];
|
|
66
|
+
contentRegions?: (CodedRegion<TRegion> | Region | LegacyRegion | TRegion)[];
|
|
67
|
+
floatingRegions?: (CodedFloatingRegion<TRegion> | LegacyCodedFloatingRegion<TRegion> | Region | LegacyRegion | TRegion)[];
|
|
68
|
+
accessibilityRegions?: (CodedAccessibilityRegion<TRegion> | Region | LegacyRegion | TRegion)[];
|
|
68
69
|
dynamicRegions?: (CodedDynamicRegion<TRegion> | Region | TRegion)[];
|
|
69
70
|
pageId?: string;
|
|
70
71
|
variationGroupId?: string;
|
|
@@ -81,9 +82,13 @@ export type CheckSettingsAutomation<TSpec extends Core.SpecType> = CheckSettings
|
|
|
81
82
|
breakpoints: number[] | boolean;
|
|
82
83
|
reload?: boolean;
|
|
83
84
|
};
|
|
85
|
+
/** @deprecated */
|
|
84
86
|
visualGridOptions?: {
|
|
85
87
|
[key: string]: any;
|
|
86
88
|
};
|
|
89
|
+
ufgOptions?: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
87
92
|
/** @deprecated */
|
|
88
93
|
nmgOptions?: {
|
|
89
94
|
[key: string]: any;
|
|
@@ -159,6 +164,9 @@ export declare class CheckSettingsBaseFluent<TRegion = never> {
|
|
|
159
164
|
/** @internal */
|
|
160
165
|
protected assumesMutability(): true | undefined;
|
|
161
166
|
protected static makeMutableTreeProxy<K, T extends CheckSettingsBaseFluent<K>>(self: T, ctor: new (...args: any[]) => T): T;
|
|
167
|
+
protected toCoreCodedRegion(region: CodedRegion<TRegion> | Region | LegacyRegion | TRegion): Core.CodedRegion<TRegion | utils.Region> | utils.Region | TRegion;
|
|
168
|
+
protected toCoreCodedFloatingRegion(region: CodedFloatingRegion<TRegion> | LegacyCodedFloatingRegion<TRegion> | Region | LegacyRegion | TRegion): Core.FloatingRegion<TRegion | utils.Region> | utils.Region | TRegion;
|
|
169
|
+
protected toCoreRegion(region: Region | LegacyRegion | TRegion): utils.Region | TRegion;
|
|
162
170
|
}
|
|
163
171
|
export declare class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
|
|
164
172
|
protected _target: Image;
|