@stemy/ngx-utils 19.4.5 → 19.4.7
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/fesm2022/stemy-ngx-utils.mjs +469 -3
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +36 -0
- package/ngx-utils/components/interactive-canvas/interactive-canvas.component.d.ts +59 -0
- package/ngx-utils/components/interactive-canvas/interactive-circle.component.d.ts +15 -0
- package/ngx-utils/components/interactive-canvas/interactive-item.component.d.ts +40 -0
- package/ngx-utils/components/interactive-canvas/interactive-rect.component.d.ts +16 -0
- package/ngx-utils/directives/async-method.base.d.ts +1 -1
- package/ngx-utils/ngx-utils.imports.d.ts +4 -1
- package/ngx-utils/ngx-utils.module.d.ts +9 -5
- package/ngx-utils/utils/geometry.d.ts +1 -5
- package/package.json +1 -1
- package/public_api.d.ts +6 -2
|
@@ -274,6 +274,42 @@ export declare class PaginationItemContext {
|
|
|
274
274
|
get parallelRow(): any;
|
|
275
275
|
filter(filterRx: RegExp): boolean;
|
|
276
276
|
}
|
|
277
|
+
export interface IPoint {
|
|
278
|
+
readonly x: number;
|
|
279
|
+
readonly y: number;
|
|
280
|
+
}
|
|
281
|
+
export interface IShape extends IPoint {
|
|
282
|
+
distance(shape: IShape): number;
|
|
283
|
+
}
|
|
284
|
+
export type CanvasItemShape = "rect" | "circle";
|
|
285
|
+
export type CanvasItemDirection = "horizontal" | "vertical" | "free" | "none";
|
|
286
|
+
export interface InteractiveCanvas {
|
|
287
|
+
readonly canvasWidth: number;
|
|
288
|
+
readonly canvasHeight: number;
|
|
289
|
+
readonly ratio: number;
|
|
290
|
+
readonly fullHeight: number;
|
|
291
|
+
readonly ctx: CanvasRenderingContext2D;
|
|
292
|
+
}
|
|
293
|
+
export interface InteractiveCanvasItem {
|
|
294
|
+
readonly position: IPoint;
|
|
295
|
+
readonly shape: CanvasItemShape;
|
|
296
|
+
readonly shapes: ReadonlyArray<IShape>;
|
|
297
|
+
readonly active: boolean;
|
|
298
|
+
readonly index: number;
|
|
299
|
+
draw(ctx: CanvasRenderingContext2D, scale?: number): void;
|
|
300
|
+
}
|
|
301
|
+
export type InteractiveDrawFn = (ctx: InteractiveCanvas, items: ReadonlyArray<InteractiveCanvasItem>) => void | Promise<void>;
|
|
302
|
+
export interface InteractivePanEvent {
|
|
303
|
+
pointers?: any[];
|
|
304
|
+
deltaX?: number;
|
|
305
|
+
deltaY?: number;
|
|
306
|
+
item?: InteractiveCanvasItem;
|
|
307
|
+
[key: string]: any;
|
|
308
|
+
}
|
|
309
|
+
export interface InteractiveCanvasPointer {
|
|
310
|
+
clientX: number;
|
|
311
|
+
clientY: number;
|
|
312
|
+
}
|
|
277
313
|
export interface IHttpHeaders {
|
|
278
314
|
[header: string]: string | string[];
|
|
279
315
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, Renderer2 } from "@angular/core";
|
|
2
|
+
import { Subscription } from "rxjs";
|
|
3
|
+
import { InteractiveCanvas, InteractivePanEvent, InteractiveDrawFn, InteractiveCanvasPointer } from "../../common-types";
|
|
4
|
+
import { InteractiveItemComponent } from "./interactive-item.component";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InteractiveCanvasComponent implements InteractiveCanvas, OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
7
|
+
protected renderer: Renderer2;
|
|
8
|
+
horizontal: boolean;
|
|
9
|
+
selectedIndex: number;
|
|
10
|
+
resizeMode: "fit" | "fill";
|
|
11
|
+
realWidth: number;
|
|
12
|
+
realHeight: number;
|
|
13
|
+
onDraw: InteractiveDrawFn;
|
|
14
|
+
selectedIndexChange: EventEmitter<number>;
|
|
15
|
+
canvasWidth: number;
|
|
16
|
+
canvasHeight: number;
|
|
17
|
+
ratio: number;
|
|
18
|
+
fullHeight: number;
|
|
19
|
+
ctx: CanvasRenderingContext2D;
|
|
20
|
+
pan: number;
|
|
21
|
+
rotation: number;
|
|
22
|
+
protected shouldDraw: boolean;
|
|
23
|
+
protected panOffset: number;
|
|
24
|
+
protected hoveredItem: InteractiveItemComponent;
|
|
25
|
+
protected selectedItem: InteractiveItemComponent;
|
|
26
|
+
protected items: ReadonlyArray<InteractiveItemComponent>;
|
|
27
|
+
protected subscription: Subscription;
|
|
28
|
+
protected containerElem: ElementRef<HTMLDivElement>;
|
|
29
|
+
protected canvasElem: ElementRef<HTMLCanvasElement>;
|
|
30
|
+
protected itemList: QueryList<InteractiveItemComponent>;
|
|
31
|
+
protected touched: boolean;
|
|
32
|
+
protected panFrom: number;
|
|
33
|
+
protected lockedItem: InteractiveItemComponent;
|
|
34
|
+
constructor(renderer: Renderer2);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
ngOnChanges(): void;
|
|
38
|
+
ngAfterViewInit(): void;
|
|
39
|
+
resize(): void;
|
|
40
|
+
onTouchStart($event: TouchEvent): void;
|
|
41
|
+
onTouchEnd($event: TouchEvent): void;
|
|
42
|
+
onMouseDown(): void;
|
|
43
|
+
onMouseUp($event: MouseEvent): void;
|
|
44
|
+
onMouseMove($event: MouseEvent): void;
|
|
45
|
+
onMouseLeave(): void;
|
|
46
|
+
onPanStart($event: InteractivePanEvent): void;
|
|
47
|
+
onPan($event: InteractivePanEvent): void;
|
|
48
|
+
onPanEnd(): void;
|
|
49
|
+
protected fixPan(): void;
|
|
50
|
+
protected fixItems(): void;
|
|
51
|
+
protected selectItem(pointer: InteractiveCanvasPointer): void;
|
|
52
|
+
protected getItemUnderPointer(pointer: InteractiveCanvasPointer): InteractiveItemComponent;
|
|
53
|
+
protected updateCursor(): void;
|
|
54
|
+
protected getCursor(): string;
|
|
55
|
+
protected redraw(): void;
|
|
56
|
+
protected draw(): Promise<void>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveCanvasComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveCanvasComponent, "interactive-canvas", never, { "horizontal": { "alias": "horizontal"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "resizeMode": { "alias": "resizeMode"; "required": false; }; "realWidth": { "alias": "realWidth"; "required": false; }; "realHeight": { "alias": "realHeight"; "required": false; }; "onDraw": { "alias": "onDraw"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, ["itemList"], never, false, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CanvasItemShape, InteractiveCanvas, IShape } from "../../common-types";
|
|
2
|
+
import { InteractiveItemComponent } from "./interactive-item.component";
|
|
3
|
+
import { InteractiveCanvasComponent } from "./interactive-canvas.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InteractiveCircleComponent extends InteractiveItemComponent {
|
|
6
|
+
protected iCanvas: InteractiveCanvasComponent;
|
|
7
|
+
radius: number;
|
|
8
|
+
get canvas(): InteractiveCanvas;
|
|
9
|
+
get shape(): CanvasItemShape;
|
|
10
|
+
constructor(iCanvas: InteractiveCanvasComponent);
|
|
11
|
+
calcShape(x: number, y: number): IShape;
|
|
12
|
+
draw(ctx: CanvasRenderingContext2D, scale?: number): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveCircleComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveCircleComponent, "interactive-circle", never, { "radius": { "alias": "radius"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy } from "@angular/core";
|
|
2
|
+
import { Subscription } from "rxjs";
|
|
3
|
+
import { CanvasItemDirection, CanvasItemShape, InteractiveCanvas, InteractiveCanvasItem, InteractivePanEvent, IShape } from "../../common-types";
|
|
4
|
+
import { Point } from "../../utils/geometry";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InteractiveItemComponent implements OnDestroy, OnChanges, InteractiveCanvasItem {
|
|
7
|
+
protected basePan: number;
|
|
8
|
+
protected pos: Point;
|
|
9
|
+
protected mShapes: IShape[];
|
|
10
|
+
protected subscription: Subscription;
|
|
11
|
+
protected deltaX: number;
|
|
12
|
+
protected deltaY: number;
|
|
13
|
+
set x(value: number);
|
|
14
|
+
set y(value: number);
|
|
15
|
+
set position(value: Point);
|
|
16
|
+
rotation: number;
|
|
17
|
+
direction: CanvasItemDirection;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
onClick: EventEmitter<InteractiveCanvasItem>;
|
|
20
|
+
onPan: EventEmitter<InteractivePanEvent>;
|
|
21
|
+
onPanStart: EventEmitter<InteractiveCanvasItem>;
|
|
22
|
+
onPanEnd: EventEmitter<InteractiveCanvasItem>;
|
|
23
|
+
active: boolean;
|
|
24
|
+
index: number;
|
|
25
|
+
get shapes(): ReadonlyArray<IShape>;
|
|
26
|
+
get canvas(): InteractiveCanvas;
|
|
27
|
+
get position(): Point;
|
|
28
|
+
get x(): number;
|
|
29
|
+
get y(): number;
|
|
30
|
+
get shape(): CanvasItemShape;
|
|
31
|
+
constructor();
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
ngOnChanges(): void;
|
|
34
|
+
calcShapes(basePan?: number): void;
|
|
35
|
+
hit(point: Point): boolean;
|
|
36
|
+
calcShape(x: number, y: number): IShape;
|
|
37
|
+
draw(ctx: CanvasRenderingContext2D, scale?: number): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveItemComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveItemComponent, "__interactive-item__", never, { "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "position": { "alias": "position"; "required": false; }; "rotation": { "alias": "rotation"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onClick": "onClick"; "onPan": "onPan"; "onPanStart": "onPanStart"; "onPanEnd": "onPanEnd"; }, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CanvasItemShape, InteractiveCanvas, IShape } from "../../common-types";
|
|
2
|
+
import { InteractiveItemComponent } from "./interactive-item.component";
|
|
3
|
+
import { InteractiveCanvasComponent } from "./interactive-canvas.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InteractiveRectComponent extends InteractiveItemComponent {
|
|
6
|
+
protected iCanvas: InteractiveCanvasComponent;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
get canvas(): InteractiveCanvas;
|
|
10
|
+
get shape(): CanvasItemShape;
|
|
11
|
+
constructor(iCanvas: InteractiveCanvasComponent);
|
|
12
|
+
calcShape(x: number, y: number): IShape;
|
|
13
|
+
draw(ctx: CanvasRenderingContext2D, scale?: number): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveRectComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveRectComponent, "interactive-rect", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -15,7 +15,7 @@ export declare class AsyncMethodBase implements OnChanges {
|
|
|
15
15
|
protected getMethod(): AsyncMethod;
|
|
16
16
|
ngOnChanges(): void;
|
|
17
17
|
click(ev: MouseEvent): boolean;
|
|
18
|
-
callMethod(ev
|
|
18
|
+
callMethod(ev?: MouseEvent): boolean;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodBase, never>;
|
|
20
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncMethodBase, "[__asmb__]", never, { "disabled": { "alias": "disabled"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "onSuccess": "onSuccess"; "onError": "onError"; }, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -56,12 +56,15 @@ import { TranslatePipe } from "./pipes/translate.pipe";
|
|
|
56
56
|
import { DropListComponent } from "./components/drop-list/drop-list.component";
|
|
57
57
|
import { DynamicTableComponent } from "./components/dynamic-table/dynamic-table.component";
|
|
58
58
|
import { FakeModuleComponent } from "./components/fake-module/fake-module.component";
|
|
59
|
+
import { InteractiveCanvasComponent } from "./components/interactive-canvas/interactive-canvas.component";
|
|
60
|
+
import { InteractiveCircleComponent } from "./components/interactive-canvas/interactive-circle.component";
|
|
61
|
+
import { InteractiveRectComponent } from "./components/interactive-canvas/interactive-rect.component";
|
|
59
62
|
import { PaginationMenuComponent } from "./components/pagination-menu/pagination-menu.component";
|
|
60
63
|
import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
|
|
61
64
|
import { UploadComponent } from "./components/upload/upload.component";
|
|
62
65
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
|
|
63
66
|
export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof DropdownToggleDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
64
|
-
export declare const components: (typeof DropListComponent | typeof DynamicTableComponent | typeof FakeModuleComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent)[];
|
|
67
|
+
export declare const components: (typeof DropListComponent | typeof DynamicTableComponent | typeof FakeModuleComponent | typeof PaginationMenuComponent | typeof InteractiveCanvasComponent | typeof InteractiveCircleComponent | typeof InteractiveRectComponent | typeof UnorderedListComponent | typeof UploadComponent)[];
|
|
65
68
|
export declare const providers: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof SocketService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof WasmService | typeof DeviceDetectorService | {
|
|
66
69
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
67
70
|
useClass: typeof DragDropEventPlugin;
|
|
@@ -53,10 +53,14 @@ import * as i49 from "./components/dropdown-box/dropdown-box.component";
|
|
|
53
53
|
import * as i50 from "./components/dynamic-table/dynamic-table.component";
|
|
54
54
|
import * as i51 from "./components/fake-module/fake-module.component";
|
|
55
55
|
import * as i52 from "./components/pagination-menu/pagination-menu.component";
|
|
56
|
-
import * as i53 from "./components/
|
|
57
|
-
import * as i54 from "./components/
|
|
58
|
-
import * as i55 from "
|
|
59
|
-
import * as i56 from "
|
|
56
|
+
import * as i53 from "./components/interactive-canvas/interactive-canvas.component";
|
|
57
|
+
import * as i54 from "./components/interactive-canvas/interactive-item.component";
|
|
58
|
+
import * as i55 from "./components/interactive-canvas/interactive-circle.component";
|
|
59
|
+
import * as i56 from "./components/interactive-canvas/interactive-rect.component";
|
|
60
|
+
import * as i57 from "./components/unordered-list/unordered-list.component";
|
|
61
|
+
import * as i58 from "./components/upload/upload.component";
|
|
62
|
+
import * as i59 from "@angular/common";
|
|
63
|
+
import * as i60 from "@angular/forms";
|
|
60
64
|
export declare function loadBaseUrl(): string;
|
|
61
65
|
export declare function loadBaseHref(baseUrl: string): string;
|
|
62
66
|
export declare function getRootElement(): HTMLElement;
|
|
@@ -67,6 +71,6 @@ export declare class NgxUtilsModule {
|
|
|
67
71
|
static useDynamic(moduleInfo: DynamicModuleInfo): ModuleWithProviders<NgxUtilsModule>;
|
|
68
72
|
constructor();
|
|
69
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxUtilsModule, never>;
|
|
70
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.BackgroundDirective, typeof i33.ComponentLoaderDirective, typeof i34.DynamicTableTemplateDirective, typeof i35.GlobalTemplateDirective, typeof i36.IconDirective, typeof i37.NgxTemplateOutletDirective, typeof i38.PaginationDirective, typeof i39.PaginationItemDirective, typeof i40.ResourceIfDirective, typeof i41.StickyDirective, typeof i42.StickyClassDirective, typeof i43.DropdownDirective, typeof i44.DropdownContentDirective, typeof i45.DropdownToggleDirective, typeof i46.UnorderedListItemDirective, typeof i47.UnorderedListTemplateDirective, typeof i48.DropListComponent, typeof i49.DropdownBoxComponent, typeof i50.DynamicTableComponent, typeof i51.FakeModuleComponent, typeof i52.PaginationMenuComponent, typeof i53.
|
|
74
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.BackgroundDirective, typeof i33.ComponentLoaderDirective, typeof i34.DynamicTableTemplateDirective, typeof i35.GlobalTemplateDirective, typeof i36.IconDirective, typeof i37.NgxTemplateOutletDirective, typeof i38.PaginationDirective, typeof i39.PaginationItemDirective, typeof i40.ResourceIfDirective, typeof i41.StickyDirective, typeof i42.StickyClassDirective, typeof i43.DropdownDirective, typeof i44.DropdownContentDirective, typeof i45.DropdownToggleDirective, typeof i46.UnorderedListItemDirective, typeof i47.UnorderedListTemplateDirective, typeof i48.DropListComponent, typeof i49.DropdownBoxComponent, typeof i50.DynamicTableComponent, typeof i51.FakeModuleComponent, typeof i52.PaginationMenuComponent, typeof i53.InteractiveCanvasComponent, typeof i54.InteractiveItemComponent, typeof i55.InteractiveCircleComponent, typeof i56.InteractiveRectComponent, typeof i57.UnorderedListComponent, typeof i58.UploadComponent], [typeof i59.CommonModule, typeof i60.FormsModule], [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.BackgroundDirective, typeof i33.ComponentLoaderDirective, typeof i34.DynamicTableTemplateDirective, typeof i35.GlobalTemplateDirective, typeof i36.IconDirective, typeof i37.NgxTemplateOutletDirective, typeof i38.PaginationDirective, typeof i39.PaginationItemDirective, typeof i40.ResourceIfDirective, typeof i41.StickyDirective, typeof i42.StickyClassDirective, typeof i43.DropdownDirective, typeof i44.DropdownContentDirective, typeof i45.DropdownToggleDirective, typeof i46.UnorderedListItemDirective, typeof i47.UnorderedListTemplateDirective, typeof i48.DropListComponent, typeof i49.DropdownBoxComponent, typeof i50.DynamicTableComponent, typeof i51.FakeModuleComponent, typeof i52.PaginationMenuComponent, typeof i53.InteractiveCanvasComponent, typeof i54.InteractiveItemComponent, typeof i55.InteractiveCircleComponent, typeof i56.InteractiveRectComponent, typeof i57.UnorderedListComponent, typeof i58.UploadComponent, typeof i60.FormsModule]>;
|
|
71
75
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxUtilsModule>;
|
|
72
76
|
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TypedFactoryProvider, TypedValueProvider, CachedProvider, CachedFactory, OPTIONS_TOKEN, IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSetting, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IDialogButtonConfig, IDialogConfig, IConfirmDialogConfig, IDialogService, DIALOG_SERVICE, IPromiseService, PROMISE_SERVICE, IWasi, IWasmExports, IWasm, IWasmAsync, WASI_IMPLEMENTATION, IRouteStateInfo, NavigationUrlParam, StorageMode, ToastType, IToasterService, TOASTER_SERVICE, IAsyncMessage, AsyncMethod, DropdownAttachTo, UnorderedListTemplate, UnorderedListTemplates, UnorderedListStyle, UploadType, IFileUploadResult, IFileUploadProcess, IAjaxRequestDetails, AjaxRequestCallback, ScriptType, IScriptPromises, IStylePromises, ISearchObservable, FactoryDependencies, ObjectType, ITimer, IExtraProperties, IGroupMap, TranslationQuery, IPageInfo, IPaginationData, PaginationDataLoader, PaginationItemContext, IHttpHeaders, IHttpParams, IRequestOptions, IIssueContext, IProgress, ProgressListener, PromiseExecutor, HttpPromise, IHttpService, EXPRESS_REQUEST, IApiService, API_SERVICE, IOpenApiSchemaProperty, IOpenApiSchema, IOpenApiSchemas, TableFilterType, ITableOrders, ITableColumn, ITableColumns, TableColumns, ITableTemplate, ITableTemplates, ITableDataQuery, TableDataLoader, DragDropEvent, DragEventHandler, ITableDragEvent, DynamicTableDragHandler, ResourceIfContext, CssSelector, CssSelectorList, DynamicComponentLocation, DynamicModuleInfo, DynamicEntryComponents, APP_BASE_URL, IConfiguration, IConfigService, CONFIG_SERVICE, BASE_CONFIG, SCRIPT_PARAMS, ROOT_ELEMENT, RESIZE_DELAY, ResizeEventStrategy, RESIZE_STRATEGY, ErrorHandlerCallback, ERROR_HANDLER, GlobalComponentModifier, AppInitializerFunc, IModuleConfig, ValuedPromise } from "./ngx-utils/common-types";
|
|
1
|
+
export { TypedFactoryProvider, TypedValueProvider, CachedProvider, CachedFactory, OPTIONS_TOKEN, IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSetting, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IDialogButtonConfig, IDialogConfig, IConfirmDialogConfig, IDialogService, DIALOG_SERVICE, IPromiseService, PROMISE_SERVICE, IWasi, IWasmExports, IWasm, IWasmAsync, WASI_IMPLEMENTATION, IRouteStateInfo, NavigationUrlParam, StorageMode, ToastType, IToasterService, TOASTER_SERVICE, IAsyncMessage, AsyncMethod, DropdownAttachTo, UnorderedListTemplate, UnorderedListTemplates, UnorderedListStyle, UploadType, IFileUploadResult, IFileUploadProcess, IAjaxRequestDetails, AjaxRequestCallback, ScriptType, IScriptPromises, IStylePromises, ISearchObservable, FactoryDependencies, ObjectType, ITimer, IExtraProperties, IGroupMap, TranslationQuery, IPageInfo, IPaginationData, PaginationDataLoader, PaginationItemContext, IPoint, IShape, CanvasItemShape, CanvasItemDirection, InteractiveCanvas, InteractiveCanvasItem, InteractiveDrawFn, InteractivePanEvent, InteractiveCanvasPointer, IHttpHeaders, IHttpParams, IRequestOptions, IIssueContext, IProgress, ProgressListener, PromiseExecutor, HttpPromise, IHttpService, EXPRESS_REQUEST, IApiService, API_SERVICE, IOpenApiSchemaProperty, IOpenApiSchema, IOpenApiSchemas, TableFilterType, ITableOrders, ITableColumn, ITableColumns, TableColumns, ITableTemplate, ITableTemplates, ITableDataQuery, TableDataLoader, DragDropEvent, DragEventHandler, ITableDragEvent, DynamicTableDragHandler, ResourceIfContext, CssSelector, CssSelectorList, DynamicComponentLocation, DynamicModuleInfo, DynamicEntryComponents, APP_BASE_URL, IConfiguration, IConfigService, CONFIG_SERVICE, BASE_CONFIG, SCRIPT_PARAMS, ROOT_ELEMENT, RESIZE_DELAY, ResizeEventStrategy, RESIZE_STRATEGY, ErrorHandlerCallback, ERROR_HANDLER, GlobalComponentModifier, AppInitializerFunc, IModuleConfig, ValuedPromise } from "./ngx-utils/common-types";
|
|
2
2
|
export { AjaxRequestHandler } from "./ngx-utils/utils/ajax-request-handler";
|
|
3
3
|
export { ArrayUtils } from "./ngx-utils/utils/array.utils";
|
|
4
4
|
export { AuthGuard } from "./ngx-utils/utils/auth.guard";
|
|
@@ -8,7 +8,7 @@ export { DateUtils } from "./ngx-utils/utils/date.utils";
|
|
|
8
8
|
export { FileUtils } from "./ngx-utils/utils/file.utils";
|
|
9
9
|
export { GenericValue } from "./ngx-utils/utils/generic-value";
|
|
10
10
|
export { FileSystemEntryOpenResult, FileSystemEntryOpenCb, FileSystemEntry } from "./ngx-utils/utils/file-system";
|
|
11
|
-
export {
|
|
11
|
+
export { Rect, Circle, Point } from "./ngx-utils/utils/geometry";
|
|
12
12
|
export { Initializer } from "./ngx-utils/utils/initializer";
|
|
13
13
|
export { JSONfn } from "./ngx-utils/utils/jsonfn";
|
|
14
14
|
export { ReflectUtils } from "./ngx-utils/utils/reflect.utils";
|
|
@@ -105,6 +105,10 @@ export { DropListComponent } from "./ngx-utils/components/drop-list/drop-list.co
|
|
|
105
105
|
export { DropdownBoxComponent } from "./ngx-utils/components/dropdown-box/dropdown-box.component";
|
|
106
106
|
export { DynamicTableComponent } from "./ngx-utils/components/dynamic-table/dynamic-table.component";
|
|
107
107
|
export { FakeModuleComponent } from "./ngx-utils/components/fake-module/fake-module.component";
|
|
108
|
+
export { InteractiveCanvasComponent } from "./ngx-utils/components/interactive-canvas/interactive-canvas.component";
|
|
109
|
+
export { InteractiveItemComponent } from "./ngx-utils/components/interactive-canvas/interactive-item.component";
|
|
110
|
+
export { InteractiveCircleComponent } from "./ngx-utils/components/interactive-canvas/interactive-circle.component";
|
|
111
|
+
export { InteractiveRectComponent } from "./ngx-utils/components/interactive-canvas/interactive-rect.component";
|
|
108
112
|
export { PaginationMenuComponent } from "./ngx-utils/components/pagination-menu/pagination-menu.component";
|
|
109
113
|
export { UnorderedListComponent } from "./ngx-utils/components/unordered-list/unordered-list.component";
|
|
110
114
|
export { UploadComponent } from "./ngx-utils/components/upload/upload.component";
|