@igo2/common 1.13.0-alpha.1 → 1.13.1
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/assets/images/na.png +0 -0
- package/esm2020/lib/action/action.module.mjs +1 -1
- package/esm2020/lib/action/actionbar/actionbar-item.component.mjs +2 -2
- package/esm2020/lib/action/actionbar/actionbar.component.mjs +2 -2
- package/esm2020/lib/action/actionbar/actionbar.module.mjs +1 -1
- package/esm2020/lib/action/index.mjs +1 -1
- package/esm2020/lib/action/shared/action.enums.mjs +1 -1
- package/esm2020/lib/action/shared/action.interfaces.mjs +1 -1
- package/esm2020/lib/action/shared/index.mjs +1 -1
- package/esm2020/lib/action/shared/store.mjs +1 -1
- package/esm2020/lib/backdrop/backdrop.component.mjs +2 -2
- package/esm2020/lib/backdrop/backdrop.module.mjs +1 -1
- package/esm2020/lib/backdrop/index.mjs +1 -1
- package/esm2020/lib/badge-icon/badge-icon.directive.mjs +1 -1
- package/esm2020/lib/badge-icon/badge-icon.module.mjs +1 -1
- package/esm2020/lib/badge-icon/index.mjs +1 -1
- package/esm2020/lib/clickout/clickout.directive.mjs +1 -1
- package/esm2020/lib/clickout/clickout.module.mjs +1 -1
- package/esm2020/lib/clickout/index.mjs +1 -1
- package/esm2020/lib/clone/clone.module.mjs +1 -1
- package/esm2020/lib/clone/clone.pipe.mjs +1 -1
- package/esm2020/lib/clone/index.mjs +1 -1
- package/esm2020/lib/collapsible/collapse.directive.mjs +1 -1
- package/esm2020/lib/collapsible/collapsible.component.mjs +2 -2
- package/esm2020/lib/collapsible/collapsible.module.mjs +1 -1
- package/esm2020/lib/collapsible/index.mjs +1 -1
- package/esm2020/lib/confirm-dialog/confirm-dialog.component.mjs +2 -2
- package/esm2020/lib/confirm-dialog/confirm-dialog.module.mjs +1 -1
- package/esm2020/lib/confirm-dialog/confirm-dialog.service.mjs +1 -1
- package/esm2020/lib/confirm-dialog/index.mjs +1 -1
- package/esm2020/lib/context-menu/context-menu.directive.mjs +18 -3
- package/esm2020/lib/context-menu/context-menu.module.mjs +5 -4
- package/esm2020/lib/context-menu/index.mjs +2 -1
- package/esm2020/lib/context-menu/long-press.directive.mjs +43 -0
- package/esm2020/lib/custom-html/custom-html.component.mjs +2 -2
- package/esm2020/lib/custom-html/custom-html.module.mjs +1 -1
- package/esm2020/lib/custom-html/custom-html.pipe.mjs +1 -1
- package/esm2020/lib/custom-html/index.mjs +1 -1
- package/esm2020/lib/dom/dom.interfaces.mjs +1 -1
- package/esm2020/lib/dom/dom.module.mjs +1 -1
- package/esm2020/lib/dom/dom.service.mjs +1 -1
- package/esm2020/lib/dom/index.mjs +1 -1
- package/esm2020/lib/drag-drop/drag-drop.module.mjs +1 -1
- package/esm2020/lib/drag-drop/index.mjs +1 -1
- package/esm2020/lib/dynamic-component/dynamic-component.module.mjs +1 -1
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.mjs +2 -2
- package/esm2020/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.mjs +1 -1
- package/esm2020/lib/dynamic-component/index.mjs +1 -1
- package/esm2020/lib/dynamic-component/shared/dynamic-component.interfaces.mjs +1 -1
- package/esm2020/lib/dynamic-component/shared/dynamic-component.mjs +1 -1
- package/esm2020/lib/dynamic-component/shared/dynamic-component.service.mjs +1 -1
- package/esm2020/lib/dynamic-component/shared/index.mjs +1 -1
- package/esm2020/lib/entity/entity-selector/entity-selector.component.mjs +2 -2
- package/esm2020/lib/entity/entity-selector/entity-selector.module.mjs +1 -1
- package/esm2020/lib/entity/entity-table/entity-table-row.directive.mjs +1 -1
- package/esm2020/lib/entity/entity-table/entity-table.component.mjs +102 -73
- package/esm2020/lib/entity/entity-table/entity-table.module.mjs +1 -1
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +2 -2
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
- package/esm2020/lib/entity/entity-table-paginator/entity-table-paginator.module.mjs +1 -1
- package/esm2020/lib/entity/entity.module.mjs +1 -1
- package/esm2020/lib/entity/index.mjs +1 -1
- package/esm2020/lib/entity/shared/entity.enums.mjs +1 -1
- package/esm2020/lib/entity/shared/entity.interfaces.mjs +1 -1
- package/esm2020/lib/entity/shared/entity.utils.mjs +1 -1
- package/esm2020/lib/entity/shared/index.mjs +1 -1
- package/esm2020/lib/entity/shared/state.mjs +1 -1
- package/esm2020/lib/entity/shared/store.mjs +1 -1
- package/esm2020/lib/entity/shared/strategies/filter-custom-function.mjs +1 -1
- package/esm2020/lib/entity/shared/strategies/filter-selection.mjs +1 -1
- package/esm2020/lib/entity/shared/strategies/index.mjs +1 -1
- package/esm2020/lib/entity/shared/strategies/strategy.mjs +1 -1
- package/esm2020/lib/entity/shared/transaction.mjs +1 -1
- package/esm2020/lib/entity/shared/view.mjs +1 -1
- package/esm2020/lib/entity/shared/watcher.mjs +1 -1
- package/esm2020/lib/flexible/flexible.component.mjs +2 -2
- package/esm2020/lib/flexible/flexible.module.mjs +1 -1
- package/esm2020/lib/flexible/flexible.type.mjs +1 -1
- package/esm2020/lib/flexible/index.mjs +1 -1
- package/esm2020/lib/form/form/form.component.mjs +2 -2
- package/esm2020/lib/form/form/form.module.mjs +1 -1
- package/esm2020/lib/form/form-field/form-field-select.component.mjs +2 -2
- package/esm2020/lib/form/form-field/form-field-text.component.mjs +2 -2
- package/esm2020/lib/form/form-field/form-field-textarea.component.mjs +2 -2
- package/esm2020/lib/form/form-field/form-field.component.mjs +2 -2
- package/esm2020/lib/form/form-field/form-field.module.mjs +1 -1
- package/esm2020/lib/form/form-field/index.mjs +1 -1
- package/esm2020/lib/form/form-group/form-group.component.mjs +2 -2
- package/esm2020/lib/form/form-group/form-group.module.mjs +1 -1
- package/esm2020/lib/form/form.module.mjs +1 -1
- package/esm2020/lib/form/index.mjs +1 -1
- package/esm2020/lib/form/shared/form-field-component.mjs +1 -1
- package/esm2020/lib/form/shared/form-field.service.mjs +1 -1
- package/esm2020/lib/form/shared/form.interfaces.mjs +1 -1
- package/esm2020/lib/form/shared/form.service.mjs +3 -3
- package/esm2020/lib/form/shared/form.utils.mjs +1 -1
- package/esm2020/lib/form/shared/index.mjs +1 -1
- package/esm2020/lib/home-button/home-button.component.mjs +2 -2
- package/esm2020/lib/home-button/home-button.module.mjs +1 -1
- package/esm2020/lib/home-button/index.mjs +1 -1
- package/esm2020/lib/image/image-error.directive.mjs +35 -0
- package/esm2020/lib/image/image.module.mjs +5 -4
- package/esm2020/lib/image/index.mjs +2 -1
- package/esm2020/lib/image/secure-image.pipe.mjs +9 -4
- package/esm2020/lib/interactive-tour/index.mjs +1 -1
- package/esm2020/lib/interactive-tour/interactive-tour.component.mjs +2 -2
- package/esm2020/lib/interactive-tour/interactive-tour.interface.mjs +1 -1
- package/esm2020/lib/interactive-tour/interactive-tour.loader.mjs +1 -1
- package/esm2020/lib/interactive-tour/interactive-tour.module.mjs +1 -1
- package/esm2020/lib/interactive-tour/interactive-tour.service.mjs +1 -1
- package/esm2020/lib/json-dialog/index.mjs +1 -1
- package/esm2020/lib/json-dialog/json-dialog.component.mjs +2 -2
- package/esm2020/lib/json-dialog/json-dialog.module.mjs +1 -1
- package/esm2020/lib/json-dialog/json-dialog.service.mjs +1 -1
- package/esm2020/lib/keyvalue/index.mjs +1 -1
- package/esm2020/lib/keyvalue/keyvalue.module.mjs +1 -1
- package/esm2020/lib/keyvalue/keyvalue.pipe.mjs +1 -1
- package/esm2020/lib/list/index.mjs +1 -1
- package/esm2020/lib/list/list-item.directive.mjs +1 -1
- package/esm2020/lib/list/list.component.mjs +3 -3
- package/esm2020/lib/list/list.module.mjs +1 -1
- package/esm2020/lib/panel/index.mjs +1 -1
- package/esm2020/lib/panel/panel.component.mjs +2 -2
- package/esm2020/lib/panel/panel.module.mjs +1 -1
- package/esm2020/lib/sidenav/index.mjs +1 -1
- package/esm2020/lib/sidenav/sidenav-shim.directive.mjs +1 -1
- package/esm2020/lib/sidenav/sidenav.module.mjs +1 -1
- package/esm2020/lib/spinner/index.mjs +1 -1
- package/esm2020/lib/spinner/spinner-activity.directive.mjs +1 -1
- package/esm2020/lib/spinner/spinner.component.mjs +2 -2
- package/esm2020/lib/spinner/spinner.module.mjs +1 -1
- package/esm2020/lib/stop-propagation/index.mjs +1 -1
- package/esm2020/lib/stop-propagation/stop-drop-propagation.directive.mjs +1 -1
- package/esm2020/lib/stop-propagation/stop-propagation.directive.mjs +1 -1
- package/esm2020/lib/stop-propagation/stop-propagation.module.mjs +1 -1
- package/esm2020/lib/table/index.mjs +1 -1
- package/esm2020/lib/table/table-action-color.enum.mjs +1 -1
- package/esm2020/lib/table/table-database.mjs +1 -1
- package/esm2020/lib/table/table-datasource.mjs +1 -1
- package/esm2020/lib/table/table-model.interface.mjs +1 -1
- package/esm2020/lib/table/table.component.mjs +2 -2
- package/esm2020/lib/table/table.module.mjs +1 -1
- package/esm2020/lib/tool/index.mjs +1 -1
- package/esm2020/lib/tool/shared/index.mjs +1 -1
- package/esm2020/lib/tool/shared/tool-component.mjs +1 -1
- package/esm2020/lib/tool/shared/tool.interface.mjs +1 -1
- package/esm2020/lib/tool/shared/tool.service.mjs +1 -1
- package/esm2020/lib/tool/shared/toolbox.enums.mjs +1 -1
- package/esm2020/lib/tool/shared/toolbox.mjs +1 -1
- package/esm2020/lib/tool/tool.module.mjs +1 -1
- package/esm2020/lib/tool/toolbox/toolbox.animation.mjs +1 -1
- package/esm2020/lib/tool/toolbox/toolbox.component.mjs +2 -2
- package/esm2020/lib/tool/toolbox/toolbox.module.mjs +1 -1
- package/esm2020/lib/widget/index.mjs +1 -1
- package/esm2020/lib/widget/shared/index.mjs +1 -1
- package/esm2020/lib/widget/shared/widget.interfaces.mjs +1 -1
- package/esm2020/lib/widget/shared/widget.mjs +1 -1
- package/esm2020/lib/widget/shared/widget.service.mjs +1 -1
- package/esm2020/lib/widget/widget-outlet/widget-outlet.component.mjs +2 -2
- package/esm2020/lib/widget/widget-outlet/widget-outlet.module.mjs +1 -1
- package/esm2020/lib/widget/widget.module.mjs +1 -1
- package/esm2020/lib/workspace/index.mjs +1 -1
- package/esm2020/lib/workspace/shared/index.mjs +1 -1
- package/esm2020/lib/workspace/shared/store.mjs +1 -1
- package/esm2020/lib/workspace/shared/workspace.interfaces.mjs +1 -1
- package/esm2020/lib/workspace/shared/workspace.mjs +1 -1
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.component.mjs +2 -2
- package/esm2020/lib/workspace/workspace-selector/workspace-selector.module.mjs +1 -1
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +2 -2
- package/esm2020/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.mjs +1 -1
- package/esm2020/lib/workspace/workspace.module.mjs +1 -1
- package/esm2020/public_api.mjs +1 -1
- package/fesm2015/igo2-common.mjs +243 -106
- package/fesm2015/igo2-common.mjs.map +1 -1
- package/fesm2020/igo2-common.mjs +228 -106
- package/fesm2020/igo2-common.mjs.map +1 -1
- package/lib/context-menu/context-menu.directive.d.ts +1 -1
- package/lib/context-menu/context-menu.module.d.ts +2 -1
- package/lib/context-menu/index.d.ts +1 -0
- package/lib/context-menu/long-press.directive.d.ts +12 -0
- package/lib/entity/entity-table/entity-table.component.d.ts +7 -6
- package/lib/entity/shared/entity.interfaces.d.ts +2 -0
- package/lib/form/form-field/form-field-select.component.d.ts +2 -2
- package/lib/form/form-field/form-field-text.component.d.ts +2 -2
- package/lib/form/form-field/form-field-textarea.component.d.ts +2 -2
- package/lib/form/form-group/form-group.component.d.ts +2 -2
- package/lib/form/shared/form.interfaces.d.ts +4 -4
- package/lib/form/shared/form.service.d.ts +2 -2
- package/lib/image/image-error.directive.d.ts +11 -0
- package/lib/image/image.module.d.ts +2 -1
- package/lib/image/index.d.ts +1 -0
- package/package.json +8 -8
- package/style/common.theming.scss +12 -12
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
|
@@ -14,7 +14,7 @@ export declare class ContextMenuDirective {
|
|
|
14
14
|
y: number;
|
|
15
15
|
}>;
|
|
16
16
|
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, elementRef: ElementRef);
|
|
17
|
-
onContextMenu(e: MouseEvent): void;
|
|
17
|
+
onContextMenu(e: MouseEvent | TouchEvent): void;
|
|
18
18
|
close(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
|
|
20
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[igoContextMenu]", never, { "menuContext": "igoContextMenu"; }, { "menuPosition": "menuPosition"; }, never, never, false>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./context-menu.directive";
|
|
4
|
+
import * as i2 from "./long-press.directive";
|
|
4
5
|
export declare class IgoContextMenuModule {
|
|
5
6
|
static forRoot(): ModuleWithProviders<IgoContextMenuModule>;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextMenuModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextMenuModule, [typeof i1.ContextMenuDirective], never, [typeof i1.ContextMenuDirective]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextMenuModule, [typeof i1.ContextMenuDirective, typeof i2.LongPressDirective], never, [typeof i1.ContextMenuDirective, typeof i2.LongPressDirective]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextMenuModule>;
|
|
9
10
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LongPressDirective {
|
|
4
|
+
private touchTimeout;
|
|
5
|
+
longpress: EventEmitter<any>;
|
|
6
|
+
constructor();
|
|
7
|
+
touchstart(e: TouchEvent): void;
|
|
8
|
+
touchend(): void;
|
|
9
|
+
private touchEnd;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDirective, "[igoLongPress]", never, {}, { "longpress": "longpress"; }, never, never, false>;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, ChangeDetectorRef, OnInit, OnDestroy, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { EntityRecord, EntityState, EntityStore, EntityTableTemplate, EntityTableColumn, EntityTableColumnRenderer, EntityTableSelectionState, EntityTableScrollBehavior } from '../shared';
|
|
4
4
|
import { MatPaginator } from '@angular/material/paginator';
|
|
5
5
|
import { MatTableDataSource } from '@angular/material/table';
|
|
6
6
|
import { EntityTablePaginatorOptions } from '../entity-table-paginator/entity-table-paginator.interface';
|
|
7
|
-
import {
|
|
7
|
+
import { UntypedFormBuilder, NgControl, NgForm, FormControlName, UntypedFormGroup } from '@angular/forms';
|
|
8
8
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
9
9
|
import { DateAdapter, ErrorStateMatcher } from '@angular/material/core';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -19,8 +19,8 @@ export declare class EntityTableComponent implements OnInit, OnChanges, OnDestro
|
|
|
19
19
|
protected _defaultErrorStateMatcher: ErrorStateMatcher;
|
|
20
20
|
private dateAdapter;
|
|
21
21
|
entitySortChange$: BehaviorSubject<boolean>;
|
|
22
|
-
formGroup:
|
|
23
|
-
filteredOptions:
|
|
22
|
+
formGroup: UntypedFormGroup;
|
|
23
|
+
filteredOptions: {};
|
|
24
24
|
/**
|
|
25
25
|
* Reference to the column renderer types
|
|
26
26
|
* @internal
|
|
@@ -127,7 +127,8 @@ export declare class EntityTableComponent implements OnInit, OnChanges, OnDestro
|
|
|
127
127
|
* @internal
|
|
128
128
|
*/
|
|
129
129
|
get fixedHeader(): boolean;
|
|
130
|
-
|
|
130
|
+
get tableHeight(): string;
|
|
131
|
+
constructor(cdRef: ChangeDetectorRef, formBuilder: UntypedFormBuilder, _focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>, ngControl: NgControl, _parentForm: NgForm, _controlName: FormControlName, _defaultErrorStateMatcher: ErrorStateMatcher, dateAdapter: DateAdapter<Date>);
|
|
131
132
|
/**
|
|
132
133
|
* Track the selection state to properly display the selection checkboxes
|
|
133
134
|
* @internal
|
|
@@ -152,7 +153,7 @@ export declare class EntityTableComponent implements OnInit, OnChanges, OnDestro
|
|
|
152
153
|
/**
|
|
153
154
|
* Process autocomplete value change (edition)
|
|
154
155
|
*/
|
|
155
|
-
onAutocompleteValueChange(column:
|
|
156
|
+
onAutocompleteValueChange(column: EntityTableColumn, record: EntityRecord<any>, event: any): void;
|
|
156
157
|
/**
|
|
157
158
|
* Process date value change (edition)
|
|
158
159
|
*/
|
|
@@ -59,6 +59,7 @@ export interface EntityTableTemplate {
|
|
|
59
59
|
selectMany?: boolean;
|
|
60
60
|
sort?: boolean;
|
|
61
61
|
fixedHeader?: boolean;
|
|
62
|
+
tableHeight?: string;
|
|
62
63
|
valueAccessor?: (entity: object, property: string, record: EntityRecord<object>) => any;
|
|
63
64
|
headerClassFunc?: () => {
|
|
64
65
|
[key: string]: boolean;
|
|
@@ -94,6 +95,7 @@ export interface EntityTableColumn {
|
|
|
94
95
|
multiple?: boolean;
|
|
95
96
|
domainValues?: Array<SelectOption>;
|
|
96
97
|
relation?: TableRelation;
|
|
98
|
+
tooltip?: string;
|
|
97
99
|
cellClassFunc?: (entity: object, record: EntityRecord<object>) => {
|
|
98
100
|
[key: string]: boolean;
|
|
99
101
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { FormFieldSelectChoice } from '../shared/form.interfaces';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -17,7 +17,7 @@ export declare class FormFieldSelectComponent implements OnInit {
|
|
|
17
17
|
/**
|
|
18
18
|
* The field's form control
|
|
19
19
|
*/
|
|
20
|
-
formControl:
|
|
20
|
+
formControl: UntypedFormControl;
|
|
21
21
|
/**
|
|
22
22
|
* Field placeholder
|
|
23
23
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -10,7 +10,7 @@ export declare class FormFieldTextComponent implements OnInit {
|
|
|
10
10
|
/**
|
|
11
11
|
* The field's form control
|
|
12
12
|
*/
|
|
13
|
-
formControl:
|
|
13
|
+
formControl: UntypedFormControl;
|
|
14
14
|
/**
|
|
15
15
|
* Field placeholder
|
|
16
16
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -10,7 +10,7 @@ export declare class FormFieldTextareaComponent implements OnInit {
|
|
|
10
10
|
/**
|
|
11
11
|
* The field's form control
|
|
12
12
|
*/
|
|
13
|
-
formControl:
|
|
13
|
+
formControl: UntypedFormControl;
|
|
14
14
|
/**
|
|
15
15
|
* Field placeholder
|
|
16
16
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
2
2
|
import { FormField, FormFieldGroup } from '../shared/form.interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -20,7 +20,7 @@ export declare class FormGroupComponent {
|
|
|
20
20
|
/**
|
|
21
21
|
* Form group control
|
|
22
22
|
*/
|
|
23
|
-
get formControl():
|
|
23
|
+
get formControl(): UntypedFormGroup;
|
|
24
24
|
constructor();
|
|
25
25
|
/**
|
|
26
26
|
* Return the number of columns a field should occupy.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormControl, UntypedFormGroup, ValidatorFn } from '@angular/forms';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
export interface Form {
|
|
4
4
|
fields: FormField[];
|
|
5
5
|
groups: FormFieldGroup[];
|
|
6
|
-
control:
|
|
6
|
+
control: UntypedFormGroup;
|
|
7
7
|
}
|
|
8
8
|
export interface FormFieldGroupConfig {
|
|
9
9
|
name: string;
|
|
@@ -12,7 +12,7 @@ export interface FormFieldGroupConfig {
|
|
|
12
12
|
}
|
|
13
13
|
export interface FormFieldGroup extends FormFieldGroupConfig {
|
|
14
14
|
fields: FormField[];
|
|
15
|
-
control:
|
|
15
|
+
control: UntypedFormGroup;
|
|
16
16
|
}
|
|
17
17
|
export interface FormFieldGroupOptions {
|
|
18
18
|
validator?: ValidatorFn;
|
|
@@ -34,7 +34,7 @@ export interface FormFieldConfig<T extends FormFieldInputs = FormFieldInputs> {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
export interface FormField<T extends FormFieldInputs = FormFieldInputs> extends FormFieldConfig<T> {
|
|
37
|
-
control:
|
|
37
|
+
control: UntypedFormControl;
|
|
38
38
|
}
|
|
39
39
|
export interface FormFieldOptions {
|
|
40
40
|
validator?: ValidatorFn;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
2
2
|
import { Form, FormField, FormFieldConfig, FormFieldGroup, FormFieldGroupConfig } from './form.interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormService {
|
|
5
5
|
private formBuilder;
|
|
6
|
-
constructor(formBuilder:
|
|
6
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
7
7
|
form(fields: FormField[], groups: FormFieldGroup[]): Form;
|
|
8
8
|
group(config: FormFieldGroupConfig, fields: FormField[]): FormFieldGroup;
|
|
9
9
|
field(config: FormFieldConfig): FormField;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ImageErrorDirective {
|
|
4
|
+
private el;
|
|
5
|
+
errorImageUrl: string;
|
|
6
|
+
hideError: boolean;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
onError(event: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageErrorDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageErrorDirective, "[igoImageError]", never, { "errorImageUrl": "errorImageUrl"; "hideError": "hideError"; }, {}, never, never, false>;
|
|
11
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./secure-image.pipe";
|
|
4
|
+
import * as i2 from "./image-error.directive";
|
|
4
5
|
export declare class IgoImageModule {
|
|
5
6
|
static forRoot(): ModuleWithProviders<IgoImageModule>;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgoImageModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoImageModule, [typeof i1.SecureImagePipe], never, [typeof i1.SecureImagePipe]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoImageModule, [typeof i1.SecureImagePipe, typeof i2.ImageErrorDirective], never, [typeof i1.SecureImagePipe, typeof i2.ImageErrorDirective]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<IgoImageModule>;
|
|
9
10
|
}
|
package/lib/image/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/common",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "IGO Library",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"igo"
|
|
8
8
|
],
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"url": "https://github.com/infra-geo-ouverte/igo2-lib/issues"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": "^
|
|
20
|
-
"@angular/core": "^
|
|
21
|
-
"@angular/material": "^
|
|
22
|
-
"@igo2/core": "^1.13.
|
|
23
|
-
"@igo2/utils": "^1.13.
|
|
19
|
+
"@angular/common": "^14.1.2",
|
|
20
|
+
"@angular/core": "^14.1.2",
|
|
21
|
+
"@angular/material": "^14.1.2",
|
|
22
|
+
"@igo2/core": "^1.13.1",
|
|
23
|
+
"@igo2/utils": "^1.13.1",
|
|
24
24
|
"scroll-into-view-if-needed": "^2.2.20",
|
|
25
25
|
"typy": "^3.3.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"tslib": "^2.
|
|
28
|
+
"tslib": "^2.4.0"
|
|
29
29
|
},
|
|
30
30
|
"module": "fesm2015/igo2-common.mjs",
|
|
31
31
|
"es2020": "fesm2020/igo2-common.mjs",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@import '~shepherd.js/dist/css/shepherd.css';
|
|
2
|
-
|
|
3
|
-
@mixin igo-common-theming($theme, $typography) {
|
|
4
|
-
@include igo-action-theming($theme);
|
|
5
|
-
@include igo-collapsible-theming($theme);
|
|
6
|
-
@include igo-entity-theming($theme);
|
|
7
|
-
@include igo-list-theming($theme);
|
|
8
|
-
@include igo-panel-theming($theme);
|
|
9
|
-
@include igo-tool-theming($theme);
|
|
10
|
-
@include igo-tour-theming($theme);
|
|
11
|
-
@include igo-home-button-theming($theme);
|
|
12
|
-
}
|
|
1
|
+
@import '~shepherd.js/dist/css/shepherd.css';
|
|
2
|
+
|
|
3
|
+
@mixin igo-common-theming($theme, $typography) {
|
|
4
|
+
@include igo-action-theming($theme);
|
|
5
|
+
@include igo-collapsible-theming($theme);
|
|
6
|
+
@include igo-entity-theming($theme);
|
|
7
|
+
@include igo-list-theming($theme);
|
|
8
|
+
@include igo-panel-theming($theme);
|
|
9
|
+
@include igo-tool-theming($theme);
|
|
10
|
+
@include igo-tour-theming($theme);
|
|
11
|
+
@include igo-home-button-theming($theme);
|
|
12
|
+
}
|
|
@@ -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;
|