itc-components-library20 0.0.8 → 1.0.1

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.
@@ -3679,6 +3679,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
3679
3679
  args: [API_CONFIG]
3680
3680
  }] }] });
3681
3681
 
3682
+ //Servizio api per le chiamate riguardarti le strutture
3683
+ class ApiReportService {
3684
+ gateway;
3685
+ endpoint;
3686
+ constructor(gateway) {
3687
+ this.gateway = gateway;
3688
+ this.endpoint = `${this.gateway}/Report/`;
3689
+ }
3690
+ http = inject(HttpClient);
3691
+ //###############
3692
+ //##### GET #####
3693
+ //###############
3694
+ getPatientReportPdf(patientId, from, to) {
3695
+ const params = new HttpParams().set('patientId', patientId).set('from', from || '').set('to', to || '');
3696
+ return this.http.get(`${this.endpoint}Patient/Pdf`, {
3697
+ params: params,
3698
+ });
3699
+ }
3700
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ApiReportService, deps: [{ token: API_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
3701
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ApiReportService, providedIn: 'root' });
3702
+ }
3703
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ApiReportService, decorators: [{
3704
+ type: Injectable,
3705
+ args: [{
3706
+ providedIn: 'root',
3707
+ }]
3708
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
3709
+ type: Inject,
3710
+ args: [API_CONFIG]
3711
+ }] }] });
3712
+
3682
3713
  /*
3683
3714
  * Public API Surface of itc-library20
3684
3715
  */
@@ -3687,5 +3718,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImpor
3687
3718
  * Generated bundle index. Do not edit.
3688
3719
  */
3689
3720
 
3690
- export { API_CONFIG, ApiAccountDictionaryService, ApiAccountService, ApiAdministrationService, ApiEventService, ApiExamAppointmentService, ApiExamDictionaryService, ApiExamService, ApiGeographyService, ApiKitService, ApiPatientDictionaryService, ApiPatientService, ApiRequestDictionaryService, ApiRequestService, ApiStructureDictionaryService, ApiStructureService, ApiSurveyDictionaryService, ApiSurveyService, BasicTable, Calendar, CalendarView, FormatDate, ItcLibrary20, Message, Minio, PRIMENG_ITALIAN_LOCALE, PrimaryButton, PrimengItalianLocale, SecondaryButton, SortableTable, Survey, SurveyRadio, SurveyText, SurveyValuebox, ThirdButton };
3721
+ export { API_CONFIG, ApiAccountDictionaryService, ApiAccountService, ApiAdministrationService, ApiEventService, ApiExamAppointmentService, ApiExamDictionaryService, ApiExamService, ApiGeographyService, ApiKitService, ApiPatientDictionaryService, ApiPatientService, ApiReportService, ApiRequestDictionaryService, ApiRequestService, ApiStructureDictionaryService, ApiStructureService, ApiSurveyDictionaryService, ApiSurveyService, BasicTable, Calendar, CalendarView, FormatDate, ItcLibrary20, Message, Minio, PRIMENG_ITALIAN_LOCALE, PrimaryButton, PrimengItalianLocale, SecondaryButton, SortableTable, Survey, SurveyRadio, SurveyText, SurveyValuebox, ThirdButton };
3691
3722
  //# sourceMappingURL=itc-components-library20.mjs.map