@churchillliving/se-ui-toolkit 6.53.482 → 6.53.484
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/churchillliving-se-ui-toolkit.umd.js +11 -17
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/sidebar/sidebar.component.js +12 -10
- package/esm2015/lib/models/form.model.js +1 -9
- package/fesm2015/churchillliving-se-ui-toolkit.js +12 -18
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/models/form.model.d.ts +0 -7
- package/package.json +1 -1
|
@@ -995,14 +995,6 @@
|
|
|
995
995
|
ESelectFileType["PDF"] = ".pdf";
|
|
996
996
|
ESelectFileType["MRT"] = ".mrt";
|
|
997
997
|
})(exports.ESelectFileType || (exports.ESelectFileType = {}));
|
|
998
|
-
exports.ESystemConfig = void 0;
|
|
999
|
-
(function (ESystemConfig) {
|
|
1000
|
-
ESystemConfig["FURNITUREITEMPICTUREPATH"] = "FurnitureItemPicutrePath";
|
|
1001
|
-
ESystemConfig["FILEROOTPATH"] = "FileRootPath";
|
|
1002
|
-
ESystemConfig["EMPLOYEEPICTUREPATH"] = "EmployeePicutrePath";
|
|
1003
|
-
ESystemConfig["REPORTPATH"] = "ReportPath";
|
|
1004
|
-
ESystemConfig["SUITEPICTUREPATH"] = "SuitePicutrePath";
|
|
1005
|
-
})(exports.ESystemConfig || (exports.ESystemConfig = {}));
|
|
1006
998
|
exports.EValidator = void 0;
|
|
1007
999
|
(function (EValidator) {
|
|
1008
1000
|
EValidator["REQUIRED"] = "required";
|
|
@@ -8658,15 +8650,17 @@
|
|
|
8658
8650
|
}, 250);
|
|
8659
8651
|
};
|
|
8660
8652
|
SidebarComponent.prototype.openComponentInTab = function (menu) {
|
|
8661
|
-
var route =
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8653
|
+
var route = {};
|
|
8654
|
+
this.router.config.forEach(function (parentRoute) {
|
|
8655
|
+
var _a, _b, _c;
|
|
8656
|
+
if (((_a = parentRoute.component) === null || _a === void 0 ? void 0 : _a.name) === ((_b = menu.component) === null || _b === void 0 ? void 0 : _b.name)) {
|
|
8657
|
+
route = parentRoute;
|
|
8665
8658
|
}
|
|
8666
|
-
if (
|
|
8667
|
-
(
|
|
8668
|
-
|
|
8669
|
-
|
|
8659
|
+
else if (parentRoute.children) {
|
|
8660
|
+
(_c = parentRoute === null || parentRoute === void 0 ? void 0 : parentRoute.children) === null || _c === void 0 ? void 0 : _c.forEach(function (childRoute) {
|
|
8661
|
+
var _a, _b;
|
|
8662
|
+
if (((_a = childRoute.component) === null || _a === void 0 ? void 0 : _a.name) === ((_b = menu.component) === null || _b === void 0 ? void 0 : _b.name)) {
|
|
8663
|
+
route = childRoute;
|
|
8670
8664
|
}
|
|
8671
8665
|
});
|
|
8672
8666
|
}
|
|
@@ -8679,7 +8673,7 @@
|
|
|
8679
8673
|
params_1 = param;
|
|
8680
8674
|
}
|
|
8681
8675
|
});
|
|
8682
|
-
var url = this.router.serializeUrl(this.router.createUrlTree([route.path], { queryParams: params_1 }));
|
|
8676
|
+
var url = this.router.serializeUrl(this.router.createUrlTree([route === null || route === void 0 ? void 0 : route.path], { queryParams: params_1 }));
|
|
8683
8677
|
window.open(url, '_blank');
|
|
8684
8678
|
}
|
|
8685
8679
|
};
|