Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var Rule = /** @class */ (function (_super) {
tslib_1.__extends(Rule, _super);
function Rule() {
return _super !== null && _super.apply(this, arguments) || this;
}
Rule.prototype.apply = function (sourceFile) {
return this.applyWithFunction(sourceFile, walk);
};
/* tslint:disable:object-literal-sort-keys */
Rule.metadata = {
ruleName: "typeof-compare",
description: "Makes sure result of `typeof` is compared to correct string values",
optionsDescription: "Not configurable.",
options: null,
optionExamples: [true],
type: "functionality",
typescriptOnly: false,
deprecationMessage: !/^2\.1\./.test(ts.version)
var LayoutAlignDirective = /*@__PURE__*/(function (_super) {
tslib_1.__extends(LayoutAlignDirective, _super);
function LayoutAlignDirective(monitor, elRef, renderer, container) {
var _this = _super.call(this, monitor, elRef, renderer) || this;
_this._layout = 'row';
if (container) {
_this._layoutWatcher = container.layout$.subscribe(_this._onLayoutChange.bind(_this));
}
return _this;
}
Object.defineProperty(LayoutAlignDirective.prototype, "align", {
set: function (val) { this._cacheInput('align', val); },
enumerable: true,
configurable: true
});
Object.defineProperty(LayoutAlignDirective.prototype, "alignXs", {
set: function (val) { this._cacheInput('alignXs', val); },
enumerable: true,
var PieSeriesDataItem = /** @class */ (function (_super) {
tslib_1.__extends(PieSeriesDataItem, _super);
/**
* Constructor
*/
function PieSeriesDataItem() {
var _this = _super.call(this) || this;
_this.className = "PieSeriesDataItem";
_this.values.radiusValue = {};
_this.applyTheme();
return _this;
}
Object.defineProperty(PieSeriesDataItem.prototype, "radiusValue", {
/**
* @return Radius
*/
get: function () {
return this.values.radiusValue.value;
var CssKeyframeDefinitionAst = /** @class */ (function (_super) {
tslib_1.__extends(CssKeyframeDefinitionAst, _super);
function CssKeyframeDefinitionAst(location, steps, block) {
var _this = _super.call(this, location, BlockType.Keyframes, block, mergeTokens(steps, ',')) || this;
_this.steps = steps;
return _this;
}
CssKeyframeDefinitionAst.prototype.visit = function (visitor, context) {
return visitor.visitCssKeyframeDefinition(this, context);
};
return CssKeyframeDefinitionAst;
}(CssBlockRuleAst));
exports.CssKeyframeDefinitionAst = CssKeyframeDefinitionAst;
var MatHeaderRowDef = (function (_super) {
__extends(MatHeaderRowDef, _super);
function MatHeaderRowDef() {
return _super !== null && _super.apply(this, arguments) || this;
}
MatHeaderRowDef.decorators = [
{ type: Directive, args: [{
selector: '[matHeaderRowDef]',
providers: [{ provide: CdkHeaderRowDef, useExisting: MatHeaderRowDef }],
inputs: ['columns: matHeaderRowDef'],
},] },
];
/** @nocollapse */
MatHeaderRowDef.ctorParameters = function () { return []; };
return MatHeaderRowDef;
}(_MatHeaderRowDef));
/**
var TdFileUploadComponent = /** @class */ (function (_super) {
__extends(TdFileUploadComponent, _super);
function TdFileUploadComponent(_changeDetectorRef) {
var _this = _super.call(this, _changeDetectorRef) || this;
_this._multiple = false;
_this._required = false;
/**
* defaultColor?: 'accent' | 'primary' | 'warn'
* Sets browse button color. Uses same color palette accepted as [MatButton] and defaults to 'primary'.
*/
_this.defaultColor = 'primary';
/**
* activeColor?: 'accent' | 'primary' | 'warn'
* Sets upload button color. Uses same color palette accepted as [MatButton] and defaults to 'accent'.
*/
_this.activeColor = 'accent';
/**
* cancelColor?: 'accent' | 'primary' | 'warn'
var SubscriptionDelayObservable = /*@__PURE__*/ (function (_super) {
tslib_1.__extends(SubscriptionDelayObservable, _super);
function SubscriptionDelayObservable(source, subscriptionDelay) {
var _this = _super.call(this) || this;
_this.source = source;
_this.subscriptionDelay = subscriptionDelay;
return _this;
}
SubscriptionDelayObservable.prototype._subscribe = function (subscriber) {
this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));
};
return SubscriptionDelayObservable;
}(Observable));
var SubscriptionDelaySubscriber = /*@__PURE__*/ (function (_super) {
var Candlestick = /** @class */ (function (_super) {
tslib_1.__extends(Candlestick, _super);
/**
* Constructor
*/
function Candlestick() {
var _this = _super.call(this) || this;
_this.className = "Candlestick";
_this.layout = "none";
return _this;
}
/**
* @ignore
*/
Candlestick.prototype.createAssets = function () {
_super.prototype.createAssets.call(this);
this.lowLine = this.createChild(Line);
this.lowLine.shouldClone = false;
var FhirController = (function (_super) {
tslib_1.__extends(FhirController, _super);
function FhirController() {
return _super !== null && _super.apply(this, arguments) || this;
}
FhirController.prototype.createClaim = function () {
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_a) {
return [2];
});
});
};
FhirController.prototype.adjudicateClaim = function () {
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_a) {
return [2];
});
});
var TdSearchInputComponent = /** @class */ (function (_super) {
__extends(TdSearchInputComponent, _super);
function TdSearchInputComponent(_dir, _changeDetectorRef) {
var _this = _super.call(this, _changeDetectorRef) || this;
_this._dir = _dir;
/**
* showUnderline?: boolean
* Sets if the input underline should be visible. Defaults to 'false'.
*/
_this.showUnderline = false;
/**
* debounce?: number
* Debounce timeout between keypresses. Defaults to 400.
*/
_this.debounce = 400;
/**
* clearIcon?: string
* The icon used to clear the search input.