@seniorsistemas/exclusion-process-component 0.0.1-40efacd8-8a6c-4d38-8102-8c977c14410a → 0.0.1-c049d10c-e93a-4d63-9c2a-b17bca40c324

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.
Files changed (31) hide show
  1. package/bundles/seniorsistemas-exclusion-process-component.umd.js +5 -463
  2. package/bundles/seniorsistemas-exclusion-process-component.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-exclusion-process-component.umd.min.js +2 -2
  4. package/bundles/seniorsistemas-exclusion-process-component.umd.min.js.map +1 -1
  5. package/esm2015/public-api.js +1 -2
  6. package/esm2015/seniorsistemas-exclusion-process-component.js +2 -4
  7. package/esm5/public-api.js +1 -2
  8. package/esm5/seniorsistemas-exclusion-process-component.js +2 -4
  9. package/fesm2015/seniorsistemas-exclusion-process-component.js +5 -427
  10. package/fesm2015/seniorsistemas-exclusion-process-component.js.map +1 -1
  11. package/fesm5/seniorsistemas-exclusion-process-component.js +5 -456
  12. package/fesm5/seniorsistemas-exclusion-process-component.js.map +1 -1
  13. package/package.json +1 -1
  14. package/public-api.d.ts +0 -1
  15. package/seniorsistemas-exclusion-process-component.d.ts +1 -3
  16. package/seniorsistemas-exclusion-process-component.metadata.json +1 -1
  17. package/esm2015/exclusions-list/exclusions-list.component.js +0 -299
  18. package/esm2015/exclusions-list/exclusions-list.module.js +0 -47
  19. package/esm2015/exclusions-list/exclusions-list.routing.js +0 -115
  20. package/esm2015/exclusions-list/index.js +0 -4
  21. package/esm2015/services/index.js +0 -2
  22. package/esm5/exclusions-list/exclusions-list.component.js +0 -313
  23. package/esm5/exclusions-list/exclusions-list.module.js +0 -50
  24. package/esm5/exclusions-list/exclusions-list.routing.js +0 -127
  25. package/esm5/exclusions-list/index.js +0 -4
  26. package/esm5/services/index.js +0 -2
  27. package/exclusions-list/exclusions-list.component.d.ts +0 -59
  28. package/exclusions-list/exclusions-list.module.d.ts +0 -2
  29. package/exclusions-list/exclusions-list.routing.d.ts +0 -29
  30. package/exclusions-list/index.d.ts +0 -3
  31. package/services/index.d.ts +0 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('primeng/panel'), require('primeng/table'), require('@seniorsistemas/angular-components'), require('moment'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/common/http'), require('@ngx-translate/core'), require('primeng/api'), require('@angular/forms'), require('primeng/dialog'), require('primeng/confirmdialog'), require('primeng/inputtext'), require('@seniorsistemas/platform-components')) :
3
- typeof define === 'function' && define.amd ? define('@seniorsistemas/exclusion-process-component', ['exports', '@angular/common', '@angular/core', 'primeng/panel', 'primeng/table', '@seniorsistemas/angular-components', 'moment', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/common/http', '@ngx-translate/core', 'primeng/api', '@angular/forms', 'primeng/dialog', 'primeng/confirmdialog', 'primeng/inputtext', '@seniorsistemas/platform-components'], factory) :
4
- (global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['exclusion-process-component'] = {}), global.ng.common, global.ng.core, global.panel, global.table, global.angularComponents, global.moment, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.common.http, global.core$1, global.api, global.ng.forms, global.dialog, global.confirmdialog, global.inputtext, global.platformComponents));
5
- }(this, (function (exports, common, core, panel, table, angularComponents, moment, router, rxjs, operators, http, core$1, api, forms, dialog, confirmdialog, inputtext, platformComponents) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('primeng/panel'), require('primeng/table'), require('@seniorsistemas/angular-components'), require('moment'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@angular/common/http'), require('@ngx-translate/core'), require('primeng/api')) :
3
+ typeof define === 'function' && define.amd ? define('@seniorsistemas/exclusion-process-component', ['exports', '@angular/common', '@angular/core', 'primeng/panel', 'primeng/table', '@seniorsistemas/angular-components', 'moment', '@angular/router', 'rxjs', 'rxjs/operators', '@angular/common/http', '@ngx-translate/core', 'primeng/api'], factory) :
4
+ (global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['exclusion-process-component'] = {}), global.ng.common, global.ng.core, global.panel, global.table, global.angularComponents, global.moment, global.ng.router, global.rxjs, global.rxjs.operators, global.ng.common.http, global.core$1, global.api));
5
+ }(this, (function (exports, common, core, panel, table, angularComponents, moment, router, rxjs, operators, http, core$1, api) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -709,452 +709,6 @@
709
709
  return FilterService;
710
710
  }());
711
711
 
712
- var ExclusionsListComponent = /** @class */ (function () {
713
- function ExclusionsListComponent(route, translate, formBuilder, changeDetectorRef, logicalDeleteService, filterService, projectConfigs) {
714
- this.route = route;
715
- this.translate = translate;
716
- this.formBuilder = formBuilder;
717
- this.changeDetectorRef = changeDetectorRef;
718
- this.logicalDeleteService = logicalDeleteService;
719
- this.filterService = filterService;
720
- this.projectConfigs = projectConfigs;
721
- this.currentListParams = { page: 0, size: 10, sort: [], filterData: {} };
722
- this.showLoader = false;
723
- this.totalRecords = 0;
724
- this.filtersPanelCollapsed = true;
725
- this.searchTokens = [];
726
- this.serverError = false;
727
- this.ngUnsubscribe = new rxjs.Subject();
728
- }
729
- ExclusionsListComponent.prototype.ngOnInit = function () {
730
- var _this = this;
731
- this.filterFormGroup = this.getFormBuilder();
732
- this.filterFields = this.getFilterFields();
733
- this.gridColumns = this.getGridColumns();
734
- this.route.data
735
- .pipe(operators.takeUntil(this.ngUnsubscribe))
736
- .subscribe(function (data) {
737
- _this.locale = data.localeConfig;
738
- });
739
- this.route.params
740
- .pipe(operators.takeUntil(this.ngUnsubscribe))
741
- .subscribe(function (params) {
742
- _this.entityName = params.entityName;
743
- });
744
- this.route.queryParams
745
- .pipe(operators.takeUntil(this.ngUnsubscribe))
746
- .subscribe(function (queryParams) {
747
- _this.entityDescription = queryParams.entityDescription;
748
- });
749
- };
750
- ExclusionsListComponent.prototype.ngOnDestroy = function () {
751
- this.ngUnsubscribe.next();
752
- this.ngUnsubscribe.complete();
753
- };
754
- ExclusionsListComponent.prototype.getFormBuilder = function () {
755
- return this.formBuilder.group({
756
- description: [undefined, forms.Validators.compose([])],
757
- state: [undefined, forms.Validators.compose([])],
758
- startDate: [{ value: undefined, disabled: false }, forms.Validators.compose([])],
759
- endDate: [{ value: undefined, disabled: false }, forms.Validators.compose([])]
760
- });
761
- };
762
- ExclusionsListComponent.prototype.getGridColumns = function () {
763
- return [
764
- {
765
- field: "description",
766
- attributes: ['description'],
767
- header: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_description"),
768
- type: angularComponents.EnumColumnFieldType.STRING,
769
- style: {
770
- width: '300px'
771
- }
772
- },
773
- {
774
- field: "status",
775
- attributes: ['status'],
776
- header: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_status"),
777
- type: angularComponents.EnumColumnFieldType.ENUM,
778
- enumPrefix: this.projectConfigs.getTranslationPrefix() + ".logical_delete_enum_exclusion_process_status_",
779
- style: {
780
- width: '100px'
781
- },
782
- badgeConfigs: [
783
- {
784
- enumValue: EnumExclusionProcessStatus.ERROR,
785
- color: angularComponents.EnumBadgeColors.RED
786
- },
787
- {
788
- enumValue: EnumExclusionProcessStatus.PENDING,
789
- color: angularComponents.EnumBadgeColors.YELLOW
790
- },
791
- {
792
- enumValue: EnumExclusionProcessStatus.PROCESSING,
793
- color: angularComponents.EnumBadgeColors.BLUE
794
- },
795
- {
796
- enumValue: EnumExclusionProcessStatus.SUCCESS,
797
- color: angularComponents.EnumBadgeColors.GREEN
798
- }
799
- ]
800
- },
801
- {
802
- field: "startDate",
803
- attributes: ['startDate'],
804
- header: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_start"),
805
- type: angularComponents.EnumColumnFieldType.DATE,
806
- dateFormat: "DD/MM/YYYY HH:mm",
807
- style: {
808
- width: '100px'
809
- }
810
- },
811
- {
812
- field: "finishDate",
813
- attributes: ['finishDate'],
814
- header: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_finish"),
815
- type: angularComponents.EnumColumnFieldType.DATE,
816
- dateFormat: "DD/MM/YYYY HH:mm",
817
- style: {
818
- width: '100px'
819
- }
820
- }
821
- ];
822
- };
823
- ExclusionsListComponent.prototype.getFilterFields = function () {
824
- return [
825
- new angularComponents.FormField({
826
- type: angularComponents.FieldType.String,
827
- name: "description",
828
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_description")
829
- }),
830
- new angularComponents.FormField({
831
- type: angularComponents.FieldType.Enum,
832
- name: "state",
833
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_status"),
834
- placeholder: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_status"),
835
- multiple: true,
836
- options: [
837
- {
838
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_enum_exclusion_process_status_error"),
839
- value: EnumExclusionProcessStatus.ERROR
840
- },
841
- {
842
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_enum_exclusion_process_status_pending"),
843
- value: EnumExclusionProcessStatus.PENDING
844
- },
845
- {
846
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_enum_exclusion_process_status_processing"),
847
- value: EnumExclusionProcessStatus.PROCESSING
848
- },
849
- {
850
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_enum_exclusion_process_status_success"),
851
- value: EnumExclusionProcessStatus.SUCCESS
852
- }
853
- ]
854
- }),
855
- new angularComponents.FormField({
856
- type: angularComponents.FieldType.Date,
857
- name: "startDate",
858
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_start")
859
- }),
860
- new angularComponents.FormField({
861
- type: angularComponents.FieldType.Date,
862
- name: "endDate",
863
- label: this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_finish")
864
- })
865
- ];
866
- };
867
- ExclusionsListComponent.prototype.getEmptyStateTitle = function () {
868
- return this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_empty_state_title");
869
- };
870
- ExclusionsListComponent.prototype.getEmptyStateDescription = function () {
871
- return this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_empty_state_description");
872
- };
873
- ExclusionsListComponent.prototype.getTitle = function () {
874
- return this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_list_title");
875
- };
876
- ExclusionsListComponent.prototype.getDetailsButtonTitle = function () {
877
- return this.translate.instant(this.projectConfigs.getTranslationPrefix() + ".logical_delete_details");
878
- };
879
- ExclusionsListComponent.prototype.onSearch = function () {
880
- var filterData = this.filterFormGroup.getRawValue();
881
- this.filtersPanelCollapsed = true;
882
- this.resetGrid({ filterData: filterData });
883
- };
884
- ExclusionsListComponent.prototype.onClear = function () {
885
- this.filterFormGroup.reset();
886
- var filterData = this.filterFormGroup.getRawValue();
887
- this.resetGrid({ filterData: filterData });
888
- };
889
- ExclusionsListComponent.prototype.onRemoveToken = function (token) {
890
- this.filterFormGroup.get(token.id).setValue(undefined);
891
- var filterData = this.filterFormGroup.getRawValue();
892
- this.resetGrid({ filterData: filterData });
893
- };
894
- ExclusionsListComponent.prototype.onGridChange = function (event) {
895
- var size = event.rows;
896
- var page = event.first / size;
897
- var sort = event.multiSortMeta ? event.multiSortMeta : [];
898
- return this.updateGrid({ page: page, size: size, sort: sort });
899
- };
900
- ExclusionsListComponent.prototype.getFilterTokens = function () {
901
- var _this = this;
902
- var filterData = this.filterFormGroup.value;
903
- return this.filterFields
904
- .filter(function (_a) {
905
- var name = _a.name;
906
- return filterData[name] != undefined && filterData[name] !== "";
907
- })
908
- .map(function (formField) { return _this.filterService.createFilterTokens(formField, filterData[formField.name]); });
909
- };
910
- ExclusionsListComponent.prototype.getFilterQuery = function () {
911
- var _this = this;
912
- var filterData = this.currentListParams.filterData;
913
- var dateFields = ['startDate', 'endDate'];
914
- var filterQuery = this.filterFields
915
- .filter(function (_a) {
916
- var name = _a.name;
917
- return !dateFields.includes(name);
918
- })
919
- .filter(function (_a) {
920
- var name = _a.name;
921
- return filterData[name] != undefined;
922
- })
923
- .map(function (formField) { return _this.filterService.createFilterString(formField, filterData[formField.name]); })
924
- .join(" and ");
925
- if (filterData.startDate && filterData.endDate) {
926
- var startDate = moment(filterData.startDate).format('YYYY-MM-DD');
927
- var endDate = moment(filterData.endDate).format('YYYY-MM-DD');
928
- var dateQuery = "startDate between '" + startDate + "' and '" + endDate + "'";
929
- if (filterQuery) {
930
- filterQuery += " and " + dateQuery;
931
- }
932
- else {
933
- filterQuery = dateQuery;
934
- }
935
- }
936
- return filterQuery;
937
- };
938
- ExclusionsListComponent.prototype.updateGrid = function (listParams) {
939
- if (listParams === void 0) { listParams = {}; }
940
- this.currentListParams = __assign(__assign({}, this.currentListParams), listParams);
941
- var _a = this.currentListParams, page = _a.page, size = _a.size, sort = _a.sort;
942
- this.searchTokens = this.getFilterTokens();
943
- var filterQuery = this.getFilterQuery();
944
- var displayFields = __spread([
945
- 'recordId'
946
- ], this.gridColumns.map(function (column) { return column.field; }));
947
- this.listExclusions({ page: page, size: size, sort: sort, filterQuery: filterQuery, displayFields: displayFields });
948
- };
949
- ExclusionsListComponent.prototype.listExclusions = function (params) {
950
- var _this = this;
951
- this.showLoader = true;
952
- this.serverError = false;
953
- this.changeDetectorRef.detectChanges();
954
- this.logicalDeleteService
955
- .listExclusions(this.entityName, params)
956
- .pipe(operators.takeUntil(this.ngUnsubscribe), operators.catchError(function (err) {
957
- if (err.status >= 500 && err.status < 600) {
958
- _this.serverError = true;
959
- }
960
- throw err;
961
- }), operators.finalize(function () { return _this.showLoader = false; }))
962
- .subscribe(function (list) {
963
- _this.gridData = list.contents;
964
- _this.totalRecords = list.totalElements;
965
- });
966
- };
967
- ExclusionsListComponent.prototype.focusInput = function (elementId) {
968
- var element = document.getElementById("" + elementId);
969
- if (element) {
970
- element.focus();
971
- }
972
- };
973
- ExclusionsListComponent.prototype.resetGrid = function (listParams) {
974
- if (listParams)
975
- this.currentListParams = __assign(__assign({}, this.currentListParams), listParams);
976
- this.currentListParams = __assign(__assign({}, this.currentListParams), { page: 0, sort: [] });
977
- this.table.reset();
978
- };
979
- ExclusionsListComponent.prototype.onClickDetails = function (rowData) {
980
- this.exclusionDetailsComponent.showDetails({
981
- recordId: rowData.recordId,
982
- entityDescription: this.entityDescription,
983
- entityName: this.entityName
984
- });
985
- };
986
- ExclusionsListComponent.ctorParameters = function () { return [
987
- { type: router.ActivatedRoute },
988
- { type: core$1.TranslateService },
989
- { type: forms.FormBuilder },
990
- { type: core.ChangeDetectorRef },
991
- { type: LogicalDeleteService },
992
- { type: FilterService },
993
- { type: LogicalDeleteConfigService }
994
- ]; };
995
- __decorate([
996
- core.ViewChild("exclusionsTable")
997
- ], ExclusionsListComponent.prototype, "table", void 0);
998
- __decorate([
999
- core.ViewChild(ExclusionDetailsComponent)
1000
- ], ExclusionsListComponent.prototype, "exclusionDetailsComponent", void 0);
1001
- ExclusionsListComponent = __decorate([
1002
- core.Component({
1003
- template: "<div>\n <form [formGroup]=\"filterFormGroup\" autocomplete=\"off\">\n <p-panel\n *sLoadingState=\"showLoader\"\n styleClass=\"form-group\"\n [toggleable]=\"true\"\n [(collapsed)]=\"filtersPanelCollapsed\"\n (onAfterToggle)=\"focusInput('description')\"\n >\n <p-header>\n {{ 'filters' | translate }}\n <s-token-list\n [tokens]=\"searchTokens\"\n (tokenRemoved)=\"onRemoveToken($event)\"\n [removableTokens]=\"true\"\n ></s-token-list>\n </p-header>\n <div>\n <s-dynamic-form\n [fields]=\"filterFields\"\n [form]=\"filterFormGroup\"\n [errorMessages]=\"{ pattern: 'error_invalid' | translate }\"\n ></s-dynamic-form>\n </div>\n <p-footer>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <button\n id=\"filter-button\"\n class=\"ui-button\"\n type=\"submit\"\n pButton\n [label]=\"'filter' | translate\"\n (click)=\"onSearch()\"\n ></button>\n <button\n id=\"clear-button\"\n class=\"ui-button ui-button-link\"\n type=\"button\"\n pButton\n [label]=\"'clear' | translate\"\n (click)=\"onClear()\"\n ></button>\n </div>\n </div>\n </p-footer>\n </p-panel>\n </form>\n <p-panel *sLoadingState=\"showLoader\">\n <p-header>\n {{ getTitle() }}\n </p-header>\n <ng-container>\n <s-empty-state\n *ngIf=\"serverError && !showLoader\"\n iconClass=\"fa fa-exclamation-triangle\"\n title=\"{{ 'error_server_title' | translate }}\"\n primaryActionLabel=\"{{ 'error_server_try_again' | translate }}\"\n (primaryAction)=\"resetGrid()\"\n description=\"{{ 'error_server_description' | translate }}\"\n ></s-empty-state>\n\n <s-empty-state\n *ngIf=\"!showLoader && !serverError && totalRecords === 0\"\n [title]=\"getEmptyStateTitle()\"\n [showPrimaryAction]=\"false\"\n [description]=\"getEmptyStateDescription()\"\n ></s-empty-state>\n\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <p-table\n #exclusionsTable\n id=\"exclusionsTable\"\n [hidden]=\"totalRecords === 0 || serverError\"\n [value]=\"gridData\"\n [columns]=\"gridColumns\"\n dataKey=\"id\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [resizableColumns]=\"true\"\n sortMode=\"multiple\"\n [paginator]=\"true\"\n [totalRecords]=\"totalRecords\"\n [rows]=\"10\"\n rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\"\n (onLazyLoad)=\"onGridChange($event)\"\n >\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col\n *ngFor=\"let col of columns\"\n [style.width]=\"col.width\"\n />\n </colgroup>\n </ng-template>\n\n <ng-template\n pTemplate=\"header\"\n let-columns\n >\n <tr>\n <th *ngFor=\"let col of columns\"\n [id]=\"col.field\"\n [pSortableColumn]=\"col.field\"\n [ngStyle]=\"col.style\"\n pResizableColumn\n >\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">\n {{ col.header }}\n </span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n <th id=\"action-column\" style=\"width: 100px\">\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{'A\u00E7\u00F5es'}}</span>\n </div>\n </th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\">\n <tr [pSelectableRow]=\"rowData\">\n <s-table-columns\n [columns]=\"columns\"\n [rowValue]=\"rowData\"\n [locale]=\"locale\">\n </s-table-columns>\n <td style=\"width: 100px\">\n <s-button\n id=\"details-button\"\n priority=\"default\"\n [label]=\"getDetailsButtonTitle()\"\n [auxiliary]=\"true\"\n (onClick)=\"onClickDetails(rowData)\">\n </s-button>\n </td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"paginatorright\">\n <s-table-paging\n [table]=\"exclusionsTable\"\n [totalRecords]=\"totalRecords\"\n ></s-table-paging>\n </ng-template>\n </p-table>\n </div>\n </div>\n </ng-container>\n </p-panel>\n</div>\n\n<s-exclusion-details></s-exclusion-details>",
1004
- providers: []
1005
- })
1006
- ], ExclusionsListComponent);
1007
- return ExclusionsListComponent;
1008
- }());
1009
-
1010
- var ExclusionsListFeatureRoutingGuard = /** @class */ (function () {
1011
- function ExclusionsListFeatureRoutingGuard() {
1012
- }
1013
- ExclusionsListFeatureRoutingGuard.prototype.canActivate = function () {
1014
- return true;
1015
- };
1016
- ExclusionsListFeatureRoutingGuard = __decorate([
1017
- core.Injectable()
1018
- ], ExclusionsListFeatureRoutingGuard);
1019
- return ExclusionsListFeatureRoutingGuard;
1020
- }());
1021
- var ExclusionsListFeatureRoutingListTitleResolver = /** @class */ (function () {
1022
- function ExclusionsListFeatureRoutingListTitleResolver(translate, projectConfigs) {
1023
- this.translate = translate;
1024
- this.projectConfigs = projectConfigs;
1025
- }
1026
- ExclusionsListFeatureRoutingListTitleResolver.prototype.resolve = function () {
1027
- return this.translate.get(this.projectConfigs.getTranslationPrefix() + ".logical_delete_list_title");
1028
- };
1029
- ExclusionsListFeatureRoutingListTitleResolver.ctorParameters = function () { return [
1030
- { type: core$1.TranslateService },
1031
- { type: LogicalDeleteConfigService }
1032
- ]; };
1033
- ExclusionsListFeatureRoutingListTitleResolver = __decorate([
1034
- core.Injectable()
1035
- ], ExclusionsListFeatureRoutingListTitleResolver);
1036
- return ExclusionsListFeatureRoutingListTitleResolver;
1037
- }());
1038
- var ExclusionsListFeatureRoutingPermissionResolver = /** @class */ (function () {
1039
- function ExclusionsListFeatureRoutingPermissionResolver(permissionsService) {
1040
- this.permissionsService = permissionsService;
1041
- }
1042
- ExclusionsListFeatureRoutingPermissionResolver.prototype.resolve = function () {
1043
- return this.permissionsService.get();
1044
- };
1045
- ExclusionsListFeatureRoutingPermissionResolver.ctorParameters = function () { return [
1046
- { type: platformComponents.PermissionsService }
1047
- ]; };
1048
- ExclusionsListFeatureRoutingPermissionResolver = __decorate([
1049
- core.Injectable()
1050
- ], ExclusionsListFeatureRoutingPermissionResolver);
1051
- return ExclusionsListFeatureRoutingPermissionResolver;
1052
- }());
1053
- var ExclusionsListFeatureRoutingLocaleResolver = /** @class */ (function () {
1054
- function ExclusionsListFeatureRoutingLocaleResolver(localeService) {
1055
- this.localeService = localeService;
1056
- }
1057
- ExclusionsListFeatureRoutingLocaleResolver.prototype.resolve = function () {
1058
- return this.localeService.get();
1059
- };
1060
- ExclusionsListFeatureRoutingLocaleResolver.ctorParameters = function () { return [
1061
- { type: angularComponents.LocaleService }
1062
- ]; };
1063
- ExclusionsListFeatureRoutingLocaleResolver = __decorate([
1064
- core.Injectable()
1065
- ], ExclusionsListFeatureRoutingLocaleResolver);
1066
- return ExclusionsListFeatureRoutingLocaleResolver;
1067
- }());
1068
- var EmptyComponent = /** @class */ (function () {
1069
- function EmptyComponent() {
1070
- }
1071
- EmptyComponent = __decorate([
1072
- core.Component({
1073
- template: "<router-outlet></router-outlet>"
1074
- })
1075
- ], EmptyComponent);
1076
- return EmptyComponent;
1077
- }());
1078
- var routes = [
1079
- {
1080
- path: "exclusions-list",
1081
- component: EmptyComponent,
1082
- canActivate: [
1083
- ExclusionsListFeatureRoutingGuard
1084
- ],
1085
- resolve: {
1086
- allPermissions: ExclusionsListFeatureRoutingPermissionResolver,
1087
- localeConfig: ExclusionsListFeatureRoutingLocaleResolver,
1088
- routeTitle: ExclusionsListFeatureRoutingListTitleResolver
1089
- },
1090
- children: [
1091
- {
1092
- path: ":entityName",
1093
- component: ExclusionsListComponent
1094
- }
1095
- ]
1096
- }
1097
- ];
1098
- var ExclusionsListFeatureRouting = /** @class */ (function () {
1099
- function ExclusionsListFeatureRouting() {
1100
- }
1101
- ExclusionsListFeatureRouting = __decorate([
1102
- core.NgModule({
1103
- imports: [
1104
- router.RouterModule.forChild(routes)
1105
- ],
1106
- exports: [
1107
- router.RouterModule
1108
- ],
1109
- providers: [
1110
- ExclusionsListFeatureRoutingGuard,
1111
- ExclusionsListFeatureRoutingPermissionResolver,
1112
- ExclusionsListFeatureRoutingLocaleResolver,
1113
- ExclusionsListFeatureRoutingListTitleResolver
1114
- ],
1115
- declarations: [
1116
- EmptyComponent
1117
- ]
1118
- })
1119
- ], ExclusionsListFeatureRouting);
1120
- return ExclusionsListFeatureRouting;
1121
- }());
1122
-
1123
- var ExclusionsListModule = /** @class */ (function () {
1124
- function ExclusionsListModule() {
1125
- }
1126
- ExclusionsListModule = __decorate([
1127
- core.NgModule({
1128
- imports: [
1129
- forms.FormsModule,
1130
- forms.ReactiveFormsModule,
1131
- core$1.TranslateModule,
1132
- common.CommonModule,
1133
- angularComponents.ControlErrorsModule,
1134
- angularComponents.ButtonModule,
1135
- panel.PanelModule,
1136
- inputtext.InputTextModule,
1137
- angularComponents.InfoSignModule,
1138
- confirmdialog.ConfirmDialogModule,
1139
- dialog.DialogModule,
1140
- table.TableModule,
1141
- angularComponents.TableModule,
1142
- angularComponents.LoadingStateModule,
1143
- angularComponents.EmptyStateModule,
1144
- angularComponents.DynamicFormModule,
1145
- angularComponents.TokenListModule,
1146
- angularComponents.LocaleModule.forChild(),
1147
- ExclusionDetailsModule,
1148
- ExclusionsListFeatureRouting
1149
- ],
1150
- declarations: [ExclusionsListComponent],
1151
- exports: [ExclusionsListComponent],
1152
- entryComponents: [ExclusionsListComponent]
1153
- })
1154
- ], ExclusionsListModule);
1155
- return ExclusionsListModule;
1156
- }());
1157
-
1158
712
  var LogicalDeleteModule = /** @class */ (function () {
1159
713
  function LogicalDeleteModule() {
1160
714
  }
@@ -1179,25 +733,13 @@
1179
733
  return LogicalDeleteModule;
1180
734
  }());
1181
735
 
1182
- exports.EmptyComponent = EmptyComponent;
1183
736
  exports.ExclusionDetailsComponent = ExclusionDetailsComponent;
1184
737
  exports.ExclusionDetailsModule = ExclusionDetailsModule;
1185
- exports.ExclusionsListComponent = ExclusionsListComponent;
1186
- exports.ExclusionsListFeatureRouting = ExclusionsListFeatureRouting;
1187
- exports.ExclusionsListFeatureRoutingGuard = ExclusionsListFeatureRoutingGuard;
1188
- exports.ExclusionsListFeatureRoutingListTitleResolver = ExclusionsListFeatureRoutingListTitleResolver;
1189
- exports.ExclusionsListFeatureRoutingLocaleResolver = ExclusionsListFeatureRoutingLocaleResolver;
1190
- exports.ExclusionsListFeatureRoutingPermissionResolver = ExclusionsListFeatureRoutingPermissionResolver;
1191
- exports.ExclusionsListModule = ExclusionsListModule;
1192
738
  exports.LogicalDeleteModule = LogicalDeleteModule;
1193
- exports.routes = routes;
1194
739
  exports.ɵa = LogicalDeleteService;
1195
740
  exports.ɵb = LogicalDeleteConfigService;
1196
741
  exports.ɵc = ProjectConfigsInjectionToken;
1197
- exports.ɵe = ExclusionDetailsModule;
1198
- exports.ɵf = ExclusionDetailsComponent;
1199
- exports.ɵg = LogicalDeleteService;
1200
- exports.ɵh = FilterService;
742
+ exports.ɵe = FilterService;
1201
743
 
1202
744
  Object.defineProperty(exports, '__esModule', { value: true });
1203
745