@provoly/dashboard 1.4.42 → 1.4.44

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.
@@ -1 +1 @@
1
- {"version":3,"file":"provoly-dashboard-restitution.mjs","sources":["../../../../projects/provoly/dashboard/restitution/style/css.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution/restitution.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution/restitution.component.html","../../../../projects/provoly/dashboard/restitution/components/restitution-catalog/restitution-catalog.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution-catalog/restitution-catalog.component.html","../../../../projects/provoly/dashboard/restitution/components/restitution-list-item/restitution-list-item.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution-list-item/restitution-list-item.component.html","../../../../projects/provoly/dashboard/restitution/components/restitution-list/restitution-list.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution-list/restitution-list.component.html","../../../../projects/provoly/dashboard/restitution/i18n/en.translations.ts","../../../../projects/provoly/dashboard/restitution/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/restitution/restitution.module.ts","../../../../projects/provoly/dashboard/restitution/provoly-dashboard-restitution.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'pry-restitution-css',\n template: '',\n styleUrls: ['./_o-restitution-list.scss', './_o-restitution.scss', './restitution-catalog.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class PryCatalogCssComponent {}\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n Class,\n ClassActions,\n ClassSelectors,\n ConfigActions,\n DashboardActions,\n DataSource,\n DataSourceActions,\n DataSourceSelectors,\n DEFAULT_RESTITUTION_ICON_URL,\n FieldActions,\n getDisplayOptions,\n LibraryTypes,\n SearchActions,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService,\n ViewMode,\n Widget,\n WidgetManifest\n} from '@provoly/dashboard';\nimport { PryStepperComponent } from '@provoly/dashboard/components/stepper';\nimport { map, Observable, Subject } from 'rxjs';\nimport { v4 } from 'uuid';\nimport { RestitutionForm } from '../../model/restitution.model';\n\n@Component({\n selector: 'pry-restitution',\n templateUrl: './restitution.component.html'\n})\nexport class PryRestitutionComponent extends SubscriptionnerDirective implements OnInit {\n types$: Observable<{ icon: string; label: string; type: string; manifest: WidgetManifest }[]>;\n classes$: Observable<Class[]>;\n customManifest: WidgetManifest = {\n type: 'detail',\n layout: { x: 1, y: 1, width: 1, height: 1 },\n options: { itemIds: [] as string[] }\n };\n form: RestitutionForm = {\n selectedWidget: '',\n selectedDataSources: [],\n title: '',\n image: DEFAULT_RESTITUTION_ICON_URL,\n description: ''\n };\n groups: string[] = [];\n openSettings$: Subject<void> = new Subject<void>();\n consultMode: boolean = false;\n @Input() selectedRestitution: Widget | null = null;\n @Input() edit: boolean = true;\n @Output() restitutionCreated = new EventEmitter<void>();\n widgetsList$: Observable<CatalogEntry[]>;\n type: LibraryTypes = LibraryTypes.ILLUSTRATION;\n @Input() isDataSourceSelected = false;\n @Input() bindId: any;\n image: string = DEFAULT_RESTITUTION_ICON_URL;\n widgetTypes: { icon: string; label: string; type: string; manifest: WidgetManifest }[] = [];\n usedDatasources$: Observable<DataSource[]>;\n activeStepIndex = 0;\n\n constructor(\n private toolboxManifestService: ToolboxManifestService,\n private store: Store,\n private toolboxMenuService: ToolboxMenuService\n ) {\n super();\n this.store.dispatch(DataSourceActions.load({}));\n this.store.dispatch(ClassActions.load({}));\n this.store.dispatch(ConfigActions.loadCustomization({}));\n this.store.dispatch(FieldActions.load({}));\n\n this.types$ = this.toolboxMenuService.types$.pipe(\n map((type) => type.filter((filteredType) => filteredType.type !== 'detail'))\n );\n this.subscriptions.add(this.types$.subscribe((types) => (this.widgetTypes = types)));\n this.classes$ = this.store.select(ClassSelectors.classes);\n this.widgetsList$ = this.toolboxMenuService.menuStructure$.pipe(\n map((menu) =>\n menu\n .map((items) => [...items.sub.filter((s) => this.toolboxManifestService.isModel(s.type))])\n .reduce((acc, items) => [...acc, ...items], [])\n )\n );\n this.usedDatasources$ = this.store\n .select(DataSourceSelectors.getDataSourcesSorted)\n .pipe(map((allDss) => allDss.filter((datasource) => this.form.selectedDataSources.includes(datasource.id))));\n }\n\n ngOnInit(): void {\n if (this.selectedRestitution) {\n if (!this.edit) {\n this.consultMode = true;\n this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: ViewMode.CONSULT }));\n } else {\n this.store.dispatch(\n DashboardActions.updateDisplayOptions({\n mode: ViewMode.CUSTOM,\n customDisplay: {\n ...getDisplayOptions(ViewMode.EDITION),\n widgetContextMenu: {\n datasourceSelection: false,\n parameters: true,\n window: false,\n maximize: false,\n addToCatalog: false,\n delete: false,\n changeSpot: false\n }\n }\n })\n );\n }\n this.customManifest = JSON.parse(this.selectedRestitution.content);\n if (Array.isArray(this.customManifest.datasource)) {\n this.customManifest.datasource.forEach((dataSource: string) => {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: dataSource,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.ngOnInit()-1'\n })\n );\n });\n } else {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: this.customManifest.datasource as string,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.ngOnInit()-2'\n })\n );\n }\n if (this.selectedRestitution.groups) {\n this.groups = this.selectedRestitution.groups;\n }\n this.form.selectedDataSources.forEach((dataSource: string) => {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: dataSource,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.ngOnInit()-3'\n })\n );\n });\n this.customManifest = JSON.parse(this.selectedRestitution.content);\n this.form = {\n selectedWidget: this.customManifest.type,\n selectedDataSources: (this.customManifest.datasource ?? []) as string[],\n title: this.selectedRestitution.name,\n ...this.selectedRestitution\n };\n }\n this.image = this.selectedRestitution?.image ?? DEFAULT_RESTITUTION_ICON_URL;\n }\n\n cancel(stepper: PryStepperComponent) {\n this.form.selectedWidget = '';\n this.form.selectedDataSources = [];\n this.form.title = '';\n this.form.description = '';\n this.form.image = '';\n if (this.consultMode || this.selectedRestitution) {\n this.restitutionCreated.emit();\n return;\n }\n this.prev(stepper);\n }\n\n datasourcesChanged($event: string[]) {\n this.form.selectedDataSources = $event;\n }\n\n submit(stepper: PryStepperComponent) {\n if (this.consultMode) {\n this.goNext(stepper);\n return;\n }\n\n const widgetType = this.widgetTypes.find((widgetType) => widgetType.type === this.form.selectedWidget);\n\n this.customManifest = {\n ...this.customManifest,\n type: this.form.selectedWidget,\n title: this.form.title,\n datasource: this.form.selectedDataSources ?? [],\n header: true,\n options: {\n ...(this.edit ? this.customManifest.options : widgetType?.manifest.options),\n title: this.form.title\n }\n };\n this.form.selectedDataSources.forEach((nameQuery: string) => {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: nameQuery,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.submit()'\n })\n );\n });\n this.goNext(stepper);\n setTimeout(() => {\n this.openSettings$.next();\n }, 150);\n }\n\n goNext(stepper: PryStepperComponent, submit?: boolean) {\n submit ? this.submit(stepper) : stepper.next();\n }\n\n prev(stepper: PryStepperComponent) {\n stepper.prev();\n }\n\n updateManifest($event: { widgetIndex: number; manifest: WidgetManifest }) {\n this.customManifest = $event.manifest;\n }\n\n lastStepCompleted() {\n this.form.image = this.image;\n if (!this.consultMode) {\n this.store.dispatch(\n ConfigActions.saveWidget({\n widget: {\n id: this.selectedRestitution?.id ?? v4(),\n content: JSON.stringify(this.customManifest),\n name: this.form.title,\n description: this.form.description,\n image: this.form.image ?? '',\n groups: this.groups,\n datasource: this.form.selectedDataSources ?? [],\n modificationDate: ''\n }\n })\n );\n }\n this.store.dispatch(ConfigActions.loadWidgets());\n this.restitutionCreated.emit();\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-restitution\">\n <h3 class=\"a-h2 o-restitution__title\">\n {{ (consultMode ? '@pry.restitution.consult' : edit ? '@pry.restitution.edit' : '@pry.restitution.create') | i18n }}\n </h3>\n <pry-stepper\n #stepper\n [isConsultMode]=\"consultMode\"\n (lastStepCompleted)=\"lastStepCompleted()\"\n (activeIndexChange)=\"activeStepIndex = $event\"\n >\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.configure' | i18n }}</h4>\n <div class=\"m-form-label-field\">\n <label for=\"restitution\" class=\"a-label\">{{ '@pry.restitution.restitution_type' | i18n }}</label>\n <pry-select\n id=\"restitution\"\n [items]=\"types$ | async\"\n [(ngModel)]=\"form.selectedWidget\"\n [disabled]=\"consultMode\"\n [closeOnSelect]=\"true\"\n bindIcon=\"icon\"\n bindLabel=\"label\"\n bindValue=\"type\"\n >\n </pry-select>\n </div>\n @if (form.selectedWidget !== '') {\n <div class=\"m-form-label-field\">\n <label for=\"graphTitle\" class=\"a-label\">{{ '@pry.restitution.graph_title' | i18n }}</label>\n <input\n name=\"title\"\n id=\"graphTitle\"\n class=\"a-form-field\"\n [(ngModel)]=\"form.title\"\n type=\"text\"\n [disabled]=\"consultMode\"\n maxlength=\"30\"\n ngDefaultControl\n />\n </div>\n <div class=\"m-form-label-field\">\n <label for=\"description\" class=\"a-label\">{{ '@pry.restitution.description' | i18n }}</label>\n <textarea\n name=\"description\"\n id=\"description\"\n class=\"a-form-field\"\n [(ngModel)]=\"form.description\"\n style=\"resize: none\"\n [disabled]=\"consultMode\"\n maxlength=\"255\"\n ngDefaultControl\n >\n </textarea>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\">{{ '@pry.restitution.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image (changed)=\"image = $event\" [iconUrl]=\"image\" [mode]=\"type\"></pry-select-image>\n </div>\n </div>\n <div class=\"m-btn-group -space-evenly actions\">\n <button (click)=\"cancel(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button\n (click)=\"goNext(stepper)\"\n [disabled]=\"form.selectedWidget === '' || form.title.trim().length === 0\"\n class=\"a-btn a-btn--primary\"\n >\n {{ '@pry.restitution.validate' | i18n }}\n </button>\n </div>\n }\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.dataSource' | i18n }}</h4>\n <pry-datasource-selector\n [manifest]=\"customManifest\"\n (itemsChanged)=\"datasourcesChanged($event)\"\n [showButtons]=\"false\"\n [showTitle]=\"false\"\n ></pry-datasource-selector>\n <ng-container [ngTemplateOutlet]=\"buttons\" [ngTemplateOutletContext]=\"{ submit: true }\"></ng-container>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.visualize' | i18n }}</h4>\n <div class=\"widget-instanciator\">\n <pry-widget-instanciator\n [standalone]=\"true\"\n [staticManifest]=\"customManifest\"\n [open$]=\"openSettings$\"\n (manifestModified)=\"updateManifest($event)\"\n ></pry-widget-instanciator>\n </div>\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.share' | i18n }}</h4>\n <h3>{{ '@pry.restitution.access' | i18n }}</h3>\n {{ '@pry.restitution.choice' | i18n }}\n <ul>\n <li>\n {{ '@pry.restitution.public' | i18n }}\n </li>\n </ul>\n {{ '@pry.restitution.or' | i18n }}\n <ul>\n <li>\n {{ '@pry.restitution.private' | i18n }}\n </li>\n </ul>\n <pry-share [(ngModel)]=\"groups\" labelProperty=\"name\" valueProperty=\"id\" [disabled]=\"consultMode\"></pry-share>\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </pry-step>\n </pry-stepper>\n</div>\n\n<ng-template #buttons let-submit=\"submit\">\n <div class=\"m-btn-group -space-evenly actions\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ (consultMode ? '@pry.restitution.goBack' : '@pry.restitution.close') | i18n }}\n </button>\n <button (click)=\"goNext(stepper, submit)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ (activeStepIndex === 3 ? '@pry.restitution.share' : '@pry.restitution.next') | i18n }}\n </button>\n </div>\n</ng-template>\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { Component, Inject, Optional, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { ConfigActions, ConfigSelectors, PRY_ACCESS_TOKEN, PryBaseAccess, ViewMode, Widget } from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, map, Observable, of } from 'rxjs';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\n@Component({\n selector: 'pry-restitution-catalog',\n templateUrl: './restitution-catalog.component.html'\n})\nexport class PryRestitutionCatalogComponent {\n restitutions$: Observable<Widget[]>;\n search$ = new BehaviorSubject('');\n filteredRestitution$: Observable<Widget[]>;\n mode = ViewMode;\n selectedMode: ViewMode = ViewMode.CATALOG;\n selectedRestitution: Widget | null = null;\n restitution?: Widget;\n overlayRef?: OverlayRef;\n @ViewChild('modalActions', { read: TemplateRef }) templateActions!: TemplateRef<any>;\n\n constructor(\n private store: Store,\n protected overlay: Overlay,\n protected viewContainerRef: ViewContainerRef,\n @Optional() @Inject(PRY_ACCESS_TOKEN) private access: PryBaseAccess\n ) {\n this.store.dispatch(ConfigActions.loadWidgets());\n this.store.dispatch(ConfigActions.getMapStyles());\n\n this.restitutions$ = this.store\n .select(ConfigSelectors.catalog)\n .pipe(\n map((restitutionList) =>\n [...restitutionList].sort((a, b) =>\n a.modificationDate ? b.modificationDate.localeCompare(a.modificationDate) : 1\n )\n )\n );\n this.filteredRestitution$ = combineLatest([this.restitutions$, this.search$]).pipe(\n map(([restitutions, search]) =>\n restitutions.filter(\n (restitution) => search.length === 0 || restitution.name.toLowerCase().includes(search.toLowerCase())\n )\n )\n );\n }\n\n selectMode(newMode: ViewMode) {\n this.selectedMode = newMode;\n }\n\n selectRestitution(restitution: Widget) {\n this.selectedRestitution = restitution;\n this.selectMode(this.mode.CONSULT);\n this.search$.next('');\n }\n\n closeRestitution($event: void) {\n this.selectedRestitution = null;\n this.selectMode(this.mode.CATALOG);\n }\n\n deleteRestitution(id: string) {\n this.store.dispatch(ConfigActions.confirmRestitutionDeletion({ id }));\n this.toggleModalActions();\n }\n\n editRestitution(restitution: Widget) {\n this.selectedRestitution = restitution;\n this.selectMode(ViewMode.EDITION);\n this.search$.next('');\n this.overlayRef?.dispose();\n this.overlayRef = undefined;\n }\n\n toggleModalActions(restitution?: Widget, moreButton?: HTMLButtonElement) {\n if (!this.overlayRef && restitution) {\n this.selectedRestitution = restitution;\n this.overlayRef = this.overlay.create(\n new OverlayConfig({\n hasBackdrop: true,\n panelClass: ['m-context-menu-wrapper'],\n backdropClass: 'backdrop'\n })\n );\n this.overlayRef.backdropClick().subscribe(() => this.toggleModalActions(restitution));\n this.overlayRef.attach(new TemplatePortal(this.templateActions, this.viewContainerRef));\n const contextMenu = document.querySelector('div.m-context-menu') as HTMLDivElement;\n if (!!contextMenu && moreButton) {\n const rect = moreButton?.getBoundingClientRect();\n contextMenu.style.left = (rect?.left ?? 0) - (contextMenu?.clientWidth ?? 0) + 23 + 'px';\n contextMenu.style.top = (rect?.top ?? 0) + 30 + 'px';\n }\n } else {\n this.overlayRef?.dispose();\n this.overlayRef = undefined;\n this.selectedRestitution = null;\n }\n }\n\n canModify$(widget?: Widget): Observable<boolean> {\n return this.access && widget ? this.access.canModifyWidget(widget) : of(false);\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-manifest-layout o-restitution-catalog\">\n @if (selectedMode === mode.CATALOG) {\n <div class=\"o-manifest-layout__toolbox\">\n <button\n type=\"button\"\n (click)=\"selectMode(mode.CREATION)\"\n class=\"a-btn a-btn--primary\"\n data-tooltip-position=\"bottom\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'create' }\"\n >\n <pry-icon iconSvg=\"add\"></pry-icon>\n {{ '@pry.restitution.create' | i18n }}\n </button>\n <div>\n <div class=\"o-catalog__search o-manifest-layout__toolbox__search\">\n <label id=\"catalog-search-label\" for=\"catalog-search\" class=\"u-visually-hidden\">\n <span>{{ '@pry.toolbox.catalog.filter.name' | i18n }}</span>\n </label>\n <input\n id=\"catalog-search\"\n type=\"text\"\n class=\"a-form-field\"\n [placeholder]=\"'@pry.restitution.search' | i18n\"\n [ngModel]=\"search$ | async\"\n (ngModelChange)=\"this.search$.next($event)\"\n />\n <pry-icon iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n </div>\n </div>\n </div>\n <div class=\"u-self-start\">\n <h1 class=\"a-h1 -no-padding\">{{ '@pry.restitution.catalog' | i18n }}</h1>\n </div>\n <div class=\"o-manifest-layout__content\">\n <ul class=\"o-presentation\">\n @for (restitution of filteredRestitution$ | async; track restitution; let index = $index) {\n <li class=\"o-presentation__item\">\n <div class=\"o-presentation__item__header\">\n @if (restitution.groups?.length === 0) {\n <pry-icon\n iconSvg=\"private\"\n class=\"is-private a-tooltip -tooltip-no-wrap\"\n [attr.data-tooltip]=\"'@pry.restitution.lock' | i18n\"\n [height]=\"17\"\n [width]=\"17\"\n ></pry-icon>\n }\n <div\n class=\"a-tooltip -tooltip-no-wrap\"\n (click)=\"selectRestitution(restitution)\"\n [attr.data-tooltip]=\"'@pry.restitution.consultRestitution' | i18n\"\n >\n <div class=\"o-presentation__item__image\">\n <img alt=\"\" class=\"is-full-width\" [src]=\"restitution.image | getSecuredImage: [600, 600] | async\" />\n </div>\n </div>\n @if (canModify$(restitution) | async) {\n <div class=\"more-button\">\n <button\n type=\"button\"\n class=\"a-btn a-btn--more a-tooltip -tooltip-no-wrap\"\n [id]=\"'more-actions-' + index\"\n [attr.data-tooltip]=\"'@pry.restitution.more' | i18n\"\n (click)=\"toggleModalActions(restitution, button)\"\n #button\n >\n <pry-icon [height]=\"25\" [width]=\"25\" iconSvg=\"more_horiz\"></pry-icon>\n </button>\n </div>\n }\n </div>\n <div\n class=\"o-presentation__item__txt\"\n (click)=\"selectRestitution(restitution)\"\n [attr.data-tooltip]=\"'@pry.restitution.consultRestitution' | i18n\"\n >\n <div class=\"o-presentation__item__title-container\" ellipsis textElementSelector=\".a-h3\">\n <h3 class=\"a-h3\">{{ restitution.name }}</h3>\n </div>\n <div class=\"o-presentation__item__description-container\" ellipsis textElementSelector=\".a-p\">\n <div class=\"o-presentation__item__description a-p\">\n {{ restitution.description }}\n </div>\n </div>\n <p class=\"a-p -date\">{{ restitution.modificationDate | sinceDate }}</p>\n </div>\n <div\n class=\"o-presentation__item__footer a-tooltip -tooltip-no-wrap\"\n (click)=\"selectRestitution(restitution)\"\n [attr.data-tooltip]=\"'@pry.restitution.consultRestitution' | i18n\"\n >\n <button class=\"a-btn\">\n {{ '@pry.restitution.view' | i18n }}\n <pry-icon [width]=\"20\" [height]=\"20\" iconSvg=\"arrow_right\"></pry-icon>\n </button>\n </div>\n </li>\n }\n </ul>\n </div>\n }\n <ng-template #modalActions>\n <div class=\"m-context-menu\">\n @if (selectedRestitution) {\n <ul\n class=\"m-context-menu__list\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog restitution options\"\n >\n <li class=\"m-context-menu__list__item\">\n <button\n class=\"a-btn -link-like\"\n (click)=\"editRestitution(selectedRestitution)\"\n [disabled]=\"!(canModify$(selectedRestitution) | async)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'edit' }\"\n >\n {{ '@pry.restitution.update' | i18n }}\n </button>\n </li>\n <li class=\"m-context-menu__list__item\">\n <button\n class=\"a-btn -link-like\"\n #openModal\n (click)=\"deleteRestitution(selectedRestitution.id)\"\n [disabled]=\"!(canModify$(selectedRestitution) | async)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'delete' }\"\n >\n {{ '@pry.restitution.delete' | i18n }}\n </button>\n </li>\n </ul>\n }\n </div>\n </ng-template>\n\n @if (selectedMode === mode.CONSULT) {\n <div class=\"o-manifest-layout__toolbox\">\n <button type=\"button\" (click)=\"selectMode(mode.CATALOG)\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.backToCatalog' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <pry-restitution\n [selectedRestitution]=\"selectedRestitution\"\n [edit]=\"false\"\n (restitutionCreated)=\"closeRestitution($event)\"\n class=\"restitution\"\n ></pry-restitution>\n </div>\n }\n @if (selectedMode === mode.CREATION) {\n <div class=\"o-manifest-layout__toolbox\">\n <button type=\"button\" (click)=\"selectMode(mode.CATALOG)\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.backToCatalog' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <pry-restitution\n [edit]=\"false\"\n (restitutionCreated)=\"closeRestitution($event)\"\n class=\"restitution\"\n ></pry-restitution>\n </div>\n }\n @if (selectedMode === mode.EDITION) {\n <div class=\"o-manifest-layout__toolbox\">\n <button type=\"button\" (click)=\"selectMode(mode.CATALOG)\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.backToCatalog' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <pry-restitution\n (restitutionCreated)=\"closeRestitution($event)\"\n [selectedRestitution]=\"selectedRestitution\"\n class=\"restitution\"\n ></pry-restitution>\n </div>\n }\n</div>\n","import { Component, Input } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigSelectors,\n DashboardActions,\n DashboardGridLayout,\n DashboardSelectors,\n SubscriptionnerDirective,\n ToolboxManifestService,\n Widget\n} from '@provoly/dashboard';\nimport { map, Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-catalog-item',\n templateUrl: './restitution-list-item.component.html'\n})\nexport class PryRestitutionListItemComponent extends SubscriptionnerDirective {\n @Input() widget!: CatalogEntry;\n @Input() translate: boolean = true;\n catalog: Widget[] | undefined;\n automaticGridMode$: Observable<boolean>;\n automaticGridMode: boolean = false;\n\n constructor(\n private store: Store,\n private toolboxManifestService: ToolboxManifestService\n ) {\n super();\n this.store.select(ConfigSelectors.catalog).subscribe((catalog: Widget[]) => (this.catalog = catalog));\n this.automaticGridMode$ = this.store\n .select(DashboardSelectors.gridLayout)\n .pipe(map((layout) => layout !== DashboardGridLayout.MANUAL));\n this.subscriptions.add(this.automaticGridMode$.subscribe((modeAuto) => (this.automaticGridMode = modeAuto)));\n }\n\n dragStart($event: DragEvent, type: string) {\n if (!this.automaticGridMode) {\n this.toolboxManifestService.dataTransfer($event, type);\n }\n }\n\n viewInDashboard(widget: CatalogEntry) {\n this.store.dispatch(DashboardActions.addWidgetToPresentation({ widgetType: widget.type }));\n }\n}\n","<li\n class=\"o-catalog__list__item\"\n [class.is-point]=\"automaticGridMode$ | async\"\n [draggable]=\"!(automaticGridMode$ | async)\"\n role=\"listitem\"\n aria-grabbed=\"false\"\n aria-haspopup=\"true\"\n tabindex=\"-1\"\n [title]=\"widget.description ?? widget.label | i18n : { warn: false }\"\n (dragstart)=\"dragStart($event, widget.type)\"\n >\n @if (automaticGridMode$ | async) {\n <button\n type=\"button\"\n class=\"a-btn a-btn--icon-only\"\n (click)=\"viewInDashboard(widget)\"\n [title]=\"'@pry.restitution.add_icon' | i18n\"\n >\n <pry-icon [width]=\"25\" [height]=\"25\" iconSvg=\"add_column\" class=\"o-catalog__list__icon\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.restitution.add_icon' | i18n }}</span>\n </button>\n }\n <img\n [alt]=\"widget.label | i18n : { warn: false }\"\n [src]=\"widget.icon | getSecuredImage : [53, 53] | async\"\n [height]=\"53\"\n [width]=\"53\"\n />\n @if (widget.isCustom) {\n <p class=\"o-catalog__list__item__libelle\">{{ widget.label }}</p>\n } @else {\n <p class=\"o-catalog__list__item__libelle\">{{ widget.label | i18n : { warn: false } }}</p>\n }\n @if (widget.groups?.length === 0) {\n <pry-icon\n iconSvg=\"private\"\n class=\"is-private a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.lock' | i18n\"\n [height]=\"17\"\n [width]=\"17\"\n ></pry-icon>\n }\n</li>\n","import { Component, Input } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigActions,\n PryI18nService,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService\n} from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-catalog',\n templateUrl: './restitution-list.component.html'\n})\nexport class PryRestitutionListComponent extends SubscriptionnerDirective {\n @Input() showTabs = true;\n private _customModels = ['detail', 'iframe'];\n @Input() get customModels(): string[] {\n return this._customModels;\n }\n set customModels(models: string[]) {\n this._customModels = ['detail', 'iframe', ...models];\n }\n\n search$ = new BehaviorSubject('');\n type$ = new BehaviorSubject<undefined | string>(undefined);\n\n filteredWidgets$: Observable<CatalogEntry[]>;\n nonCustomWidgets$: Observable<CatalogEntry[]>;\n customWidgets$: Observable<CatalogEntry[]>;\n\n types$: Observable<{ icon: string; label: string; type: string }[]>;\n categories = ['model', 'noModel'];\n\n constructor(\n private toolboxMenuService: ToolboxMenuService,\n private translateService: PryI18nService,\n private toolboxManifestService: ToolboxManifestService,\n private store: Store\n ) {\n super();\n this.store.dispatch(ConfigActions.loadWidgets());\n this.types$ = this.toolboxMenuService.types$;\n this.filteredWidgets$ = combineLatest([this.toolboxMenuService.menuList$, this.search$, this.type$]).pipe(\n map(([widgets, search, type]) =>\n widgets.filter(\n (widget) =>\n (search.length === 0 ||\n this.translateService.instant(widget.label).toLocaleLowerCase().includes(search.toLocaleLowerCase())) &&\n (!type || this.toolboxManifestService.get(widget.type).type === type)\n )\n )\n );\n this.nonCustomWidgets$ = this.filteredWidgets$.pipe(\n map((widgets) =>\n widgets.filter(\n (widget) => this.toolboxManifestService.isModel(widget.type) || this.customModels.includes(widget.type)\n )\n )\n );\n this.customWidgets$ = this.filteredWidgets$.pipe(\n map((widgets) =>\n widgets.filter(\n (widget) => !this.toolboxManifestService.isModel(widget.type) && !this.customModels.includes(widget.type)\n )\n )\n );\n }\n\n selectType(type: string) {\n this.type$.next(type);\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-catalog\">\n <h2 class=\"a-h2\">{{ '@pry.restitution.catalog' | i18n }}</h2>\n <div class=\"o-catalog__filters\">\n <div class=\"o-catalog__filters__by-name\">\n <label id=\"catalog-search-label\" for=\"catalog-search\" class=\"a-label u-visually-hidden\">\n <span>{{ '@pry.toolbox.catalog.filter.name' | i18n }}</span>\n </label>\n <pry-icon class=\"search-icon\" iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n <input\n id=\"catalog-search\"\n type=\"text\"\n class=\"a-form-field\"\n [placeholder]=\"'@pry.action.search' | i18n\"\n [ngModel]=\"search$ | async\"\n (ngModelChange)=\"this.search$.next($event)\"\n />\n </div>\n <label class=\"a-label\">{{ '@pry.action.filterByType' | i18n }}</label>\n <div class=\"o-catalog__filters__by-type\">\n <ul class=\"o-catalog__filters__by-type__list\">\n @for (typeOpt of types$ | async; track typeOpt.label) {\n <li>\n <input\n type=\"radio\"\n class=\"a-form-field u-sr-only\"\n name=\"catalog-filter\"\n id=\"catalog-button-{{ typeOpt.type }}\"\n [checked]=\"typeOpt.type === (type$ | async)\"\n (change)=\"selectType(typeOpt.type)\"\n />\n <label\n class=\"a-label\"\n id=\"catalog-button-label-{{ typeOpt.type }}\"\n for=\"catalog-button-{{ typeOpt.type }}\"\n [title]=\"typeOpt.label | i18n: { warn: false }\"\n >\n <span class=\"u-sr-only\">{{ typeOpt.label | i18n: { warn: false } }} </span>\n <pry-icon [width]=\"18\" [height]=\"18\" [iconSvg]=\"typeOpt.icon\"></pry-icon>\n </label>\n </li>\n }\n </ul>\n <button\n type=\"button\"\n class=\"a-btn a-btn--icon-text -link-like\"\n (click)=\"type$.next(undefined)\"\n [disabled]=\"!type$.getValue()\"\n [class.u-visually-hidden]=\"!type$.getValue()\"\n >\n <pry-icon [width]=\"15\" [height]=\"15\" iconSvg=\"delete\"></pry-icon>\n {{ '@pry.toolbox.catalog.filter.delete' | i18n }}\n </button>\n </div>\n </div>\n @if (showTabs) {\n <div class=\"o-accordion\" role=\"tablist\" aria-multiselectable=\"false\">\n <pry-accordion>\n @for (category of categories; track category; let index = $index) {\n <pry-accordion-item\n [item]=\"category\"\n [index]=\"index\"\n translationStringBase=\"@pry.restitution.catalogTabs.\"\n [length]=\"\n (category === 'model' ? (nonCustomWidgets$ | async)?.length : (customWidgets$ | async)?.length) ?? 0\n \"\n >\n <ul class=\"o-catalog__list\" role=\"list\" aria-live=\"polite\">\n @if (category === 'model') {\n @for (widget of nonCustomWidgets$ | async; track widget.label) {\n <pry-catalog-item [widget]=\"widget\"></pry-catalog-item>\n }\n } @else if (category === 'noModel') {\n @for (widget of customWidgets$ | async; track widget.label) {\n <pry-catalog-item [widget]=\"widget\" [translate]=\"false\"></pry-catalog-item>\n }\n }\n </ul>\n </pry-accordion-item>\n }\n </pry-accordion>\n </div>\n } @else {\n <ul class=\"o-catalog__list\" role=\"list\" aria-live=\"polite\">\n @for (widget of filteredWidgets$ | async; track widget.label) {\n <pry-catalog-item [widget]=\"widget\"></pry-catalog-item>\n }\n </ul>\n }\n</div>\n","export const enTranslations = {\n '@pry': {\n restitution: {\n restitution_type: 'Restitution type',\n data_type: 'Data type',\n graph_title: 'Title',\n description: 'Description',\n image: 'Image',\n close: 'Cancel',\n validate: 'Save',\n share: 'Share',\n view: 'View',\n create: 'Create restitution',\n cancel: 'Cancel',\n goBack: 'Go back',\n configure: 'Configure',\n visualize: 'Visualize',\n access: 'Do you want to give access / invite users?',\n public: 'Make this participatory survey accessible to all users in the restitution catalog',\n private: 'Invite certain users of your choice to respond to this participatory survey',\n choice: 'You can :',\n or: 'Or',\n create_title: 'Create a restitution',\n consultRestitution: 'Consult the restitution',\n search: 'Search',\n backToCatalog: 'Back to catalog',\n options: 'Restitution options',\n consult: 'Consult',\n catalog: 'Restitutions catalog',\n add_icon: 'Add this restitution on the presentation',\n dataSource: 'Data',\n noDataSource: 'No data available',\n delete: 'Delete restitution',\n next: 'Next',\n lock: 'Private restitution',\n update: 'Edit information',\n cover: 'Image will cover the whole restitution card',\n catalogTabs: {\n model: 'Restitution models',\n noModel: 'Restitutions catalog'\n }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n restitution: {\n restitution_type: 'Type de restitution',\n data_type: 'Type de données',\n graph_title: 'Titre de la restitution',\n description: 'Description',\n image: 'Image d’illustration',\n close: 'Annuler',\n validate: 'Valider',\n share: 'Partager',\n more: 'Options',\n options: 'Options de la restitution',\n view: 'Consulter',\n create: 'Créer une restitution',\n edit: 'Modifier la restitution',\n cancel: 'Annuler',\n goBack: 'Retour',\n configure: 'Configurer',\n visualize: 'Visualiser',\n access: 'Vous souhaitez donner accès / inviter des utilisateurs ?',\n public: 'Rendre accessible cette restitution à tous les utilisateurs',\n private: 'Rendre accessible à certains utilisateurs de votre choix cette restitution',\n choice: 'Vous pouvez :',\n or: 'Ou',\n search: 'Rechercher',\n backToCatalog: 'Retour au catalogue',\n consult: 'Consulter',\n consultRestitution: 'Consulter la restitution',\n catalog: 'Catalogue des restitutions',\n add_icon: 'Ajouter cette restitution sur la présentation',\n dataSource: 'Donnée(s)',\n noDataSource: 'Aucune donnée disponible',\n delete: 'Supprimer la restitution',\n next: 'Suivant',\n lock: 'Restitution privée',\n update: 'Modifier les informations',\n cover: \"L'image doit couvrir la carte de la restitution\",\n catalogTabs: {\n model: 'Modèles de restitution',\n noModel: 'Restitutions du catalogue'\n }\n }\n }\n};\n","import { CommonModule, DatePipe } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {\n PryCoreModule,\n PryDashboardModule,\n PryI18nModule,\n PryI18nService,\n PryIconModule,\n PryOverlayModule,\n PrySelectModule,\n PryShareModule,\n PrySinceDateModule\n} from '@provoly/dashboard';\nimport { PryCardModule } from '@provoly/dashboard/components/card';\nimport { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';\nimport { PryStepperModule } from '@provoly/dashboard/components/stepper';\nimport { PrySearchModule } from '@provoly/dashboard/search';\nimport { PryRestitutionCatalogComponent } from './components/restitution-catalog/restitution-catalog.component';\nimport { PryRestitutionListComponent } from './components/restitution-list/restitution-list.component';\nimport { PryRestitutionComponent } from './components/restitution/restitution.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { PryCatalogCssComponent } from './style/css.component';\nimport { PryRestitutionListItemComponent } from './components/restitution-list-item/restitution-list-item.component';\n\n@NgModule({\n providers: [DatePipe],\n declarations: [\n PryRestitutionListComponent,\n PryRestitutionComponent,\n PryCatalogCssComponent,\n PryRestitutionCatalogComponent,\n PryRestitutionListItemComponent\n ],\n imports: [\n CommonModule,\n PryCoreModule,\n PryIconModule,\n FormsModule,\n PryStepperModule,\n PrySelectModule,\n PryDashboardModule,\n PryShareModule,\n PrySearchModule,\n PryI18nModule,\n PryCardModule,\n PryCheckboxModule,\n PryOverlayModule,\n PrySinceDateModule\n ],\n exports: [\n PryRestitutionListComponent,\n PryRestitutionComponent,\n PryRestitutionCatalogComponent,\n PryRestitutionListItemComponent\n ]\n})\nexport class PryRestitutionModule {\n constructor(private pryTranslateService: PryI18nService) {\n this.pryTranslateService.addLangObject('fr', 'restitution', frTranslations);\n this.pryTranslateService.addLangObject('en', 'restitution', enTranslations);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i6.PryCatalogCssComponent","i3","i5.PryRestitutionComponent","i7","i1","i4.PryCatalogCssComponent","i5.PryRestitutionListItemComponent","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;MAQa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CA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;YAClB,cAAc;YACd,eAAe;YACf,aAAa;YACb,aAAa;YACb,iBAAiB;YACjB,gBAAgB;YAChB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAST,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAhChC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,SAAS,EAAE,CAAC,QAAQ,CAAC;AACrB,oBAAA,YAAY,EAAE;wBACZ,2BAA2B;wBAC3B,uBAAuB;wBACvB,sBAAsB;wBACtB,8BAA8B;wBAC9B,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,WAAW;wBACX,gBAAgB;wBAChB,eAAe;wBACf,kBAAkB;wBAClB,cAAc;wBACd,eAAe;wBACf,aAAa;wBACb,aAAa;wBACb,iBAAiB;wBACjB,gBAAgB;wBAChB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,uBAAuB;wBACvB,8BAA8B;wBAC9B,+BAA+B;AAChC,qBAAA;AACF,iBAAA,CAAA;;;ACzDD;;AAEG;;;;"}
1
+ {"version":3,"file":"provoly-dashboard-restitution.mjs","sources":["../../../../projects/provoly/dashboard/restitution/style/css.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution/restitution.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution/restitution.component.html","../../../../projects/provoly/dashboard/restitution/components/restitution-catalog/restitution-catalog.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution-catalog/restitution-catalog.component.html","../../../../projects/provoly/dashboard/restitution/components/restitution-list-item/restitution-list-item.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution-list-item/restitution-list-item.component.html","../../../../projects/provoly/dashboard/restitution/components/restitution-list/restitution-list.component.ts","../../../../projects/provoly/dashboard/restitution/components/restitution-list/restitution-list.component.html","../../../../projects/provoly/dashboard/restitution/i18n/en.translations.ts","../../../../projects/provoly/dashboard/restitution/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/restitution/restitution.module.ts","../../../../projects/provoly/dashboard/restitution/provoly-dashboard-restitution.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'pry-restitution-css',\n template: '',\n styleUrls: ['./_o-restitution-list.scss', './_o-restitution.scss', './restitution-catalog.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class PryCatalogCssComponent {}\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n Class,\n ClassActions,\n ClassSelectors,\n ConfigActions,\n DashboardActions,\n DataSource,\n DataSourceActions,\n DataSourceSelectors,\n DEFAULT_RESTITUTION_ICON_URL,\n FieldActions,\n getDisplayOptions,\n LibraryTypes,\n SearchActions,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService,\n ViewMode,\n Widget,\n WidgetManifest\n} from '@provoly/dashboard';\nimport { PryStepperComponent } from '@provoly/dashboard/components/stepper';\nimport { map, Observable, Subject } from 'rxjs';\nimport { v4 } from 'uuid';\nimport { RestitutionForm } from '../../model/restitution.model';\n\n@Component({\n selector: 'pry-restitution',\n templateUrl: './restitution.component.html'\n})\nexport class PryRestitutionComponent extends SubscriptionnerDirective implements OnInit {\n types$: Observable<{ icon: string; label: string; type: string; manifest: WidgetManifest }[]>;\n classes$: Observable<Class[]>;\n customManifest: WidgetManifest = {\n type: 'detail',\n layout: { x: 1, y: 1, width: 1, height: 1 },\n options: { itemIds: [] as string[] }\n };\n form: RestitutionForm = {\n selectedWidget: '',\n selectedDataSources: [],\n title: '',\n image: DEFAULT_RESTITUTION_ICON_URL,\n description: ''\n };\n groups: string[] = [];\n openSettings$: Subject<void> = new Subject<void>();\n consultMode: boolean = false;\n @Input() selectedRestitution: Widget | null = null;\n @Input() edit: boolean = true;\n @Output() restitutionCreated = new EventEmitter<void>();\n widgetsList$: Observable<CatalogEntry[]>;\n type: LibraryTypes = LibraryTypes.ILLUSTRATION;\n @Input() isDataSourceSelected = false;\n @Input() bindId: any;\n image: string = DEFAULT_RESTITUTION_ICON_URL;\n widgetTypes: { icon: string; label: string; type: string; manifest: WidgetManifest }[] = [];\n usedDatasources$: Observable<DataSource[]>;\n activeStepIndex = 0;\n\n constructor(\n private toolboxManifestService: ToolboxManifestService,\n private store: Store,\n private toolboxMenuService: ToolboxMenuService\n ) {\n super();\n this.store.dispatch(DataSourceActions.load({}));\n this.store.dispatch(ClassActions.load({}));\n this.store.dispatch(ConfigActions.loadCustomization({}));\n this.store.dispatch(FieldActions.load({}));\n\n this.types$ = this.toolboxMenuService.types$.pipe(\n map((type) => type.filter((filteredType) => filteredType.type !== 'detail'))\n );\n this.subscriptions.add(this.types$.subscribe((types) => (this.widgetTypes = types)));\n this.classes$ = this.store.select(ClassSelectors.classes);\n this.widgetsList$ = this.toolboxMenuService.menuStructure$.pipe(\n map((menu) =>\n menu\n .map((items) => [...items.sub.filter((s) => this.toolboxManifestService.isModel(s.type))])\n .reduce((acc, items) => [...acc, ...items], [])\n )\n );\n this.usedDatasources$ = this.store\n .select(DataSourceSelectors.getDataSourcesSorted)\n .pipe(map((allDss) => allDss.filter((datasource) => this.form.selectedDataSources.includes(datasource.id))));\n }\n\n ngOnInit(): void {\n if (this.selectedRestitution) {\n if (!this.edit) {\n this.consultMode = true;\n this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: ViewMode.CONSULT }));\n } else {\n this.store.dispatch(\n DashboardActions.updateDisplayOptions({\n mode: ViewMode.CUSTOM,\n customDisplay: {\n ...getDisplayOptions(ViewMode.EDITION),\n widgetContextMenu: {\n datasourceSelection: false,\n parameters: true,\n window: false,\n maximize: false,\n addToCatalog: false,\n delete: false,\n changeSpot: false\n }\n }\n })\n );\n }\n this.customManifest = JSON.parse(this.selectedRestitution.content);\n if (Array.isArray(this.customManifest.datasource)) {\n this.customManifest.datasource.forEach((dataSource: string) => {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: dataSource,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.ngOnInit()-1'\n })\n );\n });\n } else {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: this.customManifest.datasource as string,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.ngOnInit()-2'\n })\n );\n }\n if (this.selectedRestitution.groups) {\n this.groups = this.selectedRestitution.groups;\n }\n this.form.selectedDataSources.forEach((dataSource: string) => {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: dataSource,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.ngOnInit()-3'\n })\n );\n });\n this.customManifest = JSON.parse(this.selectedRestitution.content);\n this.form = {\n selectedWidget: this.customManifest.type,\n selectedDataSources: (this.customManifest.datasource ?? []) as string[],\n title: this.selectedRestitution.name,\n ...this.selectedRestitution\n };\n }\n this.image = this.selectedRestitution?.image ?? DEFAULT_RESTITUTION_ICON_URL;\n }\n\n cancel(stepper: PryStepperComponent) {\n this.form.selectedWidget = '';\n this.form.selectedDataSources = [];\n this.form.title = '';\n this.form.description = '';\n this.form.image = '';\n if (this.consultMode || this.selectedRestitution) {\n this.restitutionCreated.emit();\n return;\n }\n this.prev(stepper);\n }\n\n datasourcesChanged($event: string[]) {\n this.form.selectedDataSources = $event;\n }\n\n submit(stepper: PryStepperComponent) {\n if (this.consultMode) {\n this.goNext(stepper);\n return;\n }\n\n const widgetType = this.widgetTypes.find((widgetType) => widgetType.type === this.form.selectedWidget);\n\n this.customManifest = {\n ...this.customManifest,\n type: this.form.selectedWidget,\n title: this.form.title,\n datasource: this.form.selectedDataSources ?? [],\n header: true,\n options: {\n ...(this.edit ? this.customManifest.options : widgetType?.manifest.options),\n title: this.form.title\n }\n };\n this.form.selectedDataSources.forEach((nameQuery: string) => {\n this.store.dispatch(\n SearchActions.getDatasourceItems({\n id: nameQuery,\n excludeGeo: this.customManifest.type === 'map',\n from: 'PryRestitutionComponent.submit()'\n })\n );\n });\n this.goNext(stepper);\n setTimeout(() => {\n this.openSettings$.next();\n }, 150);\n }\n\n goNext(stepper: PryStepperComponent, submit?: boolean) {\n submit ? this.submit(stepper) : stepper.next();\n }\n\n prev(stepper: PryStepperComponent) {\n stepper.prev();\n }\n\n updateManifest($event: { widgetIndex: number; manifest: WidgetManifest }) {\n this.customManifest = $event.manifest;\n }\n\n lastStepCompleted() {\n this.form.image = this.image;\n if (!this.consultMode) {\n this.store.dispatch(\n ConfigActions.saveWidget({\n widget: {\n id: this.selectedRestitution?.id ?? v4(),\n content: JSON.stringify(this.customManifest),\n name: this.form.title,\n description: this.form.description,\n image: this.form.image ?? '',\n groups: this.groups,\n datasource: this.form.selectedDataSources ?? [],\n modificationDate: ''\n }\n })\n );\n }\n this.store.dispatch(ConfigActions.loadWidgets());\n this.restitutionCreated.emit();\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-restitution\">\n <h3 class=\"a-h2 o-restitution__title\">\n {{ (consultMode ? '@pry.restitution.consult' : edit ? '@pry.restitution.edit' : '@pry.restitution.create') | i18n }}\n </h3>\n <pry-stepper\n #stepper\n [isConsultMode]=\"consultMode\"\n (lastStepCompleted)=\"lastStepCompleted()\"\n (activeIndexChange)=\"activeStepIndex = $event\"\n >\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.configure' | i18n }}</h4>\n <div class=\"m-form-label-field\">\n <label for=\"restitution\" class=\"a-label\">{{ '@pry.restitution.restitution_type' | i18n }}</label>\n <pry-select\n id=\"restitution\"\n [items]=\"types$ | async\"\n [(ngModel)]=\"form.selectedWidget\"\n [disabled]=\"consultMode\"\n [closeOnSelect]=\"true\"\n bindIcon=\"icon\"\n bindLabel=\"label\"\n bindValue=\"type\"\n >\n </pry-select>\n </div>\n @if (form.selectedWidget !== '') {\n <div class=\"m-form-label-field\">\n <label for=\"graphTitle\" class=\"a-label\">{{ '@pry.restitution.graph_title' | i18n }}</label>\n <input\n name=\"title\"\n id=\"graphTitle\"\n class=\"a-form-field\"\n [(ngModel)]=\"form.title\"\n type=\"text\"\n [disabled]=\"consultMode\"\n maxlength=\"30\"\n ngDefaultControl\n />\n </div>\n <div class=\"m-form-label-field\">\n <label for=\"description\" class=\"a-label\">{{ '@pry.restitution.description' | i18n }}</label>\n <textarea\n name=\"description\"\n id=\"description\"\n class=\"a-form-field\"\n [(ngModel)]=\"form.description\"\n style=\"resize: none\"\n [disabled]=\"consultMode\"\n maxlength=\"255\"\n ngDefaultControl\n >\n </textarea>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\">{{ '@pry.restitution.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image (changed)=\"image = $event\" [iconUrl]=\"image\" [mode]=\"type\"></pry-select-image>\n </div>\n </div>\n <div class=\"m-btn-group -space-evenly actions\">\n <button (click)=\"cancel(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button\n (click)=\"goNext(stepper)\"\n [disabled]=\"form.selectedWidget === '' || form.title.trim().length === 0\"\n class=\"a-btn a-btn--primary\"\n >\n {{ '@pry.restitution.validate' | i18n }}\n </button>\n </div>\n }\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.dataSource' | i18n }}</h4>\n <pry-datasource-selector\n [manifest]=\"customManifest\"\n (itemsChanged)=\"datasourcesChanged($event)\"\n [showButtons]=\"false\"\n [showTitle]=\"false\"\n ></pry-datasource-selector>\n <ng-container [ngTemplateOutlet]=\"buttons\" [ngTemplateOutletContext]=\"{ submit: true }\"></ng-container>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.visualize' | i18n }}</h4>\n <div class=\"widget-instanciator\">\n <pry-widget-instanciator\n [standalone]=\"true\"\n [staticManifest]=\"customManifest\"\n [open$]=\"openSettings$\"\n (manifestModified)=\"updateManifest($event)\"\n ></pry-widget-instanciator>\n </div>\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.share' | i18n }}</h4>\n <h3>{{ '@pry.restitution.access' | i18n }}</h3>\n {{ '@pry.restitution.choice' | i18n }}\n <ul>\n <li>\n {{ '@pry.restitution.public' | i18n }}\n </li>\n </ul>\n {{ '@pry.restitution.or' | i18n }}\n <ul>\n <li>\n {{ '@pry.restitution.private' | i18n }}\n </li>\n </ul>\n <pry-share [(ngModel)]=\"groups\" labelProperty=\"name\" valueProperty=\"id\" [disabled]=\"consultMode\"></pry-share>\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </pry-step>\n </pry-stepper>\n</div>\n\n<ng-template #buttons let-submit=\"submit\">\n <div class=\"m-btn-group -space-evenly actions\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ (consultMode ? '@pry.restitution.goBack' : '@pry.restitution.close') | i18n }}\n </button>\n <button (click)=\"goNext(stepper, submit)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ (activeStepIndex === 3 ? '@pry.restitution.share' : '@pry.restitution.next') | i18n }}\n </button>\n </div>\n</ng-template>\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { Component, Inject, Optional, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { ConfigActions, ConfigSelectors, PRY_ACCESS_TOKEN, PryBaseAccess, ViewMode, Widget } from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, map, Observable, of } from 'rxjs';\nimport { TemplatePortal } from '@angular/cdk/portal';\n\n@Component({\n selector: 'pry-restitution-catalog',\n templateUrl: './restitution-catalog.component.html'\n})\nexport class PryRestitutionCatalogComponent {\n restitutions$: Observable<Widget[]>;\n search$ = new BehaviorSubject('');\n filteredRestitution$: Observable<Widget[]>;\n mode = ViewMode;\n selectedMode: ViewMode = ViewMode.CATALOG;\n selectedRestitution: Widget | null = null;\n restitution?: Widget;\n overlayRef?: OverlayRef;\n @ViewChild('modalActions', { read: TemplateRef }) templateActions!: TemplateRef<any>;\n\n constructor(\n private store: Store,\n protected overlay: Overlay,\n protected viewContainerRef: ViewContainerRef,\n @Optional() @Inject(PRY_ACCESS_TOKEN) private access: PryBaseAccess\n ) {\n this.store.dispatch(ConfigActions.loadWidgets());\n this.store.dispatch(ConfigActions.getMapStyles());\n\n this.restitutions$ = this.store\n .select(ConfigSelectors.catalog)\n .pipe(\n map((restitutionList) =>\n [...restitutionList].sort((a, b) =>\n a.modificationDate ? b.modificationDate.localeCompare(a.modificationDate) : 1\n )\n )\n );\n this.filteredRestitution$ = combineLatest([this.restitutions$, this.search$]).pipe(\n map(([restitutions, search]) =>\n restitutions.filter(\n (restitution) => search.length === 0 || restitution.name.toLowerCase().includes(search.toLowerCase())\n )\n )\n );\n }\n\n selectMode(newMode: ViewMode) {\n this.selectedMode = newMode;\n }\n\n selectRestitution(restitution: Widget) {\n this.selectedRestitution = restitution;\n this.selectMode(this.mode.CONSULT);\n this.search$.next('');\n }\n\n closeRestitution($event: void) {\n this.selectedRestitution = null;\n this.selectMode(this.mode.CATALOG);\n }\n\n deleteRestitution(id: string) {\n this.store.dispatch(ConfigActions.confirmRestitutionDeletion({ id }));\n this.toggleModalActions();\n }\n\n editRestitution(restitution: Widget) {\n this.selectedRestitution = restitution;\n this.selectMode(ViewMode.EDITION);\n this.search$.next('');\n this.overlayRef?.dispose();\n this.overlayRef = undefined;\n }\n\n toggleModalActions(restitution?: Widget, moreButton?: HTMLButtonElement) {\n if (!this.overlayRef && restitution) {\n this.selectedRestitution = restitution;\n this.overlayRef = this.overlay.create(\n new OverlayConfig({\n hasBackdrop: true,\n panelClass: ['m-context-menu-wrapper'],\n backdropClass: 'backdrop'\n })\n );\n this.overlayRef.backdropClick().subscribe(() => this.toggleModalActions(restitution));\n this.overlayRef.attach(new TemplatePortal(this.templateActions, this.viewContainerRef));\n const contextMenu = document.querySelector('div.m-context-menu') as HTMLDivElement;\n if (!!contextMenu && moreButton) {\n const rect = moreButton?.getBoundingClientRect();\n contextMenu.style.left = (rect?.left ?? 0) - (contextMenu?.clientWidth ?? 0) + 23 + 'px';\n contextMenu.style.top = (rect?.top ?? 0) + 30 + 'px';\n }\n } else {\n this.overlayRef?.dispose();\n this.overlayRef = undefined;\n this.selectedRestitution = null;\n }\n }\n\n canModify$(widget?: Widget): Observable<boolean> {\n return this.access && widget ? this.access.canModifyWidget(widget) : of(false);\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-manifest-layout o-restitution-catalog\">\n @if (selectedMode === mode.CATALOG) {\n <div class=\"o-manifest-layout__toolbox\">\n <button\n type=\"button\"\n (click)=\"selectMode(mode.CREATION)\"\n class=\"a-btn a-btn--primary\"\n data-tooltip-position=\"bottom\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'create' }\"\n >\n <pry-icon iconSvg=\"add\"></pry-icon>\n {{ '@pry.restitution.create' | i18n }}\n </button>\n <div>\n <div class=\"o-catalog__search o-manifest-layout__toolbox__search\">\n <label id=\"catalog-search-label\" for=\"catalog-search\" class=\"u-visually-hidden\">\n <span>{{ '@pry.toolbox.catalog.filter.name' | i18n }}</span>\n </label>\n <input\n id=\"catalog-search\"\n type=\"text\"\n class=\"a-form-field\"\n [placeholder]=\"'@pry.restitution.search' | i18n\"\n [ngModel]=\"search$ | async\"\n (ngModelChange)=\"this.search$.next($event)\"\n />\n <pry-icon iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n </div>\n </div>\n </div>\n <div class=\"u-self-start\">\n <h1 class=\"a-h1 -no-padding\">{{ '@pry.restitution.catalog' | i18n }}</h1>\n </div>\n <div class=\"o-manifest-layout__content\">\n <ul class=\"o-presentation\">\n @for (restitution of filteredRestitution$ | async; track restitution; let index = $index) {\n <li class=\"o-presentation__item\">\n <div class=\"o-presentation__item__header\">\n @if (restitution.groups?.length === 0) {\n <pry-icon\n iconSvg=\"private\"\n class=\"is-private a-tooltip -tooltip-no-wrap\"\n [attr.data-tooltip]=\"'@pry.restitution.lock' | i18n\"\n [height]=\"17\"\n [width]=\"17\"\n ></pry-icon>\n }\n <div\n class=\"a-tooltip -tooltip-no-wrap\"\n (click)=\"selectRestitution(restitution)\"\n [attr.data-tooltip]=\"'@pry.restitution.consultRestitution' | i18n\"\n >\n <div class=\"o-presentation__item__image\">\n <img alt=\"\" class=\"is-full-width\" [src]=\"restitution.image | getSecuredImage: [600, 600] | async\" />\n </div>\n </div>\n @if (canModify$(restitution) | async) {\n <div class=\"more-button\">\n <button\n type=\"button\"\n class=\"a-btn a-btn--more a-tooltip -tooltip-no-wrap\"\n [id]=\"'more-actions-' + index\"\n [attr.data-tooltip]=\"'@pry.restitution.more' | i18n\"\n (click)=\"toggleModalActions(restitution, button)\"\n #button\n >\n <pry-icon [height]=\"25\" [width]=\"25\" iconSvg=\"more_horiz\"></pry-icon>\n </button>\n </div>\n }\n </div>\n <div\n class=\"o-presentation__item__txt\"\n (click)=\"selectRestitution(restitution)\"\n [attr.data-tooltip]=\"'@pry.restitution.consultRestitution' | i18n\"\n >\n <div class=\"o-presentation__item__title-container\" ellipsis textElementSelector=\".a-h3\">\n <h3 class=\"a-h3\">{{ restitution.name }}</h3>\n </div>\n <div class=\"o-presentation__item__description-container\" ellipsis textElementSelector=\".a-p\">\n <div class=\"o-presentation__item__description a-p\">\n {{ restitution.description }}\n </div>\n </div>\n <p class=\"a-p -date\">{{ restitution.modificationDate | sinceDate }}</p>\n </div>\n <div\n class=\"o-presentation__item__footer a-tooltip -tooltip-no-wrap\"\n (click)=\"selectRestitution(restitution)\"\n [attr.data-tooltip]=\"'@pry.restitution.consultRestitution' | i18n\"\n >\n <button class=\"a-btn\">\n {{ '@pry.restitution.view' | i18n }}\n <pry-icon [width]=\"20\" [height]=\"20\" iconSvg=\"arrow_right\"></pry-icon>\n </button>\n </div>\n </li>\n }\n </ul>\n </div>\n }\n <ng-template #modalActions>\n <div class=\"m-context-menu\">\n @if (selectedRestitution) {\n <ul\n class=\"m-context-menu__list\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog restitution options\"\n >\n <li class=\"m-context-menu__list__item\">\n <button\n class=\"a-btn -link-like\"\n (click)=\"editRestitution(selectedRestitution)\"\n [disabled]=\"!(canModify$(selectedRestitution) | async)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'edit' }\"\n >\n {{ '@pry.restitution.update' | i18n }}\n </button>\n </li>\n <li class=\"m-context-menu__list__item\">\n <button\n class=\"a-btn -link-like\"\n #openModal\n (click)=\"deleteRestitution(selectedRestitution.id)\"\n [disabled]=\"!(canModify$(selectedRestitution) | async)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'delete' }\"\n >\n {{ '@pry.restitution.delete' | i18n }}\n </button>\n </li>\n </ul>\n }\n </div>\n </ng-template>\n\n @if (selectedMode === mode.CONSULT) {\n <div class=\"o-manifest-layout__toolbox\">\n <button type=\"button\" (click)=\"selectMode(mode.CATALOG)\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.backToCatalog' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <pry-restitution\n [selectedRestitution]=\"selectedRestitution\"\n [edit]=\"false\"\n (restitutionCreated)=\"closeRestitution($event)\"\n class=\"restitution\"\n ></pry-restitution>\n </div>\n }\n @if (selectedMode === mode.CREATION) {\n <div class=\"o-manifest-layout__toolbox\">\n <button type=\"button\" (click)=\"selectMode(mode.CATALOG)\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.backToCatalog' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <pry-restitution\n [edit]=\"false\"\n (restitutionCreated)=\"closeRestitution($event)\"\n class=\"restitution\"\n ></pry-restitution>\n </div>\n }\n @if (selectedMode === mode.EDITION) {\n <div class=\"o-manifest-layout__toolbox\">\n <button type=\"button\" (click)=\"selectMode(mode.CATALOG)\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.backToCatalog' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <pry-restitution\n (restitutionCreated)=\"closeRestitution($event)\"\n [selectedRestitution]=\"selectedRestitution\"\n class=\"restitution\"\n ></pry-restitution>\n </div>\n }\n</div>\n","import { Component, Input } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigSelectors,\n DashboardActions,\n DashboardGridLayout,\n DashboardSelectors,\n SubscriptionnerDirective,\n ToolboxManifestService,\n Widget\n} from '@provoly/dashboard';\nimport { map, Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-catalog-item',\n templateUrl: './restitution-list-item.component.html'\n})\nexport class PryRestitutionListItemComponent extends SubscriptionnerDirective {\n @Input() widget!: CatalogEntry;\n @Input() translate: boolean = true;\n catalog: Widget[] | undefined;\n automaticGridMode$: Observable<boolean>;\n automaticGridMode: boolean = false;\n\n constructor(\n private store: Store,\n private toolboxManifestService: ToolboxManifestService\n ) {\n super();\n this.store.select(ConfigSelectors.catalog).subscribe((catalog: Widget[]) => (this.catalog = catalog));\n this.automaticGridMode$ = this.store\n .select(DashboardSelectors.gridLayout)\n .pipe(map((layout) => layout !== DashboardGridLayout.MANUAL));\n this.subscriptions.add(this.automaticGridMode$.subscribe((modeAuto) => (this.automaticGridMode = modeAuto)));\n }\n\n dragStart($event: DragEvent, type: string) {\n if (!this.automaticGridMode) {\n this.toolboxManifestService.dataTransfer($event, type);\n }\n }\n\n viewInDashboard(widget: CatalogEntry) {\n this.store.dispatch(DashboardActions.addWidgetToPresentation({ widgetType: widget.type }));\n }\n}\n","<li\n class=\"o-catalog__list__item\"\n [class.is-point]=\"automaticGridMode$ | async\"\n [draggable]=\"!(automaticGridMode$ | async)\"\n role=\"listitem\"\n aria-grabbed=\"false\"\n aria-haspopup=\"true\"\n tabindex=\"-1\"\n [title]=\"widget.description ?? widget.label | i18n : { warn: false }\"\n (dragstart)=\"dragStart($event, widget.type)\"\n >\n @if (automaticGridMode$ | async) {\n <button\n type=\"button\"\n class=\"a-btn a-btn--icon-only\"\n (click)=\"viewInDashboard(widget)\"\n [title]=\"'@pry.restitution.add_icon' | i18n\"\n >\n <pry-icon [width]=\"25\" [height]=\"25\" iconSvg=\"add_column\" class=\"o-catalog__list__icon\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.restitution.add_icon' | i18n }}</span>\n </button>\n }\n <img\n [alt]=\"widget.label | i18n : { warn: false }\"\n [src]=\"widget.icon | getSecuredImage : [53, 53] | async\"\n [height]=\"53\"\n [width]=\"53\"\n />\n @if (widget.isCustom) {\n <p class=\"o-catalog__list__item__libelle\">{{ widget.label }}</p>\n } @else {\n <p class=\"o-catalog__list__item__libelle\">{{ widget.label | i18n : { warn: false } }}</p>\n }\n @if (widget.groups?.length === 0) {\n <pry-icon\n iconSvg=\"private\"\n class=\"is-private a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.lock' | i18n\"\n [height]=\"17\"\n [width]=\"17\"\n ></pry-icon>\n }\n</li>\n","import { Component, Input } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigActions,\n PryI18nService,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService\n} from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, map, Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-catalog',\n templateUrl: './restitution-list.component.html'\n})\nexport class PryRestitutionListComponent extends SubscriptionnerDirective {\n @Input() showTabs = true;\n private _customModels = ['detail', 'iframe'];\n @Input() get customModels(): string[] {\n return this._customModels;\n }\n set customModels(models: string[]) {\n this._customModels = ['detail', 'iframe', ...models];\n }\n\n search$ = new BehaviorSubject('');\n type$ = new BehaviorSubject<undefined | string>(undefined);\n\n filteredWidgets$: Observable<CatalogEntry[]>;\n nonCustomWidgets$: Observable<CatalogEntry[]>;\n customWidgets$: Observable<CatalogEntry[]>;\n\n types$: Observable<{ icon: string; label: string; type: string }[]>;\n categories = ['model', 'noModel'];\n\n constructor(\n private toolboxMenuService: ToolboxMenuService,\n private translateService: PryI18nService,\n private toolboxManifestService: ToolboxManifestService,\n private store: Store\n ) {\n super();\n this.store.dispatch(ConfigActions.loadWidgets());\n this.types$ = this.toolboxMenuService.types$;\n this.filteredWidgets$ = combineLatest([this.toolboxMenuService.menuList$, this.search$, this.type$]).pipe(\n map(([widgets, search, type]) =>\n widgets.filter(\n (widget) =>\n (search.length === 0 ||\n this.translateService.instant(widget.label).toLocaleLowerCase().includes(search.toLocaleLowerCase())) &&\n (!type || this.toolboxManifestService.get(widget.type).type === type)\n )\n )\n );\n this.nonCustomWidgets$ = this.filteredWidgets$.pipe(\n map((widgets) =>\n widgets.filter(\n (widget) => this.toolboxManifestService.isModel(widget.type) || this.customModels.includes(widget.type)\n )\n )\n );\n this.customWidgets$ = this.filteredWidgets$.pipe(\n map((widgets) =>\n widgets.filter(\n (widget) => !this.toolboxManifestService.isModel(widget.type) && !this.customModels.includes(widget.type)\n )\n )\n );\n }\n\n selectType(type: string) {\n this.type$.next(type);\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-catalog\">\n <h2 class=\"a-h2\">{{ '@pry.restitution.catalog' | i18n }}</h2>\n <div class=\"o-catalog__filters\">\n <div class=\"o-catalog__filters__by-name\">\n <label id=\"catalog-search-label\" for=\"catalog-search\" class=\"a-label u-visually-hidden\">\n <span>{{ '@pry.toolbox.catalog.filter.name' | i18n }}</span>\n </label>\n <pry-icon class=\"search-icon\" iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n <input\n id=\"catalog-search\"\n type=\"text\"\n class=\"a-form-field\"\n [placeholder]=\"'@pry.action.search' | i18n\"\n [ngModel]=\"search$ | async\"\n (ngModelChange)=\"this.search$.next($event)\"\n />\n </div>\n <label class=\"a-label\">{{ '@pry.action.filterByType' | i18n }}</label>\n <div class=\"o-catalog__filters__by-type\">\n <ul class=\"o-catalog__filters__by-type__list\">\n @for (typeOpt of types$ | async; track typeOpt.label) {\n <li>\n <input\n type=\"radio\"\n class=\"a-form-field u-sr-only\"\n name=\"catalog-filter\"\n id=\"catalog-button-{{ typeOpt.type }}\"\n [checked]=\"typeOpt.type === (type$ | async)\"\n (change)=\"selectType(typeOpt.type)\"\n />\n <label\n class=\"a-label\"\n id=\"catalog-button-label-{{ typeOpt.type }}\"\n for=\"catalog-button-{{ typeOpt.type }}\"\n [title]=\"typeOpt.label | i18n: { warn: false }\"\n >\n <span class=\"u-sr-only\">{{ typeOpt.label | i18n: { warn: false } }} </span>\n <pry-icon [width]=\"18\" [height]=\"18\" [iconSvg]=\"typeOpt.icon\"></pry-icon>\n </label>\n </li>\n }\n </ul>\n <button\n type=\"button\"\n class=\"a-btn a-btn--icon-text -link-like\"\n (click)=\"type$.next(undefined)\"\n [disabled]=\"!type$.getValue()\"\n [class.u-visually-hidden]=\"!type$.getValue()\"\n >\n <pry-icon [width]=\"15\" [height]=\"15\" iconSvg=\"delete\"></pry-icon>\n {{ '@pry.toolbox.catalog.filter.delete' | i18n }}\n </button>\n </div>\n </div>\n @if (showTabs) {\n <div class=\"o-accordion\" role=\"tablist\" aria-multiselectable=\"false\">\n <pry-accordion>\n @for (category of categories; track category; let index = $index) {\n <pry-accordion-item\n [item]=\"category\"\n [index]=\"index\"\n translationStringBase=\"@pry.restitution.catalogTabs.\"\n [length]=\"\n (category === 'model' ? (nonCustomWidgets$ | async)?.length : (customWidgets$ | async)?.length) ?? 0\n \"\n >\n <ul class=\"o-catalog__list\" role=\"list\" aria-live=\"polite\">\n @if (category === 'model') {\n @for (widget of nonCustomWidgets$ | async; track widget.label) {\n <pry-catalog-item [widget]=\"widget\"></pry-catalog-item>\n }\n } @else if (category === 'noModel') {\n @for (widget of customWidgets$ | async; track widget.label) {\n <pry-catalog-item [widget]=\"widget\" [translate]=\"false\"></pry-catalog-item>\n }\n }\n </ul>\n </pry-accordion-item>\n }\n </pry-accordion>\n </div>\n } @else {\n <ul class=\"o-catalog__list\" role=\"list\" aria-live=\"polite\">\n @for (widget of filteredWidgets$ | async; track widget.label) {\n <pry-catalog-item [widget]=\"widget\"></pry-catalog-item>\n }\n </ul>\n }\n</div>\n","export const enTranslations = {\n '@pry': {\n restitution: {\n restitution_type: 'Restitution type',\n data_type: 'Data type',\n graph_title: 'Title',\n description: 'Description',\n image: 'Image',\n close: 'Cancel',\n validate: 'Save',\n share: 'Share',\n view: 'View',\n create: 'Create restitution',\n cancel: 'Cancel',\n goBack: 'Go back',\n configure: 'Configure',\n visualize: 'Visualize',\n access: 'Do you want to give access / invite users?',\n public: 'Make this participatory survey accessible to all users in the restitution catalog',\n private: 'Invite certain users of your choice to respond to this participatory survey',\n choice: 'You can :',\n or: 'Or',\n create_title: 'Create a restitution',\n consultRestitution: 'Consult the restitution',\n search: 'Search',\n backToCatalog: 'Back to catalog',\n options: 'Restitution options',\n consult: 'Consult',\n catalog: 'Restitutions catalog',\n add_icon: 'Add this restitution on the presentation',\n dataSource: 'Data',\n noDataSource: 'No data available',\n delete: 'Delete restitution',\n next: 'Next',\n lock: 'Private restitution',\n update: 'Edit information',\n cover: 'Image will cover the whole restitution card',\n catalogTabs: {\n model: 'Restitution models',\n noModel: 'Restitutions catalog'\n }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n restitution: {\n restitution_type: 'Type de restitution',\n data_type: 'Type de données',\n graph_title: 'Titre de la restitution',\n description: 'Description',\n image: 'Image d’illustration',\n close: 'Annuler',\n validate: 'Valider',\n share: 'Partager',\n more: 'Options',\n options: 'Options de la restitution',\n view: 'Consulter',\n create: 'Créer une restitution',\n edit: 'Modifier la restitution',\n cancel: 'Annuler',\n goBack: 'Retour',\n configure: 'Configurer',\n visualize: 'Visualiser',\n access: 'Vous souhaitez donner accès / inviter des utilisateurs ?',\n public: 'Rendre accessible cette restitution à tous les utilisateurs',\n private: 'Rendre accessible à certains utilisateurs de votre choix cette restitution',\n choice: 'Vous pouvez :',\n or: 'Ou',\n search: 'Rechercher',\n backToCatalog: 'Retour au catalogue',\n consult: 'Consulter',\n consultRestitution: 'Consulter la restitution',\n catalog: 'Catalogue des restitutions',\n add_icon: 'Ajouter cette restitution sur la présentation',\n dataSource: 'Donnée(s)',\n noDataSource: 'Aucune donnée disponible',\n delete: 'Supprimer la restitution',\n next: 'Suivant',\n lock: 'Restitution privée',\n update: 'Modifier les informations',\n cover: \"L'image doit couvrir la carte de la restitution\",\n catalogTabs: {\n model: 'Modèles de restitution',\n noModel: 'Restitutions du catalogue'\n }\n }\n }\n};\n","import { CommonModule, DatePipe } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {\n PryCoreModule,\n PryDashboardModule,\n PryI18nModule,\n PryI18nService,\n PryIconModule,\n PryOverlayModule,\n PrySelectModule,\n PryShareModule,\n PrySinceDateModule\n} from '@provoly/dashboard';\nimport { PryCardModule } from '@provoly/dashboard/components/card';\nimport { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';\nimport { PryStepperModule } from '@provoly/dashboard/components/stepper';\nimport { PrySearchModule } from '@provoly/dashboard/search';\nimport { PryRestitutionCatalogComponent } from './components/restitution-catalog/restitution-catalog.component';\nimport { PryRestitutionListComponent } from './components/restitution-list/restitution-list.component';\nimport { PryRestitutionComponent } from './components/restitution/restitution.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { PryCatalogCssComponent } from './style/css.component';\nimport { PryRestitutionListItemComponent } from './components/restitution-list-item/restitution-list-item.component';\n\n@NgModule({\n providers: [DatePipe],\n declarations: [\n PryRestitutionListComponent,\n PryRestitutionComponent,\n PryCatalogCssComponent,\n PryRestitutionCatalogComponent,\n PryRestitutionListItemComponent\n ],\n imports: [\n CommonModule,\n PryCoreModule,\n PryIconModule,\n FormsModule,\n PryStepperModule,\n PrySelectModule,\n PryDashboardModule,\n PryShareModule,\n PrySearchModule,\n PryI18nModule,\n PryCardModule,\n PryCheckboxModule,\n PryOverlayModule,\n PrySinceDateModule\n ],\n exports: [\n PryRestitutionListComponent,\n PryRestitutionComponent,\n PryRestitutionCatalogComponent,\n PryRestitutionListItemComponent\n ]\n})\nexport class PryRestitutionModule {\n constructor(private pryTranslateService: PryI18nService) {\n this.pryTranslateService.addLangObject('fr', 'restitution', frTranslations);\n this.pryTranslateService.addLangObject('en', 'restitution', enTranslations);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i6.PryCatalogCssComponent","i3","i5.PryRestitutionComponent","i7","i1","i4.PryCatalogCssComponent","i5.PryRestitutionListItemComponent","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;MAQa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,2DAJvB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,43EAAA,EAAA,oWAAA,EAAA,mnGAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAID,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EACrB,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,MAAA,EAAA,CAAA,43EAAA,EAAA,oWAAA,EAAA,mnGAAA,CAAA,EAAA,CAAA;;;AC2BjC,MAAO,uBAAwB,SAAQ,wBAAwB,CAAA;AA8Bn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uBAAuB;wBACvB,8BAA8B;wBAC9B,+BAA+B;AAChC,qBAAA;AACF,iBAAA,CAAA;;;ACzDD;;AAEG;;;;"}
@@ -537,11 +537,11 @@ class PresentationFormComponent extends SubscriptionnerDirective {
537
537
  this.formValue.next(this.getFormValue());
538
538
  }
539
539
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PresentationFormComponent, deps: [{ token: i1.Store }, { token: i3.PryI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
540
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: PresentationFormComponent, selector: "pry-presentation-form", inputs: { mode: "mode", themePrefix: "themePrefix", selectedPresentation: "selectedPresentation" }, outputs: { formValue: "formValue", isFormValid: "isFormValid" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" class=\"o-presentation-form\">\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_name\">{{ '@pry.presentation.form.name' | i18n }}</label>\n <input\n type=\"text\"\n id=\"presentation_name\"\n formControlName=\"name\"\n placeholder=\"{{ '@pry.presentation.form.name' | i18n }}\"\n class=\"a-form-field\"\n maxlength=\"50\"\n required\n #input\n />\n @if (name.touched && name.errors?.['required']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.required' | i18n }}\n </label>\n }\n @if (name.touched && name.errors?.['maxlength']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '50' } }}\n </label>\n }\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_description\">{{ '@pry.presentation.form.description' | i18n }}</label>\n <textarea\n formControlName=\"description\"\n id=\"presentation_description\"\n name=\"description\"\n cols=\"30\"\n rows=\"5\"\n maxlength=\"200\"\n placeholder=\"{{ '@pry.presentation.form.description' | i18n }}\"\n class=\"a-form-field\"\n ></textarea>\n @if (description.touched && description.errors?.['maxlength']) {\n <label for=\"presentation_description\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '200' } }}\n </label>\n }\n </div>\n @if (mode === 'theme') {\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_theme\">{{ '@pry.presentation.form.theme' | i18n }}</label>\n <pry-select\n id=\"presentation_theme\"\n [items]=\"possibleThemes\"\n formControlName=\"theme\"\n [clearable]=\"true\"\n [i18nPrefix]=\"themePrefix\"\n ></pry-select>\n </div>\n }\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image\n id=\"presentation_image\"\n (changed)=\"onImageChanged($event)\"\n [iconUrl]=\"image\"\n [mode]=\"type\"\n ></pry-select-image>\n </div>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.toolbox.about' | i18n }}</label>\n <pry-text-editor formControlName=\"additionalInformation\"></pry-text-editor>\n </div>\n</form>\n", dependencies: [{ kind: "directive", type: i3$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "component", type: i3.PrySelectImageComponent, selector: "pry-select-image", inputs: ["iconUrl", "size", "mode"], outputs: ["toggled", "changed"] }, { kind: "component", type: i3.PrySelectComponent, selector: "pry-select", inputs: ["items", "clearable", "multiple", "closeOnSelect", "placeholder", "isForm", "required", "name", "autocomplete", "alwaysShowAutosuggestedValues", "externalAutocompleteService", "bindValue", "bindLabel", "iconSize", "bindIcon", "template", "i18nPrefix", "bindClasses", "loading", "elementRef"], outputs: ["searched", "cleared", "clicked", "pressedEnter"] }, { kind: "component", type: i4.PryTextEditorComponent, selector: "pry-text-editor", inputs: ["tabView"] }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
540
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.7", type: PresentationFormComponent, selector: "pry-presentation-form", inputs: { mode: "mode", themePrefix: "themePrefix", selectedPresentation: "selectedPresentation" }, outputs: { formValue: "formValue", isFormValid: "isFormValid" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" class=\"o-presentation-form\">\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_name\"\n >{{ '@pry.presentation.form.name.title' | i18n }}<span class=\"required\">*</span></label\n >\n <input\n type=\"text\"\n id=\"presentation_name\"\n formControlName=\"name\"\n placeholder=\"{{ '@pry.presentation.form.name.placeholder' | i18n }}\"\n class=\"a-form-field\"\n maxlength=\"50\"\n required\n #input\n />\n @if (name.touched && name.errors?.['required']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.required' | i18n }}\n </label>\n }\n @if (name.touched && name.errors?.['maxlength']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '50' } }}\n </label>\n }\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_description\">{{\n '@pry.presentation.form.description.title' | i18n\n }}</label>\n <textarea\n formControlName=\"description\"\n id=\"presentation_description\"\n name=\"description\"\n cols=\"30\"\n rows=\"5\"\n maxlength=\"200\"\n placeholder=\"{{ '@pry.presentation.form.description.placeholder' | i18n }}\"\n class=\"a-form-field\"\n ></textarea>\n @if (description.touched && description.errors?.['maxlength']) {\n <label for=\"presentation_description\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '200' } }}\n </label>\n }\n </div>\n @if (mode === 'theme') {\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_theme\"\n >{{ '@pry.presentation.form.theme' | i18n }}<span class=\"required\">*</span></label\n >\n <pry-select\n id=\"presentation_theme\"\n [items]=\"possibleThemes\"\n formControlName=\"theme\"\n [clearable]=\"true\"\n [i18nPrefix]=\"themePrefix\"\n ></pry-select>\n </div>\n }\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image\n id=\"presentation_image\"\n (changed)=\"onImageChanged($event)\"\n [iconUrl]=\"image\"\n [mode]=\"type\"\n ></pry-select-image>\n </div>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.toolbox.about' | i18n }}</label>\n <pry-text-editor formControlName=\"additionalInformation\"></pry-text-editor>\n </div>\n</form>\n", dependencies: [{ kind: "directive", type: i3$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "component", type: i3.PrySelectImageComponent, selector: "pry-select-image", inputs: ["iconUrl", "size", "mode"], outputs: ["toggled", "changed"] }, { kind: "component", type: i3.PrySelectComponent, selector: "pry-select", inputs: ["items", "clearable", "multiple", "closeOnSelect", "placeholder", "isForm", "required", "name", "autocomplete", "alwaysShowAutosuggestedValues", "externalAutocompleteService", "bindValue", "bindLabel", "iconSize", "bindIcon", "template", "i18nPrefix", "bindClasses", "loading", "elementRef"], outputs: ["searched", "cleared", "clicked", "pressedEnter"] }, { kind: "component", type: i4.PryTextEditorComponent, selector: "pry-text-editor", inputs: ["tabView"] }, { kind: "directive", type: i3$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
541
541
  }
542
542
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PresentationFormComponent, decorators: [{
543
543
  type: Component,
544
- args: [{ selector: 'pry-presentation-form', template: "<form [formGroup]=\"form\" class=\"o-presentation-form\">\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_name\">{{ '@pry.presentation.form.name' | i18n }}</label>\n <input\n type=\"text\"\n id=\"presentation_name\"\n formControlName=\"name\"\n placeholder=\"{{ '@pry.presentation.form.name' | i18n }}\"\n class=\"a-form-field\"\n maxlength=\"50\"\n required\n #input\n />\n @if (name.touched && name.errors?.['required']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.required' | i18n }}\n </label>\n }\n @if (name.touched && name.errors?.['maxlength']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '50' } }}\n </label>\n }\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_description\">{{ '@pry.presentation.form.description' | i18n }}</label>\n <textarea\n formControlName=\"description\"\n id=\"presentation_description\"\n name=\"description\"\n cols=\"30\"\n rows=\"5\"\n maxlength=\"200\"\n placeholder=\"{{ '@pry.presentation.form.description' | i18n }}\"\n class=\"a-form-field\"\n ></textarea>\n @if (description.touched && description.errors?.['maxlength']) {\n <label for=\"presentation_description\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '200' } }}\n </label>\n }\n </div>\n @if (mode === 'theme') {\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_theme\">{{ '@pry.presentation.form.theme' | i18n }}</label>\n <pry-select\n id=\"presentation_theme\"\n [items]=\"possibleThemes\"\n formControlName=\"theme\"\n [clearable]=\"true\"\n [i18nPrefix]=\"themePrefix\"\n ></pry-select>\n </div>\n }\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image\n id=\"presentation_image\"\n (changed)=\"onImageChanged($event)\"\n [iconUrl]=\"image\"\n [mode]=\"type\"\n ></pry-select-image>\n </div>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.toolbox.about' | i18n }}</label>\n <pry-text-editor formControlName=\"additionalInformation\"></pry-text-editor>\n </div>\n</form>\n" }]
544
+ args: [{ selector: 'pry-presentation-form', template: "<form [formGroup]=\"form\" class=\"o-presentation-form\">\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_name\"\n >{{ '@pry.presentation.form.name.title' | i18n }}<span class=\"required\">*</span></label\n >\n <input\n type=\"text\"\n id=\"presentation_name\"\n formControlName=\"name\"\n placeholder=\"{{ '@pry.presentation.form.name.placeholder' | i18n }}\"\n class=\"a-form-field\"\n maxlength=\"50\"\n required\n #input\n />\n @if (name.touched && name.errors?.['required']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.required' | i18n }}\n </label>\n }\n @if (name.touched && name.errors?.['maxlength']) {\n <label for=\"presentation_name\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '50' } }}\n </label>\n }\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_description\">{{\n '@pry.presentation.form.description.title' | i18n\n }}</label>\n <textarea\n formControlName=\"description\"\n id=\"presentation_description\"\n name=\"description\"\n cols=\"30\"\n rows=\"5\"\n maxlength=\"200\"\n placeholder=\"{{ '@pry.presentation.form.description.placeholder' | i18n }}\"\n class=\"a-form-field\"\n ></textarea>\n @if (description.touched && description.errors?.['maxlength']) {\n <label for=\"presentation_description\" class=\"a-label a-label--help -error\">\n {{ '@pry.presentation.maxLength' | i18n: { len: '200' } }}\n </label>\n }\n </div>\n @if (mode === 'theme') {\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_theme\"\n >{{ '@pry.presentation.form.theme' | i18n }}<span class=\"required\">*</span></label\n >\n <pry-select\n id=\"presentation_theme\"\n [items]=\"possibleThemes\"\n formControlName=\"theme\"\n [clearable]=\"true\"\n [i18nPrefix]=\"themePrefix\"\n ></pry-select>\n </div>\n }\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image\n id=\"presentation_image\"\n (changed)=\"onImageChanged($event)\"\n [iconUrl]=\"image\"\n [mode]=\"type\"\n ></pry-select-image>\n </div>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.toolbox.about' | i18n }}</label>\n <pry-text-editor formControlName=\"additionalInformation\"></pry-text-editor>\n </div>\n</form>\n" }]
545
545
  }], ctorParameters: () => [{ type: i1.Store }, { type: i3.PryI18nService }], propDecorators: { mode: [{
546
546
  type: Input
547
547
  }], themePrefix: [{