@igo2/common 1.13.0 → 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/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/entity/entity-table/entity-table.component.mjs +15 -11
- package/esm2020/lib/entity/shared/entity.interfaces.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/fesm2015/igo2-common.mjs +120 -15
- package/fesm2015/igo2-common.mjs.map +1 -1
- package/fesm2020/igo2-common.mjs +112 -15
- 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 +1 -0
- package/lib/entity/shared/entity.interfaces.d.ts +2 -0
- 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 +4 -4
|
@@ -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
|
+
}
|
|
@@ -127,6 +127,7 @@ export declare class EntityTableComponent implements OnInit, OnChanges, OnDestro
|
|
|
127
127
|
* @internal
|
|
128
128
|
*/
|
|
129
129
|
get fixedHeader(): boolean;
|
|
130
|
+
get tableHeight(): string;
|
|
130
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
|
|
@@ -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
|
};
|
|
@@ -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
|
],
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"@angular/common": "^14.1.2",
|
|
20
20
|
"@angular/core": "^14.1.2",
|
|
21
21
|
"@angular/material": "^14.1.2",
|
|
22
|
-
"@igo2/core": "^1.13.
|
|
23
|
-
"@igo2/utils": "^1.13.
|
|
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
|
},
|