@provoly/dashboard 1.2.1 → 1.2.3
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/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.d.ts +3 -3
- package/components/data-format/data-format.module.d.ts +7 -0
- package/components/data-format/data-format.pipe.d.ts +8 -0
- package/components/data-format/index.d.ts +5 -0
- package/components/data-format/public-api.d.ts +2 -0
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +6 -6
- package/esm2022/components/data-format/data-format.module.mjs +16 -0
- package/esm2022/components/data-format/data-format.pipe.mjs +32 -0
- package/esm2022/components/data-format/provoly-dashboard-components-data-format.mjs +5 -0
- package/esm2022/components/data-format/public-api.mjs +3 -0
- package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +28 -21
- package/esm2022/lib/core/components/share/legacy-share/share.component.mjs +25 -37
- package/esm2022/lib/core/components/share/share.model.mjs +2 -7
- package/esm2022/lib/core/model/widget.interface.mjs +1 -1
- package/esm2022/lib/core/store/aggregation/backend-aggregation.service.mjs +2 -2
- package/esm2022/lib/core/store/data-source/data-source.actions.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.model.mjs +7 -2
- package/esm2022/lib/core/toolbox/toolbox-menu.service.mjs +3 -6
- package/esm2022/restitution/components/restitution/restitution.component.mjs +8 -12
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +4 -5
- package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +2 -2
- package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +4 -5
- package/esm2022/search/components/save-query/save-query.component.mjs +2 -2
- package/esm2022/search/search-tools/search-tools.component.mjs +1 -1
- package/esm2022/widgets/widget-analytic/component/widget-analytic.component.mjs +4 -3
- package/esm2022/widgets/widget-analytic/widget-analytic.module.mjs +8 -4
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +21 -11
- package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-table/expand-value/format-number.pipe.mjs +7 -12
- package/fesm2022/provoly-dashboard-admin.mjs +5 -5
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-data-format.mjs +52 -0
- package/fesm2022/provoly-dashboard-components-data-format.mjs.map +1 -0
- package/fesm2022/provoly-dashboard-restitution.mjs +11 -17
- 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-widgets-widget-analytic.mjs +10 -5
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +22 -12
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +13 -17
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +102 -107
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/share/group-share/group-share.component.d.ts +15 -10
- package/lib/core/components/share/legacy-share/share.component.d.ts +8 -14
- package/lib/core/components/share/share.model.d.ts +0 -9
- package/lib/core/model/widget.interface.d.ts +1 -2
- package/lib/core/store/data-source/data-source.actions.d.ts +9 -4
- package/lib/core/store/data-source/data-source.model.d.ts +9 -2
- package/lib/core/toolbox/toolbox-menu.service.d.ts +1 -3
- package/package.json +37 -31
- package/restitution/components/restitution/restitution.component.d.ts +2 -3
- package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +1 -2
- package/restitution/components/restitution-list-item/restitution-list-item.component.d.ts +1 -2
- package/search/components/save-query/save-query.component.d.ts +5 -2
- package/search/search-fulltext/store/search-fulltext.effects.d.ts +4 -1
- package/search/search-mono-class/store/search-mono-class.effects.d.ts +4 -1
- package/search/search-multi-class/store/search-multi-class.effects.d.ts +4 -1
- package/styles/base/_utils.scss +4 -0
- package/styles-theme/main-theme.scss +0 -1
- package/widgets/widget-analytic/component/widget-analytic.component.d.ts +1 -1
- package/widgets/widget-analytic/widget-analytic.module.d.ts +2 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +4 -2
- package/widgets/widget-map/style/_m-layer-legend.scss +41 -56
- package/widgets/widget-table/expand-value/format-number.pipe.d.ts +1 -3
- package/styles-theme/components-theme/_m-layer-legend.theme.scss +0 -24
|
@@ -1,46 +1,51 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { Group
|
|
3
|
+
import { Group } from '../share.model';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { Store } from '@ngrx/store';
|
|
6
6
|
import { SubscriptionnerDirective } from '../../../../dashboard/components/subscriptionner.directive';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
export declare enum PryShareMode {
|
|
9
|
+
PRIVATE = "PRIVATE",
|
|
10
|
+
PUBLIC = "PUBLIC",
|
|
11
|
+
GROUPS = "GROUPS"
|
|
12
|
+
}
|
|
8
13
|
export declare class PryGroupShareComponent extends SubscriptionnerDirective implements ControlValueAccessor {
|
|
9
14
|
private store;
|
|
10
15
|
private _cd;
|
|
11
16
|
private _onChange;
|
|
12
17
|
private _onTouched;
|
|
13
18
|
assignedGroupNames$: BehaviorSubject<string[]>;
|
|
14
|
-
radioValue:
|
|
19
|
+
radioValue: PryShareMode;
|
|
15
20
|
assignedGroups$: Observable<Group[]>;
|
|
16
21
|
groups$: Observable<Group[]>;
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
PryShareMode: typeof PryShareMode;
|
|
23
|
+
shareModes: {
|
|
19
24
|
label: string;
|
|
20
|
-
value:
|
|
25
|
+
value: PryShareMode;
|
|
21
26
|
}[];
|
|
22
27
|
templateData$: Observable<{
|
|
23
28
|
groups: Group[];
|
|
24
29
|
assignedGroups: Group[];
|
|
25
30
|
disableRadios: {
|
|
26
|
-
[key in
|
|
31
|
+
[key in PryShareMode]: boolean;
|
|
27
32
|
};
|
|
28
33
|
}>;
|
|
29
34
|
_disableRadios$: BehaviorSubject<{
|
|
30
|
-
[key in
|
|
35
|
+
[key in PryShareMode]: boolean;
|
|
31
36
|
}>;
|
|
32
37
|
set disableRadios(value: {
|
|
33
|
-
[key in
|
|
38
|
+
[key in PryShareMode]: boolean;
|
|
34
39
|
} | null);
|
|
35
40
|
_allowedGroups$: BehaviorSubject<string[] | undefined>;
|
|
36
41
|
set allowedGroups(value: string[] | null);
|
|
37
|
-
radioValueChange: EventEmitter<
|
|
42
|
+
radioValueChange: EventEmitter<PryShareMode>;
|
|
38
43
|
constructor(store: Store, _cd: ChangeDetectorRef);
|
|
39
44
|
writeValue(value: string[] | undefined): void;
|
|
40
45
|
registerOnChange(fn: any): void;
|
|
41
46
|
registerOnTouched(fn: any): void;
|
|
42
47
|
updateRadioValue(groups: string[]): void;
|
|
43
|
-
changeGroupsBasedOnRadioValue(type:
|
|
48
|
+
changeGroupsBasedOnRadioValue(type: PryShareMode): void;
|
|
44
49
|
changeGroups(groups: (Group | string)[] | null): void;
|
|
45
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryGroupShareComponent, never>;
|
|
46
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryGroupShareComponent, "pry-group-share", never, { "disableRadios": { "alias": "disableRadios"; "required": false; }; "allowedGroups": { "alias": "allowedGroups"; "required": false; }; }, { "radioValueChange": "radioValueChange"; }, never, never, false, never>;
|
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
import { ChangeDetectorRef
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { PryVisibility, PryVisibilityType } from '../share.model';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PryShareComponent implements ControlValueAccessor
|
|
4
|
+
export declare class PryShareComponent implements ControlValueAccessor {
|
|
7
5
|
private _cd;
|
|
8
6
|
private _onChange;
|
|
9
7
|
private _onTouched;
|
|
10
8
|
_disabled: boolean;
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
value: string[];
|
|
10
|
+
stringValue: 'private' | 'public';
|
|
13
11
|
labelProperty: string;
|
|
14
12
|
valueProperty: string;
|
|
15
|
-
users$: Observable<any[]> | null;
|
|
16
13
|
visibilityTypes: {
|
|
17
|
-
|
|
18
|
-
value: string;
|
|
14
|
+
name: string;
|
|
19
15
|
icon: string;
|
|
20
16
|
}[];
|
|
21
17
|
constructor(_cd: ChangeDetectorRef);
|
|
22
|
-
ngOnInit(): void;
|
|
23
18
|
registerOnChange(fn: any): void;
|
|
24
19
|
registerOnTouched(fn: any): void;
|
|
25
20
|
setDisabledState(isDisabled: boolean): void;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
writeValue(obj: any): void;
|
|
21
|
+
writeValue(value: string[]): void;
|
|
22
|
+
onChange($event: string): void;
|
|
29
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryShareComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryShareComponent, "pry-share", never, { "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryShareComponent, "pry-share", never, { "labelProperty": { "alias": "labelProperty"; "required": false; }; "valueProperty": { "alias": "valueProperty"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
25
|
}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export declare enum PryVisibilityType {
|
|
2
|
-
PRIVATE = "PRIVATE",
|
|
3
|
-
PUBLIC = "PUBLIC",
|
|
4
|
-
RESTRICTED = "RESTRICTED"
|
|
5
|
-
}
|
|
6
1
|
export interface Group {
|
|
7
2
|
id: string;
|
|
8
3
|
name: string;
|
|
@@ -14,7 +9,3 @@ export interface MissingGroupsByEntity {
|
|
|
14
9
|
export interface ShareConflict {
|
|
15
10
|
missingGroupsByEntity: MissingGroupsByEntity;
|
|
16
11
|
}
|
|
17
|
-
export interface PryVisibility {
|
|
18
|
-
type: PryVisibilityType;
|
|
19
|
-
users?: any[];
|
|
20
|
-
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { PryVisibility } from '../components/share/share.model';
|
|
2
1
|
export interface Widget {
|
|
3
2
|
id: string;
|
|
4
3
|
name: string;
|
|
5
4
|
description: string;
|
|
6
5
|
image: string;
|
|
7
6
|
content: string;
|
|
8
|
-
|
|
7
|
+
groups?: string[];
|
|
9
8
|
datasource: string[];
|
|
10
9
|
owner?: boolean;
|
|
11
10
|
modificationDate: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PryVisibility } from '../../components/share/share.model';
|
|
2
1
|
import { DatasetPreview } from '../../model/dataset.interface';
|
|
3
2
|
import { MonoClassSearchPayload } from '../../model/search-mono-class.model';
|
|
4
3
|
import { FullTextSearchPayload, MultiClassSearchPayload } from '../../model/search-multi-class.model';
|
|
5
|
-
import { Dataset, DatasetVersion, NamedQuery } from './data-source.model';
|
|
4
|
+
import { Dataset, DatasetVersion, NamedQuery, PryVisibilityType } from './data-source.model';
|
|
6
5
|
export declare const DataSourceActions: {
|
|
7
6
|
load: import("@ngrx/store").ActionCreator<"[Datasource] load", () => import("@ngrx/store/src/models").TypedAction<"[Datasource] load">>;
|
|
8
7
|
namedQuery: {
|
|
@@ -21,7 +20,10 @@ export declare const DataSourceActions: {
|
|
|
21
20
|
name: string;
|
|
22
21
|
id?: string | undefined;
|
|
23
22
|
description?: string | undefined;
|
|
24
|
-
visibility?:
|
|
23
|
+
visibility?: {
|
|
24
|
+
type: PryVisibilityType;
|
|
25
|
+
users?: any[] | undefined;
|
|
26
|
+
} | undefined;
|
|
25
27
|
payload: MonoClassSearchPayload | MultiClassSearchPayload | FullTextSearchPayload;
|
|
26
28
|
color?: string | undefined;
|
|
27
29
|
favorite: boolean;
|
|
@@ -30,7 +32,10 @@ export declare const DataSourceActions: {
|
|
|
30
32
|
name: string;
|
|
31
33
|
id?: string | undefined;
|
|
32
34
|
description?: string | undefined;
|
|
33
|
-
visibility?:
|
|
35
|
+
visibility?: {
|
|
36
|
+
type: PryVisibilityType;
|
|
37
|
+
users?: any[] | undefined;
|
|
38
|
+
} | undefined;
|
|
34
39
|
payload: MonoClassSearchPayload | MultiClassSearchPayload | FullTextSearchPayload;
|
|
35
40
|
color?: string | undefined;
|
|
36
41
|
favorite: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PryVisibility } from '../../components/share/share.model';
|
|
2
1
|
import { MetadataValue } from '../../model/admin-api.model';
|
|
3
2
|
import { PryDatasetType } from '../../model/dataset.interface';
|
|
4
3
|
import { MonoClassSearchPayload } from '../../model/search-mono-class.model';
|
|
@@ -16,9 +15,17 @@ export interface NamedQuery extends DescriptionQuery {
|
|
|
16
15
|
export interface DescriptionQuery {
|
|
17
16
|
name: string;
|
|
18
17
|
description?: string;
|
|
19
|
-
visibility?:
|
|
18
|
+
visibility?: {
|
|
19
|
+
type: PryVisibilityType;
|
|
20
|
+
users?: any[];
|
|
21
|
+
};
|
|
20
22
|
metadata?: MetadataValue[];
|
|
21
23
|
}
|
|
24
|
+
export declare enum PryVisibilityType {
|
|
25
|
+
PRIVATE = "PRIVATE",
|
|
26
|
+
PUBLIC = "PUBLIC",
|
|
27
|
+
RESTRICTED = "RESTRICTED"
|
|
28
|
+
}
|
|
22
29
|
export interface Dataset extends DescriptionQuery {
|
|
23
30
|
sourceType: 'dataset';
|
|
24
31
|
id: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { WidgetFactoryService } from '../../dashboard/components/widgets/widget-instanciator/widget-factory.service';
|
|
4
|
-
import { PryVisibility } from '../components/share/share.model';
|
|
5
4
|
import { Widget } from '../model/widget.interface';
|
|
6
5
|
import { ToolboxManifestService } from './toolbox-manifest.service';
|
|
7
6
|
import { WidgetManifest } from '../model/manifest.interface';
|
|
@@ -19,7 +18,7 @@ export type CatalogEntry = WidgetDescriptionBase & {
|
|
|
19
18
|
type: string;
|
|
20
19
|
description?: string;
|
|
21
20
|
isCustom?: boolean;
|
|
22
|
-
|
|
21
|
+
groups?: string[];
|
|
23
22
|
cover?: boolean;
|
|
24
23
|
};
|
|
25
24
|
export declare const defaultMenuStructure: WidgetDescriptionMenu[];
|
|
@@ -39,7 +38,6 @@ export declare class ToolboxMenuService {
|
|
|
39
38
|
constructor(widgetFactoryService: WidgetFactoryService, toolboxManifestService: ToolboxManifestService, store: Store);
|
|
40
39
|
addMenu(icon: string, label: string): void;
|
|
41
40
|
addWidget(menuLabel: string, icon: string, label: string, type: string): void;
|
|
42
|
-
setMenuStructure(structure: WidgetDescriptionMenu[]): void;
|
|
43
41
|
addToCatalog(widget: Widget, index: number): void;
|
|
44
42
|
isValidForCatalog(name: string): false;
|
|
45
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxMenuService, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -132,6 +132,36 @@
|
|
|
132
132
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
133
133
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
134
134
|
},
|
|
135
|
+
"./filters/autocomplete": {
|
|
136
|
+
"types": "./filters/autocomplete/index.d.ts",
|
|
137
|
+
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
138
|
+
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
139
|
+
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
140
|
+
},
|
|
141
|
+
"./filters/date": {
|
|
142
|
+
"types": "./filters/date/index.d.ts",
|
|
143
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
144
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
145
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
146
|
+
},
|
|
147
|
+
"./filters/list": {
|
|
148
|
+
"types": "./filters/list/index.d.ts",
|
|
149
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
150
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
151
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
152
|
+
},
|
|
153
|
+
"./filters/number": {
|
|
154
|
+
"types": "./filters/number/index.d.ts",
|
|
155
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
156
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
157
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
158
|
+
},
|
|
159
|
+
"./filters/text": {
|
|
160
|
+
"types": "./filters/text/index.d.ts",
|
|
161
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
162
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
163
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
164
|
+
},
|
|
135
165
|
"./components/card": {
|
|
136
166
|
"types": "./components/card/index.d.ts",
|
|
137
167
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -150,6 +180,12 @@
|
|
|
150
180
|
"esm": "./esm2022/components/color-picker/provoly-dashboard-components-color-picker.mjs",
|
|
151
181
|
"default": "./fesm2022/provoly-dashboard-components-color-picker.mjs"
|
|
152
182
|
},
|
|
183
|
+
"./components/data-format": {
|
|
184
|
+
"types": "./components/data-format/index.d.ts",
|
|
185
|
+
"esm2022": "./esm2022/components/data-format/provoly-dashboard-components-data-format.mjs",
|
|
186
|
+
"esm": "./esm2022/components/data-format/provoly-dashboard-components-data-format.mjs",
|
|
187
|
+
"default": "./fesm2022/provoly-dashboard-components-data-format.mjs"
|
|
188
|
+
},
|
|
153
189
|
"./components/expand-panel": {
|
|
154
190
|
"types": "./components/expand-panel/index.d.ts",
|
|
155
191
|
"esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
@@ -198,36 +234,6 @@
|
|
|
198
234
|
"esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
199
235
|
"default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
|
|
200
236
|
},
|
|
201
|
-
"./filters/autocomplete": {
|
|
202
|
-
"types": "./filters/autocomplete/index.d.ts",
|
|
203
|
-
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
204
|
-
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
205
|
-
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
206
|
-
},
|
|
207
|
-
"./filters/date": {
|
|
208
|
-
"types": "./filters/date/index.d.ts",
|
|
209
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
210
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
211
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
212
|
-
},
|
|
213
|
-
"./filters/list": {
|
|
214
|
-
"types": "./filters/list/index.d.ts",
|
|
215
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
216
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
217
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
218
|
-
},
|
|
219
|
-
"./filters/number": {
|
|
220
|
-
"types": "./filters/number/index.d.ts",
|
|
221
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
222
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
223
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
224
|
-
},
|
|
225
|
-
"./filters/text": {
|
|
226
|
-
"types": "./filters/text/index.d.ts",
|
|
227
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
228
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
229
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
230
|
-
},
|
|
231
237
|
"./pipeline-components/filter": {
|
|
232
238
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
233
239
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { CatalogEntry, Class, DataSource, LibraryTypes,
|
|
3
|
+
import { CatalogEntry, Class, DataSource, LibraryTypes, SubscriptionnerDirective, ToolboxManifestService, ToolboxMenuService, Widget, WidgetManifest } from '@provoly/dashboard';
|
|
4
4
|
import { PryStepperComponent } from '@provoly/dashboard/components/stepper';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
6
|
import { RestitutionForm } from '../../model/restitution.model';
|
|
@@ -18,9 +18,8 @@ export declare class PryRestitutionComponent extends SubscriptionnerDirective im
|
|
|
18
18
|
classes$: Observable<Class[]>;
|
|
19
19
|
customManifest: WidgetManifest;
|
|
20
20
|
form: RestitutionForm;
|
|
21
|
-
|
|
21
|
+
groups: string[];
|
|
22
22
|
openSettings$: Subject<void>;
|
|
23
|
-
users$: Observable<any[]> | null;
|
|
24
23
|
consultMode: boolean;
|
|
25
24
|
selectedRestitution: Widget | null;
|
|
26
25
|
edit: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
2
|
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
|
-
import {
|
|
4
|
+
import { ViewMode, Widget } from '@provoly/dashboard';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class PryRestitutionCatalogComponent {
|
|
@@ -15,7 +15,6 @@ export declare class PryRestitutionCatalogComponent {
|
|
|
15
15
|
selectedMode: ViewMode;
|
|
16
16
|
selectedRestitution: Widget | null;
|
|
17
17
|
restitution?: Widget;
|
|
18
|
-
PryVisibilityType: typeof PryVisibilityType;
|
|
19
18
|
overlayRef?: OverlayRef;
|
|
20
19
|
templateActions: TemplateRef<any>;
|
|
21
20
|
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
|
-
import { CatalogEntry,
|
|
2
|
+
import { CatalogEntry, SubscriptionnerDirective, ToolboxManifestService, Widget } from '@provoly/dashboard';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PryRestitutionListItemComponent extends SubscriptionnerDirective {
|
|
@@ -10,7 +10,6 @@ export declare class PryRestitutionListItemComponent extends SubscriptionnerDire
|
|
|
10
10
|
catalog: Widget[] | undefined;
|
|
11
11
|
automaticGridMode$: Observable<boolean>;
|
|
12
12
|
automaticGridMode: boolean;
|
|
13
|
-
PryVisibilityType: typeof PryVisibilityType;
|
|
14
13
|
constructor(store: Store, toolboxManifestService: ToolboxManifestService);
|
|
15
14
|
dragStart($event: DragEvent, type: string): void;
|
|
16
15
|
viewInDashboard(widget: CatalogEntry): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { NamedQuery, NamedQueryTypes, PryDialogRef,
|
|
3
|
+
import { NamedQuery, NamedQueryTypes, PryDialogRef, PryVisibilityType } from '@provoly/dashboard';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { SearchFulltextChange } from '../../search-fulltext/search-fulltext/search-fulltext.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,10 @@ export declare class PrySaveQueryComponent implements OnInit {
|
|
|
15
15
|
id?: string;
|
|
16
16
|
name: string;
|
|
17
17
|
description: string;
|
|
18
|
-
visibility:
|
|
18
|
+
visibility: {
|
|
19
|
+
type: PryVisibilityType;
|
|
20
|
+
users: never[];
|
|
21
|
+
};
|
|
19
22
|
savedNameQuery?: NamedQuery;
|
|
20
23
|
get modalSave(): boolean;
|
|
21
24
|
get saveDisabled(): boolean;
|
|
@@ -10,7 +10,10 @@ export declare class SearchFulltextEffects {
|
|
|
10
10
|
name: string;
|
|
11
11
|
id?: string | undefined;
|
|
12
12
|
description?: string | undefined;
|
|
13
|
-
visibility?:
|
|
13
|
+
visibility?: {
|
|
14
|
+
type: import("@provoly/dashboard").PryVisibilityType;
|
|
15
|
+
users?: any[] | undefined;
|
|
16
|
+
} | undefined;
|
|
14
17
|
payload: import("@provoly/dashboard").FullTextSearchPayload | import("@provoly/dashboard").MonoClassSearchPayload | import("@provoly/dashboard").MultiClassSearchPayload;
|
|
15
18
|
color?: string | undefined;
|
|
16
19
|
favorite: boolean;
|
|
@@ -32,7 +32,10 @@ export declare class SearchMonoClassEffects {
|
|
|
32
32
|
name: string;
|
|
33
33
|
id?: string | undefined;
|
|
34
34
|
description?: string | undefined;
|
|
35
|
-
visibility?:
|
|
35
|
+
visibility?: {
|
|
36
|
+
type: import("@provoly/dashboard").PryVisibilityType;
|
|
37
|
+
users?: any[] | undefined;
|
|
38
|
+
} | undefined;
|
|
36
39
|
payload: import("@provoly/dashboard").FullTextSearchPayload | MonoClassSearchPayload | MultiClassSearchPayload;
|
|
37
40
|
color?: string | undefined;
|
|
38
41
|
favorite: boolean;
|
|
@@ -20,7 +20,10 @@ export declare class SearchMultiClassEffects {
|
|
|
20
20
|
name: string;
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
description?: string | undefined;
|
|
23
|
-
visibility?:
|
|
23
|
+
visibility?: {
|
|
24
|
+
type: import("@provoly/dashboard").PryVisibilityType;
|
|
25
|
+
users?: any[] | undefined;
|
|
26
|
+
} | undefined;
|
|
24
27
|
payload: import("@provoly/dashboard").FullTextSearchPayload | import("@provoly/dashboard").MonoClassSearchPayload | import("@provoly/dashboard").MultiClassSearchPayload;
|
|
25
28
|
color?: string | undefined;
|
|
26
29
|
favorite: boolean;
|
package/styles/base/_utils.scss
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
@use 'components-theme/m-minus-plus.theme' as *;
|
|
33
33
|
@use 'components-theme/m-nav-links.theme' as *;
|
|
34
34
|
@use 'components-theme/m-notifications.theme' as *;
|
|
35
|
-
@use 'components-theme/m-layer-legend.theme' as *;
|
|
36
35
|
@use 'components-theme/m-pry-search-select-attribute.theme' as *;
|
|
37
36
|
@use 'components-theme/m-snackbar.theme' as *;
|
|
38
37
|
@use 'components-theme/m-time-picker.theme' as *;
|
|
@@ -10,11 +10,12 @@ import * as i6 from "@provoly/dashboard";
|
|
|
10
10
|
import * as i7 from "@provoly/dashboard/components/checkbox";
|
|
11
11
|
import * as i8 from "@provoly/dashboard/components/color-picker";
|
|
12
12
|
import * as i9 from "@angular/cdk/drag-drop";
|
|
13
|
+
import * as i10 from "@provoly/dashboard/components/data-format";
|
|
13
14
|
export declare class WidgetAnalyticModule extends BaseWidgetModule {
|
|
14
15
|
private pryTranslateService;
|
|
15
16
|
constructor(pryTranslateService: PryI18nService);
|
|
16
17
|
getComponent(): Type<BaseWidgetComponent>;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAnalyticModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetAnalyticModule, [typeof i1.WidgetAnalyticComponent, typeof i2.PryWidgetAnalyticCssComponent], [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 i3.AsyncPipe, typeof i8.PryColorPickerModule, typeof i9.DragDropModule], [typeof i1.WidgetAnalyticComponent]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetAnalyticModule, [typeof i1.WidgetAnalyticComponent, typeof i2.PryWidgetAnalyticCssComponent], [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 i3.AsyncPipe, typeof i8.PryColorPickerModule, typeof i9.DragDropModule, typeof i10.PryDataFormatModule], [typeof i1.WidgetAnalyticComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetAnalyticModule>;
|
|
20
21
|
}
|
|
@@ -67,11 +67,12 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
67
67
|
geoServerLayerDescriptions$: Observable<MapGeoServerLayerOptions[]>;
|
|
68
68
|
legendTabOpen: boolean;
|
|
69
69
|
layersTabOpen: boolean;
|
|
70
|
-
|
|
70
|
+
legendTabClosed: boolean[];
|
|
71
71
|
legendLayers$: Observable<(MapGeoServerLayerOptions | MapWMSLayerLayerOptions)[]>;
|
|
72
72
|
legendTop$: Observable<number>;
|
|
73
73
|
layersTop$: Observable<number>;
|
|
74
74
|
legendHeight$: Observable<number>;
|
|
75
|
+
layersHeight$: Observable<number>;
|
|
75
76
|
imageNotProvided: boolean[];
|
|
76
77
|
basicActions$: Observable<('click' | 'lasso' | 'rectangle' | 'zoom' | 'move' | 'export' | 'upload')[]>;
|
|
77
78
|
zoomAndCenter$: BehaviorSubject<{
|
|
@@ -179,8 +180,9 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
179
180
|
get mapLayers(): BaseLayer[];
|
|
180
181
|
get rightSlideLayers(): BaseLayer[];
|
|
181
182
|
get leftSlideLayers(): BaseLayer[];
|
|
183
|
+
hideAllLayersInGroup(group: LayerGroup): void;
|
|
182
184
|
changeVisibility(group: LayerGroup, _layer?: MapWidgetLayerOptions): void;
|
|
183
|
-
isLayerVisible(layer: MapWidgetLayerOptions, group
|
|
185
|
+
isLayerVisible(layer: MapWidgetLayerOptions, group?: LayerGroup): boolean;
|
|
184
186
|
changeAutoLayer($event: any): void;
|
|
185
187
|
get layerVisibleIdx(): number;
|
|
186
188
|
ngOnDestroy(): void;
|
|
@@ -1,34 +1,43 @@
|
|
|
1
1
|
@use '../../../styles/abstracts' as *;
|
|
2
|
+
@use '../../../styles-theme/abstracts-theme/variables.theme' as *;
|
|
2
3
|
|
|
3
|
-
.m-map-
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: toRem(6);
|
|
4
|
+
.m-map-action {
|
|
6
5
|
z-index: 2;
|
|
7
6
|
right: toRem(8);
|
|
7
|
+
color: themed($theme-map, 'color', 'primary', 750);
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
border: none;
|
|
8
10
|
|
|
9
|
-
button {
|
|
11
|
+
&__button, button {
|
|
10
12
|
border-radius: 8px;
|
|
11
|
-
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
&:hover {
|
|
15
|
+
outline: none;
|
|
16
|
+
}
|
|
16
17
|
}
|
|
18
|
+
}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
// map pop-ins are opened when clicking on map-action buttons
|
|
21
|
+
.m-map-pop-in {
|
|
22
|
+
z-index: 2;
|
|
23
|
+
display: block;
|
|
24
|
+
position: absolute;
|
|
25
|
+
right: toRem(58);
|
|
26
|
+
//max-width: toRem(220); // only for layer popin
|
|
27
|
+
background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
|
|
28
|
+
padding: toRem(8) toRem(10);
|
|
29
|
+
border-radius: toRem(8);
|
|
21
30
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
width: toRem(30);
|
|
25
|
-
height: toRem(30);
|
|
31
|
+
&.-hidden, .-hidden {
|
|
32
|
+
display: none;
|
|
26
33
|
}
|
|
27
34
|
|
|
28
35
|
&__title {
|
|
29
36
|
display: flex;
|
|
30
37
|
flex-direction: row;
|
|
31
|
-
align-items:
|
|
38
|
+
align-items: flex-start;
|
|
39
|
+
word-break: break-word;
|
|
40
|
+
gap: toRem(5);
|
|
32
41
|
|
|
33
42
|
&:hover {
|
|
34
43
|
cursor: pointer;
|
|
@@ -36,30 +45,10 @@
|
|
|
36
45
|
}
|
|
37
46
|
}
|
|
38
47
|
|
|
39
|
-
|
|
40
|
-
border-radius: toRem(8);
|
|
41
|
-
padding: toRem(8) toRem(10);
|
|
42
|
-
|
|
43
|
-
&--layers {
|
|
44
|
-
max-width: toRem(220);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.a-h4 {
|
|
48
|
-
font-size: 16px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.a-h5 {
|
|
52
|
-
font-size: 14px;
|
|
53
|
-
margin: 0;
|
|
54
|
-
}
|
|
48
|
+
// legend popin classes
|
|
55
49
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
&:hover {
|
|
60
|
-
outline: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
50
|
+
&__dropdown-icon {
|
|
51
|
+
margin-top: toRem(2);
|
|
63
52
|
}
|
|
64
53
|
|
|
65
54
|
&__image {
|
|
@@ -71,21 +60,17 @@
|
|
|
71
60
|
font-style: italic;
|
|
72
61
|
color: #c74646;
|
|
73
62
|
}
|
|
74
|
-
}
|
|
75
63
|
|
|
76
|
-
.
|
|
77
|
-
|
|
78
|
-
align-items: flex-start;
|
|
79
|
-
gap: toRem(5);
|
|
64
|
+
.a-h4 {
|
|
65
|
+
font-size: 16px;
|
|
80
66
|
}
|
|
81
67
|
|
|
82
|
-
|
|
83
|
-
|
|
68
|
+
.a-h5 {
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
margin: 0;
|
|
84
71
|
}
|
|
85
|
-
}
|
|
86
72
|
|
|
87
|
-
|
|
88
|
-
max-height: toRem(510);
|
|
73
|
+
// layer switcher popin classes
|
|
89
74
|
|
|
90
75
|
&__group-title {
|
|
91
76
|
font-weight: 700;
|
|
@@ -93,24 +78,24 @@
|
|
|
93
78
|
}
|
|
94
79
|
|
|
95
80
|
&__content {
|
|
96
|
-
max-height: toRem(420);
|
|
97
81
|
overflow-y: auto;
|
|
98
82
|
}
|
|
99
83
|
|
|
100
|
-
&
|
|
101
|
-
align-items: flex-start;
|
|
102
|
-
word-break: break-word;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&--radios {
|
|
84
|
+
&__radios {
|
|
106
85
|
display: flex;
|
|
107
86
|
flex-direction: column;
|
|
108
87
|
gap: toRem(5);
|
|
109
88
|
|
|
110
89
|
input {
|
|
90
|
+
accent-color: themed($theme-map, 'color', 'primary', 600);
|
|
111
91
|
margin-top: toRem(3);
|
|
112
92
|
}
|
|
113
93
|
}
|
|
94
|
+
|
|
95
|
+
// modifiers
|
|
96
|
+
&.-max-width-220 {
|
|
97
|
+
max-width: toRem(220);
|
|
98
|
+
}
|
|
114
99
|
}
|
|
115
100
|
|
|
116
101
|
.m-map-slide-legend {
|