UNPKG

@angular/material

Version:
22 lines 2.11 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("tslib"),require("@angular/cdk/coercion"),require("@angular/cdk/testing")):"function"==typeof define&&define.amd?define("@angular/material/progress-spinner/testing",["exports","tslib","@angular/cdk/coercion","@angular/cdk/testing"],t):t(((e=e||self).ng=e.ng||{},e.ng.material=e.ng.material||{},e.ng.material.progressSpinner=e.ng.material.progressSpinner||{},e.ng.material.progressSpinner.testing={}),e.tslib,e.ng.cdk.coercion,e.ng.cdk.testing)}(this,(function(e,t,n,r){"use strict"; /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var i=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return t.__extends(i,e),i.with=function(e){return void 0===e&&(e={}),new r.HarnessPredicate(i,e)},i.prototype.getValue=function(){return t.__awaiter(this,void 0,void 0,(function(){var e;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,this.host()];case 1:return[4,t.sent().getAttribute("aria-valuenow")];case 2:return[2,(e=t.sent())?n.coerceNumberProperty(e):null]}}))}))},i.prototype.getMode=function(){return t.__awaiter(this,void 0,void 0,(function(){return t.__generator(this,(function(e){switch(e.label){case 0:return[4,this.host()];case 1:return[4,e.sent().getAttribute("mode")];case 2:return[2,e.sent()]}}))}))},i.hostSelector="mat-progress-spinner",i}(r.ComponentHarness); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */e.MatProgressSpinnerHarness=i,Object.defineProperty(e,"__esModule",{value:!0})}));