@luminocity/lemonate-gateway 8.2.28 → 8.2.30
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/index.d.ts +5 -3
- package/dist/lemonate-gateway.cjs.js +3 -3
- package/dist/lemonate-gateway.cjs.js.map +1 -1
- package/dist/lemonate-gateway.esm.js +3 -3
- package/dist/lemonate-gateway.esm.js.map +1 -1
- package/dist/lemonate-gateway.umd.js +3 -3
- package/dist/lemonate-gateway.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -765,7 +765,7 @@ declare class Script extends Snapshotable {
|
|
|
765
765
|
getId(): string | undefined;
|
|
766
766
|
makeIdsUnique(map: Map<string, string>, force?: boolean): void;
|
|
767
767
|
transformNodeIds(map: Map<string, string>): void;
|
|
768
|
-
clone(cloneIdMapping?: Map<string, string>): Script;
|
|
768
|
+
clone(cloneIdMapping?: Map<string, string>, props?: Record<string, any>): Script;
|
|
769
769
|
createFieldsFromDefinition(fieldDefArray?: any[]): void;
|
|
770
770
|
clearFieldTypes(): void;
|
|
771
771
|
addField(scriptField: ScriptField): void;
|
|
@@ -785,12 +785,14 @@ declare class Block extends Snapshotable {
|
|
|
785
785
|
isSelected: boolean;
|
|
786
786
|
isExpanded: boolean;
|
|
787
787
|
scripts: Script[];
|
|
788
|
+
subNodeId: string | undefined;
|
|
788
789
|
inputs: any[];
|
|
789
790
|
outputs: any[];
|
|
790
791
|
posX: number;
|
|
791
792
|
posY: number;
|
|
792
793
|
constructor(id?: string | Snapshot | undefined, parent?: Block | undefined, type?: string | undefined, name?: string | undefined, displayName?: string | undefined, item?: PreparedItem | undefined);
|
|
793
794
|
getId(): string;
|
|
795
|
+
setSubNodeId(id: string | undefined): void;
|
|
794
796
|
getPositionInParent(): number;
|
|
795
797
|
refreshFieldDependencies(): void;
|
|
796
798
|
resetFieldValues(withChildren?: boolean): void;
|
|
@@ -4215,10 +4217,10 @@ declare class ItemRepo {
|
|
|
4215
4217
|
clear(): void;
|
|
4216
4218
|
removeBlock(block: Block, parent: any): void;
|
|
4217
4219
|
traverseBlockPairs(b1: Block, b2: Block, func: Function): void;
|
|
4218
|
-
copyScripts(oldBlock: Block, newBlock: Block, deferInitCall?: boolean): Script[];
|
|
4220
|
+
copyScripts(oldBlock: Block, newBlock: Block, deferInitCall?: boolean, props?: Record<string, any>): Script[];
|
|
4219
4221
|
updateScriptFieldReferences(oldBlock: Block, newBlock: Block): void;
|
|
4220
4222
|
updateScriptFieldReferencesFromMap(nodeFieldMap: Map<string, string>, block: Block): void;
|
|
4221
|
-
createNewBlock(templateEntry: TemplateEntry, parent: Block, ownerItem: PreparedItem): Promise<Block>;
|
|
4223
|
+
createNewBlock(templateEntry: TemplateEntry, parent: Block, ownerItem: PreparedItem, subNodeId?: string): Promise<Block>;
|
|
4222
4224
|
addBlockToParent(block: Block, parent: Block, item: PreparedItem): Block;
|
|
4223
4225
|
createNewListEntry(templateEntry: TemplateEntry, field: Field, ownerItem: PreparedItem): Promise<any>;
|
|
4224
4226
|
createNewGraphNode(templateEntry: TemplateEntry, graph: Field, x: number, y: number, ownerItem: PreparedItem): Promise<Block>;
|