@layers-app/shared 0.0.36 → 0.0.37-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.
Files changed (111) hide show
  1. package/dist/{KanbanLayout-B8RukpT8.js → KanbanLayout-Diy-kZtU.js} +1 -1
  2. package/dist/{TimeLine--HywOpKf.js → TimeLine-CNziqKtl.js} +3 -3
  3. package/dist/components/ColorPicker/ColorPicker.d.ts +5 -0
  4. package/dist/components/Copyright/index.d.ts +9 -0
  5. package/dist/components/FlowEditor/components/FlowAction/index.d.ts +7 -0
  6. package/dist/components/FlowEditor/components/colors.d.ts +19 -0
  7. package/dist/components/FlowEditor/components/edges/ConnectionLine.d.ts +8 -0
  8. package/dist/components/FlowEditor/components/edges/Custom.d.ts +4 -0
  9. package/dist/components/FlowEditor/components/edges/index.d.ts +4 -0
  10. package/dist/components/FlowEditor/components/editor/EdgeEdit.d.ts +12 -0
  11. package/dist/components/FlowEditor/components/editor/GridControls.d.ts +1 -0
  12. package/dist/components/FlowEditor/components/editor/KeyboardShortcuts.d.ts +1 -0
  13. package/dist/components/FlowEditor/components/editor/NodeEdit.d.ts +11 -0
  14. package/dist/components/FlowEditor/components/editor/NodeSelect.d.ts +7 -0
  15. package/dist/components/FlowEditor/components/editor/TextEdit.d.ts +11 -0
  16. package/dist/components/FlowEditor/components/editor/Toolbox.d.ts +10 -0
  17. package/dist/components/FlowEditor/components/editor/UndoRedoControls.d.ts +5 -0
  18. package/dist/components/FlowEditor/components/editor/ViewportControls.d.ts +1 -0
  19. package/dist/components/FlowEditor/components/editor/index.d.ts +12 -0
  20. package/dist/components/FlowEditor/components/index.d.ts +5 -0
  21. package/dist/components/FlowEditor/components/nodes/Resizer.d.ts +8 -0
  22. package/dist/components/FlowEditor/components/nodes/index.d.ts +145 -0
  23. package/dist/components/FlowEditor/components/nodes/shapes/Circle.d.ts +4 -0
  24. package/dist/components/FlowEditor/components/nodes/shapes/Diamond.d.ts +4 -0
  25. package/dist/components/FlowEditor/components/nodes/shapes/Rectangle.d.ts +4 -0
  26. package/dist/components/FlowEditor/components/nodes/shapes/RoundRectangle.d.ts +4 -0
  27. package/dist/components/FlowEditor/components/nodes/shapes/ShapeSetup.d.ts +5 -0
  28. package/dist/components/FlowEditor/components/nodes/shapes/Triangle.d.ts +4 -0
  29. package/dist/components/FlowEditor/components/nodes/social/Discord.d.ts +4 -0
  30. package/dist/components/FlowEditor/components/nodes/social/Etsy.d.ts +4 -0
  31. package/dist/components/FlowEditor/components/nodes/social/Facebook.d.ts +4 -0
  32. package/dist/components/FlowEditor/components/nodes/social/Flickr.d.ts +4 -0
  33. package/dist/components/FlowEditor/components/nodes/social/Github.d.ts +4 -0
  34. package/dist/components/FlowEditor/components/nodes/social/Gmail.d.ts +4 -0
  35. package/dist/components/FlowEditor/components/nodes/social/Instagram.d.ts +4 -0
  36. package/dist/components/FlowEditor/components/nodes/social/Linkedin.d.ts +4 -0
  37. package/dist/components/FlowEditor/components/nodes/social/Medium.d.ts +4 -0
  38. package/dist/components/FlowEditor/components/nodes/social/Pinterest.d.ts +4 -0
  39. package/dist/components/FlowEditor/components/nodes/social/Reddit.d.ts +4 -0
  40. package/dist/components/FlowEditor/components/nodes/social/Skype.d.ts +4 -0
  41. package/dist/components/FlowEditor/components/nodes/social/Slack.d.ts +4 -0
  42. package/dist/components/FlowEditor/components/nodes/social/Snapchat.d.ts +4 -0
  43. package/dist/components/FlowEditor/components/nodes/social/Telegram.d.ts +4 -0
  44. package/dist/components/FlowEditor/components/nodes/social/Threads.d.ts +4 -0
  45. package/dist/components/FlowEditor/components/nodes/social/TikTok.d.ts +4 -0
  46. package/dist/components/FlowEditor/components/nodes/social/Twitch.d.ts +4 -0
  47. package/dist/components/FlowEditor/components/nodes/social/Vimeo.d.ts +4 -0
  48. package/dist/components/FlowEditor/components/nodes/social/Whatsup.d.ts +4 -0
  49. package/dist/components/FlowEditor/components/nodes/social/Wrapper.d.ts +5 -0
  50. package/dist/components/FlowEditor/components/nodes/social/XTwitter.d.ts +4 -0
  51. package/dist/components/FlowEditor/components/nodes/social/Youtube.d.ts +4 -0
  52. package/dist/components/FlowEditor/components/nodes/text/Annotation.d.ts +4 -0
  53. package/dist/components/FlowEditor/components/nodes/wireframes/Browser.d.ts +8 -0
  54. package/dist/components/FlowEditor/components/nodes/wireframes/ColorSchemeImage.d.ts +3 -0
  55. package/dist/components/FlowEditor/context/DragDropContext.d.ts +10 -0
  56. package/dist/components/FlowEditor/hooks/useFlow.d.ts +35 -0
  57. package/dist/components/FlowEditor/hooks/usePngExport.d.ts +1 -0
  58. package/dist/components/FlowEditor/index.d.ts +10 -0
  59. package/dist/components/FlowEditor/store/useFlowStore.d.ts +9 -0
  60. package/dist/components/FlowEditor/store/useUndoRedoStore.d.ts +24 -0
  61. package/dist/components/FlowEditor/types.d.ts +0 -0
  62. package/dist/components/FlowEditor/utils/index.d.ts +1 -0
  63. package/dist/components/Logotype.d.ts +4 -2
  64. package/dist/components/NotPublicPanel/NotPublicPanel.d.ts +1 -2
  65. package/dist/components/SearchFilters/SearchFilters.d.ts +4 -2
  66. package/dist/components/SearchFilters/components/Type.d.ts +3 -2
  67. package/dist/components/SearchFilters/types.d.ts +1 -1
  68. package/dist/components/TemplatesModal/components/SelectedTemplate.d.ts +7 -0
  69. package/dist/components/TemplatesModal/components/Template.d.ts +9 -0
  70. package/dist/components/TemplatesModal/components/Templates.d.ts +7 -0
  71. package/dist/components/TemplatesModal/data.d.ts +13 -0
  72. package/dist/components/TemplatesModal/index.d.ts +7 -0
  73. package/dist/components/TemplatesModal/types.d.ts +16 -0
  74. package/dist/components/table/FrontTable.d.ts +35 -0
  75. package/dist/components/table/api.d.ts +31 -0
  76. package/dist/components/table/components/Table.d.ts +1 -0
  77. package/dist/components/table/components/TableAggregation.d.ts +1 -0
  78. package/dist/components/table/components/TableCell.d.ts +11 -0
  79. package/dist/components/table/components/TableHeaderCell.d.ts +17 -0
  80. package/dist/components/table/components/TableHeaders.d.ts +1 -0
  81. package/dist/components/table/components/TableMenu.d.ts +4 -0
  82. package/dist/components/table/components/TablePagination.d.ts +1 -0
  83. package/dist/components/table/components/TablePanel.d.ts +1 -0
  84. package/dist/components/table/components/TableRow.d.ts +14 -0
  85. package/dist/components/table/components/TableRows.d.ts +14 -0
  86. package/dist/components/table/components/TableSearch.d.ts +1 -0
  87. package/dist/components/table/components/TableSkeleton.d.ts +11 -0
  88. package/dist/components/table/components/TableTitle.d.ts +16 -0
  89. package/dist/components/table/constants.d.ts +25 -0
  90. package/dist/components/table/export.d.ts +9 -0
  91. package/dist/components/table/helpers/columns.d.ts +28 -0
  92. package/dist/components/table/helpers/formatters.d.ts +76 -0
  93. package/dist/components/table/hooks/TableProvider.d.ts +57 -0
  94. package/dist/components/table/hooks/useColumnsResizing.d.ts +5 -0
  95. package/dist/components/table/hooks/useCreateTable.d.ts +52 -0
  96. package/dist/components/table/hooks/useSaveRowCount.d.ts +1 -0
  97. package/dist/components/table/hooks/useSorting.d.ts +2 -0
  98. package/dist/components/table/hooks/useTableStore.d.ts +51 -0
  99. package/dist/components/table/selectors.d.ts +1837 -0
  100. package/dist/components/table/store.d.ts +83 -0
  101. package/dist/components/table/types.d.ts +99 -0
  102. package/dist/index-C4NKtsV-.js +78436 -0
  103. package/dist/index.d.ts +11 -0
  104. package/dist/{index.esm-DbeiBKnb.js → index.esm-DkcsgZzy.js} +1 -1
  105. package/dist/index.js +171 -120
  106. package/dist/index.umd.cjs +618 -116
  107. package/dist/store/accessOptionsControl.d.ts +6 -0
  108. package/dist/utils/getPlanBadgeColor.d.ts +6 -0
  109. package/dist/utils/queryParams.d.ts +2 -0
  110. package/package.json +2 -2
  111. package/dist/index-D_nxhqe0.js +0 -39586
@@ -11,7 +11,7 @@ import "@mantine/form";
11
11
  import "@mantine/dropzone";
12
12
  import "@mantine/notifications";
13
13
  import "lodash-es";
14
- import { u as F, S as z } from "./index-D_nxhqe0.js";
14
+ import { u as F, S as z } from "./index-C4NKtsV-.js";
15
15
  import "react-dom";
16
16
  import "draggable-ui";
17
17
  import "@mantine/modals";
@@ -11,7 +11,7 @@ import "@mantine/form";
11
11
  import "@mantine/dropzone";
12
12
  import "@mantine/notifications";
13
13
  import "lodash-es";
14
- import { u as L } from "./index-D_nxhqe0.js";
14
+ import { u as L } from "./index-C4NKtsV-.js";
15
15
  import "react-dom";
16
16
  import "draggable-ui";
17
17
  import "@mantine/modals";
@@ -19,7 +19,7 @@ import "i18next";
19
19
  import "framer-motion";
20
20
  import "@mantine/dates";
21
21
  const R = S(
22
- () => import("./index.esm-DbeiBKnb.js").then((r) => ({ default: r.default }))
22
+ () => import("./index.esm-DkcsgZzy.js").then((r) => ({ default: r.default }))
23
23
  );
24
24
  function d(r, l) {
25
25
  const o = new Date(r);
@@ -169,7 +169,7 @@ const u = () => /* @__PURE__ */ a(
169
169
  }
170
170
  ], [h, w] = C(null);
171
171
  return x(() => {
172
- import("./index.esm-DbeiBKnb.js").then((n) => w(n.enUS));
172
+ import("./index.esm-DkcsgZzy.js").then((n) => w(n.enUS));
173
173
  }, []), h ? /* @__PURE__ */ e(t, { h: 700, w: "100%", direction: "column", children: /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
174
174
  R,
175
175
  {
@@ -2,11 +2,16 @@ import { ColorSwatchProps, FlexProps } from '@mantine/core';
2
2
  interface ColorCircleProps extends Omit<ColorSwatchProps, 'color'>, Omit<React.ComponentPropsWithoutRef<'div'>, keyof Omit<ColorSwatchProps, 'color'>> {
3
3
  value?: string | null;
4
4
  isActive?: boolean;
5
+ swatchShape?: 'circle' | 'square';
5
6
  }
7
+ export declare const ColorCircle: import('react').ForwardRefExoticComponent<ColorCircleProps & import('react').RefAttributes<HTMLDivElement>>;
6
8
  export declare const ColorPicker: import('react').ForwardRefExoticComponent<{
7
9
  value?: string | null;
8
10
  onChange?: (v: string) => void;
9
11
  allowCustomColor?: boolean;
12
+ colors?: string[];
13
+ swatchShape?: "circle" | "square";
14
+ fullWidth?: boolean;
10
15
  } & Omit<FlexProps, "onChange"> & import('react').RefAttributes<HTMLDivElement>> & {
11
16
  ColorCircle: import('react').ForwardRefExoticComponent<ColorCircleProps & import('react').RefAttributes<HTMLDivElement>>;
12
17
  };
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ interface CopyrightProps {
3
+ className?: string;
4
+ color?: string;
5
+ title?: string;
6
+ absolute?: boolean;
7
+ }
8
+ export declare const Copyright: React.FC<CopyrightProps>;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import { ActionIconProps } from '@mantine/core';
2
+ export declare const FlowAction: import('react').ForwardRefExoticComponent<Omit<ActionIconProps & {
3
+ component?: "button" | undefined;
4
+ } & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "component" | keyof ActionIconProps> & {
5
+ ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
6
+ renderRoot?: (props: any) => any;
7
+ }, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,19 @@
1
+ import { ApiFlowLight } from '../../../../../flow/src/api/flowLight/types.ts';
2
+ export declare const colors: {
3
+ 'gray-dark': string;
4
+ gray: string;
5
+ orange: string;
6
+ amber: string;
7
+ red: string;
8
+ teal: string;
9
+ emerald: string;
10
+ green: string;
11
+ lime: string;
12
+ sky: string;
13
+ blue: string;
14
+ cyan: string;
15
+ indigo: string;
16
+ violet: string;
17
+ };
18
+ export declare const fromNameToHex: (name: keyof typeof colors) => string;
19
+ export declare const isColorType: (value: string) => value is ApiFlowLight.ColorType;
@@ -0,0 +1,8 @@
1
+ interface Props {
2
+ fromX: number;
3
+ fromY: number;
4
+ toX: number;
5
+ toY: number;
6
+ }
7
+ export declare const ConnectionLine: ({ fromX, fromY, toX, toY }: Props) => import("react/jsx-runtime").JSX.Element | undefined;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import { EdgeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Custom: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, label, markerEnd, markerStart, }: EdgeProps<ApiFlowLight.FlowEdgeItem>) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default Custom;
@@ -0,0 +1,4 @@
1
+ declare const edgeTypes: {
2
+ custom: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, label, markerEnd, markerStart, }: import('@xyflow/react').EdgeProps<import("@flow/api/flowLight/types").ApiFlowLight.FlowEdgeItem>) => import("react/jsx-runtime").JSX.Element | null;
3
+ };
4
+ export default edgeTypes;
@@ -0,0 +1,12 @@
1
+ import { DeleteElementsOptions } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
3
+ import { UseFlowResult } from '../../hooks/useFlow.ts';
4
+ interface Props {
5
+ edge: ApiFlowLight.FlowEdgeItem;
6
+ updateEdge: UseFlowResult['updateEdge'];
7
+ updateEdgeData: UseFlowResult['updateEdgeData'];
8
+ deleteElements: (params: DeleteElementsOptions) => void;
9
+ flowId: string;
10
+ }
11
+ declare const EdgeEdit: ({ edge, updateEdge, updateEdgeData, deleteElements, flowId, }: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export default EdgeEdit;
@@ -0,0 +1 @@
1
+ export declare const GridControls: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const KeyboardShortcuts: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { DeleteElementsOptions } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
3
+ import { UseFlowResult } from '../../hooks/useFlow';
4
+ interface Props {
5
+ node: ApiFlowLight.FlowNodeItem;
6
+ updateNodeData: UseFlowResult['updateNodeData'];
7
+ deleteElements: (params: DeleteElementsOptions) => void;
8
+ flowId: string;
9
+ }
10
+ declare const NodeEdit: ({ node, updateNodeData, deleteElements, flowId }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export default NodeEdit;
@@ -0,0 +1,7 @@
1
+ import { default as nodesTypes } from '../nodes';
2
+ interface Props {
3
+ handleAddElement: (type: NodeType) => void;
4
+ }
5
+ declare const NodeSelect: ({ handleAddElement }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ type NodeType = keyof typeof nodesTypes;
7
+ export default NodeSelect;
@@ -0,0 +1,11 @@
1
+ import { DeleteElementsOptions } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
3
+ import { UseFlowResult } from '../../hooks/useFlow';
4
+ interface Props {
5
+ node: ApiFlowLight.FlowNodeItem;
6
+ updateNodeData: UseFlowResult['updateNodeData'];
7
+ deleteElements: (params: DeleteElementsOptions) => void;
8
+ flowId: string;
9
+ }
10
+ declare const TextEdit: ({ node, updateNodeData, deleteElements, flowId }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export default TextEdit;
@@ -0,0 +1,10 @@
1
+ import { UseFlowResult } from '../../hooks/useFlow.ts';
2
+ interface Props {
3
+ addNode: UseFlowResult['addNode'];
4
+ updateNodeData: UseFlowResult['updateNodeData'];
5
+ updateEdge: UseFlowResult['updateEdge'];
6
+ updateEdgeData: UseFlowResult['updateEdgeData'];
7
+ flowId: string;
8
+ }
9
+ export declare const Toolbox: ({ addNode, updateNodeData, updateEdge, updateEdgeData, flowId, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ flowId: string;
3
+ }
4
+ export declare const UndoRedoControls: ({ flowId }: Props) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1 @@
1
+ export declare const ViewportControls: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
2
+ import { UseFlowResult } from '../../hooks/useFlow';
3
+ interface Props {
4
+ nodes: ApiFlowLight.FlowNodeItem[];
5
+ edges: ApiFlowLight.FlowEdgeItem[];
6
+ onNodesChange: UseFlowResult['onNodesChange'];
7
+ onEdgesChange: UseFlowResult['onEdgesChange'];
8
+ onConnect: UseFlowResult['onConnect'];
9
+ addNode: UseFlowResult['addNode'];
10
+ }
11
+ export declare const Editor: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<HTMLDivElement>>;
12
+ export {};
@@ -0,0 +1,5 @@
1
+ export { ViewportControls } from './editor/ViewportControls.tsx';
2
+ export { KeyboardShortcuts } from './editor/KeyboardShortcuts.tsx';
3
+ export { UndoRedoControls } from './editor/UndoRedoControls.tsx';
4
+ export { GridControls } from './editor/GridControls.tsx';
5
+ export { Toolbox } from './editor/Toolbox.tsx';
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Resizer: ({ selected, data, handles, children, }: PropsWithChildren<{
4
+ selected?: boolean;
5
+ data: ApiFlowLight.FlowNodeItem["data"];
6
+ handles?: boolean;
7
+ }>) => import("react/jsx-runtime").JSX.Element;
8
+ export default Resizer;
@@ -0,0 +1,145 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../flow/src/api/flowLight/types.ts';
3
+ export declare const nodesTypes: {
4
+ circle: {
5
+ label: string;
6
+ group: string;
7
+ component: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
8
+ };
9
+ diamond: {
10
+ label: string;
11
+ group: string;
12
+ component: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
13
+ };
14
+ rectangle: {
15
+ label: string;
16
+ group: string;
17
+ component: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
18
+ };
19
+ triangle: {
20
+ label: string;
21
+ group: string;
22
+ component: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
23
+ };
24
+ roundrectangle: {
25
+ label: string;
26
+ group: string;
27
+ component: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
28
+ };
29
+ facebook: {
30
+ label: string;
31
+ group: string;
32
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
33
+ };
34
+ gmail: {
35
+ label: string;
36
+ group: string;
37
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
38
+ };
39
+ instagram: {
40
+ label: string;
41
+ group: string;
42
+ component: ({ data, selected, }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
43
+ };
44
+ discord: {
45
+ label: string;
46
+ group: string;
47
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
48
+ };
49
+ linkedin: {
50
+ label: string;
51
+ group: string;
52
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
53
+ };
54
+ flickr: {
55
+ label: string;
56
+ group: string;
57
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
58
+ };
59
+ pinterest: {
60
+ label: string;
61
+ group: string;
62
+ component: ({ data, selected, }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
63
+ };
64
+ twitch: {
65
+ label: string;
66
+ group: string;
67
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
68
+ };
69
+ skype: {
70
+ label: string;
71
+ group: string;
72
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
73
+ };
74
+ github: {
75
+ label: string;
76
+ group: string;
77
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
78
+ };
79
+ medium: {
80
+ label: string;
81
+ group: string;
82
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
83
+ };
84
+ threads: {
85
+ label: string;
86
+ group: string;
87
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
88
+ };
89
+ tiktok: {
90
+ label: string;
91
+ group: string;
92
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
93
+ };
94
+ telegram: {
95
+ label: string;
96
+ group: string;
97
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
98
+ };
99
+ etsy: {
100
+ label: string;
101
+ group: string;
102
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
103
+ };
104
+ whatsup: {
105
+ label: string;
106
+ group: string;
107
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
108
+ };
109
+ reddit: {
110
+ label: string;
111
+ group: string;
112
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
113
+ };
114
+ xtwitter: {
115
+ label: string;
116
+ group: string;
117
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
118
+ };
119
+ youtube: {
120
+ label: string;
121
+ group: string;
122
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
123
+ };
124
+ vimeo: {
125
+ label: string;
126
+ group: string;
127
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
128
+ };
129
+ slack: {
130
+ label: string;
131
+ group: string;
132
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
133
+ };
134
+ snapchat: {
135
+ label: string;
136
+ group: string;
137
+ component: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
138
+ };
139
+ annotation: {
140
+ label: string;
141
+ group: string;
142
+ component: ({ data, selected, width, height, }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
143
+ };
144
+ };
145
+ export default nodesTypes;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Circle: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Circle;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Diamond: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Diamond;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Rectangle: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Rectangle;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const RoundRectangle: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default RoundRectangle;
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { NodeProps } from '@xyflow/react';
3
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
4
+ declare const ShapeSetup: ({ data, selected, width, height, children, }: PropsWithChildren<NodeProps<ApiFlowLight.FlowNodeItem>>) => import("react/jsx-runtime").JSX.Element;
5
+ export default ShapeSetup;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Triangle: (props: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Triangle;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Discord: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Discord;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Etsy: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Etsy;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Facebook: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Facebook;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Flickr: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Flickr;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Github: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Github;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Gmail: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Gmail;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Instagram: ({ data, selected, }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Instagram;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Linkedin: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Linkedin;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Medium: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Medium;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Pinterest: ({ data, selected, }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Pinterest;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Reddit: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Reddit;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Skype: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Skype;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Slack: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Slack;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Snapchat: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Snapchat;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Telegram: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Telegram;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Threads: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Threads;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const TikTok: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default TikTok;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Twitch: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Twitch;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Vimeo: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Vimeo;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Whatsup: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Whatsup;
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { NodeProps } from '@xyflow/react';
3
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
4
+ declare const Wrapper: ({ data, selected, children, }: PropsWithChildren<Pick<NodeProps<ApiFlowLight.FlowNodeItem>, "data" | "selected">>) => import("react/jsx-runtime").JSX.Element;
5
+ export default Wrapper;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const XTwitter: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default XTwitter;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Youtube: ({ data, selected }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Youtube;
@@ -0,0 +1,4 @@
1
+ import { NodeProps } from '@xyflow/react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ declare const Annotation: ({ data, selected, width, height, }: NodeProps<ApiFlowLight.FlowNodeItem>) => import("react/jsx-runtime").JSX.Element;
4
+ export default Annotation;
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { ApiFlowLight } from '../../../../../../../flow/src/api/flowLight/types.ts';
3
+ interface Props {
4
+ data: ApiFlowLight.FlowNodeItem['data'];
5
+ selected: boolean;
6
+ }
7
+ declare const Browser: ({ data, selected, children }: PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element;
8
+ export default Browser;
@@ -0,0 +1,3 @@
1
+ export declare const ColorSchemeImage: ({ name }: {
2
+ name: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { Dispatch, PropsWithChildren, SetStateAction } from 'react';
2
+ import { ApiFlowLight } from '../../../../../flow/src/api/flowLight/types.ts';
3
+ interface DragDropContextType {
4
+ type: ApiFlowLight.NodeType | null;
5
+ setType: Dispatch<SetStateAction<ApiFlowLight.NodeType | null>>;
6
+ }
7
+ declare const DragDropContext: import('react').Context<DragDropContextType | undefined>;
8
+ export declare const DDProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
9
+ export default DragDropContext;
10
+ export declare const useDragDrop: () => DragDropContextType | undefined;