@layers-app/shared 0.0.34 → 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.
- package/dist/{KanbanLayout-TOvxA69t.js → KanbanLayout-Diy-kZtU.js} +1 -1
- package/dist/{TimeLine-Cnlt3oFe.js → TimeLine-CNziqKtl.js} +3 -3
- package/dist/components/ColorPicker/ColorPicker.d.ts +5 -0
- package/dist/components/Copyright/index.d.ts +9 -0
- package/dist/components/FlowEditor/components/FlowAction/index.d.ts +7 -0
- package/dist/components/FlowEditor/components/colors.d.ts +19 -0
- package/dist/components/FlowEditor/components/edges/ConnectionLine.d.ts +8 -0
- package/dist/components/FlowEditor/components/edges/Custom.d.ts +4 -0
- package/dist/components/FlowEditor/components/edges/index.d.ts +4 -0
- package/dist/components/FlowEditor/components/editor/EdgeEdit.d.ts +12 -0
- package/dist/components/FlowEditor/components/editor/GridControls.d.ts +1 -0
- package/dist/components/FlowEditor/components/editor/KeyboardShortcuts.d.ts +1 -0
- package/dist/components/FlowEditor/components/editor/NodeEdit.d.ts +11 -0
- package/dist/components/FlowEditor/components/editor/NodeSelect.d.ts +7 -0
- package/dist/components/FlowEditor/components/editor/TextEdit.d.ts +11 -0
- package/dist/components/FlowEditor/components/editor/Toolbox.d.ts +10 -0
- package/dist/components/FlowEditor/components/editor/UndoRedoControls.d.ts +5 -0
- package/dist/components/FlowEditor/components/editor/ViewportControls.d.ts +1 -0
- package/dist/components/FlowEditor/components/editor/index.d.ts +12 -0
- package/dist/components/FlowEditor/components/index.d.ts +5 -0
- package/dist/components/FlowEditor/components/nodes/Resizer.d.ts +8 -0
- package/dist/components/FlowEditor/components/nodes/index.d.ts +145 -0
- package/dist/components/FlowEditor/components/nodes/shapes/Circle.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/shapes/Diamond.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/shapes/Rectangle.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/shapes/RoundRectangle.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/shapes/ShapeSetup.d.ts +5 -0
- package/dist/components/FlowEditor/components/nodes/shapes/Triangle.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Discord.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Etsy.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Facebook.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Flickr.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Github.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Gmail.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Instagram.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Linkedin.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Medium.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Pinterest.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Reddit.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Skype.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Slack.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Snapchat.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Telegram.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Threads.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/TikTok.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Twitch.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Vimeo.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Whatsup.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Wrapper.d.ts +5 -0
- package/dist/components/FlowEditor/components/nodes/social/XTwitter.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/social/Youtube.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/text/Annotation.d.ts +4 -0
- package/dist/components/FlowEditor/components/nodes/wireframes/Browser.d.ts +8 -0
- package/dist/components/FlowEditor/components/nodes/wireframes/ColorSchemeImage.d.ts +3 -0
- package/dist/components/FlowEditor/context/DragDropContext.d.ts +10 -0
- package/dist/components/FlowEditor/hooks/useFlow.d.ts +35 -0
- package/dist/components/FlowEditor/hooks/usePngExport.d.ts +1 -0
- package/dist/components/FlowEditor/index.d.ts +10 -0
- package/dist/components/FlowEditor/store/useFlowStore.d.ts +9 -0
- package/dist/components/FlowEditor/store/useUndoRedoStore.d.ts +24 -0
- package/dist/components/FlowEditor/types.d.ts +0 -0
- package/dist/components/FlowEditor/utils/index.d.ts +1 -0
- package/dist/components/Logotype.d.ts +4 -2
- package/dist/components/NotPublicPanel/NotPublicPanel.d.ts +1 -2
- package/dist/components/SearchFilters/SearchFilters.d.ts +4 -2
- package/dist/components/SearchFilters/components/Type.d.ts +3 -2
- package/dist/components/SearchFilters/types.d.ts +1 -1
- package/dist/components/TemplatesModal/components/SelectedTemplate.d.ts +7 -0
- package/dist/components/TemplatesModal/components/Template.d.ts +9 -0
- package/dist/components/TemplatesModal/components/Templates.d.ts +7 -0
- package/dist/components/TemplatesModal/data.d.ts +13 -0
- package/dist/components/TemplatesModal/index.d.ts +7 -0
- package/dist/components/TemplatesModal/types.d.ts +16 -0
- package/dist/components/table/FrontTable.d.ts +35 -0
- package/dist/components/table/api.d.ts +31 -0
- package/dist/components/table/components/Table.d.ts +1 -0
- package/dist/components/table/components/TableAggregation.d.ts +1 -0
- package/dist/components/table/components/TableCell.d.ts +11 -0
- package/dist/components/table/components/TableHeaderCell.d.ts +17 -0
- package/dist/components/table/components/TableHeaders.d.ts +1 -0
- package/dist/components/table/components/TableMenu.d.ts +4 -0
- package/dist/components/table/components/TablePagination.d.ts +1 -0
- package/dist/components/table/components/TablePanel.d.ts +1 -0
- package/dist/components/table/components/TableRow.d.ts +14 -0
- package/dist/components/table/components/TableRows.d.ts +14 -0
- package/dist/components/table/components/TableSearch.d.ts +1 -0
- package/dist/components/table/components/TableSkeleton.d.ts +11 -0
- package/dist/components/table/components/TableTitle.d.ts +16 -0
- package/dist/components/table/constants.d.ts +25 -0
- package/dist/components/table/export.d.ts +9 -0
- package/dist/components/table/helpers/columns.d.ts +28 -0
- package/dist/components/table/helpers/formatters.d.ts +76 -0
- package/dist/components/table/hooks/TableProvider.d.ts +57 -0
- package/dist/components/table/hooks/useColumnsResizing.d.ts +5 -0
- package/dist/components/table/hooks/useCreateTable.d.ts +52 -0
- package/dist/components/table/hooks/useSaveRowCount.d.ts +1 -0
- package/dist/components/table/hooks/useSorting.d.ts +2 -0
- package/dist/components/table/hooks/useTableStore.d.ts +51 -0
- package/dist/components/table/selectors.d.ts +1837 -0
- package/dist/components/table/store.d.ts +83 -0
- package/dist/components/table/types.d.ts +99 -0
- package/dist/index-C4NKtsV-.js +78436 -0
- package/dist/index.d.ts +11 -0
- package/dist/{index.esm-DA_ykpoW.js → index.esm-DkcsgZzy.js} +1 -1
- package/dist/index.js +171 -120
- package/dist/index.umd.cjs +618 -116
- package/dist/store/accessOptionsControl.d.ts +6 -0
- package/dist/utils/getPlanBadgeColor.d.ts +6 -0
- package/dist/utils/queryParams.d.ts +2 -0
- package/package.json +2 -2
- package/dist/index-AIgzpQJB.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-
|
|
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-
|
|
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-
|
|
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-
|
|
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,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,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 @@
|
|
|
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 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 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,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;
|