@ws-ui/event-report-editor 1.11.12-rc6

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 (42) hide show
  1. package/dist/Edges/BaseEdge.d.ts +3 -0
  2. package/dist/Edges/CustomEdge.d.ts +11 -0
  3. package/dist/Edges/EdgeText.d.ts +4 -0
  4. package/dist/Edges/utils.d.ts +11 -0
  5. package/dist/Nodes/EventAction/EventContainerBody/Dialog.d.ts +4 -0
  6. package/dist/Nodes/EventAction/EventContainerBody/Method.d.ts +5 -0
  7. package/dist/Nodes/EventAction/EventContainerBody/Navigation.d.ts +5 -0
  8. package/dist/Nodes/EventAction/EventContainerBody/QodlyProAction.d.ts +5 -0
  9. package/dist/Nodes/EventAction/EventContainerBody/SimpleAction.d.ts +5 -0
  10. package/dist/Nodes/EventAction/EventContainerBody/index.d.ts +5 -0
  11. package/dist/Nodes/EventAction/EventContainerTitle.d.ts +4 -0
  12. package/dist/Nodes/EventAction/index.d.ts +9 -0
  13. package/dist/Nodes/EventLabel.d.ts +8 -0
  14. package/dist/Nodes/EventTrigger.d.ts +18 -0
  15. package/dist/Nodes/types.d.ts +4 -0
  16. package/dist/Standalone/index.d.ts +6 -0
  17. package/dist/Toolbar/Button.d.ts +14 -0
  18. package/dist/Toolbar/Filter.d.ts +6 -0
  19. package/dist/Toolbar/ToolbarButton.d.ts +14 -0
  20. package/dist/Toolbar/ViewSwitch.d.ts +5 -0
  21. package/dist/Toolbar/ZoomControl.d.ts +1 -0
  22. package/dist/Toolbar/index.d.ts +9 -0
  23. package/dist/event-report-editor.css +1 -0
  24. package/dist/graphTraversal.d.ts +7 -0
  25. package/dist/hooks/use-clickable-source.d.ts +6 -0
  26. package/dist/hooks/use-d3-zoom.d.ts +8 -0
  27. package/dist/hooks/use-event-report-sanityCheck.d.ts +6 -0
  28. package/dist/hooks/use-event-report-view.d.ts +5 -0
  29. package/dist/hooks/use-layouted-elements/adapter.d.ts +12 -0
  30. package/dist/hooks/use-layouted-elements/dagre-layout.d.ts +6 -0
  31. package/dist/hooks/use-layouted-elements/elk-layout.d.ts +15 -0
  32. package/dist/hooks/use-layouted-elements/index.d.ts +10 -0
  33. package/dist/hooks/use-viewport.d.ts +8 -0
  34. package/dist/index.cjs.js +108 -0
  35. package/dist/index.cjs.js.map +1 -0
  36. package/dist/index.d.ts +6 -0
  37. package/dist/index.es.js +65211 -0
  38. package/dist/index.es.js.map +1 -0
  39. package/dist/main.d.ts +0 -0
  40. package/dist/providers/EventReportProvider.d.ts +17 -0
  41. package/dist/vite.svg +1 -0
  42. package/package.json +57 -0
@@ -0,0 +1,3 @@
1
+ import { BaseEdgeProps } from 'react-flow-renderer';
2
+ declare const _default: ({ path, centerX, centerY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, markerEnd, markerStart, }: BaseEdgeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { EdgeSmoothStepProps } from 'react-flow-renderer';
2
+ export interface CustomEdgeData {
3
+ borderRadius?: number;
4
+ forceStraightAtSource?: boolean;
5
+ forceStraightAtTarget?: boolean;
6
+ isPerfectlyStraight?: boolean;
7
+ customMidX?: number;
8
+ customMidY?: number;
9
+ }
10
+ declare const _default: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, sourcePosition, targetPosition, markerEnd, markerStart, borderRadius, data, }: EdgeSmoothStepProps<CustomEdgeData>) => import("react/jsx-runtime").JSX.Element>;
11
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { EdgeTextProps } from 'react-flow-renderer';
3
+ declare const _default: import('react').NamedExoticComponent<PropsWithChildren<EdgeTextProps>>;
4
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { Position } from 'react-flow-renderer';
2
+ interface GetCenterParams {
3
+ sourceX: number;
4
+ sourceY: number;
5
+ targetX: number;
6
+ targetY: number;
7
+ sourcePosition?: Position;
8
+ targetPosition?: Position;
9
+ }
10
+ export declare const getCenter: ({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, }: GetCenterParams) => [number, number, number, number];
11
+ export {};
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ export declare const Dialog: FC<{
3
+ data: webforms.DialogActionEvent;
4
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare const Method: FC<{
3
+ path: string;
4
+ data: webforms.MemberFunctionEvent;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare const Navigation: FC<{
3
+ path: string;
4
+ data: webforms.NavigationEvent;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare const QodlyProAction: FC<{
3
+ path: string;
4
+ data: webforms.QodlyProActionEvent;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare const SimpleAction: FC<{
3
+ path: string;
4
+ data: webforms.SimpleActionEvent;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare const EventContainerBody: FC<{
3
+ path: string;
4
+ data: webforms.WEvent;
5
+ }>;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ export declare const EventContainerTitle: FC<{
3
+ data: webforms.WEvent;
4
+ }>;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { NodeProps } from 'react-flow-renderer';
3
+ import { ICommonNodeProps } from '../types';
4
+ interface IEventActionProps extends ICommonNodeProps {
5
+ path: string;
6
+ event: webforms.WEvent;
7
+ }
8
+ export declare const EventAction: FC<NodeProps<IEventActionProps>>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { NodeProps } from 'react-flow-renderer';
3
+ import { ICommonNodeProps } from './types';
4
+ export interface IEventLabelProps extends ICommonNodeProps {
5
+ label: string;
6
+ type?: 'auto' | 'manual';
7
+ }
8
+ export declare const EventLabel: FC<NodeProps<IEventLabelProps>>;
@@ -0,0 +1,18 @@
1
+ import { FC } from 'react';
2
+ import { NodeProps } from 'react-flow-renderer';
3
+ import { ICommonNodeProps } from './types';
4
+ interface IEventTriggerProps extends ICommonNodeProps {
5
+ path: string;
6
+ label?: string;
7
+ kind?: 'component' | 'source';
8
+ component?: {
9
+ id: string;
10
+ displayName: string;
11
+ };
12
+ source?: {
13
+ id: string;
14
+ namespace: string;
15
+ };
16
+ }
17
+ export declare const EventTrigger: FC<NodeProps<IEventTriggerProps>>;
18
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface ICommonNodeProps {
2
+ highlighted?: boolean;
3
+ selected?: boolean;
4
+ }
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { IEditor } from '../index';
3
+ interface IStandaloneProps extends IEditor {
4
+ }
5
+ export declare const Standalone: FC<IStandaloneProps>;
6
+ export {};
@@ -0,0 +1,14 @@
1
+ import { FC, MouseEventHandler } from 'react';
2
+ interface IButtonProps {
3
+ active?: boolean;
4
+ tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
5
+ label?: string;
6
+ icon?: JSX.Element;
7
+ tooltip?: string;
8
+ className?: string;
9
+ disabled?: boolean;
10
+ onClick?: MouseEventHandler;
11
+ 'data-cy'?: string;
12
+ }
13
+ export declare const Button: FC<IButtonProps>;
14
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Dispatch, FC, SetStateAction } from 'react';
2
+ export interface IFilterProps {
3
+ filters: string[];
4
+ onFiltersChange: Dispatch<SetStateAction<string[]>>;
5
+ }
6
+ export declare const Filter: FC<IFilterProps>;
@@ -0,0 +1,14 @@
1
+ import { FC, MouseEventHandler } from 'react';
2
+ interface IButtonProps {
3
+ active?: boolean;
4
+ tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
5
+ label?: string;
6
+ icon?: JSX.Element;
7
+ tooltip?: string;
8
+ className?: string;
9
+ disabled?: boolean;
10
+ onClick?: MouseEventHandler;
11
+ 'data-cy'?: string;
12
+ }
13
+ export declare const ToolbarButton: FC<IButtonProps>;
14
+ export {};
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ interface IViewSwitchProps {
3
+ }
4
+ export declare const ViewSwitch: FC<IViewSwitchProps>;
5
+ export {};
@@ -0,0 +1 @@
1
+ export declare const ZoomControl: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { IFilterProps } from './Filter';
3
+ interface IToolbarProps extends IFilterProps {
4
+ path: string;
5
+ hasSelection: boolean;
6
+ onSelectionClear: () => void;
7
+ }
8
+ export declare const Toolbar: FC<IToolbarProps>;
9
+ export {};
@@ -0,0 +1 @@
1
+ *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--ws-primary-50: #f2ddff;--ws-primary-100: #edd0ff;--ws-primary-300: #d0acef;--ws-primary-400: #c190ea;--ws-primary-600: #935ebf;--ws-primary-800: #563374;--ws-primary-900: #381e4f;--ws-primary-950: #29133c;--ws-positive-50: #ecf9f2;--ws-positive-100: #d9f2e6;--ws-positive-300: #8ed9b3;--ws-positive-400: #68cd99;--ws-positive-700: #28734d;--ws-positive-800: #28734d;--ws-positive-900: #0d261a;--ws-positive-950: #07130d;--ws-warning-50: #fff7e6;--ws-warning-100: #ffefcc;--ws-warning-300: #fed066;--ws-warning-400: #fdc133;--ws-warning-700: #986a00;--ws-warning-800: #654700;--ws-warning-900: #332300;--ws-warning-950: #191200;--ws-negative-50: #feeeee;--ws-negative-100: #fcdcdc;--ws-negative-300: #f69797;--ws-negative-400: #f37575;--ws-negative-700: #9a3232;--ws-negative-800: #6e2222;--ws-negative-900: #431212;--ws-negative-950: #2e0a0a;--ws-grey-300: #535353;--ws-grey-400: #484848;--ws-grey-600: #3f3f3f;--ws-palette-primary-200: #e0c7f5;--ws-palette-primary-500: #b174e5;--ws-palette-primary-700: #75499a;--ws-button-bg: var(--vscode-button-background, var(--theia-button-background, var(--ws-palette-primary-500)));--ws-button-fg: var(--vscode-button-foreground, var(--theia-button-foreground, var(--ws-palette-white)));--ws-primary-default: var(--ws-button-bg);--ws-button-text: var(--ws-button-fg);--ws-primary-hover: var(--vscode-button-hoverBackground, var(--theia-button-hoverBackground, var(--ws-palette-primary-700)));--ws-primary-light: var(--vscode-editorInfo-foreground, var(--theia-button-hoverBackground, var(--ws-palette-primary-200)));--ws-primary-dark: var(--vscode-editor-lineHighlightBackground, var(--theia-button-hoverBackground, var(--ws-palette-primary-700)));--ws-primary-200: var(--ws-primary-light);--ws-primary-500: var(--ws-primary-default);--ws-primary-700: var(--ws-primary-hover);--ws-palette-positive-200: #b3e6cc;--ws-palette-positive-500: #42c080;--ws-palette-positive-600: #359a66;--ws-positive-dark: var(--vscode-gitDecoration-addedResourceForeground, var(--ws-palette-positive-600));--ws-positive-hover: var(--ws-positive-dark);--ws-positive-bg: var(--ws-palette-positive-100);--ws-positive-light: var(--ws-palette-positive-200);--ws-positive-border: var(--ws-positive-500);--ws-positive-text: var(--ws-positive-500);--ws-positive-500: var(--vscode-testing-iconPassed, var(--ws-palette-positive-500));--ws-positive-200: var(--ws-positive-light);--ws-positive-600: var(--ws-positive-dark);--ws-palette-warning-200: #fee099;--ws-palette-warning-500: #fdb100;--ws-palette-warning-600: #ca8e00;--ws-warning-hover: var(--ws-warning-600);--ws-warning-text: var(--ws-warning-500);--ws-warning-border: var(--ws-warning-500);--ws-warning-500: var(--vscode-list-warningForeground, var(--ws-palette-warning-500));--ws-warning-bg: var(--vscode-inputValidation-warningBackground, var(--ws-palette-warning-500));--ws-warning-light: var(--vscode-inputValidation-warningBackground, var(--ws-palette-warning-200));--ws-warning-dark: var(--vscode-inputValidation-warningBackground, var(--ws-palette-warning-600));--ws-warning-200: var(--ws-warning-light);--ws-warning-600: var(--ws-warning-dark);--ws-palette-negative-200: #f9baba;--ws-palette-negative-500: #f05252;--ws-palette-negative-600: #c54242;--ws-negative-hover: var(--ws-negative-600);--ws-negative-text: var(--ws-negative-500);--ws-negative-500: var(--vscode-errorForeground, var(--ws-palette-negative-500));--ws-negative-light: var(--vscode-inputValidation-errorBackground, var(--ws-palette-negative-200));--ws-negative-dark: var(--vscode-inputValidation-errorBackground, var(--ws-palette-negative-600));--ws-negative-200: var(--ws-negative-light);--ws-negative-600: var(--ws-negative-dark);--ws-palette-white: #ffffff;--ws-palette-grey-50: #f1f5f9;--ws-palette-grey-100: #cccccc;--ws-palette-grey-200: #888888;--ws-palette-grey-300: #535353;--ws-palette-grey-400: #484848;--ws-palette-grey-500: #444444;--ws-palette-grey-600: #3F3F3F;--ws-palette-grey-700: #393939;--ws-palette-grey-800: #383838;--ws-palette-grey-900: #262626;--ws-palette-grey-950: #151515;--ws-bg-default: var(--vscode-editor-background, var(--theia-editor-background, var(--ws-palette-white)));--ws-bg-foreground: var(--vscode-editor-foreground, var(--theia-panel-foreground, var(--ws-palette-grey-50)));--ws-grey-50: var(--ws-bg-foreground);--ws-grey-100: var(--vscode-panel-background, var(--theia-panel-background, var(--ws-palette-grey-100)));--ws-grey-200: var(--vscode-editor-background, var(--theia-editor-background, var(--ws-palette-grey-200)));--ws-grey-950: var(--vscode-panel-border, var(--theia-border-color, var(--ws-palette-grey-950)));--ws-grey-500: var(--vscode-descriptionForeground, var(--ws-palette-grey-500));--ws-grey-800: var(--vscode-descriptionForeground, var(--ws-palette-grey-800));--ws-card-bg: var(--vscode-editorGroupHeader-tabsBackground, var(--theia-editorGroupHeader-tabsBackground, var(--ws-palette-grey-900)));--ws-card-border: var(--vscode-editorGroupHeader-tabsBorder, var(--theia-editorGroupHeader-tabsBorder, var(--ws-palette-grey-50)));--ws-palette-input-bg: var(--ws-palette-grey-300);--ws-palette-input-border: var(--ws-palette-grey-300);--ws-palette-input-text: var(--ws-palette-grey-50);--ws-palette-input-placeholder: var(--ws-palette-grey-200);--ws-palette-input-focus-border: var(--ws-palette-grey-50);--ws-input-bg: var(--vscode-input-background, var(--vscode-editorWidget-background, var(--theia-input-background, var(--ws-palette-input-bg))));--ws-input-border: var(--vscode-input-border, var(--vscode-panel-border, var(--theia-input-border, var(--ws-palette-input-border))));--ws-input-text: var(--vscode-input-foreground, var(--vscode-editor-foreground, var(--theia-input-foreground, var(--ws-palette-input-text))));--ws-input-placeholder: var(--vscode-input-placeholderForeground, var(--vscode-editor-foreground, var(--theia-input-placeholderForeground, var(--ws-palette-input-placeholder))));--ws-input-focus-border: var(--vscode-focusBorder, var(--vscode-button-background, var(--theia-focusBorder, var(--ws-palette-primary-500))));--ws-select-bg: var(--vscode-dropdown-background, var(--vscode-editorWidget-background, var(--theia-dropdown-background, var(--ws-input-bg))));--ws-select-border: var(--vscode-dropdown-border, var(--vscode-panel-border, var(--theia-dropdown-border, var(--ws-input-border))));--ws-select-text: var(--vscode-dropdown-foreground, var(--vscode-editor-foreground, var(--theia-dropdown-foreground, var(--ws-input-text))));--ws-select-list-bg: var(--vscode-editorWidget-background, var(--theia-editorWidget-background, var(--ws-palette-grey-900)));--ws-input-option-hover-bg: var(--vscode-list-hoverBackground, var(--vscode-button-hoverBackground, var(--theia-list-hoverBackground, var(--ws-palette-primary-700))));--ws-input-option-active-bg: var(--vscode-list-activeSelectionBackground, var(--theia-list-activeSelectionBackground, var(--ws-palette-primary-500)));--ws-input-option-active-text: var(--vscode-list-activeSelectionForeground, var(--theia-list-activeSelectionForeground, var(--ws-palette-white)));--ws-input-error-border: var(--vscode-inputValidation-errorBorder, var(--theia-inputValidation-errorBorder, var(--ws-palette-negative-500)));--ws-input-error-bg: var(--vscode-inputValidation-errorBackground, var(--theia-inputValidation-errorBackground, var(--ws-palette-negative-200)));--ws-input-warning-border: var(--vscode-inputValidation-warningBorder, var(--theia-inputValidation-warningBorder, var(--ws-palette-warning-500)));--ws-input-warning-bg: var(--vscode-inputValidation-warningBackground, var(--theia-inputValidation-warningBackground, var(--ws-palette-warning-200)));--ws-input-info-bg: var(--vscode-panel-background, var(--theia-inputValidation-infoBackground, var(--ws-palette-primary-200)));--ws-input-message-bg: var(--vscode-editor-lineHighlightBackground, var(--theia-inputValidation-infoBackground, var(--ws-palette-primary-200)));--ws-input-message-text: var(--vscode-editorInfo-foreground, var(--vscode-editor-foreground, var(--theia-inputValidation-infoForeground, var(--ws-palette-primary-500))));--ws-inactive-text: var(--vscode-disabledForeground, var(--vscode-editor-foreground, var(--theia-disabled-foreground, var(--ws-palette-grey-200))));--ws-disable-bg: var(--vscode-button-disabledBackground, var(--theia-button-disabledBackground, var(--ws-palette-grey-300)));--ws-disable-input: var(--vscode-button-disabledBackground, var(--theia-button-disabledBackground, var(--ws-palette-grey-200)));--ws-text-muted: var(--vscode-descriptionForeground, var(--vscode-editor-foreground, var(--theia-descriptionForeground, var(--ws-palette-grey-100))));--ws-panel-0: var(--vscode-editor-background, var(--theia-editor-background, var(--ws-palette-grey-900)));--ws-panel-1: var(--vscode-sideBar-background, var(--theia-sideBar-background, var(--ws-palette-grey-700)));--ws-panel-2: var(--vscode-panel-background, var(--theia-panel-background, var(--ws-palette-grey-900)));--ws-panel-3: var(--vscode-editorGroupHeader-tabsBackground, var(--theia-editorGroupHeader-tabsBackground, var(--ws-palette-grey-900)));--ws-panel-4: var(--vscode-editorWidget-background, var(--theia-editorWidget-background, var(--ws-palette-grey-300)));--ws-panel-5: var(--vscode-editorWidget-background, var(--theia-editorWidget-background, var(--ws-palette-grey-950)));--ws-panel-border-subtle: var(--vscode-panel-border, var(--theia-border-color, var(--ws-palette-grey-100)));--ws-panel-border-strong: var(--vscode-contrastBorder, var(--theia-contrastBorder, var(--ws-palette-grey-300)));--ws-tab-bg-default: var(--vscode-editorGroupHeader-tabsBackground, var(--ws-palette-grey-900));--ws-tab-border: var(--vscode-tab-border, var(--ws-palette-grey-950));--ws-tab-active-bg: var(--vscode-tab-activeBackground, var(--ws-palette-grey-800));--ws-tab-active-fg: var(--vscode-tab-activeForeground, var(--ws-bg-foreground));--ws-tab-inactive-bg: var(--vscode-tab-inactiveBackground, var(--ws-palette-grey-900));--ws-tab-inactive-fg: var(--vscode-tab-inactiveForeground, var(--ws-palette-grey-200));--ws-tab-hover-bg: var(--vscode-tab-hoverBackground, var(--ws-palette-grey-700));--ws-panel-header-bg: var(--vscode-sideBarSectionHeader-background, var(--ws-palette-grey-800));--ws-panel-header-fg: var(--vscode-sideBarSectionHeader-foreground, var(--ws-bg-foreground));--ws-panel-bg: var(--vscode-panel-background, var(--ws-bg-default));--ws-panel-border: var(--vscode-panel-border, var(--ws-palette-grey-950));--ws-panel-title-active-border: var(--vscode-panelTitle-activeBorder, var(--ws-palette-primary-500));--ws-panel-title-active-fg: var(--vscode-panelTitle-activeForeground, var(--ws-bg-foreground));--ws-panel-title-inactive-fg: var(--vscode-panelTitle-inactiveForeground, var(--ws-palette-grey-100))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: rgb(17 24 39 / 10%);--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-left-1{left:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.-top-5{top:-1.25rem}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-1{right:.25rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-full{top:100%}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.z-\[1999\]{z-index:1999}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-auto{margin-top:auto;margin-bottom:auto}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-auto{margin-right:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-px{margin-top:1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.h-0\.5{height:.125rem}.h-1\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-\[10rem\]{max-height:10rem}.min-h-\[10rem\]{min-height:10rem}.w-1\/2{width:50%}.w-1\/6{width:16.666667%}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-96{width:24rem}.w-\[--width\]{width:var(--width)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-0{min-width:0px}.max-w-\[10rem\]{max-width:10rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-2\.5{--tw-translate-x: .625rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-3{--tw-translate-x: .75rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[0\.85rem\]{--tw-translate-x: .85rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-y-2{row-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.rounded{border-radius:4px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-body{border-color:var(--ws-bg-foreground)}.border-grey-50{border-color:var(--ws-grey-50)}.border-primary{border-color:var(--ws-primary-default)}.border-primary-dark{border-color:var(--ws-primary-dark)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-body{background-color:var(--ws-bg-foreground)}.bg-fd-gray-default{--tw-bg-opacity: 1;background-color:rgb(49 49 49 / var(--tw-bg-opacity, 1))}.bg-grey-200{background-color:var(--ws-grey-200)}.bg-grey-300{background-color:var(--ws-grey-300)}.bg-grey-50{background-color:var(--ws-grey-50)}.bg-grey-600{background-color:var(--ws-grey-600)}.bg-grey-900{background-color:var(--ws-grey-900)}.bg-panel-3{background-color:var(--ws-panel-3)}.bg-primary{background-color:var(--ws-primary-default)}.bg-primary-dark{background-color:var(--ws-primary-dark)}.bg-primary-hover{background-color:var(--ws-primary-hover)}.bg-primary-light{background-color:var(--ws-primary-light)}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.stroke-body{stroke:var(--ws-bg-foreground)}.stroke-current{stroke:currentColor}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pr-1{padding-right:.25rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-bottom{vertical-align:bottom}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-poppins{font-family:Twemoji Country Flags,Poppins,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[12px\]{font-size:12px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-s{font-size:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.65rem}.text-xxs{font-size:.55rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-thin{font-weight:100}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-6{line-height:1.5rem}.text-body{color:var(--ws-bg-foreground)}.text-button-text{color:var(--ws-button-fg)}.text-fd-gray-mild{--tw-text-opacity: 1;color:rgb(179 179 179 / var(--tw-text-opacity, 1))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-grey-100{color:var(--ws-grey-100)}.text-grey-200{color:var(--ws-grey-200)}.text-grey-50{color:var(--ws-grey-50)}.text-inactive-text{color:var(--ws-inactive-text)}.text-muted{color:var(--ws-text-muted)}.text-negative-text{color:var(--ws-negative-text)}.text-positive-text{color:var(--ws-positive-text)}.text-primary{color:var(--ws-primary-default)}.text-primary-dark{color:var(--ws-primary-dark)}.text-primary-hover{color:var(--ws-primary-hover)}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity, 1))}.text-purple-950{--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.event-report-editor .react-flow__node,.event-report-editor .react-flow__handle.connectable{cursor:default}.hover\:overflow-x-auto:hover{overflow-x:auto}.hover\:border-solid:hover{border-style:solid}.hover\:border-primary-hover:hover{border-color:var(--ws-primary-hover)}.hover\:bg-grey-50:hover{background-color:var(--ws-grey-50)}.hover\:bg-primary-hover:hover{background-color:var(--ws-primary-hover)}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:text-primary-dark:hover{color:var(--ws-primary-dark)}.hover\:text-primary-hover:hover{color:var(--ws-primary-hover)}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-white:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:flex{display:flex}
@@ -0,0 +1,7 @@
1
+ import { Node, Edge } from 'react-flow-renderer';
2
+ interface TraversalResult {
3
+ highlightedNodeIds: Set<string>;
4
+ highlightedEdgeIds: Set<string>;
5
+ }
6
+ export declare const getForwardPath: (startNodeId: string, nodes: Node[], edges: Edge[]) => TraversalResult;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare const useClickableSource: ({ path }: {
2
+ path: string;
3
+ }) => {
4
+ isSourceClickable: (datasource: string) => boolean;
5
+ selectSource: (datasource: string) => void;
6
+ };
@@ -0,0 +1,8 @@
1
+ export declare const useD3Zoom: (zoomKey?: string) => {
2
+ panOnScroll: boolean;
3
+ panOnDrag: boolean;
4
+ zoomOnScroll: boolean;
5
+ zoomOnPinch: boolean;
6
+ zoomOnDoubleClick: boolean;
7
+ preventScrolling: boolean;
8
+ };
@@ -0,0 +1,6 @@
1
+ import { TIssuesList } from '@ws-ui/webform-editor';
2
+ declare const useEventReportSanityCheck: (event: webforms.WEvent) => {
3
+ errorEvent: boolean;
4
+ issues: TIssuesList;
5
+ };
6
+ export default useEventReportSanityCheck;
@@ -0,0 +1,5 @@
1
+ export declare enum EView {
2
+ FULL = "full",
3
+ COMPACT = "compact"
4
+ }
5
+ export declare const useEventReportView: () => EView;
@@ -0,0 +1,12 @@
1
+ import { Node, Edge } from 'react-flow-renderer';
2
+ import { EView } from '../use-event-report-view';
3
+ export declare const componentsAdapter: (components: object, view: EView, enabled: boolean) => {
4
+ nodes: Node[];
5
+ edges: Edge[];
6
+ };
7
+ export declare const datasourcesAdapter: (sources: {
8
+ [namespace: string]: datasources.ICreateDataSource[];
9
+ } | datasources.ICreateDataSource[], view: EView, enabled: boolean) => {
10
+ nodes: Node[];
11
+ edges: Edge[];
12
+ };
@@ -0,0 +1,6 @@
1
+ import { Node, Edge } from 'react-flow-renderer';
2
+ import { CustomEdgeData } from '../../Edges/CustomEdge';
3
+ export declare const getLayoutedElements: (nodes: Node[], edges: Edge[], direction?: string) => {
4
+ layoutedNodes: Node<any>[];
5
+ layoutedEdges: Edge<CustomEdgeData>[];
6
+ };
@@ -0,0 +1,15 @@
1
+ import { Node, Edge, NodeProps } from 'react-flow-renderer';
2
+ import { CustomEdgeData } from '../../Edges/CustomEdge';
3
+ type Size = {
4
+ width: number;
5
+ height: number;
6
+ };
7
+ export declare const getNodeDimensions: (node: Node | (NodeProps & Partial<{
8
+ width: number;
9
+ height: number;
10
+ }>)) => Size;
11
+ export declare const getLayoutedElements: (nodes: Node[], edges: Edge[], options?: Record<string, string>) => Promise<{
12
+ nodes: Node<any>[];
13
+ edges: Edge<CustomEdgeData>[];
14
+ }>;
15
+ export {};
@@ -0,0 +1,10 @@
1
+ import { Node, Edge } from 'react-flow-renderer';
2
+ export declare const useLayoutedElements: ({ path, filters, }: {
3
+ path: string;
4
+ filters: string[];
5
+ }) => {
6
+ view: import('../use-event-report-view').EView;
7
+ layoutedNodes: Node<any>[];
8
+ layoutedEdges: Edge<any>[];
9
+ isEmpty: boolean;
10
+ };
@@ -0,0 +1,8 @@
1
+ import { Node } from 'react-flow-renderer';
2
+ export interface IUseViewportParams {
3
+ initialNodes?: Node[];
4
+ }
5
+ export declare const useViewport: ({ initialNodes }?: IUseViewportParams) => {
6
+ fitView: (duration?: number) => void;
7
+ isViewportInitialized: import('react').MutableRefObject<boolean>;
8
+ };