ps-toolkit-ui 1.10.33 → 1.10.35
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/ps-toolkit-ui.umd.js +6 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/layout/layout.component.js +4 -2
- package/esm2015/lib/components/sidebar/sidebar.component.js +4 -2
- package/fesm2015/ps-toolkit-ui.js +6 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/layout/layout.component.d.ts +1 -0
- package/lib/components/sidebar/sidebar.component.d.ts +1 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2341,6 +2341,7 @@
|
|
|
2341
2341
|
var _this = this;
|
|
2342
2342
|
this.config = config;
|
|
2343
2343
|
this.router = router$1;
|
|
2344
|
+
this.miniSidebar = false;
|
|
2344
2345
|
this.sidebar = [];
|
|
2345
2346
|
this.countItems = 0;
|
|
2346
2347
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
@@ -2413,7 +2414,8 @@
|
|
|
2413
2414
|
{ type: router.Router }
|
|
2414
2415
|
]; };
|
|
2415
2416
|
SidebarComponent.propDecorators = {
|
|
2416
|
-
currentData: [{ type: core.Input }]
|
|
2417
|
+
currentData: [{ type: core.Input }],
|
|
2418
|
+
miniSidebar: [{ type: core.Input }]
|
|
2417
2419
|
};
|
|
2418
2420
|
|
|
2419
2421
|
var StepsComponent = /** @class */ (function () {
|
|
@@ -7384,6 +7386,7 @@
|
|
|
7384
7386
|
|
|
7385
7387
|
var LayoutComponent = /** @class */ (function () {
|
|
7386
7388
|
function LayoutComponent() {
|
|
7389
|
+
this.miniSidebar = false;
|
|
7387
7390
|
this.logout = new core.EventEmitter();
|
|
7388
7391
|
}
|
|
7389
7392
|
return LayoutComponent;
|
|
@@ -7391,13 +7394,14 @@
|
|
|
7391
7394
|
LayoutComponent.decorators = [
|
|
7392
7395
|
{ type: core.Component, args: [{
|
|
7393
7396
|
selector: 'lib-layout',
|
|
7394
|
-
template: "<div id=\"Layout\">\r\n <div class=\"layout-con\">\r\n <div class=\"panel\">\r\n <lib-sidebar [currentData]=\"currentData\">\r\n <ng-content select=\"[slot=sidebar]\"></ng-content>\r\n </lib-sidebar>\r\n <div class=\"content\">\r\n <lib-header (logout)=\"logout.emit()\" [currentData]=\"currentData\">\r\n <ng-content select=\"[slot=header]\"></ng-content>\r\n </lib-header>\r\n\r\n <div class=\"content-scroll-con\">\r\n <div class=\"content-scroll\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
7397
|
+
template: "<div id=\"Layout\">\r\n <div class=\"layout-con\">\r\n <div class=\"panel\">\r\n <lib-sidebar [miniSidebar]=\"miniSidebar\" [currentData]=\"currentData\">\r\n <ng-content select=\"[slot=sidebar]\"></ng-content>\r\n </lib-sidebar>\r\n <div class=\"content\">\r\n <lib-header (logout)=\"logout.emit()\" [currentData]=\"currentData\">\r\n <ng-content select=\"[slot=header]\"></ng-content>\r\n </lib-header>\r\n\r\n <div class=\"content-scroll-con\">\r\n <div class=\"content-scroll\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
7395
7398
|
styles: ["#Layout,#Layout .layout-con,#Layout .panel{float:right;width:100%}#Layout .panel{display:flex;flex-direction:row;position:relative}#Layout .panel .content{background-color:var(--base-white);direction:rtl;float:left;overflow:hidden;position:relative;transition:width .3s;width:100%}#Layout .panel .content .content-scroll-con{height:calc(100vh - 85px);min-height:calc(100vh - 85px);overflow-y:auto;width:100%}#Layout .panel .content .content-scroll-con .content-scroll{float:right;padding:20px;width:100%}@media (max-width:399.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}@media (min-width:400px) and (max-width:499.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}@media (min-width:500px) and (max-width:599.98px){#Layout .panel .content .content-scroll-con{height:calc(100vh - 110px);min-height:calc(100vh - 110px)}}"]
|
|
7396
7399
|
},] }
|
|
7397
7400
|
];
|
|
7398
7401
|
LayoutComponent.ctorParameters = function () { return []; };
|
|
7399
7402
|
LayoutComponent.propDecorators = {
|
|
7400
7403
|
currentData: [{ type: core.Input }],
|
|
7404
|
+
miniSidebar: [{ type: core.Input }],
|
|
7401
7405
|
logout: [{ type: core.Output }]
|
|
7402
7406
|
};
|
|
7403
7407
|
|