@provoly/dashboard 0.15.2 → 0.15.4
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/card/card.module.d.ts +1 -1
- package/dataset/style/_o-pry-dataset-detail.scss +4 -0
- package/esm2022/components/card/card.component.mjs +3 -3
- package/esm2022/components/card/card.module.mjs +5 -5
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/auth/geoAuth.service.mjs +26 -0
- package/esm2022/lib/core/components/overlay/overlay.module.mjs +4 -5
- package/esm2022/lib/core/components/toggle/toggle.component.mjs +4 -5
- package/esm2022/lib/core/core.module.mjs +8 -2
- package/esm2022/lib/core/errors/http-error-interceptor.service.mjs +2 -5
- package/esm2022/lib/core/public-api.mjs +2 -2
- package/esm2022/lib/core/store/aggregation/backend-aggregation.service.mjs +21 -10
- package/esm2022/lib/core/store/search/search.effects.mjs +3 -3
- package/esm2022/lib/core/toolbox/toolbox-menu.service.mjs +10 -4
- package/esm2022/lib/dashboard/components/widgets/data-widget.component.mjs +7 -4
- package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +24 -12
- package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +4 -5
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +4 -7
- package/esm2022/notification/components/notification/notification.component.mjs +3 -3
- package/esm2022/notification/i18n/en.translations.mjs +2 -1
- package/esm2022/notification/i18n/fr.translations.mjs +2 -1
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +5 -3
- package/esm2022/presentation/components/presentation.component.mjs +5 -4
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution/restitution.component.mjs +5 -2
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
- package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +3 -3
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/search/i18n/en.translations.mjs +9 -3
- package/esm2022/search/i18n/fr.translations.mjs +9 -3
- package/esm2022/search/search-fulltext/search-fulltext/search-fulltext.component.mjs +3 -3
- package/esm2022/search/search-home/search-home.component.mjs +3 -3
- package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +6 -3
- package/esm2022/search/search-multi-class/components/search-multi-class/search-multi-class.component.mjs +3 -3
- package/esm2022/search/search-tools/search-tools.component.mjs +3 -3
- package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +3 -3
- package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +3 -3
- package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +3 -3
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +3 -3
- package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +3 -3
- package/esm2022/toolbox/components/named-query/named-query.component.mjs +3 -3
- package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -3
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
- package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +3 -3
- package/esm2022/toolbox/style/css.component.mjs +2 -2
- package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +22 -7
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +19 -9
- package/esm2022/widgets/widget-aggregated-chart/i18n/en.translations.mjs +2 -1
- package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +2 -1
- package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +1 -1
- package/esm2022/widgets/widget-detail/component/widget-detail.component.mjs +1 -1
- package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +3 -3
- package/esm2022/widgets/widget-graph/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-iframe/component/widget-iframe.component.mjs +1 -1
- package/esm2022/widgets/widget-map/component/widget-map-layer.service.mjs +5 -1
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +34 -32
- package/esm2022/widgets/widget-map/interaction/interaction-manager.class.mjs +8 -12
- package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
- package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +1 -1
- package/esm2022/widgets/widget-vega/component/widget-vega.component.mjs +1 -1
- package/fesm2022/provoly-dashboard-components-card.mjs +6 -6
- package/fesm2022/provoly-dashboard-components-card.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +4 -4
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-notification.mjs +4 -2
- package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +10 -7
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +10 -7
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +29 -14
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +20 -20
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +21 -6
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +20 -8
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-detail.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-detail.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +4 -4
- package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-iframe.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-iframe.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +43 -40
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +114 -175
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/auth/geoAuth.service.d.ts +12 -0
- package/lib/core/components/overlay/overlay.module.d.ts +8 -9
- package/lib/core/core.module.d.ts +1 -0
- package/lib/core/public-api.d.ts +1 -1
- package/lib/core/store/aggregation/backend-aggregation.service.d.ts +2 -0
- package/lib/core/store/search/search.effects.d.ts +3 -0
- package/lib/core/toolbox/toolbox-menu.service.d.ts +2 -0
- package/lib/dashboard/components/widgets/data-widget.component.d.ts +3 -2
- package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +8 -5
- package/notification/i18n/en.translations.d.ts +1 -0
- package/notification/i18n/fr.translations.d.ts +1 -0
- package/package.json +41 -42
- package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +2 -2
- package/presentation/style/_o-pry-presentation.scss +17 -13
- package/restitution/components/restitution/restitution.component.d.ts +7 -0
- package/schematics/migration.json +5 -0
- package/schematics/ng-add/index.js +0 -1
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/version-0-15/index.d.ts +2 -0
- package/schematics/ng-update/version-0-15/index.js +19 -0
- package/schematics/ng-update/version-0-15/index.js.map +1 -0
- package/schematics/ng-update/version-0-15/index.spec.d.ts +1 -0
- package/schematics/ng-update/version-0-15/index.spec.js +51 -0
- package/schematics/ng-update/version-0-15/index.spec.js.map +1 -0
- package/search/i18n/en.translations.d.ts +6 -0
- package/search/i18n/fr.translations.d.ts +6 -0
- package/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.d.ts +1 -0
- package/styles/components/_a-tooltip.scss +76 -0
- package/styles/components/_o-dashboard.scss +1 -1
- package/styles/components/_o-pry-card.scss +14 -0
- package/styles/components/_o-widget.scss +1 -0
- package/styles/layout/_o-workspace.scss +0 -1
- package/styles/main.scss +2 -0
- package/styles-theme/components-theme/_a-tooltip.theme.scss +12 -0
- package/styles-theme/main-theme.scss +1 -0
- package/toolbox/style/_o-toolbox.scss +6 -0
- package/tooltips/attribute/attribute-tooltip.component.d.ts +2 -1
- package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +2 -0
- package/widgets/widget-aggregated-chart/i18n/en.translations.d.ts +1 -0
- package/widgets/widget-aggregated-chart/i18n/fr.translations.d.ts +1 -0
- package/widgets/widget-graph/style/_o-widget-graph.scss +15 -1
- package/widgets/widget-map/component/widget-map-layer.service.d.ts +3 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +4 -7
- package/widgets/widget-map/style/_o-widget-map.scss +14 -0
- package/esm2022/lib/core/components/overlay/tooltip.directive.mjs +0 -121
- package/lib/core/components/overlay/tooltip.directive.d.ts +0 -28
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class PryGeoAuthService {
|
|
4
|
+
abstract customLoader(tile: any, src: string): void;
|
|
5
|
+
}
|
|
6
|
+
export declare const PRY_GEOAUTH_TOKEN: InjectionToken<PryGeoAuthService>;
|
|
7
|
+
export declare class PryDefaultGeoAuthService extends PryGeoAuthService {
|
|
8
|
+
constructor();
|
|
9
|
+
customLoader(tile: any, src: string): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PryDefaultGeoAuthService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PryDefaultGeoAuthService>;
|
|
12
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/cdk/a11y";
|
|
2
|
+
import * as i1 from "./overlay.directive";
|
|
3
|
+
import * as i2 from "./dialog-confirm.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
import * as i6 from "../../i18n/i18n.module";
|
|
8
|
+
import * as i7 from "@angular/cdk/a11y";
|
|
10
9
|
export declare class PryOverlayModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryOverlayModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryOverlayModule, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryOverlayModule, [typeof i1.PryOverlayDirective, typeof i2.PryDialogConfirmComponent], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PryIconModule, typeof i6.PryI18nModule, typeof i7.A11yModule], [typeof i1.PryOverlayDirective, typeof i2.PryDialogConfirmComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryOverlayModule>;
|
|
14
13
|
}
|
|
@@ -34,6 +34,7 @@ export declare class PryCoreModule {
|
|
|
34
34
|
static forRoot(access?: {
|
|
35
35
|
accessProvider?: Provider;
|
|
36
36
|
guardProvider?: Provider;
|
|
37
|
+
geoAuthProvider?: Provider;
|
|
37
38
|
}): ModuleWithProviders<PryCoreModule>;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryCoreModule, never>;
|
|
39
40
|
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.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.BaseToolboxActionComponent], [typeof i16.CommonModule, typeof i17.RouterModule, typeof i18.HttpClientModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i19.StoreFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i20.EffectsFeatureModule, typeof i21.PryIconModule, typeof i22.OverlayModule, typeof i23.PryOverlayModule, typeof i24.PryI18nModule, typeof i25.PryModalStatusModule, typeof i26.CdkAccordionModule, typeof i27.FormsModule], [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent]>;
|
package/lib/core/public-api.d.ts
CHANGED
|
@@ -61,7 +61,6 @@ export * from './components/select-image/select-image.component';
|
|
|
61
61
|
export * from './components/icon/icon.component';
|
|
62
62
|
export * from './components/icon/icon.module';
|
|
63
63
|
export * from './components/overlay/overlay.directive';
|
|
64
|
-
export * from './components/overlay/tooltip.directive';
|
|
65
64
|
export * from './components/overlay/overlay.module';
|
|
66
65
|
export * from './components/overlay/dialog-ref';
|
|
67
66
|
export * from './components/overlay/dialog.service';
|
|
@@ -105,6 +104,7 @@ export * from './access/access.guard';
|
|
|
105
104
|
export * from './access/access.model';
|
|
106
105
|
export * from './access/access.service';
|
|
107
106
|
export * from './access/access.utils';
|
|
107
|
+
export * from './auth/geoAuth.service';
|
|
108
108
|
export * from './ws/websocket.service';
|
|
109
109
|
export * from './symbol/symbol.service';
|
|
110
110
|
export * from './toolbox/toolbox-manifest.service';
|
|
@@ -17,6 +17,8 @@ export declare class PryBackendAggregationService extends PryAggregationService
|
|
|
17
17
|
private classes;
|
|
18
18
|
private fields;
|
|
19
19
|
private filters;
|
|
20
|
+
private dataUrl;
|
|
21
|
+
private cache;
|
|
20
22
|
constructor(store: Store, snackBar: PrySnackbarService, translateService: PryI18nService, httpClient: HttpClient, searchService: SearchService);
|
|
21
23
|
aggregate(datasources: string[], options: ChartAggregatedWidgetOptions): Observable<AggregationResult>;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryBackendAggregationService, never>;
|
|
@@ -15,6 +15,9 @@ export declare class SearchEffects {
|
|
|
15
15
|
error: any;
|
|
16
16
|
id?: string | undefined;
|
|
17
17
|
} & import("@ngrx/store/src/models").TypedAction<"[Search Api] (bus) Search Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
18
|
+
updateAggregatesInWidget$: import("rxjs").Observable<{
|
|
19
|
+
id: string;
|
|
20
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Search] (bus) search named">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
18
21
|
search$: import("rxjs").Observable<({
|
|
19
22
|
resultSet: import("@provoly/dashboard").ResultSet;
|
|
20
23
|
id?: string | undefined;
|
|
@@ -4,6 +4,7 @@ import { WidgetFactoryService } from '../../dashboard/components/widgets/widget-
|
|
|
4
4
|
import { PryVisibility } from '../components/share/share.model';
|
|
5
5
|
import { Widget } from '../model/widget.interface';
|
|
6
6
|
import { ToolboxManifestService } from './toolbox-manifest.service';
|
|
7
|
+
import { WidgetManifest } from '../model/manifest.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export type WidgetDescriptionBase = {
|
|
9
10
|
icon: string;
|
|
@@ -33,6 +34,7 @@ export declare class ToolboxMenuService {
|
|
|
33
34
|
icon: string;
|
|
34
35
|
label: string;
|
|
35
36
|
type: string;
|
|
37
|
+
manifest: WidgetManifest;
|
|
36
38
|
}[]>;
|
|
37
39
|
constructor(widgetFactoryService: WidgetFactoryService, toolboxManifestService: ToolboxManifestService, store: Store);
|
|
38
40
|
addMenu(icon: string, label: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
4
|
import { Item } from '../../../core/model/item.interface';
|
|
5
5
|
import { ResultSet } from '../../../core/model/result-set.interface';
|
|
6
6
|
import { DataSource } from '../../../core/store/data-source/data-source.model';
|
|
@@ -12,9 +12,10 @@ export declare class DataWidgetComponent extends BaseWidgetComponent {
|
|
|
12
12
|
datasourceIds$: Observable<string[]>;
|
|
13
13
|
allItems$: Observable<Item[]>;
|
|
14
14
|
usedDatasources$: Observable<DataSource[]>;
|
|
15
|
+
openData$: Observable<void> | Subject<void>;
|
|
15
16
|
set staticResultSet(resultSet: ResultSet);
|
|
16
17
|
constructor(store: Store<any>, el: ElementRef);
|
|
17
18
|
initResultSet$(): Observable<ResultSet>;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataWidgetComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataWidgetComponent, "pry-data-widget", never, { "staticResultSet": { "alias": "staticResultSet"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataWidgetComponent, "pry-data-widget", never, { "openData$": { "alias": "openData$"; "required": false; }; "staticResultSet": { "alias": "staticResultSet"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { ElementRef, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
|
-
import { BehaviorSubject, Observable, Subscription } from 'rxjs';
|
|
4
|
+
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
5
5
|
import { DashboardGridLayout, DashboardManifest, WidgetManifest } from '../../../../core/model/manifest.interface';
|
|
6
6
|
import { Widget } from '../../../../core/model/widget.interface';
|
|
7
7
|
import { Dataset, DataSource, NamedQuery } from '../../../../core/store/data-source/data-source.model';
|
|
@@ -16,7 +16,7 @@ export type HeaderAction = {
|
|
|
16
16
|
label: string;
|
|
17
17
|
disabled?: (that: PryWidgetHeaderComponent) => boolean;
|
|
18
18
|
};
|
|
19
|
-
export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective {
|
|
19
|
+
export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective implements OnDestroy {
|
|
20
20
|
private store;
|
|
21
21
|
private overlay;
|
|
22
22
|
private viewContainerRef;
|
|
@@ -40,7 +40,9 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective {
|
|
|
40
40
|
places: WidgetManifest[];
|
|
41
41
|
selectedItem?: Element | null;
|
|
42
42
|
usedDatasources$: Observable<DataSource[]>;
|
|
43
|
+
openSub?: Subscription;
|
|
43
44
|
set manifest(manifest: WidgetManifest | null);
|
|
45
|
+
set openData$(open$: Observable<void> | Subject<void>);
|
|
44
46
|
additionalOptions: HeaderAction[] | null;
|
|
45
47
|
headerOptions: {
|
|
46
48
|
[key: string]: boolean;
|
|
@@ -76,7 +78,7 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective {
|
|
|
76
78
|
get hasGrid(): boolean;
|
|
77
79
|
get currentPlacementIndex(): number;
|
|
78
80
|
menuOpen($event?: MouseEvent, forceOpen?: boolean): void;
|
|
79
|
-
|
|
81
|
+
toggleDatasourceSelection(): void;
|
|
80
82
|
moveInNewWindow(widgetIndex: number, targetIndex: number): void;
|
|
81
83
|
maximize(widgetIndex: number): void;
|
|
82
84
|
emitManifest(): void;
|
|
@@ -101,6 +103,7 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective {
|
|
|
101
103
|
datasourcesChanged($event: DataSource[]): void;
|
|
102
104
|
isGeo(ds: NamedQuery | Dataset): boolean;
|
|
103
105
|
protected readonly DEFAULT_ICON_URL = "/assets/svgs/default.svg";
|
|
106
|
+
ngOnDestroy(): void;
|
|
104
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryWidgetHeaderComponent, never>;
|
|
105
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryWidgetHeaderComponent, "pry-widget-header", never, { "manifest": { "alias": "manifest"; "required": false; }; "additionalOptions": { "alias": "additionalOptions"; "required": false; }; "headerOptions": { "alias": "headerOptions"; "required": false; }; "displayCount": { "alias": "displayCount"; "required": false; }; "datasourceIds": { "alias": "datasourceIds"; "required": false; }; "widgetIndex": { "alias": "widgetIndex"; "required": false; }; }, { "manifestModified": "manifestModified"; }, never, ["*"], false, never>;
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryWidgetHeaderComponent, "pry-widget-header", never, { "manifest": { "alias": "manifest"; "required": false; }; "openData$": { "alias": "openData$"; "required": false; }; "additionalOptions": { "alias": "additionalOptions"; "required": false; }; "headerOptions": { "alias": "headerOptions"; "required": false; }; "displayCount": { "alias": "displayCount"; "required": false; }; "datasourceIds": { "alias": "datasourceIds"; "required": false; }; "widgetIndex": { "alias": "widgetIndex"; "required": false; }; }, { "manifestModified": "manifestModified"; }, never, ["*"], false, never>;
|
|
106
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "14.x || 15.x || 16.x",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"fast-deep-equal": "3.1.3",
|
|
21
21
|
"litegraph.js": "^0.7.10",
|
|
22
22
|
"ol": "^7.0.0",
|
|
23
|
-
"ol-mapbox-style": "^10.6.0",
|
|
24
23
|
"proj4": "^2.9.0",
|
|
25
24
|
"rxjs": "^7.4.0",
|
|
26
25
|
"uuid": "^8.3.2 || ^9.0.0",
|
|
@@ -86,18 +85,18 @@
|
|
|
86
85
|
"esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
|
|
87
86
|
"default": "./fesm2022/provoly-dashboard-admin.mjs"
|
|
88
87
|
},
|
|
89
|
-
"./dataset": {
|
|
90
|
-
"types": "./dataset/index.d.ts",
|
|
91
|
-
"esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
92
|
-
"esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
93
|
-
"default": "./fesm2022/provoly-dashboard-dataset.mjs"
|
|
94
|
-
},
|
|
95
88
|
"./import": {
|
|
96
89
|
"types": "./import/index.d.ts",
|
|
97
90
|
"esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
98
91
|
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
99
92
|
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
100
93
|
},
|
|
94
|
+
"./dataset": {
|
|
95
|
+
"types": "./dataset/index.d.ts",
|
|
96
|
+
"esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
97
|
+
"esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
|
|
98
|
+
"default": "./fesm2022/provoly-dashboard-dataset.mjs"
|
|
99
|
+
},
|
|
101
100
|
"./notification": {
|
|
102
101
|
"types": "./notification/index.d.ts",
|
|
103
102
|
"esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
@@ -140,30 +139,6 @@
|
|
|
140
139
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
141
140
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
142
141
|
},
|
|
143
|
-
"./filters/date": {
|
|
144
|
-
"types": "./filters/date/index.d.ts",
|
|
145
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
146
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
147
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
148
|
-
},
|
|
149
|
-
"./filters/list": {
|
|
150
|
-
"types": "./filters/list/index.d.ts",
|
|
151
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
152
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
153
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
154
|
-
},
|
|
155
|
-
"./filters/number": {
|
|
156
|
-
"types": "./filters/number/index.d.ts",
|
|
157
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
158
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
159
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
160
|
-
},
|
|
161
|
-
"./filters/text": {
|
|
162
|
-
"types": "./filters/text/index.d.ts",
|
|
163
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
164
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
165
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
166
|
-
},
|
|
167
142
|
"./components/card": {
|
|
168
143
|
"types": "./components/card/index.d.ts",
|
|
169
144
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -194,23 +169,41 @@
|
|
|
194
169
|
"esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
195
170
|
"default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
|
|
196
171
|
},
|
|
172
|
+
"./components/sinceDate": {
|
|
173
|
+
"types": "./components/sinceDate/index.d.ts",
|
|
174
|
+
"esm2022": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
|
|
175
|
+
"esm": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
|
|
176
|
+
"default": "./fesm2022/provoly-dashboard-components-sinceDate.mjs"
|
|
177
|
+
},
|
|
197
178
|
"./components/stepper": {
|
|
198
179
|
"types": "./components/stepper/index.d.ts",
|
|
199
180
|
"esm2022": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
200
181
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
201
182
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
202
183
|
},
|
|
203
|
-
"./
|
|
204
|
-
"types": "./
|
|
205
|
-
"esm2022": "./esm2022/
|
|
206
|
-
"esm": "./esm2022/
|
|
207
|
-
"default": "./fesm2022/provoly-dashboard-
|
|
184
|
+
"./filters/date": {
|
|
185
|
+
"types": "./filters/date/index.d.ts",
|
|
186
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
187
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
188
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
208
189
|
},
|
|
209
|
-
"./
|
|
210
|
-
"types": "./
|
|
211
|
-
"esm2022": "./esm2022/
|
|
212
|
-
"esm": "./esm2022/
|
|
213
|
-
"default": "./fesm2022/provoly-dashboard-
|
|
190
|
+
"./filters/list": {
|
|
191
|
+
"types": "./filters/list/index.d.ts",
|
|
192
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
193
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
194
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
195
|
+
},
|
|
196
|
+
"./filters/number": {
|
|
197
|
+
"types": "./filters/number/index.d.ts",
|
|
198
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
199
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
200
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
201
|
+
},
|
|
202
|
+
"./filters/text": {
|
|
203
|
+
"types": "./filters/text/index.d.ts",
|
|
204
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
205
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
206
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
214
207
|
},
|
|
215
208
|
"./pipeline-components/filter": {
|
|
216
209
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
@@ -218,6 +211,12 @@
|
|
|
218
211
|
"esm": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
219
212
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-filter.mjs"
|
|
220
213
|
},
|
|
214
|
+
"./pipeline-components/input-datasource": {
|
|
215
|
+
"types": "./pipeline-components/input-datasource/index.d.ts",
|
|
216
|
+
"esm2022": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
|
|
217
|
+
"esm": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
|
|
218
|
+
"default": "./fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs"
|
|
219
|
+
},
|
|
221
220
|
"./pipeline-components/noop": {
|
|
222
221
|
"types": "./pipeline-components/noop/index.d.ts",
|
|
223
222
|
"esm2022": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { GlobalManifest, LibraryTypes, ManifestDescription, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
5
|
+
import { DashboardGridLayout, GlobalManifest, LibraryTypes, ManifestDescription, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import { MetaEventType } from '@provoly/dashboard/components/metadata-editor';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -17,7 +17,7 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
|
|
|
17
17
|
image: string;
|
|
18
18
|
goBack: EventEmitter<void>;
|
|
19
19
|
type: LibraryTypes;
|
|
20
|
-
chosenLayout
|
|
20
|
+
chosenLayout: DashboardGridLayout;
|
|
21
21
|
set selectedPresentation(presentation: ManifestDescription | null);
|
|
22
22
|
constructor(store: Store, router: Router);
|
|
23
23
|
ngOnInit(): void;
|
|
@@ -47,6 +47,23 @@
|
|
|
47
47
|
flex-direction: column;
|
|
48
48
|
align-items: stretch;
|
|
49
49
|
|
|
50
|
+
.a-tooltip {
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__image {
|
|
55
|
+
width: auto;
|
|
56
|
+
height: 90%;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
|
|
60
|
+
.is-full-width {
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
object-fit: cover;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
50
67
|
&__header {
|
|
51
68
|
position: relative;
|
|
52
69
|
display: flex;
|
|
@@ -54,19 +71,6 @@
|
|
|
54
71
|
justify-content: center;
|
|
55
72
|
height: toRem(110);
|
|
56
73
|
|
|
57
|
-
img {
|
|
58
|
-
width: auto;
|
|
59
|
-
height: 90%;
|
|
60
|
-
|
|
61
|
-
&.is-full-width {
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
object-fit: cover;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
74
|
pry-icon.is-private {
|
|
71
75
|
position: absolute;
|
|
72
76
|
top: toRem(10);
|
|
@@ -13,6 +13,7 @@ export declare class PryRestitutionComponent extends SubscriptionnerDirective im
|
|
|
13
13
|
icon: string;
|
|
14
14
|
label: string;
|
|
15
15
|
type: string;
|
|
16
|
+
manifest: WidgetManifest;
|
|
16
17
|
}[]>;
|
|
17
18
|
classes$: Observable<Class[]>;
|
|
18
19
|
customManifest: WidgetManifest;
|
|
@@ -29,6 +30,12 @@ export declare class PryRestitutionComponent extends SubscriptionnerDirective im
|
|
|
29
30
|
isDataSourceSelected: boolean;
|
|
30
31
|
bindId: any;
|
|
31
32
|
image: string;
|
|
33
|
+
widgetTypes: {
|
|
34
|
+
icon: string;
|
|
35
|
+
label: string;
|
|
36
|
+
type: string;
|
|
37
|
+
manifest: WidgetManifest;
|
|
38
|
+
}[];
|
|
32
39
|
constructor(toolboxManifestService: ToolboxManifestService, store: Store, toolboxMenuService: ToolboxMenuService);
|
|
33
40
|
ngOnInit(): void;
|
|
34
41
|
cancel(stepper: PryStepperComponent): void;
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
"version": "0.14",
|
|
11
11
|
"description": "Update library to version 0.14",
|
|
12
12
|
"factory": "./ng-update/version-0-14/index#updateTo0_14"
|
|
13
|
+
},
|
|
14
|
+
"migration-v0.15": {
|
|
15
|
+
"version": "0.15",
|
|
16
|
+
"description": "Update library to version 0.15",
|
|
17
|
+
"factory": "./ng-update/version-0-15/index#updateTo0_15"
|
|
13
18
|
}
|
|
14
19
|
}
|
|
15
20
|
}
|
|
@@ -38,7 +38,6 @@ function addDependencies(tree, options) {
|
|
|
38
38
|
if (options.widgets.includes('widget-map')) {
|
|
39
39
|
console.log('...Adding provoly dependencies for map');
|
|
40
40
|
dependencies.push({ type: dependencies_1.NodeDependencyType.Default, version: '^7.0.0', name: 'ol' });
|
|
41
|
-
dependencies.push({ type: dependencies_1.NodeDependencyType.Default, version: '^10.6.0', name: 'ol-mapbox-style' });
|
|
42
41
|
dependencies.push({ type: dependencies_1.NodeDependencyType.Default, version: '^2.9.0', name: 'proj4' });
|
|
43
42
|
dependencies.push({ type: dependencies_1.NodeDependencyType.Dev, version: '^6.5.3', name: '@types/ol' });
|
|
44
43
|
dependencies.push({ type: dependencies_1.NodeDependencyType.Dev, version: '^2.5.2', name: '@types/proj4' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../projects/provoly/dashboard/schematics/ng-add/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2DAAsG;AACtG,4DAA0E;AAC1E,yDAA4D;AAC5D,2EAAwG;AAGxG,SAAwB,YAAY,CAAC,OAA4B;IAC/D,OAAO,CAAO,IAAI,EAAE,OAAO,EAAE,EAAE;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;QAC5D,eAAe,CAAC,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AAI,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE;gBAC5B,MAAM,IAAI,gCAAmB,CAAC,eAAe,UAAU,iBAAiB,CAAC,CAAC;aAC3E;YACD,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;YAC9C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YAE5B,0FAA0F;YAC1F,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAC5B,IAAA,uBAAa,EAAC,OAAO,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,IAAI,CAAA,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CACxG,CAAC;SACH;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAC;SACpE;KACF;IACD,OAAO,EAAE,CAAC;AACZ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateTo0_15 = void 0;
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
|
+
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
6
|
+
const complete_function_1 = require("../utils/complete.function");
|
|
7
|
+
const dependencies_1 = require("@schematics/angular/utility/dependencies");
|
|
8
|
+
function removeUselessDeps(tree) {
|
|
9
|
+
(0, dependencies_1.removePackageJsonDependency)(tree, 'ol-mapbox-style');
|
|
10
|
+
}
|
|
11
|
+
function updateTo0_15() {
|
|
12
|
+
return (_tree, context) => {
|
|
13
|
+
removeUselessDeps(_tree);
|
|
14
|
+
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
15
|
+
return (0, schematics_1.chain)([(0, complete_function_1.onMigrationComplete)('0.15', context)]);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
exports.updateTo0_15 = updateTo0_15;
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-0-15/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiF;AACjF,4DAA0E;AAC1E,kEAAiE;AACjE,2EAAuF;AAEvF,SAAS,iBAAiB,CAAC,IAAU;IACnC,IAAA,0CAA2B,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,YAAY;IAC1B,OAAO,CAAC,KAAW,EAAE,OAAyB,EAAQ,EAAE;QACtD,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACzB,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAA,kBAAK,EAAC,CAAC,IAAA,uCAAmB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC;AACJ,CAAC;AAND,oCAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
16
|
+
const testing_1 = require("@angular-devkit/schematics/testing");
|
|
17
|
+
const path_1 = __importDefault(require("path"));
|
|
18
|
+
const schematicName = 'ng-update';
|
|
19
|
+
describe(schematicName, () => {
|
|
20
|
+
const runner = new testing_1.SchematicTestRunner('schematics', path_1.default.join(__dirname, '../../migration.json'));
|
|
21
|
+
let tree;
|
|
22
|
+
beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
23
|
+
tree = yield runner.runExternalSchematic('@schematics/angular', 'ng-new', { name: 'test-project', version: '0.0.0', directory: '.' }, new testing_1.UnitTestTree(schematics_1.Tree.empty()));
|
|
24
|
+
}));
|
|
25
|
+
it(`should replace 'legendUrl' with 'legendUrl | async'`, () => __awaiter(void 0, void 0, void 0, function* () {
|
|
26
|
+
tree.create('/example.component.html', `<ng-container *ngIf="geoLayer | legendUrl"></ng-container>`);
|
|
27
|
+
yield runner.runSchematic('migration-v0.14', {}, tree);
|
|
28
|
+
const actual = tree.readContent('/example.component.html');
|
|
29
|
+
expect(actual).toMatch(/\|\s*legendUrl\s*\|\s*async"/);
|
|
30
|
+
expect(actual).not.toMatch(/\|\s*legendUrl"/);
|
|
31
|
+
}));
|
|
32
|
+
it(`should replace SelectionInteraction with InteractionManager`, () => __awaiter(void 0, void 0, void 0, function* () {
|
|
33
|
+
tree.create('/example.component.ts', `
|
|
34
|
+
export class ExampleComponent {
|
|
35
|
+
selectionInteraction = new SelectionInteraction();
|
|
36
|
+
constructor() {
|
|
37
|
+
this.selectionInteraction.methodCall()
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`);
|
|
41
|
+
yield runner.runSchematic('migration-v0.14', {}, tree);
|
|
42
|
+
const actual = tree.readContent('/example.component.ts');
|
|
43
|
+
expect(actual).not.toMatch(/SelectionInteraction/);
|
|
44
|
+
expect(actual).not.toMatch(/this.selectionInteraction./);
|
|
45
|
+
expect(actual).not.toMatch(/\sselectionInteraction/);
|
|
46
|
+
expect(actual).toMatch(/InteractionManager/);
|
|
47
|
+
expect(actual).toMatch(/interactionManager.selectionInteraction./);
|
|
48
|
+
expect(actual).toMatch(/interactionManager/);
|
|
49
|
+
}));
|
|
50
|
+
});
|
|
51
|
+
//# sourceMappingURL=index.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-0-15/index.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2DAAkD;AAClD,gEAAuF;AACvF,gDAAwB;AAExB,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACnG,IAAI,IAAkB,CAAC;IAEvB,UAAU,CAAC,GAAS,EAAE;QACpB,IAAI,GAAG,MAAM,MAAM,CAAC,oBAAoB,CACtC,qBAAqB,EACrB,QAAQ,EACR,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,EAC1D,IAAI,sBAAY,CAAC,iBAAI,CAAC,KAAK,EAAE,CAAC,CAC/B,CAAC;IACJ,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,GAAS,EAAE;QACnE,IAAI,CAAC,MAAM,CAAC,yBAAyB,EAAE,4DAA4D,CAAC,CAAC;QAErG,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QACvD,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;QAC3D,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC;QACvD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,6DAA6D,EAAE,GAAS,EAAE;QAC3E,IAAI,CAAC,MAAM,CACT,uBAAuB,EACvB;;;;;;;KAOD,CACA,CAAC;QAEF,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;QACvD,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;QAEzD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QACnD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC;QACzD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;QAErD,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;QACnE,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC/C,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -16,6 +16,9 @@ export declare const enTranslations: {
|
|
|
16
16
|
title: string;
|
|
17
17
|
ssTitle: string;
|
|
18
18
|
searchByCriteria: string;
|
|
19
|
+
associatedWidget: string;
|
|
20
|
+
showAssociatedWidget: string;
|
|
21
|
+
otherActions: string;
|
|
19
22
|
};
|
|
20
23
|
attribute: {
|
|
21
24
|
title: string;
|
|
@@ -104,12 +107,15 @@ export declare const enTranslations: {
|
|
|
104
107
|
allClasses: string;
|
|
105
108
|
oneClass: string;
|
|
106
109
|
manyClasses: string;
|
|
110
|
+
selectClass: string;
|
|
107
111
|
search: string;
|
|
112
|
+
clear: string;
|
|
108
113
|
};
|
|
109
114
|
multi: {
|
|
110
115
|
title: string;
|
|
111
116
|
addCondition: string;
|
|
112
117
|
options: string;
|
|
118
|
+
extraOptions: string;
|
|
113
119
|
multiType: string;
|
|
114
120
|
search: string;
|
|
115
121
|
requiredError: string;
|
|
@@ -16,6 +16,9 @@ export declare const frTranslations: {
|
|
|
16
16
|
title: string;
|
|
17
17
|
ssTitle: string;
|
|
18
18
|
searchByCriteria: string;
|
|
19
|
+
associatedWidget: string;
|
|
20
|
+
showAssociatedWidget: string;
|
|
21
|
+
otherActions: string;
|
|
19
22
|
};
|
|
20
23
|
attribute: {
|
|
21
24
|
title: string;
|
|
@@ -104,12 +107,15 @@ export declare const frTranslations: {
|
|
|
104
107
|
allClasses: string;
|
|
105
108
|
oneClass: string;
|
|
106
109
|
manyClasses: string;
|
|
110
|
+
selectClass: string;
|
|
107
111
|
search: string;
|
|
112
|
+
clear: string;
|
|
108
113
|
};
|
|
109
114
|
multi: {
|
|
110
115
|
title: string;
|
|
111
116
|
addCondition: string;
|
|
112
117
|
options: string;
|
|
118
|
+
extraOptions: string;
|
|
113
119
|
multiType: string;
|
|
114
120
|
search: string;
|
|
115
121
|
requiredError: string;
|
|
@@ -33,6 +33,7 @@ export declare class MultiClassConditionComponent implements OnInit {
|
|
|
33
33
|
onChangeField(condition: MultiClassCondition, field: string): void;
|
|
34
34
|
onCloseModal(): void;
|
|
35
35
|
onUpdateValue(condition: MultiClassCondition): void;
|
|
36
|
+
join(classes: Class[]): string;
|
|
36
37
|
get hasTwoFields(): boolean;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiClassConditionComponent, never>;
|
|
38
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<MultiClassConditionComponent, "pry-multi-class-condition", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>;
|