ps-toolkit-ui 1.11.83 → 1.11.85
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 +28 -8
- 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/sidebar/sidebar.component.js +10 -5
- package/esm2015/lib/services/sidebar.service.js +16 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +25 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/sidebar/sidebar.component.d.ts +3 -1
- package/lib/services/sidebar.service.d.ts +6 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('jquery-ui-dist/jquery-ui'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('ckeditor4-angular'), require('highcharts')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', 'jquery-ui-dist/jquery-ui', '@angular/forms', '@angular/common', '@angular/platform-browser', 'ckeditor4-angular', 'highcharts'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global.$$1, global._, global.moment, global.ng.router, null, global.ng.forms, global.ng.common, global.ng.platformBrowser, global.ckeditor4Angular, global.Highcharts));
|
|
5
|
-
}(this, (function (exports, core, $$1, _, moment, router, jqueryUi, forms, common, platformBrowser, ckeditor4Angular, Highcharts) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('rxjs'), require('jquery-ui-dist/jquery-ui'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('ckeditor4-angular'), require('highcharts')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', 'rxjs', 'jquery-ui-dist/jquery-ui', '@angular/forms', '@angular/common', '@angular/platform-browser', 'ckeditor4-angular', 'highcharts'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global.$$1, global._, global.moment, global.ng.router, global.rxjs, null, global.ng.forms, global.ng.common, global.ng.platformBrowser, global.ckeditor4Angular, global.Highcharts));
|
|
5
|
+
}(this, (function (exports, core, $$1, _, moment, router, rxjs, jqueryUi, forms, common, platformBrowser, ckeditor4Angular, Highcharts) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) { return e; } else {
|
|
@@ -2404,11 +2404,27 @@
|
|
|
2404
2404
|
return SidebarClass;
|
|
2405
2405
|
}());
|
|
2406
2406
|
|
|
2407
|
+
var SidebarService = /** @class */ (function () {
|
|
2408
|
+
function SidebarService() {
|
|
2409
|
+
this.countSource = new rxjs.BehaviorSubject(0);
|
|
2410
|
+
this.currentCount = this.countSource.asObservable();
|
|
2411
|
+
}
|
|
2412
|
+
SidebarService.prototype.changeCount = function (count) {
|
|
2413
|
+
this.countSource.next(count);
|
|
2414
|
+
};
|
|
2415
|
+
return SidebarService;
|
|
2416
|
+
}());
|
|
2417
|
+
SidebarService.decorators = [
|
|
2418
|
+
{ type: core.Injectable }
|
|
2419
|
+
];
|
|
2420
|
+
SidebarService.ctorParameters = function () { return []; };
|
|
2421
|
+
|
|
2407
2422
|
var SidebarComponent = /** @class */ (function () {
|
|
2408
|
-
function SidebarComponent(config, router$1) {
|
|
2423
|
+
function SidebarComponent(config, router$1, service) {
|
|
2409
2424
|
var _this = this;
|
|
2410
2425
|
this.config = config;
|
|
2411
2426
|
this.router = router$1;
|
|
2427
|
+
this.service = service;
|
|
2412
2428
|
this.sidebar = [];
|
|
2413
2429
|
this.countItems = 0;
|
|
2414
2430
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
@@ -2421,6 +2437,9 @@
|
|
|
2421
2437
|
_this.setActive();
|
|
2422
2438
|
}
|
|
2423
2439
|
});
|
|
2440
|
+
service.currentCount.subscribe(function (c) {
|
|
2441
|
+
_this.currentSidebar.count += c;
|
|
2442
|
+
});
|
|
2424
2443
|
}
|
|
2425
2444
|
SidebarComponent.prototype.setActive = function () {
|
|
2426
2445
|
var active = HelperClass.getData('active', this.router.routerState, this.router.routerState.root)[0];
|
|
@@ -2430,7 +2449,6 @@
|
|
|
2430
2449
|
var _this = this;
|
|
2431
2450
|
var _a;
|
|
2432
2451
|
this.sidebar = this.getSidebar();
|
|
2433
|
-
console.log(this.sidebar);
|
|
2434
2452
|
this.setActive();
|
|
2435
2453
|
if (((_a = this.currentData.setting.sidebar) === null || _a === void 0 ? void 0 : _a.countUrl) != null) {
|
|
2436
2454
|
new RequestClass(this.config.environment).send(this.currentData.setting.sidebar.countUrl, exports.Method.Post, null, null, function (result) {
|
|
@@ -2487,12 +2505,13 @@
|
|
|
2487
2505
|
{ type: core.Component, args: [{
|
|
2488
2506
|
selector: 'lib-sidebar',
|
|
2489
2507
|
template: "<div id=\"Sidebar\" [class]=\"(countItems > 1 ? 'open' : 'one-item') + (currentData.setting.sidebar?.mini ? ' mini' : '')\">\r\n <div class=\"sidebar-shadow\" (click)=\"toggleSidebar()\"></div>\r\n <div class=\"sidebar-scroll\">\r\n <i (click)=\"toggleSidebar()\" class=\"toggle fa-duotone fa-angle-double-left\"></i>\r\n <div class=\"brand-con\">\r\n <div class=\"logo\"></div>\r\n <div class=\"title\">\r\n {{l('SoftwareName')}}\r\n <div class=\"version\">{{l('Version', currentData.software.Version)}}</div>\r\n </div>\r\n </div>\r\n <div class=\"sidebar-con\" id=\"sidebar-con\">\r\n <span *ngFor=\"let item of sidebar\">\r\n <lib-sidebar-item [i]=\"0\" [item]=\"item\" [base]=\"true\" [currentSidebar]=\"currentSidebar\"></lib-sidebar-item>\r\n </span>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2490
|
-
styles: ["::ng-deep #Sidebar{background-color:var(--base);height:calc(100vh - 35px);min-height:calc(100vh - 35px);position:relative;transition:width .3s;width:78px;z-index:102}::ng-deep #Sidebar,::ng-deep #Sidebar .sidebar-shadow{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;direction:ltr;float:right}::ng-deep #Sidebar .sidebar-shadow{background-color:var(--black);height:100vh;left:0;min-height:100vh;opacity:0;overflow:hidden;position:fixed;transition:all .3s;visibility:hidden;width:100%;z-index:103}::ng-deep #Sidebar .toggle{color:var(--primary);cursor:pointer;float:left;font-size:18px;height:50px;left:-50px;line-height:50px;position:absolute;text-align:center;transform:scaleX(1);transition:all .3s;width:50px}::ng-deep #Sidebar .toggle:hover{color:var(--primary-dark)}::ng-deep #Sidebar .sidebar-scroll{background-color:var(--base);height:100%;position:absolute;right:0;top:0;transition:all .3s;width:100%;z-index:104}::ng-deep #Sidebar .sidebar-scroll .brand-con{align-items:center;background-color:var(--base-dark);direction:rtl;display:flex;float:right;height:50px;justify-content:center;width:100%}::ng-deep #Sidebar .sidebar-scroll .brand-con .logo{background-position:50%;background-repeat:no-repeat;background-size:contain;float:right;height:30px;width:30px}::ng-deep #Sidebar .sidebar-scroll .brand-con .title{align-items:center;color:#fff;display:flex;font-size:15px;font-weight:700;height:100%;justify-content:center;overflow:hidden;position:relative;top:-4px;transition:all .3s;white-space:nowrap;width:0}::ng-deep #Sidebar .sidebar-scroll .brand-con .title .version{font-size:9px;font-weight:200;position:absolute;top:27px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con{direction:ltr;float:right;height:calc(100vh - 85px);overflow-x:hidden;overflow-y:auto;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item{float:left;position:relative;text-align:center;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content{align-items:center;cursor:pointer;direction:rtl;display:flex;float:right;justify-content:right;position:relative;transition:all .3s;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .dot{background-color:var(--base);border:2px solid hsla(0,0%,93.3%,.4);border-radius:50%;height:10px;position:absolute;right:-15px;top:15px;width:10px;z-index:2}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .dot.active{background-color:var(--base-white);border:2px solid var(--base-white)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.dot.parent{background-color:hsla(0,0%,93.3%,.4);border:none}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .dot.back{background-color:var(--base);border:none;z-index:1}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .children{display:none;float:left;position:relative;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .children .items{float:left;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .children .line{background-color:hsla(0,0%,93.3%,.4);height:calc(100% - 20px);left:calc(85% + 10px);position:absolute;top:0;width:1px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{color:hsla(0,0%,100%,.8);float:right;font-size:12px;font-weight:400;height:45px;line-height:45px;overflow:hidden;transition:all .3s;width:0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:0;width:0}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .count-all{background-color:var(--primary);border-radius:50%;color:#fff;font-size:12px;height:20px;left:10px;line-height:22px;min-width:20px;padding:0 5px;position:absolute;top:calc(50% - 10px)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .count-all .count{background-color:var(--red);border-radius:50%;bottom:-5px;color:#fff;font-size:11px;height:17px;line-height:19px;min-width:17px;padding:0 3px;position:absolute;right:-15px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{color:hsla(0,0%,100%,.6666666666666666);float:right;font-size:18px;height:45px;line-height:45px;transition:all .3s;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{color:hsla(0,0%,100%,.8);font-size:13px;height:45px;line-height:45px;overflow:hidden;text-align:center;transition:all .3s;width:0}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{font-size:11px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content{background-color:var(--base-dark)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content .title,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content .title{color:#fff;font-weight:700}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content .icon,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content .icon{color:var(--primary)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content .arrow,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content .arrow{color:#fff}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.children{display:block}::ng-deep #Sidebar.open{width:260px}::ng-deep #Sidebar.open .toggle{transform:scaleX(-1)}::ng-deep #Sidebar.open .sidebar-scroll .brand-con .title{width:110px}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{width:calc(100% - 100px)}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:30px;line-height:20px;width:100%}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{width:70px}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:30px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content{flex-direction:column;padding:10px 0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{font-size:25px;height:60px;line-height:60px}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{height:45px;line-height:45px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{bottom:0;height:20px;line-height:20px;position:absolute}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:30px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow:before{content:\"\\f107\"}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow:after{content:\"\\f107\\f107\"}::ng-deep #Sidebar.open.mini{width:150px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.open .content .arrow{transform:rotate(-90deg)}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item.open .content .arrow{transform:rotate(-180deg)}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{font-size:20px;height:60px;line-height:60px}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{height:40px;line-height:40px}::ng-deep #Sidebar.one-item{width:0!important}::ng-deep #Sidebar.one-item .sidebar-shadow,::ng-deep #Sidebar.one-item .toggle{display:none}::ng-deep #Sidebar.one-item .sidebar-scroll{width:0!important}@media (max-width:1199.98px){::ng-deep #Sidebar{height:calc(100vh - 35px);min-height:calc(100vh - 35px)}::ng-deep #Sidebar,::ng-deep #Sidebar.mini,::ng-deep #Sidebar.open,::ng-deep #Sidebar.open.mini{width:78px}::ng-deep #Sidebar .sidebar-scroll{width:260px}::ng-deep #Sidebar.mini .sidebar-scroll{width:150px}::ng-deep #Sidebar.open .sidebar-scroll{width:100%}::ng-deep #Sidebar.open .sidebar-scroll .brand-con .title{width:0}::ng-deep #Sidebar .sidebar-scroll .brand-con .title{width:110px}::ng-deep #Sidebar .sidebar-shadow{opacity:.7;visibility:visible}::ng-deep #Sidebar.open .sidebar-shadow{opacity:0;visibility:hidden}::ng-deep #Sidebar .toggle{color:var(--white);transform:scaleX(-1)}::ng-deep #Sidebar .toggle:hover{color:var(--white)}::ng-deep #Sidebar.open .toggle{color:var(--primary);transform:scaleX(1)}::ng-deep #Sidebar.open .toggle:hover{color:var(--primary-dark)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con{height:calc(100vh - 85px)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{width:calc(100% - 100px)}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{width:0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:30px;line-height:30px;width:100%}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:0;width:0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{height:45px;line-height:45px;width:45px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{height:40px;line-height:40px;width:40px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .count-all{bottom:5px;left:5px;top:unset}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{width:70px}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:30px}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow,::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:0}}@media (max-width:399.98px){::ng-deep #Sidebar .sidebar-scroll{width:240px}}@media (max-width:599.98px){::ng-deep #Sidebar{height:calc(100vh - 60px);min-height:calc(100vh - 60px)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con{height:calc(100vh - 110px)}::ng-deep #Sidebar,::ng-deep #Sidebar.mini,::ng-deep #Sidebar.open,::ng-deep #Sidebar.open.mini{width:0}}"]
|
|
2508
|
+
styles: ["::ng-deep #Sidebar{background-color:var(--base);height:calc(100vh - 35px);min-height:calc(100vh - 35px);position:relative;transition:width .3s;width:78px;z-index:102}::ng-deep #Sidebar,::ng-deep #Sidebar .sidebar-shadow{-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;direction:ltr;float:right}::ng-deep #Sidebar .sidebar-shadow{background-color:var(--black);height:100vh;left:0;min-height:100vh;opacity:0;overflow:hidden;position:fixed;transition:all .3s;visibility:hidden;width:100%;z-index:103}::ng-deep #Sidebar .toggle{color:var(--primary);cursor:pointer;float:left;font-size:18px;height:50px;left:-50px;line-height:50px;position:absolute;text-align:center;transform:scaleX(1);transition:all .3s;width:50px}::ng-deep #Sidebar .toggle:hover{color:var(--primary-dark)}::ng-deep #Sidebar .sidebar-scroll{background-color:var(--base);height:100%;position:absolute;right:0;top:0;transition:all .3s;width:100%;z-index:104}::ng-deep #Sidebar .sidebar-scroll .brand-con{align-items:center;background-color:var(--base-dark);direction:rtl;display:flex;float:right;height:50px;justify-content:center;width:100%}::ng-deep #Sidebar .sidebar-scroll .brand-con .logo{background-position:50%;background-repeat:no-repeat;background-size:contain;float:right;height:30px;width:30px}::ng-deep #Sidebar .sidebar-scroll .brand-con .title{align-items:center;color:#fff;display:flex;font-size:15px;font-weight:700;height:100%;justify-content:center;overflow:hidden;position:relative;top:-4px;transition:all .3s;white-space:nowrap;width:0}::ng-deep #Sidebar .sidebar-scroll .brand-con .title .version{font-size:9px;font-weight:200;position:absolute;top:27px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con{direction:ltr;float:right;height:calc(100vh - 85px);overflow-x:hidden;overflow-y:auto;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item{float:left;position:relative;text-align:center;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content{align-items:center;cursor:pointer;direction:rtl;display:flex;float:right;justify-content:right;position:relative;transition:all .3s;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .dot{background-color:var(--base);border:2px solid hsla(0,0%,93.3%,.4);border-radius:50%;height:10px;position:absolute;right:-15px;top:15px;width:10px;z-index:2}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .dot.active{background-color:var(--base-white);border:2px solid var(--base-white)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.dot.parent{background-color:hsla(0,0%,93.3%,.4);border:none}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .dot.back{background-color:var(--base);border:none;z-index:1}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .children{display:none;float:left;position:relative;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .children .items{float:left;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .children .line{background-color:hsla(0,0%,93.3%,.4);height:calc(100% - 20px);left:calc(85% + 10px);position:absolute;top:0;width:1px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{color:hsla(0,0%,100%,.8);float:right;font-size:12px;font-weight:400;height:45px;line-height:45px;overflow:hidden;transition:all .3s;width:0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:0;width:0}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .count-all{background-color:var(--primary);border-radius:50%;color:#fff;font-size:12px;height:20px;left:10px;line-height:22px;min-width:20px;padding:0 5px;position:absolute;top:calc(50% - 10px)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .count-all .count{background-color:var(--red);border-radius:50%;bottom:-5px;color:#fff;font-size:10px;height:16px;left:calc(100% - 5px);line-height:18px;min-width:16px;padding:0 3px;position:absolute}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{color:hsla(0,0%,100%,.6666666666666666);float:right;font-size:18px;height:45px;line-height:45px;transition:all .3s;width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{color:hsla(0,0%,100%,.8);font-size:13px;height:45px;line-height:45px;overflow:hidden;text-align:center;transition:all .3s;width:0}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{font-size:11px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content{background-color:var(--base-dark)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content .title,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content .title{color:#fff;font-weight:700}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content .icon,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content .icon{color:var(--primary)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.content .arrow,::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item:hover>.content .arrow{color:#fff}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.parent-active>.children{display:block}::ng-deep #Sidebar.open{width:260px}::ng-deep #Sidebar.open .toggle{transform:scaleX(-1)}::ng-deep #Sidebar.open .sidebar-scroll .brand-con .title{width:110px}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{width:calc(100% - 100px)}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:30px;line-height:20px;width:100%}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{width:70px}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:30px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content{flex-direction:column;padding:10px 0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{font-size:25px;height:60px;line-height:60px}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{height:45px;line-height:45px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{bottom:0;height:20px;line-height:20px;position:absolute}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:30px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow:before{content:\"\\f107\"}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow:after{content:\"\\f107\\f107\"}::ng-deep #Sidebar.open.mini{width:150px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item.open .content .arrow{transform:rotate(-90deg)}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item.open .content .arrow{transform:rotate(-180deg)}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{font-size:20px;height:60px;line-height:60px}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{height:40px;line-height:40px}::ng-deep #Sidebar.one-item{width:0!important}::ng-deep #Sidebar.one-item .sidebar-shadow,::ng-deep #Sidebar.one-item .toggle{display:none}::ng-deep #Sidebar.one-item .sidebar-scroll{width:0!important}@media (max-width:1199.98px){::ng-deep #Sidebar{height:calc(100vh - 35px);min-height:calc(100vh - 35px)}::ng-deep #Sidebar,::ng-deep #Sidebar.mini,::ng-deep #Sidebar.open,::ng-deep #Sidebar.open.mini{width:78px}::ng-deep #Sidebar .sidebar-scroll{width:260px}::ng-deep #Sidebar.mini .sidebar-scroll{width:150px}::ng-deep #Sidebar.open .sidebar-scroll{width:100%}::ng-deep #Sidebar.open .sidebar-scroll .brand-con .title{width:0}::ng-deep #Sidebar .sidebar-scroll .brand-con .title{width:110px}::ng-deep #Sidebar .sidebar-shadow{opacity:.7;visibility:visible}::ng-deep #Sidebar.open .sidebar-shadow{opacity:0;visibility:hidden}::ng-deep #Sidebar .toggle{color:var(--white);transform:scaleX(-1)}::ng-deep #Sidebar .toggle:hover{color:var(--white)}::ng-deep #Sidebar.open .toggle{color:var(--primary);transform:scaleX(1)}::ng-deep #Sidebar.open .toggle:hover{color:var(--primary-dark)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con{height:calc(100vh - 85px)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{width:calc(100% - 100px)}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{width:0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:30px;line-height:30px;width:100%}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .title{height:0;width:0}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{height:45px;line-height:45px;width:45px}::ng-deep #Sidebar.mini .sidebar-scroll .sidebar-con .user-sidebar-item>.children .content .icon{height:40px;line-height:40px;width:40px}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .count-all{bottom:5px;left:5px;top:unset}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{width:70px}::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .icon{width:100%}::ng-deep #Sidebar .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:30px}::ng-deep #Sidebar.open.mini .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow,::ng-deep #Sidebar.open .sidebar-scroll .sidebar-con .user-sidebar-item .content .arrow{width:0}}@media (max-width:399.98px){::ng-deep #Sidebar .sidebar-scroll{width:240px}}@media (max-width:599.98px){::ng-deep #Sidebar{height:calc(100vh - 60px);min-height:calc(100vh - 60px)}::ng-deep #Sidebar .sidebar-scroll .sidebar-con{height:calc(100vh - 110px)}::ng-deep #Sidebar,::ng-deep #Sidebar.mini,::ng-deep #Sidebar.open,::ng-deep #Sidebar.open.mini{width:0}}"]
|
|
2491
2509
|
},] }
|
|
2492
2510
|
];
|
|
2493
2511
|
SidebarComponent.ctorParameters = function () { return [
|
|
2494
2512
|
{ type: PsToolkitUiConfigService },
|
|
2495
|
-
{ type: router.Router }
|
|
2513
|
+
{ type: router.Router },
|
|
2514
|
+
{ type: SidebarService }
|
|
2496
2515
|
]; };
|
|
2497
2516
|
SidebarComponent.propDecorators = {
|
|
2498
2517
|
currentData: [{ type: core.Input }]
|
|
@@ -8732,6 +8751,7 @@
|
|
|
8732
8751
|
exports.RequestClass = RequestClass;
|
|
8733
8752
|
exports.SidebarClass = SidebarClass;
|
|
8734
8753
|
exports.SidebarComponent = SidebarComponent;
|
|
8754
|
+
exports.SidebarService = SidebarService;
|
|
8735
8755
|
exports.StepsClass = StepsClass;
|
|
8736
8756
|
exports.StepsComponent = StepsComponent;
|
|
8737
8757
|
exports.StepsItemClass = StepsItemClass;
|