@stemy/ngx-utils 19.6.12 → 19.7.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/fesm2022/stemy-ngx-utils.mjs +669 -798
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +22 -36
- package/ngx-utils/components/interactive-canvas/interactive-canvas.component.d.ts +31 -15
- package/ngx-utils/components/interactive-canvas/interactive-circle.component.d.ts +4 -8
- package/ngx-utils/components/interactive-canvas/interactive-item.component.d.ts +23 -21
- package/ngx-utils/components/interactive-canvas/interactive-rect.component.d.ts +6 -9
- package/ngx-utils/ngx-utils.imports.d.ts +2 -5
- package/ngx-utils/tokens.d.ts +1 -2
- package/ngx-utils/utils/{canvas.utils.d.ts → canvas.d.ts} +2 -0
- package/ngx-utils/utils/geometry/distance.d.ts +25 -0
- package/ngx-utils/utils/geometry/functions.d.ts +13 -0
- package/ngx-utils/utils/geometry/index.d.ts +2 -0
- package/ngx-utils/utils/geometry/shapes.d.ts +48 -0
- package/ngx-utils/utils/misc.d.ts +2 -1
- package/package.json +1 -1
- package/public_api.d.ts +5 -8
- package/ngx-utils/services/wasm.service.d.ts +0 -25
- package/ngx-utils/utils/geometry.d.ts +0 -46
- package/ngx-utils/utils/vector.d.ts +0 -23
- package/ngx-utils/utils/wasi.d.ts +0 -26
- package/ngx-utils/utils/wasm-worker-proxy.d.ts +0 -17
- package/ngx-utils/utils/with-options-provider.d.ts +0 -3
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IWasi, IWasmExports } from "../common-types";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class Wasi implements IWasi {
|
|
4
|
-
protected env: {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
};
|
|
7
|
-
protected instantiated: boolean;
|
|
8
|
-
protected wasi: any;
|
|
9
|
-
protected wasm: IWasmExports;
|
|
10
|
-
protected envStrings: string[];
|
|
11
|
-
constructor();
|
|
12
|
-
instantiate(bytes: ArrayBuffer): Promise<IWasmExports>;
|
|
13
|
-
protected updateMemoryViews(): void;
|
|
14
|
-
protected getEnvStrings(): string[];
|
|
15
|
-
protected stringToAscii(str: any, buffer: any): void;
|
|
16
|
-
emscripten_notify_memory_growth(memoryIndex: number): void;
|
|
17
|
-
proc_exit(rval: number): void;
|
|
18
|
-
environ_get(environ: number, environ_buf: number): number;
|
|
19
|
-
environ_sizes_get(penviron_count: number, penviron_buf_size: number): number;
|
|
20
|
-
fd_close(fd: number): number;
|
|
21
|
-
fd_write(fd: number, iovs: number, iovs_len: number, nwritten: number): number;
|
|
22
|
-
fd_read(fd: number, iovs: number, iovs_len: number, nread: number): number;
|
|
23
|
-
fd_seek(fd: number, offset: number, whence: number, newOffset: number): number;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Wasi, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Wasi>;
|
|
26
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IWasi } from "../common-types";
|
|
2
|
-
import { Type } from "@angular/core";
|
|
3
|
-
interface IPromiseExecutor {
|
|
4
|
-
resolve: (value?: any) => void;
|
|
5
|
-
reject: (reason?: any) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function workerFunction(JSONfn: any, logTimes: boolean): void;
|
|
8
|
-
export declare class WasmWorkerProxy {
|
|
9
|
-
protected methods: Promise<string[]>;
|
|
10
|
-
protected onMethods: (methods: string[]) => void;
|
|
11
|
-
protected worker: Worker;
|
|
12
|
-
protected promises: Map<string, IPromiseExecutor>;
|
|
13
|
-
constructor(wasmPath: string, wasi: Type<IWasi>, logTimes?: boolean);
|
|
14
|
-
onMessage(e: MessageEvent): void;
|
|
15
|
-
call(method: string, args: any[]): Promise<any>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|