@tsi-developpement/tsi-shared-ui 1.11.1 → 1.11.3
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/esm2022/lib/end-points/reporting-endpoints.mjs +3 -1
- package/esm2022/lib/models/reporting/report-template-response.mjs +1 -1
- package/esm2022/lib/services/reporting/reporting.service.mjs +4 -1
- package/esm2022/lib/tsi-components/create-or-edit-entity-informations/create-or-edit-entity-informations.component.mjs +3 -3
- package/esm2022/lib/tsi-components/manage-reporting/add-report-popup/add-report-popup.component.mjs +15 -3
- package/esm2022/lib/tsi-components/manage-reporting/manage-reporting.component.mjs +55 -3
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs +75 -6
- package/fesm2022/tsi-developpement-tsi-shared-ui.mjs.map +1 -1
- package/lib/consts/app-providers.d.ts +1 -1
- package/lib/end-points/reporting-endpoints.d.ts +2 -0
- package/lib/models/reporting/report-template-response.d.ts +1 -0
- package/lib/providers/shared-ui-tsi.provider.d.ts +1 -1
- package/lib/services/reporting/reporting.service.d.ts +1 -0
- package/lib/tsi-components/manage-reporting/add-report-popup/add-report-popup.component.d.ts +3 -0
- package/lib/tsi-components/manage-reporting/manage-reporting.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,4 +3,4 @@ import { FormStateService } from "../services/form/form-state.service";
|
|
|
3
3
|
import { PresentationDesignerBaseService } from "../services/presentation-setting/presentation-designer-base.service";
|
|
4
4
|
import { GenericValidationStateService } from "../services/validation/generic-validation-state.service";
|
|
5
5
|
import { InputRegistryService } from "../services/validation/input-registry.service";
|
|
6
|
-
export declare const appProviders: (typeof
|
|
6
|
+
export declare const appProviders: (typeof GenericValidationStateService | typeof InputRegistryService | typeof PresentationDesignerBaseService | typeof DynamicFormService | typeof FormStateService)[];
|
|
@@ -26,6 +26,7 @@ export declare const ReportingSegments: {
|
|
|
26
26
|
deleteDefaultReportTemplateFile: string;
|
|
27
27
|
dashboardModule: string;
|
|
28
28
|
toggleSeedOnStartup: string;
|
|
29
|
+
duplicateReport: string;
|
|
29
30
|
};
|
|
30
31
|
export declare const ReportingEndpoints: {
|
|
31
32
|
addToBuiltInTemplate: (reportUid: string) => string;
|
|
@@ -52,4 +53,5 @@ export declare const ReportingEndpoints: {
|
|
|
52
53
|
getReportDescriminator: (entityName: string, propertyName: string, propertyValue: string) => string;
|
|
53
54
|
getReportTemplateByModuleCode: (moduleCode: string) => string;
|
|
54
55
|
toggleSeedOnStartup: (formName: string, templateName: string) => string;
|
|
56
|
+
duplicateReport: (uid: string) => string;
|
|
55
57
|
};
|
|
@@ -2,7 +2,7 @@ import { DynamicDialogConfig, DynamicDialogRef } from "primeng/dynamicdialog";
|
|
|
2
2
|
import { TabView } from "primeng/tabview";
|
|
3
3
|
import { JwtHelperService } from "@auth0/angular-jwt";
|
|
4
4
|
import { ConfirmationService, MessageService } from "primeng/api";
|
|
5
|
-
export declare const SharedUiTsiProviders: (typeof
|
|
5
|
+
export declare const SharedUiTsiProviders: (typeof DynamicDialogRef | typeof DynamicDialogConfig | typeof JwtHelperService | typeof TabView | typeof MessageService | typeof ConfirmationService | {
|
|
6
6
|
provide: import("@angular/core").InjectionToken<unknown>;
|
|
7
7
|
useValue: import("@angular/core").InjectionToken<unknown>;
|
|
8
8
|
})[];
|
|
@@ -28,6 +28,7 @@ export declare class ReportingService {
|
|
|
28
28
|
insertNewUidInRestEndPoint(restEndPoint?: string, newUid?: string): string | undefined;
|
|
29
29
|
deleteDefaultReportTemplateFile(formName: string, templateName: string): Observable<any>;
|
|
30
30
|
toggleSeedOnStartup(formName: string, templateName: string): Observable<any>;
|
|
31
|
+
duplicateReport(uid: string, newName: string): Observable<any>;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportingService, never>;
|
|
32
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReportingService>;
|
|
33
34
|
}
|
package/lib/tsi-components/manage-reporting/add-report-popup/add-report-popup.component.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare class AddReportPopupComponent extends TsiFormComponentBaseCompone
|
|
|
32
32
|
duplicate: string;
|
|
33
33
|
};
|
|
34
34
|
isEditionPersonnalise: boolean;
|
|
35
|
+
isReadOnlySource: boolean;
|
|
35
36
|
administrationEndpoints: {
|
|
36
37
|
getAllEntityStatus: (classeName: string | undefined) => string;
|
|
37
38
|
getStatusTransitions: (className: string, currentStatus: string) => string;
|
|
@@ -156,6 +157,8 @@ export declare class AddReportPopupComponent extends TsiFormComponentBaseCompone
|
|
|
156
157
|
enableMultiSelectEndpoints: boolean;
|
|
157
158
|
private _isReportForFiche;
|
|
158
159
|
get isReportForFiche(): boolean;
|
|
160
|
+
get lockAllButName(): boolean;
|
|
161
|
+
get lockAllButDisplay(): boolean;
|
|
159
162
|
report: {
|
|
160
163
|
reportType: string;
|
|
161
164
|
reportName: string;
|
|
@@ -92,6 +92,7 @@ export declare class ManageReportingComponent extends TsiFormComponentBaseCompon
|
|
|
92
92
|
_sendReport(uid: string): void;
|
|
93
93
|
_editReport(uid: string): void;
|
|
94
94
|
private _deleteReport;
|
|
95
|
+
private _duplicateReport;
|
|
95
96
|
private _setDefaultReport;
|
|
96
97
|
private _exportReport;
|
|
97
98
|
private _importToReport;
|