@provoly/dashboard 0.19.8 → 0.19.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 DataSource,\n DataSourceActions,\n DEFAULT_RESTITUTION_ICON_URL,\n FieldActions,\n LibraryTypes,\n PryVisibility,\n PryVisibilityType,\n SearchActions,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService,\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 cover: false\n };\n visibility: PryVisibility = {\n type: PryVisibilityType.PRIVATE,\n users: []\n };\n openSettings$: Subject<void> = new Subject<void>();\n users$: Observable<any[]> | null = null;\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\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 }\n\n ngOnInit(): void {\n if (this.selectedRestitution) {\n if (!this.edit) {\n this.consultMode = true;\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.visibility) {\n this.visibility = this.selectedRestitution.visibility;\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.customManifest.header = {\n datasourceSelection: false,\n parameters: true,\n window: false,\n maximize: false,\n addToCatalog: false,\n delete: false,\n changeSpot: false\n };\n this.form = {\n selectedWidget: this.customManifest.type,\n selectedDataSources: this.customManifest.datasource as string[],\n title: this.selectedRestitution.name,\n cover: this.selectedRestitution.cover,\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 this.form.cover = false;\n if (this.consultMode || this.selectedRestitution) {\n this.restitutionCreated.emit();\n return;\n }\n this.prev(stepper);\n }\n\n datasourcesChanged($event: DataSource[]) {\n this.form.selectedDataSources = $event.map((ds) => ds.id);\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 cover: this.form.cover ?? false,\n header: {\n datasourceSelection: false,\n parameters: true,\n window: false,\n maximize: false,\n addToCatalog: false,\n delete: false,\n changeSpot: false\n },\n options: {\n ...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) {\n 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.edit) {\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 visibility: this.visibility,\n datasource: this.form.selectedDataSources,\n cover: this.form.cover ?? false,\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_title' : '@pry.restitution.create_title') | i18n }}\n </h3>\n <pry-stepper #stepper [isConsultMode]=\"consultMode || edit\" (lastStepCompleted)=\"lastStepCompleted()\">\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.configure' | i18n }}</h4>\n <div>\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 class=\"a-pry-select\"\n [itemsAsOption]=\"true\"\n [items]=\"types$ | async\"\n [labelTranslate]=\"true\"\n [(ngModel)]=\"form.selectedWidget\"\n [disabled]=\"consultMode\"\n bindIcon=\"icon\"\n bindLabel=\"label\"\n bindValue=\"type\"\n >\n </pry-select>\n </div>\n <div *ngIf=\"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.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image (changed)=\"image = $event\" [iconUrl]=\"image\" [mode]=\"type\"></pry-select-image>\n <pry-checkbox [(ngModel)]=\"form.cover\" name=\"cover\"> {{ '@pry.restitution.cover' | i18n }}</pry-checkbox>\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 </div>\n </div>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.dataSource' | i18n }}</h4>\n <pry-datasource-selector\n (cancel)=\"prev(stepper)\"\n (validated)=\"submit(stepper)\"\n (datasourcesChanged)=\"datasourcesChanged($event)\"\n [datasourceIds]=\"form.selectedDataSources\"\n ></pry-datasource-selector>\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 <div class=\"m-btn-group -space-evenly actions\" *ngIf=\"!consultMode; else consult\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button (click)=\"goNext(stepper)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.validate' | i18n }}\n </button>\n </div>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.broadcast' | i18n }}</h4>\n <div class=\"\">\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 </div>\n <pry-share\n [(ngModel)]=\"visibility\"\n [users$]=\"users$\"\n labelProperty=\"name\"\n valueProperty=\"id\"\n [disabled]=\"consultMode\"\n ></pry-share>\n <div class=\"m-btn-group -space-evenly actions\" *ngIf=\"!consultMode; else consult\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button (click)=\"goNext(stepper)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.broadcast' | i18n }}\n </button>\n </div>\n </pry-step>\n </pry-stepper>\n</div>\n\n<ng-template #consult>\n <div class=\"m-btn-group -space-evenly actions\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button (click)=\"goNext(stepper)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.next' | i18n }}\n </button>\n </div>\n</ng-template>\n<ng-template #noDatasource>\n <p class=\"search-home__container-search\">{{ '@pry.restitution.noDataSource' | i18n }}</p>\n</ng-template>\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { Component, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n ConfigActions,\n ConfigSelectors, DashboardActions,\n ManifestDescription,\n PryVisibilityType,\n ViewMode,\n Widget\n} from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, map, Observable } 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 PryVisibilityType = PryVisibilityType;\n overlayRef?: OverlayRef;\n @ViewChild('modalActions', { read: TemplateRef }) templateActions!: TemplateRef<any>;\n\n constructor(private store: Store, protected overlay: Overlay, protected viewContainerRef: ViewContainerRef) {\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 ) {\n if (!this.overlayRef && restitution){\n this.selectedRestitution = restitution\n this.overlayRef = this.overlay.create(\n new OverlayConfig({\n hasBackdrop: true,\n panelClass: ['o-modal-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 } else {\n this.overlayRef?.dispose();\n this.overlayRef = undefined\n this.selectedRestitution = null;\n }\n }\n\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-manifest-layout o-restitution-catalog\">\n <ng-template [ngIf]=\"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 a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.create_title' | i18n\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'create' }\"\n >\n {{ '@pry.restitution.create_title' | i18n }}\n </button>\n <div>\n <div class=\"o-catalog__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\n <pry-icon iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n </div>\n </div>\n </div>\n <div class=\"o-manifest-layout__content\">\n <h1 class=\"a-h1\">{{ '@pry.restitution.catalog' | i18n }}</h1>\n\n <div class=\"o-presentation-wrapper\">\n <ul class=\"o-presentation\">\n <li class=\"o-presentation__item\" *ngFor=\"let restitution of filteredRestitution$ | async\">\n <div class=\"o-presentation__item__header\">\n <ng-container *ngIf=\"restitution.visibility?.type === PryVisibilityType.PRIVATE\">\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 </ng-container>\n <div class=\"a-tooltip\">\n <div class=\"o-presentation__item__image\">\n <img\n alt=\"\"\n [height]=\"restitution.cover ? 600 : 128\"\n [width]=\"restitution.cover ? 600 : 128\"\n [class.is-full-width]=\"restitution.cover\"\n [src]=\"restitution.image | getSecuredImage : [600, 600] | async\"\n class=\"pointer\"\n />\n </div>\n </div>\n <ng-container *ngIf=\"restitution.visibility?.type === PryVisibilityType.PRIVATE\">\n <div class=\"more-actions\">\n <button\n type=\"button\"\n class=\"a-btn a-btn--more a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.more' | i18n\"\n (click)=\"toggleModalActions(restitution)\"\n >\n <pry-icon [height]=\"25\" [width]=\"25\" iconSvg=\"more_horiz\"></pry-icon>\n </button>\n </div>\n </ng-container>\n </div>\n <div class=\"o-presentation__item__txt\">\n <h3 class=\"a-h3\">{{ restitution.name }}</h3>\n <p class=\"a-p -date\">{{ restitution.modificationDate | sinceDate }}</p>\n </div>\n\n <div class=\"o-presentation__item__footer\">\n <button class=\"a-btn a-tooltip\" (click)=\"selectRestitution(restitution)\" [attr.data-tooltip]=\"'@pry.presentation.view' | i18n\">\n {{'@pry.restitution.view' | i18n}}</button>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </ng-template>\n<ng-template #modalActions>\n <div class=\"o-modal\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog presenation options\"\n *ngIf=\"selectedRestitution\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">{{ '@pry.restitution.options' | i18n }}</h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button\n class=\"a-btn a-btn--icon-only\"\n (click)=\"toggleModalActions(selectedRestitution)\"\n >\n <pry-icon iconSvg=\"close\" [height]=\"35\" [width]=\"35\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.toolbox.close' | i18n }}</span>\n </button>\n </div>\n </div>\n <ul class=\"actions-list\">\n <li>\n <button\n type=\"button\"\n class=\"a-btn a-btn icon-only a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.update' | i18n\"\n (click)=\"editRestitution(selectedRestitution)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'edit' }\"\n >\n <pry-icon iconSvg=\"edit\"></pry-icon>\n </button>\n </li>\n <li>\n <button\n type=\"button\"\n class=\"a-btn a-btn icon-only a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.delete' | i18n\"\n (click)=\"deleteRestitution(selectedRestitution.id)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'delete' }\"\n >\n <pry-icon iconSvg=\"delete\"></pry-icon>\n </button>\n </li>\n </ul>\n </div>\n</ng-template>\n <ng-template [ngIf]=\"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 </ng-template>\n <ng-template [ngIf]=\"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 (restitutionCreated)=\"closeRestitution($event)\" class=\"restitution\"></pry-restitution>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"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 </ng-template>\n</div>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigSelectors,\n DashboardActions,\n DashboardGridLayout,\n DashboardSelectors,\n PryVisibilityType,\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 @Output() selectRestitution = new EventEmitter<Widget>();\n catalog: Widget[] | undefined;\n automaticGridMode$: Observable<boolean>;\n automaticGridMode: boolean = false;\n PryVisibilityType = PryVisibilityType;\n\n constructor(private store: Store, private toolboxManifestService: ToolboxManifestService) {\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 emitSelectedRestitution(catalogEntry: CatalogEntry) {\n if (catalogEntry.isCustom) {\n this.catalog?.forEach((widget: Widget) => {\n if (widget.id === catalogEntry.type) {\n this.selectRestitution.emit(widget);\n }\n });\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 <ng-container *ngIf=\"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 </ng-container>\n <img\n [alt]=\"widget.label | i18n : { warn: false }\"\n [src]=\"widget.icon | getSecuredImage : [600, 600] | async\"\n [height]=\"widget.cover ? 600 : 53\"\n [width]=\"widget.cover ? 600 : 53\"\n [class.is-full-width]=\"widget.cover\"\n />\n <p class=\"o-catalog__list__item__libelle\" *ngIf=\"widget.isCustom; else translate\">{{ widget.label }}</p>\n <ng-template #translate>\n <p class=\"o-catalog__list__item__libelle\">{{ widget.label | i18n : { warn: false } }}</p>\n </ng-template>\n <ng-container *ngIf=\"widget.visibility?.type === PryVisibilityType.PRIVATE\">\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 </ng-container>\n <div class=\"o-catalog__list__item__action\" *ngIf=\"widget.isCustom\">\n <button type=\"button\" class=\"a-btn a-btn--ghost\" (click)=\"emitSelectedRestitution(widget)\">\n {{ '@pry.restitution.view' | i18n }}\n </button>\n </div>\n</li>\n","import { Component, Input } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigActions,\n PryI18nService,\n PryVisibilityType,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService,\n ViewMode,\n Widget\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 @Input()\n get customModels(): string[] {\n return this._customModels;\n }\n set customModels(models: string[]) {\n this._customModels = ['detail', 'iframe', ...models];\n }\n private _customModels = ['detail', 'iframe'];\n search$ = new BehaviorSubject('');\n type$ = new BehaviorSubject<undefined | string>(undefined);\n filteredWidgets$: Observable<CatalogEntry[]>;\n nonCustomWidgets$: Observable<CatalogEntry[]>;\n customWidgets$: Observable<CatalogEntry[]>;\n types$: Observable<{ icon: string; label: string; type: string }[]>;\n selectedRestitution: Widget | null = null;\n mode = ViewMode;\n selectedMode: ViewMode = ViewMode.CATALOG;\n categories = ['model', 'noModel'];\n PryVisibilityType = PryVisibilityType;\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 selectMode(newMode: ViewMode) {\n this.selectedMode = newMode;\n }\n\n selectRestitution($event: Widget) {\n this.selectedRestitution = $event;\n this.selectMode(ViewMode.CONSULT);\n }\n\n closeRestitution() {\n this.selectedRestitution = null;\n this.selectMode(this.mode.CATALOG);\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-catalog\">\n <ng-template [ngIf]=\"selectedMode === mode.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 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 <li *ngFor=\"let typeOpt of types$ | async\">\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)=\"type$.next(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 </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 <ng-container *ngIf=\"showTabs; else list\">\n <div class=\"o-accordion\" role=\"tablist\" aria-multiselectable=\"false\">\n <pry-accordion>\n <pry-accordion-item\n *ngFor=\"let category of categories; let index = index\"\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 <ng-container *ngIf=\"category === 'model'\">\n <pry-catalog-item\n *ngFor=\"let widget of nonCustomWidgets$ | async\"\n [widget]=\"widget\"\n (selectRestitution)=\"selectRestitution($event)\"\n ></pry-catalog-item>\n </ng-container>\n <ng-container *ngIf=\"category === 'noModel'\">\n <pry-catalog-item\n *ngFor=\"let widget of customWidgets$ | async\"\n [translate]=\"false\"\n [widget]=\"widget\"\n (selectRestitution)=\"selectRestitution($event)\"\n ></pry-catalog-item>\n </ng-container>\n </ul>\n </pry-accordion-item>\n </pry-accordion>\n </div>\n </ng-container>\n\n <ng-template #list>\n <ul class=\"o-catalog__list\" role=\"list\" aria-live=\"polite\">\n <pry-catalog-item\n *ngFor=\"let widget of filteredWidgets$ | async\"\n [widget]=\"widget\"\n (selectRestitution)=\"selectRestitution($event)\"\n ></pry-catalog-item>\n </ul>\n </ng-template>\n </ng-template>\n\n <ng-template [ngIf]=\"selectedMode === mode.CONSULT\">\n <div class=\"o-catalog__create\">\n <button class=\"a-btn a-btn--secondary\" (click)=\"closeRestitution()\">\n {{ '@pry.restitution.cancel' | i18n }}\n </button>\n </div>\n\n <pry-restitution\n [selectedRestitution]=\"selectedRestitution\"\n [edit]=\"false\"\n (restitutionCreated)=\"closeRestitution()\"\n ></pry-restitution>\n </ng-template>\n\n <ng-template [ngIf]=\"selectedMode === mode.CREATION\">\n <div class=\"o-catalog__create\">\n <button class=\"a-btn a-btn--ghost\" (click)=\"selectMode(mode.CATALOG)\">\n {{ '@pry.restitution.cancel' | i18n }}\n </button>\n </div>\n\n <pry-restitution (restitutionCreated)=\"closeRestitution()\"></pry-restitution>\n </ng-template>\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 broadcast: 'Submit',\n view: 'View',\n create: 'Create restitution',\n cancel: 'Cancel',\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 consult_title: 'Consult a 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 selection: 'Selected data source(s):',\n select: 'Select one or more data source(s) :',\n selectDataSource: 'Select this data source',\n unselectDataSource: 'Unselect this data source',\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 noDataSourceSelected: 'No data source selected',\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',\n close: 'Annuler',\n validate: 'Valider',\n broadcast: 'Diffuser',\n more: 'Options',\n options: 'Options de la restitution',\n view: 'Consulter',\n create: 'Créer une restitution',\n cancel: 'Annuler',\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 create_title: 'Créer une restitution',\n consult_title: 'Consulter une restitution',\n search: 'Rechercher',\n backToCatalog: 'Retour au catalogue',\n consult: 'Consulter',\n catalog: 'Catalogue des restitutions',\n add_icon: 'Ajouter cette restitution sur la présentation',\n selection: 'Source(s) de données sélectionnées:',\n select: 'Sélectionner une ou plusieurs source(s) de données :',\n selectDataSource: 'Sélectionner la source de données',\n unselectDataSource: 'Désélectionner la source de données',\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 noDataSourceSelected: 'Aucune source de données sélectionnée',\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} from '@provoly/dashboard';\nimport { PryCardModule } from '@provoly/dashboard/components/card';\nimport { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';\nimport { PrySinceDateModule } from '@provoly/dashboard/components/sinceDate';\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","i7.PryCatalogCssComponent","i1","i4","i5","i6.PryRestitutionComponent","i5.PryRestitutionComponent","i6.PryCatalogCssComponent","i7.PryRestitutionListItemComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MAQa,sBAAsB,CAAA;+GAAtB,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,SAAA,EAAA,IAAA,EAAA,sBAAsB,2DAJvB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,ghFAAA,EAAA,+iBAAA,EAAA,85GAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAID,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,ghFAAA,EAAA,+iBAAA,EAAA,85GAAA,CAAA,EAAA,CAAA;;;ACyBjC,MAAO,uBAAwB,SAAQ,wBAAwB,CAAA;AAiCnE,IAAA,WAAA,CACU,sBAA8C,EAC9C,KAAY,EACZ,kBAAsC,EAAA;AAE9C,QAAA,KAAK,EAAE,CAAC;QAJA,IAAsB,CAAA,sBAAA,GAAtB,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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 DataSource,\n DataSourceActions,\n DEFAULT_RESTITUTION_ICON_URL,\n FieldActions,\n LibraryTypes,\n PryVisibility,\n PryVisibilityType,\n SearchActions,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService,\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 cover: false\n };\n visibility: PryVisibility = {\n type: PryVisibilityType.PRIVATE,\n users: []\n };\n openSettings$: Subject<void> = new Subject<void>();\n users$: Observable<any[]> | null = null;\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\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 }\n\n ngOnInit(): void {\n if (this.selectedRestitution) {\n if (!this.edit) {\n this.consultMode = true;\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.visibility) {\n this.visibility = this.selectedRestitution.visibility;\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.customManifest.header = {\n datasourceSelection: false,\n parameters: true,\n window: false,\n maximize: false,\n addToCatalog: false,\n delete: false,\n changeSpot: false\n };\n this.form = {\n selectedWidget: this.customManifest.type,\n selectedDataSources: this.customManifest.datasource as string[],\n title: this.selectedRestitution.name,\n cover: this.selectedRestitution.cover,\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 this.form.cover = false;\n if (this.consultMode || this.selectedRestitution) {\n this.restitutionCreated.emit();\n return;\n }\n this.prev(stepper);\n }\n\n datasourcesChanged($event: DataSource[]) {\n this.form.selectedDataSources = $event.map((ds) => ds.id);\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 cover: this.form.cover ?? false,\n header: {\n datasourceSelection: false,\n parameters: true,\n window: false,\n maximize: false,\n addToCatalog: false,\n delete: false,\n changeSpot: false\n },\n options: {\n ...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) {\n 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.edit) {\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 visibility: this.visibility,\n datasource: this.form.selectedDataSources,\n cover: this.form.cover ?? false,\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_title' : '@pry.restitution.create_title') | i18n }}\n </h3>\n <pry-stepper #stepper [isConsultMode]=\"consultMode || edit\" (lastStepCompleted)=\"lastStepCompleted()\">\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.configure' | i18n }}</h4>\n <div>\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 class=\"a-pry-select\"\n [itemsAsOption]=\"true\"\n [items]=\"types$ | async\"\n [labelTranslate]=\"true\"\n [(ngModel)]=\"form.selectedWidget\"\n [disabled]=\"consultMode\"\n bindIcon=\"icon\"\n bindLabel=\"label\"\n bindValue=\"type\"\n >\n </pry-select>\n </div>\n <div *ngIf=\"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.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image (changed)=\"image = $event\" [iconUrl]=\"image\" [mode]=\"type\"></pry-select-image>\n <pry-checkbox [(ngModel)]=\"form.cover\" name=\"cover\"> {{ '@pry.restitution.cover' | i18n }}</pry-checkbox>\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 </div>\n </div>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.dataSource' | i18n }}</h4>\n <pry-datasource-selector\n (cancel)=\"prev(stepper)\"\n (validated)=\"submit(stepper)\"\n (datasourcesChanged)=\"datasourcesChanged($event)\"\n [datasourceIds]=\"form.selectedDataSources\"\n ></pry-datasource-selector>\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 <div class=\"m-btn-group -space-evenly actions\" *ngIf=\"!consultMode; else consult\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button (click)=\"goNext(stepper)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.validate' | i18n }}\n </button>\n </div>\n </pry-step>\n <pry-step>\n <h4 class=\"m-stepper-item__title\" *stepTitle>{{ '@pry.restitution.broadcast' | i18n }}</h4>\n <div class=\"\">\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 </div>\n <pry-share\n [(ngModel)]=\"visibility\"\n [users$]=\"users$\"\n labelProperty=\"name\"\n valueProperty=\"id\"\n [disabled]=\"consultMode\"\n ></pry-share>\n <div class=\"m-btn-group -space-evenly actions\" *ngIf=\"!consultMode; else consult\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button (click)=\"goNext(stepper)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.broadcast' | i18n }}\n </button>\n </div>\n </pry-step>\n </pry-stepper>\n</div>\n\n<ng-template #consult>\n <div class=\"m-btn-group -space-evenly actions\">\n <button (click)=\"prev(stepper)\" type=\"button\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.restitution.close' | i18n }}\n </button>\n <button (click)=\"goNext(stepper)\" type=\"button\" class=\"a-btn a-btn--primary\">\n {{ '@pry.restitution.next' | i18n }}\n </button>\n </div>\n</ng-template>\n<ng-template #noDatasource>\n <p class=\"search-home__container-search\">{{ '@pry.restitution.noDataSource' | i18n }}</p>\n</ng-template>\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { Component, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n ConfigActions,\n ConfigSelectors, DashboardActions,\n ManifestDescription,\n PryVisibilityType,\n ViewMode,\n Widget\n} from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, map, Observable } 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 PryVisibilityType = PryVisibilityType;\n overlayRef?: OverlayRef;\n @ViewChild('modalActions', { read: TemplateRef }) templateActions!: TemplateRef<any>;\n\n constructor(private store: Store, protected overlay: Overlay, protected viewContainerRef: ViewContainerRef) {\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 ) {\n if (!this.overlayRef && restitution){\n this.selectedRestitution = restitution\n this.overlayRef = this.overlay.create(\n new OverlayConfig({\n hasBackdrop: true,\n panelClass: ['o-modal-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 } else {\n this.overlayRef?.dispose();\n this.overlayRef = undefined\n this.selectedRestitution = null;\n }\n }\n\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-manifest-layout o-restitution-catalog\">\n <ng-template [ngIf]=\"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 a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.create_title' | i18n\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'create' }\"\n >\n {{ '@pry.restitution.create_title' | i18n }}\n </button>\n <div>\n <div class=\"o-catalog__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\n <pry-icon iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n </div>\n </div>\n </div>\n <div class=\"o-manifest-layout__content\">\n <h1 class=\"a-h1\">{{ '@pry.restitution.catalog' | i18n }}</h1>\n\n <div class=\"o-presentation-wrapper\">\n <ul class=\"o-presentation\">\n <li class=\"o-presentation__item\" *ngFor=\"let restitution of filteredRestitution$ | async\">\n <div class=\"o-presentation__item__header\">\n <ng-container *ngIf=\"restitution.visibility?.type === PryVisibilityType.PRIVATE\">\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 </ng-container>\n <div class=\"a-tooltip\">\n <div class=\"o-presentation__item__image\">\n <img\n alt=\"\"\n [height]=\"restitution.cover ? 600 : 128\"\n [width]=\"restitution.cover ? 600 : 128\"\n [class.is-full-width]=\"restitution.cover\"\n [src]=\"restitution.image | getSecuredImage : [600, 600] | async\"\n class=\"pointer\"\n />\n </div>\n </div>\n <ng-container *ngIf=\"restitution.visibility?.type === PryVisibilityType.PRIVATE\">\n <div class=\"more-actions\">\n <button\n type=\"button\"\n class=\"a-btn a-btn--more a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.more' | i18n\"\n (click)=\"toggleModalActions(restitution)\"\n >\n <pry-icon [height]=\"25\" [width]=\"25\" iconSvg=\"more_horiz\"></pry-icon>\n </button>\n </div>\n </ng-container>\n </div>\n <div class=\"o-presentation__item__txt\">\n <h3 class=\"a-h3\">{{ restitution.name }}</h3>\n <p class=\"a-p -date\">{{ restitution.modificationDate | sinceDate }}</p>\n </div>\n\n <div class=\"o-presentation__item__footer\">\n <button class=\"a-btn a-tooltip\" (click)=\"selectRestitution(restitution)\" [attr.data-tooltip]=\"'@pry.presentation.view' | i18n\">\n {{'@pry.restitution.view' | i18n}}</button>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </ng-template>\n<ng-template #modalActions>\n <div class=\"o-modal\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog presenation options\"\n *ngIf=\"selectedRestitution\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">{{ '@pry.restitution.options' | i18n }}</h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button\n class=\"a-btn a-btn--icon-only\"\n (click)=\"toggleModalActions(selectedRestitution)\"\n >\n <pry-icon iconSvg=\"close\" [height]=\"35\" [width]=\"35\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.toolbox.close' | i18n }}</span>\n </button>\n </div>\n </div>\n <ul class=\"actions-list\">\n <li>\n <button\n type=\"button\"\n class=\"a-btn a-btn icon-only a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.update' | i18n\"\n (click)=\"editRestitution(selectedRestitution)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'edit' }\"\n >\n <pry-icon iconSvg=\"edit\"></pry-icon>\n </button>\n </li>\n <li>\n <button\n type=\"button\"\n class=\"a-btn a-btn icon-only a-tooltip\"\n [attr.data-tooltip]=\"'@pry.restitution.delete' | i18n\"\n (click)=\"deleteRestitution(selectedRestitution.id)\"\n *pryAccess=\"{ module: 'dashboard', page: 'restitution', action: 'delete' }\"\n >\n <pry-icon iconSvg=\"delete\"></pry-icon>\n </button>\n </li>\n </ul>\n </div>\n</ng-template>\n <ng-template [ngIf]=\"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 </ng-template>\n <ng-template [ngIf]=\"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 (restitutionCreated)=\"closeRestitution($event)\" class=\"restitution\"></pry-restitution>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"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 </ng-template>\n</div>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigSelectors,\n DashboardActions,\n DashboardGridLayout,\n DashboardSelectors,\n PryVisibilityType,\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 @Output() selectRestitution = new EventEmitter<Widget>();\n catalog: Widget[] | undefined;\n automaticGridMode$: Observable<boolean>;\n automaticGridMode: boolean = false;\n PryVisibilityType = PryVisibilityType;\n\n constructor(private store: Store, private toolboxManifestService: ToolboxManifestService) {\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 emitSelectedRestitution(catalogEntry: CatalogEntry) {\n if (catalogEntry.isCustom) {\n this.catalog?.forEach((widget: Widget) => {\n if (widget.id === catalogEntry.type) {\n this.selectRestitution.emit(widget);\n }\n });\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 <ng-container *ngIf=\"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 </ng-container>\n <img\n [alt]=\"widget.label | i18n : { warn: false }\"\n [src]=\"widget.icon | getSecuredImage : [600, 600] | async\"\n [height]=\"widget.cover ? 600 : 53\"\n [width]=\"widget.cover ? 600 : 53\"\n [class.is-full-width]=\"widget.cover\"\n />\n <p class=\"o-catalog__list__item__libelle\" *ngIf=\"widget.isCustom; else translate\">{{ widget.label }}</p>\n <ng-template #translate>\n <p class=\"o-catalog__list__item__libelle\">{{ widget.label | i18n : { warn: false } }}</p>\n </ng-template>\n <ng-container *ngIf=\"widget.visibility?.type === PryVisibilityType.PRIVATE\">\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 </ng-container>\n <div class=\"o-catalog__list__item__action\" *ngIf=\"widget.isCustom\">\n <button type=\"button\" class=\"a-btn a-btn--ghost\" (click)=\"emitSelectedRestitution(widget)\">\n {{ '@pry.restitution.view' | i18n }}\n </button>\n </div>\n</li>\n","import { Component, Input } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport {\n CatalogEntry,\n ConfigActions,\n PryI18nService,\n PryVisibilityType,\n SubscriptionnerDirective,\n ToolboxManifestService,\n ToolboxMenuService,\n ViewMode,\n Widget\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 @Input()\n get customModels(): string[] {\n return this._customModels;\n }\n set customModels(models: string[]) {\n this._customModels = ['detail', 'iframe', ...models];\n }\n private _customModels = ['detail', 'iframe'];\n search$ = new BehaviorSubject('');\n type$ = new BehaviorSubject<undefined | string>(undefined);\n filteredWidgets$: Observable<CatalogEntry[]>;\n nonCustomWidgets$: Observable<CatalogEntry[]>;\n customWidgets$: Observable<CatalogEntry[]>;\n types$: Observable<{ icon: string; label: string; type: string }[]>;\n selectedRestitution: Widget | null = null;\n mode = ViewMode;\n selectedMode: ViewMode = ViewMode.CATALOG;\n categories = ['model', 'noModel'];\n PryVisibilityType = PryVisibilityType;\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 selectMode(newMode: ViewMode) {\n this.selectedMode = newMode;\n }\n\n selectRestitution($event: Widget) {\n this.selectedRestitution = $event;\n this.selectMode(ViewMode.CONSULT);\n }\n\n closeRestitution() {\n this.selectedRestitution = null;\n this.selectMode(this.mode.CATALOG);\n }\n}\n","<pry-restitution-css></pry-restitution-css>\n<div class=\"o-catalog\">\n <ng-template [ngIf]=\"selectedMode === mode.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 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 <li *ngFor=\"let typeOpt of types$ | async\">\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)=\"type$.next(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 </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 <ng-container *ngIf=\"showTabs; else list\">\n <div class=\"o-accordion\" role=\"tablist\" aria-multiselectable=\"false\">\n <pry-accordion>\n <pry-accordion-item\n *ngFor=\"let category of categories; let index = index\"\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 <ng-container *ngIf=\"category === 'model'\">\n <pry-catalog-item\n *ngFor=\"let widget of nonCustomWidgets$ | async\"\n [widget]=\"widget\"\n (selectRestitution)=\"selectRestitution($event)\"\n ></pry-catalog-item>\n </ng-container>\n <ng-container *ngIf=\"category === 'noModel'\">\n <pry-catalog-item\n *ngFor=\"let widget of customWidgets$ | async\"\n [translate]=\"false\"\n [widget]=\"widget\"\n (selectRestitution)=\"selectRestitution($event)\"\n ></pry-catalog-item>\n </ng-container>\n </ul>\n </pry-accordion-item>\n </pry-accordion>\n </div>\n </ng-container>\n\n <ng-template #list>\n <ul class=\"o-catalog__list\" role=\"list\" aria-live=\"polite\">\n <pry-catalog-item\n *ngFor=\"let widget of filteredWidgets$ | async\"\n [widget]=\"widget\"\n (selectRestitution)=\"selectRestitution($event)\"\n ></pry-catalog-item>\n </ul>\n </ng-template>\n </ng-template>\n\n <ng-template [ngIf]=\"selectedMode === mode.CONSULT\">\n <div class=\"o-catalog__create\">\n <button class=\"a-btn a-btn--secondary\" (click)=\"closeRestitution()\">\n {{ '@pry.restitution.cancel' | i18n }}\n </button>\n </div>\n\n <pry-restitution\n [selectedRestitution]=\"selectedRestitution\"\n [edit]=\"false\"\n (restitutionCreated)=\"closeRestitution()\"\n ></pry-restitution>\n </ng-template>\n\n <ng-template [ngIf]=\"selectedMode === mode.CREATION\">\n <div class=\"o-catalog__create\">\n <button class=\"a-btn a-btn--ghost\" (click)=\"selectMode(mode.CATALOG)\">\n {{ '@pry.restitution.cancel' | i18n }}\n </button>\n </div>\n\n <pry-restitution (restitutionCreated)=\"closeRestitution()\"></pry-restitution>\n </ng-template>\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 broadcast: 'Submit',\n view: 'View',\n create: 'Create restitution',\n cancel: 'Cancel',\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 consult_title: 'Consult a 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 selection: 'Selected data source(s):',\n select: 'Select one or more data source(s) :',\n selectDataSource: 'Select this data source',\n unselectDataSource: 'Unselect this data source',\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 noDataSourceSelected: 'No data source selected',\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',\n close: 'Annuler',\n validate: 'Valider',\n broadcast: 'Diffuser',\n more: 'Options',\n options: 'Options de la restitution',\n view: 'Consulter',\n create: 'Créer une restitution',\n cancel: 'Annuler',\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 create_title: 'Créer une restitution',\n consult_title: 'Consulter une restitution',\n search: 'Rechercher',\n backToCatalog: 'Retour au catalogue',\n consult: 'Consulter',\n catalog: 'Catalogue des restitutions',\n add_icon: 'Ajouter cette restitution sur la présentation',\n selection: 'Source(s) de données sélectionnées:',\n select: 'Sélectionner une ou plusieurs source(s) de données :',\n selectDataSource: 'Sélectionner la source de données',\n unselectDataSource: 'Désélectionner la source de données',\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 noDataSourceSelected: 'Aucune source de données sélectionnée',\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} from '@provoly/dashboard';\nimport { PryCardModule } from '@provoly/dashboard/components/card';\nimport { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';\nimport { PrySinceDateModule } from '@provoly/dashboard/components/sinceDate';\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","i7.PryCatalogCssComponent","i1","i4","i5","i6.PryRestitutionComponent","i5.PryRestitutionComponent","i6.PryCatalogCssComponent","i7.PryRestitutionListItemComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MAQa,sBAAsB,CAAA;+GAAtB,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,SAAA,EAAA,IAAA,EAAA,sBAAsB,2DAJvB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,ghFAAA,EAAA,+iBAAA,EAAA,w+HAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FAID,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,ghFAAA,EAAA,+iBAAA,EAAA,w+HAAA,CAAA,EAAA,CAAA;;;ACyBjC,MAAO,uBAAwB,SAAQ,wBAAwB,CAAA;AAiCnE,IAAA,WAAA,CACU,sBAA8C,EAC9C,KAAY,EACZ,kBAAsC,EAAA;AAE9C,QAAA,KAAK,EAAE,CAAC;QAJA,IAAsB,CAAA,sBAAA,GAAtB,sBAAsB,CAAwB;QAC9C,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;QACZ,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,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10189
10189
 
10190
10190
  class PryFilterGroupCssComponent {
10191
10191
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PryFilterGroupCssComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10192
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PryFilterGroupCssComponent, selector: "pry-filter-group-css", ngImport: i0, template: '', isInline: true, styles: [".o-container{height:100%}.o-container__filters{display:flex;padding:.5rem .625rem;max-height:60px;gap:.625rem}.o-container__filter-container{display:flex;justify-content:flex-start;margin-bottom:-.3125rem;max-height:60px;padding:.25rem 0;overflow-x:auto;overflow-y:hidden}.o-container__filter-container:has(ng-dropdown-panel.ng-dropdown-panel){padding-bottom:350px;background-clip:content-box,padding-box;overflow-x:hidden}.o-container__filter-container--ng-select-open{padding-bottom:350px;background-clip:content-box,padding-box}.o-container__filter-actions{display:flex;align-items:center;gap:.625rem;padding:0 .625rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
10192
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PryFilterGroupCssComponent, selector: "pry-filter-group-css", ngImport: i0, template: '', isInline: true, styles: [".o-container{height:100%}.o-container__filters{display:flex;padding:.5rem .625rem;max-height:50px;gap:.625rem}.o-container__filter-container{display:flex;justify-content:flex-start;margin-bottom:-.3125rem;max-height:50px;padding:.25rem 0;overflow-x:auto;overflow-y:hidden}.o-container__filter-container:has(ng-dropdown-panel.ng-dropdown-panel){padding-bottom:350px;background-clip:content-box,padding-box;overflow-x:hidden}.o-container__filter-container--ng-select-open{padding-bottom:350px;background-clip:content-box,padding-box}.o-container__filter-actions{display:flex;align-items:center;gap:.625rem;padding:0 .625rem}\n"], encapsulation: i0.ViewEncapsulation.None }); }
10193
10193
  }
10194
10194
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PryFilterGroupCssComponent, decorators: [{
10195
10195
  type: Component,
10196
- args: [{ selector: 'pry-filter-group-css', template: '', encapsulation: ViewEncapsulation.None, styles: [".o-container{height:100%}.o-container__filters{display:flex;padding:.5rem .625rem;max-height:60px;gap:.625rem}.o-container__filter-container{display:flex;justify-content:flex-start;margin-bottom:-.3125rem;max-height:60px;padding:.25rem 0;overflow-x:auto;overflow-y:hidden}.o-container__filter-container:has(ng-dropdown-panel.ng-dropdown-panel){padding-bottom:350px;background-clip:content-box,padding-box;overflow-x:hidden}.o-container__filter-container--ng-select-open{padding-bottom:350px;background-clip:content-box,padding-box}.o-container__filter-actions{display:flex;align-items:center;gap:.625rem;padding:0 .625rem}\n"] }]
10196
+ args: [{ selector: 'pry-filter-group-css', template: '', encapsulation: ViewEncapsulation.None, styles: [".o-container{height:100%}.o-container__filters{display:flex;padding:.5rem .625rem;max-height:50px;gap:.625rem}.o-container__filter-container{display:flex;justify-content:flex-start;margin-bottom:-.3125rem;max-height:50px;padding:.25rem 0;overflow-x:auto;overflow-y:hidden}.o-container__filter-container:has(ng-dropdown-panel.ng-dropdown-panel){padding-bottom:350px;background-clip:content-box,padding-box;overflow-x:hidden}.o-container__filter-container--ng-select-open{padding-bottom:350px;background-clip:content-box,padding-box}.o-container__filter-actions{display:flex;align-items:center;gap:.625rem;padding:0 .625rem}\n"] }]
10197
10197
  }] });
10198
10198
 
10199
10199
  class FilterGroupComponent {
@@ -6,7 +6,7 @@
6
6
  &__filters {
7
7
  display: flex;
8
8
  padding: toRem(8) toRem(10);
9
- max-height: 60px; // needed for ng-select
9
+ max-height: 50px; // needed for ng-select
10
10
  gap: toRem(10);
11
11
  }
12
12
 
@@ -14,7 +14,7 @@
14
14
  display: flex;
15
15
  justify-content: flex-start;
16
16
  margin-bottom: toRem(-5);
17
- max-height: 60px; // needed for ng-select
17
+ max-height: 50px; // needed for ng-select
18
18
  padding: toRem(4) 0;
19
19
  overflow-x: auto;
20
20
  overflow-y: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.19.8",
3
+ "version": "0.19.9",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -139,36 +139,6 @@
139
139
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
140
140
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
141
141
  },
142
- "./filters/autocomplete": {
143
- "types": "./filters/autocomplete/index.d.ts",
144
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
145
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
146
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
147
- },
148
- "./filters/date": {
149
- "types": "./filters/date/index.d.ts",
150
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
151
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
152
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
153
- },
154
- "./filters/list": {
155
- "types": "./filters/list/index.d.ts",
156
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
157
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
158
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
159
- },
160
- "./filters/number": {
161
- "types": "./filters/number/index.d.ts",
162
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
163
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
164
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
165
- },
166
- "./filters/text": {
167
- "types": "./filters/text/index.d.ts",
168
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
169
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
170
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
171
- },
172
142
  "./components/card": {
173
143
  "types": "./components/card/index.d.ts",
174
144
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -193,18 +163,18 @@
193
163
  "esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
194
164
  "default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
195
165
  },
196
- "./components/metadata-editor": {
197
- "types": "./components/metadata-editor/index.d.ts",
198
- "esm2022": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
199
- "esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
200
- "default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
201
- },
202
166
  "./components/filter": {
203
167
  "types": "./components/filter/index.d.ts",
204
168
  "esm2022": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
205
169
  "esm": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
206
170
  "default": "./fesm2022/provoly-dashboard-components-filter.mjs"
207
171
  },
172
+ "./components/metadata-editor": {
173
+ "types": "./components/metadata-editor/index.d.ts",
174
+ "esm2022": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
175
+ "esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
176
+ "default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
177
+ },
208
178
  "./components/scheme-picker": {
209
179
  "types": "./components/scheme-picker/index.d.ts",
210
180
  "esm2022": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
@@ -223,6 +193,36 @@
223
193
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
224
194
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
225
195
  },
196
+ "./filters/autocomplete": {
197
+ "types": "./filters/autocomplete/index.d.ts",
198
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
199
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
200
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
201
+ },
202
+ "./filters/date": {
203
+ "types": "./filters/date/index.d.ts",
204
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
205
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
206
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
207
+ },
208
+ "./filters/list": {
209
+ "types": "./filters/list/index.d.ts",
210
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
211
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
212
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
213
+ },
214
+ "./filters/number": {
215
+ "types": "./filters/number/index.d.ts",
216
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
217
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
218
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
219
+ },
220
+ "./filters/text": {
221
+ "types": "./filters/text/index.d.ts",
222
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
223
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
224
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
225
+ },
226
226
  "./pipeline-components/filter": {
227
227
  "types": "./pipeline-components/filter/index.d.ts",
228
228
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -235,18 +235,18 @@
235
235
  "esm": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
236
236
  "default": "./fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs"
237
237
  },
238
- "./pipeline-components/output-dataset": {
239
- "types": "./pipeline-components/output-dataset/index.d.ts",
240
- "esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
241
- "esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
242
- "default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
243
- },
244
238
  "./pipeline-components/noop": {
245
239
  "types": "./pipeline-components/noop/index.d.ts",
246
240
  "esm2022": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
247
241
  "esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
248
242
  "default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
249
243
  },
244
+ "./pipeline-components/output-dataset": {
245
+ "types": "./pipeline-components/output-dataset/index.d.ts",
246
+ "esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
247
+ "esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
248
+ "default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
249
+ },
250
250
  "./pipeline-components/subgraph": {
251
251
  "types": "./pipeline-components/subgraph/index.d.ts",
252
252
  "esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
@@ -307,18 +307,18 @@
307
307
  "esm": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
308
308
  "default": "./fesm2022/provoly-dashboard-widgets-widget-map.mjs"
309
309
  },
310
- "./widgets/widget-template": {
311
- "types": "./widgets/widget-template/index.d.ts",
312
- "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
313
- "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
314
- "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
315
- },
316
310
  "./widgets/widget-table": {
317
311
  "types": "./widgets/widget-table/index.d.ts",
318
312
  "esm2022": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
319
313
  "esm": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
320
314
  "default": "./fesm2022/provoly-dashboard-widgets-widget-table.mjs"
321
315
  },
316
+ "./widgets/widget-template": {
317
+ "types": "./widgets/widget-template/index.d.ts",
318
+ "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
319
+ "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
320
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
321
+ },
322
322
  "./widgets/widget-tile": {
323
323
  "types": "./widgets/widget-tile/index.d.ts",
324
324
  "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
@@ -39,17 +39,20 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
39
39
  listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
40
40
  mode: 'theme' | 'meta';
41
41
  set listOfManifests(manifests: ManifestDescription[] | null);
42
+ hideToolbox: boolean;
43
+ inputSearch$: BehaviorSubject<string>;
44
+ set search(query: string);
42
45
  constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, titleService: PryTitleService, activatedRoute: ActivatedRoute, ngZone: NgZone);
43
46
  closeRestitution(): void;
44
47
  fetch(presentation: ManifestDescription): void;
45
48
  creation(): void;
46
49
  edit(presentation: ManifestDescription): void;
47
50
  delete(id: string): void;
48
- toggleModalActions(presentation?: ManifestDescription | null): void;
51
+ toggleModalActions(presentation?: ManifestDescription | null, moreButton?: HTMLButtonElement): void;
49
52
  toggleModal(presentation?: ManifestDescription | null): void;
50
53
  changeVisibility(presentation?: ManifestDescription): void;
51
54
  focusCrossElement(): void;
52
55
  focusValidation(): void;
53
56
  static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; }, {}, never, never, false, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; "hideToolbox": { "alias": "hideToolbox"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, {}, never, never, false, never>;
55
58
  }