@igo2/common 1.9.1 → 1.9.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/bundles/igo2-common.umd.js +95 -13
- package/bundles/igo2-common.umd.js.map +1 -1
- package/esm2015/lib/badge-icon/badge-icon.directive.js +6 -1
- package/esm2015/lib/entity/entity-table/entity-table.component.js +1 -1
- package/esm2015/lib/entity/shared/view.js +1 -1
- package/esm2015/lib/home-button/home-button.component.js +35 -0
- package/esm2015/lib/home-button/home-button.module.js +43 -0
- package/esm2015/lib/home-button/index.js +2 -0
- package/esm2015/lib/interactive-tour/interactive-tour.loader.js +2 -2
- package/esm2015/lib/tool/toolbox/toolbox.component.js +2 -2
- package/esm2015/public_api.js +3 -1
- package/fesm2015/igo2-common.js +72 -3
- package/fesm2015/igo2-common.js.map +1 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +5 -0
- package/lib/home-button/home-button.component.d.ts +9 -0
- package/lib/home-button/home-button.module.d.ts +15 -0
- package/lib/home-button/index.d.ts +1 -0
- package/package.json +6 -6
- package/public_api.d.ts +2 -0
- package/style/common.theming.scss +1 -0
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* This directive allow to add an icon inside a matBadge.
|
|
6
|
+
* A value must be set into the matBadge directive ex: matBadge="icon".
|
|
7
|
+
* The badge content will be overrided by this current directive.
|
|
8
|
+
*/
|
|
4
9
|
export declare class IgoBadgeIconDirective implements OnInit {
|
|
5
10
|
private el;
|
|
6
11
|
private matIconRegistry;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HomeButtonComponent {
|
|
4
|
+
unselectButton: EventEmitter<any>;
|
|
5
|
+
constructor();
|
|
6
|
+
onUnselectButtonClick(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeButtonComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomeButtonComponent, "igo-home-button", never, {}, { "unselectButton": "unselectButton"; }, never, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./home-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
7
|
+
import * as i6 from "@igo2/core";
|
|
8
|
+
/**
|
|
9
|
+
* @ignore
|
|
10
|
+
*/
|
|
11
|
+
export declare class IgoHomeButtonModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgoHomeButtonModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoHomeButtonModule, [typeof i1.HomeButtonComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.MatTooltipModule, typeof i6.IgoLanguageModule], [typeof i1.HomeButtonComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgoHomeButtonModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './home-button.component';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/common",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "MSP",
|
|
6
6
|
"keywords": [
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": "^12.
|
|
20
|
-
"@angular/core": "^12.
|
|
21
|
-
"@angular/material": "
|
|
22
|
-
"@igo2/core": "^1.9.
|
|
23
|
-
"@igo2/utils": "^1.9.
|
|
19
|
+
"@angular/common": "^12.2.9",
|
|
20
|
+
"@angular/core": "^12.2.9",
|
|
21
|
+
"@angular/material": "^12.2.9",
|
|
22
|
+
"@igo2/core": "^1.9.3",
|
|
23
|
+
"@igo2/utils": "^1.9.3",
|
|
24
24
|
"scroll-into-view-if-needed": "^2.2.20",
|
|
25
25
|
"typy": "^3.3.0"
|
|
26
26
|
},
|
package/public_api.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './lib/dynamic-component/dynamic-outlet/dynamic-outlet.module';
|
|
|
14
14
|
export * from './lib/flexible/flexible.module';
|
|
15
15
|
export * from './lib/form/form.module';
|
|
16
16
|
export * from './lib/form/form/form.module';
|
|
17
|
+
export * from './lib/home-button/home-button.module';
|
|
17
18
|
export * from './lib/form/form-field/form-field.module';
|
|
18
19
|
export * from './lib/form/form-group/form-group.module';
|
|
19
20
|
export * from './lib/entity/entity.module';
|
|
@@ -49,6 +50,7 @@ export * from './lib/custom-html';
|
|
|
49
50
|
export * from './lib/drag-drop';
|
|
50
51
|
export * from './lib/dynamic-component';
|
|
51
52
|
export * from './lib/form';
|
|
53
|
+
export * from './lib/home-button';
|
|
52
54
|
export * from './lib/entity';
|
|
53
55
|
export * from './lib/flexible';
|
|
54
56
|
export * from './lib/image';
|