@provoly/dashboard 1.3.11 → 1.3.13

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 (38) hide show
  1. package/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.d.ts +1 -0
  2. package/admin/i18n/en.translations.d.ts +1 -0
  3. package/admin/i18n/fr.translations.d.ts +1 -0
  4. package/components/paginator/paginator.component.d.ts +2 -1
  5. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +9 -6
  6. package/esm2022/admin/i18n/en.translations.mjs +2 -1
  7. package/esm2022/admin/i18n/fr.translations.mjs +2 -1
  8. package/esm2022/components/data-format/data-format.pipe.mjs +2 -2
  9. package/esm2022/components/paginator/paginator.component.mjs +9 -2
  10. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  11. package/esm2022/import/components/list/import-list.component.mjs +16 -8
  12. package/esm2022/lib/core/store/data-source/data-source.actions.mjs +1 -1
  13. package/esm2022/lib/core/store/data-source/data-source.service.mjs +4 -4
  14. package/esm2022/widgets/widget-detail/component/widget-detail.component.mjs +4 -3
  15. package/esm2022/widgets/widget-detail/widget-detail.module.mjs +8 -4
  16. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
  17. package/fesm2022/provoly-dashboard-admin.mjs +10 -5
  18. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  19. package/fesm2022/provoly-dashboard-components-data-format.mjs +1 -1
  20. package/fesm2022/provoly-dashboard-components-data-format.mjs.map +1 -1
  21. package/fesm2022/provoly-dashboard-components-paginator.mjs +8 -1
  22. package/fesm2022/provoly-dashboard-components-paginator.mjs.map +1 -1
  23. package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
  24. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  25. package/fesm2022/provoly-dashboard-import.mjs +15 -8
  26. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  27. package/fesm2022/provoly-dashboard-widgets-widget-detail.mjs +10 -5
  28. package/fesm2022/provoly-dashboard-widgets-widget-detail.mjs.map +1 -1
  29. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +1 -1
  30. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  31. package/fesm2022/provoly-dashboard.mjs +3 -3
  32. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  33. package/import/components/list/import-list.component.d.ts +5 -3
  34. package/lib/core/store/data-source/data-source.actions.d.ts +4 -4
  35. package/lib/core/store/data-source/data-source.effects.d.ts +2 -2
  36. package/lib/core/store/data-source/data-source.service.d.ts +2 -2
  37. package/package.json +37 -37
  38. package/widgets/widget-detail/widget-detail.module.d.ts +2 -1
@@ -1,7 +1,7 @@
1
1
  import { OnInit, WritableSignal } from '@angular/core';
2
2
  import { Store } from '@ngrx/store';
3
3
  import { Dataset, DatasetVersion, PryDialogService, PrySortChange, SubscriptionnerDirective } from '@provoly/dashboard';
4
- import { Observable } from 'rxjs';
4
+ import { Observable, Subject } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class PryImportListComponent extends SubscriptionnerDirective implements OnInit {
7
7
  private store;
@@ -10,8 +10,8 @@ export declare class PryImportListComponent extends SubscriptionnerDirective imp
10
10
  limit?: number | undefined;
11
11
  offset?: number | undefined;
12
12
  dataset?: string | undefined;
13
- sortBy?: string | undefined;
14
- orderBy?: "ASC" | "DESC" | undefined;
13
+ sortBy?: "desc" | "asc" | undefined;
14
+ orderBy?: "DATE" | "DATASET_NAME" | undefined;
15
15
  dateMin?: string | undefined;
16
16
  dateMax?: string | undefined;
17
17
  status?: string | undefined;
@@ -31,6 +31,7 @@ export declare class PryImportListComponent extends SubscriptionnerDirective imp
31
31
  orderBy?: 'DATASET_NAME' | 'DATE';
32
32
  sortBy?: 'asc' | 'desc';
33
33
  };
34
+ goBackToFirstPage$: Subject<boolean>;
34
35
  constructor(store: Store, dialog: PryDialogService);
35
36
  ngOnInit(): void;
36
37
  clearFilters(): void;
@@ -39,6 +40,7 @@ export declare class PryImportListComponent extends SubscriptionnerDirective imp
39
40
  openErrorModal(version: DatasetVersion): void;
40
41
  sortChange($event: PrySortChange): void;
41
42
  updateFilters(): void;
43
+ goBackToFirstPage(): void;
42
44
  static ɵfac: i0.ɵɵFactoryDeclaration<PryImportListComponent, never>;
43
45
  static ɵcmp: i0.ɵɵComponentDeclaration<PryImportListComponent, "pry-import-list", never, { "refreshClick": { "alias": "refreshClick"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
44
46
  }
@@ -96,8 +96,8 @@ export declare const DataSourceActions: {
96
96
  limit?: number | undefined;
97
97
  offset?: number | undefined;
98
98
  dataset?: string | undefined;
99
- sortBy?: string | undefined;
100
- orderBy?: "ASC" | "DESC" | undefined;
99
+ sortBy?: "asc" | "desc" | undefined;
100
+ orderBy?: "DATE" | "DATASET_NAME" | undefined;
101
101
  dateMin?: string | undefined;
102
102
  dateMax?: string | undefined;
103
103
  status?: string | undefined;
@@ -105,8 +105,8 @@ export declare const DataSourceActions: {
105
105
  limit?: number | undefined;
106
106
  offset?: number | undefined;
107
107
  dataset?: string | undefined;
108
- sortBy?: string | undefined;
109
- orderBy?: "ASC" | "DESC" | undefined;
108
+ sortBy?: "asc" | "desc" | undefined;
109
+ orderBy?: "DATE" | "DATASET_NAME" | undefined;
110
110
  dateMin?: string | undefined;
111
111
  dateMax?: string | undefined;
112
112
  status?: string | undefined;
@@ -73,8 +73,8 @@ export declare class DataSourceEffects {
73
73
  limit?: number | undefined;
74
74
  offset?: number | undefined;
75
75
  dataset?: string | undefined;
76
- sortBy?: string | undefined;
77
- orderBy?: "ASC" | "DESC" | undefined;
76
+ sortBy?: "asc" | "desc" | undefined;
77
+ orderBy?: "DATE" | "DATASET_NAME" | undefined;
78
78
  dateMin?: string | undefined;
79
79
  dateMax?: string | undefined;
80
80
  status?: string | undefined;
@@ -28,8 +28,8 @@ export declare class DataSourceService {
28
28
  limit?: number;
29
29
  offset?: number;
30
30
  dataset?: string;
31
- sortBy?: string;
32
- orderBy?: 'ASC' | 'DESC';
31
+ sortBy?: 'asc' | 'desc';
32
+ orderBy?: 'DATASET_NAME' | 'DATE';
33
33
  dateMin?: string;
34
34
  dateMax?: string;
35
35
  status?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -138,24 +138,54 @@
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",
144
174
  "esm": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
145
175
  "default": "./fesm2022/provoly-dashboard-components-card.mjs"
146
176
  },
147
- "./components/checkbox": {
148
- "types": "./components/checkbox/index.d.ts",
149
- "esm2022": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
150
- "esm": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
151
- "default": "./fesm2022/provoly-dashboard-components-checkbox.mjs"
152
- },
153
177
  "./components/color-picker": {
154
178
  "types": "./components/color-picker/index.d.ts",
155
179
  "esm2022": "./esm2022/components/color-picker/provoly-dashboard-components-color-picker.mjs",
156
180
  "esm": "./esm2022/components/color-picker/provoly-dashboard-components-color-picker.mjs",
157
181
  "default": "./fesm2022/provoly-dashboard-components-color-picker.mjs"
158
182
  },
183
+ "./components/checkbox": {
184
+ "types": "./components/checkbox/index.d.ts",
185
+ "esm2022": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
186
+ "esm": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
187
+ "default": "./fesm2022/provoly-dashboard-components-checkbox.mjs"
188
+ },
159
189
  "./components/data-format": {
160
190
  "types": "./components/data-format/index.d.ts",
161
191
  "esm2022": "./esm2022/components/data-format/provoly-dashboard-components-data-format.mjs",
@@ -210,36 +240,6 @@
210
240
  "esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
211
241
  "default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
212
242
  },
213
- "./filters/autocomplete": {
214
- "types": "./filters/autocomplete/index.d.ts",
215
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
216
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
217
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
218
- },
219
- "./filters/date": {
220
- "types": "./filters/date/index.d.ts",
221
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
222
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
223
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
224
- },
225
- "./filters/list": {
226
- "types": "./filters/list/index.d.ts",
227
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
228
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
229
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
230
- },
231
- "./filters/number": {
232
- "types": "./filters/number/index.d.ts",
233
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
234
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
235
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
236
- },
237
- "./filters/text": {
238
- "types": "./filters/text/index.d.ts",
239
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
240
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
241
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
242
- },
243
243
  "./pipeline-components/filter": {
244
244
  "types": "./pipeline-components/filter/index.d.ts",
245
245
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -8,11 +8,12 @@ import * as i4 from "@angular/forms";
8
8
  import * as i5 from "@angular/cdk/overlay";
9
9
  import * as i6 from "@provoly/dashboard";
10
10
  import * as i7 from "@provoly/dashboard/components/checkbox";
11
+ import * as i8 from "@provoly/dashboard/components/data-format";
11
12
  export declare class WidgetDetailModule extends BaseWidgetModule {
12
13
  private pryTranslateService;
13
14
  constructor(pryTranslateService: PryI18nService);
14
15
  getComponent(): Type<BaseWidgetComponent>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetDetailModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetDetailModule, [typeof i1.WidgetDetailComponent, typeof i2.PryWidgetDetailCssComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.OverlayModule, typeof i6.PryCoreModule, typeof i6.PryDashboardModule, typeof i6.PrySelectModule, typeof i6.PryIconModule, typeof i7.PryCheckboxModule, typeof i6.PryToggleModule, typeof i6.PryI18nModule], [typeof i1.WidgetDetailComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetDetailModule, [typeof i1.WidgetDetailComponent, typeof i2.PryWidgetDetailCssComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.OverlayModule, typeof i6.PryCoreModule, typeof i6.PryDashboardModule, typeof i6.PrySelectModule, typeof i6.PryIconModule, typeof i7.PryCheckboxModule, typeof i6.PryToggleModule, typeof i6.PryI18nModule, typeof i8.PryDataFormatModule], [typeof i1.WidgetDetailComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<WidgetDetailModule>;
18
19
  }