@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.
- package/dataset/i18n/en.translations.d.ts +3 -1
- package/dataset/i18n/fr.translations.d.ts +1 -0
- package/dataset/style/_o-pry-dataset.scss +2 -7
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
- package/esm2022/dataset/components/dataset.component.mjs +3 -2
- package/esm2022/dataset/i18n/en.translations.mjs +4 -2
- package/esm2022/dataset/i18n/fr.translations.mjs +3 -2
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/filters/date/date-filter.component.mjs +24 -8
- package/esm2022/filters/date/date-filter.module.mjs +7 -8
- package/esm2022/filters/date/public-api.mjs +1 -2
- package/esm2022/filters/number/number-filter.component.mjs +5 -4
- package/esm2022/filters/number/number-filter.module.mjs +5 -5
- package/esm2022/filters/text/text-filter.component.mjs +5 -4
- package/esm2022/filters/text/text-filter.module.mjs +5 -5
- package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +40 -0
- package/esm2022/lib/core/components/modal-status/modal-status.module.mjs +28 -0
- package/esm2022/lib/core/core.module.mjs +6 -11
- package/esm2022/lib/core/i18n/en.translations.mjs +4 -1
- package/esm2022/lib/core/i18n/fr.translations.mjs +4 -1
- package/esm2022/lib/core/model/dataset.interface.mjs +1 -1
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/public-api.mjs +3 -4
- package/esm2022/lib/core/store/data-source/data-source.actions.mjs +5 -5
- package/esm2022/lib/core/store/data-source/data-source.effects.mjs +2 -2
- package/esm2022/lib/core/store/data-source/data-source.reducer.mjs +7 -7
- package/esm2022/lib/core/store/data-source/data-source.selectors.mjs +3 -3
- package/esm2022/lib/core/store/data-source/data-source.service.mjs +3 -3
- package/esm2022/lib/dashboard/store/manifest.service.mjs +10 -7
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +8 -8
- package/esm2022/presentation/components/presentation.component.mjs +4 -4
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +33 -0
- package/esm2022/presentation/presentation.module.mjs +28 -11
- package/esm2022/presentation/public-api.mjs +2 -1
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +15 -9
- package/esm2022/restitution/i18n/fr.translations.mjs +2 -2
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/search/search-home/search-home.component.mjs +3 -3
- package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +104 -0
- package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +8 -10
- package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +8 -10
- package/esm2022/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.mjs +7 -9
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +7 -7
- package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +8 -10
- package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +38 -0
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +9 -12
- package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +9 -12
- package/esm2022/toolbox/components/toolbox-action/toolbox-action.component.mjs +26 -0
- package/esm2022/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +44 -0
- package/esm2022/toolbox/components/toolbox.component.mjs +40 -12
- package/esm2022/toolbox/public-api.mjs +6 -1
- package/esm2022/toolbox/style/css.component.mjs +3 -3
- package/esm2022/toolbox/toolbox.model.mjs +59 -0
- package/esm2022/toolbox/toolbox.module.mjs +22 -6
- package/fesm2022/provoly-dashboard-dataset.mjs +12 -8
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-date.mjs +31 -23
- package/fesm2022/provoly-dashboard-filters-date.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-number.mjs +8 -7
- package/fesm2022/provoly-dashboard-filters-number.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-text.mjs +8 -7
- package/fesm2022/provoly-dashboard-filters-text.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +66 -25
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +17 -11
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +2 -2
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +328 -69
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +177 -184
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/filters/date/date-filter.component.d.ts +1 -0
- package/filters/date/date-filter.module.d.ts +5 -6
- package/filters/date/public-api.d.ts +0 -1
- package/filters/number/number-filter.module.d.ts +1 -1
- package/filters/text/text-filter.module.d.ts +1 -1
- package/lib/core/components/{modalStatus/modalStatus.component.d.ts → modal-status/modal-status.component.d.ts} +10 -3
- package/lib/core/components/{modalStatus/modalStatus.module.d.ts → modal-status/modal-status.module.d.ts} +1 -1
- package/lib/core/core.module.d.ts +11 -12
- package/lib/core/i18n/en.translations.d.ts +3 -0
- package/lib/core/i18n/fr.translations.d.ts +3 -0
- package/lib/core/model/dataset.interface.d.ts +11 -4
- package/lib/core/model/manifest.interface.d.ts +1 -0
- package/lib/core/public-api.d.ts +2 -3
- package/lib/core/store/data-source/data-source.actions.d.ts +10 -10
- package/lib/core/store/data-source/data-source.effects.d.ts +4 -4
- package/lib/core/store/data-source/data-source.reducer.d.ts +2 -2
- package/lib/core/store/data-source/data-source.selectors.d.ts +1 -1
- package/lib/core/store/data-source/data-source.service.d.ts +2 -2
- package/lib/dashboard/store/manifest.service.d.ts +1 -0
- package/package.json +1 -1
- package/{lib/core → presentation}/components/title-presentation/title-presentation.component.d.ts +3 -2
- package/presentation/presentation.module.d.ts +4 -3
- package/presentation/public-api.d.ts +1 -0
- package/presentation/style/_o-pry-presentation.scss +42 -1
- package/restitution/components/restitution-list/restitution-list.component.d.ts +5 -5
- package/styles/components/_m-actions-list.scss +1 -0
- package/styles/components/_m-filter.scss +43 -0
- package/styles-theme/components-theme/_m-filter.theme.scss +12 -0
- package/styles-theme/main-theme.scss +2 -0
- package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +29 -0
- package/toolbox/components/clear-view/clear-view.component.d.ts +3 -4
- package/toolbox/components/drag-widgets/drag-widgets.component.d.ts +3 -4
- package/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.d.ts +3 -4
- package/toolbox/components/filter-settings/filter-settings.component.d.ts +3 -3
- package/toolbox/components/launch-tab/launch-tab.component.d.ts +3 -4
- package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +14 -0
- package/toolbox/components/save-view/save-view.component.d.ts +4 -5
- package/toolbox/components/select-grid-layout/select-grid-layout.component.d.ts +4 -5
- package/toolbox/components/toolbox-action/toolbox-action.component.d.ts +12 -0
- package/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.d.ts +17 -0
- package/toolbox/components/toolbox.component.d.ts +18 -3
- package/toolbox/public-api.d.ts +5 -0
- package/toolbox/style/_o-automate-refresh.scss +24 -0
- package/toolbox/style/_o-toolbox.scss +30 -0
- package/toolbox/style/css.component.d.ts +1 -1
- package/toolbox/toolbox.model.d.ts +10 -0
- package/toolbox/toolbox.module.d.ts +22 -18
- package/esm2022/filters/date/style/css.component.mjs +0 -11
- package/esm2022/lib/core/components/modalStatus/modalStatus.component.mjs +0 -35
- package/esm2022/lib/core/components/modalStatus/modalStatus.module.mjs +0 -28
- package/esm2022/lib/core/components/title-presentation/title-presentation.component.mjs +0 -26
- package/filters/date/style/_m-date.scss +0 -6
- package/filters/date/style/css.component.d.ts +0 -5
|
@@ -12,6 +12,7 @@ export declare class DateFilterComponent extends BaseFilterComponent implements
|
|
|
12
12
|
constructor(store: Store);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
setFilter(value: string): void;
|
|
15
|
+
clearDate(index: number): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent, never>;
|
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "pry-date-filter", never, {}, {}, never, never, false, never>;
|
|
17
18
|
}
|
|
@@ -2,14 +2,13 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { BaseFilterComponent, BaseFilterModule } from '@provoly/dashboard';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "./date-filter.component";
|
|
5
|
-
import * as i2 from "
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "@angular/
|
|
8
|
-
import * as i5 from "@
|
|
9
|
-
import * as i6 from "@provoly/dashboard";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
8
|
+
import * as i5 from "@provoly/dashboard";
|
|
10
9
|
export declare class PryDateFilterModule extends BaseFilterModule {
|
|
11
10
|
getComponent(): Type<BaseFilterComponent>;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryDateFilterModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryDateFilterModule, [typeof i1.DateFilterComponent, typeof i2.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryDateFilterModule, [typeof i1.DateFilterComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule, typeof i5.PryI18nModule, typeof i5.PryDatePickerModule, typeof i5.PryIconModule], [typeof i1.DateFilterComponent]>;
|
|
14
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryDateFilterModule>;
|
|
15
14
|
}
|
|
@@ -9,6 +9,6 @@ import * as i5 from "@provoly/dashboard";
|
|
|
9
9
|
export declare class PryNumberFilterModule extends BaseFilterModule {
|
|
10
10
|
getComponent(): Type<BaseFilterComponent>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryNumberFilterModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryNumberFilterModule, [typeof i1.NumberFilterComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule, typeof i5.PryI18nModule], [typeof i1.NumberFilterComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryNumberFilterModule, [typeof i1.NumberFilterComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule, typeof i5.PryI18nModule, typeof i5.PryIconModule], [typeof i1.NumberFilterComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryNumberFilterModule>;
|
|
14
14
|
}
|
|
@@ -9,6 +9,6 @@ import * as i5 from "@provoly/dashboard";
|
|
|
9
9
|
export declare class PryTextFilterModule extends BaseFilterModule {
|
|
10
10
|
getComponent(): Type<BaseFilterComponent>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryTextFilterModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryTextFilterModule, [typeof i1.TextFilterComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule, typeof i5.PryI18nModule], [typeof i1.TextFilterComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryTextFilterModule, [typeof i1.TextFilterComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule, typeof i5.PryI18nModule, typeof i5.PryIconModule], [typeof i1.TextFilterComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryTextFilterModule>;
|
|
14
14
|
}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { DatasetError } from '../../model/dataset.interface';
|
|
5
4
|
import { DatasetVersion } from '../../store/data-source/data-source.model';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class PryModalStatusComponent {
|
|
8
7
|
private store;
|
|
9
8
|
gotoConsult: EventEmitter<DatasetVersion>;
|
|
10
|
-
|
|
9
|
+
datasetPreviews$?: Observable<{
|
|
10
|
+
count: number;
|
|
11
|
+
datasetVersionId: string;
|
|
12
|
+
extractErrorCode: string;
|
|
13
|
+
level: 'ERROR' | 'WARNING';
|
|
14
|
+
name: string;
|
|
15
|
+
recordID: string;
|
|
16
|
+
type: string;
|
|
17
|
+
}[]>;
|
|
11
18
|
_version?: DatasetVersion;
|
|
12
19
|
set version(version: DatasetVersion | undefined);
|
|
13
20
|
constructor(store: Store);
|
|
14
21
|
goBack(): void;
|
|
15
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryModalStatusComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryModalStatusComponent, "pry-
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryModalStatusComponent, "pry-modal-status", never, { "version": { "alias": "version"; "required": false; }; }, { "gotoConsult": "gotoConsult"; }, never, never, false, never>;
|
|
17
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PryI18nService } from '../../i18n/i18n.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./
|
|
3
|
+
import * as i1 from "./modal-status.component";
|
|
4
4
|
import * as i2 from "@angular/common";
|
|
5
5
|
import * as i3 from "../icon/icon.module";
|
|
6
6
|
import * as i4 from "../../i18n/i18n.module";
|
|
@@ -12,17 +12,16 @@ import * as i8 from "./components/nq-color-selector/nq-color-selector.component"
|
|
|
12
12
|
import * as i9 from "./access/access.directive";
|
|
13
13
|
import * as i10 from "./components/upload/upload.component";
|
|
14
14
|
import * as i11 from "./components/select-image/select-image.component";
|
|
15
|
-
import * as i12 from "
|
|
16
|
-
import * as i13 from "@angular/
|
|
17
|
-
import * as i14 from "@angular/
|
|
18
|
-
import * as i15 from "@
|
|
19
|
-
import * as i16 from "@ngrx/
|
|
20
|
-
import * as i17 from "
|
|
21
|
-
import * as i18 from "
|
|
22
|
-
import * as i19 from "
|
|
23
|
-
import * as i20 from "./
|
|
24
|
-
import * as i21 from "./
|
|
25
|
-
import * as i22 from "./components/modalStatus/modalStatus.module";
|
|
15
|
+
import * as i12 from "@angular/common";
|
|
16
|
+
import * as i13 from "@angular/router";
|
|
17
|
+
import * as i14 from "@angular/common/http";
|
|
18
|
+
import * as i15 from "@ngrx/store";
|
|
19
|
+
import * as i16 from "@ngrx/effects";
|
|
20
|
+
import * as i17 from "./components/icon/icon.module";
|
|
21
|
+
import * as i18 from "@angular/cdk/overlay";
|
|
22
|
+
import * as i19 from "./components/overlay/overlay.module";
|
|
23
|
+
import * as i20 from "./i18n/i18n.module";
|
|
24
|
+
import * as i21 from "./components/modal-status/modal-status.module";
|
|
26
25
|
export declare class PryCoreModule {
|
|
27
26
|
private pryTranslateService;
|
|
28
27
|
constructor(pryTranslateService: PryI18nService);
|
|
@@ -31,6 +30,6 @@ export declare class PryCoreModule {
|
|
|
31
30
|
guardProvider?: Provider;
|
|
32
31
|
}): ModuleWithProviders<PryCoreModule>;
|
|
33
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryCoreModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.BaseToolboxActionComponent, typeof i8.PryNqColorSelectorComponent, typeof i9.PryAccessDirective, typeof i10.PryUploadComponent, typeof i11.PrySelectImageComponent
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.BaseToolboxActionComponent, typeof i8.PryNqColorSelectorComponent, typeof i9.PryAccessDirective, typeof i10.PryUploadComponent, typeof i11.PrySelectImageComponent], [typeof i12.CommonModule, typeof i13.RouterModule, typeof i14.HttpClientModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i15.StoreFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i16.EffectsFeatureModule, typeof i17.PryIconModule, typeof i18.OverlayModule, typeof i19.PryOverlayModule, typeof i20.PryI18nModule, typeof i21.PryModalStatusModule], [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i8.PryNqColorSelectorComponent, typeof i9.PryAccessDirective, typeof i10.PryUploadComponent, typeof i11.PrySelectImageComponent]>;
|
|
35
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryCoreModule>;
|
|
36
35
|
}
|
|
@@ -22,8 +22,15 @@ export declare enum GeoMetadata {
|
|
|
22
22
|
KEY = "_geoKey",
|
|
23
23
|
OPACITY = "_geoOpacity"
|
|
24
24
|
}
|
|
25
|
-
export interface
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
export interface DatasetMessage {
|
|
26
|
+
extractErrorCode: string;
|
|
27
|
+
type: string;
|
|
28
|
+
name: string;
|
|
29
|
+
recordID: string;
|
|
30
|
+
datasetVersionId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface DatasetPreview {
|
|
33
|
+
level: 'ERROR' | 'WARNING';
|
|
34
|
+
messages: DatasetMessage[];
|
|
35
|
+
count: number;
|
|
29
36
|
}
|
package/lib/core/public-api.d.ts
CHANGED
|
@@ -107,7 +107,6 @@ export * from './i18n/i18n.service';
|
|
|
107
107
|
export * from './i18n/fr.translations';
|
|
108
108
|
export * from './i18n/en.translations';
|
|
109
109
|
export * from './i18n/deep-merge.function';
|
|
110
|
-
export * from './components/title-presentation/title-presentation.component';
|
|
111
110
|
export * from './errors/http-error-interceptor.service';
|
|
112
|
-
export * from './components/
|
|
113
|
-
export * from './components/
|
|
111
|
+
export * from './components/modal-status/modal-status.component';
|
|
112
|
+
export * from './components/modal-status/modal-status.module';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PryVisibility } from '../../components/share/share.model';
|
|
2
|
-
import { Dataset,
|
|
2
|
+
import { Dataset, DatasetPreview } from '../../model/dataset.interface';
|
|
3
3
|
import { MonoClassSearchPayload } from '../../model/search-mono-class.model';
|
|
4
4
|
import { FullTextSearchPayload, MultiClassSearchPayload } from '../../model/search-multi-class.model';
|
|
5
5
|
import { DatasetVersion, NamedQuery } from './data-source.model';
|
|
@@ -217,22 +217,22 @@ export declare const DataSourceActions: {
|
|
|
217
217
|
}) => {
|
|
218
218
|
error: any;
|
|
219
219
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version failure">>;
|
|
220
|
-
|
|
221
|
-
getById: import("@ngrx/store").ActionCreator<"[Dataset
|
|
220
|
+
previews: {
|
|
221
|
+
getById: import("@ngrx/store").ActionCreator<"[Dataset/Previews] get by id", (props: {
|
|
222
222
|
id: string;
|
|
223
223
|
}) => {
|
|
224
224
|
id: string;
|
|
225
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset
|
|
226
|
-
getByIdSuccess: import("@ngrx/store").ActionCreator<"[Dataset
|
|
227
|
-
|
|
225
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id">>;
|
|
226
|
+
getByIdSuccess: import("@ngrx/store").ActionCreator<"[Dataset/Previews] get by id Success", (props: {
|
|
227
|
+
previews: DatasetPreview[];
|
|
228
228
|
}) => {
|
|
229
|
-
|
|
230
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset
|
|
231
|
-
getByIdFailure: import("@ngrx/store").ActionCreator<"[Dataset
|
|
229
|
+
previews: DatasetPreview[];
|
|
230
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id Success">>;
|
|
231
|
+
getByIdFailure: import("@ngrx/store").ActionCreator<"[Dataset/Previews] get by id Failure", (props: {
|
|
232
232
|
error: any;
|
|
233
233
|
}) => {
|
|
234
234
|
error: any;
|
|
235
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset
|
|
235
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id Failure">>;
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
};
|
|
@@ -96,11 +96,11 @@ export declare class DataSourceEffects {
|
|
|
96
96
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version success">) | ({
|
|
97
97
|
error: any;
|
|
98
98
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset
|
|
99
|
+
previewsGetById$: import("rxjs").Observable<({
|
|
100
|
+
previews: import("../../model/dataset.interface").DatasetPreview[];
|
|
101
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id Success">) | ({
|
|
102
102
|
error: any;
|
|
103
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dataset
|
|
103
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
104
104
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceEffects, never>;
|
|
105
105
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataSourceEffects>;
|
|
106
106
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dataset,
|
|
1
|
+
import { Dataset, DatasetPreview } from '../../model/dataset.interface';
|
|
2
2
|
import { DatasetVersion, NamedQuery } from './data-source.model';
|
|
3
3
|
export declare const dataSourceFeatureKey = "@pry/datasources";
|
|
4
4
|
export interface DataSourceState {
|
|
@@ -15,7 +15,7 @@ export interface DataSourceState {
|
|
|
15
15
|
error?: Error;
|
|
16
16
|
datasetVersions: DatasetVersion[];
|
|
17
17
|
selectedDatasetVersion: DatasetVersion | null;
|
|
18
|
-
|
|
18
|
+
previews: DatasetPreview[];
|
|
19
19
|
}
|
|
20
20
|
export declare const initialDataSourceState: DataSourceState;
|
|
21
21
|
export declare const dataSourceReducer: import("@ngrx/store").ActionReducer<DataSourceState, import("@ngrx/store").Action>;
|
|
@@ -27,5 +27,5 @@ export declare const DataSourceSelectors: {
|
|
|
27
27
|
datasetVersions: MemoizedSelector<object, DatasetVersion[], (s1: DataSourceState) => DatasetVersion[]>;
|
|
28
28
|
selectedDatasetId: MemoizedSelector<object, string | undefined, (s1: DataSourceState) => string | undefined>;
|
|
29
29
|
matchingDatasetVersions: (datasetId: string) => MemoizedSelector<any, DatasetVersion[], import("@ngrx/store").DefaultProjectorFn<DatasetVersion[]>>;
|
|
30
|
-
|
|
30
|
+
datasetPreviews: MemoizedSelector<object, import("@provoly/dashboard").DatasetPreview[], (s1: DataSourceState) => import("@provoly/dashboard").DatasetPreview[]>;
|
|
31
31
|
};
|
|
@@ -3,7 +3,7 @@ import { Store } from '@ngrx/store';
|
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { PryI18nService } from '../../i18n/i18n.service';
|
|
5
5
|
import { DatasetMetadata } from '../../model/admin-api.model';
|
|
6
|
-
import { Dataset,
|
|
6
|
+
import { Dataset, DatasetPreview } from '../../model/dataset.interface';
|
|
7
7
|
import { ConfigState } from '../config/config.reducer';
|
|
8
8
|
import { DatasetVersion, NamedQuery } from './data-source.model';
|
|
9
9
|
import { DataSourceState } from './data-source.reducer';
|
|
@@ -32,7 +32,7 @@ export declare class DataSourceService {
|
|
|
32
32
|
addDatasetMetadata(datasetId: string, metadataId: string, value: any): Observable<void>;
|
|
33
33
|
deleteDatasetMetadata(datasetId: string, metadataId: string): Observable<void>;
|
|
34
34
|
getDatasetVersions(): Observable<DatasetVersion[]>;
|
|
35
|
-
|
|
35
|
+
getPreviews(id: string): Observable<DatasetPreview[]>;
|
|
36
36
|
deactivateDatasetVersion(versionId: string): Observable<DatasetVersion>;
|
|
37
37
|
activateDatasetVersion(versionId: string): Observable<DatasetVersion>;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceService, never>;
|
|
@@ -21,6 +21,7 @@ export declare class ManifestService {
|
|
|
21
21
|
}>;
|
|
22
22
|
delete(id: string): Observable<void>;
|
|
23
23
|
default(id: string): Observable<boolean>;
|
|
24
|
+
static getDatasourcesUsedByManifest(manifest: GlobalManifest): (string | undefined)[];
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManifestService, never>;
|
|
25
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<ManifestService>;
|
|
26
27
|
}
|
package/package.json
CHANGED
package/{lib/core → presentation}/components/title-presentation/title-presentation.component.d.ts
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { PryI18nService } from '
|
|
3
|
+
import { ManifestDescription, PryI18nService } from '@provoly/dashboard';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PryTitlePresentationComponent {
|
|
6
6
|
private store;
|
|
7
7
|
private i18nService;
|
|
8
|
-
|
|
8
|
+
presentation$: Observable<ManifestDescription | null>;
|
|
9
|
+
presentationTitle$: Observable<string | null>;
|
|
9
10
|
constructor(store: Store, i18nService: PryI18nService);
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryTitlePresentationComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryTitlePresentationComponent, "pry-title-presentation", never, {}, {}, never, never, false, never>;
|
|
@@ -2,17 +2,18 @@ import { PryI18nService } from '@provoly/dashboard';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./components/presentation.component";
|
|
4
4
|
import * as i2 from "./components/add-edit-presentation/add-edit-presentation.component";
|
|
5
|
-
import * as i3 from "./
|
|
6
|
-
import * as i4 from "
|
|
5
|
+
import * as i3 from "./components/title-presentation/title-presentation.component";
|
|
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
9
|
import * as i7 from "@provoly/dashboard/components/sinceDate";
|
|
10
10
|
import * as i8 from "@provoly/dashboard/toolbox";
|
|
11
11
|
import * as i9 from "@provoly/dashboard/components/checkbox";
|
|
12
|
+
import * as i10 from "@angular/common";
|
|
12
13
|
export declare class PryPresentationModule {
|
|
13
14
|
private pryTranslateService;
|
|
14
15
|
constructor(pryTranslateService: PryI18nService);
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.
|
|
17
|
+
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 i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryPresentationModule>;
|
|
18
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './presentation.module';
|
|
2
2
|
export * from './components/presentation.component';
|
|
3
3
|
export * from './components/add-edit-presentation/add-edit-presentation.component';
|
|
4
|
+
export * from './components/title-presentation/title-presentation.component';
|
|
4
5
|
export * from './style/css.component';
|
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
/* Organism - pry-presentation */
|
|
4
4
|
|
|
5
|
+
.o-manifest-layout__toolbox {
|
|
6
|
+
height: toRem(84);
|
|
7
|
+
|
|
8
|
+
div:first-child {
|
|
9
|
+
margin-left: auto;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
5
13
|
.o-manifest-layout__content {
|
|
6
14
|
height: 100%;
|
|
7
15
|
|
|
@@ -28,6 +36,12 @@
|
|
|
28
36
|
padding: toRem(4) toRem(4) toRem(20) toRem(4);
|
|
29
37
|
overflow-y: auto;
|
|
30
38
|
|
|
39
|
+
.a-h3 {
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
}
|
|
44
|
+
|
|
31
45
|
&__item {
|
|
32
46
|
display: flex;
|
|
33
47
|
flex-direction: column;
|
|
@@ -127,7 +141,7 @@
|
|
|
127
141
|
|
|
128
142
|
.description-tooltip {
|
|
129
143
|
position: absolute;
|
|
130
|
-
width:
|
|
144
|
+
max-width: 50vw;
|
|
131
145
|
visibility: hidden;
|
|
132
146
|
background-color: #fff;
|
|
133
147
|
padding: 20px;
|
|
@@ -142,3 +156,30 @@
|
|
|
142
156
|
transition: opacity 0.2s ease;
|
|
143
157
|
opacity: 1;
|
|
144
158
|
}
|
|
159
|
+
|
|
160
|
+
.title-tooltip {
|
|
161
|
+
transform: translateY(4rem);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
h1.a-presentation-title {
|
|
165
|
+
font-size: 16px;
|
|
166
|
+
padding-right: 20px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.title-container {
|
|
170
|
+
display: flex;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.info-icon {
|
|
174
|
+
position: relative;
|
|
175
|
+
width: 1.5rem;
|
|
176
|
+
height: 1.5rem;
|
|
177
|
+
border-radius: 50%;
|
|
178
|
+
background-color: #ccc;
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
display: inline-flex;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
align-items: center;
|
|
183
|
+
align-self: center;
|
|
184
|
+
margin-right: 1rem;
|
|
185
|
+
}
|
|
@@ -8,6 +8,9 @@ export declare class PryRestitutionListComponent extends SubscriptionnerDirectiv
|
|
|
8
8
|
private toolboxManifestService;
|
|
9
9
|
private store;
|
|
10
10
|
showTabs: boolean;
|
|
11
|
+
get customModels(): string[];
|
|
12
|
+
set customModels(models: string[]);
|
|
13
|
+
private _customModels;
|
|
11
14
|
search$: BehaviorSubject<string>;
|
|
12
15
|
type$: BehaviorSubject<string | undefined>;
|
|
13
16
|
filteredWidgets$: Observable<CatalogEntry[]>;
|
|
@@ -21,10 +24,7 @@ export declare class PryRestitutionListComponent extends SubscriptionnerDirectiv
|
|
|
21
24
|
selectedRestitution: Widget | null;
|
|
22
25
|
mode: typeof ViewMode;
|
|
23
26
|
selectedMode: ViewMode;
|
|
24
|
-
categories:
|
|
25
|
-
label: string;
|
|
26
|
-
color: string;
|
|
27
|
-
}[];
|
|
27
|
+
categories: string[];
|
|
28
28
|
categoryOpened: string;
|
|
29
29
|
PryVisibilityType: typeof PryVisibilityType;
|
|
30
30
|
constructor(toolboxMenuService: ToolboxMenuService, translateService: PryI18nService, toolboxManifestService: ToolboxManifestService, store: Store);
|
|
@@ -33,5 +33,5 @@ export declare class PryRestitutionListComponent extends SubscriptionnerDirectiv
|
|
|
33
33
|
closeRestitution(): void;
|
|
34
34
|
toggle(category: string): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionListComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListComponent, "pry-catalog", never, { "showTabs": { "alias": "showTabs"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListComponent, "pry-catalog", never, { "showTabs": { "alias": "showTabs"; "required": false; }; "customModels": { "alias": "customModels"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
2
|
|
|
3
|
+
/* Molecule m-filter */
|
|
4
|
+
|
|
5
|
+
.m-filter {
|
|
6
|
+
&__wrapper {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
.m-filter__wrapper:first-child {
|
|
12
|
+
margin-right: toRem(5);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__clear-wrapper {
|
|
17
|
+
position: absolute;
|
|
18
|
+
bottom: toRem(8);
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
-webkit-user-select: none;
|
|
21
|
+
user-select: none;
|
|
22
|
+
|
|
23
|
+
&--number {
|
|
24
|
+
right: toRem(35);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&--text {
|
|
28
|
+
right: toRem(20);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&--date {
|
|
32
|
+
right: toRem(35);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__clear {
|
|
37
|
+
display: inline-block;
|
|
38
|
+
font-size: toRem(18);
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
transform: scale(1, 0.75);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
3
46
|
pry-filter-instanciator {
|
|
4
47
|
display: flex;
|
|
5
48
|
justify-content: space-around;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@use 'components-theme/a-toggle.theme' as *;
|
|
15
15
|
@use 'components-theme/a-expandable-value.theme' as *;
|
|
16
16
|
|
|
17
|
+
|
|
17
18
|
/* Atoms lib */
|
|
18
19
|
@use 'components-theme/a-pry-select.theme' as *;
|
|
19
20
|
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
@use 'components-theme/m-btn-sorttable.theme' as *;
|
|
22
23
|
@use 'components-theme/m-choose-widget.theme' as *;
|
|
23
24
|
@use 'components-theme/m-context-menu.theme' as *;
|
|
25
|
+
@use 'components-theme/m-filter.theme' as *;
|
|
24
26
|
@use 'components-theme/m-metadata-tag.theme' as *;
|
|
25
27
|
@use 'components-theme/m-minus-plus.theme' as *;
|
|
26
28
|
@use 'components-theme/m-nav-links.theme' as *;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AutomateRefreshComponent extends ToolboxActionComponent implements OnInit {
|
|
8
|
+
private overlay;
|
|
9
|
+
private viewContainerRef;
|
|
10
|
+
datasourceList: TemplateRef<any>;
|
|
11
|
+
refreshRateList: TemplateRef<any>;
|
|
12
|
+
refreshRates: number[];
|
|
13
|
+
datasources$: Observable<string[]>;
|
|
14
|
+
refreshRates$: Observable<{
|
|
15
|
+
[p: string]: number;
|
|
16
|
+
}>;
|
|
17
|
+
selectedDatasourceId: string;
|
|
18
|
+
private overlayRefDatasourceList?;
|
|
19
|
+
private overlayRefRefreshList?;
|
|
20
|
+
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
toggleDatasourceList(): void;
|
|
23
|
+
hide(overlayRef: OverlayRef | undefined): void;
|
|
24
|
+
toggleRefreshRateList(datasourceId: string, templateIndex: number): void;
|
|
25
|
+
selectDatasource(id: string): void;
|
|
26
|
+
toggleRefreshRate(rate: number): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutomateRefreshComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutomateRefreshComponent, "pry-automate-refresh", never, {}, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -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 ClearViewComponent {
|
|
4
|
-
private store;
|
|
5
|
-
label: boolean;
|
|
4
|
+
export declare class ClearViewComponent extends ToolboxActionComponent {
|
|
6
5
|
constructor(store: Store);
|
|
7
6
|
clear(): void;
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClearViewComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClearViewComponent, "pry-clear-view", never, {
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClearViewComponent, "pry-clear-view", never, {}, {}, never, never, false, never>;
|
|
10
9
|
}
|
|
@@ -2,12 +2,11 @@ import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { ToolboxManifestService, ToolboxMenuService, WidgetDescriptionMenu } from '@provoly/dashboard';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DragWidgetsComponent {
|
|
7
|
-
private store;
|
|
7
|
+
export declare class DragWidgetsComponent extends ToolboxActionComponent {
|
|
8
8
|
private toolboxManifestService;
|
|
9
9
|
toolboxMenuService: ToolboxMenuService;
|
|
10
|
-
labels: boolean;
|
|
11
10
|
mainOpened: boolean;
|
|
12
11
|
readonly connectedPosition: ConnectedPosition;
|
|
13
12
|
menu$: Observable<WidgetDescriptionMenu[]>;
|
|
@@ -15,5 +14,5 @@ export declare class DragWidgetsComponent {
|
|
|
15
14
|
dragStart($event: DragEvent, type: string): void;
|
|
16
15
|
openMenu($event: Event): void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragWidgetsComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DragWidgetsComponent, "pry-drag-widgets", never, {
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DragWidgetsComponent, "pry-drag-widgets", never, {}, {}, never, never, false, never>;
|
|
19
18
|
}
|