@igo2/common 1.9.0 → 1.10.0
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 +97 -63
- package/bundles/igo2-common.umd.js.map +1 -1
- package/esm2015/lib/action/action.module.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar-item.component.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar.component.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar.module.js +1 -1
- package/esm2015/lib/action/index.js +1 -1
- package/esm2015/lib/action/shared/action.enums.js +1 -1
- package/esm2015/lib/action/shared/action.interfaces.js +1 -1
- package/esm2015/lib/action/shared/index.js +1 -1
- package/esm2015/lib/action/shared/store.js +1 -1
- package/esm2015/lib/backdrop/backdrop.component.js +1 -1
- package/esm2015/lib/backdrop/backdrop.module.js +1 -1
- package/esm2015/lib/backdrop/index.js +1 -1
- package/esm2015/lib/badge-icon/badge-icon.directive.js +6 -1
- package/esm2015/lib/badge-icon/badge-icon.module.js +1 -1
- package/esm2015/lib/badge-icon/index.js +1 -1
- package/esm2015/lib/clickout/clickout.directive.js +1 -1
- package/esm2015/lib/clickout/clickout.module.js +1 -1
- package/esm2015/lib/clickout/index.js +1 -1
- package/esm2015/lib/clone/clone.module.js +1 -1
- package/esm2015/lib/clone/clone.pipe.js +1 -1
- package/esm2015/lib/clone/index.js +1 -1
- package/esm2015/lib/collapsible/collapse.directive.js +1 -1
- package/esm2015/lib/collapsible/collapsible.component.js +1 -1
- package/esm2015/lib/collapsible/collapsible.module.js +1 -1
- package/esm2015/lib/collapsible/index.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.component.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.module.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.service.js +1 -1
- package/esm2015/lib/confirm-dialog/index.js +1 -1
- package/esm2015/lib/context-menu/context-menu.directive.js +5 -52
- package/esm2015/lib/context-menu/context-menu.module.js +1 -1
- package/esm2015/lib/context-menu/index.js +1 -1
- package/esm2015/lib/custom-html/custom-html.component.js +1 -1
- package/esm2015/lib/custom-html/custom-html.module.js +1 -1
- package/esm2015/lib/custom-html/custom-html.pipe.js +1 -1
- package/esm2015/lib/custom-html/index.js +1 -1
- package/esm2015/lib/drag-drop/drag-drop.module.js +1 -1
- package/esm2015/lib/drag-drop/index.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-component.module.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js +1 -1
- package/esm2015/lib/dynamic-component/index.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.service.js +1 -1
- package/esm2015/lib/dynamic-component/shared/index.js +1 -1
- package/esm2015/lib/entity/entity-selector/entity-selector.component.js +1 -1
- package/esm2015/lib/entity/entity-selector/entity-selector.module.js +1 -1
- package/esm2015/lib/entity/entity-table/entity-table.component.js +1 -1
- package/esm2015/lib/entity/entity-table/entity-table.module.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js +1 -1
- package/esm2015/lib/entity/entity.module.js +1 -1
- package/esm2015/lib/entity/index.js +1 -1
- package/esm2015/lib/entity/shared/entity.enums.js +1 -1
- package/esm2015/lib/entity/shared/entity.interfaces.js +1 -1
- package/esm2015/lib/entity/shared/entity.utils.js +1 -1
- package/esm2015/lib/entity/shared/index.js +1 -1
- package/esm2015/lib/entity/shared/state.js +1 -1
- package/esm2015/lib/entity/shared/store.js +1 -1
- package/esm2015/lib/entity/shared/strategies/filter-custom-function.js +1 -1
- package/esm2015/lib/entity/shared/strategies/filter-selection.js +1 -1
- package/esm2015/lib/entity/shared/strategies/index.js +1 -1
- package/esm2015/lib/entity/shared/strategies/strategy.js +1 -1
- package/esm2015/lib/entity/shared/transaction.js +1 -1
- package/esm2015/lib/entity/shared/view.js +1 -1
- package/esm2015/lib/entity/shared/watcher.js +1 -1
- package/esm2015/lib/flexible/flexible.component.js +1 -1
- package/esm2015/lib/flexible/flexible.module.js +1 -1
- package/esm2015/lib/flexible/flexible.type.js +1 -1
- package/esm2015/lib/flexible/index.js +1 -1
- package/esm2015/lib/form/form/form.component.js +1 -1
- package/esm2015/lib/form/form/form.module.js +1 -1
- package/esm2015/lib/form/form-field/form-field-select.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field-text.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field-textarea.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field.module.js +1 -1
- package/esm2015/lib/form/form-field/index.js +1 -1
- package/esm2015/lib/form/form-group/form-group.component.js +1 -1
- package/esm2015/lib/form/form-group/form-group.module.js +1 -1
- package/esm2015/lib/form/form.module.js +1 -1
- package/esm2015/lib/form/index.js +1 -1
- package/esm2015/lib/form/shared/form-field-component.js +1 -1
- package/esm2015/lib/form/shared/form-field.service.js +1 -1
- package/esm2015/lib/form/shared/form.interfaces.js +1 -1
- package/esm2015/lib/form/shared/form.utils.js +1 -1
- package/esm2015/lib/form/shared/index.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/image/image.module.js +1 -1
- package/esm2015/lib/image/index.js +1 -1
- package/esm2015/lib/interactive-tour/index.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.component.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.interface.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.loader.js +2 -2
- package/esm2015/lib/interactive-tour/interactive-tour.module.js +1 -1
- package/esm2015/lib/json-dialog/index.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.component.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.module.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.service.js +1 -1
- package/esm2015/lib/keyvalue/index.js +1 -1
- package/esm2015/lib/keyvalue/keyvalue.module.js +1 -1
- package/esm2015/lib/keyvalue/keyvalue.pipe.js +1 -1
- package/esm2015/lib/list/index.js +1 -1
- package/esm2015/lib/list/list-item.directive.js +1 -1
- package/esm2015/lib/list/list.component.js +1 -1
- package/esm2015/lib/list/list.module.js +1 -1
- package/esm2015/lib/panel/index.js +1 -1
- package/esm2015/lib/panel/panel.component.js +1 -1
- package/esm2015/lib/panel/panel.module.js +1 -1
- package/esm2015/lib/sidenav/index.js +1 -1
- package/esm2015/lib/sidenav/sidenav-shim.directive.js +1 -1
- package/esm2015/lib/sidenav/sidenav.module.js +1 -1
- package/esm2015/lib/spinner/index.js +1 -1
- package/esm2015/lib/spinner/spinner-activity.directive.js +1 -1
- package/esm2015/lib/spinner/spinner.component.js +1 -1
- package/esm2015/lib/spinner/spinner.module.js +1 -1
- package/esm2015/lib/stop-propagation/index.js +1 -1
- package/esm2015/lib/stop-propagation/stop-drop-propagation.directive.js +1 -1
- package/esm2015/lib/stop-propagation/stop-propagation.directive.js +1 -1
- package/esm2015/lib/stop-propagation/stop-propagation.module.js +1 -1
- package/esm2015/lib/table/index.js +1 -1
- package/esm2015/lib/table/table-action-color.enum.js +1 -1
- package/esm2015/lib/table/table-database.js +1 -1
- package/esm2015/lib/table/table-datasource.js +1 -1
- package/esm2015/lib/table/table-model.interface.js +1 -1
- package/esm2015/lib/table/table.component.js +1 -1
- package/esm2015/lib/table/table.module.js +1 -1
- package/esm2015/lib/tool/index.js +1 -1
- package/esm2015/lib/tool/shared/index.js +1 -1
- package/esm2015/lib/tool/shared/tool-component.js +1 -1
- package/esm2015/lib/tool/shared/tool.interface.js +1 -1
- package/esm2015/lib/tool/shared/tool.service.js +1 -1
- package/esm2015/lib/tool/shared/toolbox.enums.js +1 -1
- package/esm2015/lib/tool/shared/toolbox.js +1 -1
- package/esm2015/lib/tool/tool.module.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.animation.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.component.js +2 -2
- package/esm2015/lib/tool/toolbox/toolbox.module.js +1 -1
- package/esm2015/lib/widget/index.js +1 -1
- package/esm2015/lib/widget/shared/index.js +1 -1
- package/esm2015/lib/widget/shared/widget.interfaces.js +1 -1
- package/esm2015/lib/widget/shared/widget.js +1 -1
- package/esm2015/lib/widget/shared/widget.service.js +1 -1
- package/esm2015/lib/widget/widget-outlet/widget-outlet.component.js +1 -1
- package/esm2015/lib/widget/widget-outlet/widget-outlet.module.js +1 -1
- package/esm2015/lib/widget/widget.module.js +1 -1
- package/esm2015/lib/workspace/index.js +1 -1
- package/esm2015/lib/workspace/shared/index.js +1 -1
- package/esm2015/lib/workspace/shared/store.js +1 -1
- package/esm2015/lib/workspace/shared/workspace.interfaces.js +1 -1
- package/esm2015/lib/workspace/shared/workspace.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.component.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +1 -1
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js +1 -1
- package/esm2015/lib/workspace/workspace.module.js +1 -1
- package/esm2015/public_api.js +3 -1
- package/fesm2015/igo2-common.js +75 -53
- package/fesm2015/igo2-common.js.map +1 -1
- package/lib/badge-icon/badge-icon.directive.d.ts +5 -0
- package/lib/context-menu/context-menu.directive.d.ts +4 -10
- 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 +7 -6
- package/public_api.d.ts +2 -0
- package/style/common.theming.scss +1 -0
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
|
@@ -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;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter,
|
|
1
|
+
import { ElementRef, EventEmitter, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import type { TemplateRef } from '@angular/core';
|
|
3
3
|
import { Overlay } from '@angular/cdk/overlay';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ContextMenuDirective
|
|
5
|
+
export declare class ContextMenuDirective {
|
|
6
6
|
overlay: Overlay;
|
|
7
7
|
viewContainerRef: ViewContainerRef;
|
|
8
8
|
private elementRef;
|
|
9
9
|
private overlayRef;
|
|
10
10
|
private sub;
|
|
11
|
-
private longTouch$$;
|
|
12
|
-
private touchmove$$;
|
|
13
|
-
private touchend$$;
|
|
14
|
-
private isDragging;
|
|
15
11
|
menuContext: TemplateRef<any>;
|
|
16
|
-
touchDelayMs: number;
|
|
17
12
|
menuPosition: EventEmitter<{
|
|
18
13
|
x: number;
|
|
19
14
|
y: number;
|
|
20
15
|
}>;
|
|
21
16
|
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elementRef: ElementRef);
|
|
22
|
-
|
|
23
|
-
onContextMenu(e: MouseEvent | TouchEvent): void;
|
|
17
|
+
onContextMenu(e: MouseEvent): void;
|
|
24
18
|
close(): void;
|
|
25
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[igoContextMenu]", never, { "menuContext": "igoContextMenu";
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[igoContextMenu]", never, { "menuContext": "igoContextMenu"; }, { "menuPosition": "menuPosition"; }, never>;
|
|
27
21
|
}
|
|
@@ -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.
|
|
3
|
+
"version": "1.10.0",
|
|
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.
|
|
23
|
-
"@igo2/utils": "^1.
|
|
19
|
+
"@angular/common": "^12.2.9",
|
|
20
|
+
"@angular/core": "^12.2.9",
|
|
21
|
+
"@angular/material": "^12.2.9",
|
|
22
|
+
"@igo2/core": "^1.10.0",
|
|
23
|
+
"@igo2/utils": "^1.10.0",
|
|
24
24
|
"scroll-into-view-if-needed": "^2.2.20",
|
|
25
25
|
"typy": "^3.3.0"
|
|
26
26
|
},
|
|
@@ -35,5 +35,6 @@
|
|
|
35
35
|
"typings": "igo2-common.d.ts",
|
|
36
36
|
"sideEffects": false,
|
|
37
37
|
"scripts": {
|
|
38
|
+
|
|
38
39
|
}
|
|
39
40
|
}
|
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';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.igo-actionbar-overlay {
|
|
2
|
-
min-width: inherit !important;
|
|
3
|
-
padding-top: 0;
|
|
4
|
-
padding-bottom: 0;
|
|
5
|
-
|
|
6
|
-
.mat-list {
|
|
7
|
-
padding-top: 0
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text {
|
|
11
|
-
padding-right: 16px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.mat-menu-content:not(:empty) {
|
|
15
|
-
padding-top: 0;
|
|
16
|
-
padding-bottom: 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
.igo-actionbar-overlay {
|
|
2
|
+
min-width: inherit !important;
|
|
3
|
+
padding-top: 0;
|
|
4
|
+
padding-bottom: 0;
|
|
5
|
+
|
|
6
|
+
.mat-list {
|
|
7
|
+
padding-top: 0
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text {
|
|
11
|
+
padding-right: 16px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-menu-content:not(:empty) {
|
|
15
|
+
padding-top: 0;
|
|
16
|
+
padding-bottom: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*** List ***/
|
|
2
|
-
$igo-list-item-height: 46px;
|
|
3
|
-
$igo-list-item-padding: 3px;
|
|
4
|
-
$igo-list-item-icon-padding: 8px;
|
|
5
|
-
|
|
6
|
-
/*** Panel ***/
|
|
7
|
-
$igo-panel-header-height: 46px;
|
|
8
|
-
$igo-panel-header-padding: 3px;
|
|
1
|
+
/*** List ***/
|
|
2
|
+
$igo-list-item-height: 46px;
|
|
3
|
+
$igo-list-item-padding: 3px;
|
|
4
|
+
$igo-list-item-icon-padding: 8px;
|
|
5
|
+
|
|
6
|
+
/*** Panel ***/
|
|
7
|
+
$igo-panel-header-height: 46px;
|
|
8
|
+
$igo-panel-header-padding: 3px;
|