@provoly/dashboard 1.3.3 → 1.3.5

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 (22) hide show
  1. package/esm2022/dataset/components/dataset.component.mjs +1 -1
  2. package/esm2022/lib/core/components/select/select.component.mjs +3 -3
  3. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.mjs +14 -4
  4. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +14 -6
  5. package/esm2022/presentation/style/css.component.mjs +2 -2
  6. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +6 -5
  7. package/esm2022/restitution/style/css.component.mjs +2 -2
  8. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
  9. package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
  10. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  11. package/fesm2022/provoly-dashboard-presentation.mjs +2 -2
  12. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  13. package/fesm2022/provoly-dashboard-restitution.mjs +7 -6
  14. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  15. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  16. package/fesm2022/provoly-dashboard.mjs +25 -9
  17. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  18. package/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.d.ts +2 -1
  19. package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +3 -1
  20. package/package.json +36 -36
  21. package/presentation/style/_o-pry-presentation.scss +1 -1
  22. package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +1 -1
@@ -22,6 +22,7 @@ export declare class PryDatasourceListComponent extends SubscriptionnerDirective
22
22
  set selectedDatasources(datasourceIds: string[]);
23
23
  consultedDataset: EventEmitter<Dataset>;
24
24
  datasourceSelected: EventEmitter<string[]>;
25
+ searchOrCategoryChanged: EventEmitter<void>;
25
26
  constructor(store: Store<any>);
26
27
  ngOnInit(): void;
27
28
  search(datasets: DataSource[], search: string, categories: Category[]): DataSource[];
@@ -31,5 +32,5 @@ export declare class PryDatasourceListComponent extends SubscriptionnerDirective
31
32
  datasource: DataSource;
32
33
  }): void;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasourceListComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<PryDatasourceListComponent, "pry-datasource-list", never, { "mode": { "alias": "mode"; "required": false; }; "selectedDatasources": { "alias": "selectedDatasources"; "required": false; }; }, { "consultedDataset": "consultedDataset"; "datasourceSelected": "datasourceSelected"; }, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryDatasourceListComponent, "pry-datasource-list", never, { "mode": { "alias": "mode"; "required": false; }; "selectedDatasources": { "alias": "selectedDatasources"; "required": false; }; }, { "consultedDataset": "consultedDataset"; "datasourceSelected": "datasourceSelected"; "searchOrCategoryChanged": "searchOrCategoryChanged"; }, never, never, false, never>;
35
36
  }
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { Store } from '@ngrx/store';
3
- import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
4
4
  import { DataSource } from '../../../../core/store/data-source/data-source.model';
5
5
  import { WidgetManifest } from '../../../../core/model/manifest.interface';
6
6
  import { SubscriptionnerDirective } from '../../subscriptionner.directive';
@@ -11,6 +11,7 @@ export declare class DatasourceSelectorComponent extends SubscriptionnerDirectiv
11
11
  manifest$: BehaviorSubject<WidgetManifest | null>;
12
12
  selectedDatasources$: Observable<DataSource[]>;
13
13
  selectedIds$: BehaviorSubject<string[]>;
14
+ searchOrCategoryChanged$: Subject<void>;
14
15
  showButtons: boolean;
15
16
  showTitle: boolean;
16
17
  set manifest(manifest: WidgetManifest | null);
@@ -23,6 +24,7 @@ export declare class DatasourceSelectorComponent extends SubscriptionnerDirectiv
23
24
  isGeo(item: DataSource): boolean;
24
25
  toggleSelection(id: string): void;
25
26
  updateDatasourceList(ids: string[]): void;
27
+ detectChanges(): void;
26
28
  static ɵfac: i0.ɵɵFactoryDeclaration<DatasourceSelectorComponent, never>;
27
29
  static ɵcmp: i0.ɵɵComponentDeclaration<DatasourceSelectorComponent, "pry-datasource-selector", never, { "showButtons": { "alias": "showButtons"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "manifest": { "alias": "manifest"; "required": false; }; }, { "previousTab": "previousTab"; "nextTab": "nextTab"; "cancel": "cancel"; "validated": "validated"; "itemsChanged": "itemsChanged"; }, never, never, false, never>;
28
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -138,6 +138,36 @@
138
138
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
139
139
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
140
140
  },
141
+ "./filters/autocomplete": {
142
+ "types": "./filters/autocomplete/index.d.ts",
143
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
144
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
145
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
146
+ },
147
+ "./filters/date": {
148
+ "types": "./filters/date/index.d.ts",
149
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
150
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
151
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
152
+ },
153
+ "./filters/list": {
154
+ "types": "./filters/list/index.d.ts",
155
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
156
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
157
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
158
+ },
159
+ "./filters/number": {
160
+ "types": "./filters/number/index.d.ts",
161
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
162
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
163
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
164
+ },
165
+ "./filters/text": {
166
+ "types": "./filters/text/index.d.ts",
167
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
168
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
169
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
170
+ },
141
171
  "./components/card": {
142
172
  "types": "./components/card/index.d.ts",
143
173
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -204,35 +234,11 @@
204
234
  "esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
205
235
  "default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
206
236
  },
207
- "./filters/autocomplete": {
208
- "types": "./filters/autocomplete/index.d.ts",
209
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
210
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
211
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
212
- },
213
- "./filters/date": {
214
- "types": "./filters/date/index.d.ts",
215
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
216
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
217
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
218
- },
219
- "./filters/list": {
220
- "types": "./filters/list/index.d.ts",
221
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
222
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
223
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
224
- },
225
- "./filters/number": {
226
- "types": "./filters/number/index.d.ts",
227
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
228
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
229
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
230
- },
231
- "./filters/text": {
232
- "types": "./filters/text/index.d.ts",
233
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
234
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
235
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
237
+ "./pipeline-components/input-datasource": {
238
+ "types": "./pipeline-components/input-datasource/index.d.ts",
239
+ "esm2022": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
240
+ "esm": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
241
+ "default": "./fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs"
236
242
  },
237
243
  "./pipeline-components/filter": {
238
244
  "types": "./pipeline-components/filter/index.d.ts",
@@ -240,12 +246,6 @@
240
246
  "esm": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
241
247
  "default": "./fesm2022/provoly-dashboard-pipeline-components-filter.mjs"
242
248
  },
243
- "./pipeline-components/input-datasource": {
244
- "types": "./pipeline-components/input-datasource/index.d.ts",
245
- "esm2022": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
246
- "esm": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
247
- "default": "./fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs"
248
- },
249
249
  "./pipeline-components/noop": {
250
250
  "types": "./pipeline-components/noop/index.d.ts",
251
251
  "esm2022": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
@@ -39,7 +39,7 @@
39
39
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
40
40
  grid-gap: toRem(30);
41
41
  padding: toRem(4) toRem(4) toRem(20) toRem(4);
42
- overflow-y: visible;
42
+ overflow-y: auto;
43
43
 
44
44
  .a-h3 {
45
45
  white-space: nowrap;
@@ -18,7 +18,6 @@ export declare class PryRestitutionCatalogComponent {
18
18
  restitution?: Widget;
19
19
  overlayRef?: OverlayRef;
20
20
  templateActions: TemplateRef<any>;
21
- canModify$: Observable<boolean>;
22
21
  constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, access: PryBaseAccess);
23
22
  selectMode(newMode: ViewMode): void;
24
23
  selectRestitution(restitution: Widget): void;
@@ -26,6 +25,7 @@ export declare class PryRestitutionCatalogComponent {
26
25
  deleteRestitution(id: string): void;
27
26
  editRestitution(restitution: Widget): void;
28
27
  toggleModalActions(restitution?: Widget, moreButton?: HTMLButtonElement): void;
28
+ canModify$(widget?: Widget): Observable<boolean>;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionCatalogComponent, [null, null, null, { optional: true; }]>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionCatalogComponent, "pry-restitution-catalog", never, {}, {}, never, never, false, never>;
31
31
  }