@provoly/dashboard 0.13.5 → 0.13.7

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.
Files changed (96) hide show
  1. package/admin/components/admin-dataset/store/admin-dataset.effects.d.ts +2 -2
  2. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-form/admin-abac-rules-form.component.mjs +1 -1
  3. package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +1 -1
  4. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +1 -1
  5. package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +1 -1
  6. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +1 -1
  7. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +1 -1
  8. package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +1 -1
  9. package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +1 -1
  10. package/esm2022/admin/components/admin-dataset/store/admin-dataset.effects.mjs +5 -3
  11. package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +1 -1
  12. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +1 -1
  13. package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +1 -1
  14. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +1 -1
  15. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +1 -1
  16. package/esm2022/admin/components/admin-user/admin-user-select/admin-user-select.component.mjs +1 -1
  17. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +1 -1
  18. package/esm2022/filters/list/list-filter.component.mjs +1 -1
  19. package/esm2022/import/components/import.component.mjs +1 -1
  20. package/esm2022/lib/core/components/select/select.component.mjs +7 -4
  21. package/esm2022/lib/core/components/share/share.component.mjs +1 -1
  22. package/esm2022/lib/core/model/display-options.interface.mjs +55 -0
  23. package/esm2022/lib/core/model/public-api.mjs +2 -1
  24. package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +1 -1
  25. package/esm2022/lib/dashboard/components/dashboard.component.mjs +9 -2
  26. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -2
  27. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +7 -1
  28. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +4 -2
  29. package/esm2022/pipeline-components/filter/component/filter.component.mjs +1 -1
  30. package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +1 -1
  31. package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +1 -1
  32. package/esm2022/presentation/components/presentation.component.mjs +5 -2
  33. package/esm2022/restitution/components/restitution/restitution.component.mjs +1 -1
  34. package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +1 -1
  35. package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +1 -1
  36. package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +1 -1
  37. package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +1 -1
  38. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +1 -1
  39. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +1 -1
  40. package/esm2022/toolbox/components/toolbox.component.mjs +4 -3
  41. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +1 -1
  42. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +1 -1
  43. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +1 -1
  44. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +3 -3
  45. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +7 -2
  46. package/esm2022/widgets/widget-map/public-api.mjs +2 -1
  47. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
  48. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +1 -1
  49. package/fesm2022/provoly-dashboard-admin.mjs +18 -16
  50. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  51. package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
  52. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  53. package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
  54. package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
  55. package/fesm2022/provoly-dashboard-import.mjs +1 -1
  56. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  57. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +1 -1
  58. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
  59. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +1 -1
  60. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
  61. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +1 -1
  62. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
  63. package/fesm2022/provoly-dashboard-presentation.mjs +4 -1
  64. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  65. package/fesm2022/provoly-dashboard-restitution.mjs +1 -1
  66. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  67. package/fesm2022/provoly-dashboard-search.mjs +4 -4
  68. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  69. package/fesm2022/provoly-dashboard-supervision.mjs +1 -1
  70. package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
  71. package/fesm2022/provoly-dashboard-toolbox.mjs +4 -3
  72. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  73. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +1 -1
  74. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  75. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
  76. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  77. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +1 -1
  78. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  79. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +9 -4
  80. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  81. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +1 -1
  82. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  83. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +1 -1
  84. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  85. package/fesm2022/provoly-dashboard.mjs +81 -9
  86. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  87. package/lib/core/components/select/select.component.d.ts +2 -1
  88. package/lib/core/model/display-options.interface.d.ts +24 -0
  89. package/lib/core/model/public-api.d.ts +1 -0
  90. package/lib/dashboard/components/dashboard.component.d.ts +6 -3
  91. package/lib/dashboard/store/dashboard.actions.d.ts +8 -0
  92. package/lib/dashboard/store/dashboard.reducers.d.ts +2 -0
  93. package/lib/dashboard/store/dashboard.selectors.d.ts +1 -0
  94. package/package.json +30 -30
  95. package/toolbox/components/toolbox.component.d.ts +1 -0
  96. package/widgets/widget-map/public-api.d.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"provoly-dashboard-pipeline-components-filter.mjs","sources":["../../../../projects/provoly/dashboard/pipeline-components/filter/component/filter.component.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/component/filter.component.html","../../../../projects/provoly/dashboard/pipeline-components/filter/i18n/en.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/node-class/filter-node.class.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/filter.module.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@provoly/dashboard';\nimport { PipelinePropertiesPanelComponent } from '@provoly/dashboard/pipeline';\n\n@Component({\n selector: 'pry-pipeline-filter',\n templateUrl: './filter.component.html'\n})\nexport class FilterComponent extends PipelinePropertiesPanelComponent {\n ref = {\n [FieldType.INTEGER]: ['GREATER_THAN', 'LOWER_THAN'],\n [FieldType.DECIMAL]: ['GREATER_THAN', 'LOWER_THAN'],\n [FieldType.LONG]: ['GREATER_THAN', 'LOWER_THAN'],\n [FieldType.STRING]: [],\n [FieldType.KEYWORD]: [],\n [FieldType.INSTANT]: ['GREATER_THAN', 'LOWER_THAN']\n } as { [key: string]: string[] };\n\n operators: string[] = [];\n inputType: string = 'text';\n\n constructor() {\n super();\n }\n\n changeAttribute($event: any) {\n this.node.properties['attributeName'] = $event;\n this.checkFn();\n if (this.model) {\n const attrType = this.model.attributes.find((attr) => attr.name === $event)?.type ?? 'string';\n this.operators = this.ref[attrType];\n if (this.operators) {\n this.node.properties['operator'] = this.operators[0];\n }\n this.inputType = this.getType(attrType);\n }\n }\n\n getType(type: string) {\n switch (type) {\n case FieldType.INTEGER:\n case FieldType.LONG:\n case FieldType.DECIMAL:\n return 'number';\n case FieldType.INSTANT:\n return 'date';\n case FieldType.KEYWORD:\n case FieldType.STRING:\n default:\n return 'text';\n }\n }\n\n changeOperator($event: any) {\n this.node.properties['operator'] = $event;\n this.checkFn();\n }\n\n changeValue($event: any) {\n this.node.properties['value'] = $event;\n this.checkFn();\n }\n}\n","<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"filter\">{{ '@pry.pipeline.filter.filter' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"model?.attributes ?? null\"\n [ngModel]=\"node.properties['attributeName']\"\n (ngModelChange)=\"changeAttribute($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"name\"\n class=\"a-pry-select\"\n id=\"filter\"\n ></pry-select>\n</div>\n\n<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"operator\">{{ '@pry.pipeline.filter.operator' | i18n }}</label>\n <pry-select\n [items]=\"operators\"\n [ngModel]=\"node.properties['operator']\"\n (ngModelChange)=\"changeOperator($event)\"\n [disabled]=\"disabled\"\n class=\"a-pry-select\"\n id=\"operator\"\n ></pry-select>\n</div>\n\n<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"value\">{{ '@pry.pipeline.filter.value' | i18n }}</label>\n <input\n [type]=\"inputType\"\n [disabled]=\"disabled\"\n id=\"value\"\n class=\"a-form-field\"\n [ngModel]=\"node.properties['value']\"\n (ngModelChange)=\"changeValue($event)\"\n />\n</div>\n","export const enTranslations = {\n '@pry': {\n pipeline: {\n codes: {\n MISSING_PROPERTY_IN_INPUT_ATTRIBUTE: 'Attribut name to filter is not available',\n BAD_TYPE: 'Attribute type is not valid'\n },\n filter: {\n filter: 'Attribute',\n operator: 'Operator',\n value: 'Value'\n }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n pipeline: {\n codes: {\n MISSING_PROPERTY_IN_INPUT_ATTRIBUTE: \"Le nom de l'attribut à filtrer n'est pas disponible\",\n BAD_TYPE: \"Le type de l'attribut {{attributeName}} n'est pas correct\"\n },\n filter: {\n filter: 'Attribut',\n operator: 'Opération',\n value: 'Valeur'\n }\n }\n }\n};\n","import { BaseNode } from '@provoly/dashboard/pipeline';\n\nexport class FilterNode extends BaseNode {\n constructor(title?: string, ...other: any) {\n super();\n this.properties['type'] = 'com.provoly.common.transfo.Filter';\n this.addInput('items', 'items');\n this.addOutput('items', 'items');\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { PryCoreModule, PryDashboardModule, PryI18nModule, PryI18nService, PrySelectModule } from '@provoly/dashboard';\nimport { PipelineComponentFactoryService } from '@provoly/dashboard/pipeline';\nimport { FilterComponent } from './component/filter.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { FilterNode } from './node-class/filter-node.class';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n PryCoreModule,\n PryDashboardModule,\n PrySelectModule,\n PryI18nModule\n ],\n declarations: [FilterComponent],\n exports: [FilterComponent]\n})\nexport class PryPipelineFilterModule {\n constructor(\n pipelineComponentFactoryService: PipelineComponentFactoryService,\n private pryTranslateService: PryI18nService\n ) {\n this.pryTranslateService.addLangObject('fr', 'pipeline-filter', frTranslations);\n this.pryTranslateService.addLangObject('en', 'pipeline-filter', enTranslations);\n\n pipelineComponentFactoryService.addType('com.provoly.common.transfo.Filter', FilterComponent, FilterNode);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAQM,MAAO,eAAgB,SAAQ,gCAAgC,CAAA;AAanE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AAbV,QAAA,IAAA,CAAA,GAAG,GAAG;YACJ,CAAC,SAAS,CAAC,OAAO,GAAG,CAAC,cAAc,EAAE,YAAY,CAAC;YACnD,CAAC,SAAS,CAAC,OAAO,GAAG,CAAC,cAAc,EAAE,YAAY,CAAC;YACnD,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,cAAc,EAAE,YAAY,CAAC;AAChD,YAAA,CAAC,SAAS,CAAC,MAAM,GAAG,EAAE;AACtB,YAAA,CAAC,SAAS,CAAC,OAAO,GAAG,EAAE;YACvB,CAAC,SAAS,CAAC,OAAO,GAAG,CAAC,cAAc,EAAE,YAAY,CAAC;SACrB,CAAC;QAEjC,IAAS,CAAA,SAAA,GAAa,EAAE,CAAC;QACzB,IAAS,CAAA,SAAA,GAAW,MAAM,CAAC;KAI1B;AAED,IAAA,eAAe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AAkB;wBAClB,eAAe;wBACf,aAAa;AACd,qBAAA;oBACD,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;AAC3B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"provoly-dashboard-pipeline-components-filter.mjs","sources":["../../../../projects/provoly/dashboard/pipeline-components/filter/component/filter.component.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/component/filter.component.html","../../../../projects/provoly/dashboard/pipeline-components/filter/i18n/en.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/node-class/filter-node.class.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/filter.module.ts","../../../../projects/provoly/dashboard/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldType } from '@provoly/dashboard';\nimport { PipelinePropertiesPanelComponent } from '@provoly/dashboard/pipeline';\n\n@Component({\n selector: 'pry-pipeline-filter',\n templateUrl: './filter.component.html'\n})\nexport class FilterComponent extends PipelinePropertiesPanelComponent {\n ref = {\n [FieldType.INTEGER]: ['GREATER_THAN', 'LOWER_THAN'],\n [FieldType.DECIMAL]: ['GREATER_THAN', 'LOWER_THAN'],\n [FieldType.LONG]: ['GREATER_THAN', 'LOWER_THAN'],\n [FieldType.STRING]: [],\n [FieldType.KEYWORD]: [],\n [FieldType.INSTANT]: ['GREATER_THAN', 'LOWER_THAN']\n } as { [key: string]: string[] };\n\n operators: string[] = [];\n inputType: string = 'text';\n\n constructor() {\n super();\n }\n\n changeAttribute($event: any) {\n this.node.properties['attributeName'] = $event;\n this.checkFn();\n if (this.model) {\n const attrType = this.model.attributes.find((attr) => attr.name === $event)?.type ?? 'string';\n this.operators = this.ref[attrType];\n if (this.operators) {\n this.node.properties['operator'] = this.operators[0];\n }\n this.inputType = this.getType(attrType);\n }\n }\n\n getType(type: string) {\n switch (type) {\n case FieldType.INTEGER:\n case FieldType.LONG:\n case FieldType.DECIMAL:\n return 'number';\n case FieldType.INSTANT:\n return 'date';\n case FieldType.KEYWORD:\n case FieldType.STRING:\n default:\n return 'text';\n }\n }\n\n changeOperator($event: any) {\n this.node.properties['operator'] = $event;\n this.checkFn();\n }\n\n changeValue($event: any) {\n this.node.properties['value'] = $event;\n this.checkFn();\n }\n}\n","<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"filter\">{{ '@pry.pipeline.filter.filter' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"model?.attributes ?? null\"\n [ngModel]=\"node.properties['attributeName']\"\n (ngModelChange)=\"changeAttribute($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"name\"\n class=\"a-pry-select\"\n id=\"filter\"\n ></pry-select>\n</div>\n\n<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"operator\">{{ '@pry.pipeline.filter.operator' | i18n }}</label>\n <pry-select\n [items]=\"operators\"\n [ngModel]=\"node.properties['operator']\"\n (ngModelChange)=\"changeOperator($event)\"\n [disabled]=\"disabled\"\n class=\"a-pry-select\"\n id=\"operator\"\n ></pry-select>\n</div>\n\n<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"value\">{{ '@pry.pipeline.filter.value' | i18n }}</label>\n <input\n [type]=\"inputType\"\n [disabled]=\"disabled\"\n id=\"value\"\n class=\"a-form-field\"\n [ngModel]=\"node.properties['value']\"\n (ngModelChange)=\"changeValue($event)\"\n />\n</div>\n","export const enTranslations = {\n '@pry': {\n pipeline: {\n codes: {\n MISSING_PROPERTY_IN_INPUT_ATTRIBUTE: 'Attribut name to filter is not available',\n BAD_TYPE: 'Attribute type is not valid'\n },\n filter: {\n filter: 'Attribute',\n operator: 'Operator',\n value: 'Value'\n }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n pipeline: {\n codes: {\n MISSING_PROPERTY_IN_INPUT_ATTRIBUTE: \"Le nom de l'attribut à filtrer n'est pas disponible\",\n BAD_TYPE: \"Le type de l'attribut {{attributeName}} n'est pas correct\"\n },\n filter: {\n filter: 'Attribut',\n operator: 'Opération',\n value: 'Valeur'\n }\n }\n }\n};\n","import { BaseNode } from '@provoly/dashboard/pipeline';\n\nexport class FilterNode extends BaseNode {\n constructor(title?: string, ...other: any) {\n super();\n this.properties['type'] = 'com.provoly.common.transfo.Filter';\n this.addInput('items', 'items');\n this.addOutput('items', 'items');\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { PryCoreModule, PryDashboardModule, PryI18nModule, PryI18nService, PrySelectModule } from '@provoly/dashboard';\nimport { PipelineComponentFactoryService } from '@provoly/dashboard/pipeline';\nimport { FilterComponent } from './component/filter.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { FilterNode } from './node-class/filter-node.class';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n PryCoreModule,\n PryDashboardModule,\n PrySelectModule,\n PryI18nModule\n ],\n declarations: [FilterComponent],\n exports: [FilterComponent]\n})\nexport class PryPipelineFilterModule {\n constructor(\n pipelineComponentFactoryService: PipelineComponentFactoryService,\n private pryTranslateService: PryI18nService\n ) {\n this.pryTranslateService.addLangObject('fr', 'pipeline-filter', frTranslations);\n this.pryTranslateService.addLangObject('en', 'pipeline-filter', enTranslations);\n\n pipelineComponentFactoryService.addType('com.provoly.common.transfo.Filter', FilterComponent, FilterNode);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAQM,MAAO,eAAgB,SAAQ,gCAAgC,CAAA;AAanE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AAbV,QAAA,IAAA,CAAA,GAAG,GAAG;YACJ,CAAC,SAAS,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A,EAAA,CAAA,CAAA,EAAA;AAEd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAXhC,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,kBAAkB;YAClB,eAAe;YACf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKJ,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAbnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,aAAa;wBACb,aAAa;wBACb,kBAAkB;wBAClB,eAAe;wBACf,aAAa;AACd,qBAAA;oBACD,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;AAC3B,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -25,7 +25,7 @@ class InputDatasourceComponent extends PipelinePropertiesPanelComponent {
25
25
  this.checkFn();
26
26
  }
27
27
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: InputDatasourceComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: InputDatasourceComponent, selector: "pry-pipeline-input-dataset-definition", usesInheritance: true, ngImport: i0, template: "<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.input' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"dataSources$ | async\"\n [ngModel]=\"node.properties['datasetId']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PrySelectComponent, selector: "pry-select", inputs: ["labelTranslate", "baseTranslate", "translationFn", "translationFnArgs", "clearable", "multiple", "multipleClearRight", "placeholder", "isForm", "required", "name", "readonly", "items", "itemsAsOption", "bindData", "bindValue", "bindLabel", "bindIcon", "iconSize", "templateLabel", "templateOption", "autocomplete"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: InputDatasourceComponent, selector: "pry-pipeline-input-dataset-definition", usesInheritance: true, ngImport: i0, template: "<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.input' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"dataSources$ | async\"\n [ngModel]=\"node.properties['datasetId']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PrySelectComponent, selector: "pry-select", inputs: ["labelTranslate", "baseTranslate", "translationFn", "translationFnArgs", "clearable", "multiple", "multipleClearRight", "closeOnSelect", "placeholder", "isForm", "required", "name", "readonly", "items", "itemsAsOption", "bindData", "bindValue", "bindLabel", "bindIcon", "iconSize", "templateLabel", "templateOption", "autocomplete"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
29
29
  }
30
30
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: InputDatasourceComponent, decorators: [{
31
31
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"provoly-dashboard-pipeline-components-input-datasource.mjs","sources":["../../../../projects/provoly/dashboard/pipeline-components/input-datasource/component/input-datasource.component.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/component/input-datasource.component.html","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/i18n/en.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/node-class/input-datasourse-node.class.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/input-datasource.module.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { DataSource, DataSourceActions, DataSourceSelectors } from '@provoly/dashboard';\nimport { PipelinePropertiesPanelComponent } from '@provoly/dashboard/pipeline';\nimport { Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-pipeline-input-dataset-definition',\n templateUrl: './input-datasource.component.html'\n})\nexport class InputDatasourceComponent extends PipelinePropertiesPanelComponent {\n dataSources$: Observable<DataSource[]>;\n\n constructor(private store: Store) {\n super();\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.store.dispatch(DataSourceActions.namedQuery.load());\n this.dataSources$ = this.store.select(DataSourceSelectors.getDataSources);\n }\n\n change($event: any) {\n this.node.properties['datasetId'] = $event;\n this.checkFn();\n }\n}\n","<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.input' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"dataSources$ | async\"\n [ngModel]=\"node.properties['datasetId']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n","export const enTranslations = {\n '@pry': {\n pipeline: {\n dataset: { input: 'Origin data source', output: 'Destination dataset definition' }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n pipeline: {\n dataset: { input: 'Datasource origine', output: 'Dataset définition destination' }\n }\n }\n};\n","import { BaseNode } from '@provoly/dashboard/pipeline';\nimport { LiteGraph } from 'litegraph.js';\n\nexport class InputDatasourceNode extends BaseNode {\n constructor(title?: string, ...other: any) {\n super();\n this.properties['type'] = 'com.provoly.common.transfo.InputDatasource';\n this.color = InputDatasourceNode.getNodeTitleColor();\n this.titleColor = '#000000';\n this.shape = LiteGraph.BOX_SHAPE;\n this.addOutput('items', 'items');\n }\n\n static override getNodeTitleColor() {\n return '#FFC971';\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { Store } from '@ngrx/store';\nimport {\n DataSourceActions,\n DataSourceSelectors,\n PryCoreModule,\n PryDashboardModule,\n PryI18nModule,\n PryI18nService,\n PrySelectModule\n} from '@provoly/dashboard';\nimport { PipelineComponentFactoryService } from '@provoly/dashboard/pipeline';\nimport { InputDatasourceComponent } from './component/input-datasource.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { InputDatasourceNode } from './node-class/input-datasourse-node.class';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n PryCoreModule,\n PryDashboardModule,\n PrySelectModule,\n PryI18nModule\n ],\n declarations: [InputDatasourceComponent],\n exports: [InputDatasourceComponent]\n})\nexport class PryPipelineInputDatasetModule {\n constructor(\n pipelineComponentFactoryService: PipelineComponentFactoryService,\n private pryTranslateService: PryI18nService,\n private store: Store\n ) {\n this.pryTranslateService.addLangObject('fr', 'pipeline-inputdsdef', frTranslations);\n this.pryTranslateService.addLangObject('en', 'pipeline-inputdsdef', enTranslations);\n\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.store.select(DataSourceSelectors.getDataSources).subscribe((datasources) => {\n datasources.forEach((datasource) => {\n pipelineComponentFactoryService.addType(\n 'com.provoly.common.transfo.InputDatasource',\n InputDatasourceComponent,\n InputDatasourceNode,\n 'input',\n datasource.name,\n true,\n { datasetId: datasource.id }\n );\n });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;AAUM,MAAO,wBAAyB,SAAQ,gCAAgC,CAAA;AAG5E,IAAA,WAAA,CAAoB,KAAY,EAAA;AAC9B,QAAA,KAAK,EAAE,CAAC;QADU,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;AAE9B,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;AAC7D,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC;AACzD,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;KAC3E;AAED,IAAA,MAAM,CAAC,MAAW,EAAA;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,MAAM,CAAC;QAC3C,IAAI,CAAC,OAAO,EAAE,CAAC;KAChB;8GAbU,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,KAAA,EAAA,CAAA,EAA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AAW;YACX,aAAa;YACb,aAAa;YACb,kBAAkB;YAClB,eAAe;YACf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKJ,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAbzC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,aAAa;wBACb,aAAa;wBACb,kBAAkB;wBAClB,eAAe;wBACf,aAAa;AACd,qBAAA;oBACD,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACpC,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
1
+ {"version":3,"file":"provoly-dashboard-pipeline-components-input-datasource.mjs","sources":["../../../../projects/provoly/dashboard/pipeline-components/input-datasource/component/input-datasource.component.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/component/input-datasource.component.html","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/i18n/en.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/node-class/input-datasourse-node.class.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/input-datasource.module.ts","../../../../projects/provoly/dashboard/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { DataSource, DataSourceActions, DataSourceSelectors } from '@provoly/dashboard';\nimport { PipelinePropertiesPanelComponent } from '@provoly/dashboard/pipeline';\nimport { Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-pipeline-input-dataset-definition',\n templateUrl: './input-datasource.component.html'\n})\nexport class InputDatasourceComponent extends PipelinePropertiesPanelComponent {\n dataSources$: Observable<DataSource[]>;\n\n constructor(private store: Store) {\n super();\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.store.dispatch(DataSourceActions.namedQuery.load());\n this.dataSources$ = this.store.select(DataSourceSelectors.getDataSources);\n }\n\n change($event: any) {\n this.node.properties['datasetId'] = $event;\n this.checkFn();\n }\n}\n","<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.input' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"dataSources$ | async\"\n [ngModel]=\"node.properties['datasetId']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n","export const enTranslations = {\n '@pry': {\n pipeline: {\n dataset: { input: 'Origin data source', output: 'Destination dataset definition' }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n pipeline: {\n dataset: { input: 'Datasource origine', output: 'Dataset définition destination' }\n }\n }\n};\n","import { BaseNode } from '@provoly/dashboard/pipeline';\nimport { LiteGraph } from 'litegraph.js';\n\nexport class InputDatasourceNode extends BaseNode {\n constructor(title?: string, ...other: any) {\n super();\n this.properties['type'] = 'com.provoly.common.transfo.InputDatasource';\n this.color = InputDatasourceNode.getNodeTitleColor();\n this.titleColor = '#000000';\n this.shape = LiteGraph.BOX_SHAPE;\n this.addOutput('items', 'items');\n }\n\n static override getNodeTitleColor() {\n return '#FFC971';\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { Store } from '@ngrx/store';\nimport {\n DataSourceActions,\n DataSourceSelectors,\n PryCoreModule,\n PryDashboardModule,\n PryI18nModule,\n PryI18nService,\n PrySelectModule\n} from '@provoly/dashboard';\nimport { PipelineComponentFactoryService } from '@provoly/dashboard/pipeline';\nimport { InputDatasourceComponent } from './component/input-datasource.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { InputDatasourceNode } from './node-class/input-datasourse-node.class';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n PryCoreModule,\n PryDashboardModule,\n PrySelectModule,\n PryI18nModule\n ],\n declarations: [InputDatasourceComponent],\n exports: [InputDatasourceComponent]\n})\nexport class PryPipelineInputDatasetModule {\n constructor(\n pipelineComponentFactoryService: PipelineComponentFactoryService,\n private pryTranslateService: PryI18nService,\n private store: Store\n ) {\n this.pryTranslateService.addLangObject('fr', 'pipeline-inputdsdef', frTranslations);\n this.pryTranslateService.addLangObject('en', 'pipeline-inputdsdef', enTranslations);\n\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.store.select(DataSourceSelectors.getDataSources).subscribe((datasources) => {\n datasources.forEach((datasource) => {\n pipelineComponentFactoryService.addType(\n 'com.provoly.common.transfo.InputDatasource',\n InputDatasourceComponent,\n InputDatasourceNode,\n 'input',\n datasource.name,\n true,\n { datasetId: datasource.id }\n );\n });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;AAUM,MAAO,wBAAyB,SAAQ,gCAAgC,CAAA;AAG5E,IAAA,WAAA,CAAoB,KAAY,EAAA;AAC9B,QAAA,KAAK,EAAE,CAAC;QADU,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;AAE9B,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;AAC7D,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC;AACzD,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;KAC3E;AAED,IAAA,MAAM,CAAC,MAAW,EAAA;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,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A,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,YAXtC,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,kBAAkB;YAClB,eAAe;YACf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKJ,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAbzC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,aAAa;wBACb,aAAa;wBACb,kBAAkB;wBAClB,eAAe;wBACf,aAAa;AACd,qBAAA;oBACD,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACpC,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
@@ -27,7 +27,7 @@ class OutputDatasetComponent extends PipelinePropertiesPanelComponent {
27
27
  this.checkFn();
28
28
  }
29
29
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: OutputDatasetComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: OutputDatasetComponent, selector: "pry-pipeline-output-dataset-definition", usesInheritance: true, ngImport: i0, template: "<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.output' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"datasets$ | async\"\n [ngModel]=\"node.properties['dataset']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PrySelectComponent, selector: "pry-select", inputs: ["labelTranslate", "baseTranslate", "translationFn", "translationFnArgs", "clearable", "multiple", "multipleClearRight", "placeholder", "isForm", "required", "name", "readonly", "items", "itemsAsOption", "bindData", "bindValue", "bindLabel", "bindIcon", "iconSize", "templateLabel", "templateOption", "autocomplete"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: OutputDatasetComponent, selector: "pry-pipeline-output-dataset-definition", usesInheritance: true, ngImport: i0, template: "<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.output' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"datasets$ | async\"\n [ngModel]=\"node.properties['dataset']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PrySelectComponent, selector: "pry-select", inputs: ["labelTranslate", "baseTranslate", "translationFn", "translationFnArgs", "clearable", "multiple", "multipleClearRight", "closeOnSelect", "placeholder", "isForm", "required", "name", "readonly", "items", "itemsAsOption", "bindData", "bindValue", "bindLabel", "bindIcon", "iconSize", "templateLabel", "templateOption", "autocomplete"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
31
31
  }
32
32
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: OutputDatasetComponent, decorators: [{
33
33
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"provoly-dashboard-pipeline-components-output-dataset.mjs","sources":["../../../../projects/provoly/dashboard/pipeline-components/output-dataset/component/output-dataset.component.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/component/output-dataset.component.html","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/i18n/en.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/node-class/output-dataset-node.class.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/output-dataset.module.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { Dataset, DataSourceActions, DataSourceSelectors, PryDatasetType } from '@provoly/dashboard';\nimport { PipelinePropertiesPanelComponent } from '@provoly/dashboard/pipeline';\nimport { map, Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-pipeline-output-dataset-definition',\n templateUrl: './output-dataset.component.html'\n})\nexport class OutputDatasetComponent extends PipelinePropertiesPanelComponent {\n datasets$: Observable<Dataset[]>;\n\n constructor(private store: Store) {\n super();\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.datasets$ = this.store\n .select(DataSourceSelectors.datasets)\n .pipe(map((datasets: Dataset[]) => datasets.filter((dataset) => dataset.type === PryDatasetType.CLOSED)));\n }\n\n change($event: any) {\n this.node.properties['dataset'] = $event;\n this.checkFn();\n }\n}\n","<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.output' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"datasets$ | async\"\n [ngModel]=\"node.properties['dataset']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n","export const enTranslations = {\n '@pry': {\n pipeline: {\n dataset: { output: 'Dataset destination' }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n pipeline: {\n dataset: { output: 'Destination dataset' }\n }\n }\n};\n","import { BaseNode } from '@provoly/dashboard/pipeline';\nimport { LiteGraph } from 'litegraph.js';\n\nexport class OutputDatasetNode extends BaseNode {\n constructor(title?: string, ...other: any) {\n super();\n this.properties['type'] = 'OutputDataset';\n this.color = OutputDatasetNode.getNodeTitleColor();\n this.titleColor = '#000000';\n this.shape = LiteGraph.BOX_SHAPE;\n this.addInput('items', 'items');\n this.addInput('groups', 'groups');\n }\n\n static override getNodeTitleColor() {\n return '#7BCCAD';\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { Store } from '@ngrx/store';\nimport {\n DataSourceActions,\n DataSourceSelectors,\n PryCoreModule,\n PryDashboardModule,\n PryDatasetType,\n PryI18nModule,\n PryI18nService,\n PrySelectModule\n} from '@provoly/dashboard';\nimport { PipelineComponentFactoryService } from '@provoly/dashboard/pipeline';\nimport { OutputDatasetComponent } from './component/output-dataset.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { OutputDatasetNode } from './node-class/output-dataset-node.class';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n PryCoreModule,\n PryDashboardModule,\n PrySelectModule,\n PryI18nModule\n ],\n declarations: [OutputDatasetComponent],\n exports: [OutputDatasetComponent]\n})\nexport class PryPipelineOutputDatasetModule {\n constructor(\n pipelineComponentFactoryService: PipelineComponentFactoryService,\n private pryTranslateService: PryI18nService,\n private store: Store\n ) {\n this.pryTranslateService.addLangObject('fr', 'pipeline-outputdsdef', frTranslations);\n this.pryTranslateService.addLangObject('en', 'pipeline-outputdsdef', enTranslations);\n\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.store.select(DataSourceSelectors.datasets).subscribe((datasources) => {\n const closedDatasources = datasources.filter((def) => def.type === PryDatasetType.CLOSED);\n closedDatasources.forEach((datasource) => {\n pipelineComponentFactoryService.addType(\n 'com.provoly.common.transfo.OutputDataset',\n OutputDatasetComponent,\n OutputDatasetNode,\n 'output',\n datasource.name,\n true,\n { dataset: datasource.id }\n );\n });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;AAUM,MAAO,sBAAuB,SAAQ,gCAAgC,CAAA;AAG1E,IAAA,WAAA,CAAoB,KAAY,EAAA;AAC9B,QAAA,KAAK,EAAE,CAAC;QADU,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;AAE9B,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;AAC7D,QAAA,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,KAAK;AACxB,aAAA,MAAM,CAAC,mBAAmB,CAAC,QAAQ,CAAC;aACpC,IAAI,CAAC,GAAG,CAAC,CAAC,QAAmB,KAAK,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,IAAI,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KAC7G;AAED,IAAA,MAAM,CAAC,MAAW,EAAA;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;QACzC,IAAI,CAAC,OAAO,EAAE,CAAC;KAChB;8GAdU,sBAAsB,EA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a,aAGL,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;AAErB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAXvC,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,kBAAkB;YAClB,eAAe;YACf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKJ,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAb1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,aAAa;wBACb,aAAa;wBACb,kBAAkB;wBAClB,eAAe;wBACf,aAAa;AACd,qBAAA;oBACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACjCD;;AAEG;;;;"}
1
+ {"version":3,"file":"provoly-dashboard-pipeline-components-output-dataset.mjs","sources":["../../../../projects/provoly/dashboard/pipeline-components/output-dataset/component/output-dataset.component.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/component/output-dataset.component.html","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/i18n/en.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/node-class/output-dataset-node.class.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/output-dataset.module.ts","../../../../projects/provoly/dashboard/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { Dataset, DataSourceActions, DataSourceSelectors, PryDatasetType } from '@provoly/dashboard';\nimport { PipelinePropertiesPanelComponent } from '@provoly/dashboard/pipeline';\nimport { map, Observable } from 'rxjs';\n\n@Component({\n selector: 'pry-pipeline-output-dataset-definition',\n templateUrl: './output-dataset.component.html'\n})\nexport class OutputDatasetComponent extends PipelinePropertiesPanelComponent {\n datasets$: Observable<Dataset[]>;\n\n constructor(private store: Store) {\n super();\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.datasets$ = this.store\n .select(DataSourceSelectors.datasets)\n .pipe(map((datasets: Dataset[]) => datasets.filter((dataset) => dataset.type === PryDatasetType.CLOSED)));\n }\n\n change($event: any) {\n this.node.properties['dataset'] = $event;\n this.checkFn();\n }\n}\n","<div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"dataset\">{{ '@pry.pipeline.dataset.output' | i18n }}</label>\n <pry-select\n [itemsAsOption]=\"true\"\n [items]=\"datasets$ | async\"\n [ngModel]=\"node.properties['dataset']\"\n (ngModelChange)=\"change($event)\"\n [disabled]=\"disabled\"\n bindLabel=\"name\"\n bindValue=\"id\"\n class=\"a-pry-select\"\n id=\"dataset\"\n ></pry-select>\n</div>\n","export const enTranslations = {\n '@pry': {\n pipeline: {\n dataset: { output: 'Dataset destination' }\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n pipeline: {\n dataset: { output: 'Destination dataset' }\n }\n }\n};\n","import { BaseNode } from '@provoly/dashboard/pipeline';\nimport { LiteGraph } from 'litegraph.js';\n\nexport class OutputDatasetNode extends BaseNode {\n constructor(title?: string, ...other: any) {\n super();\n this.properties['type'] = 'OutputDataset';\n this.color = OutputDatasetNode.getNodeTitleColor();\n this.titleColor = '#000000';\n this.shape = LiteGraph.BOX_SHAPE;\n this.addInput('items', 'items');\n this.addInput('groups', 'groups');\n }\n\n static override getNodeTitleColor() {\n return '#7BCCAD';\n }\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { Store } from '@ngrx/store';\nimport {\n DataSourceActions,\n DataSourceSelectors,\n PryCoreModule,\n PryDashboardModule,\n PryDatasetType,\n PryI18nModule,\n PryI18nService,\n PrySelectModule\n} from '@provoly/dashboard';\nimport { PipelineComponentFactoryService } from '@provoly/dashboard/pipeline';\nimport { OutputDatasetComponent } from './component/output-dataset.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { OutputDatasetNode } from './node-class/output-dataset-node.class';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n PryCoreModule,\n PryDashboardModule,\n PrySelectModule,\n PryI18nModule\n ],\n declarations: [OutputDatasetComponent],\n exports: [OutputDatasetComponent]\n})\nexport class PryPipelineOutputDatasetModule {\n constructor(\n pipelineComponentFactoryService: PipelineComponentFactoryService,\n private pryTranslateService: PryI18nService,\n private store: Store\n ) {\n this.pryTranslateService.addLangObject('fr', 'pipeline-outputdsdef', frTranslations);\n this.pryTranslateService.addLangObject('en', 'pipeline-outputdsdef', enTranslations);\n\n this.store.dispatch(DataSourceActions.dataset.loadDataset());\n this.store.select(DataSourceSelectors.datasets).subscribe((datasources) => {\n const closedDatasources = datasources.filter((def) => def.type === PryDatasetType.CLOSED);\n closedDatasources.forEach((datasource) => {\n pipelineComponentFactoryService.addType(\n 'com.provoly.common.transfo.OutputDataset',\n OutputDatasetComponent,\n OutputDatasetNode,\n 'output',\n datasource.name,\n true,\n { dataset: datasource.id }\n );\n });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;AAUM,MAAO,sBAAuB,SAAQ,gCAAgC,CAAA;AAG1E,IAAA,WAAA,CAAoB,KAAY,EAAA;AAC9B,QAAA,KAAK,EAAE,CAAC;QADU,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;AAE9B,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;A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AACL,SAAC,CAAC,CAAC;KACJ;8GAxBU,8BAA8B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,+BAAA,EAAA,EAAA,EAAA,KAAA,EAAAC,EAAA,CAAA,cAAA,EAAA,EAAA,EAAA,KAAA,EAAAC,EAAA,CAAA,KAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAA9B,8BAA8B,EAAA,YAAA,EAAA,CAH1B,sBAAsB,CAAA,EAAA,OAAA,EAAA,CARnC,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,kBAAkB;YAClB,eAAe;AACf,YAAA,aAAa,aAGL,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;AAErB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAXvC,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,kBAAkB;YAClB,eAAe;YACf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKJ,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAb1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,aAAa;wBACb,aAAa;wBACb,kBAAkB;wBAClB,eAAe;wBACf,aAAa;AACd,qBAAA;oBACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACjCD;;AAEG;;;;"}
@@ -5,7 +5,7 @@ import { EventEmitter, Component, Optional, Input, Output, ViewEncapsulation, Te
5
5
  import * as i4$1 from '@angular/forms';
6
6
  import { FormGroup, FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
7
7
  import * as i4 from '@provoly/dashboard';
8
- import { SubscriptionnerDirective, DEFAULT_RESTITUTION_ICON_URL, LibraryTypes, DashboardActions, DashboardGridLayout, DashboardSelectors, ViewMode, PryVisibilityType, ConfigActions, PryIconModule, PryCoreModule, PryDashboardModule, PrySelectModule, PryShareModule, PryOverlayModule, PryI18nModule } from '@provoly/dashboard';
8
+ import { SubscriptionnerDirective, DEFAULT_RESTITUTION_ICON_URL, LibraryTypes, DashboardActions, DashboardGridLayout, DashboardSelectors, ViewMode, PryVisibilityType, DisplayMode, ConfigActions, PryIconModule, PryCoreModule, PryDashboardModule, PrySelectModule, PryShareModule, PryOverlayModule, PryI18nModule } from '@provoly/dashboard';
9
9
  import * as i6 from '@provoly/dashboard/components/checkbox';
10
10
  import { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';
11
11
  import * as i4$2 from '@provoly/dashboard/components/sinceDate';
@@ -231,6 +231,7 @@ class PryPresentationComponent extends SubscriptionnerDirective {
231
231
  initial: staticManifest
232
232
  }));
233
233
  });
234
+ this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: DisplayMode.CONSULT }));
234
235
  this.store.dispatch(DashboardActions.followManifestRoute());
235
236
  this.ngZone.run(() => {
236
237
  this.router?.navigateByUrl(this.consultStartUrl);
@@ -250,12 +251,14 @@ class PryPresentationComponent extends SubscriptionnerDirective {
250
251
  viewMode: ViewMode.CREATION
251
252
  };
252
253
  this.store.dispatch(DashboardActions.selectPresentation(newPresentation));
254
+ this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: DisplayMode.CREATE }));
253
255
  }
254
256
  edit(presentation) {
255
257
  this.selectedMode = ViewMode.EDITION;
256
258
  this.selectedPresentation = presentation;
257
259
  this.store.dispatch(DashboardActions.selectPresentation({ presentation: this.selectedPresentation, viewMode: ViewMode.EDITION }));
258
260
  this.store.dispatch(DashboardActions.fetchStaticManifest({ id: presentation.id }));
261
+ this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: DisplayMode.EDIT }));
259
262
  }
260
263
  delete(id) {
261
264
  this.store.dispatch(DashboardActions.deleteManifest({ id }));
@@ -1 +1 @@
1
- {"version":3,"file":"provoly-dashboard-presentation.mjs","sources":["../../../../projects/provoly/dashboard/presentation/components/add-edit-presentation/add-edit-presentation.component.ts","../../../../projects/provoly/dashboard/presentation/components/add-edit-presentation/add-edit-presentation.component.html","../../../../projects/provoly/dashboard/presentation/components/title-presentation/title-presentation.component.ts","../../../../projects/provoly/dashboard/presentation/components/title-presentation/title-presentation.component.html","../../../../projects/provoly/dashboard/presentation/style/css.component.ts","../../../../projects/provoly/dashboard/presentation/components/presentation.component.ts","../../../../projects/provoly/dashboard/presentation/components/presentation.component.html","../../../../projects/provoly/dashboard/presentation/i18n/en.translations.ts","../../../../projects/provoly/dashboard/presentation/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/presentation/presentation.module.ts","../../../../projects/provoly/dashboard/presentation/provoly-dashboard-presentation.ts"],"sourcesContent":["import { AfterViewInit, Component, EventEmitter, Input, OnInit, Optional, Output } from '@angular/core';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport {\n DashboardActions,\n DashboardGridLayout,\n DashboardSelectors,\n DEFAULT_RESTITUTION_ICON_URL,\n GlobalManifest,\n LibraryTypes,\n ManifestDescription,\n SubscriptionnerDirective,\n ViewMode\n} from '@provoly/dashboard';\nimport { combineLatest, debounceTime, Observable, take } from 'rxjs';\n\n@Component({\n selector: 'pry-add-edit-presentation',\n templateUrl: './add-edit-presentation.component.html'\n})\nexport class PryAddEditPresentationComponent extends SubscriptionnerDirective implements OnInit, AfterViewInit {\n staticManifest$: Observable<GlobalManifest>;\n @Input() selectedPresentation!: ManifestDescription;\n @Input() edition: boolean = false;\n @Input() editionStartUrl: string = '/';\n form!: FormGroup;\n image: string = DEFAULT_RESTITUTION_ICON_URL;\n @Output() goBack = new EventEmitter<void>();\n type: LibraryTypes = LibraryTypes.ILLUSTRATION;\n chosenLayout?: string;\n\n constructor(private store: Store, @Optional() protected router: Router) {\n super();\n this.store.dispatch(DashboardActions.setGridLayout({ layout: DashboardGridLayout.FULL }));\n this.staticManifest$ = this.store.select(DashboardSelectors.staticManifest);\n combineLatest([this.staticManifest$, this.store.select(DashboardSelectors.gridLayout)]).subscribe(\n ([staticManifest, gridLayout]) => {\n this.chosenLayout =\n this.edition && staticManifest.windows[0]?.grid?.layout !== undefined\n ? staticManifest.windows[0]?.grid?.layout\n : gridLayout;\n }\n );\n }\n\n ngOnInit(): void {\n this.form = new FormGroup({\n name: new FormControl(null, [Validators.required, Validators.maxLength(50)]),\n description: new FormControl(null, [Validators.maxLength(200)]),\n cover: new FormControl(false)\n });\n this.image = this.selectedPresentation?.image ?? DEFAULT_RESTITUTION_ICON_URL;\n }\n\n ngAfterViewInit() {\n if (this.selectedPresentation) {\n setTimeout(() => {\n this.form.patchValue(this.selectedPresentation);\n });\n }\n }\n\n save() {\n const presentation = {\n ...this.selectedPresentation!,\n name: this.form.value.name ?? '',\n description: this.form.value.description ?? '',\n cover: this.form.value.cover ?? false,\n image: this.image ?? DEFAULT_RESTITUTION_ICON_URL\n };\n this.subscriptions.add(\n this.staticManifest$.pipe(take(1)).subscribe((staticManifest) => {\n this.store.dispatch(\n DashboardActions.saveManifest({\n ...presentation,\n manifest: staticManifest\n })\n );\n })\n );\n this.store.dispatch(\n DashboardActions.selectPresentation({\n presentation: presentation,\n viewMode: ViewMode.EDITION\n })\n );\n }\n\n configureDashboard(selectedPresentation: ManifestDescription) {\n this.store.dispatch(\n DashboardActions.selectPresentation({\n presentation: {\n ...this.selectedPresentation!,\n name: this.form.value.name ?? '',\n description: this.form.value.description ?? '',\n image: this.image ?? DEFAULT_RESTITUTION_ICON_URL,\n cover: this.form.value.cover ?? false\n },\n viewMode: this.edition ? ViewMode.CREATION : ViewMode.EDITION\n })\n );\n if (!this.edition) {\n this.store.dispatch(\n DashboardActions.updateManifest({\n // @ts-ignore\n manifest: { windows: [{ widgets: [], grid: { layout: this.chosenLayout } }] },\n selectedIds: [],\n manifestId: selectedPresentation.id\n })\n );\n this.store.dispatch(\n DashboardActions.setInitialPresentation({\n initial: { windows: [{ widgets: [], grid: { layout: this.chosenLayout as DashboardGridLayout } }] }\n })\n );\n this.router?.navigateByUrl(this.editionStartUrl);\n } else {\n this.store\n .select(DashboardSelectors.staticManifest)\n .pipe(debounceTime(1000), take(1))\n .subscribe((staticManifest: GlobalManifest) => {\n this.store.dispatch(\n DashboardActions.updateManifest({\n manifest: staticManifest,\n selectedIds: [],\n manifestId: selectedPresentation.id\n })\n );\n this.store.dispatch(\n DashboardActions.setInitialPresentation({\n initial: staticManifest\n })\n );\n this.store.dispatch(DashboardActions.followManifestRoute());\n this.router?.navigateByUrl(this.editionStartUrl);\n });\n }\n }\n\n close() {\n this.goBack.emit();\n }\n}\n","<div class=\"o-manifest-layout\">\n <div class=\"o-manifest-layout__toolbox\">\n <button class=\"a-btn a-btn--secondary\" type=\"button\" (click)=\"close()\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button class=\"a-btn a-btn--primary\" type=\"button\" (click)=\"save()\" [disabled]=\"form.invalid\">\n {{ '@pry.toolbox.manifest.check' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <div class=\"o-presentation-form-wrapper\">\n <h1 class=\"a-h1\">{{ '@pry.presentation.add' + '.pageTitle' | i18n }}</h1>\n <form [formGroup]=\"form\" class=\"o-presentation-form\">\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_name\">{{ '@pry.presentation.form.name' | i18n }}</label>\n <input\n type=\"text\"\n id=\"presentation_name\"\n formControlName=\"name\"\n placeholder=\"{{ '@pry.presentation.form.name' | i18n }}\"\n class=\"a-form-field\"\n maxlength=\"50\"\n required\n />\n <label\n for=\"presentation_name\"\n *ngIf=\"form.get('name')?.touched && form.get('name')?.hasError('required')\"\n class=\"a-label a-label--help -error\"\n >\n {{ '@pry.presentation.required' | i18n }}\n </label>\n <label\n for=\"presentation_name\"\n *ngIf=\"form.get('name')?.hasError('maxlength')\"\n class=\"a-label a-label--help -error\"\n >\n {{ '@pry.presentation.maxLength' | i18n : { len: '50' } }}\n </label>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_description\">{{\n '@pry.presentation.form.description' | i18n\n }}</label>\n <textarea\n formControlName=\"description\"\n id=\"presentation_description\"\n name=\"description\"\n cols=\"30\"\n rows=\"5\"\n maxlength=\"200\"\n placeholder=\"{{ '@pry.presentation.form.description' | i18n }}\"\n class=\"a-form-field\"\n ></textarea>\n <label\n for=\"presentation_description\"\n *ngIf=\"form.get('description')?.hasError('maxlength')\"\n class=\"a-label a-label--help -error\"\n >\n {{ '@pry.presentation.maxLength' | i18n : { len: '200' } }}\n </label>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image\n id=\"presentation_image\"\n (changed)=\"image = $event\"\n [iconUrl]=\"image\"\n [mode]=\"type\"\n ></pry-select-image>\n <pry-checkbox formControlName=\"cover\" name=\"cover\" ngDefaultControl>\n {{ '@pry.presentation.form.cover' | i18n }}\n </pry-checkbox>\n </div>\n </div>\n <div class=\"m-form-label-field -width-full m-form-label-field--inline\">\n <label class=\"a-label\">{{ '@pry.presentation.form.grid' | i18n }}</label>\n <span class=\"a-label\">{{ '@pry.toolbox.layout.' + this.chosenLayout | i18n }}</span>\n <pry-select-grid-layout *ngIf=\"!edition\"></pry-select-grid-layout>\n </div>\n <button\n class=\"a-btn a-btn--primary\"\n (click)=\"configureDashboard(selectedPresentation!)\"\n [disabled]=\"form.invalid\"\n >\n {{ '@pry.presentation.configuration' | i18n }}\n </button>\n </form>\n </div>\n </div>\n</div>\n","import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { map, Observable } from 'rxjs';\nimport { DashboardSelectors, ManifestDescription, PryI18nService } from '@provoly/dashboard';\n\n@Component({\n selector: 'pry-title-presentation',\n templateUrl: './title-presentation.component.html'\n})\nexport class PryTitlePresentationComponent {\n presentation$: Observable<ManifestDescription | null>;\n presentationTitle$: Observable<string | null>;\n\n constructor(private store: Store, private i18nService: PryI18nService) {\n this.presentation$ = this.store.select(DashboardSelectors.presentation).pipe(\n map((presentation) => {\n if (presentation.current) {\n return presentation.current;\n }\n return null;\n })\n );\n\n this.presentationTitle$ = this.presentation$.pipe(\n map((presentation) => {\n if (presentation) {\n return presentation.name;\n }\n return this.i18nService.instant('@pry.header.noCurrentPresentation');\n })\n );\n }\n}\n","<div class=\"title-container\">\n <h1 class=\"a-h1 a-presentation-title\">{{ presentationTitle$ | async }}</h1>\n <ng-container *ngIf=\"presentation$ | async as presentation\">\n <div class=\"info-icon description-container description\">\n <span class=\"info-text\">i</span>\n </div>\n <div class=\"description-tooltip title-tooltip\">\n <p class=\"a-p -date\">{{ presentation.modificationDate | sinceDate }}</p>\n <p class=\"a-p\">{{ presentation.description }}</p>\n </div>\n </ng-container>\n</div>\n","import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'pry-presentation-css',\n template: '',\n styleUrls: ['./_o-pry-new-presentation.scss', './_o-pry-presentation.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class PryPresentationCssComponent {}\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { Component, ElementRef, Input, NgZone, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport {\n ConfigActions,\n DashboardActions,\n DashboardManifest,\n DashboardSelectors,\n GlobalManifest,\n ManifestDescription,\n PryVisibility,\n PryVisibilityType,\n SubscriptionnerDirective,\n ViewMode\n} from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, debounceTime, map, Observable, take } from 'rxjs';\nimport { v4 } from 'uuid';\n\n@Component({\n selector: 'pry-presentation',\n templateUrl: './presentation.component.html'\n})\nexport class PryPresentationComponent extends SubscriptionnerDirective {\n manifests$: Observable<ManifestDescription[]>;\n selectedPresentation: ManifestDescription | null = null;\n presentation?: ManifestDescription;\n staticManifest$?: Observable<DashboardManifest>;\n selectedMode: ViewMode = ViewMode.CATALOG;\n modalOpened = false;\n @ViewChild('modal', { read: TemplateRef }) template!: TemplateRef<any>;\n @ViewChild('templateModal', { read: TemplateRef }) templateModal!: TemplateRef<any>;\n @ViewChild('openModal') openModal!: ElementRef<HTMLButtonElement>;\n @ViewChild('cancelRemove') cancelRemove!: ElementRef<HTMLButtonElement>;\n @ViewChild('confirm') confirm!: ElementRef<HTMLButtonElement>;\n @ViewChild('submit') submit!: ElementRef<HTMLButtonElement>;\n @ViewChild('cross') cross!: ElementRef<HTMLButtonElement>;\n @ViewChild('crossVisibility') crossVisibility!: ElementRef<HTMLButtonElement>;\n @ViewChild('visibilityModal') visibilityModal!: ElementRef;\n @ViewChild('deleteModal') deleteModal!: ElementRef;\n private confirmRemoveRef?: OverlayRef;\n overlayRef?: OverlayRef;\n visibility: PryVisibility = { type: PryVisibilityType.PRIVATE };\n PryVisibilityType = PryVisibilityType;\n @Input() editionStartUrl: string = '/';\n @Input() consultStartUrl: string = '/';\n @Input() meAsOwner?: string;\n ViewMode = ViewMode;\n search$ = new BehaviorSubject('');\n filteredPresentations$: Observable<ManifestDescription[]>;\n\n constructor(\n protected store: Store<any>,\n protected overlay: Overlay,\n protected viewContainerRef: ViewContainerRef,\n protected router: Router,\n protected ngZone: NgZone\n ) {\n super();\n this.store.dispatch(DashboardActions.fetchManifestsList());\n this.manifests$ = this.store\n .select(DashboardSelectors.manifestsList)\n .pipe(\n map((manifestList) =>\n [...manifestList].sort((a, b) =>\n a.modificationDate ? b.modificationDate.localeCompare(a.modificationDate) : 1\n )\n )\n );\n this.staticManifest$ = this.store\n .select(DashboardSelectors.staticManifest)\n .pipe(map((staticM) => staticM.windows[0]));\n this.filteredPresentations$ = combineLatest([this.manifests$, this.search$]).pipe(\n map(([presentations, search]) =>\n presentations.filter(\n (presentations) =>\n search.length === 0 ||\n presentations.description.toLowerCase().includes(search.toLowerCase()) ||\n presentations.name.toLowerCase().includes(search.toLowerCase())\n )\n )\n );\n this.subscriptions.add(\n this.store.select(DashboardSelectors.presentation).subscribe((presentation) => {\n if (!!presentation.current) {\n this.selectedPresentation = presentation.current ?? null;\n this.selectedMode = presentation?.viewMode ?? this.ViewMode.CATALOG;\n }\n })\n );\n }\n\n closeRestitution() {\n this.selectedPresentation = null;\n this.selectedMode = ViewMode.CATALOG;\n this.store.dispatch(DashboardActions.selectPresentation({ presentation: undefined, viewMode: ViewMode.CATALOG }));\n }\n\n fetch(presentation: ManifestDescription) {\n this.store.dispatch(\n DashboardActions.updateManifest({\n manifest: { windows: [] },\n selectedIds: []\n })\n );\n this.store.dispatch(\n DashboardActions.selectPresentation({\n presentation: presentation,\n viewMode: ViewMode.CATALOG\n })\n );\n this.store.dispatch(DashboardActions.fetchStaticManifest({ id: presentation.id }));\n this.store\n .select(DashboardSelectors.staticManifest)\n .pipe(debounceTime(1000), take(1))\n .subscribe((staticManifest: GlobalManifest) => {\n this.store.dispatch(\n DashboardActions.updateManifest({\n manifest: staticManifest,\n selectedIds: [],\n manifestId: presentation.id\n })\n );\n this.store.dispatch(\n DashboardActions.setInitialPresentation({\n initial: staticManifest\n })\n );\n });\n this.store.dispatch(DashboardActions.followManifestRoute());\n this.ngZone.run(() => {\n this.router?.navigateByUrl(this.consultStartUrl);\n });\n }\n\n creation() {\n this.selectedMode = ViewMode.CREATION;\n this.store.dispatch(DashboardActions.updateManifest({ manifest: { windows: [] }, selectedIds: [] }));\n const newPresentation = {\n presentation: {\n id: v4(),\n name: '',\n description: '',\n visibility: { type: PryVisibilityType.PRIVATE },\n owner: true\n } as ManifestDescription,\n viewMode: ViewMode.CREATION\n };\n this.store.dispatch(DashboardActions.selectPresentation(newPresentation));\n }\n\n edit(presentation: ManifestDescription) {\n this.selectedMode = ViewMode.EDITION;\n this.selectedPresentation = presentation;\n this.store.dispatch(\n DashboardActions.selectPresentation({ presentation: this.selectedPresentation, viewMode: ViewMode.EDITION })\n );\n this.store.dispatch(DashboardActions.fetchStaticManifest({ id: presentation.id }));\n }\n\n delete(id: string) {\n this.store.dispatch(DashboardActions.deleteManifest({ id }));\n this.confirmRemoveRef?.dispose();\n this.confirmRemoveRef = undefined;\n this.store.dispatch(ConfigActions.closeOverlay({ id: this.constructor.name + '-modal' }));\n }\n\n default(id: string, name: string) {\n this.store.dispatch(DashboardActions.defaultManifest({ id, name }));\n }\n\n toggleModal(presentation?: ManifestDescription | null) {\n this.modalOpened = !this.modalOpened;\n if (this.modalOpened && presentation) {\n this.selectedPresentation = presentation;\n this.store.dispatch(\n DashboardActions.selectPresentation({ presentation: this.selectedPresentation, viewMode: ViewMode.CATALOG })\n );\n /* we need to load manifest in order to be able to save it later */\n this.store.dispatch(DashboardActions.loadManifest({ id: presentation.id }));\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.toggleModal(presentation));\n this.overlayRef.attach(new TemplatePortal(this.template, this.viewContainerRef));\n setTimeout(() => {\n const focus = this.visibilityModal.nativeElement.children[0].children[1].firstElementChild as HTMLButtonElement;\n focus.focus();\n }, 10);\n } else {\n this.overlayRef?.dispose();\n this.selectedPresentation = null;\n }\n }\n\n changeVisibility() {\n if (this.selectedPresentation) {\n this.store.dispatch(\n DashboardActions.saveManifest({\n id: this.selectedPresentation.id ?? '',\n name: this.selectedPresentation.name ?? '',\n description: this.selectedPresentation.description ?? '',\n image: this.selectedPresentation.image ?? '',\n visibility: this.visibility\n })\n );\n }\n this.toggleModal(this.selectedPresentation);\n }\n\n toggleRemoveConfirm($event: any, presentation?: ManifestDescription) {\n if (!this.confirmRemoveRef) {\n this.presentation = presentation;\n this.confirmRemoveRef = this.overlay.create(\n new OverlayConfig({\n hasBackdrop: true,\n panelClass: ['o-modal-wrapper'],\n backdropClass: 'backdrop'\n })\n );\n this.store.dispatch(ConfigActions.addingOverlay({ id: this.constructor.name + '-modal' }));\n this.confirmRemoveRef.backdropClick().subscribe(() => this.toggleRemoveConfirm($event, presentation));\n this.confirmRemoveRef.attach(new TemplatePortal(this.templateModal, this.viewContainerRef));\n setTimeout(() => {\n const focus = this.deleteModal.nativeElement.children[0].children[1].firstElementChild as HTMLButtonElement;\n focus.focus();\n }, 10);\n } else {\n this.confirmRemoveRef.dispose();\n this.confirmRemoveRef = undefined;\n this.store.dispatch(ConfigActions.closeOverlay({ id: this.constructor.name + '-modal' }));\n this.openModal.nativeElement.focus();\n }\n }\n\n cancelRemoveConfirm() {\n this.confirmRemoveRef?.dispose();\n this.confirmRemoveRef = undefined;\n this.store.dispatch(ConfigActions.closeOverlay({ id: this.constructor.name + '-modal' }));\n }\n\n focusCrossElement() {\n if (this.crossVisibility) {\n this.crossVisibility?.nativeElement.focus();\n }\n this.cross?.nativeElement.focus();\n }\n\n focusValidation() {\n if (this.confirm) {\n this.confirm.nativeElement.focus();\n }\n this.submit.nativeElement.focus();\n }\n}\n","<pry-presentation-css></pry-presentation-css>\n<div class=\"o-manifest-layout\" [ngSwitch]=\"selectedMode\">\n <ng-container *ngSwitchCase=\"ViewMode.CATALOG\">\n <div class=\"o-manifest-layout__toolbox\">\n <button\n [pryTooltip]=\"create\"\n class=\"a-btn a-btn--primary a-btn--icon-text\"\n type=\"button\"\n (click)=\"creation()\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'create' }\"\n >\n {{ '@pry.presentation.create' | i18n }}\n </button>\n <div>\n <div class=\"a-presentation__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.presentation.search' | i18n\"\n [ngModel]=\"search$ | async\"\n (ngModelChange)=\"this.search$.next($event)\"\n />\n <pry-icon iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n </div>\n </div>\n </div>\n <div class=\"o-manifest-layout__content\">\n <h1 class=\"a-h1\">{{ '@pry.manifest.title' | i18n }}</h1>\n\n <div class=\"o-presentation-wrapper\">\n <ul class=\"o-presentation\">\n <li class=\"o-presentation__item\" *ngFor=\"let presentation of filteredPresentations$ | async\">\n <div class=\"o-presentation__item__header\">\n <ng-container *ngIf=\"presentation.visibility.type === PryVisibilityType.PRIVATE\">\n <pry-icon\n [iconSvg]=\"presentation.visibility.type.toLowerCase()\"\n [pryTooltip]=\"private\"\n class=\"is-private\"\n [height]=\"17\"\n [width]=\"17\"\n ></pry-icon>\n </ng-container>\n\n <img\n alt=\"\"\n [height]=\"presentation.cover ? 600 : 128\"\n [width]=\"presentation.cover ? 600 : 128\"\n [class.is-full-width]=\"presentation.cover\"\n [src]=\"presentation.image | getSecuredImage | async\"\n (click)=\"fetch(presentation)\"\n [pryTooltip]=\"view\"\n />\n </div>\n\n <div class=\"o-presentation__item__txt\">\n <h3 class=\"a-h3\">{{ presentation.name }}</h3>\n <div class=\"a-p\">\n <div class=\"description-container\">\n <span class=\"description\">\n {{ presentation.description }}\n </span>\n <div class=\"description-tooltip\">{{ presentation.description }}</div>\n </div>\n </div>\n <p class=\"a-p -date\">{{ presentation.modificationDate | sinceDate }}</p>\n </div>\n\n <div class=\"o-presentation__item__footer\">\n <ul class=\"m-actions-list\">\n <li>\n <button\n type=\"button\"\n class=\"a-btn a-btn--icon-only\"\n (click)=\"default(presentation.id, presentation.name)\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'default' }\"\n >\n <pry-icon\n [iconSvg]=\"presentation.default ? 'home-fill' : 'home-line'\"\n [pryTooltip]=\"homeView\"\n ></pry-icon>\n <span class=\"u-visually-hidden\"></span>\n </button>\n </li>\n <li>\n <button\n class=\"a-btn a-btn--icon-only\"\n (click)=\"edit(presentation)\"\n [disabled]=\"presentation.owner === false\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'edit' }\"\n >\n <pry-icon iconSvg=\"edit\" [pryTooltip]=\"change\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.presentation.edition' | i18n }}</span>\n </button>\n </li>\n <li>\n <button\n (click)=\"toggleModal(presentation)\"\n class=\"a-btn a-btn--icon-only\"\n aria-haspopup=\"dialog\"\n [disabled]=\"presentation.owner === false\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'share' }\"\n >\n <pry-icon iconSvg=\"share\" [pryTooltip]=\"share\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.presentation.share' | i18n }}</span>\n </button>\n </li>\n <li>\n <button\n class=\"a-btn a-btn--icon-only\"\n #openModal\n (click)=\"toggleRemoveConfirm($event, presentation)\"\n [disabled]=\"presentation.owner === false\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'delete' }\"\n >\n <pry-icon iconSvg=\"delete\" [pryTooltip]=\"erase\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.presentation.delete' | i18n }}</span>\n </button>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"ViewMode.CREATION\">\n <pry-add-edit-presentation\n [selectedPresentation]=\"selectedPresentation!\"\n (goBack)=\"closeRestitution()\"\n [editionStartUrl]=\"editionStartUrl\"\n [edition]=\"false\"\n ></pry-add-edit-presentation>\n </ng-container>\n <ng-container *ngSwitchCase=\"ViewMode.EDITION\">\n <pry-add-edit-presentation\n [selectedPresentation]=\"selectedPresentation!\"\n (goBack)=\"closeRestitution()\"\n [editionStartUrl]=\"editionStartUrl\"\n [edition]=\"true\"\n ></pry-add-edit-presentation>\n </ng-container>\n</div>\n\n<ng-template #modal>\n <div\n class=\"o-modal\"\n (click)=\"$event.stopPropagation()\"\n #visibilityModal\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog change visibility\"\n *ngIf=\"selectedPresentation\"\n >\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">{{ '@pry.toolbox.rename' | i18n }}</h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button\n class=\"a-btn a-btn--icon-only\"\n #crossVisibility\n (keydown.shift.tab)=\"focusValidation()\"\n (click)=\"toggleModal()\"\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 <pry-share [ngModel]=\"selectedPresentation.visibility\" (ngModelChange)=\"visibility = $event\"></pry-share>\n <div class=\"m-btn-group\">\n <button type=\"button\" class=\"a-btn a-btn--secondary\" (click)=\"toggleModal()\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button\n type=\"submit\"\n class=\"a-btn a-btn--primary\"\n #submit\n (keydown.tab)=\"focusCrossElement()\"\n (click)=\"changeVisibility()\"\n >\n {{ '@pry.toolbox.manifest.check' | i18n }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #templateModal>\n <div\n class=\"o-modal\"\n *ngIf=\"presentation\"\n (keydown.escape)=\"toggleRemoveConfirm($event, presentation)\"\n #deleteModal\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog confirm delete presentation\"\n >\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">\n {{ '@pry.widget.modalTitle' | i18n }}\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button\n class=\"a-btn a-btn--icon-only\"\n #cross\n (keydown.shift.tab)=\"focusValidation()\"\n (click)=\"cancelRemoveConfirm()\"\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 <div class=\"m-btn-group\">\n <button type=\"button\" #cancelRemove (click)=\"cancelRemoveConfirm()\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button\n type=\"submit\"\n class=\"a-btn a-btn--primary\"\n #confirm\n (click)=\"delete(presentation.id)\"\n (keydown.tab)=\"focusCrossElement()\"\n >\n {{ '@pry.toolbox.manifest.validate' | i18n }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #create>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.create' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #view>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.view' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #private>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.private' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #homeView>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.homeView' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #share>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.share' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #erase>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.erase' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #change>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.change' | i18n }}</span>\n </div>\n</ng-template>\n<ng-template #backToCatalog>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.backToCatalog' | i18n }}</span>\n </div>\n</ng-template>\n","export const enTranslations = {\n '@pry': {\n presentation: {\n add: {\n pageTitle: 'Add presentation description',\n submit: 'Save dashboard'\n },\n edit: {\n pageTitle: 'Change dashboard description',\n submit: 'Save dashboard'\n },\n form: {\n name: 'Title',\n description: 'Description',\n image: 'Image',\n dragDrop: 'Drag and drop',\n or: 'or',\n categories: 'Categories',\n categoryInput: 'Add categories',\n grid: 'Actual grid: ',\n cover: 'Image will cover the whole presentation card'\n },\n share: 'Share',\n view: 'Consult the presentation',\n private: 'Private presentation',\n homeView: 'Show on homepage',\n erase: 'Delete presentation',\n change: 'Modify the presentation',\n create: 'Create a presentation',\n configuration: 'Build presentation',\n required: 'This field is required',\n maxLength: 'Allowed length : {{len}}',\n edition: 'Edit',\n delete: 'Delete',\n backToCatalog: 'Back to catalog',\n search: 'Search'\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n presentation: {\n add: {\n pageTitle: 'Renseigner la description de la présentation',\n info: 'Informations',\n submit: 'Enregistrer'\n },\n edit: {\n pageTitle: 'Changer la description du tableau de bord',\n submit: 'Sauvegarder le tableau de bord'\n },\n form: {\n name: 'Titre',\n description: 'Description',\n image: 'Image d’illustration',\n dragDrop: 'Glisser - Déposer',\n or: 'ou',\n categories: 'Catégories',\n categoryInput: 'Saisir la/les catégories',\n grid: 'Grille actuelle: ',\n cover: \"L'image doit couvrir la carte de la présentation\"\n },\n share: 'Partager',\n view: 'Consulter la presentation',\n private: 'Présentation privée',\n homeView: \"Afficher en page d'accueil\",\n erase: 'Supprimer la presentation',\n change: 'Modifier la presentation',\n create: 'Créer une présentation',\n configuration: 'Construire la presentation',\n required: 'Ce champ est requis',\n maxLength: 'Nombre de caractères autorisés : {{len}}',\n edition: 'Éditer',\n delete: 'Supprimer',\n backToCatalog: 'Revenir au catalogue',\n search: 'Rechercher'\n }\n }\n};\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } 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 { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';\nimport { PrySinceDateModule } from '@provoly/dashboard/components/sinceDate';\nimport { PryToolboxModule } from '@provoly/dashboard/toolbox';\nimport { PryAddEditPresentationComponent } from './components/add-edit-presentation/add-edit-presentation.component';\nimport { PryTitlePresentationComponent } from './components/title-presentation/title-presentation.component';\nimport { PryPresentationComponent } from './components/presentation.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { PryPresentationCssComponent } from './style/css.component';\n\n@NgModule({\n providers: [],\n declarations: [\n PryPresentationComponent,\n PryAddEditPresentationComponent,\n PryTitlePresentationComponent,\n PryPresentationCssComponent\n ],\n imports: [\n PryIconModule,\n PryCoreModule,\n PryDashboardModule,\n ReactiveFormsModule,\n PrySelectModule,\n PrySinceDateModule,\n PryShareModule,\n FormsModule,\n PryOverlayModule,\n PryI18nModule,\n PryToolboxModule,\n PryCheckboxModule,\n CommonModule\n ],\n exports: [\n PryPresentationComponent,\n PryAddEditPresentationComponent,\n PryTitlePresentationComponent,\n PryPresentationCssComponent\n ]\n})\nexport class PryPresentationModule {\n constructor(private pryTranslateService: PryI18nService) {\n this.pryTranslateService.addLangObject('fr', 'presentation', frTranslations);\n this.pryTranslateService.addLangObject('en', 'presentation', enTranslations);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i3","i4","i7","i2","i5","i6","i7.PryAddEditPresentationComponent","i8.PryPresentationCssComponent","i9","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBM,MAAO,+BAAgC,SAAQ,wBAAwB,CAAA;IAW3E,WAAoB,CAAA,KAAY,EAAwB,MAAc,EAAA;AACpE,QAAA,KAAK,EA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,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE,EAAE;AACb,oBAAA,YAAY,EAAE;wBACZ,wBAAwB;wBACxB,+BAA+B;wBAC/B,6BAA6B;wBAC7B,2BAA2B;AAC5B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb,aAAa;wBACb,kBAAkB;wBAClB,mBAAmB;wBACnB,eAAe;wBACf,kBAAkB;wBAClB,cAAc;wBACd,WAAW;wBACX,gBAAgB;wBAChB,aAAa;wBACb,gBAAgB;wBAChB,iBAAiB;wBACjB,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;wBACxB,+BAA+B;wBAC/B,6BAA6B;wBAC7B,2BAA2B;AAC5B,qBAAA;AACF,iBAAA,CAAA;;;ACpDD;;AAEG;;;;"}
1
+ {"version":3,"file":"provoly-dashboard-presentation.mjs","sources":["../../../../projects/provoly/dashboard/presentation/components/add-edit-presentation/add-edit-presentation.component.ts","../../../../projects/provoly/dashboard/presentation/components/add-edit-presentation/add-edit-presentation.component.html","../../../../projects/provoly/dashboard/presentation/components/title-presentation/title-presentation.component.ts","../../../../projects/provoly/dashboard/presentation/components/title-presentation/title-presentation.component.html","../../../../projects/provoly/dashboard/presentation/style/css.component.ts","../../../../projects/provoly/dashboard/presentation/components/presentation.component.ts","../../../../projects/provoly/dashboard/presentation/components/presentation.component.html","../../../../projects/provoly/dashboard/presentation/i18n/en.translations.ts","../../../../projects/provoly/dashboard/presentation/i18n/fr.translations.ts","../../../../projects/provoly/dashboard/presentation/presentation.module.ts","../../../../projects/provoly/dashboard/presentation/provoly-dashboard-presentation.ts"],"sourcesContent":["import { AfterViewInit, Component, EventEmitter, Input, OnInit, Optional, Output } from '@angular/core';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport {\n DashboardActions,\n DashboardGridLayout,\n DashboardSelectors,\n DEFAULT_RESTITUTION_ICON_URL,\n GlobalManifest,\n LibraryTypes,\n ManifestDescription,\n SubscriptionnerDirective,\n ViewMode\n} from '@provoly/dashboard';\nimport { combineLatest, debounceTime, Observable, take } from 'rxjs';\n\n@Component({\n selector: 'pry-add-edit-presentation',\n templateUrl: './add-edit-presentation.component.html'\n})\nexport class PryAddEditPresentationComponent extends SubscriptionnerDirective implements OnInit, AfterViewInit {\n staticManifest$: Observable<GlobalManifest>;\n @Input() selectedPresentation!: ManifestDescription;\n @Input() edition: boolean = false;\n @Input() editionStartUrl: string = '/';\n form!: FormGroup;\n image: string = DEFAULT_RESTITUTION_ICON_URL;\n @Output() goBack = new EventEmitter<void>();\n type: LibraryTypes = LibraryTypes.ILLUSTRATION;\n chosenLayout?: string;\n\n constructor(private store: Store, @Optional() protected router: Router) {\n super();\n this.store.dispatch(DashboardActions.setGridLayout({ layout: DashboardGridLayout.FULL }));\n this.staticManifest$ = this.store.select(DashboardSelectors.staticManifest);\n combineLatest([this.staticManifest$, this.store.select(DashboardSelectors.gridLayout)]).subscribe(\n ([staticManifest, gridLayout]) => {\n this.chosenLayout =\n this.edition && staticManifest.windows[0]?.grid?.layout !== undefined\n ? staticManifest.windows[0]?.grid?.layout\n : gridLayout;\n }\n );\n }\n\n ngOnInit(): void {\n this.form = new FormGroup({\n name: new FormControl(null, [Validators.required, Validators.maxLength(50)]),\n description: new FormControl(null, [Validators.maxLength(200)]),\n cover: new FormControl(false)\n });\n this.image = this.selectedPresentation?.image ?? DEFAULT_RESTITUTION_ICON_URL;\n }\n\n ngAfterViewInit() {\n if (this.selectedPresentation) {\n setTimeout(() => {\n this.form.patchValue(this.selectedPresentation);\n });\n }\n }\n\n save() {\n const presentation = {\n ...this.selectedPresentation!,\n name: this.form.value.name ?? '',\n description: this.form.value.description ?? '',\n cover: this.form.value.cover ?? false,\n image: this.image ?? DEFAULT_RESTITUTION_ICON_URL\n };\n this.subscriptions.add(\n this.staticManifest$.pipe(take(1)).subscribe((staticManifest) => {\n this.store.dispatch(\n DashboardActions.saveManifest({\n ...presentation,\n manifest: staticManifest\n })\n );\n })\n );\n this.store.dispatch(\n DashboardActions.selectPresentation({\n presentation: presentation,\n viewMode: ViewMode.EDITION\n })\n );\n }\n\n configureDashboard(selectedPresentation: ManifestDescription) {\n this.store.dispatch(\n DashboardActions.selectPresentation({\n presentation: {\n ...this.selectedPresentation!,\n name: this.form.value.name ?? '',\n description: this.form.value.description ?? '',\n image: this.image ?? DEFAULT_RESTITUTION_ICON_URL,\n cover: this.form.value.cover ?? false\n },\n viewMode: this.edition ? ViewMode.CREATION : ViewMode.EDITION\n })\n );\n if (!this.edition) {\n this.store.dispatch(\n DashboardActions.updateManifest({\n // @ts-ignore\n manifest: { windows: [{ widgets: [], grid: { layout: this.chosenLayout } }] },\n selectedIds: [],\n manifestId: selectedPresentation.id\n })\n );\n this.store.dispatch(\n DashboardActions.setInitialPresentation({\n initial: { windows: [{ widgets: [], grid: { layout: this.chosenLayout as DashboardGridLayout } }] }\n })\n );\n this.router?.navigateByUrl(this.editionStartUrl);\n } else {\n this.store\n .select(DashboardSelectors.staticManifest)\n .pipe(debounceTime(1000), take(1))\n .subscribe((staticManifest: GlobalManifest) => {\n this.store.dispatch(\n DashboardActions.updateManifest({\n manifest: staticManifest,\n selectedIds: [],\n manifestId: selectedPresentation.id\n })\n );\n this.store.dispatch(\n DashboardActions.setInitialPresentation({\n initial: staticManifest\n })\n );\n this.store.dispatch(DashboardActions.followManifestRoute());\n this.router?.navigateByUrl(this.editionStartUrl);\n });\n }\n }\n\n close() {\n this.goBack.emit();\n }\n}\n","<div class=\"o-manifest-layout\">\n <div class=\"o-manifest-layout__toolbox\">\n <button class=\"a-btn a-btn--secondary\" type=\"button\" (click)=\"close()\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button class=\"a-btn a-btn--primary\" type=\"button\" (click)=\"save()\" [disabled]=\"form.invalid\">\n {{ '@pry.toolbox.manifest.check' | i18n }}\n </button>\n </div>\n <div class=\"o-manifest-layout__content\">\n <div class=\"o-presentation-form-wrapper\">\n <h1 class=\"a-h1\">{{ '@pry.presentation.add' + '.pageTitle' | i18n }}</h1>\n <form [formGroup]=\"form\" class=\"o-presentation-form\">\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_name\">{{ '@pry.presentation.form.name' | i18n }}</label>\n <input\n type=\"text\"\n id=\"presentation_name\"\n formControlName=\"name\"\n placeholder=\"{{ '@pry.presentation.form.name' | i18n }}\"\n class=\"a-form-field\"\n maxlength=\"50\"\n required\n />\n <label\n for=\"presentation_name\"\n *ngIf=\"form.get('name')?.touched && form.get('name')?.hasError('required')\"\n class=\"a-label a-label--help -error\"\n >\n {{ '@pry.presentation.required' | i18n }}\n </label>\n <label\n for=\"presentation_name\"\n *ngIf=\"form.get('name')?.hasError('maxlength')\"\n class=\"a-label a-label--help -error\"\n >\n {{ '@pry.presentation.maxLength' | i18n : { len: '50' } }}\n </label>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_description\">{{\n '@pry.presentation.form.description' | i18n\n }}</label>\n <textarea\n formControlName=\"description\"\n id=\"presentation_description\"\n name=\"description\"\n cols=\"30\"\n rows=\"5\"\n maxlength=\"200\"\n placeholder=\"{{ '@pry.presentation.form.description' | i18n }}\"\n class=\"a-form-field\"\n ></textarea>\n <label\n for=\"presentation_description\"\n *ngIf=\"form.get('description')?.hasError('maxlength')\"\n class=\"a-label a-label--help -error\"\n >\n {{ '@pry.presentation.maxLength' | i18n : { len: '200' } }}\n </label>\n </div>\n <div class=\"m-form-label-field -width-full\">\n <label class=\"a-label\" for=\"presentation_image\">{{ '@pry.presentation.form.image' | i18n }}</label>\n <div class=\"o-file-input\">\n <pry-select-image\n id=\"presentation_image\"\n (changed)=\"image = $event\"\n [iconUrl]=\"image\"\n [mode]=\"type\"\n ></pry-select-image>\n <pry-checkbox formControlName=\"cover\" name=\"cover\" ngDefaultControl>\n {{ '@pry.presentation.form.cover' | i18n }}\n </pry-checkbox>\n </div>\n </div>\n <div class=\"m-form-label-field -width-full m-form-label-field--inline\">\n <label class=\"a-label\">{{ '@pry.presentation.form.grid' | i18n }}</label>\n <span class=\"a-label\">{{ '@pry.toolbox.layout.' + this.chosenLayout | i18n }}</span>\n <pry-select-grid-layout *ngIf=\"!edition\"></pry-select-grid-layout>\n </div>\n <button\n class=\"a-btn a-btn--primary\"\n (click)=\"configureDashboard(selectedPresentation!)\"\n [disabled]=\"form.invalid\"\n >\n {{ '@pry.presentation.configuration' | i18n }}\n </button>\n </form>\n </div>\n </div>\n</div>\n","import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { map, Observable } from 'rxjs';\nimport { DashboardSelectors, ManifestDescription, PryI18nService } from '@provoly/dashboard';\n\n@Component({\n selector: 'pry-title-presentation',\n templateUrl: './title-presentation.component.html'\n})\nexport class PryTitlePresentationComponent {\n presentation$: Observable<ManifestDescription | null>;\n presentationTitle$: Observable<string | null>;\n\n constructor(private store: Store, private i18nService: PryI18nService) {\n this.presentation$ = this.store.select(DashboardSelectors.presentation).pipe(\n map((presentation) => {\n if (presentation.current) {\n return presentation.current;\n }\n return null;\n })\n );\n\n this.presentationTitle$ = this.presentation$.pipe(\n map((presentation) => {\n if (presentation) {\n return presentation.name;\n }\n return this.i18nService.instant('@pry.header.noCurrentPresentation');\n })\n );\n }\n}\n","<div class=\"title-container\">\n <h1 class=\"a-h1 a-presentation-title\">{{ presentationTitle$ | async }}</h1>\n <ng-container *ngIf=\"presentation$ | async as presentation\">\n <div class=\"info-icon description-container description\">\n <span class=\"info-text\">i</span>\n </div>\n <div class=\"description-tooltip title-tooltip\">\n <p class=\"a-p -date\">{{ presentation.modificationDate | sinceDate }}</p>\n <p class=\"a-p\">{{ presentation.description }}</p>\n </div>\n </ng-container>\n</div>\n","import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'pry-presentation-css',\n template: '',\n styleUrls: ['./_o-pry-new-presentation.scss', './_o-pry-presentation.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class PryPresentationCssComponent {}\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { Component, ElementRef, Input, NgZone, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport {\n ConfigActions,\n DashboardActions,\n DashboardManifest,\n DashboardSelectors,\n GlobalManifest,\n ManifestDescription,\n PryVisibility,\n PryVisibilityType,\n SubscriptionnerDirective,\n ViewMode,\n DisplayMode\n} from '@provoly/dashboard';\nimport { BehaviorSubject, combineLatest, debounceTime, map, Observable, take } from 'rxjs';\nimport { v4 } from 'uuid';\n\n@Component({\n selector: 'pry-presentation',\n templateUrl: './presentation.component.html'\n})\nexport class PryPresentationComponent extends SubscriptionnerDirective {\n manifests$: Observable<ManifestDescription[]>;\n selectedPresentation: ManifestDescription | null = null;\n presentation?: ManifestDescription;\n staticManifest$?: Observable<DashboardManifest>;\n selectedMode: ViewMode = ViewMode.CATALOG;\n modalOpened = false;\n @ViewChild('modal', { read: TemplateRef }) template!: TemplateRef<any>;\n @ViewChild('templateModal', { read: TemplateRef }) templateModal!: TemplateRef<any>;\n @ViewChild('openModal') openModal!: ElementRef<HTMLButtonElement>;\n @ViewChild('cancelRemove') cancelRemove!: ElementRef<HTMLButtonElement>;\n @ViewChild('confirm') confirm!: ElementRef<HTMLButtonElement>;\n @ViewChild('submit') submit!: ElementRef<HTMLButtonElement>;\n @ViewChild('cross') cross!: ElementRef<HTMLButtonElement>;\n @ViewChild('crossVisibility') crossVisibility!: ElementRef<HTMLButtonElement>;\n @ViewChild('visibilityModal') visibilityModal!: ElementRef;\n @ViewChild('deleteModal') deleteModal!: ElementRef;\n private confirmRemoveRef?: OverlayRef;\n overlayRef?: OverlayRef;\n visibility: PryVisibility = { type: PryVisibilityType.PRIVATE };\n PryVisibilityType = PryVisibilityType;\n @Input() editionStartUrl: string = '/';\n @Input() consultStartUrl: string = '/';\n @Input() meAsOwner?: string;\n ViewMode = ViewMode;\n search$ = new BehaviorSubject('');\n filteredPresentations$: Observable<ManifestDescription[]>;\n\n constructor(\n protected store: Store<any>,\n protected overlay: Overlay,\n protected viewContainerRef: ViewContainerRef,\n protected router: Router,\n protected ngZone: NgZone\n ) {\n super();\n this.store.dispatch(DashboardActions.fetchManifestsList());\n this.manifests$ = this.store\n .select(DashboardSelectors.manifestsList)\n .pipe(\n map((manifestList) =>\n [...manifestList].sort((a, b) =>\n a.modificationDate ? b.modificationDate.localeCompare(a.modificationDate) : 1\n )\n )\n );\n this.staticManifest$ = this.store\n .select(DashboardSelectors.staticManifest)\n .pipe(map((staticM) => staticM.windows[0]));\n this.filteredPresentations$ = combineLatest([this.manifests$, this.search$]).pipe(\n map(([presentations, search]) =>\n presentations.filter(\n (presentations) =>\n search.length === 0 ||\n presentations.description.toLowerCase().includes(search.toLowerCase()) ||\n presentations.name.toLowerCase().includes(search.toLowerCase())\n )\n )\n );\n this.subscriptions.add(\n this.store.select(DashboardSelectors.presentation).subscribe((presentation) => {\n if (!!presentation.current) {\n this.selectedPresentation = presentation.current ?? null;\n this.selectedMode = presentation?.viewMode ?? this.ViewMode.CATALOG;\n }\n })\n );\n }\n\n closeRestitution() {\n this.selectedPresentation = null;\n this.selectedMode = ViewMode.CATALOG;\n this.store.dispatch(DashboardActions.selectPresentation({ presentation: undefined, viewMode: ViewMode.CATALOG }));\n }\n\n fetch(presentation: ManifestDescription) {\n this.store.dispatch(\n DashboardActions.updateManifest({\n manifest: { windows: [] },\n selectedIds: []\n })\n );\n this.store.dispatch(\n DashboardActions.selectPresentation({\n presentation: presentation,\n viewMode: ViewMode.CATALOG\n })\n );\n this.store.dispatch(DashboardActions.fetchStaticManifest({ id: presentation.id }));\n this.store\n .select(DashboardSelectors.staticManifest)\n .pipe(debounceTime(1000), take(1))\n .subscribe((staticManifest: GlobalManifest) => {\n this.store.dispatch(\n DashboardActions.updateManifest({\n manifest: staticManifest,\n selectedIds: [],\n manifestId: presentation.id\n })\n );\n this.store.dispatch(\n DashboardActions.setInitialPresentation({\n initial: staticManifest\n })\n );\n });\n this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: DisplayMode.CONSULT }));\n this.store.dispatch(DashboardActions.followManifestRoute());\n this.ngZone.run(() => {\n this.router?.navigateByUrl(this.consultStartUrl);\n });\n }\n\n creation() {\n this.selectedMode = ViewMode.CREATION;\n this.store.dispatch(DashboardActions.updateManifest({ manifest: { windows: [] }, selectedIds: [] }));\n const newPresentation = {\n presentation: {\n id: v4(),\n name: '',\n description: '',\n visibility: { type: PryVisibilityType.PRIVATE },\n owner: true\n } as ManifestDescription,\n viewMode: ViewMode.CREATION\n };\n this.store.dispatch(DashboardActions.selectPresentation(newPresentation));\n this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: DisplayMode.CREATE }));\n }\n\n edit(presentation: ManifestDescription) {\n this.selectedMode = ViewMode.EDITION;\n this.selectedPresentation = presentation;\n this.store.dispatch(\n DashboardActions.selectPresentation({ presentation: this.selectedPresentation, viewMode: ViewMode.EDITION })\n );\n this.store.dispatch(DashboardActions.fetchStaticManifest({ id: presentation.id }));\n this.store.dispatch(DashboardActions.updateDisplayOptions({ mode: DisplayMode.EDIT }));\n }\n\n delete(id: string) {\n this.store.dispatch(DashboardActions.deleteManifest({ id }));\n this.confirmRemoveRef?.dispose();\n this.confirmRemoveRef = undefined;\n this.store.dispatch(ConfigActions.closeOverlay({ id: this.constructor.name + '-modal' }));\n }\n\n default(id: string, name: string) {\n this.store.dispatch(DashboardActions.defaultManifest({ id, name }));\n }\n\n toggleModal(presentation?: ManifestDescription | null) {\n this.modalOpened = !this.modalOpened;\n if (this.modalOpened && presentation) {\n this.selectedPresentation = presentation;\n this.store.dispatch(\n DashboardActions.selectPresentation({ presentation: this.selectedPresentation, viewMode: ViewMode.CATALOG })\n );\n /* we need to load manifest in order to be able to save it later */\n this.store.dispatch(DashboardActions.loadManifest({ id: presentation.id }));\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.toggleModal(presentation));\n this.overlayRef.attach(new TemplatePortal(this.template, this.viewContainerRef));\n setTimeout(() => {\n const focus = this.visibilityModal.nativeElement.children[0].children[1].firstElementChild as HTMLButtonElement;\n focus.focus();\n }, 10);\n } else {\n this.overlayRef?.dispose();\n this.selectedPresentation = null;\n }\n }\n\n changeVisibility() {\n if (this.selectedPresentation) {\n this.store.dispatch(\n DashboardActions.saveManifest({\n id: this.selectedPresentation.id ?? '',\n name: this.selectedPresentation.name ?? '',\n description: this.selectedPresentation.description ?? '',\n image: this.selectedPresentation.image ?? '',\n visibility: this.visibility\n })\n );\n }\n this.toggleModal(this.selectedPresentation);\n }\n\n toggleRemoveConfirm($event: any, presentation?: ManifestDescription) {\n if (!this.confirmRemoveRef) {\n this.presentation = presentation;\n this.confirmRemoveRef = this.overlay.create(\n new OverlayConfig({\n hasBackdrop: true,\n panelClass: ['o-modal-wrapper'],\n backdropClass: 'backdrop'\n })\n );\n this.store.dispatch(ConfigActions.addingOverlay({ id: this.constructor.name + '-modal' }));\n this.confirmRemoveRef.backdropClick().subscribe(() => this.toggleRemoveConfirm($event, presentation));\n this.confirmRemoveRef.attach(new TemplatePortal(this.templateModal, this.viewContainerRef));\n setTimeout(() => {\n const focus = this.deleteModal.nativeElement.children[0].children[1].firstElementChild as HTMLButtonElement;\n focus.focus();\n }, 10);\n } else {\n this.confirmRemoveRef.dispose();\n this.confirmRemoveRef = undefined;\n this.store.dispatch(ConfigActions.closeOverlay({ id: this.constructor.name + '-modal' }));\n this.openModal.nativeElement.focus();\n }\n }\n\n cancelRemoveConfirm() {\n this.confirmRemoveRef?.dispose();\n this.confirmRemoveRef = undefined;\n this.store.dispatch(ConfigActions.closeOverlay({ id: this.constructor.name + '-modal' }));\n }\n\n focusCrossElement() {\n if (this.crossVisibility) {\n this.crossVisibility?.nativeElement.focus();\n }\n this.cross?.nativeElement.focus();\n }\n\n focusValidation() {\n if (this.confirm) {\n this.confirm.nativeElement.focus();\n }\n this.submit.nativeElement.focus();\n }\n}\n","<pry-presentation-css></pry-presentation-css>\n<div class=\"o-manifest-layout\" [ngSwitch]=\"selectedMode\">\n <ng-container *ngSwitchCase=\"ViewMode.CATALOG\">\n <div class=\"o-manifest-layout__toolbox\">\n <button\n [pryTooltip]=\"create\"\n class=\"a-btn a-btn--primary a-btn--icon-text\"\n type=\"button\"\n (click)=\"creation()\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'create' }\"\n >\n {{ '@pry.presentation.create' | i18n }}\n </button>\n <div>\n <div class=\"a-presentation__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.presentation.search' | i18n\"\n [ngModel]=\"search$ | async\"\n (ngModelChange)=\"this.search$.next($event)\"\n />\n <pry-icon iconSvg=\"search\" [width]=\"17\" [height]=\"17\"></pry-icon>\n </div>\n </div>\n </div>\n <div class=\"o-manifest-layout__content\">\n <h1 class=\"a-h1\">{{ '@pry.manifest.title' | i18n }}</h1>\n\n <div class=\"o-presentation-wrapper\">\n <ul class=\"o-presentation\">\n <li class=\"o-presentation__item\" *ngFor=\"let presentation of filteredPresentations$ | async\">\n <div class=\"o-presentation__item__header\">\n <ng-container *ngIf=\"presentation.visibility.type === PryVisibilityType.PRIVATE\">\n <pry-icon\n [iconSvg]=\"presentation.visibility.type.toLowerCase()\"\n [pryTooltip]=\"private\"\n class=\"is-private\"\n [height]=\"17\"\n [width]=\"17\"\n ></pry-icon>\n </ng-container>\n\n <img\n alt=\"\"\n [height]=\"presentation.cover ? 600 : 128\"\n [width]=\"presentation.cover ? 600 : 128\"\n [class.is-full-width]=\"presentation.cover\"\n [src]=\"presentation.image | getSecuredImage | async\"\n (click)=\"fetch(presentation)\"\n [pryTooltip]=\"view\"\n />\n </div>\n\n <div class=\"o-presentation__item__txt\">\n <h3 class=\"a-h3\">{{ presentation.name }}</h3>\n <div class=\"a-p\">\n <div class=\"description-container\">\n <span class=\"description\">\n {{ presentation.description }}\n </span>\n <div class=\"description-tooltip\">{{ presentation.description }}</div>\n </div>\n </div>\n <p class=\"a-p -date\">{{ presentation.modificationDate | sinceDate }}</p>\n </div>\n\n <div class=\"o-presentation__item__footer\">\n <ul class=\"m-actions-list\">\n <li>\n <button\n type=\"button\"\n class=\"a-btn a-btn--icon-only\"\n (click)=\"default(presentation.id, presentation.name)\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'default' }\"\n >\n <pry-icon\n [iconSvg]=\"presentation.default ? 'home-fill' : 'home-line'\"\n [pryTooltip]=\"homeView\"\n ></pry-icon>\n <span class=\"u-visually-hidden\"></span>\n </button>\n </li>\n <li>\n <button\n class=\"a-btn a-btn--icon-only\"\n (click)=\"edit(presentation)\"\n [disabled]=\"presentation.owner === false\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'edit' }\"\n >\n <pry-icon iconSvg=\"edit\" [pryTooltip]=\"change\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.presentation.edition' | i18n }}</span>\n </button>\n </li>\n <li>\n <button\n (click)=\"toggleModal(presentation)\"\n class=\"a-btn a-btn--icon-only\"\n aria-haspopup=\"dialog\"\n [disabled]=\"presentation.owner === false\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'share' }\"\n >\n <pry-icon iconSvg=\"share\" [pryTooltip]=\"share\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.presentation.share' | i18n }}</span>\n </button>\n </li>\n <li>\n <button\n class=\"a-btn a-btn--icon-only\"\n #openModal\n (click)=\"toggleRemoveConfirm($event, presentation)\"\n [disabled]=\"presentation.owner === false\"\n *pryAccess=\"{ module: 'dashboard', page: 'manifest', action: 'delete' }\"\n >\n <pry-icon iconSvg=\"delete\" [pryTooltip]=\"erase\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.presentation.delete' | i18n }}</span>\n </button>\n </li>\n </ul>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"ViewMode.CREATION\">\n <pry-add-edit-presentation\n [selectedPresentation]=\"selectedPresentation!\"\n (goBack)=\"closeRestitution()\"\n [editionStartUrl]=\"editionStartUrl\"\n [edition]=\"false\"\n ></pry-add-edit-presentation>\n </ng-container>\n <ng-container *ngSwitchCase=\"ViewMode.EDITION\">\n <pry-add-edit-presentation\n [selectedPresentation]=\"selectedPresentation!\"\n (goBack)=\"closeRestitution()\"\n [editionStartUrl]=\"editionStartUrl\"\n [edition]=\"true\"\n ></pry-add-edit-presentation>\n </ng-container>\n</div>\n\n<ng-template #modal>\n <div\n class=\"o-modal\"\n (click)=\"$event.stopPropagation()\"\n #visibilityModal\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog change visibility\"\n *ngIf=\"selectedPresentation\"\n >\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">{{ '@pry.toolbox.rename' | i18n }}</h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button\n class=\"a-btn a-btn--icon-only\"\n #crossVisibility\n (keydown.shift.tab)=\"focusValidation()\"\n (click)=\"toggleModal()\"\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 <pry-share [ngModel]=\"selectedPresentation.visibility\" (ngModelChange)=\"visibility = $event\"></pry-share>\n <div class=\"m-btn-group\">\n <button type=\"button\" class=\"a-btn a-btn--secondary\" (click)=\"toggleModal()\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button\n type=\"submit\"\n class=\"a-btn a-btn--primary\"\n #submit\n (keydown.tab)=\"focusCrossElement()\"\n (click)=\"changeVisibility()\"\n >\n {{ '@pry.toolbox.manifest.check' | i18n }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #templateModal>\n <div\n class=\"o-modal\"\n *ngIf=\"presentation\"\n (keydown.escape)=\"toggleRemoveConfirm($event, presentation)\"\n #deleteModal\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog confirm delete presentation\"\n >\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">\n {{ '@pry.widget.modalTitle' | i18n }}\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button\n class=\"a-btn a-btn--icon-only\"\n #cross\n (keydown.shift.tab)=\"focusValidation()\"\n (click)=\"cancelRemoveConfirm()\"\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 <div class=\"m-btn-group\">\n <button type=\"button\" #cancelRemove (click)=\"cancelRemoveConfirm()\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button\n type=\"submit\"\n class=\"a-btn a-btn--primary\"\n #confirm\n (click)=\"delete(presentation.id)\"\n (keydown.tab)=\"focusCrossElement()\"\n >\n {{ '@pry.toolbox.manifest.validate' | i18n }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #create>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.create' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #view>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.view' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #private>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.private' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #homeView>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.homeView' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #share>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.share' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #erase>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.erase' | i18n }}</span>\n </div>\n</ng-template>\n\n<ng-template #change>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.change' | i18n }}</span>\n </div>\n</ng-template>\n<ng-template #backToCatalog>\n <div class=\"m-tooltip\" role=\"tooltip\">\n <span class=\"m-tooltip__text\">{{ '@pry.presentation.backToCatalog' | i18n }}</span>\n </div>\n</ng-template>\n","export const enTranslations = {\n '@pry': {\n presentation: {\n add: {\n pageTitle: 'Add presentation description',\n submit: 'Save dashboard'\n },\n edit: {\n pageTitle: 'Change dashboard description',\n submit: 'Save dashboard'\n },\n form: {\n name: 'Title',\n description: 'Description',\n image: 'Image',\n dragDrop: 'Drag and drop',\n or: 'or',\n categories: 'Categories',\n categoryInput: 'Add categories',\n grid: 'Actual grid: ',\n cover: 'Image will cover the whole presentation card'\n },\n share: 'Share',\n view: 'Consult the presentation',\n private: 'Private presentation',\n homeView: 'Show on homepage',\n erase: 'Delete presentation',\n change: 'Modify the presentation',\n create: 'Create a presentation',\n configuration: 'Build presentation',\n required: 'This field is required',\n maxLength: 'Allowed length : {{len}}',\n edition: 'Edit',\n delete: 'Delete',\n backToCatalog: 'Back to catalog',\n search: 'Search'\n }\n }\n};\n","export const frTranslations = {\n '@pry': {\n presentation: {\n add: {\n pageTitle: 'Renseigner la description de la présentation',\n info: 'Informations',\n submit: 'Enregistrer'\n },\n edit: {\n pageTitle: 'Changer la description du tableau de bord',\n submit: 'Sauvegarder le tableau de bord'\n },\n form: {\n name: 'Titre',\n description: 'Description',\n image: 'Image d’illustration',\n dragDrop: 'Glisser - Déposer',\n or: 'ou',\n categories: 'Catégories',\n categoryInput: 'Saisir la/les catégories',\n grid: 'Grille actuelle: ',\n cover: \"L'image doit couvrir la carte de la présentation\"\n },\n share: 'Partager',\n view: 'Consulter la presentation',\n private: 'Présentation privée',\n homeView: \"Afficher en page d'accueil\",\n erase: 'Supprimer la presentation',\n change: 'Modifier la presentation',\n create: 'Créer une présentation',\n configuration: 'Construire la presentation',\n required: 'Ce champ est requis',\n maxLength: 'Nombre de caractères autorisés : {{len}}',\n edition: 'Éditer',\n delete: 'Supprimer',\n backToCatalog: 'Revenir au catalogue',\n search: 'Rechercher'\n }\n }\n};\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } 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 { PryCheckboxModule } from '@provoly/dashboard/components/checkbox';\nimport { PrySinceDateModule } from '@provoly/dashboard/components/sinceDate';\nimport { PryToolboxModule } from '@provoly/dashboard/toolbox';\nimport { PryAddEditPresentationComponent } from './components/add-edit-presentation/add-edit-presentation.component';\nimport { PryTitlePresentationComponent } from './components/title-presentation/title-presentation.component';\nimport { PryPresentationComponent } from './components/presentation.component';\nimport { enTranslations } from './i18n/en.translations';\nimport { frTranslations } from './i18n/fr.translations';\nimport { PryPresentationCssComponent } from './style/css.component';\n\n@NgModule({\n providers: [],\n declarations: [\n PryPresentationComponent,\n PryAddEditPresentationComponent,\n PryTitlePresentationComponent,\n PryPresentationCssComponent\n ],\n imports: [\n PryIconModule,\n PryCoreModule,\n PryDashboardModule,\n ReactiveFormsModule,\n PrySelectModule,\n PrySinceDateModule,\n PryShareModule,\n FormsModule,\n PryOverlayModule,\n PryI18nModule,\n PryToolboxModule,\n PryCheckboxModule,\n CommonModule\n ],\n exports: [\n PryPresentationComponent,\n PryAddEditPresentationComponent,\n PryTitlePresentationComponent,\n PryPresentationCssComponent\n ]\n})\nexport class PryPresentationModule {\n constructor(private pryTranslateService: PryI18nService) {\n this.pryTranslateService.addLangObject('fr', 'presentation', frTranslations);\n this.pryTranslateService.addLangObject('en', 'presentation', enTranslations);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i3","i4","i7","i2","i5","i6","i7.PryAddEditPresentationComponent","i8.PryPresentationCssComponent","i9","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBM,MAAO,+BAAgC,SAAQ,wBAAwB,CAAA;IAW3E,WAAoB,CAAA,KAAY,EAAwB,MAAc,EAAA;AACpE,QAAA,KAAK,EAAE,CAAC;QADU,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;QAAwB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QAR7D,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;QACzB,IAAe,CAAA,eAAA,GAAW,GAAG,CAAC;QAEvC,IAAK,CAAA,KAAA,GAAW,4BAA4B,CAAC;AACnC,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAQ,CAAC;AAC5C,QAAA,IAAA,CAAA,IAAI,GAAiB,YAAY,CAAC,YAAY,CAAC;AAK7C,QAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,mBAAmB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC1F,QAAA,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;AAC5E,QAAA,aAAa,CAAC,CAAC,IAAI,CAAC,eAAe,EAAE,IA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