@applitools/eyes 1.43.5 → 1.43.6
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 +26 -0
- package/dist/input/CheckSettings.js +22 -1
- package/dist/input/Configuration.js +28 -17
- package/dist/input/ExactMatchSettings.js +18 -5
- package/dist/input/ImageMatchSettings.js +2 -0
- package/package.json +2 -2
- package/types/input/CheckSettings.d.ts +3 -1
- package/types/input/ExactMatchSettings.d.ts +28 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.43.6](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.43.5...js/eyes@1.43.6) (2026-07-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* forward Exact match-level tuning to the server across JS + Java | FLD-4685 ([#3974](https://github.com/Applitools-Dev/sdk/issues/3974)) ([fea351c](https://github.com/Applitools-Dev/sdk/commit/fea351c76c80f63bf658d9573b3d34e0537e0cce))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/core-base bumped to 1.36.1
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* forward Exact match-level tuning to the server across JS + Java | FLD-4685 ([#3974](https://github.com/Applitools-Dev/sdk/issues/3974)) ([fea351c](https://github.com/Applitools-Dev/sdk/commit/fea351c76c80f63bf658d9573b3d34e0537e0cce))
|
|
17
|
+
* @applitools/nml-client bumped to 1.11.35
|
|
18
|
+
|
|
19
|
+
* @applitools/ec-client bumped to 1.12.37
|
|
20
|
+
|
|
21
|
+
* @applitools/core bumped to 4.66.1
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* stop UFG old-infra retry after a retry fails | AD-14675 ([#3970](https://github.com/Applitools-Dev/sdk/issues/3970)) ([1531893](https://github.com/Applitools-Dev/sdk/commit/1531893cc9c098f3ade329ceae7164600c184fa5))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
3
29
|
## [1.43.5](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.43.4...js/eyes@1.43.5) (2026-06-28)
|
|
4
30
|
|
|
5
31
|
|
|
@@ -26,6 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.Target = exports.TargetAutomation = exports.TargetImage = exports.CheckSettingsAutomationFluent = exports.CheckSettingsImageFluent = exports.CheckSettingsBaseFluent = void 0;
|
|
27
27
|
const AccessibilityRegionType_1 = require("../enums/AccessibilityRegionType");
|
|
28
28
|
const MatchLevel_1 = require("../enums/MatchLevel");
|
|
29
|
+
const ExactMatchSettings_1 = require("./ExactMatchSettings");
|
|
29
30
|
const utils = __importStar(require("@applitools/utils"));
|
|
30
31
|
class CheckSettingsBaseFluent {
|
|
31
32
|
constructor(settings, parent) {
|
|
@@ -214,8 +215,12 @@ class CheckSettingsBaseFluent {
|
|
|
214
215
|
this._settings.matchLevel = MatchLevel_1.MatchLevelEnum.Layout;
|
|
215
216
|
return this;
|
|
216
217
|
}
|
|
217
|
-
exact() {
|
|
218
|
+
exact(exact) {
|
|
219
|
+
if (exact)
|
|
220
|
+
(0, ExactMatchSettings_1.validateExactMatchSettings)(exact);
|
|
218
221
|
this._settings.matchLevel = MatchLevel_1.MatchLevelEnum.Exact;
|
|
222
|
+
if (exact)
|
|
223
|
+
this._settings.exact = exact;
|
|
219
224
|
return this;
|
|
220
225
|
}
|
|
221
226
|
strict() {
|
|
@@ -394,12 +399,20 @@ class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
|
|
|
394
399
|
/** @internal */
|
|
395
400
|
toJSON() {
|
|
396
401
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
402
|
+
// Validate `exact` on the plain-object path too (e.g. `eyes.check({matchLevel: 'Exact', exact: {...}})`),
|
|
403
|
+
// which bypasses the fluent `.exact()` setter. Gated on matchLevel === Exact to mirror forwarding
|
|
404
|
+
// semantics — core-base only forwards `exact` when matchLevel is Exact and drops it otherwise, so a
|
|
405
|
+
// stray invalid tuning under any other matchLevel stays ignored rather than throwing.
|
|
406
|
+
if (this._settings.exact && this._settings.matchLevel === MatchLevel_1.MatchLevelEnum.Exact) {
|
|
407
|
+
(0, ExactMatchSettings_1.validateExactMatchSettings)(this._settings.exact);
|
|
408
|
+
}
|
|
397
409
|
return {
|
|
398
410
|
target: this._target,
|
|
399
411
|
settings: utils.general.removeUndefinedProps({
|
|
400
412
|
name: this._settings.name,
|
|
401
413
|
region: this._settings.region ? this.toCoreRegion(this._settings.region) : this._settings.region,
|
|
402
414
|
matchLevel: this._settings.matchLevel,
|
|
415
|
+
exact: this._settings.exact,
|
|
403
416
|
useDom: this._settings.useDom,
|
|
404
417
|
sendDom: this._settings.sendDom,
|
|
405
418
|
enablePatterns: this._settings.enablePatterns,
|
|
@@ -630,6 +643,13 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
630
643
|
/** @internal */
|
|
631
644
|
toJSON() {
|
|
632
645
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
646
|
+
// Validate `exact` on the plain-object path too (e.g. `eyes.check({matchLevel: 'Exact', exact: {...}})`),
|
|
647
|
+
// which bypasses the fluent `.exact()` setter. Gated on matchLevel === Exact to mirror forwarding
|
|
648
|
+
// semantics — core-base only forwards `exact` when matchLevel is Exact and drops it otherwise, so a
|
|
649
|
+
// stray invalid tuning under any other matchLevel stays ignored rather than throwing.
|
|
650
|
+
if (this._settings.exact && this._settings.matchLevel === MatchLevel_1.MatchLevelEnum.Exact) {
|
|
651
|
+
(0, ExactMatchSettings_1.validateExactMatchSettings)(this._settings.exact);
|
|
652
|
+
}
|
|
633
653
|
return {
|
|
634
654
|
target: this._settings.page,
|
|
635
655
|
settings: utils.general.removeUndefinedProps({
|
|
@@ -640,6 +660,7 @@ class CheckSettingsAutomationFluent extends CheckSettingsBaseFluent {
|
|
|
640
660
|
scrollRootElement: this._settings.scrollRootElement,
|
|
641
661
|
fully: this._settings.fully,
|
|
642
662
|
matchLevel: this._settings.matchLevel,
|
|
663
|
+
exact: this._settings.exact,
|
|
643
664
|
useDom: this._settings.useDom,
|
|
644
665
|
sendDom: this._settings.sendDom,
|
|
645
666
|
enablePatterns: this._settings.enablePatterns,
|
|
@@ -38,6 +38,7 @@ const ProxySettings_1 = require("./ProxySettings");
|
|
|
38
38
|
const BatchInfo_1 = require("./BatchInfo");
|
|
39
39
|
const PropertyData_1 = require("./PropertyData");
|
|
40
40
|
const ImageMatchSettings_1 = require("./ImageMatchSettings");
|
|
41
|
+
const ExactMatchSettings_1 = require("./ExactMatchSettings");
|
|
41
42
|
const utils = __importStar(require("@applitools/utils"));
|
|
42
43
|
class ConfigurationData {
|
|
43
44
|
_isElementReference(value) {
|
|
@@ -467,6 +468,8 @@ class ConfigurationData {
|
|
|
467
468
|
}
|
|
468
469
|
set defaultMatchSettings(defaultMatchSettings) {
|
|
469
470
|
utils.guard.notNull(defaultMatchSettings, { name: 'defaultMatchSettings' });
|
|
471
|
+
if (defaultMatchSettings.exact)
|
|
472
|
+
(0, ExactMatchSettings_1.validateExactMatchSettings)(defaultMatchSettings.exact);
|
|
470
473
|
this._config.defaultMatchSettings = defaultMatchSettings;
|
|
471
474
|
}
|
|
472
475
|
getDefaultMatchSettings() {
|
|
@@ -1216,7 +1219,14 @@ class ConfigurationData {
|
|
|
1216
1219
|
}
|
|
1217
1220
|
/** @internal */
|
|
1218
1221
|
toJSON() {
|
|
1219
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
1222
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
1223
|
+
// Re-validate `exact` at the conversion site: the `defaultMatchSettings` setter validates at set-time,
|
|
1224
|
+
// but the user may keep a reference to the tuning object and mutate it afterwards. Gated on
|
|
1225
|
+
// matchLevel === Exact to mirror forwarding semantics — core-base drops `exact` under any other
|
|
1226
|
+
// matchLevel, so a stray invalid tuning there stays ignored rather than throwing.
|
|
1227
|
+
if (((_a = this.defaultMatchSettings) === null || _a === void 0 ? void 0 : _a.exact) && this.defaultMatchSettings.matchLevel === MatchLevel_1.MatchLevelEnum.Exact) {
|
|
1228
|
+
(0, ExactMatchSettings_1.validateExactMatchSettings)(this.defaultMatchSettings.exact);
|
|
1229
|
+
}
|
|
1220
1230
|
return utils.general.toJSON({
|
|
1221
1231
|
open: utils.general.removeUndefinedProps({
|
|
1222
1232
|
eyesServerUrl: this.serverUrl,
|
|
@@ -1260,7 +1270,7 @@ class ConfigurationData {
|
|
|
1260
1270
|
bypassCSP: this.bypassCSP,
|
|
1261
1271
|
}),
|
|
1262
1272
|
screenshot: utils.general.removeUndefinedProps({
|
|
1263
|
-
fully: (
|
|
1273
|
+
fully: (_b = this.fully) !== null && _b !== void 0 ? _b : this.forceFullPageScreenshot,
|
|
1264
1274
|
scrollRootElement: this.scrollRootElement,
|
|
1265
1275
|
stitchMode: this.stitchMode,
|
|
1266
1276
|
hideScrollbars: this.hideScrollbars,
|
|
@@ -1273,7 +1283,7 @@ class ConfigurationData {
|
|
|
1273
1283
|
rotation: this.rotation,
|
|
1274
1284
|
scaleRatio: this.scaleRatio,
|
|
1275
1285
|
}),
|
|
1276
|
-
debugImages: ((
|
|
1286
|
+
debugImages: ((_c = this.debugScreenshots) === null || _c === void 0 ? void 0 : _c.save) && utils.types.has(this.debugScreenshots, 'path')
|
|
1277
1287
|
? this.debugScreenshots
|
|
1278
1288
|
: undefined,
|
|
1279
1289
|
captureStatusBar: this.captureStatusBar,
|
|
@@ -1281,7 +1291,7 @@ class ConfigurationData {
|
|
|
1281
1291
|
}),
|
|
1282
1292
|
check: utils.general.removeUndefinedProps({
|
|
1283
1293
|
httpVersion: this.httpVersion,
|
|
1284
|
-
environments: (
|
|
1294
|
+
environments: (_d = this.browsersInfo) === null || _d === void 0 ? void 0 : _d.map(browserInfo => {
|
|
1285
1295
|
if (utils.types.has(browserInfo, 'iosDeviceInfo') &&
|
|
1286
1296
|
utils.types.has(browserInfo.iosDeviceInfo, 'iosVersion')) {
|
|
1287
1297
|
const { iosVersion, ...iosDeviceInfo } = browserInfo.iosDeviceInfo;
|
|
@@ -1293,27 +1303,28 @@ class ConfigurationData {
|
|
|
1293
1303
|
layoutBreakpoints: utils.types.isDefined(this.layoutBreakpoints)
|
|
1294
1304
|
? utils.types.has(this.layoutBreakpoints, 'breakpoints')
|
|
1295
1305
|
? this.layoutBreakpoints
|
|
1296
|
-
: { breakpoints: (
|
|
1306
|
+
: { breakpoints: (_e = this.layoutBreakpoints) !== null && _e !== void 0 ? _e : false }
|
|
1297
1307
|
: undefined,
|
|
1298
1308
|
disableBrowserFetching: this.disableBrowserFetching,
|
|
1299
1309
|
autProxy: this.autProxy,
|
|
1300
1310
|
sendDom: this.sendDom,
|
|
1301
1311
|
matchTimeout: this.matchTimeout,
|
|
1302
|
-
matchLevel: (
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1312
|
+
matchLevel: (_f = this.defaultMatchSettings) === null || _f === void 0 ? void 0 : _f.matchLevel,
|
|
1313
|
+
exact: (_g = this.defaultMatchSettings) === null || _g === void 0 ? void 0 : _g.exact,
|
|
1314
|
+
ignoreCaret: (_h = this.defaultMatchSettings) === null || _h === void 0 ? void 0 : _h.ignoreCaret,
|
|
1315
|
+
ignoreDisplacements: (_j = this.defaultMatchSettings) === null || _j === void 0 ? void 0 : _j.ignoreDisplacements,
|
|
1316
|
+
enablePatterns: (_k = this.defaultMatchSettings) === null || _k === void 0 ? void 0 : _k.enablePatterns,
|
|
1317
|
+
accessibilitySettings: ((_l = this.defaultMatchSettings) === null || _l === void 0 ? void 0 : _l.accessibilitySettings) && {
|
|
1307
1318
|
level: this.defaultMatchSettings.accessibilitySettings.level,
|
|
1308
1319
|
version: this.defaultMatchSettings.accessibilitySettings.guidelinesVersion,
|
|
1309
1320
|
},
|
|
1310
|
-
useDom: (
|
|
1311
|
-
ignoreRegions: (
|
|
1312
|
-
contentRegions: (
|
|
1313
|
-
layoutRegions: (
|
|
1314
|
-
strictRegions: (
|
|
1315
|
-
floatingRegions: (
|
|
1316
|
-
accessibilityRegions: (
|
|
1321
|
+
useDom: (_m = this.defaultMatchSettings) === null || _m === void 0 ? void 0 : _m.useDom,
|
|
1322
|
+
ignoreRegions: (_o = this.defaultMatchSettings) === null || _o === void 0 ? void 0 : _o.ignoreRegions,
|
|
1323
|
+
contentRegions: (_p = this.defaultMatchSettings) === null || _p === void 0 ? void 0 : _p.contentRegions,
|
|
1324
|
+
layoutRegions: (_q = this.defaultMatchSettings) === null || _q === void 0 ? void 0 : _q.layoutRegions,
|
|
1325
|
+
strictRegions: (_r = this.defaultMatchSettings) === null || _r === void 0 ? void 0 : _r.strictRegions,
|
|
1326
|
+
floatingRegions: (_s = this.defaultMatchSettings) === null || _s === void 0 ? void 0 : _s.floatingRegions,
|
|
1327
|
+
accessibilityRegions: (_t = this.defaultMatchSettings) === null || _t === void 0 ? void 0 : _t.accessibilityRegions,
|
|
1317
1328
|
skipRootHtmlResource: this.skipRootHtmlResource,
|
|
1318
1329
|
}),
|
|
1319
1330
|
close: utils.general.removeUndefinedProps({
|
|
@@ -23,8 +23,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.ExactMatchSettingsData = void 0;
|
|
26
|
+
exports.ExactMatchSettingsData = exports.validateExactMatchSettings = void 0;
|
|
27
27
|
const utils = __importStar(require("@applitools/utils"));
|
|
28
|
+
/**
|
|
29
|
+
* Validates the tuning params supplied to the Exact match level. Only the fields
|
|
30
|
+
* present on `exact` are checked (all fields are optional): the three `minDiff*`
|
|
31
|
+
* fields must be integers, `matchThreshold` may be any number (int or float).
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
function validateExactMatchSettings(exact) {
|
|
35
|
+
utils.guard.isInteger(exact.minDiffIntensity, { name: 'minDiffIntensity', strict: false });
|
|
36
|
+
utils.guard.isInteger(exact.minDiffWidth, { name: 'minDiffWidth', strict: false });
|
|
37
|
+
utils.guard.isInteger(exact.minDiffHeight, { name: 'minDiffHeight', strict: false });
|
|
38
|
+
utils.guard.isNumber(exact.matchThreshold, { name: 'matchThreshold', strict: false });
|
|
39
|
+
}
|
|
40
|
+
exports.validateExactMatchSettings = validateExactMatchSettings;
|
|
28
41
|
/** @undocumented */
|
|
29
42
|
class ExactMatchSettingsData {
|
|
30
43
|
constructor(settings) {
|
|
@@ -38,7 +51,7 @@ class ExactMatchSettingsData {
|
|
|
38
51
|
return this._settings.minDiffIntensity;
|
|
39
52
|
}
|
|
40
53
|
set minDiffIntensity(minDiffIntensity) {
|
|
41
|
-
|
|
54
|
+
validateExactMatchSettings({ minDiffIntensity });
|
|
42
55
|
this._settings.minDiffIntensity = minDiffIntensity;
|
|
43
56
|
}
|
|
44
57
|
getMinDiffIntensity() {
|
|
@@ -51,7 +64,7 @@ class ExactMatchSettingsData {
|
|
|
51
64
|
return this._settings.minDiffWidth;
|
|
52
65
|
}
|
|
53
66
|
set minDiffWidth(minDiffWidth) {
|
|
54
|
-
|
|
67
|
+
validateExactMatchSettings({ minDiffWidth });
|
|
55
68
|
this._settings.minDiffWidth = minDiffWidth;
|
|
56
69
|
}
|
|
57
70
|
getMinDiffWidth() {
|
|
@@ -64,7 +77,7 @@ class ExactMatchSettingsData {
|
|
|
64
77
|
return this._settings.minDiffHeight;
|
|
65
78
|
}
|
|
66
79
|
set minDiffHeight(minDiffHeight) {
|
|
67
|
-
|
|
80
|
+
validateExactMatchSettings({ minDiffHeight });
|
|
68
81
|
this._settings.minDiffHeight = minDiffHeight;
|
|
69
82
|
}
|
|
70
83
|
getMinDiffHeight() {
|
|
@@ -77,7 +90,7 @@ class ExactMatchSettingsData {
|
|
|
77
90
|
return this._settings.matchThreshold;
|
|
78
91
|
}
|
|
79
92
|
set matchThreshold(matchThreshold) {
|
|
80
|
-
|
|
93
|
+
validateExactMatchSettings({ matchThreshold });
|
|
81
94
|
this._settings.matchThreshold = matchThreshold;
|
|
82
95
|
}
|
|
83
96
|
getMatchThreshold() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.6",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"eyes",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@applitools/core": "4.66.
|
|
53
|
+
"@applitools/core": "4.66.1",
|
|
54
54
|
"@applitools/logger": "2.3.0",
|
|
55
55
|
"@applitools/utils": "1.15.1",
|
|
56
56
|
"chalk": "4.1.2",
|
|
@@ -4,6 +4,7 @@ import { EyesSelector } from './EyesSelector';
|
|
|
4
4
|
import { Image } from './Image';
|
|
5
5
|
import { AccessibilityRegionType } from '../enums/AccessibilityRegionType';
|
|
6
6
|
import { MatchLevel } from '../enums/MatchLevel';
|
|
7
|
+
import { type ExactMatchSettings } from './ExactMatchSettings';
|
|
7
8
|
import { Region, LegacyRegion } from './Region';
|
|
8
9
|
import { Location } from './Location';
|
|
9
10
|
import { LazyLoadOptions } from './LazyLoadOptions';
|
|
@@ -55,6 +56,7 @@ export type CheckSettingsBase<TRegion = never> = {
|
|
|
55
56
|
name?: string;
|
|
56
57
|
region?: Region | LegacyRegion | TRegion;
|
|
57
58
|
matchLevel?: MatchLevel;
|
|
59
|
+
exact?: ExactMatchSettings;
|
|
58
60
|
useDom?: boolean;
|
|
59
61
|
sendDom?: boolean;
|
|
60
62
|
enablePatterns?: boolean;
|
|
@@ -173,7 +175,7 @@ export declare class CheckSettingsBaseFluent<TRegion = never> {
|
|
|
173
175
|
dynamicRegions(...regions: (CodedDynamicRegion<TRegion> | Region | TRegion)[]): this;
|
|
174
176
|
matchLevel(matchLevel: MatchLevel): typeof this;
|
|
175
177
|
layout(): typeof this;
|
|
176
|
-
exact(): typeof this;
|
|
178
|
+
exact(exact?: ExactMatchSettings): typeof this;
|
|
177
179
|
strict(): typeof this;
|
|
178
180
|
ignoreColors(): typeof this;
|
|
179
181
|
dynamic(): typeof this;
|
|
@@ -1,30 +1,37 @@
|
|
|
1
1
|
/** @undocumented */
|
|
2
2
|
export type ExactMatchSettings = {
|
|
3
|
-
minDiffIntensity
|
|
4
|
-
minDiffWidth
|
|
5
|
-
minDiffHeight
|
|
6
|
-
matchThreshold
|
|
3
|
+
minDiffIntensity?: number;
|
|
4
|
+
minDiffWidth?: number;
|
|
5
|
+
minDiffHeight?: number;
|
|
6
|
+
matchThreshold?: number;
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* Validates the tuning params supplied to the Exact match level. Only the fields
|
|
10
|
+
* present on `exact` are checked (all fields are optional): the three `minDiff*`
|
|
11
|
+
* fields must be integers, `matchThreshold` may be any number (int or float).
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare function validateExactMatchSettings(exact: ExactMatchSettings): void;
|
|
8
15
|
/** @undocumented */
|
|
9
|
-
export declare class ExactMatchSettingsData implements
|
|
16
|
+
export declare class ExactMatchSettingsData implements ExactMatchSettings {
|
|
10
17
|
private _settings;
|
|
11
18
|
constructor(settings: ExactMatchSettings);
|
|
12
|
-
get minDiffIntensity(): number;
|
|
13
|
-
set minDiffIntensity(minDiffIntensity: number);
|
|
14
|
-
getMinDiffIntensity(): number;
|
|
15
|
-
setMinDiffIntensity(value: number): void;
|
|
16
|
-
get minDiffWidth(): number;
|
|
17
|
-
set minDiffWidth(minDiffWidth: number);
|
|
18
|
-
getMinDiffWidth(): number;
|
|
19
|
-
setMinDiffWidth(value: number): void;
|
|
20
|
-
get minDiffHeight(): number;
|
|
21
|
-
set minDiffHeight(minDiffHeight: number);
|
|
22
|
-
getMinDiffHeight(): number;
|
|
23
|
-
setMinDiffHeight(value: number): void;
|
|
24
|
-
get matchThreshold(): number;
|
|
25
|
-
set matchThreshold(matchThreshold: number);
|
|
26
|
-
getMatchThreshold(): number;
|
|
27
|
-
setMatchThreshold(value: number): void;
|
|
19
|
+
get minDiffIntensity(): number | undefined;
|
|
20
|
+
set minDiffIntensity(minDiffIntensity: number | undefined);
|
|
21
|
+
getMinDiffIntensity(): number | undefined;
|
|
22
|
+
setMinDiffIntensity(value: number | undefined): void;
|
|
23
|
+
get minDiffWidth(): number | undefined;
|
|
24
|
+
set minDiffWidth(minDiffWidth: number | undefined);
|
|
25
|
+
getMinDiffWidth(): number | undefined;
|
|
26
|
+
setMinDiffWidth(value: number | undefined): void;
|
|
27
|
+
get minDiffHeight(): number | undefined;
|
|
28
|
+
set minDiffHeight(minDiffHeight: number | undefined);
|
|
29
|
+
getMinDiffHeight(): number | undefined;
|
|
30
|
+
setMinDiffHeight(value: number | undefined): void;
|
|
31
|
+
get matchThreshold(): number | undefined;
|
|
32
|
+
set matchThreshold(matchThreshold: number | undefined);
|
|
33
|
+
getMatchThreshold(): number | undefined;
|
|
34
|
+
setMatchThreshold(value: number | undefined): void;
|
|
28
35
|
/** @internal */
|
|
29
36
|
toObject(): ExactMatchSettings;
|
|
30
37
|
/** @internal */
|