IRISA component
rxjs pipe: changeRouteOnSuccess(router: Router, route: ActivatedRoute, path: string) handleErrors(n: UntypedFormGroup) recordErrors(n: BusinessError[]) streamErrors(n: Subject<BusinessError>) recordState(n: ObservableState)
Irisa hello world component
html:
A blank schematics
<attachment name="test" [(ngModel)]="test" [entityId]="id" [limitCount]="2" downloadUrl="/SubmitRequest/DownloadDocuments" attachment-required [showLabel]="false" [labelTe
<div class="card-body"> <form #formModel="ngForm"> <label class="text-danger" *ngFor="let item of formModel.form | transformErrors">{{['Errors',item.message].join('.') | translate: item.params}}</label> <div class="form-row pb-2">
arrayToString (input: string[]): string
<attachment-browse [(ngModel)]="test" [required]="x" [readonly]="false" [hideUploadIcon]="false" [showLabel]="true" [labelText]="'test' | translate"
<price [(ngModel)]="price" class="form-control" [disabled]="false" [name]="price" [id]="price" required> <price>
onOpenModalClick( ) { const modal = this.modalService.open(ConfirmComponent, { size: 'sm', centered: true }); modal.componentInstance.title = this.translateService.instant('test'); modal.componentInstance.text = this.translateService.instan
<gallery [imageIds]="[1,2,3,...]" [hasThumbnail]="true" [intervalTime]="2500" [thumbnailImageSize]="64" [imageHeigth]="344" [queryParams]="{test: model.id}" getImageContentUrl="url" getThumbna
@NgModule({ declarations: [ ... ], imports: [ ... LocalizationModule.forChild({ moduleName: "account/forget-password" //path of translation files }) ] })
nationalId nationalCode password price(min&max)
<datepicker [(ngModel)]="model.registrationDate" id="registrationDate" name="registrationDate" required autocomplete="off"> </datepicker>
app.component.html
permission directive
<breadcrumb #parent> <div class="d-flex p-3 px-3" *ngIf="!parent.hideBreadCrumb && parent.breadcrumbs && parent.breadcrumbs.length > 1"> <div class="d-flex flex-column"> <ol class="breadcrumb"> <ng-container
export interface BusinessError { type: string; subject: string; message: string; params: object; }
<button back> back to previous Route (default) </button>
<paginator class="p-0" [disabled]="!service.currentPage?.totalItemsCount" [(pageIndex)]="service.pagingOptions.pageIndex" [totalItemsCount]="service.currentPage?.totalItemsCount" [(pageSize)]="service.pagingOpti
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.
<basic-paginator class="p-0" [disabled]="x" [(pageIndex)]="pagingOptions.pageIndex" [(pageSize)]="pagingOptions.pageSize" [options]="[5, 10, 25, 50]" [hasMore]="hasMore" (refresh)="re
A code generator schematics