@eqproject/eqp-dynamic-module 2.2.8 → 2.2.9

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.
@@ -3524,10 +3524,10 @@ class ListViewFormRecordComponent {
3524
3524
  }
3525
3525
  }
3526
3526
  ListViewFormRecordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListViewFormRecordComponent, deps: [{ token: UtilityHelperService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3527
- ListViewFormRecordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ListViewFormRecordComponent, selector: "list-view-form-record", inputs: { debugMode: "debugMode", configurations: "configurations", compileConfigurations: "compileConfigurations", endPointConfiguration: "endPointConfiguration", userID: "userID", formID: "formID", form: "form" }, outputs: { onAddViewEditRecord: "onAddViewEditRecord", onDeleteRecord: "onDeleteRecord", onDuplicateRecord: "onDuplicateRecord", saveRecordEvent: "saveRecordEvent", afterSaveRecordEvent: "afterSaveRecordEvent" }, viewQueries: [{ propertyName: "tableRecords", first: true, predicate: ["tableRecords"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-card class=\"list-view-form-record\">\r\n <mat-card-header class=\"align-items-center justify-content-between\">\r\n <mat-card-title *ngIf=\"showTitle && loader\">Elenco {{ form.Name }}</mat-card-title>\r\n <!-- <mat-card-subtitle>Start</mat-card-subtitle> -->\r\n <mat-card-actions>\r\n <button class=\"btn btn-primary\" mat-raised-button color=\"primary\" type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n <!-- <button mat-button>LIKE</button> -->\r\n <!-- <button mat-button>SHARE</button> -->\r\n </mat-card-actions>\r\n </mat-card-header>\r\n <mat-card-content>\r\n\r\n\r\n\r\n <mat-accordion [hideToggle]=\"test\" [multi]=\"true\">\r\n <mat-expansion-panel *ngFor=\"let panel of panels; index as i\" \r\n [expanded]=\"panel.isOpen\"\r\n [disabled]=\"1\" \r\n >\r\n <mat-expansion-panel-header\r\n (click)=\"togglePanel(panel)\">\r\n <mat-panel-title>\r\n {{ form.Name }} v.{{ panel.record.Version }} - {{ panel.record.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <!--#region BOTTONI PER LE AZIONI -->\r\n <mat-panel-description>\r\n <button mat-icon-button class=\"record-icon view-button-icon\" aria-label=\"Visualizza\"\r\n *ngIf=\"defaultListActions.view == true && (defaultListActions.edit == true || defaultListActions.duplicate == true || defaultListActions.delete == true)\"\r\n (click)=\"viewRecord(panel, true, i, $event)\">\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon edit-button-icon\" aria-label=\"Modifica\"\r\n *ngIf=\"defaultListActions.edit == true\"\r\n (click)=\"EditRecord(panel, false, i, $event)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon duplicate-button-icon\" aria-label=\"Duplica\" \r\n *ngIf=\"defaultListActions.duplicate == true\"\r\n (click)=\"duplicateRecord(panel.record, $event)\">\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon delete-button-icon\" aria-label=\"Elimina\" \r\n *ngIf=\"defaultListActions.delete == true\"\r\n (click)=\"deleteRecord(panel.record, $event)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n \r\n </mat-panel-description>\r\n <!--#endregion BOTTONI PER LE AZIONI -->\r\n </mat-expansion-panel-header>\r\n\r\n <!-- #region CONTENUTO -->\r\n <ng-container *ngIf=\"panel.pageState != null\">\r\n <lib-single-record\r\n [debugMode]=\"debugMode\"\r\n [record] = \"panel.record\" \r\n [endPointConfiguration] = \"endPointConfiguration\"\r\n [form]=\"form\"\r\n [userID]=\"userID\"\r\n [outCompileConfigurations]=\"outCompileConfigurations\"\r\n [pageState]=\"panel.pageState\"\r\n >\r\n\r\n </lib-single-record>\r\n </ng-container>\r\n\r\n <!-- <ng-container *ngIf=\"selectedIndex == i\">\r\n\r\n <ng-container *ngIf=\"visualizzaContenuto\">\r\n <view-form-record \r\n *ngIf=\"loader && selectedRecord\" \r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\" \r\n [showBackButton]=\"false\">\r\n </view-form-record>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"modificaContenuto\">\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [userID]=\"userID\"\r\n \r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n \r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n </ng-container>\r\n\r\n </ng-container> -->\r\n\r\n <!--#endregion CONTENUTO -->\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n\r\n\r\n </mat-card-content>\r\n <mat-card-footer>\r\n <!-- <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar> -->\r\n </mat-card-footer>\r\n</mat-card>\r\n\r\n<!--#region old -->\r\n<!-- \r\n <div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\">\r\n <b>Elenco {{ form.Name }}</b>\r\n </h4>\r\n </div>\r\n <div class=\"col-md-6 text-right pb-3\" *ngIf=\"defaultListActions.add\">\r\n <button\r\n class=\"btn btn-primary\"\r\n mat-raised-button\r\n color=\"primary\"\r\n type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\"\r\n >\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n </div>\r\n </div> \r\n -->\r\n\r\n<!-- <eqp-table #tableRecords [data]=\"configurations.values\" [columns]=\"columns\"></eqp-table> -->\r\n\r\n<!-- \r\n <mat-accordion [hideToggle]=\"test\">\r\n <mat-expansion-panel\r\n *ngFor=\"let item of listConfigurations.values; index as i\"\r\n [expanded]=\"panelOpenState[i]\"\r\n [disabled]=\"1\"\r\n >\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ item.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <mat-panel-description>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, true, i)\"\r\n >\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, false, i)\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Duplica\"\r\n (click)=\"duplicateRecord(item)\"\r\n >\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Elimina\"\r\n (click)=\"deleteRecord(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n {{ form.Name }}\r\n </mat-panel-description>\r\n </mat-expansion-panel-header>\r\n\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n\r\n <view-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n [showBackButton]=\"false\"\r\n >\r\n </view-form-record>\r\n </mat-expansion-panel>\r\n </mat-accordion> \r\n -->\r\n<!--#endregion old -->", styles: ["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}.mat-expansion-panel-header[aria-disabled=true]{color:#0000008a}\n"], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "component", type: i3.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i3.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "directive", type: i3.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: i3.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i3.MatCardFooter, selector: "mat-card-footer" }, { kind: "directive", type: i4$3.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i4$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i4$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i4$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i4$3.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SingleRecordComponent, selector: "lib-single-record", inputs: ["debugMode", "endPointConfiguration", "record", "pageState", "userID", "form", "showBackButton", "outCompileConfigurations"], outputs: ["saveRecordEvent", "afterSaveRecordEvent"] }, { kind: "pipe", type: i6.DatePipe, name: "date" }] });
3527
+ ListViewFormRecordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ListViewFormRecordComponent, selector: "list-view-form-record", inputs: { debugMode: "debugMode", configurations: "configurations", compileConfigurations: "compileConfigurations", endPointConfiguration: "endPointConfiguration", userID: "userID", formID: "formID", form: "form" }, outputs: { onAddViewEditRecord: "onAddViewEditRecord", onDeleteRecord: "onDeleteRecord", onDuplicateRecord: "onDuplicateRecord", saveRecordEvent: "saveRecordEvent", afterSaveRecordEvent: "afterSaveRecordEvent" }, viewQueries: [{ propertyName: "tableRecords", first: true, predicate: ["tableRecords"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<mat-card class=\"list-view-form-record\">\r\n <mat-card-header class=\"align-items-center justify-content-between\">\r\n <mat-card-title *ngIf=\"showTitle && loader\">Elenco {{ form.Name }}</mat-card-title>\r\n <!-- <mat-card-subtitle>Start</mat-card-subtitle> -->\r\n <mat-card-actions>\r\n <button \r\n *ngIf=\"defaultListActions.add\"\r\n class=\"btn btn-primary\" \r\n mat-raised-button \r\n color=\"primary\" \r\n type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n <!-- <button mat-button>LIKE</button> -->\r\n <!-- <button mat-button>SHARE</button> -->\r\n </mat-card-actions>\r\n </mat-card-header>\r\n <mat-card-content>\r\n\r\n\r\n\r\n <mat-accordion [hideToggle]=\"test\" [multi]=\"true\">\r\n <mat-expansion-panel *ngFor=\"let panel of panels; index as i\" \r\n [expanded]=\"panel.isOpen\"\r\n [disabled]=\"1\" \r\n >\r\n <mat-expansion-panel-header\r\n (click)=\"togglePanel(panel)\">\r\n <mat-panel-title>\r\n {{ form.Name }} v.{{ panel.record.Version }} - {{ panel.record.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <!--#region BOTTONI PER LE AZIONI -->\r\n <mat-panel-description>\r\n <button mat-icon-button class=\"record-icon view-button-icon\" aria-label=\"Visualizza\"\r\n *ngIf=\"defaultListActions.view == true && (defaultListActions.edit == true || defaultListActions.duplicate == true || defaultListActions.delete == true)\"\r\n (click)=\"viewRecord(panel, true, i, $event)\">\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon edit-button-icon\" aria-label=\"Modifica\"\r\n *ngIf=\"defaultListActions.edit == true\"\r\n (click)=\"EditRecord(panel, false, i, $event)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon duplicate-button-icon\" aria-label=\"Duplica\" \r\n *ngIf=\"defaultListActions.duplicate == true\"\r\n (click)=\"duplicateRecord(panel.record, $event)\">\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon delete-button-icon\" aria-label=\"Elimina\" \r\n *ngIf=\"defaultListActions.delete == true\"\r\n (click)=\"deleteRecord(panel.record, $event)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n \r\n </mat-panel-description>\r\n <!--#endregion BOTTONI PER LE AZIONI -->\r\n </mat-expansion-panel-header>\r\n\r\n <!-- #region CONTENUTO -->\r\n <ng-container *ngIf=\"panel.pageState != null\">\r\n <lib-single-record\r\n [debugMode]=\"debugMode\"\r\n [record] = \"panel.record\" \r\n [endPointConfiguration] = \"endPointConfiguration\"\r\n [form]=\"form\"\r\n [userID]=\"userID\"\r\n [outCompileConfigurations]=\"outCompileConfigurations\"\r\n [pageState]=\"panel.pageState\"\r\n >\r\n\r\n </lib-single-record>\r\n </ng-container>\r\n\r\n <!-- <ng-container *ngIf=\"selectedIndex == i\">\r\n\r\n <ng-container *ngIf=\"visualizzaContenuto\">\r\n <view-form-record \r\n *ngIf=\"loader && selectedRecord\" \r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\" \r\n [showBackButton]=\"false\">\r\n </view-form-record>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"modificaContenuto\">\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [userID]=\"userID\"\r\n \r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n \r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n </ng-container>\r\n\r\n </ng-container> -->\r\n\r\n <!--#endregion CONTENUTO -->\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n\r\n\r\n </mat-card-content>\r\n <mat-card-footer>\r\n <!-- <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar> -->\r\n </mat-card-footer>\r\n</mat-card>\r\n\r\n<!--#region old -->\r\n<!-- \r\n <div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\">\r\n <b>Elenco {{ form.Name }}</b>\r\n </h4>\r\n </div>\r\n <div class=\"col-md-6 text-right pb-3\" *ngIf=\"defaultListActions.add\">\r\n <button\r\n class=\"btn btn-primary\"\r\n mat-raised-button\r\n color=\"primary\"\r\n type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\"\r\n >\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n </div>\r\n </div> \r\n -->\r\n\r\n<!-- <eqp-table #tableRecords [data]=\"configurations.values\" [columns]=\"columns\"></eqp-table> -->\r\n\r\n<!-- \r\n <mat-accordion [hideToggle]=\"test\">\r\n <mat-expansion-panel\r\n *ngFor=\"let item of listConfigurations.values; index as i\"\r\n [expanded]=\"panelOpenState[i]\"\r\n [disabled]=\"1\"\r\n >\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ item.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <mat-panel-description>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, true, i)\"\r\n >\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, false, i)\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Duplica\"\r\n (click)=\"duplicateRecord(item)\"\r\n >\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Elimina\"\r\n (click)=\"deleteRecord(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n {{ form.Name }}\r\n </mat-panel-description>\r\n </mat-expansion-panel-header>\r\n\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n\r\n <view-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n [showBackButton]=\"false\"\r\n >\r\n </view-form-record>\r\n </mat-expansion-panel>\r\n </mat-accordion> \r\n -->\r\n<!--#endregion old -->", styles: ["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}.mat-expansion-panel-header[aria-disabled=true]{color:#0000008a}\n"], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "component", type: i3.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i3.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "directive", type: i3.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: i3.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i3.MatCardFooter, selector: "mat-card-footer" }, { kind: "directive", type: i4$3.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i4$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i4$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i4$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i4$3.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SingleRecordComponent, selector: "lib-single-record", inputs: ["debugMode", "endPointConfiguration", "record", "pageState", "userID", "form", "showBackButton", "outCompileConfigurations"], outputs: ["saveRecordEvent", "afterSaveRecordEvent"] }, { kind: "pipe", type: i6.DatePipe, name: "date" }] });
3528
3528
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ListViewFormRecordComponent, decorators: [{
3529
3529
  type: Component,
3530
- args: [{ selector: "list-view-form-record", template: "<mat-card class=\"list-view-form-record\">\r\n <mat-card-header class=\"align-items-center justify-content-between\">\r\n <mat-card-title *ngIf=\"showTitle && loader\">Elenco {{ form.Name }}</mat-card-title>\r\n <!-- <mat-card-subtitle>Start</mat-card-subtitle> -->\r\n <mat-card-actions>\r\n <button class=\"btn btn-primary\" mat-raised-button color=\"primary\" type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n <!-- <button mat-button>LIKE</button> -->\r\n <!-- <button mat-button>SHARE</button> -->\r\n </mat-card-actions>\r\n </mat-card-header>\r\n <mat-card-content>\r\n\r\n\r\n\r\n <mat-accordion [hideToggle]=\"test\" [multi]=\"true\">\r\n <mat-expansion-panel *ngFor=\"let panel of panels; index as i\" \r\n [expanded]=\"panel.isOpen\"\r\n [disabled]=\"1\" \r\n >\r\n <mat-expansion-panel-header\r\n (click)=\"togglePanel(panel)\">\r\n <mat-panel-title>\r\n {{ form.Name }} v.{{ panel.record.Version }} - {{ panel.record.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <!--#region BOTTONI PER LE AZIONI -->\r\n <mat-panel-description>\r\n <button mat-icon-button class=\"record-icon view-button-icon\" aria-label=\"Visualizza\"\r\n *ngIf=\"defaultListActions.view == true && (defaultListActions.edit == true || defaultListActions.duplicate == true || defaultListActions.delete == true)\"\r\n (click)=\"viewRecord(panel, true, i, $event)\">\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon edit-button-icon\" aria-label=\"Modifica\"\r\n *ngIf=\"defaultListActions.edit == true\"\r\n (click)=\"EditRecord(panel, false, i, $event)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon duplicate-button-icon\" aria-label=\"Duplica\" \r\n *ngIf=\"defaultListActions.duplicate == true\"\r\n (click)=\"duplicateRecord(panel.record, $event)\">\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon delete-button-icon\" aria-label=\"Elimina\" \r\n *ngIf=\"defaultListActions.delete == true\"\r\n (click)=\"deleteRecord(panel.record, $event)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n \r\n </mat-panel-description>\r\n <!--#endregion BOTTONI PER LE AZIONI -->\r\n </mat-expansion-panel-header>\r\n\r\n <!-- #region CONTENUTO -->\r\n <ng-container *ngIf=\"panel.pageState != null\">\r\n <lib-single-record\r\n [debugMode]=\"debugMode\"\r\n [record] = \"panel.record\" \r\n [endPointConfiguration] = \"endPointConfiguration\"\r\n [form]=\"form\"\r\n [userID]=\"userID\"\r\n [outCompileConfigurations]=\"outCompileConfigurations\"\r\n [pageState]=\"panel.pageState\"\r\n >\r\n\r\n </lib-single-record>\r\n </ng-container>\r\n\r\n <!-- <ng-container *ngIf=\"selectedIndex == i\">\r\n\r\n <ng-container *ngIf=\"visualizzaContenuto\">\r\n <view-form-record \r\n *ngIf=\"loader && selectedRecord\" \r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\" \r\n [showBackButton]=\"false\">\r\n </view-form-record>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"modificaContenuto\">\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [userID]=\"userID\"\r\n \r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n \r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n </ng-container>\r\n\r\n </ng-container> -->\r\n\r\n <!--#endregion CONTENUTO -->\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n\r\n\r\n </mat-card-content>\r\n <mat-card-footer>\r\n <!-- <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar> -->\r\n </mat-card-footer>\r\n</mat-card>\r\n\r\n<!--#region old -->\r\n<!-- \r\n <div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\">\r\n <b>Elenco {{ form.Name }}</b>\r\n </h4>\r\n </div>\r\n <div class=\"col-md-6 text-right pb-3\" *ngIf=\"defaultListActions.add\">\r\n <button\r\n class=\"btn btn-primary\"\r\n mat-raised-button\r\n color=\"primary\"\r\n type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\"\r\n >\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n </div>\r\n </div> \r\n -->\r\n\r\n<!-- <eqp-table #tableRecords [data]=\"configurations.values\" [columns]=\"columns\"></eqp-table> -->\r\n\r\n<!-- \r\n <mat-accordion [hideToggle]=\"test\">\r\n <mat-expansion-panel\r\n *ngFor=\"let item of listConfigurations.values; index as i\"\r\n [expanded]=\"panelOpenState[i]\"\r\n [disabled]=\"1\"\r\n >\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ item.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <mat-panel-description>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, true, i)\"\r\n >\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, false, i)\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Duplica\"\r\n (click)=\"duplicateRecord(item)\"\r\n >\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Elimina\"\r\n (click)=\"deleteRecord(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n {{ form.Name }}\r\n </mat-panel-description>\r\n </mat-expansion-panel-header>\r\n\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n\r\n <view-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n [showBackButton]=\"false\"\r\n >\r\n </view-form-record>\r\n </mat-expansion-panel>\r\n </mat-accordion> \r\n -->\r\n<!--#endregion old -->", styles: ["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}.mat-expansion-panel-header[aria-disabled=true]{color:#0000008a}\n"] }]
3530
+ args: [{ selector: "list-view-form-record", template: "<mat-card class=\"list-view-form-record\">\r\n <mat-card-header class=\"align-items-center justify-content-between\">\r\n <mat-card-title *ngIf=\"showTitle && loader\">Elenco {{ form.Name }}</mat-card-title>\r\n <!-- <mat-card-subtitle>Start</mat-card-subtitle> -->\r\n <mat-card-actions>\r\n <button \r\n *ngIf=\"defaultListActions.add\"\r\n class=\"btn btn-primary\" \r\n mat-raised-button \r\n color=\"primary\" \r\n type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n <!-- <button mat-button>LIKE</button> -->\r\n <!-- <button mat-button>SHARE</button> -->\r\n </mat-card-actions>\r\n </mat-card-header>\r\n <mat-card-content>\r\n\r\n\r\n\r\n <mat-accordion [hideToggle]=\"test\" [multi]=\"true\">\r\n <mat-expansion-panel *ngFor=\"let panel of panels; index as i\" \r\n [expanded]=\"panel.isOpen\"\r\n [disabled]=\"1\" \r\n >\r\n <mat-expansion-panel-header\r\n (click)=\"togglePanel(panel)\">\r\n <mat-panel-title>\r\n {{ form.Name }} v.{{ panel.record.Version }} - {{ panel.record.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <!--#region BOTTONI PER LE AZIONI -->\r\n <mat-panel-description>\r\n <button mat-icon-button class=\"record-icon view-button-icon\" aria-label=\"Visualizza\"\r\n *ngIf=\"defaultListActions.view == true && (defaultListActions.edit == true || defaultListActions.duplicate == true || defaultListActions.delete == true)\"\r\n (click)=\"viewRecord(panel, true, i, $event)\">\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon edit-button-icon\" aria-label=\"Modifica\"\r\n *ngIf=\"defaultListActions.edit == true\"\r\n (click)=\"EditRecord(panel, false, i, $event)\">\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon duplicate-button-icon\" aria-label=\"Duplica\" \r\n *ngIf=\"defaultListActions.duplicate == true\"\r\n (click)=\"duplicateRecord(panel.record, $event)\">\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button mat-icon-button class=\"record-icon delete-button-icon\" aria-label=\"Elimina\" \r\n *ngIf=\"defaultListActions.delete == true\"\r\n (click)=\"deleteRecord(panel.record, $event)\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n \r\n </mat-panel-description>\r\n <!--#endregion BOTTONI PER LE AZIONI -->\r\n </mat-expansion-panel-header>\r\n\r\n <!-- #region CONTENUTO -->\r\n <ng-container *ngIf=\"panel.pageState != null\">\r\n <lib-single-record\r\n [debugMode]=\"debugMode\"\r\n [record] = \"panel.record\" \r\n [endPointConfiguration] = \"endPointConfiguration\"\r\n [form]=\"form\"\r\n [userID]=\"userID\"\r\n [outCompileConfigurations]=\"outCompileConfigurations\"\r\n [pageState]=\"panel.pageState\"\r\n >\r\n\r\n </lib-single-record>\r\n </ng-container>\r\n\r\n <!-- <ng-container *ngIf=\"selectedIndex == i\">\r\n\r\n <ng-container *ngIf=\"visualizzaContenuto\">\r\n <view-form-record \r\n *ngIf=\"loader && selectedRecord\" \r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\" \r\n [showBackButton]=\"false\">\r\n </view-form-record>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"modificaContenuto\">\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [userID]=\"userID\"\r\n \r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n \r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n </ng-container>\r\n\r\n </ng-container> -->\r\n\r\n <!--#endregion CONTENUTO -->\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n\r\n\r\n </mat-card-content>\r\n <mat-card-footer>\r\n <!-- <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar> -->\r\n </mat-card-footer>\r\n</mat-card>\r\n\r\n<!--#region old -->\r\n<!-- \r\n <div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\">\r\n <b>Elenco {{ form.Name }}</b>\r\n </h4>\r\n </div>\r\n <div class=\"col-md-6 text-right pb-3\" *ngIf=\"defaultListActions.add\">\r\n <button\r\n class=\"btn btn-primary\"\r\n mat-raised-button\r\n color=\"primary\"\r\n type=\"button\"\r\n (click)=\"onAddViewEditRecord.emit(null)\"\r\n >\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px\">Aggiungi</span>\r\n </button>\r\n </div>\r\n </div> \r\n -->\r\n\r\n<!-- <eqp-table #tableRecords [data]=\"configurations.values\" [columns]=\"columns\"></eqp-table> -->\r\n\r\n<!-- \r\n <mat-accordion [hideToggle]=\"test\">\r\n <mat-expansion-panel\r\n *ngFor=\"let item of listConfigurations.values; index as i\"\r\n [expanded]=\"panelOpenState[i]\"\r\n [disabled]=\"1\"\r\n >\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{ item.AnswerDate | date : \"EEEE, d MMMM y, H:mm:ss\" }}\r\n </mat-panel-title>\r\n <mat-panel-description>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, true, i)\"\r\n >\r\n <mat-icon>visibility</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Modifica\"\r\n (click)=\"viewOrEditRecord(item, false, i)\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Duplica\"\r\n (click)=\"duplicateRecord(item)\"\r\n >\r\n <mat-icon>file_copy</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n class=\"record-icon\"\r\n aria-label=\"Elimina\"\r\n (click)=\"deleteRecord(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <span class=\"example-spacer\"></span>\r\n {{ form.Name }}\r\n </mat-panel-description>\r\n </mat-expansion-panel-header>\r\n\r\n <add-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [configurations]=\"outCompileConfigurations\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n (saveRecordEvent)=\"saveOrExitForm($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n </add-form-record>\r\n\r\n <view-form-record\r\n *ngIf=\"loader && selectedRecord && panelOpenState[i] == true\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n [showBackButton]=\"false\"\r\n >\r\n </view-form-record>\r\n </mat-expansion-panel>\r\n </mat-accordion> \r\n -->\r\n<!--#endregion old -->", styles: ["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}.mat-expansion-panel-header[aria-disabled=true]{color:#0000008a}\n"] }]
3531
3531
  }], ctorParameters: function () { return [{ type: UtilityHelperService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { debugMode: [{
3532
3532
  type: Input
3533
3533
  }], configurations: [{