qms-angular 1.0.96 → 1.0.97
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/qms-angular.umd.js +136 -28
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/breadcrumb/breadcrumb.js +32 -18
- package/esm2015/lib/components/breadcrumb/breadcrumb.module.js +6 -2
- package/esm2015/lib/components/breadcrumb/enum/breadcrumb-type.js +7 -0
- package/esm2015/lib/components/breadcrumb/model/breadcrumb-node.model.js +1 -1
- package/esm2015/lib/components/comment/comment.js +1 -1
- package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.js +3 -2
- package/esm2015/lib/directives/chip-input/chip-input-select-dropdown.directive.js +4 -4
- package/esm2015/lib/model/en.js +3 -1
- package/esm2015/lib/model/no.js +3 -1
- package/esm2015/lib/qms-angular.module.js +4 -4
- package/esm2015/lib/utils/qms-mfe.utils.js +56 -0
- package/esm2015/public-api.js +4 -1
- package/fesm2015/qms-angular.js +107 -26
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.d.ts +10 -5
- package/lib/components/breadcrumb/enum/breadcrumb-type.d.ts +5 -0
- package/lib/directives/chip-input/chip-input-select-dropdown.directive.d.ts +1 -1
- package/lib/model/en.d.ts +2 -0
- package/lib/model/no.d.ts +2 -0
- package/lib/utils/qms-mfe.utils.d.ts +18 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/qms-angular.metadata.json +1 -1
- package/src/lib/components/breadcrumb/breadcrumb.scss +174 -81
@@ -94,6 +94,8 @@
|
|
94
94
|
"REPORT_FOR": "Report for",
|
95
95
|
"SELECTED": "SELECTED",
|
96
96
|
"CHOOSE_ALL": "Choose all",
|
97
|
+
"BREADCRUMB": "Breadcrumb",
|
98
|
+
"NAVIGATE_TO": "Navigate to",
|
97
99
|
"ERROR": {
|
98
100
|
"SELECT_DANGER": "You must select one or more events"
|
99
101
|
},
|
@@ -455,6 +457,8 @@
|
|
455
457
|
"REPORT_FOR": "Rapport for",
|
456
458
|
"SELECTED": "Valgte",
|
457
459
|
"CHOOSE_ALL": "Velg alle",
|
460
|
+
"BREADCRUMB": "Brødsmuler",
|
461
|
+
"NAVIGATE_TO": "Navigere til",
|
458
462
|
"ERROR": {
|
459
463
|
"SELECT_DANGER": "Du må velge en eller flere hendelser"
|
460
464
|
},
|
@@ -1133,23 +1137,23 @@
|
|
1133
1137
|
{ type: i0.ElementRef }
|
1134
1138
|
]; };
|
1135
1139
|
|
1136
|
-
var
|
1137
|
-
function
|
1140
|
+
var QMSChipInputSelectDropDownDirective = /** @class */ (function () {
|
1141
|
+
function QMSChipInputSelectDropDownDirective(ele) {
|
1138
1142
|
this.ele = ele;
|
1139
1143
|
}
|
1140
|
-
|
1144
|
+
QMSChipInputSelectDropDownDirective.prototype.ngOnInit = function () {
|
1141
1145
|
if (this.ele) {
|
1142
1146
|
this.ele.nativeElement.classList.add('qms-chip-input-dropdown');
|
1143
1147
|
}
|
1144
1148
|
};
|
1145
|
-
return
|
1149
|
+
return QMSChipInputSelectDropDownDirective;
|
1146
1150
|
}());
|
1147
|
-
|
1151
|
+
QMSChipInputSelectDropDownDirective.decorators = [
|
1148
1152
|
{ type: i0.Directive, args: [{
|
1149
1153
|
selector: '[qms-chip-input-dropdown]',
|
1150
1154
|
},] }
|
1151
1155
|
];
|
1152
|
-
|
1156
|
+
QMSChipInputSelectDropDownDirective.ctorParameters = function () { return [
|
1153
1157
|
{ type: i0.ElementRef }
|
1154
1158
|
]; };
|
1155
1159
|
|
@@ -3762,7 +3766,7 @@
|
|
3762
3766
|
DateFormatPipe,
|
3763
3767
|
QMSChipInputDirective,
|
3764
3768
|
QMSChipInputSelectFieldDirective,
|
3765
|
-
|
3769
|
+
QMSChipInputSelectDropDownDirective,
|
3766
3770
|
QMSChipInputSelectTriggerDirective,
|
3767
3771
|
QMSChipInputChipListDirective,
|
3768
3772
|
ScrollToSelectedDirective,
|
@@ -3814,7 +3818,7 @@
|
|
3814
3818
|
DateFormatPipe,
|
3815
3819
|
QMSChipInputDirective,
|
3816
3820
|
QMSChipInputSelectFieldDirective,
|
3817
|
-
|
3821
|
+
QMSChipInputSelectDropDownDirective,
|
3818
3822
|
QMSChipInputSelectTriggerDirective,
|
3819
3823
|
QMSChipInputChipListDirective,
|
3820
3824
|
ScrollToSelectedDirective,
|
@@ -3842,6 +3846,86 @@
|
|
3842
3846
|
},] }
|
3843
3847
|
];
|
3844
3848
|
|
3849
|
+
exports.FileType = void 0;
|
3850
|
+
(function (FileType) {
|
3851
|
+
FileType["Component"] = "Component";
|
3852
|
+
FileType["Module"] = "Module";
|
3853
|
+
FileType["Css"] = "CSS";
|
3854
|
+
FileType["Html"] = "Html";
|
3855
|
+
})(exports.FileType || (exports.FileType = {}));
|
3856
|
+
var MfeUtil = /** @class */ (function () {
|
3857
|
+
function MfeUtil() {
|
3858
|
+
var _this = this;
|
3859
|
+
// holds list of loaded script
|
3860
|
+
this.fileMap = {};
|
3861
|
+
this.findExposedModule = function (uniqueName, exposedFile) { return __awaiter(_this, void 0, void 0, function () {
|
3862
|
+
var Module, container, factory;
|
3863
|
+
return __generator(this, function (_a) {
|
3864
|
+
switch (_a.label) {
|
3865
|
+
case 0:
|
3866
|
+
// Initializes the shared scope. Fills it with known provided modules from this build and all remotes
|
3867
|
+
return [4 /*yield*/, __webpack_init_sharing__('default')];
|
3868
|
+
case 1:
|
3869
|
+
// Initializes the shared scope. Fills it with known provided modules from this build and all remotes
|
3870
|
+
_a.sent();
|
3871
|
+
container = window[uniqueName];
|
3872
|
+
// Initialize the container, it may provide shared modules
|
3873
|
+
return [4 /*yield*/, container.init(__webpack_share_scopes__.default)];
|
3874
|
+
case 2:
|
3875
|
+
// Initialize the container, it may provide shared modules
|
3876
|
+
_a.sent();
|
3877
|
+
return [4 /*yield*/, container.get(exposedFile)];
|
3878
|
+
case 3:
|
3879
|
+
factory = _a.sent();
|
3880
|
+
Module = factory();
|
3881
|
+
return [2 /*return*/, Module];
|
3882
|
+
}
|
3883
|
+
});
|
3884
|
+
}); };
|
3885
|
+
}
|
3886
|
+
MfeUtil.prototype.loadRemoteFile = function (loadRemoteModuleOptions) {
|
3887
|
+
return __awaiter(this, void 0, void 0, function () {
|
3888
|
+
return __generator(this, function (_a) {
|
3889
|
+
switch (_a.label) {
|
3890
|
+
case 0: return [4 /*yield*/, this.loadRemoteEntry(loadRemoteModuleOptions.remoteEntry)];
|
3891
|
+
case 1:
|
3892
|
+
_a.sent();
|
3893
|
+
return [4 /*yield*/, this.findExposedModule(loadRemoteModuleOptions.remoteName, loadRemoteModuleOptions.exposedFile)];
|
3894
|
+
case 2: return [2 /*return*/, _a.sent()];
|
3895
|
+
}
|
3896
|
+
});
|
3897
|
+
});
|
3898
|
+
};
|
3899
|
+
MfeUtil.prototype.loadRemoteEntry = function (remoteEntry) {
|
3900
|
+
return __awaiter(this, void 0, void 0, function () {
|
3901
|
+
var _this = this;
|
3902
|
+
return __generator(this, function (_a) {
|
3903
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
3904
|
+
var scriptId = "" + remoteEntry.substring(remoteEntry.lastIndexOf('/') + 1);
|
3905
|
+
var getScript = document.getElementById(scriptId);
|
3906
|
+
if (getScript || _this.fileMap[remoteEntry]) {
|
3907
|
+
resolve();
|
3908
|
+
return;
|
3909
|
+
}
|
3910
|
+
var script = document.createElement("script");
|
3911
|
+
script.src = remoteEntry;
|
3912
|
+
script.id = scriptId;
|
3913
|
+
script.onerror = function (error) {
|
3914
|
+
console.error(error, 'unable to load remote entry, show error or something');
|
3915
|
+
reject();
|
3916
|
+
};
|
3917
|
+
script.onload = function () {
|
3918
|
+
_this.fileMap[remoteEntry] = true;
|
3919
|
+
resolve(); // window is the global namespace
|
3920
|
+
};
|
3921
|
+
document.body.append(script);
|
3922
|
+
})];
|
3923
|
+
});
|
3924
|
+
});
|
3925
|
+
};
|
3926
|
+
return MfeUtil;
|
3927
|
+
}());
|
3928
|
+
|
3845
3929
|
var QMSRangeSliderLockUpDirective = /** @class */ (function () {
|
3846
3930
|
function QMSRangeSliderLockUpDirective(ele) {
|
3847
3931
|
this.ele = ele;
|
@@ -4630,6 +4714,13 @@
|
|
4630
4714
|
breadcrumbItemText: [{ type: i0.ContentChild, args: ["breadcrumbItemText", { static: false },] }]
|
4631
4715
|
};
|
4632
4716
|
|
4717
|
+
exports.BreadcrumbType = void 0;
|
4718
|
+
(function (BreadcrumbType) {
|
4719
|
+
BreadcrumbType["normal"] = "normal";
|
4720
|
+
BreadcrumbType["table"] = "table";
|
4721
|
+
BreadcrumbType["mobile"] = "mobile";
|
4722
|
+
})(exports.BreadcrumbType || (exports.BreadcrumbType = {}));
|
4723
|
+
|
4633
4724
|
var DropdownBreadCrumbNodeWidth;
|
4634
4725
|
(function (DropdownBreadCrumbNodeWidth) {
|
4635
4726
|
DropdownBreadCrumbNodeWidth[DropdownBreadCrumbNodeWidth["NORMAL"] = 66] = "NORMAL";
|
@@ -4637,23 +4728,45 @@
|
|
4637
4728
|
})(DropdownBreadCrumbNodeWidth || (DropdownBreadCrumbNodeWidth = {}));
|
4638
4729
|
|
4639
4730
|
var QMSBreadcrumb = /** @class */ (function () {
|
4640
|
-
function QMSBreadcrumb(ele, iconRegistry, cdRef, sanitizer) {
|
4731
|
+
function QMSBreadcrumb(ele, iconRegistry, cdRef, sanitizer, trans) {
|
4641
4732
|
this.ele = ele;
|
4642
4733
|
this.iconRegistry = iconRegistry;
|
4643
4734
|
this.cdRef = cdRef;
|
4644
4735
|
this.sanitizer = sanitizer;
|
4736
|
+
this.trans = trans;
|
4737
|
+
this.type = exports.BreadcrumbType.normal;
|
4645
4738
|
this.numDisplayItem = 0;
|
4646
4739
|
this.onlyItem = false;
|
4647
4740
|
this.disabledLastItem = true;
|
4648
4741
|
this.onItemClick = new i0.EventEmitter();
|
4649
|
-
this.dropdownNodes = [];
|
4650
4742
|
this.isOverflow = false;
|
4743
|
+
this.dropdownNodes = [];
|
4744
|
+
this.sideNavNodes = [];
|
4651
4745
|
this.itemSpace = DropdownBreadCrumbNodeWidth.NORMAL; // width of dropdown node in normal view
|
4652
4746
|
this.isMobileType = false;
|
4653
4747
|
iconRegistry.addSvgIconLiteral('breadcrumb_dropdown', sanitizer.bypassSecurityTrustHtml(BREADCRUMB_DROPDOWN_ICON));
|
4654
4748
|
}
|
4749
|
+
QMSBreadcrumb.prototype.ngOnChanges = function (changes) {
|
4750
|
+
if (changes.nodes && this.breadCrumbNodes && JSON.stringify(changes.nodes.currentValue) !== JSON.stringify(changes.nodes.previousValue)) {
|
4751
|
+
this.nodes = __spreadArray([], __read(changes.nodes.currentValue));
|
4752
|
+
this.initBreadCrumb();
|
4753
|
+
this.buildBreadcrumb();
|
4754
|
+
}
|
4755
|
+
};
|
4756
|
+
QMSBreadcrumb.prototype.ngOnInit = function () {
|
4757
|
+
var _this = this;
|
4758
|
+
this.trans.getLanguageSubject$.pipe().subscribe(function (res) {
|
4759
|
+
if (res) {
|
4760
|
+
_this.LANG = _this.trans.getObjectLang(res);
|
4761
|
+
}
|
4762
|
+
});
|
4763
|
+
this.isMobileType = (this.type == exports.BreadcrumbType.mobile);
|
4764
|
+
this.itemIconType = ItemIconType;
|
4765
|
+
this.initBreadCrumb();
|
4766
|
+
};
|
4655
4767
|
QMSBreadcrumb.prototype.ngAfterViewInit = function () {
|
4656
4768
|
this.buildBreadcrumb();
|
4769
|
+
this.cdRef.detectChanges();
|
4657
4770
|
};
|
4658
4771
|
QMSBreadcrumb.prototype.checkOverflow = function (width) {
|
4659
4772
|
var _this = this;
|
@@ -4689,17 +4802,6 @@
|
|
4689
4802
|
this.dropdownNodes = this.dropdownNodes.reverse();
|
4690
4803
|
}
|
4691
4804
|
};
|
4692
|
-
QMSBreadcrumb.prototype.ngOnChanges = function (changes) {
|
4693
|
-
if (changes.nodes && this.breadCrumbNodes && JSON.stringify(changes.nodes.currentValue) !== JSON.stringify(changes.nodes.previousValue)) {
|
4694
|
-
this.nodes = __spreadArray([], __read(changes.nodes.currentValue));
|
4695
|
-
this.initBreadCrumb();
|
4696
|
-
this.buildBreadcrumb();
|
4697
|
-
}
|
4698
|
-
};
|
4699
|
-
QMSBreadcrumb.prototype.ngOnInit = function () {
|
4700
|
-
this.itemIconType = ItemIconType;
|
4701
|
-
this.initBreadCrumb();
|
4702
|
-
};
|
4703
4805
|
QMSBreadcrumb.prototype.initBreadCrumb = function () {
|
4704
4806
|
var _this = this;
|
4705
4807
|
if (this.nodes && this.nodes.length > 0) {
|
@@ -4713,8 +4815,9 @@
|
|
4713
4815
|
this.itemNodes = this.nodes.slice(1);
|
4714
4816
|
}
|
4715
4817
|
else {
|
4716
|
-
this.isMobileType = true;
|
4717
4818
|
this.previousNode = this.nodes[this.nodes.length >= 2 ? this.nodes.length - 2 : 0];
|
4819
|
+
this.sideNavNodes = [];
|
4820
|
+
this.sideNavNodes = this.nodes.length >= 2 ? __spreadArray([], __read(this.nodes)) : [];
|
4718
4821
|
}
|
4719
4822
|
}
|
4720
4823
|
if (this.type === 'table') {
|
@@ -4785,16 +4888,17 @@
|
|
4785
4888
|
QMSBreadcrumb.decorators = [
|
4786
4889
|
{ type: i0.Component, args: [{
|
4787
4890
|
selector: 'qms-breadcrumb',
|
4788
|
-
template: "<div>\r\n <div class=\"breadcrumb-container\" *ngIf=\"!isMobileType\">\r\n <!-- Home -->\r\n <span\r\n qms-breadcrumb-item\r\n *ngIf=\"!isOverflow || type=='table'\"\r\n [(showTooltip)]=\"homeNode.isOverflow\"\r\n >\r\n <mat-icon\r\n *ngIf=\"homeNode.displayType === itemIconType.name\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ homeNode.itemIcon }}\r\n </mat-icon>\r\n <mat-icon\r\n *ngIf=\"homeNode.displayType === itemIconType.svg\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n [svgIcon]=\"homeNode.itemIconSvg\"\r\n >\r\n </mat-icon>\r\n <img\r\n *ngIf=\"homeNode.displayType === itemIconType.path\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"homeNode.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"homeNode.displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(homeNode)\"\r\n />\r\n <div\r\n class=\"qms-breadcrumb-item-text\"\r\n [qms-tool-tip]=\"homeNode.name\"\r\n [showToolTip]=\"homeNode.isOverflow\"\r\n #breadcrumbItemText\r\n mode=\"dark\"\r\n (click)=\"onItemSelect(homeNode)\"\r\n >\r\n {{homeNode.name}}\r\n </div>\r\n <mat-icon *ngIf=\"!isOverflow && type !=='table'\">keyboard_arrow_right</mat-icon>\r\n <span\r\n *ngIf=\"itemNodes.length && type=='table'\"\r\n qms-breadcrumb-direction-icon\r\n >\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </span>\r\n\r\n <!-- Dropdown not table -->\r\n <span qms-breadcrumb-item *ngIf=\"isOverflow && type!='table'\">\r\n <button\r\n qms-btn-icon\r\n color=\"light\"\r\n class=\"breadcrumb__dropdown-btn\"\r\n [matMenuTriggerFor]=\"bodyMediumMenu\"\r\n >\r\n <mat-icon svgIcon=\"breadcrumb_dropdown\"></mat-icon>\r\n </button>\r\n <mat-menu\r\n #bodyMediumMenu=\"matMenu\"\r\n yPosition=\"below\"\r\n class=\"qms-breadcrumb-menu\"\r\n >\r\n <div (click)=\"$event.stopPropagation()\">\r\n <div\r\n qms-menu-item\r\n mat-menu-item\r\n disableRipple\r\n *ngFor=\"let item of dropdownNodes\"\r\n (keydown.enter)=\"onKeyPressed($event)\"\r\n (click)=\"onItemSelect(item)\"\r\n >\r\n <div #menuItemContent qms-expansion-header>\r\n <div qms-list-header>\r\n <div qms-line color=\"default-subtitle\">{{item.name}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-menu>\r\n\r\n <span qms-breadcrumb-direction-icon>\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </span>\r\n\r\n <!-- Dropdown table -->\r\n <span qms-breadcrumb-item *ngIf=\"isOverflow && type=='table'\">\r\n <button qms-btn-icon color=\"light\" [matMenuTriggerFor]=\"bodyMediumMenu\">\r\n <mat-icon>more_horiz</mat-icon>\r\n </button>\r\n <mat-menu\r\n #bodyMediumMenu=\"matMenu\"\r\n yPosition=\"below\"\r\n class=\"qms-breadcrumb-menu\"\r\n >\r\n <div (click)=\"$event.stopPropagation()\">\r\n <div\r\n qms-menu-item\r\n mat-menu-item\r\n disableRipple\r\n *ngFor=\"let item of dropdownNodes\"\r\n (keydown.enter)=\"onKeyPressed($event)\"\r\n (click)=\"onItemSelect(item)\"\r\n >\r\n <div #menuItemContent qms-expansion-header>\r\n <div qms-list-header>\r\n <div qms-line color=\"default-subtitle\">{{item.name}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-menu>\r\n\r\n <span qms-breadcrumb-direction-icon>\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </span>\r\n <!-- Item list -->\r\n <span\r\n qms-breadcrumb-item\r\n *ngFor=\"let item of itemNodes;let i=index\"\r\n [isLastItem]=\"i === itemNodes.length - 1\"\r\n [(showTooltip)]=\"item.isOverflow\"\r\n >\r\n <mat-icon\r\n *ngIf=\"item.displayType === itemIconType.name && item.isShow\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ item.itemIcon }}\r\n </mat-icon>\r\n <mat-icon\r\n *ngIf=\"item.displayType === itemIconType.svg && item.isShow\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n [svgIcon]=\"item.itemIconSvg\"\r\n >\r\n </mat-icon>\r\n <img\r\n *ngIf=\"item.displayType === itemIconType.path && item.isShow\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"item.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"item.displayType === itemIconType.base64 && item.isShow\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(item)\"\r\n />\r\n <div\r\n class=\"qms-breadcrumb-item-text\"\r\n [qms-tool-tip]=\"item.name\"\r\n [showToolTip]=\"item.isOverflow\"\r\n #breadcrumbItemText\r\n mode=\"dark\"\r\n *ngIf=\"item.isShow\"\r\n (click)=\"onItemSelect(item, i == itemNodes.length - 1);\"\r\n >\r\n {{item.name}}\r\n </div>\r\n <span\r\n qms-breadcrumb-direction-icon\r\n *ngIf=\"item.isShow && i !== itemNodes.length - 1\"\r\n >\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </span>\r\n </div>\r\n\r\n <div class=\"breadcrumb-container\" *ngIf=\"isMobileType\">\r\n <!-- Home -->\r\n <span qms-breadcrumb-item [(showTooltip)]=\"previousNode.isOverflow\">\r\n <span qms-breadcrumb-direction-icon>\r\n <mat-icon>keyboard_backspace</mat-icon>\r\n </span>\r\n <mat-icon\r\n *ngIf=\"previousNode.displayType === itemIconType.name\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ previousNode.itemIcon }}\r\n </mat-icon>\r\n <mat-icon\r\n *ngIf=\"previousNode.displayType === itemIconType.svg\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n [svgIcon]=\"previousNode.itemIconSvg\"\r\n >\r\n </mat-icon>\r\n <img\r\n *ngIf=\"previousNode.displayType === itemIconType.path\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"previousNode.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"previousNode.displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(previousNode)\"\r\n />\r\n <div\r\n class=\"qms-breadcrumb-item-text\"\r\n [qms-tool-tip]=\"previousNode.name\"\r\n [showToolTip]=\"previousNode.isOverflow\"\r\n #breadcrumbItemText\r\n mode=\"dark\"\r\n (click)=\"onItemSelect(previousNode)\"\r\n >\r\n {{previousNode.name}}\r\n </div>\r\n </span>\r\n </div>\r\n</div>\r\n",
|
4891
|
+
template: "<div>\r\n <div class=\"breadcrumb-container\" *ngIf=\"!isMobileType\">\r\n <!-- Home -->\r\n <div\r\n qms-breadcrumb-item\r\n *ngIf=\"!isOverflow || type=='table'\"\r\n [(showTooltip)]=\"homeNode['isOverflow']\"\r\n >\r\n <mat-icon\r\n *ngIf=\"homeNode?.displayType === itemIconType.name\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ homeNode?.itemIcon }}\r\n </mat-icon>\r\n <mat-icon\r\n *ngIf=\"homeNode?.displayType === itemIconType.svg\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n [svgIcon]=\"homeNode.itemIconSvg\"\r\n >\r\n </mat-icon>\r\n <img\r\n *ngIf=\"homeNode?.displayType === itemIconType.path\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"homeNode.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"homeNode?.displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(homeNode)\"\r\n />\r\n <div\r\n class=\"qms-breadcrumb-item-text\"\r\n [qms-tool-tip]=\"homeNode['name']\"\r\n [showToolTip]=\"homeNode['isOverflow']\"\r\n #breadcrumbItemText\r\n mode=\"dark\"\r\n (click)=\"onItemSelect(homeNode)\"\r\n >\r\n {{homeNode?.name}}\r\n </div>\r\n <mat-icon *ngIf=\"!isOverflow && type !=='table'\"\r\n >keyboard_arrow_right</mat-icon\r\n >\r\n <span\r\n *ngIf=\"itemNodes.length && type=='table'\"\r\n qms-breadcrumb-direction-icon\r\n >\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </div>\r\n\r\n <!-- Dropdown not table -->\r\n <div qms-breadcrumb-item *ngIf=\"isOverflow && type!='table'\">\r\n <button\r\n qms-btn-icon\r\n color=\"light\"\r\n class=\"breadcrumb__dropdown-btn\"\r\n [matMenuTriggerFor]=\"bodyMediumMenu\"\r\n >\r\n <mat-icon svgIcon=\"breadcrumb_dropdown\"></mat-icon>\r\n </button>\r\n <mat-menu\r\n #bodyMediumMenu=\"matMenu\"\r\n yPosition=\"below\"\r\n class=\"qms-breadcrumb-menu\"\r\n >\r\n <div (click)=\"$event.stopPropagation()\">\r\n <div\r\n qms-menu-item\r\n mat-menu-item\r\n disableRipple\r\n *ngFor=\"let item of dropdownNodes\"\r\n (keydown.enter)=\"onKeyPressed($event)\"\r\n (click)=\"onItemSelect(item)\"\r\n >\r\n <div #menuItemContent qms-expansion-header>\r\n <div qms-list-header>\r\n <div qms-line color=\"default-subtitle\">{{item.name}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-menu>\r\n\r\n <span qms-breadcrumb-direction-icon>\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </div>\r\n\r\n <!-- Dropdown table -->\r\n <div qms-breadcrumb-item *ngIf=\"isOverflow && type=='table'\">\r\n <button qms-btn-icon color=\"light\" [matMenuTriggerFor]=\"bodyMediumMenu\">\r\n <mat-icon>more_horiz</mat-icon>\r\n </button>\r\n <mat-menu\r\n #bodyMediumMenu=\"matMenu\"\r\n yPosition=\"below\"\r\n class=\"qms-breadcrumb-menu\"\r\n >\r\n <div (click)=\"$event.stopPropagation()\">\r\n <div\r\n qms-menu-item\r\n mat-menu-item\r\n disableRipple\r\n *ngFor=\"let item of dropdownNodes\"\r\n (keydown.enter)=\"onKeyPressed($event)\"\r\n (click)=\"onItemSelect(item)\"\r\n >\r\n <div #menuItemContent qms-expansion-header>\r\n <div qms-list-header>\r\n <div qms-line color=\"default-subtitle\">{{item.name}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-menu>\r\n\r\n <span qms-breadcrumb-direction-icon>\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </div>\r\n <!-- Item list -->\r\n <div\r\n qms-breadcrumb-item\r\n *ngFor=\"let item of itemNodes;let i=index\"\r\n [isLastItem]=\"i === itemNodes.length - 1\"\r\n [(showTooltip)]=\"item.isOverflow\"\r\n >\r\n <mat-icon\r\n *ngIf=\"item.displayType === itemIconType.name && item.isShow\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ item.itemIcon }}\r\n </mat-icon>\r\n <mat-icon\r\n *ngIf=\"item.displayType === itemIconType.svg && item.isShow\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n [svgIcon]=\"item.itemIconSvg\"\r\n >\r\n </mat-icon>\r\n <img\r\n *ngIf=\"item.displayType === itemIconType.path && item.isShow\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"item.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"item.displayType === itemIconType.base64 && item.isShow\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(item)\"\r\n />\r\n <div\r\n class=\"qms-breadcrumb-item-text\"\r\n [qms-tool-tip]=\"item.name\"\r\n [showToolTip]=\"item.isOverflow\"\r\n #breadcrumbItemText\r\n mode=\"dark\"\r\n *ngIf=\"item.isShow\"\r\n (click)=\"onItemSelect(item, i == itemNodes.length - 1);\"\r\n >\r\n {{item.name}}\r\n </div>\r\n <span\r\n qms-breadcrumb-direction-icon\r\n *ngIf=\"item.isShow && i !== itemNodes.length - 1\"\r\n >\r\n <mat-icon>keyboard_arrow_right</mat-icon>\r\n </span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"breadcrumb-container\" *ngIf=\"isMobileType\">\r\n <mat-sidenav-container>\r\n <mat-sidenav\r\n #sidenav\r\n mode=\"'over'\"\r\n class=\"breadcrumb-sidenav\"\r\n [fixedInViewport]=\"true\"\r\n >\r\n <div class=\"header\">\r\n <div class=\"header-left\">\r\n <p>{{LANG.BREADCRUMB}}</p>\r\n <div class=\"sub\">{{LANG.NAVIGATE_TO}}</div>\r\n </div>\r\n <div class=\"header-right\">\r\n <button qms-btn-text (click)=\"sidenav.close()\">\r\n {{LANG.QMSCKEDITOR.CLOSE}}\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"content\">\r\n <mat-selection-list #shoes [multiple]=\"false\">\r\n <mat-list-option\r\n class=\"qms-list-option\"\r\n *ngFor=\"let item of sideNavNodes; let first = first; let last = last;\"\r\n (click)=\"onItemSelect(item)\"\r\n >\r\n <mat-icon\r\n *ngIf=\"!first\"\r\n mat-list-icon\r\n class=\"subdirectory_arrow_right\"\r\n >subdirectory_arrow_right</mat-icon\r\n >\r\n <div class=\"content-text-name\">\r\n <div class=\"content-text-name-heading\">\r\n <mat-icon\r\n *ngIf=\"item.displayType === itemIconType.name\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ item.itemIcon }}\r\n </mat-icon>\r\n <img\r\n *ngIf=\"item.displayType === itemIconType.path\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"item.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"item.displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(item)\"\r\n />\r\n <span class=\"\">{{item.name}}</span>\r\n </div>\r\n <mat-icon class=\"color-gray\" *ngIf=\"last\">done</mat-icon>\r\n </div>\r\n </mat-list-option>\r\n </mat-selection-list>\r\n </div>\r\n </mat-sidenav>\r\n\r\n <mat-sidenav-content>\r\n <button\r\n qms-btn-icon\r\n class=\"more_horiz-btn\"\r\n color=\"light\"\r\n *ngIf=\"sideNavNodes.length\"\r\n (click)=\"sidenav.toggle()\"\r\n >\r\n <mat-icon>more_horiz</mat-icon>\r\n </button>\r\n </mat-sidenav-content>\r\n </mat-sidenav-container>\r\n <div qms-breadcrumb-item [(showTooltip)]=\"previousNode['isOverflow']\">\r\n <!-- Home -->\r\n <span qms-breadcrumb-direction-icon>\r\n <mat-icon>keyboard_arrow_left</mat-icon>\r\n </span>\r\n <mat-icon\r\n *ngIf=\"previousNode?.displayType === itemIconType.name\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n >\r\n {{ previousNode.itemIcon }}\r\n </mat-icon>\r\n <mat-icon\r\n *ngIf=\"previousNode?.displayType === itemIconType.svg\"\r\n class=\"mat-icon-rtl-mirror material-icons-outlined item-icon\"\r\n [svgIcon]=\"previousNode.itemIconSvg\"\r\n >\r\n </mat-icon>\r\n <img\r\n *ngIf=\"previousNode?.displayType === itemIconType.path\"\r\n class=\"mat-icon item-icon\"\r\n [src]=\"previousNode.itemIconPath\"\r\n />\r\n <img\r\n *ngIf=\"previousNode?.displayType === itemIconType.base64\"\r\n class=\"mat-icon image-base64 item-icon\"\r\n [src]=\"getImagePath(previousNode)\"\r\n />\r\n <div\r\n class=\"qms-breadcrumb-item-text\"\r\n [qms-tool-tip]=\"previousNode['name']\"\r\n [showToolTip]=\"previousNode['isOverflow']\"\r\n #breadcrumbItemText\r\n mode=\"dark\"\r\n (click)=\"onItemSelect(previousNode)\"\r\n >\r\n {{previousNode.name}}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
4789
4892
|
encapsulation: i0.ViewEncapsulation.None,
|
4790
|
-
styles: [".breadcrumb-container{display:flex;font-family:Open Sans;font-size:14px;font-weight:600;color:#323232}.breadcrumb-container .qms-breadcrumb-direction-icon,.breadcrumb-container .qms-breadcrumb-item{display:flex;align-items:center;padding:3px 0 2px}.breadcrumb-container .qms-breadcrumb-direction-icon .mat-icon{width:18px;height:18px;font-size:18px;margin-left:.5rem;margin-right:.5rem}.breadcrumb-container .item-icon{margin-right:2px}.breadcrumb-container .qms-breadcrumb-item{cursor:inherit}.breadcrumb-container .qms-breadcrumb-item .qms-btn-icon{width:1.5rem;height:1.5rem;line-height:2rem}.breadcrumb-container .qms-breadcrumb-item .qms-breadcrumb-item-overflow{max-width:240px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.breadcrumb-container .qms-breadcrumb-item .breadcrumb__dropdown-btn{width:2rem;height:2rem}.breadcrumb-container .qms-breadcrumb-item .breadcrumb__dropdown-btn svg{display:block}.breadcrumb-container .qms-breadcrumb-last-item{color:rgba(0,0,0,.6);font-weight:400;cursor:not-allowed}.qms-breadcrumb-table .breadcrumb-container .qms-breadcrumb-direction-icon .mat-icon{width:12px;height:12px;font-size:12px;margin-left:.25rem;margin-right:.25rem;color:rgba(0,0,0,.6)}.qms-breadcrumb-table .breadcrumb-container .item-icon{margin-right:1px}.qms-breadcrumb-table .breadcrumb-container .qms-breadcrumb-item .qms-breadcrumb-item-text{font-size:12px;font-weight:400;color:rgba(0,0,0,.6)}.qms-breadcrumb-table .breadcrumb-container .qms-breadcrumb-item .qms-breadcrumb-item-overflow{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qms-breadcrumb__multi-line .breadcrumb-container{flex-wrap:wrap}.qms-breadcrumb-menu .qms-dropdown-menu-item{border:none}"]
|
4893
|
+
styles: [".breadcrumb-container{display:flex;font-family:Open Sans;font-size:14px;font-weight:600;color:#323232}.breadcrumb-container .qms-breadcrumb-direction-icon,.breadcrumb-container .qms-breadcrumb-item{display:flex;align-items:center;padding:3px 0 2px}.breadcrumb-container .qms-breadcrumb-direction-icon .mat-icon{width:18px;height:18px;font-size:18px;margin-left:.5rem;margin-right:.5rem}.breadcrumb-container .item-icon{margin-right:2px}.breadcrumb-container .qms-breadcrumb-item{cursor:inherit;margin:8px 8px 8px 0}.breadcrumb-container .qms-breadcrumb-item .qms-btn-icon{width:1.5rem;height:1.5rem;line-height:2rem}.breadcrumb-container .qms-breadcrumb-item .qms-breadcrumb-item-overflow{max-width:240px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.breadcrumb-container .qms-breadcrumb-item .breadcrumb__dropdown-btn{width:2rem;height:2rem}.breadcrumb-container .qms-breadcrumb-item .breadcrumb__dropdown-btn svg{display:block}.breadcrumb-container .qms-breadcrumb-last-item{color:rgba(0,0,0,.6);font-weight:400;cursor:not-allowed}.breadcrumb-container .mat-drawer-container{z-index:3;background-color:transparent}.qms-breadcrumb-table .breadcrumb-container .qms-breadcrumb-direction-icon .mat-icon{width:12px;height:12px;font-size:12px;margin-left:.25rem;margin-right:.25rem;color:rgba(0,0,0,.6)}.qms-breadcrumb-table .breadcrumb-container .item-icon{margin-right:1px}.qms-breadcrumb-table .breadcrumb-container .qms-breadcrumb-item .qms-breadcrumb-item-text{font-size:12px;font-weight:400;color:rgba(0,0,0,.6)}.qms-breadcrumb-table .breadcrumb-container .qms-breadcrumb-item .qms-breadcrumb-item-overflow{max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qms-breadcrumb__multi-line .breadcrumb-container{flex-wrap:wrap}.qms-breadcrumb-menu .qms-dropdown-menu-item{border:none}.breadcrumb-sidenav{display:flex;align-items:center;justify-content:center;width:100%;background:#fff;z-index:3}.breadcrumb-sidenav .header{font-family:Open Sans;font-style:normal;background-color:var(--background-area);height:71px;display:flex;justify-content:space-between;padding:16px}.breadcrumb-sidenav .header p{font-weight:600;font-size:18px;line-height:25px;color:var(--default-color);margin-bottom:0}.breadcrumb-sidenav .header .sub{font-weight:400;font-size:14px;line-height:22px;color:#5a5a5a}.breadcrumb-sidenav .content{padding:0 16px 16px;height:calc(100vh - 71px);overflow:auto}.breadcrumb-sidenav .content .qms-list-option{height:unset!important}.breadcrumb-sidenav .content .qms-list-option .mat-list-text{padding-right:0!important;padding-left:0!important}.breadcrumb-sidenav .content .qms-list-option .mat-list-item-content{border-bottom:1px solid #e0e0e0;padding:8px}.breadcrumb-sidenav .content-text-name{display:flex;align-items:center;justify-content:space-between}.breadcrumb-sidenav .content-text-name .content-text-name-heading{display:flex;align-items:center;color:var(--default-color)}.breadcrumb-sidenav .content-text-name .content-text-name-heading .item-icon{margin-right:10px;color:var(--tab-border)}.breadcrumb-sidenav .content-text-name .color-gray{color:var(--tab-border)}.more_horiz-btn.qms-btn-icon{width:1.5rem;height:1.5rem;line-height:2rem;margin:8px 0 8px 8px}.subdirectory_arrow_right{color:#0163b2}"]
|
4791
4894
|
},] }
|
4792
4895
|
];
|
4793
4896
|
QMSBreadcrumb.ctorParameters = function () { return [
|
4794
4897
|
{ type: i0.ElementRef },
|
4795
4898
|
{ type: icon.MatIconRegistry },
|
4796
4899
|
{ type: i0.ChangeDetectorRef },
|
4797
|
-
{ type: platformBrowser.DomSanitizer }
|
4900
|
+
{ type: platformBrowser.DomSanitizer },
|
4901
|
+
{ type: TranslateLibraryService }
|
4798
4902
|
]; };
|
4799
4903
|
QMSBreadcrumb.propDecorators = {
|
4800
4904
|
nodes: [{ type: i0.Input }],
|
@@ -4839,8 +4943,10 @@
|
|
4839
4943
|
core.MatCommonModule,
|
4840
4944
|
icon.MatIconModule,
|
4841
4945
|
QmsAngularModule,
|
4946
|
+
QMSListModule,
|
4842
4947
|
QMSButtonModule,
|
4843
|
-
menu.MatMenuModule
|
4948
|
+
menu.MatMenuModule,
|
4949
|
+
sidenav.MatSidenavModule
|
4844
4950
|
],
|
4845
4951
|
exports: [
|
4846
4952
|
core.MatCommonModule,
|
@@ -28661,6 +28767,7 @@
|
|
28661
28767
|
this.activeNode = node.id;
|
28662
28768
|
this.onClickNodeEvent.emit(node.id);
|
28663
28769
|
}
|
28770
|
+
this.onClickToggleNode(node);
|
28664
28771
|
};
|
28665
28772
|
QMSNavigationDrawerComponent.prototype.onOver = function (node) {
|
28666
28773
|
this.hoverNode = node;
|
@@ -28921,7 +29028,7 @@
|
|
28921
29028
|
QMSNavigationDrawerComponent.decorators = [
|
28922
29029
|
{ type: i0.Component, args: [{
|
28923
29030
|
selector: 'app-qms-navigation-drawer',
|
28924
|
-
template: "<mat-tree class=\"qms-navigation-drawer-container\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\" cdkDropList\r\n (cdkDropListDropped)=\"drop($event)\" [cdkDropListDisabled]=\"dragDropListDisabled\">\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node [class.pr-34]=\"showAddIcon\" *matTreeNodeDef=\"let node\" (mouseover)=\"onOver(node)\" matTreeNodePadding
|
29031
|
+
template: "\r\n<mat-tree class=\"qms-navigation-drawer-container\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\" cdkDropList\r\n (cdkDropListDropped)=\"drop($event)\" [cdkDropListDisabled]=\"dragDropListDisabled\">\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node [class.pr-34]=\"showAddIcon\" *matTreeNodeDef=\"let node\" (mouseover)=\"onOver(node)\" matTreeNodePadding matTreeNodePaddingIndent=\"34\"\r\n cdkDrag [cdkDragData]=\"node\" (mouseenter)=\"dragHover(node)\" (mouseleave)=\"dragHoverEnd()\"\r\n (cdkDragStarted)=\"dragStart()\" (cdkDragReleased)=\"dragEnd()\"\r\n [ngClass]=\"{'expand-node' : treeControl.isExpanded(node), 'collapse-node': !treeControl.isExpanded(node), 'active': activeNode == node.id}\">\r\n <div *cdkDragPreview class=\"node-preview-item\">{{ node.name }}</div>\r\n <div *ngIf=\"!node.isReadOnly\" class=\"tree-content\" (click)=\"onClickNode(node, true)\">\r\n <button tabindex=\"-1\" qms-btn-outlined disabled class=\"border-0 bg-transparent\">\r\n <img class=\"img-icon\" [src]=\"faIconPath\" alt=\"\" />\r\n </button>\r\n <div class=\"span-text\">{{ node.name }}</div>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\"\r\n *ngIf=\"showFavoriteIcon && (node.id === hoverNode.id || node.favorite)\"\r\n (click)=\"addFavoriteNode(node.id, $event)\" (mouseenter)=\"setHoverFavorite(node.id)\"\r\n (mouseleave)=\"setHoverFavorite(null)\" [ngClass]=\"{'btn-favorite': (node.id === hoverNode.id && isHover)}\"\r\n qms-tool-tip=\"{{!node.favorite ? addFavoriteTooltip : deleteFavoriteTooltip}}\" mode=\"dark\" position=\"bottom\"\r\n qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror blur-icon\" [class.favorite]=\"true\"\r\n [class.not-favorite]=\"!node.favorite && node.id === hoverNode.id && isHover\">\r\n {{node.favorite && node.id === hoverNode.id && isHover ? 'star_rate_outline' : ''}}\r\n {{!node.favorite && node.id === hoverNode.id && isHover ? 'star_border' : ''}}\r\n </mat-icon>\r\n </button>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\" *ngIf=\"node.id === hoverNode.id && showAddIcon && isHover\"\r\n qms-tool-tip=\"{{addNodeTooltip}}\" (click)=\"addNewNode(node.id, $event)\" mode=\"dark\" position=\"bottom\" qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n add\r\n </mat-icon>\r\n </button>\r\n </div>\r\n </mat-tree-node>\r\n <!-- This is the tree node template for expandable nodes -->\r\n <mat-tree-node [class.pr-34]=\"showAddIcon\" *matTreeNodeDef=\"let node;when: hasChild\" (mouseover)=\"onOver(node)\" matTreeNodePadding\r\n matTreeNodePaddingIndent=\"34\" cdkDrag [cdkDragData]=\"node\" (mouseenter)=\"dragHover(node)\"\r\n (mouseleave)=\"dragHoverEnd()\" (cdkDragStarted)=\"dragStart()\" (cdkDragReleased)=\"dragEnd()\"\r\n [ngClass]=\"\r\n {'expand-node' : treeControl.isExpanded(node), 'collapse-node': !treeControl.isExpanded(node), 'active': activeNode == node.id}\">\r\n <div *cdkDragPreview class=\"node-preview-item\">{{ node.name }}</div>\r\n <div *ngIf=\"!node.isReadOnly\" class=\"tree-content\"\r\n (keydown)=\"onKeyDownNode($event, node)\" matTreeNodeToggle (click)=\"onClickNode(node, true)\" >\r\n <button matTreeNodeToggle (click)=\"onClickNode(node, false)\" tabindex=\"-1\" class=\"button-icon collapse-expand-icon\" qms-btn-icon [attr.aria-label]=\"'toggle ' + node.name\">\r\n <mat-icon class=\"mat-icon-rtl-mirror arrow-icon left-icon\">\r\n {{treeControl.isExpanded(node) ? 'expand_less' : 'expand_more'}}\r\n </mat-icon>\r\n </button>\r\n <div class=\"span-text\">{{ node.name }}</div>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\"\r\n qms-tool-tip=\"{{!node.favorite ? addFavoriteTooltip : deleteFavoriteTooltip}}\"\r\n *ngIf=\"showFavoriteIcon && (node.id === hoverNode.id || node.favorite)\"\r\n (click)=\"addFavoriteNode(node.id, $event)\" [ngClass]=\"{'btn-favorite': (node.id === hoverNode.id && isHover)}\"\r\n (mouseenter)=\"setHoverFavorite(node.id)\" (mouseleave)=\"setHoverFavorite(null)\" mode=\"dark\" position=\"below\"\r\n qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror blur-icon\" [class.favorite]=\"true\"\r\n [class.not-favorite]=\"!node.favorite && node.id === hoverNode.id && isHover\">\r\n {{node.favorite && node.id === hoverNode.id && isHover ? 'star_rate_outline' : ''}}\r\n {{!node.favorite && node.id === hoverNode.id && isHover ? 'star_border' : ''}}\r\n </mat-icon>\r\n </button>\r\n <button tabindex=\"-1\" class=\"button-icon add-icon\" *ngIf=\"node.id === hoverNode.id && showAddIcon && isHover\"\r\n qms-tool-tip=\"{{addNodeTooltip}}\" mode=\"dark\" position=\"bottom\" (click)=\"addNewNode(node.id, $event)\" qms-btn-icon>\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n add\r\n </mat-icon>\r\n </button>\r\n </div>\r\n </mat-tree-node>\r\n</mat-tree>\r\n",
|
28925
29032
|
styles: ["::ng-deep mat-tree.qms-navigation-drawer-container{padding:.25rem!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node{min-width:272px!important;height:48px!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node{min-height:34px;cursor:pointer!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.active{background-color:#f2f7fd;color:#1954a9!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.active img{filter:opacity(.5) drop-shadow(0 0 0 #1954A9)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.active:hover{background-color:#e5eefb!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content{width:100%;position:relative;align-items:center}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .arrow-icon{color:#00324e}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .collapse-expand-icon{color:#3e57b7}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .collapse-expand-icon:hover{background:rgba(0,0,0,.08)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .add-icon:hover{background:rgba(0,0,0,.08)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .left-icon{color:#919191}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node{padding-left:0;position:static;height:32px;left:calc(50% - 216px/2);top:0;font-family:Open Sans;font-style:normal;font-weight:400;font-size:14px;line-height:19px;display:flex;align-items:center;color:#1954a9;flex:none;order:0;align-self:stretch;flex-grow:1}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node ::ng-deep mat-icon{color:#1954a9}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node:hover{background-color:#e5eefb!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.collapse-node{position:static;height:32px;left:calc(50% - 176px/2);top:0;font-family:Open Sans;font-style:normal;font-weight:400;font-size:14px;line-height:19px;display:flex;align-items:center;color:#323232;flex:none;order:0;align-self:stretch;flex-grow:1}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content{display:flex}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .button-icon{width:40px;height:40px;line-height:30px!important;border-radius:50%}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .button-icon:hover{border-radius:50%}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .img-icon{max-height:25px;max-width:25px}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .add-icon{position:absolute;right:-34px}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .add-icon mat-icon{top:3px;right:3px;border-radius:50%;color:rgba(0,0,0,.6)}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .favorite{color:#b13514!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .not-favorite{color:rgba(0,0,0,.6)!important}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .btn-favorite{right:6px;color:unset}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .space-icon{position:absolute;top:-5px;left:0}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .span-text{position:relative;overflow:hidden;text-overflow:ellipsis;padding-left:7px;max-width:calc(100% - 56px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;cursor:pointer}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node .tree-content .span-text:after{content:\"\";display:block;clear:both}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node:first-child{margin:0}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.collapse-node:hover{background:#00000014}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.collapse-node:active{background:#0000001f}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node.expand-node:active{background:#f2f7fd}::ng-deep mat-tree.qms-navigation-drawer-container .mat-tree-node:hover .span-text{max-width:calc(100% - 96px)}::ng-deep mat-tree.qms-navigation-drawer-container .pr-34{padding-right:34px}.node-preview-item{display:flex;background-color:#0000001f;min-width:272px!important;height:48px!important;margin:0 auto;align-items:center;padding:0 16px}"]
|
28926
29033
|
},] }
|
28927
29034
|
];
|
@@ -29258,6 +29365,7 @@
|
|
29258
29365
|
exports.LOCAL_FOLDER_ICON = LOCAL_FOLDER_ICON;
|
29259
29366
|
exports.LOCAL_FOLDER_OUTLINED_ICON = LOCAL_FOLDER_OUTLINED_ICON;
|
29260
29367
|
exports.MarginDirective = MarginDirective;
|
29368
|
+
exports.MfeUtil = MfeUtil;
|
29261
29369
|
exports.NORMAL_FOLDER_ICON = NORMAL_FOLDER_ICON;
|
29262
29370
|
exports.NORMAL_FOLDER_OUTLINED_ICON = NORMAL_FOLDER_OUTLINED_ICON;
|
29263
29371
|
exports.NavigatorElementView = NavigatorElementView;
|
@@ -29313,7 +29421,7 @@
|
|
29313
29421
|
exports.QMSChipBodyDirective = QMSChipBodyDirective;
|
29314
29422
|
exports.QMSChipInputChipListDirective = QMSChipInputChipListDirective;
|
29315
29423
|
exports.QMSChipInputDirective = QMSChipInputDirective;
|
29316
|
-
exports.
|
29424
|
+
exports.QMSChipInputSelectDropDownDirective = QMSChipInputSelectDropDownDirective;
|
29317
29425
|
exports.QMSChipInputSelectFieldDirective = QMSChipInputSelectFieldDirective;
|
29318
29426
|
exports.QMSChipInputSelectTriggerDirective = QMSChipInputSelectTriggerDirective;
|
29319
29427
|
exports.QMSCollapseGroupDirective = QMSCollapseGroupDirective;
|