@linkdlab/funcnodes_react_flow 1.1.0 → 2.0.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/dist/funcnodes_react_flow.css +1 -1
- package/dist/index.cjs.js +278 -438
- package/dist/index.d.ts +23 -8
- package/dist/index.es.js +42774 -40646
- package/dist/index.umd.js +278 -438
- package/package.json +38 -39
package/dist/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ declare interface AllOf {
|
|
|
53
53
|
allOf: SerializedType[];
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
declare type AnyDataType = JSONType |
|
|
56
|
+
declare type AnyDataType = JSONType | ArrayBuffer | Blob;
|
|
57
57
|
|
|
58
58
|
declare interface AnyOf {
|
|
59
59
|
anyOf: SerializedType[];
|
|
@@ -61,6 +61,10 @@ declare interface AnyOf {
|
|
|
61
61
|
|
|
62
62
|
export declare class ArrayBufferDataStructure extends DataStructure<ArrayBuffer, string> {
|
|
63
63
|
private _objectUrl;
|
|
64
|
+
constructor({ data, mime }: {
|
|
65
|
+
data: BinarySource;
|
|
66
|
+
mime: string;
|
|
67
|
+
});
|
|
64
68
|
get objectUrl(): string;
|
|
65
69
|
dispose(): void;
|
|
66
70
|
get value(): string;
|
|
@@ -154,10 +158,15 @@ declare interface BasicNodeType {
|
|
|
154
158
|
|
|
155
159
|
declare type BasicOutputRendererType = (props: OutputRendererProps) => JSX.Element;
|
|
156
160
|
|
|
157
|
-
|
|
161
|
+
declare type BinarySource = ArrayBufferLike | ArrayBufferView;
|
|
162
|
+
|
|
163
|
+
export declare class CTypeStructure extends DataStructure<ArrayBuffer, string | number | boolean | null> {
|
|
158
164
|
private _cType;
|
|
159
165
|
private _value;
|
|
160
|
-
constructor({ data, mime }:
|
|
166
|
+
constructor({ data, mime }: {
|
|
167
|
+
data: BinarySource;
|
|
168
|
+
mime: string;
|
|
169
|
+
});
|
|
161
170
|
parse_value(): string | number | boolean | null;
|
|
162
171
|
get value(): string | number | boolean | null;
|
|
163
172
|
toString(): string;
|
|
@@ -692,15 +701,18 @@ declare type JSONMessage = ProgressStateMessage | ResultMessage | ErrorMessage |
|
|
|
692
701
|
|
|
693
702
|
/**
|
|
694
703
|
* Union type representing all supported data types for DataStructure instances.
|
|
695
|
-
* Includes primitive types and
|
|
704
|
+
* Includes primitive types and binary data.
|
|
696
705
|
*/
|
|
697
706
|
declare interface JSONObject {
|
|
698
707
|
[key: string]: JSONType;
|
|
699
708
|
}
|
|
700
709
|
|
|
701
|
-
export declare class JSONStructure extends DataStructure<
|
|
710
|
+
export declare class JSONStructure extends DataStructure<ArrayBuffer, JSONType | undefined> {
|
|
702
711
|
private _json;
|
|
703
|
-
constructor({ data, mime }:
|
|
712
|
+
constructor({ data, mime }: {
|
|
713
|
+
data: BinarySource;
|
|
714
|
+
mime: string;
|
|
715
|
+
});
|
|
704
716
|
get value(): JSONType | undefined;
|
|
705
717
|
static fromObject(obj: JSONType): JSONStructure;
|
|
706
718
|
toString(): string;
|
|
@@ -1346,9 +1358,12 @@ declare interface StateManagerManagerAPI {
|
|
|
1346
1358
|
toast?: ToastDispatcher;
|
|
1347
1359
|
}
|
|
1348
1360
|
|
|
1349
|
-
export declare class TextStructure extends DataStructure<
|
|
1361
|
+
export declare class TextStructure extends DataStructure<ArrayBuffer, string> {
|
|
1350
1362
|
private _value;
|
|
1351
|
-
constructor({ data, mime }:
|
|
1363
|
+
constructor({ data, mime }: {
|
|
1364
|
+
data: BinarySource;
|
|
1365
|
+
mime: string;
|
|
1366
|
+
});
|
|
1352
1367
|
get value(): string;
|
|
1353
1368
|
toString(): string;
|
|
1354
1369
|
}
|