@provoly/dashboard 0.11.9 → 0.12.1

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 (127) hide show
  1. package/dataset/i18n/en.translations.d.ts +3 -1
  2. package/dataset/i18n/fr.translations.d.ts +1 -0
  3. package/dataset/style/_o-pry-dataset.scss +2 -7
  4. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
  5. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  6. package/esm2022/dataset/components/dataset.component.mjs +3 -2
  7. package/esm2022/dataset/i18n/en.translations.mjs +4 -2
  8. package/esm2022/dataset/i18n/fr.translations.mjs +3 -2
  9. package/esm2022/dataset/style/css.component.mjs +2 -2
  10. package/esm2022/filters/date/date-filter.component.mjs +24 -8
  11. package/esm2022/filters/date/date-filter.module.mjs +7 -8
  12. package/esm2022/filters/date/public-api.mjs +1 -2
  13. package/esm2022/filters/number/number-filter.component.mjs +5 -4
  14. package/esm2022/filters/number/number-filter.module.mjs +5 -5
  15. package/esm2022/filters/text/text-filter.component.mjs +5 -4
  16. package/esm2022/filters/text/text-filter.module.mjs +5 -5
  17. package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +40 -0
  18. package/esm2022/lib/core/components/modal-status/modal-status.module.mjs +28 -0
  19. package/esm2022/lib/core/core.module.mjs +6 -11
  20. package/esm2022/lib/core/i18n/en.translations.mjs +4 -1
  21. package/esm2022/lib/core/i18n/fr.translations.mjs +4 -1
  22. package/esm2022/lib/core/model/dataset.interface.mjs +1 -1
  23. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  24. package/esm2022/lib/core/public-api.mjs +3 -4
  25. package/esm2022/lib/core/store/data-source/data-source.actions.mjs +5 -5
  26. package/esm2022/lib/core/store/data-source/data-source.effects.mjs +2 -2
  27. package/esm2022/lib/core/store/data-source/data-source.reducer.mjs +7 -7
  28. package/esm2022/lib/core/store/data-source/data-source.selectors.mjs +3 -3
  29. package/esm2022/lib/core/store/data-source/data-source.service.mjs +3 -3
  30. package/esm2022/lib/dashboard/store/manifest.service.mjs +10 -7
  31. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +8 -8
  32. package/esm2022/presentation/components/presentation.component.mjs +4 -4
  33. package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +33 -0
  34. package/esm2022/presentation/presentation.module.mjs +28 -11
  35. package/esm2022/presentation/public-api.mjs +2 -1
  36. package/esm2022/presentation/style/css.component.mjs +2 -2
  37. package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +15 -9
  38. package/esm2022/restitution/i18n/fr.translations.mjs +2 -2
  39. package/esm2022/restitution/style/css.component.mjs +2 -2
  40. package/esm2022/search/search-home/search-home.component.mjs +3 -3
  41. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +104 -0
  42. package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +8 -10
  43. package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +8 -10
  44. package/esm2022/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.mjs +7 -9
  45. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +7 -7
  46. package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +8 -10
  47. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +38 -0
  48. package/esm2022/toolbox/components/save-view/save-view.component.mjs +9 -12
  49. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +9 -12
  50. package/esm2022/toolbox/components/toolbox-action/toolbox-action.component.mjs +26 -0
  51. package/esm2022/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +44 -0
  52. package/esm2022/toolbox/components/toolbox.component.mjs +40 -12
  53. package/esm2022/toolbox/public-api.mjs +6 -1
  54. package/esm2022/toolbox/style/css.component.mjs +3 -3
  55. package/esm2022/toolbox/toolbox.model.mjs +59 -0
  56. package/esm2022/toolbox/toolbox.module.mjs +22 -6
  57. package/fesm2022/provoly-dashboard-dataset.mjs +12 -8
  58. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  59. package/fesm2022/provoly-dashboard-filters-date.mjs +31 -23
  60. package/fesm2022/provoly-dashboard-filters-date.mjs.map +1 -1
  61. package/fesm2022/provoly-dashboard-filters-number.mjs +8 -7
  62. package/fesm2022/provoly-dashboard-filters-number.mjs.map +1 -1
  63. package/fesm2022/provoly-dashboard-filters-text.mjs +8 -7
  64. package/fesm2022/provoly-dashboard-filters-text.mjs.map +1 -1
  65. package/fesm2022/provoly-dashboard-presentation.mjs +66 -25
  66. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  67. package/fesm2022/provoly-dashboard-restitution.mjs +17 -11
  68. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  69. package/fesm2022/provoly-dashboard-search.mjs +2 -2
  70. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  71. package/fesm2022/provoly-dashboard-toolbox.mjs +328 -69
  72. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  73. package/fesm2022/provoly-dashboard.mjs +177 -184
  74. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  75. package/filters/date/date-filter.component.d.ts +1 -0
  76. package/filters/date/date-filter.module.d.ts +5 -6
  77. package/filters/date/public-api.d.ts +0 -1
  78. package/filters/number/number-filter.module.d.ts +1 -1
  79. package/filters/text/text-filter.module.d.ts +1 -1
  80. package/lib/core/components/{modalStatus/modalStatus.component.d.ts → modal-status/modal-status.component.d.ts} +10 -3
  81. package/lib/core/components/{modalStatus/modalStatus.module.d.ts → modal-status/modal-status.module.d.ts} +1 -1
  82. package/lib/core/core.module.d.ts +11 -12
  83. package/lib/core/i18n/en.translations.d.ts +3 -0
  84. package/lib/core/i18n/fr.translations.d.ts +3 -0
  85. package/lib/core/model/dataset.interface.d.ts +11 -4
  86. package/lib/core/model/manifest.interface.d.ts +1 -0
  87. package/lib/core/public-api.d.ts +2 -3
  88. package/lib/core/store/data-source/data-source.actions.d.ts +10 -10
  89. package/lib/core/store/data-source/data-source.effects.d.ts +4 -4
  90. package/lib/core/store/data-source/data-source.reducer.d.ts +2 -2
  91. package/lib/core/store/data-source/data-source.selectors.d.ts +1 -1
  92. package/lib/core/store/data-source/data-source.service.d.ts +2 -2
  93. package/lib/dashboard/store/manifest.service.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/{lib/core → presentation}/components/title-presentation/title-presentation.component.d.ts +3 -2
  96. package/presentation/presentation.module.d.ts +4 -3
  97. package/presentation/public-api.d.ts +1 -0
  98. package/presentation/style/_o-pry-presentation.scss +42 -1
  99. package/restitution/components/restitution-list/restitution-list.component.d.ts +5 -5
  100. package/styles/components/_m-actions-list.scss +1 -0
  101. package/styles/components/_m-filter.scss +43 -0
  102. package/styles-theme/components-theme/_m-filter.theme.scss +12 -0
  103. package/styles-theme/main-theme.scss +2 -0
  104. package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +29 -0
  105. package/toolbox/components/clear-view/clear-view.component.d.ts +3 -4
  106. package/toolbox/components/drag-widgets/drag-widgets.component.d.ts +3 -4
  107. package/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.d.ts +3 -4
  108. package/toolbox/components/filter-settings/filter-settings.component.d.ts +3 -3
  109. package/toolbox/components/launch-tab/launch-tab.component.d.ts +3 -4
  110. package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +14 -0
  111. package/toolbox/components/save-view/save-view.component.d.ts +4 -5
  112. package/toolbox/components/select-grid-layout/select-grid-layout.component.d.ts +4 -5
  113. package/toolbox/components/toolbox-action/toolbox-action.component.d.ts +12 -0
  114. package/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.d.ts +17 -0
  115. package/toolbox/components/toolbox.component.d.ts +18 -3
  116. package/toolbox/public-api.d.ts +5 -0
  117. package/toolbox/style/_o-automate-refresh.scss +24 -0
  118. package/toolbox/style/_o-toolbox.scss +30 -0
  119. package/toolbox/style/css.component.d.ts +1 -1
  120. package/toolbox/toolbox.model.d.ts +10 -0
  121. package/toolbox/toolbox.module.d.ts +22 -18
  122. package/esm2022/filters/date/style/css.component.mjs +0 -11
  123. package/esm2022/lib/core/components/modalStatus/modalStatus.component.mjs +0 -35
  124. package/esm2022/lib/core/components/modalStatus/modalStatus.module.mjs +0 -28
  125. package/esm2022/lib/core/components/title-presentation/title-presentation.component.mjs +0 -26
  126. package/filters/date/style/_m-date.scss +0 -6
  127. package/filters/date/style/css.component.d.ts +0 -5
@@ -1,12 +1,11 @@
1
1
  import { Store } from '@ngrx/store';
2
2
  import { Observable } from 'rxjs';
3
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
3
4
  import * as i0 from "@angular/core";
4
- export declare class EditModeToggleComponent {
5
- private store;
6
- label: boolean;
5
+ export declare class EditModeToggleComponent extends ToolboxActionComponent {
7
6
  modeEdition$: Observable<boolean>;
8
7
  constructor(store: Store<any>);
9
8
  toggleEditionMode(): void;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EditModeToggleComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<EditModeToggleComponent, "pry-edit-mode-toggle", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditModeToggleComponent, "pry-edit-mode-toggle", never, {}, {}, never, never, false, never>;
12
11
  }
@@ -2,8 +2,9 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
2
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
3
3
  import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
4
4
  import { Store } from '@ngrx/store';
5
- import { Class, DataSource, FieldType, Filter, FilterFactoryService, GlobalManifest, SubscriptionnerDirective } from '@provoly/dashboard';
5
+ import { Class, DataSource, FieldType, Filter, FilterFactoryService, GlobalManifest } from '@provoly/dashboard';
6
6
  import { BehaviorSubject, Observable } from 'rxjs';
7
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare enum FilterSteps {
9
10
  LIST = "list",
@@ -17,8 +18,7 @@ export interface Attribute {
17
18
  datasource: string;
18
19
  type: FieldType;
19
20
  }
20
- export declare class PryFilterSettingsComponent extends SubscriptionnerDirective {
21
- private store;
21
+ export declare class PryFilterSettingsComponent extends ToolboxActionComponent {
22
22
  private overlay;
23
23
  private viewContainerRef;
24
24
  private filterFactoryService;
@@ -1,10 +1,9 @@
1
1
  import { Store } from '@ngrx/store';
2
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
2
3
  import * as i0 from "@angular/core";
3
- export declare class LaunchTabComponent {
4
- private store;
5
- label: boolean;
4
+ export declare class LaunchTabComponent extends ToolboxActionComponent {
6
5
  constructor(store: Store);
7
6
  launchNewWindow(): void;
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<LaunchTabComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<LaunchTabComponent, "pry-launch-tab", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<LaunchTabComponent, "pry-launch-tab", never, {}, {}, never, never, false, never>;
10
9
  }
@@ -0,0 +1,14 @@
1
+ import { Store } from '@ngrx/store';
2
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
3
+ import { GlobalManifest } from '@provoly/dashboard';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class RefreshDatasetsComponent extends ToolboxActionComponent {
7
+ manifest$: Observable<GlobalManifest>;
8
+ manifest?: GlobalManifest;
9
+ datasetCount: number;
10
+ constructor(store: Store);
11
+ refresh(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<RefreshDatasetsComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<RefreshDatasetsComponent, "pry-refresh-datasets", never, {}, {}, never, never, false, never>;
14
+ }
@@ -1,14 +1,13 @@
1
1
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
2
2
  import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Store } from '@ngrx/store';
4
- import { LibraryTypes, ManifestDescription, PryVisibility, SubscriptionnerDirective, ViewMode } from '@provoly/dashboard';
4
+ import { LibraryTypes, ManifestDescription, PryVisibility, ViewMode } from '@provoly/dashboard';
5
5
  import { Observable } from 'rxjs';
6
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
6
7
  import * as i0 from "@angular/core";
7
- export declare class SaveViewComponent extends SubscriptionnerDirective {
8
- private store;
8
+ export declare class SaveViewComponent extends ToolboxActionComponent {
9
9
  private overlay;
10
10
  private viewContainerRef;
11
- label: boolean;
12
11
  mode: 'saveAs' | 'directSave';
13
12
  input: ElementRef;
14
13
  saveAs: ElementRef<HTMLButtonElement>;
@@ -49,5 +48,5 @@ export declare class SaveViewComponent extends SubscriptionnerDirective {
49
48
  rename(): void;
50
49
  disableNextStep(): void;
51
50
  static ɵfac: i0.ɵɵFactoryDeclaration<SaveViewComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<SaveViewComponent, "pry-save-view", never, { "label": { "alias": "label"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, false, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<SaveViewComponent, "pry-save-view", never, { "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, false, never>;
53
52
  }
@@ -1,14 +1,13 @@
1
1
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
2
2
  import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Store } from '@ngrx/store';
4
- import { DashboardGridLayout, SubscriptionnerDirective } from '@provoly/dashboard';
4
+ import { DashboardGridLayout } from '@provoly/dashboard';
5
5
  import { Observable } from 'rxjs';
6
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
6
7
  import * as i0 from "@angular/core";
7
- export declare class SelectGridLayoutComponent extends SubscriptionnerDirective {
8
- private store;
8
+ export declare class SelectGridLayoutComponent extends ToolboxActionComponent {
9
9
  private overlay;
10
10
  private viewContainerRef;
11
- label: boolean;
12
11
  availableLayouts$: Observable<{
13
12
  translation: any;
14
13
  value: any;
@@ -31,5 +30,5 @@ export declare class SelectGridLayoutComponent extends SubscriptionnerDirective
31
30
  focusCrossElement(): void;
32
31
  focusValidation(): void;
33
32
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectGridLayoutComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectGridLayoutComponent, "pry-select-grid-layout", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectGridLayoutComponent, "pry-select-grid-layout", never, {}, {}, never, never, false, never>;
35
34
  }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Store } from '@ngrx/store';
3
+ import { SubscriptionnerDirective } from '@provoly/dashboard';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ToolboxActionComponent extends SubscriptionnerDirective {
6
+ protected store: Store;
7
+ displayLabels: boolean;
8
+ closeOptions: EventEmitter<void>;
9
+ constructor(store: Store);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxActionComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxActionComponent, "pry-toolbox-action", never, { "displayLabels": { "alias": "displayLabels"; "required": false; }; }, { "closeOptions": "closeOptions"; }, never, never, false, never>;
12
+ }
@@ -0,0 +1,17 @@
1
+ import { ViewContainerRef, AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { Store } from '@ngrx/store';
3
+ import { ToolboxAction } from '../../toolbox.model';
4
+ import { SubscriptionnerDirective } from '@provoly/dashboard';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ToolboxActionInstanciatorComponent extends SubscriptionnerDirective implements AfterViewInit {
7
+ private store;
8
+ private _cd;
9
+ action: ToolboxAction;
10
+ displayLabels: boolean;
11
+ closeOptions: EventEmitter<void>;
12
+ actionContainerRef: ViewContainerRef;
13
+ constructor(store: Store<any>, _cd: ChangeDetectorRef);
14
+ ngAfterViewInit(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxActionInstanciatorComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxActionInstanciatorComponent, "pry-toolbox-action-instanciator", never, { "action": { "alias": "action"; "required": false; }; "displayLabels": { "alias": "displayLabels"; "required": false; }; }, { "closeOptions": "closeOptions"; }, never, never, false, never>;
17
+ }
@@ -1,11 +1,26 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { Store } from '@ngrx/store';
2
3
  import { Observable } from 'rxjs';
4
+ import { ToolboxAction } from '../toolbox.model';
3
5
  import * as i0 from "@angular/core";
4
- export declare class ToolboxComponent {
5
- labels: boolean;
6
+ export declare class ToolboxComponent implements OnInit {
7
+ actions: ToolboxAction[];
8
+ dropdownActions: {
9
+ name: string;
10
+ order: number;
11
+ }[];
12
+ displayLabels: boolean;
6
13
  hasInitialPresentation$: Observable<boolean>;
7
14
  isManualMode$: Observable<boolean>;
15
+ allActions$: Observable<ToolboxAction[]>;
16
+ mainActions$: Observable<ToolboxAction[]>;
17
+ dropdownActions$: Observable<ToolboxAction[]>;
18
+ isDropdownOpen: boolean;
8
19
  constructor(store: Store);
20
+ ngOnInit(): void;
21
+ openDropdown($event: Event): void;
22
+ closeDropdown($event: Event | void): void;
23
+ getOrder(actionName: string): number | undefined;
9
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "pry-toolbox", never, { "labels": { "alias": "labels"; "required": false; }; }, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "pry-toolbox", never, { "actions": { "alias": "actions"; "required": false; }; "dropdownActions": { "alias": "dropdownActions"; "required": false; }; "displayLabels": { "alias": "displayLabels"; "required": false; }; }, {}, never, never, false, never>;
11
26
  }
@@ -8,4 +8,9 @@ export * from './components/drag-widgets/drag-widgets.component';
8
8
  export * from './components/clear-view/clear-view.component';
9
9
  export * from './components/select-grid-layout/select-grid-layout.component';
10
10
  export * from './components/filter-settings/filter-settings.component';
11
+ export * from './components/toolbox-action/toolbox-action.component';
12
+ export * from './components/toolbox-action-instanciator/toolbox-action-instanciator.component';
13
+ export * from './components/refresh-datasets/refresh-datasets.component';
14
+ export * from './components/automate-refresh/automate-refresh.component';
11
15
  export * from './style/css.component';
16
+ export * from './toolbox.model';
@@ -0,0 +1,24 @@
1
+ @use '../../styles/abstracts/index' as *;
2
+ @use '../../styles/abstracts/functions' as *;
3
+ @use '../../styles/abstracts/mixins' as *;
4
+
5
+ .refresh-rs {
6
+ & > div {
7
+ padding-left: 0;
8
+ padding-right: 0;
9
+ }
10
+
11
+ button.refresh-line {
12
+ border-radius: 0;
13
+ padding: 0 toRem(15);
14
+
15
+ &:hover {
16
+ font-weight: normal;
17
+ background-color: rgba(0, 0, 0, 0.1);
18
+ }
19
+
20
+ &.-selected {
21
+ background-color: rgba(0, 0, 0, 0.15);
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,30 @@
1
+ @use '../../styles/abstracts/index' as *;
2
+
3
+ .o-draggable-menu {
4
+ width: fit-content;
5
+
6
+ &__list {
7
+ display: flex;
8
+ flex-direction: column;
9
+
10
+ &__item {
11
+ .a-btn {
12
+ border: none;
13
+ color: #40b688;
14
+ font-weight: 500;
15
+ margin-bottom: toRem(-5);
16
+ }
17
+
18
+ .a-btn:disabled {
19
+ color: #40b688;
20
+ opacity: 0.5;
21
+ }
22
+
23
+ .a-btn::before {
24
+ content: '\2192';
25
+ font-size: toRem(20);
26
+ padding-bottom: toRem(10);
27
+ }
28
+ }
29
+ }
30
+ }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class PrySelectGridLayoutCssComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectGridLayoutCssComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectGridLayoutCssComponent, "pry-select-grid-layout-css", never, {}, {}, never, never, false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectGridLayoutCssComponent, "pry-toolbox-css", never, {}, {}, never, never, false, never>;
5
5
  }
@@ -0,0 +1,10 @@
1
+ import { Type } from '@angular/core';
2
+ import { ToolboxActionComponent } from './components/toolbox-action/toolbox-action.component';
3
+ import { PryAccessCheck } from '@provoly/dashboard';
4
+ export interface ToolboxAction {
5
+ name: string;
6
+ component: Type<ToolboxActionComponent>;
7
+ access: PryAccessCheck;
8
+ visible: boolean;
9
+ }
10
+ export declare const ACTIONS: ToolboxAction[];
@@ -1,23 +1,27 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./components/clear-view/clear-view.component";
3
- import * as i2 from "./components/drag-widgets/drag-widgets.component";
4
- import * as i3 from "./components/edit-mode-toggle/edit-mode-toggle.component";
5
- import * as i4 from "./components/launch-tab/launch-tab.component";
6
- import * as i5 from "./components/named-query/named-query.component";
7
- import * as i6 from "./components/save-view/save-view.component";
8
- import * as i7 from "./components/select-grid-layout/select-grid-layout.component";
9
- import * as i8 from "./components/toolbox.component";
10
- import * as i9 from "./style/css.component";
11
- import * as i10 from "./components/filter-settings/filter-settings.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "@angular/cdk/overlay";
15
- import * as i14 from "@provoly/dashboard";
16
- import * as i15 from "@provoly/dashboard/components/checkbox";
17
- import * as i16 from "@provoly/dashboard/components/stepper";
18
- import * as i17 from "@angular/cdk/drag-drop";
2
+ import * as i1 from "./components/toolbox-action/toolbox-action.component";
3
+ import * as i2 from "./components/toolbox-action-instanciator/toolbox-action-instanciator.component";
4
+ import * as i3 from "./components/clear-view/clear-view.component";
5
+ import * as i4 from "./components/drag-widgets/drag-widgets.component";
6
+ import * as i5 from "./components/edit-mode-toggle/edit-mode-toggle.component";
7
+ import * as i6 from "./components/launch-tab/launch-tab.component";
8
+ import * as i7 from "./components/named-query/named-query.component";
9
+ import * as i8 from "./components/save-view/save-view.component";
10
+ import * as i9 from "./components/select-grid-layout/select-grid-layout.component";
11
+ import * as i10 from "./components/toolbox.component";
12
+ import * as i11 from "./style/css.component";
13
+ import * as i12 from "./components/filter-settings/filter-settings.component";
14
+ import * as i13 from "./components/refresh-datasets/refresh-datasets.component";
15
+ import * as i14 from "./components/automate-refresh/automate-refresh.component";
16
+ import * as i15 from "@angular/common";
17
+ import * as i16 from "@angular/forms";
18
+ import * as i17 from "@angular/cdk/overlay";
19
+ import * as i18 from "@provoly/dashboard";
20
+ import * as i19 from "@provoly/dashboard/components/checkbox";
21
+ import * as i20 from "@provoly/dashboard/components/stepper";
22
+ import * as i21 from "@angular/cdk/drag-drop";
19
23
  export declare class PryToolboxModule {
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<PryToolboxModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ClearViewComponent, typeof i2.DragWidgetsComponent, typeof i3.EditModeToggleComponent, typeof i4.LaunchTabComponent, typeof i5.NamedQueryComponent, typeof i6.SaveViewComponent, typeof i7.SelectGridLayoutComponent, typeof i8.ToolboxComponent, typeof i9.PrySelectGridLayoutCssComponent, typeof i10.PryFilterSettingsComponent], [typeof i11.CommonModule, typeof i12.FormsModule, typeof i13.OverlayModule, typeof i14.PryOverlayModule, typeof i14.PryCoreModule, typeof i14.PryDashboardModule, typeof i14.PrySelectModule, typeof i14.PryIconModule, typeof i15.PryCheckboxModule, typeof i14.PryToggleModule, typeof i16.PryStepperModule, typeof i14.PryShareModule, typeof i14.PryI18nModule, typeof i17.CdkDropList, typeof i17.CdkDrag, typeof i17.CdkDragHandle], [typeof i1.ClearViewComponent, typeof i2.DragWidgetsComponent, typeof i3.EditModeToggleComponent, typeof i4.LaunchTabComponent, typeof i5.NamedQueryComponent, typeof i6.SaveViewComponent, typeof i7.SelectGridLayoutComponent, typeof i8.ToolboxComponent, typeof i9.PrySelectGridLayoutCssComponent, typeof i10.PryFilterSettingsComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent], [typeof i15.CommonModule, typeof i16.FormsModule, typeof i17.OverlayModule, typeof i18.PryOverlayModule, typeof i18.PryCoreModule, typeof i18.PryDashboardModule, typeof i18.PrySelectModule, typeof i18.PryIconModule, typeof i19.PryCheckboxModule, typeof i18.PryToggleModule, typeof i20.PryStepperModule, typeof i18.PryShareModule, typeof i18.PryI18nModule, typeof i21.CdkDropList, typeof i21.CdkDrag, typeof i21.CdkDragHandle], [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent]>;
22
26
  static ɵinj: i0.ɵɵInjectorDeclaration<PryToolboxModule>;
23
27
  }
@@ -1,11 +0,0 @@
1
- import { Component, ViewEncapsulation } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class PryDateFilterCssComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryDateFilterCssComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PryDateFilterCssComponent, selector: "pry-date-filter-css", ngImport: i0, template: '', isInline: true, styles: [".date-range{display:flex;justify-content:space-around}\n"], encapsulation: i0.ViewEncapsulation.None }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryDateFilterCssComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'pry-date-filter-css', template: '', encapsulation: ViewEncapsulation.None, styles: [".date-range{display:flex;justify-content:space-around}\n"] }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3NzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Byb3ZvbHkvZGFzaGJvYXJkL2ZpbHRlcnMvZGF0ZS9zdHlsZS9jc3MuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUTdELE1BQU0sT0FBTyx5QkFBeUI7OEdBQXpCLHlCQUF5QjtrR0FBekIseUJBQXlCLDJEQUoxQixFQUFFOzsyRkFJRCx5QkFBeUI7a0JBTnJDLFNBQVM7K0JBQ0UscUJBQXFCLFlBQ3JCLEVBQUUsaUJBRUcsaUJBQWlCLENBQUMsSUFBSSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAncHJ5LWRhdGUtZmlsdGVyLWNzcycsXG4gIHRlbXBsYXRlOiAnJyxcbiAgc3R5bGVVcmxzOiBbJy4vX20tZGF0ZS5zY3NzJ10sXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcbn0pXG5leHBvcnQgY2xhc3MgUHJ5RGF0ZUZpbHRlckNzc0NvbXBvbmVudCB7fVxuIl19
@@ -1,35 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { DataSourceActions } from '../../store/data-source/data-source.actions';
3
- import { DataSourceSelectors } from '../../store/data-source/data-source.selectors';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@ngrx/store";
6
- import * as i2 from "@angular/common";
7
- import * as i3 from "../icon/icon.component";
8
- import * as i4 from "../../i18n/i18n.pipe";
9
- export class PryModalStatusComponent {
10
- set version(version) {
11
- this._version = version;
12
- if (!!version) {
13
- this.store.dispatch(DataSourceActions.dataset.errors.getById({ id: version.id }));
14
- this.datasetErrors$ = this.store.select(DataSourceSelectors.datasetErrors);
15
- }
16
- }
17
- constructor(store) {
18
- this.store = store;
19
- this.gotoConsult = new EventEmitter();
20
- }
21
- goBack() {
22
- this.gotoConsult.emit(this.version);
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PryModalStatusComponent, selector: "pry-modalStatus", inputs: { version: "version" }, outputs: { gotoConsult: "gotoConsult" }, ngImport: i0, template: "<div class=\"o-modal-wrapper\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">{{ '@pry.dataset.error.title' | i18n }}</h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" (click)=\"goBack()\">\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 <table class=\"a-table\">\n <thead>\n <tr>\n <th>{{ '@pry.dataset.error.code' | i18n }}</th>\n <th>{{ '@pry.dataset.error.elements' | i18n }}</th>\n <th>{{ '@pry.dataset.error.message' | i18n }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let error of datasetErrors$ | async | slice : 0 : 5\">\n <td>\n {{ error.code }}\n </td>\n <td>\n {{ error.line }}\n </td>\n <td>\n {{ error.message }}\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.PryIconComponent, selector: "pry-icon", inputs: ["color", "iconSvg", "animation", "iconImage", "alt", "width", "height", "classes"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.SlicePipe, name: "slice" }, { kind: "pipe", type: i4.I18nPipe, name: "i18n" }] }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusComponent, decorators: [{
28
- type: Component,
29
- args: [{ selector: 'pry-modalStatus', template: "<div class=\"o-modal-wrapper\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">{{ '@pry.dataset.error.title' | i18n }}</h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" (click)=\"goBack()\">\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 <table class=\"a-table\">\n <thead>\n <tr>\n <th>{{ '@pry.dataset.error.code' | i18n }}</th>\n <th>{{ '@pry.dataset.error.elements' | i18n }}</th>\n <th>{{ '@pry.dataset.error.message' | i18n }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let error of datasetErrors$ | async | slice : 0 : 5\">\n <td>\n {{ error.code }}\n </td>\n <td>\n {{ error.line }}\n </td>\n <td>\n {{ error.message }}\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n" }]
30
- }], ctorParameters: function () { return [{ type: i1.Store }]; }, propDecorators: { gotoConsult: [{
31
- type: Output
32
- }], version: [{
33
- type: Input
34
- }] } });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWxTdGF0dXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJvdm9seS9kYXNoYm9hcmQvbGliL2NvcmUvY29tcG9uZW50cy9tb2RhbFN0YXR1cy9tb2RhbFN0YXR1cy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wcm92b2x5L2Rhc2hib2FyZC9saWIvY29yZS9jb21wb25lbnRzL21vZGFsU3RhdHVzL21vZGFsU3RhdHVzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJdkUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFFaEYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0NBQStDLENBQUM7Ozs7OztBQU1wRixNQUFNLE9BQU8sdUJBQXVCO0lBS2xDLElBQWEsT0FBTyxDQUFDLE9BQW1DO1FBQ3RELElBQUks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pMThuIH19PC90aD5cbiAgICAgICAgPHRoPnt7ICdAcHJ5LmRhdGFzZXQuZXJyb3IubWVzc2FnZScgfCBpMThuIH19PC90aD5cbiAgICAgIDwvdHI+XG4gICAgPC90aGVhZD5cbiAgICA8dGJvZHk+XG4gICAgICA8dHIgKm5nRm9yPVwibGV0IGVycm9yIG9mIGRhdGFzZXRFcnJvcnMkIHwgYXN5bmMgfCBzbGljZSA6IDAgOiA1XCI+XG4gICAgICAgIDx0ZD5cbiAgICAgICAgICB7eyBlcnJvci5jb2RlIH19XG4gICAgICAgIDwvdGQ+XG4gICAgICAgIDx0ZD5cbiAgICAgICAgICB7eyBlcnJvci5saW5lIH19XG4gICAgICAgIDwvdGQ+XG4gICAgICAgIDx0ZD5cbiAgICAgICAgICB7eyBlcnJvci5tZXNzYWdlIH19XG4gICAgICAgIDwvdGQ+XG4gICAgICA8L3RyPlxuICAgIDwvdGJvZHk+XG4gIDwvdGFibGU+XG48L2Rpdj5cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { enTranslations } from '../../../../dataset/i18n/en.translations';
4
- import { frTranslations } from '../../../../dataset/i18n/fr.translations';
5
- import { PryI18nModule } from '../../i18n/i18n.module';
6
- import { PryIconModule } from '../icon/icon.module';
7
- import { PryModalStatusComponent } from './modalStatus.component';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "../../i18n/i18n.service";
10
- export class PryModalStatusModule {
11
- constructor(pryTranslateService) {
12
- this.pryTranslateService = pryTranslateService;
13
- this.pryTranslateService.addLangObject('fr', 'dataset', frTranslations);
14
- this.pryTranslateService.addLangObject('en', 'dataset', enTranslations);
15
- }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusModule, deps: [{ token: i1.PryI18nService }], target: i0.ɵɵFactoryTarget.NgModule }); }
17
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusModule, declarations: [PryModalStatusComponent], imports: [CommonModule, PryIconModule, PryI18nModule], exports: [PryModalStatusComponent] }); }
18
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusModule, imports: [CommonModule, PryIconModule, PryI18nModule] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusModule, decorators: [{
21
- type: NgModule,
22
- args: [{
23
- imports: [CommonModule, PryIconModule, PryI18nModule],
24
- declarations: [PryModalStatusComponent],
25
- exports: [PryModalStatusComponent]
26
- }]
27
- }], ctorParameters: function () { return [{ type: i1.PryI18nService }]; } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWxTdGF0dXMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJvdm9seS9kYXNoYm9hcmQvbGliL2NvcmUvY29tcG9uZW50cy9tb2RhbFN0YXR1cy9tb2RhbFN0YXR1cy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDBDQUEwQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUMxRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFdkQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHFCQUFxQixDQUFD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uLi8uLi8uLi9kYXRhc2V0L2kxOG4vZnIudHJhbnNsYXRpb25zJztcbmltcG9ydCB7IFByeUkxOG5Nb2R1bGUgfSBmcm9tICcuLi8uLi9pMThuL2kxOG4ubW9kdWxlJztcbmltcG9ydCB7IFByeUkxOG5TZXJ2aWNlIH0gZnJvbSAnLi4vLi4vaTE4bi9pMThuLnNlcnZpY2UnO1xuaW1wb3J0IHsgUHJ5SWNvbk1vZHVsZSB9IGZyb20gJy4uL2ljb24vaWNvbi5tb2R1bGUnO1xuaW1wb3J0IHsgUHJ5TW9kYWxTdGF0dXNDb21wb25lbnQgfSBmcm9tICcuL21vZGFsU3RhdHVzLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIFByeUljb25Nb2R1bGUsIFByeUkxOG5Nb2R1bGVdLFxuICBkZWNsYXJhdGlvbnM6IFtQcnlNb2RhbFN0YXR1c0NvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtQcnlNb2RhbFN0YXR1c0NvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgUHJ5TW9kYWxTdGF0dXNNb2R1bGUge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHByeVRyYW5zbGF0ZVNlcnZpY2U6IFByeUkxOG5TZXJ2aWNlKSB7XG4gICAgdGhpcy5wcnlUcmFuc2xhdGVTZXJ2aWNlLmFkZExhbmdPYmplY3QoJ2ZyJywgJ2RhdGFzZXQnLCBmclRyYW5zbGF0aW9ucyk7XG4gICAgdGhpcy5wcnlUcmFuc2xhdGVTZXJ2aWNlLmFkZExhbmdPYmplY3QoJ2VuJywgJ2RhdGFzZXQnLCBlblRyYW5zbGF0aW9ucyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,26 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { combineLatest, map } from 'rxjs';
3
- import { DashboardSelectors } from '../../../dashboard/store/dashboard.selectors';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@ngrx/store";
6
- import * as i2 from "../../i18n/i18n.service";
7
- import * as i3 from "@angular/common";
8
- export class PryTitlePresentationComponent {
9
- constructor(store, i18nService) {
10
- this.store = store;
11
- this.i18nService = i18nService;
12
- this.presentationTitle$ = combineLatest([this.store.select(DashboardSelectors.presentation)]).pipe(map(([presentation]) => {
13
- if (presentation.current) {
14
- return presentation.current.name;
15
- }
16
- return this.i18nService.instant('@pry.header.noCurrentPresentation');
17
- }));
18
- }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryTitlePresentationComponent, deps: [{ token: i1.Store }, { token: i2.PryI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PryTitlePresentationComponent, selector: "pry-title-presentation", ngImport: i0, template: "<div>\n <h1 class=\"a-h1 a-presentation-title\">{{ presentationTitle$ | async }}</h1>\n</div>\n", dependencies: [{ kind: "pipe", type: i3.AsyncPipe, name: "async" }] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryTitlePresentationComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'pry-title-presentation', template: "<div>\n <h1 class=\"a-h1 a-presentation-title\">{{ presentationTitle$ | async }}</h1>\n</div>\n" }]
25
- }], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.PryI18nService }]; } });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGl0bGUtcHJlc2VudGF0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Byb3ZvbHkvZGFzaGJvYXJkL2xpYi9jb3JlL2NvbXBvbmVudHMvdGl0bGUtcHJlc2VudG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NlbnRhdGlvbi5jdXJyZW50KSB7XG4gICAgICAgICAgcmV0dXJuIHByZXNlbnRhdGlvbi5jdXJyZW50Lm5hbWU7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHRoaXMuaTE4blNlcnZpY2UuaW5zdGFudCgnQHByeS5oZWFkZXIubm9DdXJyZW50UHJlc2VudGF0aW9uJyk7XG4gICAgICB9KVxuICAgICk7XG4gIH1cbn1cbiIsIjxkaXY+XG4gIDxoMSBjbGFzcz1cImEtaDEgYS1wcmVzZW50YXRpb24tdGl0bGVcIj57eyBwcmVzZW50YXRpb25UaXRsZSQgfCBhc3luYyB9fTwvaDE+XG48L2Rpdj5cbiJdfQ==
@@ -1,6 +0,0 @@
1
- @use '../../../styles/abstracts/index' as *;
2
-
3
- .date-range {
4
- display: flex;
5
- justify-content: space-around;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class PryDateFilterCssComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<PryDateFilterCssComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<PryDateFilterCssComponent, "pry-date-filter-css", never, {}, {}, never, never, false, never>;
5
- }