{"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-tooltip/testing/tooltip-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {HarnessPredicate} from '@angular/cdk/testing';\nimport {_MatTooltipHarnessBase, TooltipHarnessFilters} from '@angular/material/tooltip/testing';\n\n/**\n * Harness for interacting with a standard mat-tooltip in tests.\n * @deprecated Use `MatTooltipHarness` from `@angular/material/tooltip/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyTooltipHarness extends _MatTooltipHarnessBase {\n protected _optionalPanel = this.documentRootLocatorFactory().locatorForOptional('.mat-tooltip');\n protected _hiddenClass = 'mat-tooltip-hide';\n protected _disabledClass = 'mat-tooltip-disabled';\n protected _showAnimationName = 'mat-tooltip-show';\n protected _hideAnimationName = 'mat-tooltip-hide';\n static hostSelector = '.mat-tooltip-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search\n * for a tooltip trigger with specific attributes.\n * @param options Options for narrowing the search.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: TooltipHarnessFilters = {}): HarnessPredicate {\n return new HarnessPredicate(MatLegacyTooltipHarness, options);\n }\n}\n"],"names":[],"mappings":";;;AAWA;;;;AAIG;AACG,MAAO,uBAAwB,SAAQ,sBAAsB,CAAA;AAAnE,IAAA,WAAA,GAAA;;QACY,IAAc,CAAA,cAAA,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;QACtF,IAAY,CAAA,YAAA,GAAG,kBAAkB,CAAC;QAClC,IAAc,CAAA,cAAA,GAAG,sBAAsB,CAAC;QACxC,IAAkB,CAAA,kBAAA,GAAG,kBAAkB,CAAC;QACxC,IAAkB,CAAA,kBAAA,GAAG,kBAAkB,CAAC;KAYnD;aAXQ,IAAY,CAAA,YAAA,GAAG,sBAAH,CAA0B,EAAA;AAE7C;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAAC,OAAA,GAAiC,EAAE,EAAA;AAC7C,QAAA,OAAO,IAAI,gBAAgB,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;KAC/D;;;;;"}