Skip to content

Commit

Permalink
fix: rxjsminor update
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Mar 14, 2019
1 parent ccff00e commit 75fafbd
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 63 deletions.
1 change: 0 additions & 1 deletion src/cdk/schematics/testing/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './post-scheduled-tasks';
export * from './test-app';
36 changes: 0 additions & 36 deletions src/cdk/schematics/testing/post-scheduled-tasks.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/cdk/schematics/testing/test-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export function createTestApp(runner: SchematicTestRunner, appOptions = {}): Uni
});

return runner.runExternalSchematic('@schematics/angular', 'application',
{...appOptions, name: 'material'}, workspaceTree);
{...appOptions, name: 'mosaic'}, workspaceTree);
}
44 changes: 20 additions & 24 deletions src/lib/select/select.component.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
/* tslint:disable:no-empty */

import { ActiveDescendantKeyManager } from '@ptsecurity/cdk/a11y';
import { Directionality } from '@ptsecurity/cdk/bidi';
import { coerceBooleanProperty } from '@ptsecurity/cdk/coercion';
import { SelectionModel } from '@ptsecurity/cdk/collections';
import {
DOWN_ARROW,
END,
ENTER,
HOME,
LEFT_ARROW,
RIGHT_ARROW,
SPACE,
UP_ARROW,
A
} from '@ptsecurity/cdk/keycodes';
import {
CdkConnectedOverlay,
ViewportRuler
} from '@ptsecurity/cdk/overlay';

import {
AfterContentInit, AfterViewInit,
Attribute,
Expand Down Expand Up @@ -48,6 +28,25 @@ import {
ViewEncapsulation
} from '@angular/core';
import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
import { ActiveDescendantKeyManager } from '@ptsecurity/cdk/a11y';
import { Directionality } from '@ptsecurity/cdk/bidi';
import { coerceBooleanProperty } from '@ptsecurity/cdk/coercion';
import { SelectionModel } from '@ptsecurity/cdk/collections';
import {
DOWN_ARROW,
END,
ENTER,
HOME,
LEFT_ARROW,
RIGHT_ARROW,
SPACE,
UP_ARROW,
A
} from '@ptsecurity/cdk/keycodes';
import {
CdkConnectedOverlay,
ViewportRuler
} from '@ptsecurity/cdk/overlay';
import {
countGroupLabelsBeforeOption,
getOptionScrollPosition,
Expand Down Expand Up @@ -77,11 +76,8 @@ import {
getMcSelectNonArrayValueError,
MC_SELECT_SCROLL_STRATEGY
} from '@ptsecurity/mosaic/core';

import { McFormField, McFormFieldControl } from '@ptsecurity/mosaic/form-field';
import { McTag } from '@ptsecurity/mosaic/tag';


import { defer, merge, Observable, Subject } from 'rxjs';
import {
filter,
Expand Down Expand Up @@ -254,7 +250,7 @@ export class McSelect extends McSelectMixinBase implements
return this._ngZone.onStable
.asObservable()
.pipe(take(1), switchMap(() => this.optionSelectionChanges));
});
}) as Observable<McOptionSelectionChange>;

/** Event emitted when the select panel has been toggled. */
@Output() readonly openedChange: EventEmitter<boolean> = new EventEmitter<boolean>();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class McTreeSelect extends McTreeSelectMixinBase implements
return this.ngZone.onStable
.asObservable()
.pipe(take(1), switchMap(() => this.optionSelectionChanges));
});
}) as Observable<McTreeSelectChange>;

options: QueryList<McTreeOption>;

Expand Down

0 comments on commit 75fafbd

Please sign in to comment.