@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.
- package/bundles/coolon-angular-ui-powerups.umd.js +57 -39
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +3 -3
- package/esm2015/index.js +2 -2
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +1 -1
- package/esm2015/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +50 -0
- package/esm2015/lib/place/index.js +2 -2
- package/esm2015/lib/place/place.module.js +4 -4
- package/esm2015/public_api.js +2 -2
- package/esm5/coolon-angular-ui-powerups.js +3 -3
- package/esm5/index.js +2 -2
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +1 -1
- package/esm5/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.js +57 -0
- package/esm5/lib/place/index.js +2 -2
- package/esm5/lib/place/place.module.js +4 -4
- package/esm5/public_api.js +2 -2
- package/fesm2015/coolon-angular-ui-powerups.js +50 -34
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +56 -38
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +11 -0
- package/lib/place/index.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/place/components/nav/nav.component.js +0 -31
- package/esm5/lib/place/components/nav/nav.component.js +0 -36
- package/lib/place/components/nav/nav.component.d.ts +0 -7
|
@@ -1900,40 +1900,6 @@
|
|
|
1900
1900
|
return EmptyStateComponent;
|
|
1901
1901
|
}());
|
|
1902
1902
|
|
|
1903
|
-
/**
|
|
1904
|
-
* @fileoverview added by tsickle
|
|
1905
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1906
|
-
*/
|
|
1907
|
-
var NavComponent = /** @class */ (function () {
|
|
1908
|
-
function NavComponent() {
|
|
1909
|
-
}
|
|
1910
|
-
/**
|
|
1911
|
-
* @return {?}
|
|
1912
|
-
*/
|
|
1913
|
-
NavComponent.prototype.ngOnInit = /**
|
|
1914
|
-
* @return {?}
|
|
1915
|
-
*/
|
|
1916
|
-
function () {
|
|
1917
|
-
};
|
|
1918
|
-
NavComponent.decorators = [
|
|
1919
|
-
{ type: core.Component, args: [{
|
|
1920
|
-
selector: 'angular-ui-powerups-nav',
|
|
1921
|
-
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",
|
|
1922
|
-
styles: [""]
|
|
1923
|
-
}] }
|
|
1924
|
-
];
|
|
1925
|
-
/** @nocollapse */
|
|
1926
|
-
NavComponent.ctorParameters = function () { return []; };
|
|
1927
|
-
NavComponent.propDecorators = {
|
|
1928
|
-
places: [{ type: core.Input }]
|
|
1929
|
-
};
|
|
1930
|
-
return NavComponent;
|
|
1931
|
-
}());
|
|
1932
|
-
if (false) {
|
|
1933
|
-
/** @type {?} */
|
|
1934
|
-
NavComponent.prototype.places;
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
1903
|
/**
|
|
1938
1904
|
* @fileoverview added by tsickle
|
|
1939
1905
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -2093,7 +2059,7 @@
|
|
|
2093
2059
|
selector: 'angular-ui-powerups-place-outlet',
|
|
2094
2060
|
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",
|
|
2095
2061
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
2096
|
-
styles: [":host{display:
|
|
2062
|
+
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}"]
|
|
2097
2063
|
}] }
|
|
2098
2064
|
];
|
|
2099
2065
|
/** @nocollapse */
|
|
@@ -2115,6 +2081,58 @@
|
|
|
2115
2081
|
PlaceOutletComponent.prototype.placeService;
|
|
2116
2082
|
}
|
|
2117
2083
|
|
|
2084
|
+
/**
|
|
2085
|
+
* @fileoverview added by tsickle
|
|
2086
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2087
|
+
*/
|
|
2088
|
+
var TabbedPlaceNavigationComponent = /** @class */ (function (_super) {
|
|
2089
|
+
__extends(TabbedPlaceNavigationComponent, _super);
|
|
2090
|
+
function TabbedPlaceNavigationComponent() {
|
|
2091
|
+
var _this = _super.call(this) || this;
|
|
2092
|
+
var _a = pectin.Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
2093
|
+
_this.orderedPlaces = chain(_this.placesModel).sortBy('order');
|
|
2094
|
+
return _this;
|
|
2095
|
+
}
|
|
2096
|
+
/**
|
|
2097
|
+
* @return {?}
|
|
2098
|
+
*/
|
|
2099
|
+
TabbedPlaceNavigationComponent.prototype.ngOnInit = /**
|
|
2100
|
+
* @return {?}
|
|
2101
|
+
*/
|
|
2102
|
+
function () {
|
|
2103
|
+
};
|
|
2104
|
+
TabbedPlaceNavigationComponent.decorators = [
|
|
2105
|
+
{ type: core.Component, args: [{
|
|
2106
|
+
selector: 'angular-ui-powerups-tabbed-place-navigation',
|
|
2107
|
+
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",
|
|
2108
|
+
styles: [""]
|
|
2109
|
+
}] }
|
|
2110
|
+
];
|
|
2111
|
+
/** @nocollapse */
|
|
2112
|
+
TabbedPlaceNavigationComponent.ctorParameters = function () { return []; };
|
|
2113
|
+
TabbedPlaceNavigationComponent.propDecorators = {
|
|
2114
|
+
places: [{ type: core.Input }],
|
|
2115
|
+
placesModel: [{ type: core.Input }]
|
|
2116
|
+
};
|
|
2117
|
+
__decorate([
|
|
2118
|
+
pectin.StoreInListModel('placesModel'),
|
|
2119
|
+
__metadata("design:type", Array)
|
|
2120
|
+
], TabbedPlaceNavigationComponent.prototype, "places", void 0);
|
|
2121
|
+
__decorate([
|
|
2122
|
+
pectin.UseDelegate(),
|
|
2123
|
+
__metadata("design:type", pectin.ListModel)
|
|
2124
|
+
], TabbedPlaceNavigationComponent.prototype, "placesModel", void 0);
|
|
2125
|
+
return TabbedPlaceNavigationComponent;
|
|
2126
|
+
}(DisposableComponent));
|
|
2127
|
+
if (false) {
|
|
2128
|
+
/** @type {?} */
|
|
2129
|
+
TabbedPlaceNavigationComponent.prototype.places;
|
|
2130
|
+
/** @type {?} */
|
|
2131
|
+
TabbedPlaceNavigationComponent.prototype.placesModel;
|
|
2132
|
+
/** @type {?} */
|
|
2133
|
+
TabbedPlaceNavigationComponent.prototype.orderedPlaces;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2118
2136
|
/**
|
|
2119
2137
|
* @fileoverview added by tsickle
|
|
2120
2138
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -2137,14 +2155,14 @@
|
|
|
2137
2155
|
EmptyStateComponent,
|
|
2138
2156
|
BusyOverlayComponent,
|
|
2139
2157
|
PlaceOutletComponent,
|
|
2140
|
-
|
|
2158
|
+
TabbedPlaceNavigationComponent
|
|
2141
2159
|
],
|
|
2142
2160
|
entryComponents: [BusyOverlayComponent],
|
|
2143
2161
|
exports: [
|
|
2144
2162
|
BusyOverlayComponent,
|
|
2145
2163
|
PlaceOutletComponent,
|
|
2146
2164
|
EmptyStateComponent,
|
|
2147
|
-
|
|
2165
|
+
TabbedPlaceNavigationComponent
|
|
2148
2166
|
],
|
|
2149
2167
|
providers: [
|
|
2150
2168
|
PlaceService
|
|
@@ -3860,7 +3878,6 @@
|
|
|
3860
3878
|
exports.InteractionModule = InteractionModule;
|
|
3861
3879
|
exports.LEFT_RIGHT_PLACE_ANIMATION = LEFT_RIGHT_PLACE_ANIMATION;
|
|
3862
3880
|
exports.LeavePlaceGuard = LeavePlaceGuard;
|
|
3863
|
-
exports.NavComponent = NavComponent;
|
|
3864
3881
|
exports.NumberInputComponent = NumberInputComponent;
|
|
3865
3882
|
exports.PasswordInputComponent = PasswordInputComponent;
|
|
3866
3883
|
exports.Place = Place;
|
|
@@ -3878,6 +3895,7 @@
|
|
|
3878
3895
|
exports.RouteParameterSanitiser = RouteParameterSanitiser;
|
|
3879
3896
|
exports.SelectInputComponent = SelectInputComponent;
|
|
3880
3897
|
exports.StringInputComponent = StringInputComponent;
|
|
3898
|
+
exports.TabbedPlaceNavigationComponent = TabbedPlaceNavigationComponent;
|
|
3881
3899
|
exports.slideDownAndUpAnimation = slideDownAndUpAnimation;
|
|
3882
3900
|
exports.ɵa = CommandDirective;
|
|
3883
3901
|
exports.ɵb = FocusBindingDirective;
|
|
@@ -3893,7 +3911,7 @@
|
|
|
3893
3911
|
exports.ɵl = PlaceOutletComponent;
|
|
3894
3912
|
exports.ɵm = LEFT_RIGHT_PLACE_ANIMATION;
|
|
3895
3913
|
exports.ɵn = PlaceService;
|
|
3896
|
-
exports.ɵo =
|
|
3914
|
+
exports.ɵo = TabbedPlaceNavigationComponent;
|
|
3897
3915
|
exports.ɵp = InteractionModule;
|
|
3898
3916
|
exports.ɵr = ConfirmationDialogComponent;
|
|
3899
3917
|
exports.ɵs = AbstractActivity;
|