@provoly/dashboard 1.2.5 → 1.2.7
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/components/color-picker/color-picker.component.d.ts +1 -1
- package/dataset/components/dataset-detail/dataset-detail.component.d.ts +1 -1
- package/dataset/style/_o-pry-dataset-card.scss +7 -3
- package/esm2022/components/color-picker/color-picker.component.mjs +2 -2
- package/esm2022/components/scheme-picker/scheme-picker.component.mjs +2 -5
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +8 -6
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/components/share/access-rights-share-modal/access-rights-share-modal.component.mjs +9 -5
- package/esm2022/lib/core/i18n/en.translations.mjs +4 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +4 -2
- package/esm2022/lib/core/model/display-options.interface.mjs +7 -4
- package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
- package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +3 -1
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +25 -57
- package/esm2022/presentation/components/presentation.component.mjs +12 -13
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +4 -7
- package/esm2022/presentation/presentation.module.mjs +10 -14
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +2 -2
- package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +2 -2
- package/esm2022/toolbox/components/dashboard-details/dashboard-details.component.mjs +4 -4
- package/esm2022/toolbox/components/delete/delete.component.mjs +2 -2
- package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +2 -2
- package/esm2022/toolbox/components/edit-mode-action/edit-mode-action.component.mjs +2 -2
- package/esm2022/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.mjs +2 -2
- package/esm2022/toolbox/components/edit-presentation/edit-presentation.component.mjs +64 -0
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +2 -2
- package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +2 -2
- package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +2 -2
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +7 -15
- package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +2 -2
- package/esm2022/toolbox/components/share/share.component.mjs +2 -2
- package/esm2022/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.mjs +2 -2
- package/esm2022/toolbox/components/toolbox.component.mjs +16 -9
- package/esm2022/toolbox/public-api.mjs +5 -3
- package/esm2022/toolbox/shared/presentation-form/presentation-form.component.mjs +97 -0
- package/esm2022/toolbox/shared/toolbox-action/toolbox-action.component.mjs +44 -0
- package/esm2022/toolbox/shared/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +58 -0
- package/esm2022/toolbox/style/css.component.mjs +2 -2
- package/esm2022/toolbox/toolbox.model.mjs +13 -5
- package/esm2022/toolbox/toolbox.module.mjs +21 -10
- package/esm2022/widgets/widget-analytic/component/widget-analytic.component.mjs +2 -2
- package/esm2022/widgets/widget-analytic/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +19 -14
- package/fesm2022/provoly-dashboard-components-color-picker.mjs +1 -1
- package/fesm2022/provoly-dashboard-components-color-picker.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +1 -4
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +11 -9
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +50 -87
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +2 -2
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +205 -55
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs +3 -3
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +18 -13
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +24 -12
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +2 -0
- package/lib/core/i18n/fr.translations.d.ts +2 -0
- package/lib/core/model/display-options.interface.d.ts +1 -0
- package/lib/dashboard/filter/style/_o-pry-filter-group.scss +0 -4
- package/lib/dashboard/store/dashboard.selectors.d.ts +1 -0
- package/package.json +31 -31
- package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +14 -21
- package/presentation/components/presentation.component.d.ts +7 -8
- package/presentation/style/_o-pry-new-presentation.scss +9 -10
- package/presentation/style/_o-pry-presentation.scss +1 -3
- package/styles/base/_utils.scss +3 -0
- package/styles/components/_a-btn.scss +4 -0
- package/styles/components/_m-actions-list.scss +5 -1
- package/styles/components/_m-presentation-title.scss +1 -5
- package/styles/components/_o-widget.scss +5 -6
- package/styles/layout/_o-workspace.scss +4 -21
- package/styles-theme/components-theme/_a-btn.theme.scss +16 -0
- package/styles-theme/main-theme.scss +0 -2
- package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +1 -1
- package/toolbox/components/clear-view/clear-view.component.d.ts +1 -1
- package/toolbox/components/dashboard-details/dashboard-details.component.d.ts +1 -1
- package/toolbox/components/delete/delete.component.d.ts +1 -1
- package/toolbox/components/drag-widgets/drag-widgets.component.d.ts +1 -1
- package/toolbox/components/edit-mode-action/edit-mode-action.component.d.ts +1 -1
- package/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.d.ts +1 -1
- package/toolbox/components/edit-presentation/edit-presentation.component.d.ts +22 -0
- package/toolbox/components/filter-settings/filter-settings.component.d.ts +1 -1
- package/toolbox/components/launch-tab/launch-tab.component.d.ts +1 -1
- package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +1 -1
- package/toolbox/components/save-view/save-view.component.d.ts +5 -6
- package/toolbox/components/select-grid-layout/select-grid-layout.component.d.ts +1 -1
- package/toolbox/components/share/share.component.d.ts +1 -1
- package/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.d.ts +1 -1
- package/toolbox/components/toolbox.component.d.ts +3 -2
- package/toolbox/public-api.d.ts +4 -2
- package/toolbox/shared/presentation-form/presentation-form.component.d.ts +42 -0
- package/toolbox/style/_o-dashboard-details.component.scss +0 -13
- package/toolbox/toolbox.model.d.ts +1 -1
- package/toolbox/toolbox.module.d.ts +14 -12
- package/widgets/widget-analytic/style/_o-widget-analytic.scss +2 -0
- package/widgets/widget-map/component/widget-map.component.d.ts +1 -3
- package/esm2022/toolbox/components/toolbox-action/toolbox-action.component.mjs +0 -46
- package/esm2022/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +0 -58
- package/styles-theme/layout-theme/_o-workspace.theme.scss +0 -18
- /package/toolbox/{components → shared}/toolbox-action/toolbox-action.component.d.ts +0 -0
- /package/toolbox/{components → shared}/toolbox-action-instanciator/toolbox-action-instanciator.component.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
2
|
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
|
-
import {
|
|
4
|
+
import { PryBaseAccess, ViewMode } from '@provoly/dashboard';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { ToolboxActionComponent } from '
|
|
6
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
7
|
+
import { PresentationFormValue } from '../../shared/presentation-form/presentation-form.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class SaveViewComponent extends ToolboxActionComponent {
|
|
9
10
|
private overlay;
|
|
@@ -24,13 +25,14 @@ export declare class SaveViewComponent extends ToolboxActionComponent {
|
|
|
24
25
|
accessRightsByGroup: {
|
|
25
26
|
[key: string]: string[];
|
|
26
27
|
};
|
|
27
|
-
type: LibraryTypes;
|
|
28
28
|
saveTypeOpened: boolean;
|
|
29
29
|
isCurrentPresentationModified$: Observable<boolean>;
|
|
30
30
|
nbPages: number;
|
|
31
31
|
initialNbPages: number;
|
|
32
32
|
hasInitial: boolean;
|
|
33
33
|
ViewMode: typeof ViewMode;
|
|
34
|
+
formValue?: Partial<PresentationFormValue>;
|
|
35
|
+
isFormValid: boolean;
|
|
34
36
|
constructor(store: Store, access: PryBaseAccess, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
35
37
|
toggleSaveAs(): void;
|
|
36
38
|
save(): void;
|
|
@@ -38,10 +40,7 @@ export declare class SaveViewComponent extends ToolboxActionComponent {
|
|
|
38
40
|
changeAccessRights($event: {
|
|
39
41
|
[key: string]: string[];
|
|
40
42
|
}): void;
|
|
41
|
-
changeValue($event: string): void;
|
|
42
|
-
changeDescr($event: string): void;
|
|
43
43
|
openSaveAs(): void;
|
|
44
|
-
isValid(): boolean | "" | undefined;
|
|
45
44
|
toggleDirectSaveType(): void;
|
|
46
45
|
get mustOpenModal(): boolean;
|
|
47
46
|
directSave(): void;
|
|
@@ -3,7 +3,7 @@ import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { AutomaticGridLayoutDefinition, PryBaseAccess } from '@provoly/dashboard';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { ToolboxActionComponent } from '
|
|
6
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SelectGridLayoutComponent extends ToolboxActionComponent {
|
|
9
9
|
private overlay;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess, PryDialogService } from '@provoly/dashboard';
|
|
3
|
-
import { ToolboxActionComponent } from '
|
|
3
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ShareComponent extends ToolboxActionComponent {
|
|
6
6
|
private dialog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
3
|
-
import { ToolboxActionComponent } from '
|
|
3
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SwitchToEditContentComponent extends ToolboxActionComponent {
|
|
6
6
|
constructor(store: Store, access: PryBaseAccess);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { DisplayOptions, PryBaseAccess } from '@provoly/dashboard';
|
|
3
|
+
import { DisplayOptions, ManifestDescription, PryBaseAccess } from '@provoly/dashboard';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { ToolboxAction } from '../toolbox.model';
|
|
6
6
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
@@ -23,7 +23,7 @@ export declare class ToolboxComponent implements OnInit {
|
|
|
23
23
|
isDropdownOpen: boolean;
|
|
24
24
|
actionsAvailable$: Observable<DisplayOptions | undefined>;
|
|
25
25
|
showEditToggle$: Observable<boolean>;
|
|
26
|
-
private
|
|
26
|
+
private currentManifest$;
|
|
27
27
|
set actions(actions: ToolboxAction[]);
|
|
28
28
|
set dropdownActions(dropdownActions: {
|
|
29
29
|
name: string;
|
|
@@ -34,6 +34,7 @@ export declare class ToolboxComponent implements OnInit {
|
|
|
34
34
|
openDropdown($event: Event): void;
|
|
35
35
|
closeDropdown($event: Event | void): void;
|
|
36
36
|
getOrder(actionName: string): number | undefined;
|
|
37
|
+
isActionVisible(action: ToolboxAction, manifest: ManifestDescription | undefined): boolean;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxComponent, [null, { optional: true; }]>;
|
|
38
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxComponent, "pry-toolbox", never, { "displayLabels": { "alias": "displayLabels"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "dropdownActions": { "alias": "dropdownActions"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
40
|
}
|
package/toolbox/public-api.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ export * from './toolbox.module';
|
|
|
2
2
|
export * from './toolbox.model';
|
|
3
3
|
export * from './style/css.component';
|
|
4
4
|
export * from './components/toolbox.component';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
5
|
+
export * from './shared/toolbox-action/toolbox-action.component';
|
|
6
|
+
export * from './shared/toolbox-action-instanciator/toolbox-action-instanciator.component';
|
|
7
|
+
export * from './shared/presentation-form/presentation-form.component';
|
|
7
8
|
export * from './components/automate-refresh/automate-refresh.component';
|
|
8
9
|
export * from './components/clear-view/clear-view.component';
|
|
9
10
|
export * from './components/dashboard-details/dashboard-details.component';
|
|
@@ -19,3 +20,4 @@ export * from './components/select-grid-layout/select-grid-layout.component';
|
|
|
19
20
|
export * from './components/share/share.component';
|
|
20
21
|
export * from './components/switch-to-edit-content/switch-to-edit-content.component';
|
|
21
22
|
export * from './components/edit-mode-action/edit-mode-action.component';
|
|
23
|
+
export * from './components/edit-presentation/edit-presentation.component';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { AbstractControl, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { LibraryTypes, ManifestDescription, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
3
|
+
import { AfterViewInit, OnInit } from '@angular/core';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { Store } from '@ngrx/store';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface PresentationForm {
|
|
8
|
+
name: FormControl<string | undefined>;
|
|
9
|
+
description: FormControl<string | undefined | null>;
|
|
10
|
+
theme: FormControl<string | undefined | null>;
|
|
11
|
+
additionalInformation: FormControl<string | undefined | null>;
|
|
12
|
+
}
|
|
13
|
+
export interface PresentationFormValue {
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
theme?: string;
|
|
17
|
+
additionalInformation?: string;
|
|
18
|
+
image: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class PresentationFormComponent extends SubscriptionnerDirective implements OnInit, AfterViewInit {
|
|
21
|
+
protected store: Store;
|
|
22
|
+
form: FormGroup<PresentationForm>;
|
|
23
|
+
image: string;
|
|
24
|
+
type: LibraryTypes;
|
|
25
|
+
possibleThemes: string[];
|
|
26
|
+
mode: 'theme' | 'meta';
|
|
27
|
+
themePrefix: string | null;
|
|
28
|
+
selectedPresentation$: BehaviorSubject<ManifestDescription | undefined>;
|
|
29
|
+
set selectedPresentation(presentation: ManifestDescription | undefined);
|
|
30
|
+
formValue: BehaviorSubject<Partial<PresentationFormValue> | undefined>;
|
|
31
|
+
isFormValid: BehaviorSubject<boolean>;
|
|
32
|
+
constructor(store: Store);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
get name(): AbstractControl<string | undefined>;
|
|
36
|
+
get description(): AbstractControl<string | undefined | null>;
|
|
37
|
+
get theme(): AbstractControl<string | undefined | null>;
|
|
38
|
+
get additionalInformation(): AbstractControl<string | undefined | null>;
|
|
39
|
+
getFormValue(): Partial<PresentationFormValue>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationFormComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationFormComponent, "pry-presentation-form", never, { "mode": { "alias": "mode"; "required": false; }; "themePrefix": { "alias": "themePrefix"; "required": false; }; "selectedPresentation": { "alias": "selectedPresentation"; "required": false; }; }, { "formValue": "formValue"; "isFormValid": "isFormValid"; }, never, never, false, never>;
|
|
42
|
+
}
|
|
@@ -4,19 +4,6 @@
|
|
|
4
4
|
@use '../../styles-theme/abstracts-theme/variables.theme' as *;
|
|
5
5
|
@use '../../styles/components/o-text-panel' as *;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
.o-dashboard-details {
|
|
9
|
-
&.a-btn {
|
|
10
|
-
gap: toRem(8);
|
|
11
|
-
|
|
12
|
-
&:hover {
|
|
13
|
-
@include changeBgColor(
|
|
14
|
-
$targetBgColor: themed($theme-map, 'color', 'primary', 300)
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
7
|
#dashboard-details-panel {
|
|
21
8
|
background-color: themed($theme-map, 'color', 'primary', 50);
|
|
22
9
|
box-shadow: themed($theme-map, 'decoration', 'shadow', 'modal');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { PryAccessCheck } from '@provoly/dashboard';
|
|
3
|
-
import { ToolboxActionComponent } from './
|
|
3
|
+
import { ToolboxActionComponent } from './shared/toolbox-action/toolbox-action.component';
|
|
4
4
|
export interface ToolboxAction {
|
|
5
5
|
name: string;
|
|
6
6
|
component: Type<ToolboxActionComponent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./
|
|
2
|
+
import * as i1 from "./shared/toolbox-action/toolbox-action.component";
|
|
3
|
+
import * as i2 from "./shared/toolbox-action-instanciator/toolbox-action-instanciator.component";
|
|
4
4
|
import * as i3 from "./components/clear-view/clear-view.component";
|
|
5
5
|
import * as i4 from "./components/drag-widgets/drag-widgets.component";
|
|
6
6
|
import * as i5 from "./components/edit-mode-toggle/edit-mode-toggle.component";
|
|
@@ -18,17 +18,19 @@ import * as i16 from "./components/share/share.component";
|
|
|
18
18
|
import * as i17 from "./components/delete/delete.component";
|
|
19
19
|
import * as i18 from "./components/dashboard-details/dashboard-details.component";
|
|
20
20
|
import * as i19 from "./components/edit-mode-action/edit-mode-action.component";
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "@angular/
|
|
24
|
-
import * as i23 from "@
|
|
25
|
-
import * as i24 from "@
|
|
26
|
-
import * as i25 from "@provoly/dashboard
|
|
27
|
-
import * as i26 from "@
|
|
28
|
-
import * as i27 from "@
|
|
29
|
-
import * as i28 from "@
|
|
21
|
+
import * as i20 from "./components/edit-presentation/edit-presentation.component";
|
|
22
|
+
import * as i21 from "./shared/presentation-form/presentation-form.component";
|
|
23
|
+
import * as i22 from "@angular/common";
|
|
24
|
+
import * as i23 from "@angular/forms";
|
|
25
|
+
import * as i24 from "@angular/cdk/overlay";
|
|
26
|
+
import * as i25 from "@provoly/dashboard";
|
|
27
|
+
import * as i26 from "@provoly/dashboard/components/checkbox";
|
|
28
|
+
import * as i27 from "@provoly/dashboard/components/stepper";
|
|
29
|
+
import * as i28 from "@angular/cdk/drag-drop";
|
|
30
|
+
import * as i29 from "@angular/cdk/a11y";
|
|
31
|
+
import * as i30 from "@provoly/dashboard/components/text-editor";
|
|
30
32
|
export declare class PryToolboxModule {
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryToolboxModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent], [typeof
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent, typeof i20.EditPresentationComponent, typeof i21.PresentationFormComponent], [typeof i22.CommonModule, typeof i23.FormsModule, typeof i24.OverlayModule, typeof i25.PryOverlayModule, typeof i25.PryCoreModule, typeof i25.PryDashboardModule, typeof i25.PrySelectModule, typeof i25.PryIconModule, typeof i26.PryCheckboxModule, typeof i25.PryToggleModule, typeof i27.PryStepperModule, typeof i25.PryShareModule, typeof i25.PryI18nModule, typeof i28.CdkDropList, typeof i28.CdkDrag, typeof i28.CdkDragHandle, typeof i29.A11yModule, typeof i30.PryTextEditorModule, typeof i23.ReactiveFormsModule], [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent, typeof i20.EditPresentationComponent, typeof i21.PresentationFormComponent]>;
|
|
33
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryToolboxModule>;
|
|
34
36
|
}
|
|
@@ -180,9 +180,8 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
180
180
|
get mapLayers(): BaseLayer[];
|
|
181
181
|
get rightSlideLayers(): BaseLayer[];
|
|
182
182
|
get leftSlideLayers(): BaseLayer[];
|
|
183
|
-
hideAllLayersInGroup(group: LayerGroup): void;
|
|
184
183
|
changeVisibility(group: LayerGroup, _layer?: MapWidgetLayerOptions): void;
|
|
185
|
-
isLayerVisible(layer: MapWidgetLayerOptions, group?: LayerGroup): boolean;
|
|
184
|
+
isLayerVisible(layer: MapWidgetLayerOptions, group?: LayerGroup): boolean | undefined;
|
|
186
185
|
changeAutoLayer($event: any): void;
|
|
187
186
|
get layerVisibleIdx(): number;
|
|
188
187
|
ngOnDestroy(): void;
|
|
@@ -201,7 +200,6 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
201
200
|
private clearLayers;
|
|
202
201
|
addLayerGroup(): void;
|
|
203
202
|
updateLayerGroup(name: string, newName?: string, singleLayer?: boolean, visibleLayers?: string[]): void;
|
|
204
|
-
updateLayerGroupTitle($event: Event, name: string): void;
|
|
205
203
|
deleteLayerGroup(name: string): void;
|
|
206
204
|
drop(event: CdkDragDrop<MapWidgetLayerOptions[]>, group: LayerGroup): void;
|
|
207
205
|
moveLayerBetweenGroups(movedLayer: MapWidgetLayerOptions, newGroup: string): void;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
|
|
2
|
-
import { DashboardSelectors, PRY_ACCESS_TOKEN, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
3
|
-
import { map, of, switchMap } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@ngrx/store";
|
|
6
|
-
import * as i2 from "@provoly/dashboard";
|
|
7
|
-
export class ToolboxActionComponent extends SubscriptionnerDirective {
|
|
8
|
-
constructor(store, access) {
|
|
9
|
-
super();
|
|
10
|
-
this.store = store;
|
|
11
|
-
this.access = access;
|
|
12
|
-
this.displayLabels = true;
|
|
13
|
-
this.closeOptions = new EventEmitter();
|
|
14
|
-
this.currentManifest$ = this.store
|
|
15
|
-
.select(DashboardSelectors.presentation)
|
|
16
|
-
.pipe(map((manifest) => manifest?.current));
|
|
17
|
-
this.canModify$ = this.currentManifest$.pipe(switchMap((manifest) => {
|
|
18
|
-
return manifest ? this.access?.canModifyPresentation(manifest) : of(false);
|
|
19
|
-
}));
|
|
20
|
-
this.subscriptions.add(this.currentManifest$.subscribe((manifest) => {
|
|
21
|
-
this.currentManifest = manifest;
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
close() {
|
|
25
|
-
this.closeOptions.emit();
|
|
26
|
-
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ToolboxActionComponent, deps: [{ token: i1.Store }, { token: PRY_ACCESS_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: ToolboxActionComponent, selector: "pry-toolbox-action", inputs: { displayLabels: "displayLabels" }, outputs: { closeOptions: "closeOptions" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ToolboxActionComponent, decorators: [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{
|
|
33
|
-
selector: 'pry-toolbox-action',
|
|
34
|
-
template: ''
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: () => [{ type: i1.Store }, { type: i2.PryBaseAccess, decorators: [{
|
|
37
|
-
type: Optional
|
|
38
|
-
}, {
|
|
39
|
-
type: Inject,
|
|
40
|
-
args: [PRY_ACCESS_TOKEN]
|
|
41
|
-
}] }], propDecorators: { displayLabels: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], closeOptions: [{
|
|
44
|
-
type: Output
|
|
45
|
-
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJveC1hY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJvdm9seS9kYXNoYm9hcmQvdG9vbGJveC9jb21wb25lbnRzL3Rvb2xib3gtYWN0aW9uL3Rvb2xib3gtYWN0aW9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekYsT0FBTyxFQUNMLGtCQUFrQixFQUVsQixnQkFBZ0IsRUFFaEIsd0JBQXdCLEVBQ3pCLE1BQU0sb0JBQW9CLENBQUM7QUFDNUIsT0FBTyxFQUFFLEdBQUcsRUFBYyxFQUFFLEVBQUUsU0FBUyxFQUFFLE1BQU0sTUFBTSxDQUFDOzs7O0FBTXREL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G4gIH1cblxuICBjbG9zZSgpOiB2b2lkIHtcbiAgICB0aGlzLmNsb3NlT3B0aW9ucy5lbWl0KCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@ngrx/store";
|
|
5
|
-
export class ToolboxActionInstanciatorComponent extends SubscriptionnerDirective {
|
|
6
|
-
constructor(store, _cd) {
|
|
7
|
-
super();
|
|
8
|
-
this.store = store;
|
|
9
|
-
this._cd = _cd;
|
|
10
|
-
this.displayLabels = true;
|
|
11
|
-
this.closeOptions = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
set action(action) {
|
|
14
|
-
this._action = action;
|
|
15
|
-
this.ngAfterViewInit();
|
|
16
|
-
}
|
|
17
|
-
ngAfterViewInit() {
|
|
18
|
-
if (this.actionContainerRef) {
|
|
19
|
-
this.actionContainerRef.clear();
|
|
20
|
-
if (this._action.visible) {
|
|
21
|
-
const componentRef = this.actionContainerRef.createComponent(this._action.component);
|
|
22
|
-
this.subscriptions.add(componentRef.instance.closeOptions.subscribe((_) => this.closeOptions.emit()));
|
|
23
|
-
componentRef.instance.displayLabels = this.displayLabels;
|
|
24
|
-
componentRef.location.nativeElement.style.zIndex = 2;
|
|
25
|
-
if (this._action.name === 'default_size') {
|
|
26
|
-
componentRef.location.nativeElement.classList.add('is-screen-size-select');
|
|
27
|
-
}
|
|
28
|
-
if (this._action.name === 'save_view') {
|
|
29
|
-
componentRef.instance.mode = 'directSave';
|
|
30
|
-
}
|
|
31
|
-
this._cd.detectChanges();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
setTimeout(() => this.ngAfterViewInit(), 100);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
ngOnDestroy() {
|
|
39
|
-
super.ngOnDestroy();
|
|
40
|
-
this.actionContainerRef?.clear();
|
|
41
|
-
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ToolboxActionInstanciatorComponent, deps: [{ token: i1.Store }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", type: ToolboxActionInstanciatorComponent, selector: "pry-toolbox-action-instanciator", inputs: { displayLabels: "displayLabels", action: "action" }, outputs: { closeOptions: "closeOptions" }, viewQueries: [{ propertyName: "actionContainerRef", first: true, predicate: ["actionContainerRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: "<ng-template #actionContainerRef></ng-template>\n" }); }
|
|
44
|
-
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ToolboxActionInstanciatorComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{ selector: 'pry-toolbox-action-instanciator', template: "<ng-template #actionContainerRef></ng-template>\n" }]
|
|
48
|
-
}], ctorParameters: () => [{ type: i1.Store }, { type: i0.ChangeDetectorRef }], propDecorators: { displayLabels: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], closeOptions: [{
|
|
51
|
-
type: Output
|
|
52
|
-
}], actionContainerRef: [{
|
|
53
|
-
type: ViewChild,
|
|
54
|
-
args: ['actionContainerRef', { read: ViewContainerRef }]
|
|
55
|
-
}], action: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJveC1hY3Rpb24taW5zdGFuY2lhdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjp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ICAgICAgICB0aGlzLl9jZC5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICB9XG4gICAgfSBlbHNlIHtcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4gdGhpcy5uZ0FmdGVyVmlld0luaXQoKSwgMTAwKTtcbiAgICB9XG4gIH1cblxuICBvdmVycmlkZSBuZ09uRGVzdHJveSgpIHtcbiAgICBzdXBlci5uZ09uRGVzdHJveSgpO1xuICAgIHRoaXMuYWN0aW9uQ29udGFpbmVyUmVmPy5jbGVhcigpO1xuICB9XG59XG4iLCI8bmctdGVtcGxhdGUgI2FjdGlvbkNvbnRhaW5lclJlZj48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@use '../../styles/abstracts' as *;
|
|
2
|
-
@use '../abstracts-theme/variables.theme' as *;
|
|
3
|
-
|
|
4
|
-
/* Theme organism - Workspace */
|
|
5
|
-
|
|
6
|
-
.o-workspace {
|
|
7
|
-
&__toolbox {
|
|
8
|
-
border-bottom-color: themed($theme-map, 'color', 'primary', 300);
|
|
9
|
-
|
|
10
|
-
.m-actions-list__item {
|
|
11
|
-
.a-toggle {
|
|
12
|
-
color: themed($theme-map, 'color', 'graph', 01);
|
|
13
|
-
font-size: toRem(15);
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
File without changes
|
|
File without changes
|