@smartsoft001/angular 1.1.735 → 1.1.736
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-angular.umd.js +14 -1
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/decorators/index.js +2 -1
- package/esm2015/lib/decorators/module/module.decorator.js +8 -0
- package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +5 -3
- package/esm2015/lib/services/index.js +2 -1
- package/fesm2015/smartsoft001-angular.js +11 -2
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/decorators/index.d.ts +1 -0
- package/lib/decorators/module/module.decorator.d.ts +3 -0
- package/lib/services/dynamic-component-storage/dynamic-component-storage.service.d.ts +2 -1
- package/lib/services/index.d.ts +1 -0
- package/package.json +5 -5
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -2865,6 +2865,7 @@
|
|
|
2865
2865
|
listRef: [{ type: i0.ViewChild, args: ['listRef', { read: i0.ElementRef },] }]
|
|
2866
2866
|
};
|
|
2867
2867
|
|
|
2868
|
+
var DYNAMIC_COMPONENTS_STORE = new i0.InjectionToken("DYNAMIC_COMPONENTS_STORE");
|
|
2868
2869
|
var DynamicComponentStorageService = /** @class */ (function () {
|
|
2869
2870
|
function DynamicComponentStorageService() {
|
|
2870
2871
|
}
|
|
@@ -2873,7 +2874,8 @@
|
|
|
2873
2874
|
var getComponents = function (k, m) {
|
|
2874
2875
|
if (!m)
|
|
2875
2876
|
return [];
|
|
2876
|
-
|
|
2877
|
+
var fromStore = m.injector.get(DYNAMIC_COMPONENTS_STORE, null);
|
|
2878
|
+
return (fromStore ? fromStore : m.instance.constructor['ɵmod'].declarations)
|
|
2877
2879
|
.filter(function (c) { return c['smartType'] === k; });
|
|
2878
2880
|
};
|
|
2879
2881
|
var components = getComponents(key, moduleRef);
|
|
@@ -8554,6 +8556,13 @@
|
|
|
8554
8556
|
return fn;
|
|
8555
8557
|
}
|
|
8556
8558
|
|
|
8559
|
+
var SmartNgModule = SmartNgModuleDecorator;
|
|
8560
|
+
function SmartNgModuleDecorator(options) {
|
|
8561
|
+
return function (constructor) {
|
|
8562
|
+
return i0.NgModule(options)(constructor);
|
|
8563
|
+
};
|
|
8564
|
+
}
|
|
8565
|
+
|
|
8557
8566
|
/**
|
|
8558
8567
|
* Generated bundle index. Do not edit.
|
|
8559
8568
|
*/
|
|
@@ -8589,6 +8598,7 @@
|
|
|
8589
8598
|
exports.DETAILS_COMPONENTS = DETAILS_COMPONENTS;
|
|
8590
8599
|
exports.DETAIL_COMPONENTS = DETAIL_COMPONENTS;
|
|
8591
8600
|
exports.DYNAMIC_COMPONENTS = DYNAMIC_COMPONENTS;
|
|
8601
|
+
exports.DYNAMIC_COMPONENTS_STORE = DYNAMIC_COMPONENTS_STORE;
|
|
8592
8602
|
exports.DateEditComponent = DateEditComponent;
|
|
8593
8603
|
exports.DateRangeComponent = DateRangeComponent;
|
|
8594
8604
|
exports.DateRangeModalComponent = DateRangeModalComponent;
|
|
@@ -8617,6 +8627,7 @@
|
|
|
8617
8627
|
exports.DetailsStandardComponent = DetailsStandardComponent;
|
|
8618
8628
|
exports.DynamicComponent = DynamicComponent;
|
|
8619
8629
|
exports.DynamicComponentLoader = DynamicComponentLoader;
|
|
8630
|
+
exports.DynamicComponentStorageService = DynamicComponentStorageService;
|
|
8620
8631
|
exports.DynamicContentDirective = DynamicContentDirective;
|
|
8621
8632
|
exports.EnumToListPipe = EnumToListPipe;
|
|
8622
8633
|
exports.ErrorContextComponent = ErrorContextComponent;
|
|
@@ -8723,6 +8734,8 @@
|
|
|
8723
8734
|
exports.SharedPipesModule = SharedPipesModule;
|
|
8724
8735
|
exports.SharedServicesModule = SharedServicesModule;
|
|
8725
8736
|
exports.SmartFormGroup = SmartFormGroup;
|
|
8737
|
+
exports.SmartNgModule = SmartNgModule;
|
|
8738
|
+
exports.SmartNgModuleDecorator = SmartNgModuleDecorator;
|
|
8726
8739
|
exports.StorageService = StorageService;
|
|
8727
8740
|
exports.StyleService = StyleService;
|
|
8728
8741
|
exports.TABS_COMPONENTS = TABS_COMPONENTS;
|