Skip to content

Commit

Permalink
feat(time-filter): rename timeAnalysis to timeFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Oct 31, 2019
1 parent be882e2 commit 4c7ceaf
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<igo-share-map
igoShareMapBinding
[map]="map"
[hasCopyLinkButton]="hasCopyLinkButton"
[hasShareMapButton]="hasShareMapButton"
></igo-share-map>
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ import { MapState } from '../../map/map.state';
templateUrl: './context-share-tool.component.html'
})
export class ContextShareToolComponent {
@Input() hasCopyLinkButton: boolean = false;

@Input() hasShareMapButton: boolean = true;

get map(): IgoMap { return this.mapState.map; }

Expand Down
8 changes: 4 additions & 4 deletions packages/integration/src/lib/filter/filter.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {

import { IgoFilterModule } from '@igo2/geo';
import { OgcFilterToolComponent } from './ogc-filter-tool/ogc-filter-tool.component';
import { TimeAnalysisToolComponent } from './time-analysis-tool/time-analysis-tool.component';
import { TimeFilterToolComponent } from './time-filter-tool/time-filter-tool.component';

@NgModule({
imports: [IgoFilterModule],
declarations: [OgcFilterToolComponent, TimeAnalysisToolComponent],
exports: [OgcFilterToolComponent, TimeAnalysisToolComponent],
entryComponents: [OgcFilterToolComponent, TimeAnalysisToolComponent],
declarations: [OgcFilterToolComponent, TimeFilterToolComponent],
exports: [OgcFilterToolComponent, TimeFilterToolComponent],
entryComponents: [OgcFilterToolComponent, TimeFilterToolComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class IgoAppFilterModule {
Expand Down
2 changes: 1 addition & 1 deletion packages/integration/src/lib/filter/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './ogc-filter-tool';
export * from './time-analysis-tool';
export * from './time-filter-tool';
export * from './filter.module';

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './time-filter-tool.component';
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Component } from '@angular/core';

import { ToolComponent } from '@igo2/common';

@ToolComponent({
name: 'timeFilter',
title: 'igo.integration.tools.timeFilter',
icon: 'history'
})
@Component({
selector: 'igo-time-filter-tool',
templateUrl: './time-filter-tool.component.html'
})
export class TimeFilterToolComponent {
constructor() {}
}
2 changes: 1 addition & 1 deletion packages/integration/src/locale/en.integration.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"print": "Print",
"searchResults": "Search Results",
"shareMap": "Share",
"timeAnalysis": "Time Analysis",
"timeFilter": "Time Filter",
"about": "About"
},
"searchResultsTool": {
Expand Down
2 changes: 1 addition & 1 deletion packages/integration/src/locale/fr.integration.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"print": "Imprimer",
"searchResults": "Résultats de recherche",
"shareMap": "Partager",
"timeAnalysis": "Analyse Temporelle",
"timeFilter": "Filtre Temporel",
"about": "À propos"
},
"searchResultsTool": {
Expand Down

0 comments on commit 4c7ceaf

Please sign in to comment.