Umbau business-details & edit-business

This commit is contained in:
2024-07-04 14:59:02 +02:00
parent 1ccd1d174c
commit 9228cbebbe
9 changed files with 350 additions and 67 deletions

View File

@@ -10,6 +10,7 @@ import { faTrash } from '@fortawesome/free-solid-svg-icons';
import { AngularCropperjsModule } from 'angular-cropperjs';
import { MixedCdkDragDropModule } from 'angular-mixed-cdk-drag-drop';
import { KeycloakService } from 'keycloak-angular';
import { QuillModule } from 'ngx-quill';
import { ConfirmationService, MessageService } from 'primeng/api';
import { CarouselModule } from 'primeng/carousel';
import { ConfirmDialogModule } from 'primeng/confirmdialog';
@@ -44,6 +45,7 @@ import { TOOLBAR_OPTIONS } from '../../utils/defaults';
DragDropModule,
ConfirmDialogModule,
MixedCdkDragDropModule,
QuillModule,
],
providers: [MessageService, DialogService, ConfirmationService],
templateUrl: './edit-business-listing.component.html',
@@ -85,6 +87,9 @@ export class EditBusinessListingComponent {
faTrash = faTrash;
data: CommercialPropertyListing;
typesOfBusiness = [];
quillModules = {
toolbar: [['bold', 'italic', 'underline', 'strike'], [{ list: 'ordered' }, { list: 'bullet' }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], ['clean']],
};
constructor(
public selectOptions: SelectOptionsService,
private router: Router,