@stackmango/graff 0.1.22 → 0.1.25

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../../../src/components/Document/Document.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,QAAA,MAAM,QAAQ,GAAE,OAAM;IAAC,EAAE,EAAC,MAAM,CAAC;IAAA,MAAM,EAAC,eAAe,CAAC,GAAG,CAAC,CAAA;CAAC,4CA0J5D,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../../../src/components/Document/Document.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD,QAAA,MAAM,QAAQ,GAAE,OAAM;IAAC,EAAE,EAAC,MAAM,CAAC;IAAA,MAAM,EAAC,eAAe,CAAC,GAAG,CAAC,CAAA;CAAC,4CAmK5D,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -2,6 +2,7 @@ export { AssetsReducer, InteractionReducer, ViewReducer } from "../../../src/red
2
2
  export { getSchemaNode } from "../../../src/library/NodeTemplates";
3
3
  export { VectorApi } from "../../../src/library/vectorApi";
4
4
  export { useWorkspace } from "../../../src/hooks/useWorkspace";
5
+ export { useInputKey } from "../../../src/hooks/useInputKey";
5
6
  export { NodeUtils, UIDCreator, schemaNodeExporter } from "../../../src/library/utils";
6
7
  export { UiElementsRegistry_Standard } from "../../../src/library/form";
7
8
  export { JSONForms } from "../../../src/library/JSONForms";
@@ -1 +1 @@
1
- {"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../../src/components/Utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAA;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAC,SAAS,EAAC,MAAM,gCAAgC,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAC,UAAU,EAAC,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA"}
1
+ {"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../../src/components/Utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAA;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAC,SAAS,EAAC,MAAM,gCAAgC,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAC,UAAU,EAAC,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAA;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Workspace.d.ts","sourceRoot":"","sources":["../../../../src/components/Workspace/Workspace.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAA2B,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMlF,QAAA,MAAM,SAAS,GAAE,OAAM,eAAe,CAAC,GAAG,CAAC,4CA4jB1C,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"Workspace.d.ts","sourceRoot":"","sources":["../../../../src/components/Workspace/Workspace.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAA2B,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMlF,QAAA,MAAM,SAAS,GAAE,OAAM,eAAe,CAAC,GAAG,CAAC,4CA8iB1C,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare const useInputKey: () => {
2
+ shiftKeyPressed: import("react").RefObject<boolean>;
3
+ };
4
+ //# sourceMappingURL=useInputKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInputKey.d.ts","sourceRoot":"","sources":["../../../src/hooks/useInputKey.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;CA4BvB,CAAA"}
@@ -1,41 +1,4 @@
1
1
  import type { Node_Execution_Type } from "../types/Execution";
2
2
  export declare const NODE_TEMPLATES: Record<string, Node_Execution_Type>;
3
- export declare const getSchemaNode: (type: string) => {
4
- type: string;
5
- ports: {
6
- input: {
7
- i1: {
8
- meta: {
9
- index: number;
10
- };
11
- };
12
- };
13
- output: {
14
- o1: {
15
- meta: {
16
- index: number;
17
- };
18
- };
19
- };
20
- };
21
- core: {
22
- properties: number;
23
- type: string;
24
- } | {
25
- items: number;
26
- type: string;
27
- } | {
28
- type: string;
29
- };
30
- meta: {
31
- label: string;
32
- type: string;
33
- };
34
- editRules: {
35
- ports: {
36
- input: boolean;
37
- ouput: boolean;
38
- };
39
- };
40
- };
3
+ export declare const getSchemaNode: (type: string, label?: string) => any;
41
4
  //# sourceMappingURL=NodeTemplates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeTemplates.d.ts","sourceRoot":"","sources":["../../../src/library/NodeTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,eAAO,MAAM,cAAc,EAAC,MAAM,CAAC,MAAM,EAAC,mBAAmB,CAuF5D,CAAA;AAqCD,eAAO,MAAM,aAAa,GAAE,MAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtC,CAAA"}
1
+ {"version":3,"file":"NodeTemplates.d.ts","sourceRoot":"","sources":["../../../src/library/NodeTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAI9D,eAAO,MAAM,cAAc,EAAC,MAAM,CAAC,MAAM,EAAC,mBAAmB,CAuF5D,CAAA;AAqCD,eAAO,MAAM,aAAa,GAAE,MAAK,MAAM,EAAC,QAAO,MAAM,QA2BpD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackmango/graff",
3
- "version": "0.1.22",
3
+ "version": "0.1.25",
4
4
  "main": "./dist/js/index.cjs",
5
5
  "module": "./dist/js/index.js",
6
6
  "types": "./dist/types/components/index.d.ts",