@coolon/angular-ui-powerups 12.4.0-alpha.46 → 12.4.0-alpha.47
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 +14 -6
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.js +12 -5
- package/esm2015/lib/components/section-header/section-header.component.js.map +1 -1
- package/esm2015/lib/components/section-header/section-header.component.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +11 -5
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/section-header/section-header.component.d.ts +5 -2
- package/package.json +1 -1
|
@@ -2535,24 +2535,32 @@
|
|
|
2535
2535
|
];
|
|
2536
2536
|
ScrollContainerComponent.ctorParameters = function () { return []; };
|
|
2537
2537
|
|
|
2538
|
-
var SectionHeaderComponent = /** @class */ (function () {
|
|
2538
|
+
var SectionHeaderComponent = /** @class */ (function (_super) {
|
|
2539
|
+
__extends(SectionHeaderComponent, _super);
|
|
2539
2540
|
function SectionHeaderComponent() {
|
|
2540
|
-
|
|
2541
|
+
var _this = _super.call(this) || this;
|
|
2542
|
+
// readonly i18n = I18nMarsUi.components.layout.header;
|
|
2543
|
+
_this.size = 'medium';
|
|
2544
|
+
_this.borderTop = false;
|
|
2545
|
+
_this.borderBottom = false;
|
|
2546
|
+
return _this;
|
|
2541
2547
|
}
|
|
2542
2548
|
SectionHeaderComponent.prototype.ngOnInit = function () {
|
|
2543
2549
|
};
|
|
2544
2550
|
return SectionHeaderComponent;
|
|
2545
|
-
}());
|
|
2551
|
+
}(DisposableComponent));
|
|
2546
2552
|
SectionHeaderComponent.decorators = [
|
|
2547
2553
|
{ type: i0.Component, args: [{
|
|
2548
2554
|
selector: 'aup-section-header',
|
|
2549
|
-
template: "<ng-content></ng-content>\n",
|
|
2550
|
-
styles: [":host{--
|
|
2555
|
+
template: "<span class=\"container-start\"><ng-content select=\"[header-start]\"></ng-content><ng-content></ng-content></span>\n<span class=\"container-middle\"><ng-content select=\"[header-center]\"></ng-content></span>\n<span class=\"container-end\"><ng-content select=\"[header-end]\"></ng-content></span>\n",
|
|
2556
|
+
styles: [":host{display:flex;flex-direction:row;align-items:center;--resolved-padding:var(--padding,var(--default-padding));--resolved-padding-right:var(--padding-right,calc(var(--default-padding)/2));padding-left:var(--resolved-padding);padding-right:var(--resolved-padding-right);box-sizing:border-box}:host.has-back-button{padding-left:0}:host.toolbar{height:56px;min-height:56px}:host.toolbar span{font-weight:500;font-size:18px;color:rgba(0,0,0,.67)}:host.large{height:48px;min-height:48px}:host.large span{font-weight:500;font-size:14px;color:rgba(0,0,0,.67)}:host.medium{height:48px;min-height:48px}:host.medium span{font-weight:500;font-size:13px;color:rgba(0,0,0,.67)}:host.small{height:30px;min-height:30px}:host.small span{font-weight:300;font-size:12px;color:rgba(0,0,0,.67)}:host.border-top{border-top:var(--pinstripe-border)}:host.border-bottom{border-bottom:var(--pinstripe-border)}span{white-space:nowrap;display:inline-flex;flex-direction:row;align-items:center}span.container-start{justify-content:flex-start}span.container-middle{justify-content:center;flex:1;width:0;overflow:hidden}span.container-end{justify-content:flex-end}"]
|
|
2551
2557
|
},] }
|
|
2552
2558
|
];
|
|
2553
2559
|
SectionHeaderComponent.ctorParameters = function () { return []; };
|
|
2554
2560
|
SectionHeaderComponent.propDecorators = {
|
|
2555
|
-
|
|
2561
|
+
size: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class',] }],
|
|
2562
|
+
borderTop: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.border-top',] }],
|
|
2563
|
+
borderBottom: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.border-bottom',] }]
|
|
2556
2564
|
};
|
|
2557
2565
|
|
|
2558
2566
|
var SwitchCaseOption = /** @class */ (function () {
|