@smartsoft001/crud-shell-angular 1.1.619 → 1.1.624
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/smartsoft001-crud-shell-angular.umd.js +5 -2
- package/bundles/smartsoft001-crud-shell-angular.umd.js.map +1 -1
- package/esm2015/lib/pages/item/item.component.js +7 -4
- package/fesm2015/smartsoft001-crud-shell-angular.js +6 -3
- package/fesm2015/smartsoft001-crud-shell-angular.js.map +1 -1
- package/lib/pages/item/item.component.d.ts +3 -2
- package/lib/pages/item/item.component.d.ts.map +1 -1
- package/package.json +7 -7
- package/smartsoft001-crud-shell-angular.metadata.json +1 -1
|
@@ -2414,7 +2414,7 @@
|
|
|
2414
2414
|
|
|
2415
2415
|
var ItemComponent = /** @class */ (function (_super) {
|
|
2416
2416
|
__extends(ItemComponent, _super);
|
|
2417
|
-
function ItemComponent(router, activeRoute, facade, service, route, dynamicComponentLoader, translateService, config, location, cd, authService, styleService, elementRef, toastService, pageService, moduleRef, componentFactoryResolver) {
|
|
2417
|
+
function ItemComponent(router, activeRoute, facade, service, route, dynamicComponentLoader, translateService, config, location, cd, authService, styleService, elementRef, toastService, pageService, moduleRef, componentFactoryResolver, detailsService) {
|
|
2418
2418
|
var _this = _super.call(this, cd, moduleRef, componentFactoryResolver) || this;
|
|
2419
2419
|
_this.router = router;
|
|
2420
2420
|
_this.activeRoute = activeRoute;
|
|
@@ -2432,6 +2432,7 @@
|
|
|
2432
2432
|
_this.pageService = pageService;
|
|
2433
2433
|
_this.moduleRef = moduleRef;
|
|
2434
2434
|
_this.componentFactoryResolver = componentFactoryResolver;
|
|
2435
|
+
_this.detailsService = detailsService;
|
|
2435
2436
|
_this.pageOptions = {
|
|
2436
2437
|
title: "",
|
|
2437
2438
|
showBackButton: true,
|
|
@@ -2470,6 +2471,7 @@
|
|
|
2470
2471
|
return __generator(this, function (_a) {
|
|
2471
2472
|
switch (_a.label) {
|
|
2472
2473
|
case 0:
|
|
2474
|
+
this.detailsService.init();
|
|
2473
2475
|
this.styleService.init(this.elementRef);
|
|
2474
2476
|
this.pageService.checkPermissions();
|
|
2475
2477
|
if (this.router.routerState.snapshot.url.endsWith("/add")) {
|
|
@@ -2734,7 +2736,8 @@
|
|
|
2734
2736
|
{ type: angular.ToastService },
|
|
2735
2737
|
{ type: PageService },
|
|
2736
2738
|
{ type: core.NgModuleRef },
|
|
2737
|
-
{ type: core.ComponentFactoryResolver }
|
|
2739
|
+
{ type: core.ComponentFactoryResolver },
|
|
2740
|
+
{ type: angular.DetailsService }
|
|
2738
2741
|
]; };
|
|
2739
2742
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2740
2743
|
ItemComponent.propDecorators = {
|