@provoly/dashboard 1.2.9 → 1.2.11

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 (113) hide show
  1. package/admin/admin.module.d.ts +2 -3
  2. package/dataset/components/dataset.component.d.ts +3 -11
  3. package/dataset/dataset.module.d.ts +7 -9
  4. package/dataset/public-api.d.ts +0 -1
  5. package/dataset/style/_o-pry-dataset.scss +3 -72
  6. package/esm2022/admin/admin.module.mjs +1 -5
  7. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -4
  8. package/esm2022/dataset/components/dataset.component.mjs +8 -33
  9. package/esm2022/dataset/dataset.module.mjs +9 -13
  10. package/esm2022/dataset/public-api.mjs +1 -2
  11. package/esm2022/dataset/style/css.component.mjs +3 -3
  12. package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +7 -27
  13. package/esm2022/lib/core/components/chips-selector/chips-selector.module.mjs +21 -0
  14. package/esm2022/lib/core/components/select/select-a11y.service.mjs +5 -4
  15. package/esm2022/lib/core/components/select/select.component.mjs +8 -5
  16. package/esm2022/lib/core/components/select-image/select-image.component.mjs +1 -1
  17. package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +3 -3
  18. package/esm2022/lib/core/components/share/share.module.mjs +8 -12
  19. package/esm2022/lib/core/components/share/share.utils.mjs +4 -4
  20. package/esm2022/lib/core/core.module.mjs +4 -8
  21. package/esm2022/lib/core/i18n/en.translations.mjs +10 -10
  22. package/esm2022/lib/core/i18n/fr.translations.mjs +10 -10
  23. package/esm2022/lib/core/pipes/get-secured-image/get-secured-image.pipe.mjs +21 -0
  24. package/esm2022/lib/core/pipes/since-date/since-date.module.mjs +18 -0
  25. package/esm2022/lib/core/pipes/since-date/since-date.pipe.mjs +55 -0
  26. package/esm2022/lib/core/pipes/translate-id/translate-id.pipe.mjs +108 -0
  27. package/esm2022/lib/core/pipes/translate-item-to-symbol/translate-item-to-symbol.pipe.mjs +21 -0
  28. package/esm2022/lib/core/public-api.mjs +7 -4
  29. package/esm2022/lib/core/store/data-source/datasource-utils.mjs +22 -1
  30. package/esm2022/lib/dashboard/components/widgets/data-widget.component.mjs +2 -2
  31. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.mjs +60 -0
  32. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.mjs +95 -0
  33. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +53 -48
  34. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +6 -7
  35. package/esm2022/lib/dashboard/components/widgets/public-api.mjs +3 -1
  36. package/esm2022/lib/dashboard/dashboard.module.mjs +19 -7
  37. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +73 -3
  38. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +2 -45
  39. package/esm2022/lib/dashboard/tooltip/components/default/default.tooltip.component.mjs +2 -2
  40. package/esm2022/pipeline/components/pipeline-details/pipeline-details.component.mjs +2 -3
  41. package/esm2022/pipeline/components/pipeline-list/pipeline-list.component.mjs +2 -3
  42. package/esm2022/pipeline/pipeline.module.mjs +8 -9
  43. package/esm2022/presentation/components/presentation.component.mjs +2 -3
  44. package/esm2022/presentation/presentation.module.mjs +8 -9
  45. package/esm2022/restitution/components/restitution/restitution.component.mjs +4 -4
  46. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +2 -3
  47. package/esm2022/restitution/restitution.module.mjs +2 -3
  48. package/esm2022/restitution/style/css.component.mjs +2 -2
  49. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +2 -2
  50. package/fesm2022/provoly-dashboard-admin.mjs +0 -4
  51. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  52. package/fesm2022/provoly-dashboard-dataset.mjs +30 -87
  53. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  54. package/fesm2022/provoly-dashboard-pipeline.mjs +17 -19
  55. package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
  56. package/fesm2022/provoly-dashboard-presentation.mjs +8 -10
  57. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  58. package/fesm2022/provoly-dashboard-restitution.mjs +7 -9
  59. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  60. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +1 -1
  61. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  62. package/fesm2022/provoly-dashboard.mjs +3535 -3296
  63. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  64. package/lib/core/components/chips-selector/chips-selector.component.d.ts +1 -6
  65. package/lib/core/components/chips-selector/chips-selector.module.d.ts +11 -0
  66. package/lib/core/components/select/select-a11y.service.d.ts +1 -1
  67. package/lib/core/components/select/select.component.d.ts +2 -1
  68. package/lib/core/components/share/share.module.d.ts +3 -4
  69. package/lib/core/core.module.d.ts +26 -27
  70. package/lib/core/i18n/en.translations.d.ts +9 -9
  71. package/lib/core/i18n/fr.translations.d.ts +9 -9
  72. package/{components/sinceDate/sinceDate.module.d.ts → lib/core/pipes/since-date/since-date.module.d.ts} +3 -2
  73. package/{components/sinceDate/sinceDate.pipe.d.ts → lib/core/pipes/since-date/since-date.pipe.d.ts} +4 -4
  74. package/lib/core/{components → pipes}/translate-id/translate-id.pipe.d.ts +0 -2
  75. package/lib/core/public-api.d.ts +6 -3
  76. package/lib/core/store/data-source/datasource-utils.d.ts +4 -1
  77. package/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.d.ts +24 -0
  78. package/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.d.ts +35 -0
  79. package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +19 -11
  80. package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +1 -1
  81. package/lib/dashboard/components/widgets/public-api.d.ts +2 -0
  82. package/lib/dashboard/dashboard.module.d.ts +18 -15
  83. package/lib/dashboard/store/dashboard.effects.d.ts +8 -0
  84. package/package.json +37 -43
  85. package/pipeline/pipeline.module.d.ts +3 -4
  86. package/presentation/presentation.module.d.ts +7 -8
  87. package/restitution/components/restitution/restitution.component.d.ts +1 -1
  88. package/restitution/restitution.module.d.ts +1 -2
  89. package/restitution/style/_o-restitution.scss +4 -0
  90. package/styles/components/_a-chip.scss +44 -0
  91. package/styles/components/_o-datasource-selector.scss +192 -0
  92. package/styles/components/_o-widget.scss +1 -1
  93. package/styles/main.scss +1 -0
  94. package/styles-theme/main-theme.scss +0 -3
  95. package/components/sinceDate/index.d.ts +0 -5
  96. package/components/sinceDate/public-api.d.ts +0 -2
  97. package/dataset/components/dataset-card/dataset-card.component.d.ts +0 -18
  98. package/dataset/style/_o-pry-dataset-card.scss +0 -93
  99. package/esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs +0 -5
  100. package/esm2022/components/sinceDate/public-api.mjs +0 -3
  101. package/esm2022/components/sinceDate/sinceDate.module.mjs +0 -16
  102. package/esm2022/components/sinceDate/sinceDate.pipe.mjs +0 -55
  103. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +0 -41
  104. package/esm2022/lib/core/components/get-secured-image/get-secured-image.pipe.mjs +0 -21
  105. package/esm2022/lib/core/components/translate-id/translate-id.pipe.mjs +0 -114
  106. package/esm2022/lib/core/components/translate-item-to-symbol/translate-item-to-symbol.pipe.mjs +0 -23
  107. package/fesm2022/provoly-dashboard-components-sinceDate.mjs +0 -75
  108. package/fesm2022/provoly-dashboard-components-sinceDate.mjs.map +0 -1
  109. package/styles-theme/components-theme/_a-chip.theme.scss +0 -32
  110. package/styles-theme/components-theme/_o-pry-dataset-card.theme.scss +0 -26
  111. package/styles-theme/components-theme/_o-pry-dataset.theme.scss +0 -4
  112. /package/lib/core/{components → pipes}/get-secured-image/get-secured-image.pipe.d.ts +0 -0
  113. /package/lib/core/{components → pipes}/translate-item-to-symbol/translate-item-to-symbol.pipe.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -108,18 +108,18 @@
108
108
  "esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
109
109
  "default": "./fesm2022/provoly-dashboard-pipeline.mjs"
110
110
  },
111
- "./restitution": {
112
- "types": "./restitution/index.d.ts",
113
- "esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
114
- "esm": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
115
- "default": "./fesm2022/provoly-dashboard-restitution.mjs"
116
- },
117
111
  "./presentation": {
118
112
  "types": "./presentation/index.d.ts",
119
113
  "esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
120
114
  "esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
121
115
  "default": "./fesm2022/provoly-dashboard-presentation.mjs"
122
116
  },
117
+ "./restitution": {
118
+ "types": "./restitution/index.d.ts",
119
+ "esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
120
+ "esm": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
121
+ "default": "./fesm2022/provoly-dashboard-restitution.mjs"
122
+ },
123
123
  "./search": {
124
124
  "types": "./search/index.d.ts",
125
125
  "esm2022": "./esm2022/search/provoly-dashboard-search.mjs",
@@ -132,36 +132,6 @@
132
132
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
133
133
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
134
134
  },
135
- "./filters/autocomplete": {
136
- "types": "./filters/autocomplete/index.d.ts",
137
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
138
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
139
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
140
- },
141
- "./filters/date": {
142
- "types": "./filters/date/index.d.ts",
143
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
144
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
145
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
146
- },
147
- "./filters/list": {
148
- "types": "./filters/list/index.d.ts",
149
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
150
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
151
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
152
- },
153
- "./filters/number": {
154
- "types": "./filters/number/index.d.ts",
155
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
156
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
157
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
158
- },
159
- "./filters/text": {
160
- "types": "./filters/text/index.d.ts",
161
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
162
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
163
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
164
- },
165
135
  "./components/card": {
166
136
  "types": "./components/card/index.d.ts",
167
137
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -216,12 +186,6 @@
216
186
  "esm": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
217
187
  "default": "./fesm2022/provoly-dashboard-components-scheme-picker.mjs"
218
188
  },
219
- "./components/sinceDate": {
220
- "types": "./components/sinceDate/index.d.ts",
221
- "esm2022": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
222
- "esm": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
223
- "default": "./fesm2022/provoly-dashboard-components-sinceDate.mjs"
224
- },
225
189
  "./components/stepper": {
226
190
  "types": "./components/stepper/index.d.ts",
227
191
  "esm2022": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
@@ -234,6 +198,36 @@
234
198
  "esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
235
199
  "default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
236
200
  },
201
+ "./filters/autocomplete": {
202
+ "types": "./filters/autocomplete/index.d.ts",
203
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
204
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
205
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
206
+ },
207
+ "./filters/date": {
208
+ "types": "./filters/date/index.d.ts",
209
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
210
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
211
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
212
+ },
213
+ "./filters/list": {
214
+ "types": "./filters/list/index.d.ts",
215
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
216
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
217
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
218
+ },
219
+ "./filters/number": {
220
+ "types": "./filters/number/index.d.ts",
221
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
222
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
223
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
224
+ },
225
+ "./filters/text": {
226
+ "types": "./filters/text/index.d.ts",
227
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
228
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
229
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
230
+ },
237
231
  "./pipeline-components/filter": {
238
232
  "types": "./pipeline-components/filter/index.d.ts",
239
233
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -9,13 +9,12 @@ import * as i6 from "@provoly/dashboard";
9
9
  import * as i7 from "@ngrx/store";
10
10
  import * as i8 from "@ngrx/effects";
11
11
  import * as i9 from "@angular/forms";
12
- import * as i10 from "@provoly/dashboard/components/sinceDate";
13
- import * as i11 from "@angular/cdk/overlay";
14
- import * as i12 from "@angular/cdk/a11y";
12
+ import * as i10 from "@angular/cdk/overlay";
13
+ import * as i11 from "@angular/cdk/a11y";
15
14
  export declare class PryPipelineModule {
16
15
  private pryTranslateService;
17
16
  constructor(pryTranslateService: PryI18nService);
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<PryPipelineModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryPipelineModule, [typeof i1.PryPipelineEditorComponent, typeof i2.PryPipelineCssComponent, typeof i3.PryPipelineListComponent, typeof i4.PryPipelineDetailsComponent], [typeof i5.CommonModule, typeof i6.PryCoreModule, typeof i7.StoreFeatureModule, typeof i8.EffectsFeatureModule, typeof i6.PryIconModule, typeof i6.PryI18nModule, typeof i6.PrySortModule, typeof i9.FormsModule, typeof i6.PryToggleModule, typeof i10.PrySinceDateModule, typeof i9.ReactiveFormsModule, typeof i11.OverlayModule, typeof i12.A11yModule], [typeof i1.PryPipelineEditorComponent, typeof i2.PryPipelineCssComponent, typeof i3.PryPipelineListComponent, typeof i4.PryPipelineDetailsComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryPipelineModule, [typeof i1.PryPipelineEditorComponent, typeof i2.PryPipelineCssComponent, typeof i3.PryPipelineListComponent, typeof i4.PryPipelineDetailsComponent], [typeof i5.CommonModule, typeof i6.PryCoreModule, typeof i7.StoreFeatureModule, typeof i8.EffectsFeatureModule, typeof i6.PryIconModule, typeof i6.PryI18nModule, typeof i6.PrySortModule, typeof i9.FormsModule, typeof i6.PryToggleModule, typeof i9.ReactiveFormsModule, typeof i10.OverlayModule, typeof i11.A11yModule, typeof i6.PrySinceDateModule], [typeof i1.PryPipelineEditorComponent, typeof i2.PryPipelineCssComponent, typeof i3.PryPipelineListComponent, typeof i4.PryPipelineDetailsComponent]>;
20
19
  static ɵinj: i0.ɵɵInjectorDeclaration<PryPipelineModule>;
21
20
  }
@@ -6,17 +6,16 @@ import * as i3 from "./components/title-presentation/title-presentation.componen
6
6
  import * as i4 from "./style/css.component";
7
7
  import * as i5 from "@provoly/dashboard";
8
8
  import * as i6 from "@angular/forms";
9
- import * as i7 from "@provoly/dashboard/components/sinceDate";
10
- import * as i8 from "@provoly/dashboard/toolbox";
11
- import * as i9 from "@provoly/dashboard/components/checkbox";
12
- import * as i10 from "@angular/common";
13
- import * as i11 from "@angular/cdk/a11y";
14
- import * as i12 from "@provoly/dashboard/components/metadata-editor";
15
- import * as i13 from "@provoly/dashboard/components/text-editor";
9
+ import * as i7 from "@provoly/dashboard/toolbox";
10
+ import * as i8 from "@provoly/dashboard/components/checkbox";
11
+ import * as i9 from "@angular/common";
12
+ import * as i10 from "@angular/cdk/a11y";
13
+ import * as i11 from "@provoly/dashboard/components/metadata-editor";
14
+ import * as i12 from "@provoly/dashboard/components/text-editor";
16
15
  export declare class PryPresentationModule {
17
16
  private pryTranslateService;
18
17
  constructor(pryTranslateService: PryI18nService);
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent], [typeof i5.PryIconModule, typeof i5.PryCoreModule, typeof i5.PryDashboardModule, typeof i6.ReactiveFormsModule, typeof i5.PrySelectModule, typeof i7.PrySinceDateModule, typeof i5.PryShareModule, typeof i6.FormsModule, typeof i5.PryOverlayModule, typeof i5.PryI18nModule, typeof i8.PryToolboxModule, typeof i9.PryCheckboxModule, typeof i10.CommonModule, typeof i11.A11yModule, typeof i12.PryExpandPanelModule, typeof i13.PryTextEditorModule], [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent], [typeof i5.PryIconModule, typeof i5.PryCoreModule, typeof i5.PryDashboardModule, typeof i6.ReactiveFormsModule, typeof i5.PrySelectModule, typeof i5.PryShareModule, typeof i6.FormsModule, typeof i5.PryOverlayModule, typeof i5.PryI18nModule, typeof i7.PryToolboxModule, typeof i8.PryCheckboxModule, typeof i9.CommonModule, typeof i10.A11yModule, typeof i11.PryExpandPanelModule, typeof i12.PryTextEditorModule, typeof i5.PrySinceDateModule], [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent]>;
21
20
  static ɵinj: i0.ɵɵInjectorDeclaration<PryPresentationModule>;
22
21
  }
@@ -40,7 +40,7 @@ export declare class PryRestitutionComponent extends SubscriptionnerDirective im
40
40
  constructor(toolboxManifestService: ToolboxManifestService, store: Store, toolboxMenuService: ToolboxMenuService);
41
41
  ngOnInit(): void;
42
42
  cancel(stepper: PryStepperComponent): void;
43
- datasourcesChanged($event: DataSource[]): void;
43
+ datasourcesChanged($event: string[]): void;
44
44
  submit(stepper: PryStepperComponent): void;
45
45
  goNext(stepper: PryStepperComponent, submit?: boolean): void;
46
46
  prev(stepper: PryStepperComponent): void;
@@ -12,11 +12,10 @@ import * as i9 from "@provoly/dashboard/components/stepper";
12
12
  import * as i10 from "@provoly/dashboard/search";
13
13
  import * as i11 from "@provoly/dashboard/components/card";
14
14
  import * as i12 from "@provoly/dashboard/components/checkbox";
15
- import * as i13 from "@provoly/dashboard/components/sinceDate";
16
15
  export declare class PryRestitutionModule {
17
16
  private pryTranslateService;
18
17
  constructor(pryTranslateService: PryI18nService);
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<PryRestitutionModule, [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i3.PryCatalogCssComponent, typeof i4.PryRestitutionCatalogComponent, typeof i5.PryRestitutionListItemComponent], [typeof i6.CommonModule, typeof i7.PryCoreModule, typeof i7.PryIconModule, typeof i8.FormsModule, typeof i9.PryStepperModule, typeof i7.PrySelectModule, typeof i7.PryDashboardModule, typeof i7.PryShareModule, typeof i10.PrySearchModule, typeof i7.PryI18nModule, typeof i11.PryCardModule, typeof i12.PryCheckboxModule, typeof i7.PryOverlayModule, typeof i13.PrySinceDateModule], [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i4.PryRestitutionCatalogComponent, typeof i5.PryRestitutionListItemComponent]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryRestitutionModule, [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i3.PryCatalogCssComponent, typeof i4.PryRestitutionCatalogComponent, typeof i5.PryRestitutionListItemComponent], [typeof i6.CommonModule, typeof i7.PryCoreModule, typeof i7.PryIconModule, typeof i8.FormsModule, typeof i9.PryStepperModule, typeof i7.PrySelectModule, typeof i7.PryDashboardModule, typeof i7.PryShareModule, typeof i10.PrySearchModule, typeof i7.PryI18nModule, typeof i11.PryCardModule, typeof i12.PryCheckboxModule, typeof i7.PryOverlayModule, typeof i7.PrySinceDateModule], [typeof i1.PryRestitutionListComponent, typeof i2.PryRestitutionComponent, typeof i4.PryRestitutionCatalogComponent, typeof i5.PryRestitutionListItemComponent]>;
21
20
  static ɵinj: i0.ɵɵInjectorDeclaration<PryRestitutionModule>;
22
21
  }
@@ -22,4 +22,8 @@
22
22
  .m-btn-group.actions {
23
23
  margin-top: auto;
24
24
  }
25
+
26
+ pry-datasource-selector {
27
+ height: calc(100% - 35px);
28
+ }
25
29
  }
@@ -1,4 +1,5 @@
1
1
  @use '../abstracts' as *;
2
+ @use '../../styles-theme/abstracts-theme/variables.theme' as *;
2
3
 
3
4
  .a-chip {
4
5
  display: flex;
@@ -8,13 +9,56 @@
8
9
  font-size: toRem(10);
9
10
  padding: toRem(2) toRem(7);
10
11
 
12
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
13
+ background-color: themed($theme-map, 'color', 'primary', 600);
14
+
15
+ &:hover {
16
+ @include changeBgColor(
17
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300),
18
+ $targetTextColor: themed($theme-map, 'color', 'primary', 600)
19
+ );
20
+ }
21
+
22
+ &--light {
23
+ background-color: themed($theme-map, 'color', 'primary', 50);
24
+ color: themed($theme-map, 'color', 'primary', 600);
25
+ border: solid 1px themed($theme-map, 'color', 'primary', 300);
26
+
27
+ &:hover {
28
+ @include changeBgColor(
29
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300)
30
+ );
31
+ }
32
+ }
33
+
34
+ &--ghost {
35
+ background-color: transparent;
36
+ color: themed($theme-map, 'color', 'primary', 750);
37
+
38
+ &:hover {
39
+ @include changeBgColor(
40
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300)
41
+ );
42
+ }
43
+ }
44
+
11
45
  &.-md {
12
46
  height: toRem(20);
13
47
  font-size: toRem(12);
14
48
  padding: toRem(3) toRem(10);
15
49
  }
16
50
 
51
+ &.-lg {
52
+ height: toRem(30);
53
+ font-size: toRem(16);
54
+ gap: toRem(5);
55
+ }
56
+
17
57
  &.-no-wrap {
18
58
  white-space: nowrap;
19
59
  }
60
+
61
+ &.-not-found {
62
+ opacity: 0.4;
63
+ }
20
64
  }
@@ -0,0 +1,192 @@
1
+ @use '../../styles/abstracts/index' as *;
2
+ @use '../../styles-theme/abstracts-theme/variables.theme' as *;
3
+
4
+ /* Organism - datasource-selector */
5
+
6
+ .o-datasource-selector {
7
+ overflow: hidden;
8
+ height: 100%;
9
+
10
+ pry-datasource-list {
11
+ overflow: hidden;
12
+ }
13
+
14
+ &__chips {
15
+ max-height: toRem(80);
16
+ margin-bottom: toRem(40);
17
+ overflow: scroll;
18
+ }
19
+ }
20
+
21
+ .o-datasource-list {
22
+ &__header {
23
+ width: 100%;
24
+
25
+ .a-label {
26
+ font-size: toRem(16);
27
+ font-weight: 700;
28
+ }
29
+
30
+ input.a-form-field {
31
+ padding-left: toRem(60);
32
+ }
33
+
34
+ div.a-pry-select {
35
+ padding: toRem(7.5) toRem(10);
36
+ }
37
+
38
+ input.a-form-field, div.a-pry-select {
39
+ border-color: themed($theme-map, 'color', 'primary', 600);
40
+ font-size: toRem(12);
41
+ border-radius: toRem(5);
42
+ height: toRem(40);
43
+ }
44
+
45
+ input.a-form-field::placeholder, span.a-pry-select__placeholder {
46
+ color: themed($theme-map, 'color', 'primary', 500);
47
+ font-style: italic;
48
+ }
49
+ }
50
+
51
+ &__search {
52
+ flex-basis: 50%;
53
+ position: relative;
54
+
55
+ .search-icon {
56
+ position: absolute;
57
+ left: toRem(20);
58
+ bottom: toRem(10);
59
+ pointer-events: none;
60
+ color: themed($theme-map, 'color', 'primary', 600);
61
+ }
62
+ }
63
+
64
+ &__categories {
65
+ flex-basis: 50%;
66
+ }
67
+
68
+ &__content {
69
+ @extend %list-unstyled;
70
+ display: grid;
71
+ grid-template-columns: repeat(auto-fill, minmax(toRem(330), 0fr));
72
+ grid-gap: toRem(10);
73
+ column-gap: 1.5rem;
74
+ row-gap: 2rem;
75
+ padding-bottom: toRem(20);
76
+
77
+ overflow: auto;
78
+ height: calc(100% - 100px);
79
+ }
80
+ }
81
+
82
+ .o-datasource-card {
83
+ display: flex;
84
+ flex-direction: column;
85
+ margin: 0 auto;
86
+ font-size: toRem(14);
87
+ min-width: toRem(310);
88
+ height: toRem(180);
89
+
90
+ background-color: themed($theme-map, 'color', 'primary', 50);
91
+ filter: drop-shadow(0px 4px 4px rgba(17, 59, 110, 0.12));
92
+
93
+ &:hover {
94
+ background-color: themed($theme-map, 'color', 'primary', 300);
95
+ cursor: pointer;
96
+
97
+ .o-pry-datasource-card__footer {
98
+ border-top: 1px themed($theme-map, 'color', 'primary', 400) solid;
99
+
100
+ pry-icon {
101
+ visibility: visible;
102
+ opacity: 1;
103
+ }
104
+ }
105
+ }
106
+
107
+ &.-no-footer {
108
+ height: toRem(150);
109
+ }
110
+
111
+ &__title {
112
+ width: toRem(270);
113
+
114
+ &.a-tooltip[data-tooltip]:after {
115
+ top: calc(100% - 15px);
116
+ max-width: toRem(300);
117
+ word-break: break-word;
118
+ }
119
+ }
120
+
121
+ &.-is-selectable .o-datasource-card__title {
122
+ width: toRem(240);
123
+ }
124
+
125
+ .a-h4 {
126
+ color: themed($theme-map, 'color', 'primary', 600);
127
+ }
128
+
129
+ &__header {
130
+ display: flex;
131
+ gap: toRem(15);
132
+ padding: toRem(10);
133
+ max-width: toRem(330);
134
+ }
135
+
136
+ &__checkbox {
137
+ margin-left: auto;
138
+ }
139
+
140
+ &__date {
141
+ font-size: toRem(11);
142
+ }
143
+
144
+ &__description {
145
+ position: relative;
146
+ width: 100%;
147
+
148
+ &.a-tooltip[data-tooltip]:after {
149
+ width: 100%;
150
+ }
151
+ }
152
+
153
+ &__content {
154
+ flex-grow: 1;
155
+ padding: 0 toRem(15);
156
+ font-size: toRem(13);
157
+ margin-bottom: toRem(10);
158
+
159
+ .a-h3 {
160
+ font-size: toRem(14);
161
+ }
162
+
163
+ &.-date {
164
+ margin-bottom: 0;
165
+ }
166
+ }
167
+
168
+ &__categories {
169
+ max-height: toRem(20);
170
+ overflow: hidden;
171
+ }
172
+
173
+ &__footer {
174
+ display: flex;
175
+ align-items: center;
176
+ justify-content: center;
177
+
178
+ border-top: 1px themed($theme-map, 'color', 'primary', 300) solid;
179
+ border-bottom: 1px themed($theme-map, 'color', 'primary', 300) solid;
180
+
181
+ .a-btn {
182
+ margin-left: toRem(20); // needed for centering the footer text
183
+ }
184
+
185
+ pry-icon {
186
+ visibility: hidden;
187
+ opacity: 0;
188
+ transition: visibility 100ms linear , opacity 100ms linear;
189
+ margin-left: toRem(3);
190
+ }
191
+ }
192
+ }
@@ -126,7 +126,7 @@
126
126
  // Resultset displayed in popup/panel
127
127
  &__choose-resultset, .active-step {
128
128
  @extend %overlay-panel-fixed-right;
129
- width: toRem(560);
129
+ width: toRem(1100);
130
130
  padding: 0 0 toRem(10) 0;
131
131
  top: toRem(12);
132
132
  height: calc(100% - 24px);
package/styles/main.scss CHANGED
@@ -56,6 +56,7 @@
56
56
  @use 'components/o-cards-list' as *;
57
57
  @use 'components/o-dashboard' as *;
58
58
  @use 'components/o-date-picker' as *;
59
+ @use 'components/o-datasource-selector' as *;
59
60
  @use 'components/o-chips-selector' as *;
60
61
  @use 'components/o-draggable-menu' as *;
61
62
  @use 'components/o-form' as *;
@@ -4,7 +4,6 @@
4
4
  @use 'components-theme/a-badge.theme' as *;
5
5
  @use 'components-theme/a-btn.theme' as *;
6
6
  @use 'components-theme/a-checkbox.theme' as *;
7
- @use 'components-theme/a-chip.theme' as *;
8
7
  @use 'components-theme/a-expandable-value.theme' as *;
9
8
  @use 'components-theme/a-form-field.theme' as *;
10
9
  @use 'components-theme/a-icon.theme' as *;
@@ -72,8 +71,6 @@
72
71
  @use 'components-theme/o-pry-composed-condition.theme' as *;
73
72
  @use 'components-theme/o-pry-card.theme' as *;
74
73
  @use 'components-theme/o-pry-card-menu.theme' as *;
75
- @use 'components-theme/o-pry-dataset-card.theme' as *;
76
- @use 'components-theme/o-pry-dataset.theme' as *;
77
74
  @use 'components-theme/o-pry-expand-panel.theme' as *;
78
75
  @use 'components-theme/o-pry-new-presentation.theme' as *;
79
76
  @use 'components-theme/o-pry-presentation.theme' as *;
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@provoly/dashboard/components/sinceDate" />
5
- export * from './public-api';
@@ -1,2 +0,0 @@
1
- export * from './sinceDate.module';
2
- export * from './sinceDate.pipe';
@@ -1,18 +0,0 @@
1
- import { AfterContentInit, EventEmitter } from '@angular/core';
2
- import { Dataset, DatasetVersion } from '@provoly/dashboard';
3
- import { Observable } from 'rxjs';
4
- import { Store } from '@ngrx/store';
5
- import * as i0 from "@angular/core";
6
- export declare class PryDatasetCardComponent implements AfterContentInit {
7
- private store;
8
- dataset: Dataset;
9
- consult: EventEmitter<Dataset>;
10
- datasetVersions$: Observable<DatasetVersion[]>;
11
- activeVersion$: Observable<string | undefined>;
12
- constructor(store: Store);
13
- ngAfterContentInit(): void;
14
- truncateDescription(description: string | undefined, maxLength: number): string;
15
- goToDetailView(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasetCardComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<PryDatasetCardComponent, "pry-dataset-card", never, { "dataset": { "alias": "dataset"; "required": false; }; }, { "consult": "consult"; }, never, never, false, never>;
18
- }
@@ -1,93 +0,0 @@
1
- @use '../../styles/abstracts/index' as *;
2
-
3
- /* Organism - pry-dataset-card */
4
-
5
- .o-pry-dataset-card {
6
- display: flex;
7
- flex-direction: column;
8
- align-items: stretch;
9
- position: relative;
10
- margin: 0 auto;
11
- border-collapse: collapse;
12
- font-size: toRem(14);
13
- min-width: toRem(310);
14
- height: toRem(180);
15
-
16
- &:hover {
17
- cursor: pointer;
18
-
19
- .o-pry-dataset-card__footer {
20
- pry-icon {
21
- visibility: visible;
22
- opacity: 1;
23
- }
24
- }
25
- }
26
-
27
- &__header {
28
- display: flex;
29
- gap: toRem(15);
30
- padding: toRem(10);
31
- max-width: toRem(330);
32
- }
33
-
34
- &__date {
35
- font-size: toRem(11);
36
- }
37
-
38
- &__description {
39
- position: relative;
40
- width: 100%;
41
-
42
- &.a-tooltip[data-tooltip]:after {
43
- width: 100%;
44
- }
45
- }
46
-
47
- &__content {
48
- flex-grow: 1;
49
- padding: 0 toRem(15);
50
- font-size: toRem(13);
51
- margin-bottom: toRem(10);
52
-
53
- .a-h3 {
54
- font-size: toRem(14);
55
- }
56
-
57
- &.-date {
58
- margin-bottom: 0;
59
- }
60
- }
61
-
62
- &__categories {
63
- max-height: toRem(20);
64
- overflow: hidden;
65
- }
66
-
67
- &__footer {
68
- display: flex;
69
- align-items: center;
70
- justify-content: center;
71
-
72
- .a-btn {
73
- margin-left: toRem(20); // needed for centering the footer text
74
- }
75
-
76
- pry-icon {
77
- visibility: hidden;
78
- opacity: 0;
79
- transition: visibility 100ms linear , opacity 100ms linear;
80
- margin-left: toRem(3);
81
- }
82
- }
83
-
84
- .dataset-name {
85
- width: toRem(270);
86
-
87
- &.a-tooltip[data-tooltip]:after {
88
- top: calc(100% - 15px);
89
- max-width: toRem(300);
90
- word-break: break-word;
91
- }
92
- }
93
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdm9seS1kYXNoYm9hcmQtY29tcG9uZW50cy1zaW5jZURhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wcm92b2x5L2Rhc2hib2FyZC9jb21wb25lbnRzL3NpbmNlRGF0ZS9wcm92b2x5LWRhc2hib2FyZC1jb21wb25lbnRzLXNpbmNlRGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,3 +0,0 @@
1
- export * from './sinceDate.module';
2
- export * from './sinceDate.pipe';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Byb3ZvbHkvZGFzaGJvYXJkL2NvbXBvbmVudHMvc2luY2VEYXRlL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zaW5jZURhdGUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vc2luY2VEYXRlLnBpcGUnO1xuIl19
@@ -1,16 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { PrySinceDatePipe } from './sinceDate.pipe';
3
- import * as i0 from "@angular/core";
4
- export class PrySinceDateModule {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PrySinceDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.3", ngImport: i0, type: PrySinceDateModule, declarations: [PrySinceDatePipe], exports: [PrySinceDatePipe] }); }
7
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PrySinceDateModule }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: PrySinceDateModule, decorators: [{
10
- type: NgModule,
11
- args: [{
12
- declarations: [PrySinceDatePipe],
13
- exports: [PrySinceDatePipe]
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2luY2VEYXRlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Byb3ZvbHkvZGFzaGJvYXJkL2NvbXBvbmVudHMvc2luY2VEYXRlL3NpbmNlRGF0ZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7QUFNcEQsTUFBTSxPQUFPLGtCQUFrQjs4R0FBbEIsa0JBQWtCOytHQUFsQixrQkFBa0IsaUJBSGQsZ0JBQWdCLGFBQ3JCLGdCQUFnQjsrR0FFZixrQkFBa0I7OzJGQUFsQixrQkFBa0I7a0JBSjlCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsZ0JBQWdCLENBQUM7b0JBQ2hDLE9BQU8sRUFBRSxDQUFDLGdCQUFnQixDQUFDO2lCQUM1QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBQcnlTaW5jZURhdGVQaXBlIH0gZnJvbSAnLi9zaW5jZURhdGUucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1ByeVNpbmNlRGF0ZVBpcGVdLFxuICBleHBvcnRzOiBbUHJ5U2luY2VEYXRlUGlwZV1cbn0pXG5leHBvcnQgY2xhc3MgUHJ5U2luY2VEYXRlTW9kdWxlIHt9XG4iXX0=