@coolon/angular-ui-powerups 0.0.23 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/bundles/coolon-angular-ui-powerups.umd.js +57 -39
  2. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  3. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  5. package/coolon-angular-ui-powerups.d.ts +1 -1
  6. package/coolon-angular-ui-powerups.metadata.json +1 -1
  7. package/esm2015/coolon-angular-ui-powerups.js +3 -3
  8. package/esm2015/index.js +2 -2
  9. package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
  10. package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +50 -0
  11. package/esm2015/lib/place/index.js +2 -2
  12. package/esm2015/lib/place/place.module.js +4 -4
  13. package/esm2015/public_api.js +2 -2
  14. package/esm5/coolon-angular-ui-powerups.js +3 -3
  15. package/esm5/index.js +2 -2
  16. package/esm5/lib/place/components/place-outlet/place-outlet.component.js +1 -1
  17. package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +57 -0
  18. package/esm5/lib/place/index.js +2 -2
  19. package/esm5/lib/place/place.module.js +4 -4
  20. package/esm5/public_api.js +2 -2
  21. package/fesm2015/coolon-angular-ui-powerups.js +50 -34
  22. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  23. package/fesm5/coolon-angular-ui-powerups.js +56 -38
  24. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  25. package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +11 -0
  26. package/lib/place/index.d.ts +1 -1
  27. package/package.json +1 -1
  28. package/esm2015/lib/place/components/nav/nav.component.js +0 -31
  29. package/esm5/lib/place/components/nav/nav.component.js +0 -36
  30. package/lib/place/components/nav/nav.component.d.ts +0 -7
@@ -1718,40 +1718,6 @@ var EmptyStateComponent = /** @class */ (function () {
1718
1718
  return EmptyStateComponent;
1719
1719
  }());
1720
1720
 
1721
- /**
1722
- * @fileoverview added by tsickle
1723
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1724
- */
1725
- var NavComponent = /** @class */ (function () {
1726
- function NavComponent() {
1727
- }
1728
- /**
1729
- * @return {?}
1730
- */
1731
- NavComponent.prototype.ngOnInit = /**
1732
- * @return {?}
1733
- */
1734
- function () {
1735
- };
1736
- NavComponent.decorators = [
1737
- { type: Component, args: [{
1738
- selector: 'angular-ui-powerups-nav',
1739
- template: "<nav mat-tab-nav-bar>\n <a mat-tab-link *ngFor=\"let placeDescriptor of places\" [routerLink]='placeDescriptor.path'\n routerLinkActive #rla=\"routerLinkActive\"\n [active]=\"rla.isActive\"\n [matTooltip]=\"placeDescriptor.title\">{{placeDescriptor.title}}</a>\n</nav>\n\n",
1740
- styles: [""]
1741
- }] }
1742
- ];
1743
- /** @nocollapse */
1744
- NavComponent.ctorParameters = function () { return []; };
1745
- NavComponent.propDecorators = {
1746
- places: [{ type: Input }]
1747
- };
1748
- return NavComponent;
1749
- }());
1750
- if (false) {
1751
- /** @type {?} */
1752
- NavComponent.prototype.places;
1753
- }
1754
-
1755
1721
  /**
1756
1722
  * @fileoverview added by tsickle
1757
1723
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -1911,7 +1877,7 @@ var PlaceOutletComponent = /** @class */ (function () {
1911
1877
  selector: 'angular-ui-powerups-place-outlet',
1912
1878
  template: "<div container [@routeAnimations]=\"getPlaceOrder(routerOutlet)\">\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\">\n </router-outlet>\n</div>\n\n",
1913
1879
  animations: [LEFT_RIGHT_PLACE_ANIMATION],
1914
- styles: [":host{display:block}.container{grid-area:main;display:-ms-grid;display:grid;-ms-grid-rows:0 1fr;grid-template-rows:0 1fr;min-height:0}"]
1880
+ styles: [":host{display:flex;flex-direction:column;min-height:0}[container]{flex:1;display:-ms-grid;display:grid;-ms-grid-rows:0 1fr;grid-template-rows:0 1fr;min-height:0}"]
1915
1881
  }] }
1916
1882
  ];
1917
1883
  /** @nocollapse */
@@ -1933,6 +1899,58 @@ if (false) {
1933
1899
  PlaceOutletComponent.prototype.placeService;
1934
1900
  }
1935
1901
 
1902
+ /**
1903
+ * @fileoverview added by tsickle
1904
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1905
+ */
1906
+ var TabbedPlaceNavigationComponent = /** @class */ (function (_super) {
1907
+ __extends(TabbedPlaceNavigationComponent, _super);
1908
+ function TabbedPlaceNavigationComponent() {
1909
+ var _this = _super.call(this) || this;
1910
+ var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
1911
+ _this.orderedPlaces = chain(_this.placesModel).sortBy('order');
1912
+ return _this;
1913
+ }
1914
+ /**
1915
+ * @return {?}
1916
+ */
1917
+ TabbedPlaceNavigationComponent.prototype.ngOnInit = /**
1918
+ * @return {?}
1919
+ */
1920
+ function () {
1921
+ };
1922
+ TabbedPlaceNavigationComponent.decorators = [
1923
+ { type: Component, args: [{
1924
+ selector: 'angular-ui-powerups-tabbed-place-navigation',
1925
+ template: "<nav mat-tab-nav-bar>\n <a mat-tab-link *ngFor=\"let placeDescriptor of orderedPlaces.value\" [routerLink]='placeDescriptor.path'\n routerLinkActive #rla=\"routerLinkActive\"\n [active]=\"rla.isActive\"\n [matTooltip]=\"placeDescriptor.title\">{{placeDescriptor.title}}</a>\n</nav>\n\n",
1926
+ styles: [""]
1927
+ }] }
1928
+ ];
1929
+ /** @nocollapse */
1930
+ TabbedPlaceNavigationComponent.ctorParameters = function () { return []; };
1931
+ TabbedPlaceNavigationComponent.propDecorators = {
1932
+ places: [{ type: Input }],
1933
+ placesModel: [{ type: Input }]
1934
+ };
1935
+ __decorate([
1936
+ StoreInListModel('placesModel'),
1937
+ __metadata("design:type", Array)
1938
+ ], TabbedPlaceNavigationComponent.prototype, "places", void 0);
1939
+ __decorate([
1940
+ UseDelegate(),
1941
+ __metadata("design:type", ListModel)
1942
+ ], TabbedPlaceNavigationComponent.prototype, "placesModel", void 0);
1943
+ return TabbedPlaceNavigationComponent;
1944
+ }(DisposableComponent));
1945
+ if (false) {
1946
+ /** @type {?} */
1947
+ TabbedPlaceNavigationComponent.prototype.places;
1948
+ /** @type {?} */
1949
+ TabbedPlaceNavigationComponent.prototype.placesModel;
1950
+ /** @type {?} */
1951
+ TabbedPlaceNavigationComponent.prototype.orderedPlaces;
1952
+ }
1953
+
1936
1954
  /**
1937
1955
  * @fileoverview added by tsickle
1938
1956
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -1955,14 +1973,14 @@ var PlaceModule = /** @class */ (function () {
1955
1973
  EmptyStateComponent,
1956
1974
  BusyOverlayComponent,
1957
1975
  PlaceOutletComponent,
1958
- NavComponent
1976
+ TabbedPlaceNavigationComponent
1959
1977
  ],
1960
1978
  entryComponents: [BusyOverlayComponent],
1961
1979
  exports: [
1962
1980
  BusyOverlayComponent,
1963
1981
  PlaceOutletComponent,
1964
1982
  EmptyStateComponent,
1965
- NavComponent
1983
+ TabbedPlaceNavigationComponent
1966
1984
  ],
1967
1985
  providers: [
1968
1986
  PlaceService
@@ -3677,5 +3695,5 @@ var ParameterType;
3677
3695
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3678
3696
  */
3679
3697
 
3680
- export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, NavComponent, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, QueryParameter, QueryParameterList, ResizeAwareComponent, RouteId, RouteParameter, RouteParameterBindings, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, LEFT_RIGHT_PLACE_ANIMATION as ɵm, PlaceService as ɵn, NavComponent as ɵo, InteractionModule as ɵp, ActivityContainerComponent as ɵq, ConfirmationDialogComponent as ɵr, AbstractActivity as ɵs, ACTIVITY_DATA as ɵt, AlertDialogComponent as ɵv, ActivityOutletComponent as ɵx, DialogInteractionService as ɵy, InteractionContext as ɵz };
3698
+ export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, QueryParameter, QueryParameterList, ResizeAwareComponent, RouteId, RouteParameter, RouteParameterBindings, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, LEFT_RIGHT_PLACE_ANIMATION as ɵm, PlaceService as ɵn, TabbedPlaceNavigationComponent as ɵo, InteractionModule as ɵp, ActivityContainerComponent as ɵq, ConfirmationDialogComponent as ɵr, AbstractActivity as ɵs, ACTIVITY_DATA as ɵt, AlertDialogComponent as ɵv, ActivityOutletComponent as ɵx, DialogInteractionService as ɵy, InteractionContext as ɵz };
3681
3699
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map