qms-angular 1.0.85 → 1.0.86
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 +12 -11
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/treeNew/tree.component.js +12 -11
- package/esm2015/lib/directives/dialog/dialog.content.directive.js +2 -3
- package/fesm2015/qms-angular.js +12 -11
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/directives/dialog/dialog.content.directive.d.ts +1 -1
- package/package.json +1 -1
- package/qms-angular.metadata.json +1 -1
- package/src/themes/core/_dialog.scss +8 -0
@@ -3490,7 +3490,6 @@
|
|
3490
3490
|
var QMSDialogFooter = /** @class */ (function () {
|
3491
3491
|
function QMSDialogFooter(el) {
|
3492
3492
|
this.el = el;
|
3493
|
-
this.align = 'start';
|
3494
3493
|
}
|
3495
3494
|
QMSDialogFooter.prototype.ngOnInit = function () {
|
3496
3495
|
if (this.height) {
|
@@ -3505,7 +3504,7 @@
|
|
3505
3504
|
host: {
|
3506
3505
|
'class': 'qms-dialog-footer',
|
3507
3506
|
'[class.qms-dialog-footer-align-center]': 'align === "center"',
|
3508
|
-
'[class.qms-dialog-footer-align-
|
3507
|
+
'[class.qms-dialog-footer-align-start]': 'align === "start"',
|
3509
3508
|
},
|
3510
3509
|
},] }
|
3511
3510
|
];
|
@@ -20249,19 +20248,21 @@
|
|
20249
20248
|
}
|
20250
20249
|
// keep expand
|
20251
20250
|
if (this.parentNodeOnClick && Object.keys(this.parentNodeOnClick).length) {
|
20251
|
+
var root = this.parentNodeOnClick;
|
20252
20252
|
var tempParent = [];
|
20253
|
-
|
20254
|
-
|
20255
|
-
|
20256
|
-
|
20257
|
-
|
20258
|
-
|
20259
|
-
|
20253
|
+
while (root && root.id) {
|
20254
|
+
for (var i = 0; i < this.treeControl.dataNodes.length; i++) {
|
20255
|
+
var tree = this.treeControl.dataNodes[i];
|
20256
|
+
if (root.parentId === tree.parentId && root.id === tree.id) {
|
20257
|
+
tempParent = __spreadArray([tree], __read(tempParent));
|
20258
|
+
root = this.getParent(tree);
|
20259
|
+
break;
|
20260
|
+
}
|
20260
20261
|
}
|
20261
20262
|
}
|
20262
|
-
tempParent.push(root);
|
20263
20263
|
tempParent.forEach(function (x) {
|
20264
|
-
_this.treeControl.
|
20264
|
+
if (!_this.treeControl.isExpanded(x))
|
20265
|
+
_this.treeControl.expand(x);
|
20265
20266
|
});
|
20266
20267
|
}
|
20267
20268
|
};
|