@woven-canvas/core 1.0.14 → 1.1.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.
@@ -171,6 +171,7 @@ declare const BlockDef: z.ZodObject<{
171
171
  canScale: z.ZodDefault<z.ZodBoolean>;
172
172
  snappable: z.ZodDefault<z.ZodBoolean>;
173
173
  interactable: z.ZodDefault<z.ZodBoolean>;
174
+ showOperations: z.ZodDefault<z.ZodBoolean>;
174
175
  excludeFromRankBounds: z.ZodDefault<z.ZodBoolean>;
175
176
  connectors: z.ZodDefault<z.ZodObject<{
176
177
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -401,6 +402,7 @@ declare class ControlsDef extends CanvasSingletonDef<typeof ControlsSchema> {
401
402
 
402
403
  declare const ControlsOptions: z.ZodObject<{
403
404
  leftMouseTool: z.ZodDefault<z.ZodString>;
405
+ spaceLeftMouseTool: z.ZodDefault<z.ZodString>;
404
406
  middleMouseTool: z.ZodDefault<z.ZodString>;
405
407
  rightMouseTool: z.ZodDefault<z.ZodString>;
406
408
  wheelTool: z.ZodDefault<z.ZodString>;
@@ -417,6 +419,7 @@ export { ControlsOptionsInput as ControlsOptionsInput_alias_1 }
417
419
 
418
420
  declare const ControlsSchema: {
419
421
  leftMouseTool: StringFieldBuilder;
422
+ spaceLeftMouseTool: StringFieldBuilder;
420
423
  middleMouseTool: StringFieldBuilder;
421
424
  rightMouseTool: StringFieldBuilder;
422
425
  wheelTool: StringFieldBuilder;
@@ -736,6 +739,7 @@ export declare const EditorOptionsSchema: z.ZodObject<{
736
739
  canScale?: boolean | undefined;
737
740
  snappable?: boolean | undefined;
738
741
  interactable?: boolean | undefined;
742
+ showOperations?: boolean | undefined;
739
743
  excludeFromRankBounds?: boolean | undefined;
740
744
  connectors?: {
741
745
  enabled?: boolean | undefined;
@@ -754,6 +758,7 @@ export declare const EditorOptionsSchema: z.ZodObject<{
754
758
  canScale?: boolean | undefined;
755
759
  snappable?: boolean | undefined;
756
760
  interactable?: boolean | undefined;
761
+ showOperations?: boolean | undefined;
757
762
  excludeFromRankBounds?: boolean | undefined;
758
763
  connectors?: {
759
764
  enabled?: boolean | undefined;
@@ -805,12 +810,14 @@ export declare const EditorOptionsSchema: z.ZodObject<{
805
810
  omitPluginFonts: z.ZodDefault<z.ZodBoolean>;
806
811
  controls: z.ZodOptional<z.ZodCustom<{
807
812
  leftMouseTool?: string | undefined;
813
+ spaceLeftMouseTool?: string | undefined;
808
814
  middleMouseTool?: string | undefined;
809
815
  rightMouseTool?: string | undefined;
810
816
  wheelTool?: string | undefined;
811
817
  modWheelTool?: string | undefined;
812
818
  }, {
813
819
  leftMouseTool?: string | undefined;
820
+ spaceLeftMouseTool?: string | undefined;
814
821
  middleMouseTool?: string | undefined;
815
822
  rightMouseTool?: string | undefined;
816
823
  wheelTool?: string | undefined;
@@ -930,6 +937,11 @@ export { EventType }
930
937
 
931
938
  export { field }
932
939
 
940
+ declare function filterRoots(ctx: Context, entityIds: EntityId[]): EntityId[];
941
+ export { filterRoots }
942
+ export { filterRoots as filterRoots_alias_1 }
943
+ export { filterRoots as filterRoots_alias_2 }
944
+
933
945
  declare function findFrameAtPoint(ctx: Context, point: [number, number], exclude?: EntityId | null): EntityId | null;
934
946
  export { findFrameAtPoint }
935
947
  export { findFrameAtPoint as findFrameAtPoint_alias_1 }
@@ -171,6 +171,7 @@ declare const BlockDef: z.ZodObject<{
171
171
  canScale: z.ZodDefault<z.ZodBoolean>;
172
172
  snappable: z.ZodDefault<z.ZodBoolean>;
173
173
  interactable: z.ZodDefault<z.ZodBoolean>;
174
+ showOperations: z.ZodDefault<z.ZodBoolean>;
174
175
  excludeFromRankBounds: z.ZodDefault<z.ZodBoolean>;
175
176
  connectors: z.ZodDefault<z.ZodObject<{
176
177
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -401,6 +402,7 @@ declare class ControlsDef extends CanvasSingletonDef<typeof ControlsSchema> {
401
402
 
402
403
  declare const ControlsOptions: z.ZodObject<{
403
404
  leftMouseTool: z.ZodDefault<z.ZodString>;
405
+ spaceLeftMouseTool: z.ZodDefault<z.ZodString>;
404
406
  middleMouseTool: z.ZodDefault<z.ZodString>;
405
407
  rightMouseTool: z.ZodDefault<z.ZodString>;
406
408
  wheelTool: z.ZodDefault<z.ZodString>;
@@ -417,6 +419,7 @@ export { ControlsOptionsInput as ControlsOptionsInput_alias_1 }
417
419
 
418
420
  declare const ControlsSchema: {
419
421
  leftMouseTool: StringFieldBuilder;
422
+ spaceLeftMouseTool: StringFieldBuilder;
420
423
  middleMouseTool: StringFieldBuilder;
421
424
  rightMouseTool: StringFieldBuilder;
422
425
  wheelTool: StringFieldBuilder;
@@ -736,6 +739,7 @@ export declare const EditorOptionsSchema: z.ZodObject<{
736
739
  canScale?: boolean | undefined;
737
740
  snappable?: boolean | undefined;
738
741
  interactable?: boolean | undefined;
742
+ showOperations?: boolean | undefined;
739
743
  excludeFromRankBounds?: boolean | undefined;
740
744
  connectors?: {
741
745
  enabled?: boolean | undefined;
@@ -754,6 +758,7 @@ export declare const EditorOptionsSchema: z.ZodObject<{
754
758
  canScale?: boolean | undefined;
755
759
  snappable?: boolean | undefined;
756
760
  interactable?: boolean | undefined;
761
+ showOperations?: boolean | undefined;
757
762
  excludeFromRankBounds?: boolean | undefined;
758
763
  connectors?: {
759
764
  enabled?: boolean | undefined;
@@ -805,12 +810,14 @@ export declare const EditorOptionsSchema: z.ZodObject<{
805
810
  omitPluginFonts: z.ZodDefault<z.ZodBoolean>;
806
811
  controls: z.ZodOptional<z.ZodCustom<{
807
812
  leftMouseTool?: string | undefined;
813
+ spaceLeftMouseTool?: string | undefined;
808
814
  middleMouseTool?: string | undefined;
809
815
  rightMouseTool?: string | undefined;
810
816
  wheelTool?: string | undefined;
811
817
  modWheelTool?: string | undefined;
812
818
  }, {
813
819
  leftMouseTool?: string | undefined;
820
+ spaceLeftMouseTool?: string | undefined;
814
821
  middleMouseTool?: string | undefined;
815
822
  rightMouseTool?: string | undefined;
816
823
  wheelTool?: string | undefined;
@@ -930,6 +937,11 @@ export { EventType }
930
937
 
931
938
  export { field }
932
939
 
940
+ declare function filterRoots(ctx: Context, entityIds: EntityId[]): EntityId[];
941
+ export { filterRoots }
942
+ export { filterRoots as filterRoots_alias_1 }
943
+ export { filterRoots as filterRoots_alias_2 }
944
+
933
945
  declare function findFrameAtPoint(ctx: Context, point: [number, number], exclude?: EntityId | null): EntityId | null;
934
946
  export { findFrameAtPoint }
935
947
  export { findFrameAtPoint as findFrameAtPoint_alias_1 }