http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/accordion.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/accordion.js b/node_modules/@angular/cdk/esm2015/accordion.js new file mode 100644 index 0000000..e49f57e --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/accordion.js @@ -0,0 +1,244 @@ +/** + * @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 + */ +import { ChangeDetectorRef, Directive, EventEmitter, Input, NgModule, Optional, Output } from '@angular/core'; +import { UNIQUE_SELECTION_DISPATCHER_PROVIDER, UniqueSelectionDispatcher } from '@angular/cdk/collections'; +import { coerceBooleanProperty } from '@angular/cdk/coercion'; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Used to generate unique ID for each accordion. + */ +let nextId$1 = 0; +/** + * Directive whose purpose is to manage the expanded state of CdkAccordionItem children. + */ +class CdkAccordion { + constructor() { + /** + * A readonly id value to use for unique selection coordination. + */ + this.id = `cdk-accordion-${nextId$1++}`; + this._multi = false; + } + /** + * Whether the accordion should allow multiple expanded accordion items simultaneously. + * @return {?} + */ + get multi() { return this._multi; } + /** + * @param {?} multi + * @return {?} + */ + set multi(multi) { this._multi = coerceBooleanProperty(multi); } +} +CdkAccordion.decorators = [ + { type: Directive, args: [{ + selector: 'cdk-accordion, [cdkAccordion]', + exportAs: 'cdkAccordion', + },] }, +]; +/** @nocollapse */ +CdkAccordion.ctorParameters = () => []; +CdkAccordion.propDecorators = { + "multi": [{ type: Input },], +}; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Used to generate unique ID for each accordion item. + */ +let nextId = 0; +/** + * An basic directive expected to be extended and decorated as a component. Sets up all + * events and attributes needed to be managed by a CdkAccordion parent. + */ +class CdkAccordionItem { + /** + * @param {?} accordion + * @param {?} _changeDetectorRef + * @param {?} _expansionDispatcher + */ + constructor(accordion, _changeDetectorRef, _expansionDispatcher) { + this.accordion = accordion; + this._changeDetectorRef = _changeDetectorRef; + this._expansionDispatcher = _expansionDispatcher; + /** + * Event emitted every time the AccordionItem is closed. + */ + this.closed = new EventEmitter(); + /** + * Event emitted every time the AccordionItem is opened. + */ + this.opened = new EventEmitter(); + /** + * Event emitted when the AccordionItem is destroyed. + */ + this.destroyed = new EventEmitter(); + /** + * Emits whenever the expanded state of the accordion changes. + * Primarily used to facilitate two-way binding. + * \@docs-private + */ + this.expandedChange = new EventEmitter(); + /** + * The unique AccordionItem id. + */ + this.id = `cdk-accordion-child-${nextId++}`; + this._expanded = false; + this._disabled = false; + /** + * Unregister function for _expansionDispatcher. + */ + this._removeUniqueSelectionListener = () => { }; + this._removeUniqueSelectionListener = + _expansionDispatcher.listen((id, accordionId) => { + if (this.accordion && !this.accordion.multi && + this.accordion.id === accordionId && this.id !== id) { + this.expanded = false; + } + }); + } + /** + * Whether the AccordionItem is expanded. + * @return {?} + */ + get expanded() { return this._expanded; } + /** + * @param {?} expanded + * @return {?} + */ + set expanded(expanded) { + expanded = coerceBooleanProperty(expanded); + // Only emit events and update the internal value if the value changes. + if (this._expanded !== expanded) { + this._expanded = expanded; + this.expandedChange.emit(expanded); + if (expanded) { + this.opened.emit(); + /** + * In the unique selection dispatcher, the id parameter is the id of the CdkAccordionItem, + * the name value is the id of the accordion. + */ + const /** @type {?} */ accordionId = this.accordion ? this.accordion.id : this.id; + this._expansionDispatcher.notify(this.id, accordionId); + } + else { + this.closed.emit(); + } + // Ensures that the animation will run when the value is set outside of an `@Input`. + // This includes cases like the open, close and toggle methods. + this._changeDetectorRef.markForCheck(); + } + } + /** + * Whether the AccordionItem is disabled. + * @return {?} + */ + get disabled() { return this._disabled; } + /** + * @param {?} disabled + * @return {?} + */ + set disabled(disabled) { this._disabled = coerceBooleanProperty(disabled); } + /** + * Emits an event for the accordion item being destroyed. + * @return {?} + */ + ngOnDestroy() { + this.destroyed.emit(); + this._removeUniqueSelectionListener(); + } + /** + * Toggles the expanded state of the accordion item. + * @return {?} + */ + toggle() { + if (!this.disabled) { + this.expanded = !this.expanded; + } + } + /** + * Sets the expanded state of the accordion item to false. + * @return {?} + */ + close() { + if (!this.disabled) { + this.expanded = false; + } + } + /** + * Sets the expanded state of the accordion item to true. + * @return {?} + */ + open() { + if (!this.disabled) { + this.expanded = true; + } + } +} +CdkAccordionItem.decorators = [ + { type: Directive, args: [{ + selector: 'cdk-accordion-item', + exportAs: 'cdkAccordionItem', + },] }, +]; +/** @nocollapse */ +CdkAccordionItem.ctorParameters = () => [ + { type: CdkAccordion, decorators: [{ type: Optional },] }, + { type: ChangeDetectorRef, }, + { type: UniqueSelectionDispatcher, }, +]; +CdkAccordionItem.propDecorators = { + "closed": [{ type: Output },], + "opened": [{ type: Output },], + "destroyed": [{ type: Output },], + "expandedChange": [{ type: Output },], + "expanded": [{ type: Input },], + "disabled": [{ type: Input },], +}; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +class CdkAccordionModule { +} +CdkAccordionModule.decorators = [ + { type: NgModule, args: [{ + exports: [CdkAccordion, CdkAccordionItem], + declarations: [CdkAccordion, CdkAccordionItem], + providers: [UNIQUE_SELECTION_DISPATCHER_PROVIDER], + },] }, +]; +/** @nocollapse */ +CdkAccordionModule.ctorParameters = () => []; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { CdkAccordionItem, CdkAccordion, CdkAccordionModule }; +//# sourceMappingURL=accordion.js.map
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/accordion.js.map ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/accordion.js.map b/node_modules/@angular/cdk/esm2015/accordion.js.map new file mode 100644 index 0000000..947e63d --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/accordion.js.map @@ -0,0 +1 @@ +{"version":3,"file":"accordion.js","sources":["../../../src/cdk/accordion/index.ts","../../../src/cdk/accordion/public-api.ts","../../../src/cdk/accordion/accordion-module.ts","../../../src/cdk/accordion/accordion-item.ts","../../../src/cdk/accordion/accordion.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n","/**\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\nexport {CdkAccordionItem} from './accordion-item';\nexport {CdkAccordion} from './accordion';\nexport * from './accordion-module';\n","/**\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 {NgModule} from '@angular/core';\nimport {UNIQUE_SELECTION_DI SPATCHER_PROVIDER} from '@angular/cdk/collections';\nimport {CdkAccordion} from './accordion';\nimport {CdkAccordionItem} from './accordion-item';\n\n@NgModule({\n exports: [CdkAccordion, CdkAccordionItem],\n declarations: [CdkAccordion, CdkAccordionItem],\n providers: [UNIQUE_SELECTION_DISPATCHER_PROVIDER],\n})\nexport class CdkAccordionModule {}\n","/**\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 {\n Output,\n Directive,\n EventEmitter,\n Input,\n OnDestroy,\n Optional,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {UniqueSelectionDispatcher} from '@angular/cdk/collections';\nimport {CdkAccordion} from './accordion';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\n\n/** Used to generate unique ID for each accordion item. */\nlet nextId = 0;\n\n/**\n * An basic directive expected to be extended and decorated as a component. Sets up all\n * events and attributes needed to be managed by a CdkAccordion parent.\n */\n@Directive({\n selector: 'cdk-accordion-item',\n exportAs: 'cdkAccordionItem',\n})\nexport class CdkAccordionItem implements OnDestroy {\n /** Event emitted every time the AccordionItem is closed. */\n @Output() closed: EventEmitter<void> = new EventEmitter<void>();\n /** Event emitted every time the AccordionItem is opened. */\n @Output() opened: EventEmitter<void> = new EventEmitter<void>();\n /** Event emitted when the AccordionItem is destroyed. */\n @Output() destroyed: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Emits whenever the expanded state of the accordion changes.\n * Primarily used to facilitate two-way binding.\n * @docs-private\n */\n @Output() expandedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /** The unique AccordionItem id. */\n readonly id: string = `cdk-accordion-child-${ne xtId++}`;\n\n /** Whether the AccordionItem is expanded. */\n @Input()\n get expanded(): any { return this._expanded; }\n set expanded(expanded: any) {\n expanded = coerceBooleanProperty(expanded);\n\n // Only emit events and update the internal value if the value changes.\n if (this._expanded !== expanded) {\n this._expanded = expanded;\n this.expandedChange.emit(expanded);\n\n if (expanded) {\n this.opened.emit();\n /**\n * In the unique selection dispatcher, the id parameter is the id of the CdkAccordionItem,\n * the name value is the id of the accordion.\n */\n const accordionId = this.accordion ? this.accordion.id : this.id;\n this._expansionDispatcher.notify(this.id, accordionId);\n } else {\n this.closed.emit();\n }\n\n // Ensures that the animation will run when the value is set outside of an `@Input`.\n // This includes cases like the open, close and toggle methods.\n this._changeDetectorRef.markForCheck();\n }\n }\n private _expanded = false;\n\n /** Whether the AccordionItem is disabled. */\n @Input()\n get disabled() { return this._disabled; }\n set disabled(disabled: any) { this._disabled = coerceBooleanProperty(disabled); }\n private _disabled: boolean = false;\n\n /** Unregister function for _expansionDispatcher. */\n private _removeUniqueSelectionListener: () => void = () => {};\n\n constructor(@Optional() public accordion: CdkAccordion,\n private _changeDetectorRef: ChangeDetectorRef,\n protected _expansionDispatcher: UniqueSelectionDispatcher) {\n this._removeUniqueSelectionListener =\n _expansionDispatcher.listen((id: string, accordionId: string) => {\n if (this.accordion && !this.accordion.multi &&\n this.accordion.id === accordionId && this.id !== id) {\n this.expanded = false;\n }\n });\n }\n\n /** Emits an event for the accordion item being destroyed. */\n ngOnDestroy() {\n this.destroyed.emit();\n this._removeUniqueSelectionListener();\n }\n\n /** Toggles the expanded state of the accordion item. */\n toggle(): void {\n if (!this.disabled) {\n this.expanded = !this.expanded;\n }\n }\n\n /** Sets the expanded state of the accordion item to false. */\n close(): void {\n if (!this.disabled) {\n this.expanded = false;\n }\n }\n\n /** Sets the expanded state of the accordion item to true. */\n open(): void {\n if (!this.disabled) {\n this.expanded = true;\n }\n }\n}\n","/**\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 {Directive, Input} from '@angular/core';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\n\n/** Used to generate unique ID for each accordion. */\nlet nextId = 0;\n\n/**\n * Direc tive whose purpose is to manage the expanded state of CdkAccordionItem children.\n */\n@Directive({\n selector: 'cdk-accordion, [cdkAccordion]',\n exportAs: 'cdkAccordion',\n})\nexport class CdkAccordion {\n /** A readonly id value to use for unique selection coordination. */\n readonly id = `cdk-accordion-${nextId++}`;\n\n /** Whether the accordion should allow multiple expanded accordion items simultaneously. */\n @Input()\n get multi(): boolean { return this._multi; }\n set multi(multi: boolean) { this._multi = coerceBooleanProperty(multi); }\n private _multi: boolean = false;\n}\n"],"names":["nextId"],"mappings":";;;;;;;;;;;;;;;;AIQA,AACA;;;AAGA,IAAIA,QAAM,GAAG,CAAC,CAAC;;;;AASf,AAAA,MAAA,YAAA,CAAA;;;;;QAEA,IAAA,CAAA,EAAA,GAAgB,CAAhB,cAAA,EAAiCA,QAAM,EAAE,CAAzC,CAA2C,CAA3C;QAMA,IAAA,CAAA,MAAA,GAA4B,KAAK,CAAjC;;;;;;IAFA,IAAM,KAAK,GAAX,EAAyB,OAAO,IAAI,CAAC,MAAM,CAAC,EAA5C;;;;;IACE,IAAI,KAAK,CAAC,KAAc,EAA1B,EAA8B,IAAI,CAAC,MAAM,GA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AAC;gBAC9C,SAAS,EAAE,CAAC,oCAAoC,CAAC;aAClD,EAAD,EAAA;;;;;;;;GDTA,AACA,AACA,AAAmC;;;;;;;;GDNnC,AAA6B;;"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/bidi.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/bidi.js b/node_modules/@angular/cdk/esm2015/bidi.js new file mode 100644 index 0000000..df55e82 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/bidi.js @@ -0,0 +1,170 @@ +/** + * @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 + */ +import { Directive, EventEmitter, Inject, Injectable, InjectionToken, Input, NgModule, Optional, Output } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Injection token used to inject the document into Directionality. + * This is used so that the value can be faked in tests. + * + * We can't use the real document in tests because changing the real `dir` causes geometry-based + * tests in Safari to fail. + * + * We also can't re-provide the DOCUMENT token from platform-brower because the unit tests + * themselves use things like `querySelector` in test code. + */ +const DIR_DOCUMENT = new InjectionToken('cdk-dir-doc'); +/** + * The directionality (LTR / RTL) context for the application (or a subtree of it). + * Exposes the current direction and a stream of direction changes. + */ +class Directionality { + /** + * @param {?=} _document + */ + constructor(_document) { + /** + * The current 'ltr' or 'rtl' value. + */ + this.value = 'ltr'; + /** + * Stream that emits whenever the 'ltr' / 'rtl' state changes. + */ + this.change = new EventEmitter(); + if (_document) { + // TODO: handle 'auto' value - + // We still need to account for dir="auto". + // It looks like HTMLElemenet.dir is also "auto" when that's set to the attribute, + // but getComputedStyle return either "ltr" or "rtl". avoiding getComputedStyle for now + const /** @type {?} */ bodyDir = _document.body ? _document.body.dir : null; + const /** @type {?} */ htmlDir = _document.documentElement ? _document.documentElement.dir : null; + this.value = /** @type {?} */ ((bodyDir || htmlDir || 'ltr')); + } + } +} +Directionality.decorators = [ + { type: Injectable }, +]; +/** @nocollapse */ +Directionality.ctorParameters = () => [ + { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [DIR_DOCUMENT,] },] }, +]; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Directive to listen for changes of direction of part of the DOM. + * + * Provides itself as Directionality such that descendant directives only need to ever inject + * Directionality to get the closest direction. + */ +class Dir { + constructor() { + this._dir = 'ltr'; + /** + * Whether the `value` has been set to its initial value. + */ + this._isInitialized = false; + /** + * Event emitted when the direction changes. + */ + this.change = new EventEmitter(); + } + /** + * \@docs-private + * @return {?} + */ + get dir() { return this._dir; } + /** + * @param {?} v + * @return {?} + */ + set dir(v) { + const /** @type {?} */ old = this._dir; + this._dir = v; + if (old !== this._dir && this._isInitialized) { + this.change.emit(this._dir); + } + } + /** + * Current layout direction of the element. + * @return {?} + */ + get value() { return this.dir; } + /** + * Initialize once default value has been set. + * @return {?} + */ + ngAfterContentInit() { + this._isInitialized = true; + } + /** + * @return {?} + */ + ngOnDestroy() { + this.change.complete(); + } +} +Dir.decorators = [ + { type: Directive, args: [{ + selector: '[dir]', + providers: [{ provide: Directionality, useExisting: Dir }], + host: { '[dir]': 'dir' }, + exportAs: 'dir', + },] }, +]; +/** @nocollapse */ +Dir.ctorParameters = () => []; +Dir.propDecorators = { + "change": [{ type: Output, args: ['dirChange',] },], + "dir": [{ type: Input },], +}; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +class BidiModule { +} +BidiModule.decorators = [ + { type: NgModule, args: [{ + exports: [Dir], + declarations: [Dir], + providers: [ + { provide: DIR_DOCUMENT, useExisting: DOCUMENT }, + Directionality, + ] + },] }, +]; +/** @nocollapse */ +BidiModule.ctorParameters = () => []; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { Directionality, DIR_DOCUMENT, Dir, BidiModule }; +//# sourceMappingURL=bidi.js.map http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/bidi.js.map ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/bidi.js.map b/node_modules/@angular/cdk/esm2015/bidi.js.map new file mode 100644 index 0000000..19992e9 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/bidi.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bidi.js","sources":["../../../src/cdk/bidi/index.ts","../../../src/cdk/bidi/public-api.ts","../../../src/cdk/bidi/bidi-module.ts","../../../src/cdk/bidi/dir.ts","../../../src/cdk/bidi/directionality.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n","/**\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\nexport {Directionality, DIR_DOCUMENT, Direction} from './directionality';\nexport {Dir} from './dir';\nexport * from './bidi-module';\n\n","/**\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 {NgModule} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {Dir} from '. /dir';\nimport {DIR_DOCUMENT, Directionality} from './directionality';\n\n\n@NgModule({\n exports: [Dir],\n declarations: [Dir],\n providers: [\n {provide: DIR_DOCUMENT, useExisting: DOCUMENT},\n Directionality,\n ]\n})\nexport class BidiModule { }\n","/**\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 {\n Directive,\n Output,\n Input,\n EventEmitter,\n AfterContentInit,\n OnDestroy,\n} from '@angular/core';\n\nimport {Direction, Directionality} from './directionality';\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\n@Directive({\n selector: '[dir]',\n providers: [{provide: Directionality, useExisting: Dir}],\n host: {'[d ir]': 'dir'},\n exportAs: 'dir',\n})\nexport class Dir implements Directionality, AfterContentInit, OnDestroy {\n _dir: Direction = 'ltr';\n\n /** Whether the `value` has been set to its initial value. */\n private _isInitialized: boolean = false;\n\n /** Event emitted when the direction changes. */\n @Output('dirChange') change = new EventEmitter<Direction>();\n\n /** @docs-private */\n @Input()\n get dir(): Direction { return this._dir; }\n set dir(v: Direction) {\n const old = this._dir;\n this._dir = v;\n if (old !== this._dir && this._isInitialized) {\n this.change.emit(this._dir);\n }\n }\n\n /** Current layout direction of the element. */\n get value(): Direction { return this.dir; }\n\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n\n ngOnDestroy() {\n this.change.complete();\n }\n}\n\n","/**\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 {\n EventEmitter,\n Injectable,\n Optional,\n Inject,\n InjectionToken,\n} from '@angular/core';\n\n\nexport type Direction = 'ltr' | 'rtl';\n\n/**\n * Injection token used to inject the document into Directionality.\n * This is used so that the value can be faked in tests.\n *\n * We can't use the real document in tests because changing the real `dir` causes geometry-based\n * tests in Safari to fail.\n *\n * We also can't re-provide the DOCUMENT token from platform-brower because the unit tests\n * themselves use things like `querySelector` in test code.\n */\nexport const DIR_DOCUMENT = new InjectionToken<Document>('cdk-dir-doc');\n\n/**\n * The directionality (LTR / RTL) context for the application (or a subtree of it).\n * Exposes the current direction and a stream of direction changes.\n */\n@Injectable()\nexport class Directionality {\n /** The current 'ltr' or 'rtl' value. */\n readonly value: Direction = 'ltr';\n\n /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */\n readonly change = new EventEmitter<Direction>();\n\n constructor(@Optional() @Inject(DIR_DOCUMENT) _document?: any) {\n if (_document) {\n // TODO: handle 'auto' value -\n // We still need to account for dir=\"auto\".\n // It looks like HTMLElemenet.dir is also \"auto\" when that's set to the attribute,\n // but getComputedStyle return either \"ltr\" or \"rtl\". avoiding getComputedStyle for now\n const bodyDir = _document.body ? _document.body.dir : null;\n const htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n this.value = (bodyDir || htmlDir || 'ltr') as Direction;\n }\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AIQA;;;;;;;;;;AAqBA,AAAO,MAAM,YAAY,GAAG,IAAI,cAAc,CAAW,aAAa,CAAC,CAAC;;;;;AAOxE,AAAA,MAAA,cAAA,CAAA;;;;IAOE,WAAF,CAAgD,SAAhD,EAAA;;;;QALA,IAAA, CAAA,KAAA,GAA8B,KAAK,CAAnC;;;;QAGA,IAAA,CAAA,MAAA,GAAoB,IAAI,YAAY,EAAa,CAAjD;QAGI,IAAI,SAAS,EAAE;;;;;YAKb,uBAAM,OAAO,GAAG,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;YAC3D,uBAAM,OAAO,GAAG,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC,GAAG,GAAG,IAAI,CAAC;YACjF,IAAI,CAAC,KAAK,sBAAI,OAAO,IAAI,OAAO,IAAI,KAAK,EAAc,CAAC;SACzD;KACF;;;IAlBH,EAAA,IAAA,EAAC,UAAU,EAAX;;;;IAQA,EAAA,IAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAe,QAAQ,EAAvB,EAAA,EAAA,IAAA,EAA2B,MAAM,EAAjC,IAAA,EAAA,CAAkC,YAAY,EAA9C,EAAA,EAAA,EAAA;;;;;;;;ADnCA,AASA;;;;;;AAcA,AAAA,MAAA,GAAA,CAAA;;QACA,IAAA,CAAA,IAAA,GAAoB,KAAK,CAAzB;;;;QAGA,IAAA,CAA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AAC,GAAG,CAAC;gBACd,YAAY,EAAE,CAAC,GAAG,CAAC;gBACnB,SAAS,EAAE;oBACT,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAC;oBAC9C,cAAc;iBACf;aACF,EAAD,EAAA;;;;;;;;GDbA,AACA,AACA,AAA8B;;;;;;;;GDN9B,AAA6B;;"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/cdk.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/cdk.js b/node_modules/@angular/cdk/esm2015/cdk.js new file mode 100644 index 0000000..0ac5f3e --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/cdk.js @@ -0,0 +1,34 @@ +/** + * @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 + */ +import { Version } from '@angular/core'; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Current version of the Angular Component Development Kit. + */ +const VERSION = new Version('5.2.0'); + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { VERSION }; +//# sourceMappingURL=cdk.js.map http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/cdk.js.map ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/cdk.js.map b/node_modules/@angular/cdk/esm2015/cdk.js.map new file mode 100644 index 0000000..430bbf6 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/cdk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cdk.js","sources":["../../src/cdk/index.ts","../../src/cdk/public-api.ts","../../src/cdk/version.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n","/**\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\nexport * from './version';\n","/**\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 {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('5.2.0');\n"],"names":[],"mappings":";;;;;;;;;;;;;;AEQA;;;AAGA,AAAO,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC,CAAC;;;;;GDHxD,AAA0B;;;;;;;;GDJ1B,AAA6B;;"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/coercion.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/coercion.js b/node_modules/@angular/cdk/esm2015/coercion.js new file mode 100644 index 0000000..350114e --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/coercion.js @@ -0,0 +1,77 @@ +/** + * @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 + */ +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Coerces a data-bound value (typically a string) to a boolean. + * @param {?} value + * @return {?} + */ +function coerceBooleanProperty(value) { + return value != null && `${value}` !== 'false'; +} + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @param {?} value + * @param {?=} fallbackValue + * @return {?} + */ +function coerceNumberProperty(value, fallbackValue = 0) { + return _isNumberValue(value) ? Number(value) : fallbackValue; +} +/** + * Whether the provided value is considered a number. + * \@docs-private + * @param {?} value + * @return {?} + */ +function _isNumberValue(value) { + // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string, + // and other non-number values as NaN, where Number just uses 0) but it considers the string + // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN. + return !isNaN(parseFloat(/** @type {?} */ (value))) && !isNaN(Number(value)); +} + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Wraps the provided value in an array, unless the provided value is an array. + * @template T + * @param {?} value + * @return {?} + */ +function coerceArray(value) { + return Array.isArray(value) ? value : [value]; +} + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { coerceBooleanProperty, coerceNumberProperty, _isNumberValue, coerceArray }; +//# sourceMappingURL=coercion.js.map http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/coercion.js.map ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/coercion.js.map b/node_modules/@angular/cdk/esm2015/coercion.js.map new file mode 100644 index 0000000..dc5f900 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/coercion.js.map @@ -0,0 +1 @@ +{"version":3,"file":"coercion.js","sources":["../../../src/cdk/coercion/index.ts","../../../src/cdk/coercion/public-api.ts","../../../src/cdk/coercion/array.ts","../../../src/cdk/coercion/number-property.ts","../../../src/cdk/coercion/boolean-property.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n","/**\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\nexport * from './boolean-property';\nexport * from './number-property';\nexport * from './array';\n","/**\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\n/** Wraps the provided value in an array, unless the provided value is an array. */\nexport function coerceArr ay<T>(value: T | T[]): T[] {\n return Array.isArray(value) ? value : [value];\n}\n","/**\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\n/** Coerces a data-bound value (typically a string) to a number. */\nexport function coerceNumberProperty(value: any): number;\nexport function coerceNumberProperty<D>(value: any, fallback: D): number | D;\nexport function coerceNumberProperty(value: any, fallbackValue = 0) {\n return _isNumberValue(value) ? Number(value) : fallbackValue;\n}\n\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nexport function _isNumberValue(value: any): boolean {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' t o be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value as any)) && !isNaN(Number(value));\n}\n","/**\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\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AISA,AAAA,SAAA,qBAAA,CAAsC,KAAU,EAAhD;IACE,OAAO,KAAK,IAAI,IAAI,IAAI,CAA1B,EAA6B,KAAK,CAAlC,CAAoC,KAAK,OAAO,CAAC;CAChD;;;;;;;;;;;;ADAD,AAAA,SAAA,oBAAA,CAAqC,KAAU,EAAE,aAAa,GAAG,CAAC,EAAlE;IACE,OAAO,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,aAAa,CAAC;CAC9D;;;;;;;AAMD,AAAA,SAAA,cAAA,CAA+B,KAAU,EAAzC;;;;IAIE,OAAO,CAAC,KAAK,CAAC,UAAU,mBAAC,KAAY,EAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;C AClE;;;;;;;;;;;;;ADfD,AAAA,SAAA,WAAA,CAA+B,KAAc,EAA7C;IACE,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC;CAC/C;;;;;GDHD,AACA,AACA,AAAwB;;;;;;;;GDNxB,AAA6B;;"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/collections.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/collections.js b/node_modules/@angular/cdk/esm2015/collections.js new file mode 100644 index 0000000..1491219 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/collections.js @@ -0,0 +1,321 @@ +/** + * @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 + */ +import { Subject } from 'rxjs/Subject'; +import { Injectable, Optional, SkipSelf } from '@angular/core'; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @abstract + */ +class DataSource { +} + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Class to be used to power selecting one or more options from a list. + */ +class SelectionModel { + /** + * @param {?=} _multiple + * @param {?=} initiallySelectedValues + * @param {?=} _emitChanges + */ + constructor(_multiple = false, initiallySelectedValues, _emitChanges = true) { + this._multiple = _multiple; + this._emitChanges = _emitChanges; + /** + * Currently-selected values. + */ + this._selection = new Set(); + /** + * Keeps track of the deselected options that haven't been emitted by the change event. + */ + this._deselectedToEmit = []; + /** + * Keeps track of the selected options that haven't been emitted by the change event. + */ + this._selectedToEmit = []; + /** + * Event emitted when the value has changed. + */ + this.onChange = this._emitChanges ? new Subject() : null; + if (initiallySelectedValues && initiallySelectedValues.length) { + if (_multiple) { + initiallySelectedValues.forEach(value => this._markSelected(value)); + } + else { + this._markSelected(initiallySelectedValues[0]); + } + // Clear the array in order to avoid firing the change event for preselected values. + this._selectedToEmit.length = 0; + } + } + /** + * Selected values. + * @return {?} + */ + get selected() { + if (!this._selected) { + this._selected = Array.from(this._selection.values()); + } + return this._selected; + } + /** + * Selects a value or an array of values. + * @param {...?} values + * @return {?} + */ + select(...values) { + this._verifyValueAssignment(values); + values.forEach(value => this._markSelected(value)); + this._emitChangeEvent(); + } + /** + * Deselects a value or an array of values. + * @param {...?} values + * @return {?} + */ + deselect(...values) { + this._verifyValueAssignment(values); + values.forEach(value => this._unmarkSelected(value)); + this._emitChangeEvent(); + } + /** + * Toggles a value between selected and deselected. + * @param {?} value + * @return {?} + */ + toggle(value) { + this.isSelected(value) ? this.deselect(value) : this.select(value); + } + /** + * Clears all of the selected values. + * @return {?} + */ + clear() { + this._unmarkAll(); + this._emitChangeEvent(); + } + /** + * Determines whether a value is selected. + * @param {?} value + * @return {?} + */ + isSelected(value) { + return this._selection.has(value); + } + /** + * Determines whether the model does not have a value. + * @return {?} + */ + isEmpty() { + return this._selection.size === 0; + } + /** + * Determines whether the model has a value. + * @return {?} + */ + hasValue() { + return !this.isEmpty(); + } + /** + * Sorts the selected values based on a predicate function. + * @param {?=} predicate + * @return {?} + */ + sort(predicate) { + if (this._multiple && this._selected) { + this._selected.sort(predicate); + } + } + /** + * Emits a change event and clears the records of selected and deselected values. + * @return {?} + */ + _emitChangeEvent() { + // Clear the selected values so they can be re-cached. + this._selected = null; + if (this._selectedToEmit.length || this._deselectedToEmit.length) { + const /** @type {?} */ eventData = new SelectionChange(this, this._selectedToEmit, this._deselectedToEmit); + if (this.onChange) { + this.onChange.next(eventData); + } + this._deselectedToEmit = []; + this._selectedToEmit = []; + } + } + /** + * Selects a value. + * @param {?} value + * @return {?} + */ + _markSelected(value) { + if (!this.isSelected(value)) { + if (!this._multiple) { + this._unmarkAll(); + } + this._selection.add(value); + if (this._emitChanges) { + this._selectedToEmit.push(value); + } + } + } + /** + * Deselects a value. + * @param {?} value + * @return {?} + */ + _unmarkSelected(value) { + if (this.isSelected(value)) { + this._selection.delete(value); + if (this._emitChanges) { + this._deselectedToEmit.push(value); + } + } + } + /** + * Clears out the selected values. + * @return {?} + */ + _unmarkAll() { + if (!this.isEmpty()) { + this._selection.forEach(value => this._unmarkSelected(value)); + } + } + /** + * Verifies the value assignment and throws an error if the specified value array is + * including multiple values while the selection model is not supporting multiple values. + * @param {?} values + * @return {?} + */ + _verifyValueAssignment(values) { + if (values.length > 1 && !this._multiple) { + throw getMultipleValuesInSingleSelectionError(); + } + } +} +/** + * Event emitted when the value of a MatSelectionModel has changed. + * \@docs-private + */ +class SelectionChange { + /** + * @param {?} source + * @param {?=} added + * @param {?=} removed + */ + constructor(source, added, removed) { + this.source = source; + this.added = added; + this.removed = removed; + } +} +/** + * Returns an error that reports that multiple values are passed into a selection model + * with a single value. + * @return {?} + */ +function getMultipleValuesInSingleSelectionError() { + return Error('Cannot pass multiple values into SelectionModel with single-value mode.'); +} + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Class to coordinate unique selection based on name. + * Intended to be consumed as an Angular service. + * This service is needed because native radio change events are only fired on the item currently + * being selected, and we still need to uncheck the previous selection. + * + * This service does not *store* any IDs and names because they may change at any time, so it is + * less error-prone if they are simply passed through when the events occur. + */ +class UniqueSelectionDispatcher { + constructor() { + this._listeners = []; + } + /** + * Notify other items that selection for the given name has been set. + * @param {?} id ID of the item. + * @param {?} name Name of the item. + * @return {?} + */ + notify(id, name) { + for (let /** @type {?} */ listener of this._listeners) { + listener(id, name); + } + } + /** + * Listen for future changes to item selection. + * @param {?} listener + * @return {?} Function used to deregister listener + */ + listen(listener) { + this._listeners.push(listener); + return () => { + this._listeners = this._listeners.filter((registered) => { + return listener !== registered; + }); + }; + } + /** + * @return {?} + */ + ngOnDestroy() { + this._listeners = []; + } +} +UniqueSelectionDispatcher.decorators = [ + { type: Injectable }, +]; +/** @nocollapse */ +UniqueSelectionDispatcher.ctorParameters = () => []; +/** + * \@docs-private + * @param {?} parentDispatcher + * @return {?} + */ +function UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY(parentDispatcher) { + return parentDispatcher || new UniqueSelectionDispatcher(); +} +/** + * \@docs-private + */ +const UNIQUE_SELECTION_DISPATCHER_PROVIDER = { + // If there is already a dispatcher available, use that. Otherwise, provide a new one. + provide: UniqueSelectionDispatcher, + deps: [[new Optional(), new SkipSelf(), UniqueSelectionDispatcher]], + useFactory: UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY +}; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { UniqueSelectionDispatcher, UNIQUE_SELECTION_DISPATCHER_PROVIDER, DataSource, SelectionModel, SelectionChange, getMultipleValuesInSingleSelectionError, UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY as ɵa }; +//# sourceMappingURL=collections.js.map http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/collections.js.map ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/collections.js.map b/node_modules/@angular/cdk/esm2015/collections.js.map new file mode 100644 index 0000000..f66a1f4 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/collections.js.map @@ -0,0 +1 @@ +{"version":3,"file":"collections.js","sources":["../../../src/cdk/collections/index.ts","../../../src/cdk/collections/public-api.ts","../../../src/cdk/collections/unique-selection-dispatcher.ts","../../../src/cdk/collections/selection.ts","../../../src/cdk/collections/data-source.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY as ɵa} from './unique-selection-dispatcher';","/**\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\nexport * from './collection-viewer';\nexport * from './data-source';\nexport * from './selection';\nexport {\n UniqueSelectionDispatcher,\n UniqueSelectionDispatcherListener,\n UNIQUE_SELECTION_DISPATCHER_PROVIDER,\n} from './unique-selection-dispatcher';\n","/**\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 {Injectable, Optional, SkipSelf, OnDestroy} from '@angular/core';\n\n\n// Users of the Dispatcher never need to see this type, but TypeScript requires it to be exported.\nexport type UniqueSelectionDispatcherListener = (id: string, name: string) => void;\n\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\n@Injectable()\nexport class UniqueSelectionDispatcher implements OnDestroy {\n pri vate _listeners: UniqueSelectionDispatcherListener[] = [];\n\n /**\n * Notify other items that selection for the given name has been set.\n * @param id ID of the item.\n * @param name Name of the item.\n */\n notify(id: string, name: string) {\n for (let listener of this._listeners) {\n listener(id, name);\n }\n }\n\n /**\n * Listen for future changes to item selection.\n * @return Function used to deregister listener\n */\n listen(listener: UniqueSelectionDispatcherListener): () => void {\n this._listeners.push(listener);\n return () => {\n this._listeners = this._listeners.filter((registered: UniqueSelectionDispatcherListener) => {\n return listener !== registered;\n });\n };\n }\n\n ngOnDestroy() {\n this._listeners = [];\n }\n}\n\n/** @docs-private */\nexport function UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY(\n parentDispatcher: UniqueSelectionDispatcher) {\n return parentDispatcher || new UniqueSelectionDispa tcher();\n}\n\n/** @docs-private */\nexport const UNIQUE_SELECTION_DISPATCHER_PROVIDER = {\n // If there is already a dispatcher available, use that. Otherwise, provide a new one.\n provide: UniqueSelectionDispatcher,\n deps: [[new Optional(), new SkipSelf(), UniqueSelectionDispatcher]],\n useFactory: UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY\n};\n","/**\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 {Subject} from 'rxjs/Subject';\n\n/**\n * Class to be used to power selecting one or more options from a list.\n */\nexport class SelectionModel<T> {\n /** Currently-selected values. */\n private _selection: Set<T> = new Set();\n\n /** Keeps track of the deselected options that haven't been emitted by the change event. */\n private _deselectedToEmit: T[] = [];\n\n /** Keeps track of the selected options that ha ven't been emitted by the change event. */\n private _selectedToEmit: T[] = [];\n\n /** Cache for the array value of the selected items. */\n private _selected: T[] | null;\n\n /** Selected values. */\n get selected(): T[] {\n if (!this._selected) {\n this._selected = Array.from(this._selection.values());\n }\n\n return this._selected;\n }\n\n /** Event emitted when the value has changed. */\n onChange: Subject<SelectionChange<T>> | null = this._emitChanges ? new Subject() : null;\n\n constructor(\n private _multiple = false,\n initiallySelectedValues?: T[],\n private _emitChanges = true) {\n\n if (initiallySelectedValues && initiallySelectedValues.length) {\n if (_multiple) {\n initiallySelectedValues.forEach(value => this._markSelected(value));\n } else {\n this._markSelected(initiallySelectedValues[0]);\n }\n\n // Clear the array in order to avoid firing the change event for preselected values.\n this._sele ctedToEmit.length = 0;\n }\n }\n\n /**\n * Selects a value or an array of values.\n */\n select(...values: T[]): void {\n this._verifyValueAssignment(values);\n values.forEach(value => this._markSelected(value));\n this._emitChangeEvent();\n }\n\n /**\n * Deselects a value or an array of values.\n */\n deselect(...values: T[]): void {\n this._verifyValueAssignment(values);\n values.forEach(value => this._unmarkSelected(value));\n this._emitChangeEvent();\n }\n\n /**\n * Toggles a value between selected and deselected.\n */\n toggle(value: T): void {\n this.isSelected(value) ? this.deselect(value) : this.select(value);\n }\n\n /**\n * Clears all of the selected values.\n */\n clear(): void {\n this._unmarkAll();\n this._emitChangeEvent();\n }\n\n /**\n * Determines whether a value is selected.\n */\n isSelected(value: T): boolean {\n return this._selection.has(value);\n }\n\n /**\n * Determines whether the model does not have a value.\n */\n isEmpty(): boolean {\n return this._selection.size === 0;\n }\n\n /**\n * Determines whether the model has a value.\n */\n hasValue(): boolean {\n return !this.isEmpty();\n }\n\n /**\n * Sorts the selected values based on a predicate function.\n */\n sort(predicate?: (a: T, b: T) => number): void {\n if (this._multiple && this._selected) {\n this._selected.sort(predicate);\n }\n }\n\n /** Emits a change event and clears the records of selected and deselected values. */\n private _emitChangeEvent() {\n // Clear the selected values so they can be re-cached.\n this._selected = null;\n\n if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n const eventData = new SelectionChange<T>(this, this._selectedToEmit, this._deselectedToEmit);\n\n if (this.onChange) {\n this.onChange.next(eventData);\n }\n\n this._deselectedToEmit = [];\n this._selectedToEmit = [];\n }\n }\n\n /** Selects a value. */\n private _markSelected(value: T) {\n if (!this.isSelected(value)) {\n if (!this._multiple) {\n this._unmarkAll();\n }\n\n this._selection.add(value);\n\n if (this._emitChanges) {\n this._selectedToEmit.push(value);\n }\n }\n }\n\n /** Deselects a value. */\n private _unmarkSelected(value: T) {\n if (this.isSelected(value)) {\n this._selection.delete(value);\n\n if (this._emitChanges) {\n this._deselectedToEmit.push(value);\n }\n }\n }\n\n /** Clears out the selected values. */\n private _unmarkAll() {\n if (!this.isEmpty()) {\n this._selection.forEach(value => this._unmarkSelected(value));\n }\n }\n\n /**\n * Verifies the value assignment and throws an error if the specified value array is\n * including multiple values while the selection model is not supporting multiple values.\n */\n private _verifyValueAssignment(values: T[]) {\n if (values.length > 1 && !this._multiple) {\n throw getMultipleValuesInSingleSelectionError();\n }\n }\n}\n\n/**\n * Event emitted when the value of a MatSelectionModel has changed.\n * @docs-private\n */\nexport class SelectionChange<T> {\n constructor(\n /** Model that dispatched the event. */\n public source: SelectionModel<T>,\n /** Options that were added to the model. */\n public added?: T[],\n /** Options that were removed from the model. */\n public removed?: T[]) {}\n}\n\n/**\n * Returns an error that reports that multiple values are passed into a selection model\n * with a single value.\n */\nexport function getMultipleValuesInSingleSelectionError() {\n return Error('Cannot pass multiple values into SelectionModel with single-value mode.');\n}\n","/**\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 {Observable} from 'rxjs/Observable';\nimport {CollectionViewer} from './collection-viewer';\n\nexport abstract class DataSource<T> {\n /**\n * Connects a collection viewer (such as a data-table) to this data source. Note that\n * the stream provided will be accessed during change detection and should not directly change\n * values that are bound in template views.\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n * @returns Observable that emits a new value when the data changes.\n */\n abstract connect(collectionViewer: CollectionViewer): Observable<T[]>;\n\n /**\n * Disconnects a collection viewer (such as a data-table) from this data source. Can be used\n * to perform any clean-up or tear-down operations when a view is being destroyed.\n *\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n */\n abstract disconnect(collec tionViewer: CollectionViewer): void;\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AIWA,AAAA,MAAA,UAAA,CAAA;CAmBC;;;;;;;ADtBD;;;AAKA,AAAA,MAAA,cAAA,CAAA;;;;;;IAyBE,WAAF,CACY,SADZ,GACwB,KAAK,EACzB,uBAA6B,EACrB,YAHZ,GAG2B,IAAI,EAH/B;QACY,IAAZ,CAAA,SAAqB,GAAT,SAAS,CAArB;QAEY,IAAZ,CAAA,YAAwB,GAAZ,YAAY,CAAxB;;;;QA1BA,IAAA,CAAA,UAAA,GAA+B,IAAI,GAAG,EAAE,CAAxC;;;;QAGA,IAAA,CAAA,iBAAA,GAAmC,EAAE,CAArC;;;;QAGA,IAAA,CAAA,eAAA,GAAiC,EAAE,CAAnC;;;;QAeA,IAAA,CAAA,QAAA,GAAiD,IAAI,CAAC,YAAY,GAAG,IAAI,OAAO,EAAE,GAAG,IAAI,CAAzF;QAOI,IAAI,uBAAuB,IAAI,uBAAuB,CAAC,MAAM,EAAE;YAC7D,IAAI,SAAS,EAAE;gBACb,uBAAuB,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;aACrE;iBAAM;gBACL,IAAI,CAAC,aA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G,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,UAA6C,KAA7F;gBACQ,OAAO,QAAQ,KAAK,UAAU,CAAC;aAChC,CAAC,CAAC;SACJ,CAAC;KACH;;;;IAED,WAAW,GAAb;QACI,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;KACtB;;;IA 9BH,EAAA,IAAA,EAAC,UAAU,EAAX;;;;;;;;;AAkCA,AAAA,SAAA,4CAAA,CACI,gBAA2C,EAD/C;IAEE,OAAO,gBAAgB,IAAI,IAAI,yBAAyB,EAAE,CAAC;CAC5D;;;;AAGD,AAAO,MAAM,oCAAoC,GAAG;;IAElD,OAAO,EAAE,yBAAyB;IAClC,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,QAAQ,EAAE,EAAE,yBAAyB,CAAC,CAAC;IACnE,UAAU,EAAE,4CAA4C;CACzD,CAAC;;;;;GD3DF,AACA,AACA,AAIuC;;;;;;;;GDXvC,AAEA,AAAiG;;"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/keycodes.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/keycodes.js b/node_modules/@angular/cdk/esm2015/keycodes.js new file mode 100644 index 0000000..b2529c5 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/keycodes.js @@ -0,0 +1,47 @@ +/** + * @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 + */ +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +const UP_ARROW = 38; +const DOWN_ARROW = 40; +const RIGHT_ARROW = 39; +const LEFT_ARROW = 37; +const PAGE_UP = 33; +const PAGE_DOWN = 34; +const HOME = 36; +const END = 35; +const ENTER = 13; +const SPACE = 32; +const TAB = 9; +const ESCAPE = 27; +const BACKSPACE = 8; +const DELETE = 46; +const A = 65; +const Z = 90; +const ZERO = 48; +const NINE = 57; +const COMMA = 188; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { UP_ARROW, DOWN_ARROW, RIGHT_ARROW, LEFT_ARROW, PAGE_UP, PAGE_DOWN, HOME, END, ENTER, SPACE, TAB, ESCAPE, BACKSPACE, DELETE, A, Z, ZERO, NINE, COMMA }; +//# sourceMappingURL=keycodes.js.map http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/keycodes.js.map ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/keycodes.js.map b/node_modules/@angular/cdk/esm2015/keycodes.js.map new file mode 100644 index 0000000..b217868 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/keycodes.js.map @@ -0,0 +1 @@ +{"version":3,"file":"keycodes.js","sources":["../../../src/cdk/keycodes/index.ts","../../../src/cdk/keycodes/public-api.ts","../../../src/cdk/keycodes/keycodes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n","/**\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\nexport * from './keycodes';\n","/**\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\nexport const UP_ARROW = 38;\nexport const DOWN_ARROW = 40;\nexport const RIGHT_ARROW = 39;\nexport const LEFT_ARROW = 37;\nexport const PAGE_UP = 33;\nexport const PAGE_DOWN = 34;\nexport const HOME = 36;\nexport const END = 35;\nexport const ENTER = 13;\nexport const SPA CE = 32;\nexport const TAB = 9;\nexport const ESCAPE = 27;\nexport const BACKSPACE = 8;\nexport const DELETE = 46;\nexport const A = 65;\nexport const Z = 90;\nexport const ZERO = 48;\nexport const NINE = 57;\nexport const COMMA = 188;\n"],"names":[],"mappings":";;;;;;;;;;;;AEQA,AAAO,MAAM,QAAQ,GAAG,EAAE,CAAC;AAC3B,AAAO,MAAM,UAAU,GAAG,EAAE,CAAC;AAC7B,AAAO,MAAM,WAAW,GAAG,EAAE,CAAC;AAC9B,AAAO,MAAM,UAAU,GAAG,EAAE,CAAC;AAC7B,AAAO,MAAM,OAAO,GAAG,EAAE,CAAC;AAC1B,AAAO,MAAM,SAAS,GAAG,EAAE,CAAC;AAC5B,AAAO,MAAM,IAAI,GAAG,EAAE,CAAC;AACvB,AAAO,MAAM,GAAG,GAAG,EAAE,CAAC;AACtB,AAAO,MAAM,KAAK,GAAG,EAAE,CAAC;AACxB,AAAO,MAAM,KAAK,GAAG,EAAE,CAAC;AACxB,AAAO,MAAM,GAAG,GAAG,CAAC,CAAC;AACrB,AAAO,MAAM,MAAM,GAAG,EAAE,CAAC;AACzB,AAAO,MAAM,SAAS,GAAG,CAAC,CAAC;AAC3B,AAAO,MAAM,MAAM,GAAG,EAAE,CAAC;AACzB,AAAO,MAAM,CAAC,GAAG,EAAE,CAAC;AACpB,AAAO,MAAM,CAAC,GAAG,EAAE,CAAC;AACpB,AAAO,MAAM,IAAI,GAAG,EAAE,CAAC;AACvB,AAAO,MAAM,IAAI,GAAG,EAAE,CAAC;AACvB,AAAO,MAAM,KAAK,GAAG,GAAG,CAAC;;;;;GDlBzB,AAA2B;;;;;;;;GDJ3B,AAA6B;;"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/layout.js ---------------------------------------------------------------------- diff --git a/node_modules/@angular/cdk/esm2015/layout.js b/node_modules/@angular/cdk/esm2015/layout.js new file mode 100644 index 0000000..d5b6a23 --- /dev/null +++ b/node_modules/@angular/cdk/esm2015/layout.js @@ -0,0 +1,253 @@ +/** + * @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 + */ +import { Injectable, NgModule, NgZone } from '@angular/core'; +import { Platform, PlatformModule } from '@angular/cdk/platform'; +import { Subject } from 'rxjs/Subject'; +import { map } from 'rxjs/operators/map'; +import { startWith } from 'rxjs/operators/startWith'; +import { takeUntil } from 'rxjs/operators/takeUntil'; +import { coerceArray } from '@angular/cdk/coercion'; +import { combineLatest } from 'rxjs/observable/combineLatest'; +import { fromEventPattern } from 'rxjs/observable/fromEventPattern'; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * Global registry for all dynamically-created, injected style tags. + */ +const styleElementForWebkitCompatibility = new Map(); +/** + * A utility for calling matchMedia queries. + */ +class MediaMatcher { + /** + * @param {?} platform + */ + constructor(platform) { + this.platform = platform; + this._matchMedia = this.platform.isBrowser && window.matchMedia ? + // matchMedia is bound to the window scope intentionally as it is an illegal invocation to + // call it from a different scope. + window.matchMedia.bind(window) : + noopMatchMedia; + } + /** + * Evaluates the given media query and returns the native MediaQueryList from which results + * can be retrieved. + * Confirms the layout engine will trigger for the selector query provided and returns the + * MediaQueryList for the query provided. + * @param {?} query + * @return {?} + */ + matchMedia(query) { + if (this.platform.WEBKIT) { + createEmptyStyleRule(query); + } + return this._matchMedia(query); + } +} +MediaMatcher.decorators = [ + { type: Injectable }, +]; +/** @nocollapse */ +MediaMatcher.ctorParameters = () => [ + { type: Platform, }, +]; +/** + * For Webkit engines that only trigger the MediaQueryListListener when there is at least one CSS + * selector for the respective media query. + * @param {?} query + * @return {?} + */ +function createEmptyStyleRule(query) { + if (!styleElementForWebkitCompatibility.has(query)) { + try { + const /** @type {?} */ style = document.createElement('style'); + style.setAttribute('type', 'text/css'); + if (!style.sheet) { + const /** @type {?} */ cssText = `@media ${query} {.fx-query-test{ }}`; + style.appendChild(document.createTextNode(cssText)); + } + document.getElementsByTagName('head')[0].appendChild(style); + // Store in private global registry + styleElementForWebkitCompatibility.set(query, style); + } + catch (/** @type {?} */ e) { + console.error(e); + } + } +} +/** + * No-op matchMedia replacement for non-browser platforms. + * @param {?} query + * @return {?} + */ +function noopMatchMedia(query) { + return { + matches: query === 'all' || query === '', + media: query, + addListener: () => { }, + removeListener: () => { } + }; +} + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +/** + * The current state of a layout breakpoint. + * @record + */ + +/** + * Utility for checking the matching state of \@media queries. + */ +class BreakpointObserver { + /** + * @param {?} mediaMatcher + * @param {?} zone + */ + constructor(mediaMatcher, zone) { + this.mediaMatcher = mediaMatcher; + this.zone = zone; + /** + * A map of all media queries currently being listened for. + */ + this._queries = new Map(); + /** + * A subject for all other observables to takeUntil based on. + */ + this._destroySubject = new Subject(); + } + /** + * Completes the active subject, signalling to all other observables to complete. + * @return {?} + */ + ngOnDestroy() { + this._destroySubject.next(); + this._destroySubject.complete(); + } + /** + * Whether one or more media queries match the current viewport size. + * @param {?} value One or more media queries to check. + * @return {?} Whether any of the media queries match. + */ + isMatched(value) { + let /** @type {?} */ queries = coerceArray(value); + return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches); + } + /** + * Gets an observable of results for the given queries that will emit new results for any changes + * in matching of the given queries. + * @param {?} value + * @return {?} A stream of matches for the given queries. + */ + observe(value) { + let /** @type {?} */ queries = coerceArray(value); + let /** @type {?} */ observables = queries.map(query => this._registerQuery(query).observable); + return combineLatest(observables, (a, b) => { + return { + matches: !!((a && a.matches) || (b && b.matches)), + }; + }); + } + /** + * Registers a specific query to be listened for. + * @param {?} query + * @return {?} + */ + _registerQuery(query) { + // Only set up a new MediaQueryList if it is not already being listened for. + if (this._queries.has(query)) { + return /** @type {?} */ ((this._queries.get(query))); + } + let /** @type {?} */ mql = this.mediaMatcher.matchMedia(query); + // Create callback for match changes and add it is as a listener. + let /** @type {?} */ queryObservable = fromEventPattern( + // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed + // back into the zone because matchMedia is only included in Zone.js by loading the + // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not + // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js + // patches it. + (listener) => { + mql.addListener((e) => this.zone.run(() => listener(e))); + }, (listener) => { + mql.removeListener((e) => this.zone.run(() => listener(e))); + }) + .pipe(takeUntil(this._destroySubject), startWith(mql), map((nextMql) => ({ matches: nextMql.matches }))); + // Add the MediaQueryList to the set of queries. + let /** @type {?} */ output = { observable: queryObservable, mql: mql }; + this._queries.set(query, output); + return output; + } +} +BreakpointObserver.decorators = [ + { type: Injectable }, +]; +/** @nocollapse */ +BreakpointObserver.ctorParameters = () => [ + { type: MediaMatcher, }, + { type: NgZone, }, +]; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +const Breakpoints = { + XSmall: '(max-width: 599px)', + Small: '(min-width: 600px) and (max-width: 959px)', + Medium: '(min-width: 960px) and (max-width: 1279px)', + Large: '(min-width: 1280px) and (max-width: 1919px)', + XLarge: '(min-width: 1920px)', + Handset: '(max-width: 599px) and (orientation: portrait), ' + + '(max-width: 959px) and (orientation: landscape)', + Tablet: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait), ' + + '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)', + Web: '(min-width: 840px) and (orientation: portrait), ' + + '(min-width: 1280px) and (orientation: landscape)', + HandsetPortrait: '(max-width: 599px) and (orientation: portrait)', + TabletPortrait: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait)', + WebPortrait: '(min-width: 840px) and (orientation: portrait)', + HandsetLandscape: '(max-width: 959px) and (orientation: landscape)', + TabletLandscape: '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)', + WebLandscape: '(min-width: 1280px) and (orientation: landscape)', +}; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ + +class LayoutModule { +} +LayoutModule.decorators = [ + { type: NgModule, args: [{ + providers: [BreakpointObserver, MediaMatcher], + imports: [PlatformModule], + },] }, +]; +/** @nocollapse */ +LayoutModule.ctorParameters = () => []; + +/** + * @fileoverview added by tsickle + * @suppress {checkTypes} checked by tsc + */ +/** + * Generated bundle index. Do not edit. + */ + +export { LayoutModule, BreakpointObserver, Breakpoints, MediaMatcher }; +//# sourceMappingURL=layout.js.map